/*
 Theme Name:     Child
 Theme URI:      _
 Description:    Divi Child Theme
 Author:         Digital Experts Academy
 Author URI:     http://digitalexpertsacademy.com/
 Template:       Divi
 Version:        1.0.0
*/

/*************************************
=common
*************************************/
body
{
    font-weight: normal;
}
.overlay
{
    position: relative;
    overflow: hidden;
}
.overlay::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba( 0, 0, 0, .4 );
}
.vertical-middle
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    display: -webkit-flex;
    -webkit-flex-direction: column;
    -webkit-justify-content: center;
}
/*************************************
=override
*************************************/
.et_pb_contact_submit, .et_password_protected_form .et_submit_button, .et_pb_bg_layout_light .et_pb_newsletter_button, .comment-reply-link, .form-submit .et_pb_button, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light .et_pb_more_button, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button, .et_pb_contact p input[type="checkbox"]:checked+label i:before, .et_pb_bg_layout_light.et_pb_module.et_pb_button
{
    min-width: 160px;
    text-align: center;
    color: #fff !important;
}
.post-meta a
{
    color: #ED8B00 !important;
}
.archive article .entry-title,
.search article .entry-title
{
    margin-top: 20px;
}
/*************************************
=wp pagenavi
*************************************/
.wp-pagenavi
{
    border-top: 1px solid #ddd;
    text-align: center;
}
.wp-pagenavi a, 
.wp-pagenavi span 
{
    font-weight: bold;
}
.wp-pagenavi span.current, 
.wp-pagenavi a:hover 
{
    color: #212322 !important;
}
.wp-pagenavi span.current
{
    position: relative;
    display: inline-block;
}
.wp-pagenavi span.current::after
{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    display: block;
    width: 50%;
    height: 1px;
    background: #2C2A29;
    
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
/*************************************
=header
*************************************/
#top-header #et-info
{
    float: none;
}
#top-header #et-info #et-info-phone::before,
#top-header #et-info #et-info-email::before
{
    margin-right: 10px;
}
#top-header #et-info .et-social-icons
{
    float: right;
}
.mobile_menu_bar::before
{
    color: #1D428A !important;
}
/*************************************
=owl carousel
*************************************/
.owl-carousel .et_pb_slide_image img
{
    opacity: 1 !important;
}
.owl-carousel .owl-prev,
.owl-carousel .owl-next
{
    position: absolute;
    top: 50%;
    display: block;
    width: 40px;
    height: 40px;
    padding: 15px;
    background: #1D428A;
    border-radius: 50%;
    
    transform: translateY(-50%);
}
.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover
{
    background: #1D428A;
}
.owl-carousel .owl-prev
{    
    left: -50px;
    
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.owl-carousel .owl-next
{
    right: -50px;
    
    -webkit-transform: translateY(-50%) scale(-1, 1);
    transform: translateY(-50%) scale(-1, 1);
}
.owl-carousel .owl-prev::before,
.owl-carousel .owl-next::before
{
    content: '';
    position: relative;
    top: -1px;
    left: 0px;
    display: block;
    width: 100%;
    height: 100%;
    border-top: 4px solid #ED8B00;
    border-left: 4px solid #ED8B00;
    
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
/*************************************
=custom blog slider
*************************************/
.custom-blog-slider .et_pb_slide 
{
    position: relative;
    height: 400px;
    padding: 0;
    overflow: hidden;
}
.custom-blog-slider .et_pb_slide .et_pb_slide_overlay_container
{
    opacity: 0;
    
    -webkit-transform: scale3d(0,0,0);
    transform: scale3d(0,0,0);
    
    -webkit-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}
.custom-blog-slider .et_pb_slide:hover .et_pb_slide_overlay_container
{
    opacity: 1;
    
    -webkit-transform: scale3d(1.1,1.1,1.1);
    transform: scale3d(1.1,1.1,1.1);
}
.custom-blog-slider .et_pb_slide .et_pb_container
{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 100%;
    height: 100%;
    
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.custom-blog-slider .et_pb_slide .et_pb_slide_description
{
    display: -webkit-flex;
    -webkit-flex-direction: column;
    -webkit-justify-content: center;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.custom-blog-slider .et_pb_slide .et_pb_slide_description .et_pb_more_button.et_pb_button
{
    display: inline-block;
    min-width: auto;
    max-width: 110px;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin: 10px auto 0;
}
.custom-blog-slider .et_pb_slide .et_pb_slide_description .et_pb_more_button.et_pb_button:hover
{
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
/*************************************
=custom gallery
*************************************/
#custom-gallery .et_pb_gallery_item
{
    position: relative;
    width: 32% !important;
    margin: 0 2% 2% 0 !important;
    clear: none !important;
    overflow: hidden;
}
#custom-gallery .et_pb_gallery_item:nth-child(3n+0)
{
    clear: right !important;
    margin-right: 0 !important;
}
#custom-gallery .et_pb_gallery_item .et_pb_gallery_image a
{
    position: relative;
    overflow: hidden;
    display: block;
}
#custom-gallery .et_pb_gallery_item .et_pb_gallery_image a::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(29,66,138,.6);
    
    -webkit-transform: translateX(-101%);
    transform: translateX(-101%);
    
    -webkit-transition: -webkit-transform .3s ease-in-out 0s;
    transition: transform .3s ease-in-out 0s;
}
#custom-gallery .et_pb_gallery_item:hover .et_pb_gallery_image a::before
{    
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}
#custom-gallery .et_pb_gallery_item .et_pb_gallery_image a img
{    
    width: 100%;
}
#custom-gallery .et_pb_gallery_item .et_pb_gallery_title
{
    position: absolute;
    bottom: 30px;
    width: 100%;
    margin-top: 0 !important;
    padding: 15px !important;
    opacity: 0;
    
    -webkit-transform: scale3d(0,0,0);
    transform: scale3d(0,0,0);
    
    -webkit-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}
#custom-gallery .et_pb_gallery_item:hover .et_pb_gallery_title
{
    opacity: 1;
    
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}
/*************************************
=contact
*************************************/
.custom-contact .et_contact_bottom_container
{
    width: 97%;
    text-align: center;
}
/*************************************
=footer
*************************************/
#main-footer
{
    padding: 20px 0;
}
#et-footer-nav .bottom-nav,
#footer-bottom #footer-info,
#footer-bottom .et-social-icons
{
    float: none;
    text-align: center;
}
#et-footer-nav .bottom-nav > li:last-of-type
{
    padding-right: 0;
}
#et-footer-nav .bottom-nav > li > a:hover
{
    opacity: 1;
    color: #fff;
}
#footer-bottom
{
    padding-top: 0;
    padding-bottom: 0;
}
#footer-bottom .et-social-icons
{
    padding-bottom: 15px;
}
#footer-bottom .et-social-icons .et-social-icon:first-of-type
{
    margin-left: 0;
}
#footer-bottom .et-social-icons .et-social-icon > a:hover
{
    opacity: 1;
    color: #fff;
}
/*************************************
=sidebar
*************************************/
#sidebar .et_pb_widget 
{
    margin-bottom: 50px;
}
.widget_search form#searchform > div
{
    position: relative;
    overflow: hidden;
}
.widget_search form#searchform > div::after
{
    content: "\f002";
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: FontAwesome;
    font-size: 18px;
    color: #1D428A;
}
.widget_search input#s, 
.widget_search input#searchsubmit
{
    border: 1px solid #1D428A;
}
.widget_search input#s
{
    border-right: none;
}
.widget_search input#searchsubmit
{
    width: 44px;
    font-size: 0px;
    background-color: transparent;
    border-left: none;
}
.widgettitle
{
    margin-bottom: 15px;
    padding: 10px;
    background: #1D428A;
    font-size: 16px;
    color: #fff;
}
.et_pb_widget a::before
{
    content: "\f0da";
    display: block;
    margin-right: 10px;
    float: left;
    font-family: FontAwesome;
    font-size: 16px;
    color: inherit;
}
.et_pb_widget a:hover
{
    color: #ED8B00 !important;
}
/*************************************
=scroll top
*************************************/
.et_pb_scroll_top 
{
    right: 0px !important;
    bottom: 80px !important;
    padding: 10px !important;
    background: #1D428A !important;
    box-shadow: -2px 0 15px rgba(0,0,0,.2);
    border: 1px solid #1D428A;
    border-radius: 0px !important;
    font-weight: normal;
    font-size: 22px !important;
    color: #ED8B00 !important;
    
    -webkit-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}
.et_pb_scroll_top:hover
{
    background: #1D428A !important;
    border: 1px solid #1D428A;
    color: #ED8B00 !important;
}
/*************************************
=media
*************************************/
/*************************************
=medium
*************************************/
@media (max-width : 1199px)
{

}
/*************************************
=small
*************************************/
@media (max-width : 980px)
{
    #custom-gallery .et_pb_gallery_item
    {
        width: 49% !important;
    }
    #custom-gallery .et_pb_gallery_item:nth-child(3n+0)
    {
        clear: none !important;
        margin-right: 2% !important;
    }
    #custom-gallery .et_pb_gallery_item:nth-child(2n+0)
    {
        clear: right !important;
        margin-right: 0 !important;
    }
}
/*************************************
=x-small
*************************************/
@media (max-width : 767px)
{
    .owl-carousel .owl-prev
    {    
        left: -20px;
    }
    .owl-carousel .owl-next
    {    
        right: -20px;
    }
    .custom-blog-slider .et_pb_slide .et_pb_slide_image > a > img
    {
        max-height: 100%;
    }
    #custom-gallery .et_pb_gallery_item
    {
        width: 100% !important;
        margin: 0 0 20px 0 !important; 
    }
    #custom-gallery .et_pb_gallery_item:nth-child(2n+0)
    {
        clear: none !important;
    }
}
/*************************************
=xx-small
*************************************/
@media (max-width : 479px)
{
    
}