/*
Theme Name:     Divi Child
Description:    Child Theme
Author:         admin
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


@import url("divi.css");


/* MOBILE MENU */
/************ Menu Slide-In ************/

/* Hide submenu */
.et_mobile_menu .menu-item-has-children > a { 
    background-color: transparent; 
}
#main-header .et_mobile_menu li ul.sub-menu.hide { 
    display: none !important; 
    visibility: hidden !important;  
    transition: .7s ease-in-out;
}
#main-header .et_mobile_menu li ul.sub-menu.visible { 
    display: block !important; 
    visibility: visible !important; 
}

.et_mobile_menu .menu-item-has-children > a:after { 
    font-family: "ETmodules";
         font-size: 18px;
         font-weight: 800;
         content: "3"; 
    position: absolute; 
    right: 50px;
}

/* Font Awesome */
.fa {
    margin-right: 15px ;
  }



@media only screen and (max-width: 980px){
#mobile_menu {
    display: block !important;
    min-height: 100vh;
    height: 100%;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 9998;
    overflow: scroll;
    border-top: none;
    padding-top: 60px !important;
}

.et_mobile_menu li a {
    color: #da1755 !important;
    width: 100%;
    float: left;
    text-align: left;
    border-bottom: 1px solid #ddd;
    margin: 5px;
    transition: .2s;
    text-transform: uppercase;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
    color: #fff !important;
background-color: rgba(255, 255, 255, 0.1);
}

.mobile_nav.closed #mobile_menu {
    background: rgba(51,51,51,0.9) !important;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
    background: rgba(51,51,51,0.9) !important;
}

.mobile_nav.opened #mobile_menu {
/*    background: rgba(27,29,30,0.98) !important;*/
    background: #E2E2E2 !important;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-overflow-scrolling: touch;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
}
.mobile_nav.closed #mobile_menu {
    background: #E2E2E2 !important;
}
#main-header .container.clearfix.et_menu_container {
    width: 100%;
}
.et_mobile_menu li a {
    color: #da1755 !important;
}
.et_mobile_menu li a {
    color: #666 !important;
    font-weight: 400;
    border: 0;
}

.mobile_menu_bar:before {
    color: #1b1d1e !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
    color: #fff !important;
}
}

@media only screen and  (max-width: 980px) {
  .et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {    
    z-index: 9999;
  }
  #et-top-navigation {    
    padding-right: 5px;
  }
}

@media only screen and  (min-width: 481px) {
  #mobile_menu {    
    width: 320px;    
    margin-left: calc(100% - 320px);
  }
}

@media only screen and (max-width: 480px)  {
  #mobile_menu {    
    width: 260px;    
    margin-left: calc(100% - 260px);
  }
}

@media only screen and  (max-width: 340px) {
  #mobile_menu {    
    width: 100%;    
    margin-left: 0;
  }
}


/* MENU */
.et_vertical_nav #page-container #main-header {
    padding-top: 20px;
}
.et_vertical_nav #main-header .container {
    margin: 0 20px;
}
@media only screen and (max-width: 980px) {
    .et_vertical_nav #main-header .container {
        margin: 0 !important;
    }
    .et_vertical_nav #page-container #main-header {
        padding-top: 0px;
    }
    #logo {
        max-height: 100%;
    }
    #et_mobile_nav_menu {
        display: block;
        /*right: 30px;*/
        position: relative;
    }
    .mobile_menu_bar:before {
        color: #2e4772 !important;
        font-size: 40px;
        display: block;
    }
    .mobile_nav.opened .mobile_menu_bar:before {
        color: #2e4772 !important;
    }
    .mobile_menu_bar:after {
        content: "MENU";
        color: #2e4772;
        font-size: 0.7em;
        display: inline-block;
        line-height: 1;
        display: block;
        text-align: center;
        margin-top: -7px;
    }
    .mobile_nav ul#mobile_menu .current_page_item > a {
        color: #2e4772 !important;
        background-color: transparent;
    }
}
.et_vertical_nav #main-header #logo {
    margin-bottom: 60px;
}
.et_vertical_nav #page-container #main-header {
    background: #E2E2E2;
    box-shadow: none;
}
.et-fixed-header #top-menu a:hover {
    color: #2e4772 !important;
    opacity: 1 !important;
    cursor: pointer;
}
@media (max-width: 980px){
    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 72px;
    }
}

