/*
 Theme Name:   Divi Child Theme
 Description:  A child theme of the Divi default WordPress theme
 Author:       Alexandra Jarossay
 Template:     Divi
 Version:      1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/*
 * Layout
 */
.et_pb_text_inner{
	
}
.et_pb_row_6 {
  padding: 0;
}
.et_pb_column_1_6 {
  margin: 0 !important;   
  width: 16.66667% !important;
}
.et_pb_column_1_6 .et_pb_text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
.et_pb_column_1_6 .et_pb_text p{
  text-align: center;
}

/*
 * Custom Post
 */
 #content-area {
  max-width: 700px; 
  margin: 0 auto;
 }
 
.custom_post_meta_wrapper {
    background-color: #fff;
    padding-top: 100px;
    text-align: center;
}

.custom_post_meta_wrapper h1.entry-title {
    max-width: 700px;
    font-size: 50px;
    text-align: center;
    margin: 30px auto;
    line-height: 1.3;
}

.custom_post_meta_wrapper .custom_post_meta {
    background-color: #f5f5f5;
    padding-top: 70px;
}

.custom_post_meta_wrapper p.post-meta {
    text-align: center;  
}

.custom_post_meta_wrapper img.avatar {
    display: block;
    margin: 0 auto;
    margin-bottom: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

.custom_post_meta_wrapper span.author, .custom_post_meta_wrapper span.published {
    display: block;
}

/*
 Forms
 */
input[type="text"], input[type="email"] {
  height: 40px !important;
  width: 100%;
}

.nf-form-cont .nf-form-fields-required {
  display: none;   
}

textarea, input[type="text"], input[type="email"] {
  font-size: 17px;
  padding: 10px;
}

label {
  font-family: 'Open Sans';
  font-size: 17px;
  font-weight: 300 !important;
}

input[type="submit"], input[type="button"] {
  font-family: 'Open Sans';
  font-weight: 500;
  background-color: #fff;
  font-size: 17px;
  padding: 0.3em 1em !important;
  margin: 0 !important;
  line-height: 1.7em !important;
  color: #9b9b9b !important;
  border: 1px solid #9b9b9b;
  border-radius: 3px;
  cursor: pointer;
}

input[type="submit"]:hover, input[type="button"]:hover {
  background-color: transparent !important;
  color: #4A90E2 !important;
  border: 1px solid #4A90E2;
}

input[type="submit"]:hover {
  background-color: #f5f5f5;   
}

.ninja-forms-required-items {
  margin-bottom: 50px;   
}

.ninja-forms-success-msg p {
  font-size: 25px;
}

table, tbody, tr, td {
  border: none !important;   
}

/************ 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: #2ea3f2 !important;
    width: 100%;
    float: left;
    text-align: left;
    border-bottom: 1px solid #ddd;
    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;
    -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;
}

#main-header .container.clearfix.et_menu_container {
    width: 100%;
}

.mobile_menu_bar:before {
    color: #2ea3f2 !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;
  }
}