/*
*
*	Theme Name: DIVI Child theme
*	Description: Child theme for Divi theme
*	Theme URI: http://www.elegantthemes.com/gallery/divi/
*	Version: 2.7.5
*	Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
*	Author: Elegant Themes
*	Template: Divi
*
*/
@import url('css/fontello.css');

@font-face {
    font-family: 'Raleway-Bold';
    src:
        local('Raleway-Bold'),
        local('Raleway-Bold'),
        url('font/Raleway-Bold.ttf');
}
@font-face {
    font-family: 'Raleway-Medium';
    src:
        local('Raleway-Medium'),
        local('Raleway-Medium'),
        url('font/Raleway-Medium.ttf');
}
@font-face {
    font-family: 'Raleway-Regular';
    src:
        local('Raleway-Regular'),
        local('Raleway-Regular'),
        url('font/Raleway-Regular.ttf');
}
@font-face {
    font-family: 'Raleway-Light';
    src:
        local('Raleway-Light'),
        local('Raleway-Light'),
        url('font/Raleway-Light.ttf');
}

/*----------------CSS------------------*/
a, h1, h2, h4, h5{
    font-family: 'Raleway-Bold';
}
h3{
    font-family: 'Raleway-Light';
}

h6{
    font-family:'Raleway-Medium';
    font-size: 40px;
    letter-spacing: 1px;
    line-height: 1.5;
}

p{
    font-family: 'Raleway-Medium';
    font-size: 18px;
    letter-spacing: 0px;
    line-height: 1.5;
}
.right{
    float: right;
}
.left{
    float: left;
}
.et_pb_row, .container{
    width: 100%;
    max-width:1080px !important;
    -moz-transform: scale(0.9, 0.9) !important; /* Moz-browsers */
    zoom: 0.9 !important; /* Other non-webkit browsers */
    zoom: 90% !important; /* Webkit browsers */
}
.et_pb_bg_layout_light.et_pb_module.et_pb_button{
    color: #4c3231;
    border: 3px solid #4c3231;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#et-info{
    float: none;
}
#top-header .et-social-icons{
    float: right;
}
.et-fixed-header #main-header{
    background: #ffffff;
    padding: 10px;
}
.et-fixed-header ul#top-menu a{
    color: #2b2b2b !important;
}
#et-top-navigation a:hover{
    color:#1073c4;
}


/*---------------Testimonials--------------------*/
.testimonial .et_pb_slide_image {
    position: relative;
    margin-top: 0px !important;
    width: 20%;
    top:0px;
    margin-left:376px;
    bottom: auto;

}
.testimonial .et_pb_slides .et_pb_container {
   height: auto !important;
}

.home .testimonial .et_pb_slide .et_pb_slide_description{
    width: 100%;
    padding: 3% 2% 6% !important;

}
.testimonial .et_pb_slide_description h2.et_pb_slide_title{
    font-size: 30px;
}

/*-----------------Social Icons----------------*/
.social-icons{
	list-style: none;
	text-align: center;  /* alignment */
}
.social-icons a{
	margin: 2px; 		/* desired gap */
	font-size: 32px; 	/* size */
	color: #2ea3f2; 	/* color */
	-o-transition:.3s; /* smooth hover effect */
	-ms-transition:.3s;
	-moz-transition:.3s;
	-webkit-transition:.3s;
	/* ...and now for the proper property */
	transition:.3s;
}
.social-icons a:hover{
	color: #ffffff; /* color on hover */
}

/*------------------GALLERY-------------------*/
.et_pb_tabs{
    border: none;
}
.et_pb_tabs_controls li.et_pb_tab_active {
    background-color: #b2272700;
}
.et_pb_all_tabs {
    background-color: #0184c100;
}
ul.et_pb_tabs_controls{
    background-color: transparent;
    text-align: center;
}
.et_pb_tabs_controls li{
    display: inline-block;
    float: none;
    border: none;
}
.et_pb_tabs_controls li a{
    font-size: 22px;
    color: #4c3231;
}
.et_pb_tab_active a{
    color: #2ea3f2!important;
}
ul.et_pb_tabs_controls:after{
    display: none;
}
.foogallery.fg-light .fg-item-inner{
    background-color: #f7f7ff;
}
.fg-simple_portfolio.fg-light .fg-caption-title,
.fg-simple_portfolio .fg-caption-title+.fg-caption-desc{
    color: rgb(51, 51, 51);
    text-align: center;
    white-space: pre-wrap;
}
.fg-simple_portfolio.fg-light .fg-caption-title{
    font-size: 14px;
    font-weight: bold;
    padding: 2% 0% 20% 0%;
}
.fg-simple_portfolio .fg-caption-title+.fg-caption-desc{
    font-size: 16px;
    display: none;
}

/*--------------------CONTACT--------------------*/
.et_pb_contact_form{
    padding: 8%;
    margin: 0;
    padding-top: 50px;
    background-color: #f3f3f3;
}
.et-pb-contact-message{
    padding: 0%;
}
p.et_pb_contact_field{
    border-bottom: 0px solid #B5B5B5;
    padding: 0;
}
.et_contact_bottom_container{
    float: left;
    margin-top: 5%;
}

