/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Web Design Davao
 Author URI:     https://webdesigndavao.xyz
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

@font-face {
  font-family: gravity;
  src: url(/wp-content/themes/divi-child/fonts/Gravity-Book.otf);
}
@font-face {
  font-family: gotham;
  src: url(/wp-content/themes/divi-child/fonts/GothamMedium_1.ttf);
}
@font-face {
  font-family: gothambold;
  src: url(/wp-content/themes/divi-child/fonts/GothamBold.otf);
}
@font-face {
  font-family: ogonek;
  src: url(/wp-content/themes/divi-child/fonts/OgonekBold.ttf);
}

h1,h2,h3,h4,h5,h6{
  font-family: gotham;
}
a,p,span{
  font-family: gravity;	
}
a, p {
    text-shadow: none !important;
}
/* **************************/
ul.check {
    list-style: none !important;
    padding-left: 0 !important;
}

ul.check li:before {
    content: '';
    height: 12px;
    width: 17px;
    background-image: url(/wp-content/uploads/2019/06/checked-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    display: inline-block;
    margin-right: 8px;
}

.hide {
    display: none;
}
/* page title */

.post-title .entry-title:before {
    content: '< ';
}

.post-title .entry-title:after {
    content: ' >';
}

/*Slider*/
.slider .et_pb_slide_title,
.slider .et_pb_slide_title > a{
	font-family: gothambold !important;
	text-shadow: none;
}
.section-title em,
.post-title .entry-title:after,
.post-title .entry-title:before {
	font-family: ogonek;
	color:#cab119;
	font-style:normal;
	font-size: 36px;
}
@media all  and (max-width: 980px){
    span.et_pb_image_wrap, span.et_pb_image_wrap img {
		width: 100%;
	}

}


@media all and (max-width: 768px){
    .et_pb_slider.et_pb_fullwidth_slider_0  .et_pb_slide_0 .et_pb_slide_description {
        padding-right: 0px !important;
    }

    .et_pb_slider.et_pb_fullwidth_slider_0  .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_title {
        font-size: 34px !important;
    }

    .et_pb_slider.et_pb_module.et_pb_fullwidth_slider_0  .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content {
        color: #fff !important;
        text-shadow: 0 0 12px black;
    }    
}


/*Call to action*/
.cta h2 span{
	color:#ccb118;
	font-family: gotham;
	font-size:40px;
}


/*About Us*/
.col2{
	border-left: 40px solid #cab119d6;
}
@media all and (min-width: 981px){
	.col2{
		width:46%!important;
	}
	.col2{
		margin-top: 34px;
		padding: 50px;
		box-shadow: 10px 0px 15px #e6e6e6;
		height:382px!important;
	}
}
.col1{
	margin-right: -47px!important;
}
@media all and (max-width: 530px){
    h2 {
    font-size: 20px !important;
}

h2 > em {
    font-size: 28px !important;
}
}


/*Footer*/
#main-footer .footer-widget h4{
	text-transform:uppercase;
}
#main-footer a{
	color: #888888!important;
}
#footer-widgets .footer-widget li:before, #nav_menu-3 h4{
	display:none;
}
#footer-widgets .footer-widget li{
	padding-left: 30px;
}
#main-footer .wpcf7-text,#main-footer textarea{
	color: #888888!important;
    border: 0px!important;
    background-color: transparent;
    border-bottom: 1px solid #6c6c6c!important;
    font-size: 14px;
    line-height: 1.4em;
    padding: 8px 0px;
}
#main-footer textarea{
	max-height: 70px;
}
#main-footer .wpcf7-submit{
	color: #333333!important;
    font-size: 16px;
    text-transform: uppercase!important;
    background-color: #ccb11a;
    border: 0px;
    padding: .5em 2em;
    border-radius: 100px;
	float: right;
    margin-top: 10px;
}
#menu-social-media-menu{
	display:flex;
}
#menu-contact-us-menu li a{
	line-height: 1.4em;
}
#menu-social-media-menu li{
	padding-left:0px!important;
	padding-right:20px;
}
.addr a:before, .tel a:before, .phone a:before, .mail a:before, .fb- a:before{
	position:absolute;
	left:0;
	top:3px;
}
.addr a:before{
	content:url(/wp-content/uploads/2019/05/con-1.png);
}
.tel a:before{
	content:url(/wp-content/uploads/2019/05/con-2.png);
}
.mail a:before{
	content:url(/wp-content/uploads/2019/05/con-3.png);
}
.phone a:before{
	content: "\e090";
    font-family: "ETModules";
    color: #ccb119;
    font-size: 18px;
}
.fb- a:before {
    content: ' .';
    background-image: url('/wp-content/uploads/2019/07/fb.png');
    width: 16px;
    height: 17px;
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
}

/*******************/

/*facilities subpage*/
.single-facilities_gallery div#main-content > .container {
    padding-top: 0;
    width: 100% !important;
    max-width: 100%;
}
.single-facilities_gallery .et_pb_gallery_image img {
    max-height: 499px;
}
div#main-content 
.et_post_meta_wrapper .entry-title {
    display: none;
}

.single-facilities_gallery .et_pb_gallery_item {
    width: 100% !important;
}

.single-facilities_gallery .et_pb_gallery_item img {
    width: 100%;
}


/* our team */

#our-team .et_pb_gallery_item {
    width: 100%;
    margin: 0;
}

#our-team .et_pb_gallery_items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
    grid-gap: 23px;
}

#our-team h3.et_pb_gallery_title {
    text-transform: uppercase;
}

@media all and (min-width: 981px){
	#our-team div.et_pb_gallery_caption {
    position: absolute;
    top: 50%;
    background: #fff !important;
    opacity: 0;
    transition: 0.5s;
    width: 100%;
}

#our-team .et_pb_gallery_item:hover div.et_pb_gallery_caption {
    opacity: 1;
    z-index: 9;
    top: 70%;
    transition: 0.5s;
}
	#our-team .et_pb_gallery_item:hover div.et_pb_gallery_caption>h3.et_pb_gallery_title{
		opacity: 1 !important;
	}
	#our-team .et_pb_gallery_item:hover h3.et_pb_gallery_title{
		opacity: 0;
	}

#our-team div.et_pb_gallery_caption > h3 {
    margin-bottom: 13px !important;
    color: #ccb11a;
	display: block !important;
}
}

@media all and (max-width: 980px){
	div.et_pb_gallery_caption>h3.et_pb_gallery_title {
		display: none;
	}
}


/*Changes Contact page*/
#contact-us #menu-contact-us-menu li.fb- a {
    visibility: hidden;
}
#contact-us #menu-contact-us-menu li.fb- a:before {
    visibility: visible;
    content: "\e093";
    font-family: ETModules;
    color: #c2a918;
    background-image: none;
    font-size: 30px;
    border: 1px solid #c2a918;
    border-radius: 100%;
    width: 32px;
    height: 35px;
    padding: 10px;
    padding-left: 12px;
    left: 48%;
}

/**Hide Facebook**/
.fb- {
	display: none !important;
}
#contact-us #menu-contact-us-menu li.mail- {
	margin-bottom: 0;
    padding-bottom: 0;
}
/*end FB hiding*/