/* 
 Theme Name:   Sharkfree
 Theme URI:    
 Description:  
 Author:       mbarican@gmail.com
 Author URI:   
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

.post-listing {
	display: -ms-grid;
    display: grid;
    grid-auto-columns: 1fr;
    grid-column-gap: 60px;
    grid-row-gap: 30px;
    -ms-grid-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
}
.post-listing h3, .post-listing .img-frame {
	text-align:center;
}
.post-listing h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 15px;
}
.post-listing .img-frame img {
	height: 130px;
	object-fit: contain;
	max-width: 250px;
}
.post-listing .img-frame.individual img {
	width: 150px;
    min-height: 150px;
    border-style: solid;
    border-width: 3px;
    border-color: #0d3e52;
    border-radius: 100px;
	object-fit: contain;
}
.d-flex {
	display:flex;
	align-items:center;
	margin-bottom:5px;
}
.d-flex div:first-child {
	flex: 0 0 30%;
}
.dsm_contact_form_7_0.dsm_contact_form_7 #wpcf7-f954-p946-o1 input, .dsm_contact_form_7_0.dsm_contact_form_7 #wpcf7-f954-p946-o1 textarea {
	padding:4px;
}
.dsm_contact_form_7_0.dsm_contact_form_7 select {
	padding: 4px 4px 4px 52px;
}

.dsm_contact_form_7 #wpcf7-f954-p946-o1 .wpcf7-form-control.wpcf7-textarea {
	height: 70px;
}
.wpcf7-form-control:focus {
    border-color: #333 !important;
}
.dsm_contact_form_7_0.dsm_contact_form_7 .wpcf7-form-control.wpcf7-text.signature-text {
	font-family: 'Cedarville Cursive', cursive;
	font-size:20px;
	max-width: 500px;
}
.minimize-overview
{
    padding-bottom: 24px;
}
.hide-minimize-content
{
    overflow: hidden;
    height: 81px;
	transition: all 0.3s ease;
}
.show-minimize-content
{
    overflow: auto;
    overflow-y: hidden;
    height: auto;
	transition: all 0.3s ease;
}
.minimize-overview-text {
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}
.minimize-overview-gradient
{
    position: relative;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.hide-minimize-gradient
{
    height: 0px;
    margin-top: 0px;
	transition: all 0.3s ease;
}
.show-minimize-gradient
{
    height: 27px;
    margin-top: -27px;
	transition: all 0.3s ease;
}

.more-about-minimize-link
{
    text-align: left;
    padding-bottom: 33px;
}
.more-about-minimize-text {
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 12px;
    color: #008BAA;
    text-align: left;
    display: inline-block;
}
.more-about-minimize-text:hover
{
    cursor: pointer;
    text-decoration: underline;
}

.homepage-list {
	display: -ms-grid;
    display: grid;
    grid-auto-columns: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 30px;
    -ms-grid-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
}
.homepage-list .homepage-list-item img {
	height: 155px;
	object-fit:cover;
	border-radius:8px;
	width: 100%;
}
.homepage-list .homepage-list-item .line-sep {
	width: 30px;
    height: 2px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #d2d2d2;
}
.homepage-list .homepage-list-item .article-heading {
	font-size: 24px;
    line-height: 30px;
    margin-top: 20px;
	color: #000;
    text-decoration: none;
	font-weight: 700;
}
.homepage-list .homepage-list-item .content-item-description {
	min-height:200px;
}
.homepage-list .homepage-list-item p {
	line-height: 24px;
	opacity: 0.6;
    color: #000;
    text-decoration: none;
	margin-top: 0;
    margin-bottom: 10px;
}
.homepage-list .homepage-list-item .btn-big {
	display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 16px 35px;
    border-radius: 4px;
    background-color: #0d3e52;
    -webkit-transition: color 200ms ease, box-shadow 200ms ease, background-color 200ms ease, -webkit-transform 400ms ease;
    transition: color 200ms ease, box-shadow 200ms ease, background-color 200ms ease, -webkit-transform 400ms ease;
    transition: color 200ms ease, box-shadow 200ms ease, background-color 200ms ease, transform 400ms ease;
    transition: color 200ms ease, box-shadow 200ms ease, background-color 200ms ease, transform 400ms ease, -webkit-transform 400ms ease;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}
.homepage-list .homepage-list-item .btn-big:hover {
	border-color: #0c6eb8;
    background-color: #1386dd;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: translate(0px, -2px);
    -ms-transform: translate(0px, -2px);
    transform: translate(0px, -2px);
    color: #fff;
}

@media (max-width: 480px){
	.homepage-list .homepage-list-item .line-sep {
		margin-left: auto;
		margin-right: auto;
	}
	.homepage-list .homepage-list-item .article-heading, .homepage-list .homepage-list-item p {
		text-align: center;
	}
	.d-flex {
		display: block;
	}
}