.et_pb_contact p input, .et_pb_contact p textarea {
    width: 100%;
    padding: 16px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #999;
    background-color: rgba(255,255,255,.9);
    font-size: 14px;
    -webkit-appearance: none;
}
/*----------------Back to top-------------*/
/*#back-top {
	position: fixed;
	bottom: 100px;	 fixed distance from the bottom 
	right: 0;
    display: none !important; uncomment this if you don't want to show the button
}*/

/*#back-top a {
	display: block;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: 20px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
	
	color: #ffffff;*/
/* 	background-color: #000000; change this to the theme color */
/*	opacity: 0.5;  Adjust transparency */

	/* transition */
/*	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;*/
/*}
#back-top a:hover {
	color: #ffffff;
}

@media only screen and ( max-width: 980px ) {
	#back-top {
		bottom: 0;
		right: 15px;
	}
	#back-top a {
		border-bottom-left-radius: 0;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
	}
}*/

/*-------------Default Footer-------------*/
   
   /* Center Align Text without Social Media*/
   
	/* #footer-info{
		float: none;
		text-align: center;
		padding: 2% 0;
		font-size: 14px;
	}  */
.footer-widget .wp-caption{
    border: none;
    background-color: transparent;
}
.footer-widget .wp-caption-text{
    display: none;
}
#footer-info{
    float: none;
    text-align: left;
    color: #c9d2dc;
}
#footer-bottom {
    padding: 15px 0 5px;
    background-color: rgb(6, 24, 57);
    }
.et-social-icon a {
    display: inline-block;
    position: relative;
    color: #c9d2dc;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
}

/*------------------Responsive Style---------------------*/
   
/* Large screens (1405px upwards) */
@media only screen and ( min-width: 1920px ) { 
	/* your css goes here */
}
/* Laptops and desktops (1100-1405px) */
@media only screen and ( max-width: 1920px) { 
	.et_pb_slide_0 .et_pb_slide_image{
        width: 200px !important;
        margin-top: -150px !important;
    }
    .header .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_title{
        font-size: 30px!important;
    }
    .home .et_pb_slider.et_pb_module .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content p, .home .et_pb_slider.et_pb_module .et_pb_slide_1.et_pb_slide .et_pb_slide_description .et_pb_slide_content p{
        font-size: 26px!important;
    }
    .home .et_pb_slider.et_pb_module .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content p:last-child, .et_pb_slider.et_pb_module .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content p:last-child {
        font-size: 18px !important;
    }
    .header .et_pb_slider .et_pb_slide{
        height: auto;
    }
    .home .et_pb_slide_0.et_pb_slide .et_pb_slide_description{
        padding: 3% 0 !important;
    }
}

/* Tablets in landscape mode (981-1100px) */
@media only screen and ( max-width: 1024px ) { 
	#logo{
        max-width: 200px;
    }
    .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation{
        padding-left: 0 !important;
    }
    .home .et_pb_slider.et_pb_module .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content p,
    .home .et_pb_slider.et_pb_module .et_pb_slide_1.et_pb_slide .et_pb_slide_description .et_pb_slide_content p,
    .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h2.et_pb_slide_title,
    .et_pb_slider.et_pb_module .et_pb_slide_1.et_pb_slide .et_pb_slide_description .et_pb_slide_content p{
        font-size: 24px !important;
    }
    .et_pb_slide_0 .et_pb_slide_description{
        width: 60% !important;
    }
    .header .et_pb_slider .et_pb_slide,
    .home .header .et_pb_slider .et_pb_slide{
        height: 100vh;
    }
    .home .header .et_pb_slides .et_pb_container, .header .et_pb_slides .et_pb_container{
        height: 10vh !important;
        min-height: 0!important;
    }
}

/* Tablets in portrait mode (768-980px) */
@media only screen and ( max-width: 980px ) {
    .et_pb_row{
        padding: 0;
    }
    .mobile_menu_bar:before{
        color: #2ea3f2 !important;
    }
    .sched-time .et_pb_column{
        float: none;
        text-align: center;
    }
    .sched-time .et_pb_text_inner{
        text-align: center;
    }
    .sched-time .et_pb_image{
        float: none;
        display: inline;
    }
    .services .et_pb_column{
        float: none;
    }
    #main-header .et_mobile_menu{
        background-color: #fefefe !important;
    }
    .et_mobile_menu{
        border-top:3px solid #2ea3f2;
    }
    .et_pb_slide_0 .et_pb_slide_image{
        width: 160px !important;
        margin-top: -20vh !important;
    }
    .home .et_pb_slider.et_pb_module .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content p,
    .home .et_pb_slider.et_pb_module .et_pb_slide_1.et_pb_slide .et_pb_slide_description .et_pb_slide_content p,
    .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h2.et_pb_slide_title,
    .et_pb_slider.et_pb_module .et_pb_slide_1.et_pb_slide .et_pb_slide_description .et_pb_slide_content p{
        font-size: 18px !important;
    }
    .et_pb_slide_0 .et_pb_slide_description{
        width: 100% !important;
    }
    .header .et_pb_slider .et_pb_slide, .home .header .et_pb_slider .et_pb_slide{
        height: auto;
        padding: 6%;
    }
    .home .et_pb_slide_0 .et_pb_slide_image, .et_pb_slide_0 .et_pb_slide_image{
        position: static;
        margin: 0px auto !important;
    }
    /*Testimonial Section*/
    .testimonial .et_pb_slide_image{
        position: static;
        margin-top: 20px !important;
        margin: 0 auto;
    }
    .home .testimonial .et_pb_slide .et_pb_slide_description{
        width: 90%;
        padding: 10% 0!important;
        height: fit-content;
    }
}

