/*
 Theme Name:     Latinato Theme
 Template:       Divi
 Version:        1.0.0
*/

/* Theme customization starts here
------------------------------------------------------- */

/*-----------------------------------------------------*/
/*-----------------------------------------------------*/
/*-------------General Styles--------------------------*/
/*-----------------------------------------------------*/
/*-----------------------------------------------------*/



/* Align text and items vertically */
@media only screen and (min-width: 980px){
  .general-align {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      }
  }

/*-----------------------------------------------------*/
/*---------------Enhance Mobile Experience-------------*/
/*-----------------------------------------------------*/

@media (max-width:980px) {
	.reverse-columns-mobile {
		display: flex;
		flex-direction: column-reverse;
	}
}


/***********************/
/** New Menu Styles ****/
/***********************/

/*---------------Menu CTA Button---------------*/
 
#top-menu li a:hover {opacity: 1!important;}
             
.en-cta-menu a {
    background-color: #063463;
    color:#fff!important;
    padding: 12px 20px!important;
    border-radius: 5px;
    text-align: center;
    transition: all 0.2s ease-in-out!important;
}
 
.en-cta-menu a:hover {
    background-color: #063463;
    color: white!important;
    transition: all 0.2s ease-in-out!important;
    box-shadow: 0px 6px 14px -6px rgba(0,0,0,0.25);
}
 
.et_header_style_left #et-top-navigation {
    padding-top: 16px!important;
    padding-bottom:5px!important;
}



/*---------------CTA Button Color on Fixed Navigation---------------*/
#main-header.et-fixed-header .en-cta-menu a {
color: #fff !important;
}
 
/*---------------Menu CTA Button Mobile Settings---------------*/
@media only screen and (max-width: 980px) {
.en-cta-menu a {
    background-color: #1DD1A4;
    }
.menu-blog {
	border:1px solid #0B5240;
	background-color:#fff;
	margin-top:25px;
	margin-bottom:15px;
	border-radius:5px;
    }
}

.et-fixed-header {
border-bottom: 1px solid #e4e4e4;
}

/**Another menu styles**/


.menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
    color:#1DD1A4;
}


#top-menu li li a {
    padding: 5px 0px;
    letter-spacing:0px;
    font-weight:600;
}
#top-menu li li a:hover {
	color:#1DD1A4!important;
	transition: all 0.2s ease-in-out;
	background-color:#fff;
	text-decoration:underline #0B5240 ;
}

.nav li ul {
    border-radius:5px;
}


/***************************/
/*****Custom Mobile Menu****/
/***************************/

@media (max-width: 980px) {
#et_mobile_nav_menu {
   margin-top:10px!important;
}
}
 #mobile_menu,  .opened #mobile_menu {
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
	max-height: 100%;
	z-index: 10;
	top: 0;
	border: none;
	overflow-y: auto;
	max-width: 100%;
	float: left;
	background-color:#fff;
	}
.opened #mobile_menu {
	transform: none;
}
.opened #mobile_menu a {
	transform: none;
	color:#0B5240;
	text-align:center;
	opacity: 1;
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
	color: #000;
	transition: all ease-in-out 0.3s;
    z-index: 100;
    background: linear-gradient(135deg, #1dd1a4 0%,#3dffcf 100%);
    border-radius:50px;
}

/* Link animations */
#mobile_menu a {
 transform: translatey(100%);
 opacity: 0;
 transition: all cubic-bezier(0.5, 0, 0, 1) 200ms;
 text-align:center;
}
/* Menu animations */
.closed #mobile_menu {
 opacity: 0;
 pointer-events: none;
 transform: translatey(48px);
 transition-delay: 200ms;
}
span.mobile_menu_bar:before{
  color:#ffffff;
  background: linear-gradient(135deg, #1dd1a4 0%,#3dffcf 100%);
  border-radius:50px;
  padding:2px;
}

.et_mobile_menu li li {
	padding-left:0px;
}
#main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul, .et_pb_menu .et_mobile_menu li ul {
	padding-left:0px;
}


.et_mobile_menu li a {
 font-size:20px;
 letter-spacing:1px;
}
.et_mobile_menu li li a {
 font-size:16px;
 font-weight:400;
 letter-spacing:0px;
}


.et_pb_main_blurb_image .et_pb_animation_top.et-animated {
    opacity: 1;
    -webkit-animation: none;
    animation: none;
}

@media (max-width: 980px) {
.container {
    width: 90%;
}
}

/*******************************/
/******* CLEANER COMMENTS ******/
/*******************************/

.comment_area .comment-reply-link {
    position: relative;
    top: 15px;
    display: inline-block;
    font-size:14px!important;
}
 
@media (min-width: 768px) { /** The breakpoint for the comments form **/
 body:not(.logged-in) #comment {
 	max-width: 50%; float: right;  height: 105px; margin-top:14px;
 	} /** even form sections **/
}

.bypostauthor .comment_avatar img{
    border:2px solid #3dffcf;
    border-radius:250px;
}

/***single blog post styles***/
.en-blog-post h2,
.en-blog-post h3,
.en-blog-post h4,
.en-blog-post h5,
.en-blog-post h6 {
  margin-bottom:30px;
  margin-top:50px;
}