.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {
    padding: 13px 0 !important;
}

div#et-main-area {
    display: table;
    width: calc( 100% - 306px);
    table-layout: fixed;
}
@media only screen and (max-width: 980px) {
    div#et-main-area {
        width: calc( 100% );
    }
}
div#main-content {
    display: table-row;
    height: 100%;
}
footer#main-footer {
    display: table-row;
    width: 100%;
    position: absolute;
    text-align: center;
    padding: 30px 0;
    color: #fff;
}

.logo_container a {
    position: relative;
    display: inline-block;
}

@media only screen and (max-width: 767px) {
    h1 { font-size: 22px;}
    .et_pb_row, .et_pb_column .et_pb_row_inner {
        padding: 10px 0 !important;
    }
}

@media only screen and (min-width: 1500px) {
    .et_pb_section.et_pb_with_background {
        /*background-position: calc(100% - 150px) calc(20% + 28px);*/
        background-position: calc(100%) calc(20% + 28px);
    }
}
@media only screen and (min-width: 981px) and (max-width: 1499px) {
    .et_pb_section.et_pb_with_background {
        /*background-position: calc(100% - 150px) calc(0%);*/
        background-position: calc(100%) calc(0%);
    }
}

@media (min-width: 981px){
    .et_vertical_nav #page-container #main-header {
        width: 306px;
    }
    .et_vertical_nav #et-main-area, .et_vertical_nav #top-header {
        margin-left: 306px !important;
    }
}

@media only screen and (max-width: 980px) {
    .logo_container a::before {
        content: "";
        position: absolute;
        top: 0px;
        left: -6px;
        width: 6px;
        background: #2e4772;
        height: 72px;
        display: inline-block;
    }

}

.et_pb_section_0 {
    background-position: top right;
}
.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {
    padding-top: 0;
}

h2 {
    text-transform: uppercase;
    font-size: 22px !important;
    font-weight: 700;
    padding: 60px 0 12px !important;
    border-bottom: 1px solid #828282;
    margin-bottom: 25px;
    color: #666;
    line-height: 1;
}

.et_pb_text li {
    padding-bottom: 10px;
}

.et_pb_button {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background: #2e4772;
    color: #fff;
    border-color: #2e4772;
}
.et_pb_bg_layout_light .et_pb_button:hover, .et_pb_pricing_table_button:hover, .et_pb_contact_submit:hover, .et_pb_contact_reset:hover, .et_pb_bg_layout_light.et_pb_button:hover {
    background: rgba(46, 71, 114,0.7);
}

/* SUBMENU */
.et_vertical_nav #main-header #top-menu > li > a {
    padding: 20px 0 !important;
}
.et_vertical_nav #main-header #top-menu > li > a:after {
    right: 40px;
}
#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
    top: 16px;
}

.et_vertical_nav #main-header #top-menu li ul {
    border: none;
    top: 0;
    left: 0;
}
.nav li ul {
    background: transparent;
    box-shadow: none;
    position: relative;
    padding: 0;
    height: 0;
}

.nav li.et-hover > ul {
    visibility: visible;
    height: 100%;
    opacity: 1;
}
#top-menu li li {
    padding: 0;
}


/* 
#mobile_menu li.visible ul.sub-menu {
    visibility: visible !important;
    height: 100% !important;
    overflow: scroll;
}
#mobile_menu li ul.sub-menu {
    visibility: hidden !important;
    height: 0px !important;
    overflow: hidden;
}
*/
h2.et_pb_slide_title.et-fb-editable-element {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1em;
    line-height: 1;
    border: none;
}


html, body, #page-container {
    width: 100%;
    height: 100%;
}
div#et-main-area {
    height: 92%;
}