/* Smartphones in landscape mode (481-768px) */
@media only screen and ( max-width: 768px ) {
    .services .et_pb_column{
        float: left;
    }
    .et_pb_slide_image{
        display: block !important;
    }
	.right{
        float: left !important;
    }
    #footer-widgets{
        text-align: center;
    }
    .footer-widget #text-2 .textwidget{
        width: 60%;
        margin: 0 auto;
    }
    .footer-widget #text-2 p{
        display: inline-block;
    }
    .footer-widget #text-2 p:last-child{
        padding-left: 30px;
    }
    .footer-widget #text-2 p:nth-child(4)::before{
        content: "|";
        padding-left: 50px;
    }
    
        .home .newsblog .et_pb_post a img {
        max-width:100%;
}
    .home .newsblog h2{
        font-size: 15px;
        position:relative;
        left:0px;
}
    .home .newsblog .post-meta{
        font-size: 13px;
        position:relative;
        left:0px;
        top:0px;

}
    .home .newsblog .post-content p{
        font-size: 13px;
        position:relative;
        top:0px;
        left:0px;

    }
    .home .newsblog .post-content a{
    font-size: 12px;
    position:relative;
    top:0px;
    left:0px;

    }

}

/* Smartphones in portrait mode (0-480px) */
@media only screen and ( max-width: 480px ) {
	.et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description{
        padding: 30% 8%;
    }
    .home .newsblog .et_pb_post a img {
        max-width:100%;
}
    .home .newsblog h2{
        font-size: 15px;
        position:relative;
        left:0px;
}
    .home .newsblog .post-meta{
        font-size: 13px;
        position:relative;
        left:0px;
        top:0px;

}
    .home .newsblog .post-content p{
        font-size: 13px;
        position:relative;
        top:0px;
        left:0px;

    }
    .home .newsblog .post-content a{
    font-size: 12px;
    position:relative;
    top:0px;
    left:0px;

}

}
/*-------CUSTOM BLURB HOVER]--------------*/
    @media only screen and (min-width : 767px) {
 
    .gq-blurb-hover .et_pb_main_blurb_image {
            position: relative;
            overflow: hidden;}
 
    .gq-blurb-hover img.et-waypoint {
        margin-bottom: -5px;
            -webkit-transition: -webkit-transform 0.3s;
            transition: transform 0.3s;
            -webkit-transform: scale(.99);
            transform: scale(.99);
        }
 
    .gq-blurb-hover img.et-waypoint:hover {
            -webkit-transform: scale(1.11) ;
            transform: scale(1.11) ;
        }
 
    }

    .imageblurb:hover{
        color: #424242; 
        -webkit-transition: all .3s ease-in;
        -moz-transition: all .3s ease-in;
        -ms-transition: all .3s ease-in;
        -o-transition: all .3s ease-in;
        transition: all .3s ease-in;
        opacity: 1;
        transform: scale(1.3);
        -ms-transform: scale(1.3); /* IE 9 */
        -webkit-transform: scale(1.3); /* Safari and Chrome */
    }
    .profilebuilder{
         background-color:red;
         padding-left: 25px;
         padding-right: 15px;

    }

/*--------------News Blog---------------*/
.newsblog .et_pb_post a img {
    max-width: 30%;
    vertical-align: bottom;
}
.newsblog h2{
    font-size: 15px;
    position:absolute;
    left:140px;
    top:0px;
}
.newsblog .post-meta{
    font-size: 13px;
    position:absolute;
    left:145px;
    top:35px;
}
.newsblog .post-content p{
    font-size: 13px;
    position:absolute;
    left:145px;
    top:55px;
    display: block;
    max-height: 1.5em;
    overflow: hidden;
}
.newsblog .post-content a{
    font-size: 12px;
    position:absolute;
    left:145px;
    top:70px;
    display: block;
}

/*--------------Pop Up----------------*/
.pum-container.pum-responsive img {
    max-width: 100%;
    height: auto;

}
/*------------Registration-----------*/
p#form_success, .vfb-form-success {
    color: rgba(15,15,15,0.96);
    font-weight: bold;
}

/* Pagination links */
.pagination  {
  position:relative;
  margin-left:1000px;
}
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

/* Style the active/current link */
.pagination a.active {
    background-color: dodgerblue;
    color: white;
}

/* Add a grey background color on mouse-over */
.pagination a:hover:not(.active) {background-color: #ddd;}