/*---------------------------------------------------------------------------------

 Theme Name:   AAL_Child
 Theme URI:    https://aalgroup.org
 Description:  Custom theme for AAL
 Author:       Jason Blackburn
 Author URI:   http://didmedia.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

.buy9virtues {
  background-color: #4ac2d2;
  border: none;
  color: #fff!important;
  padding-top: 12px;
	padding-bottom: 0px;
	padding-left: 8px;
	padding-right: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
	line-height: 0px;
  border-radius: 10px;
  }

@media (max-width: 479px ) {
	.buy9virtues {
			line-height: 13px ;
	}}

.buy9virtues a {color: #fff!important;}

.buy9virtues:hover {background-color: #fff; color: #fff!important;}

#top-menu-nav #top-menu a:hover,
#et-secondary-menu #et-secondary-nav a:hover,
#mobile_menu_slide a:hover { 
    color: #00e9ff !important; 
    opacity:1 !important;
}

#pod-tabs .et_pb_column {
	display:flex;
	align-items:flex-start;
	justify-content:flex-start;
	flex-wrap:wrap;
}
#pod-tabs .pod-title {
	width:16.6%;
}

@media (max-width: 479px ) {
	#pod-tabs .pod-title {
		width:100%;
	}}

/* Hide the tabs content/sections */
.pod-content {
	display:none;
}

.pod-open {
	display:block;
}


#pod-tabs .pod-title.active-pod {
	background:#433a8b; /* Active tab background color */
}

#pod-tabs .pod-title:hover {
	cursor:pointer; 
	background:#000; /* Tab hover background color */
}


/*------------------------------------------------*/
/*--------[GQ - LEFT ALIGN BLOG IMAGE]------------*/
/*------------------------------------------------*/
 
    .et_pb_posts .et_pb_post a img, 
    .archive .et_pb_post a img, 
    .search .et_pb_post a img {
            max-width: 210px!important;
            float: left;
            padding-right: 20px;}
 
    @media only screen and (max-width: 980px) {
        .et_pb_posts .et_pb_post a img, 
        .archive .et_pb_post a img, 
        .search .et_pb_post a img{
            float:none;
            max-width: 250px!important;}}


/* Hide top header – secondary menu  on scroll */
#top-header {
overflow:hidden;
max-height:50px;
transition:max-height .3s ease;
}
#top-header.et-fixed-header {
max-height:0;
}
#main-header {
transition:top .3s ease;
}
#main-header.et-fixed-header {
top:0!important;
}
.admin-bar #main-header.et-fixed-header {
top:32px!important;
}


/* Homepage video overlay */
.ds-video-image-overlay1:after {
        content: "";
        display: block;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-image: linear-gradient(180deg,rgba(67, 58, 139, 0.55) 0%,rgba(67, 58, 139, 1) 100%);
        animation-duration: 2500ms;
        animation-delay: 00ms;
        opacity: 0;
        -webkit-animation-name: et_pb_fade;
        animation-name: et_pb_fade;
        -webkit-animation-fill-mode: both !important;
        animation-fill-mode: both !important;}

@media (min-width: 981px) {
.custom_emailoptin .et_pb_newsletter_form .et_pb_contact_field_half {
    flex-basis: 30%;
 }

.custom_emailoptin .et_pb_newsletter_fields>* {
    flex-basis: 30%;
}

.custom_emailoptin.et_pb_newsletter_layout_bottom_top .et_pb_newsletter_form {
    padding-bottom: 0px;
}

.custom_emailoptin p.et_pb_newsletter_field {
    padding-bottom: 0px;
}

.custom_emailoptin .et_pb_newsletter_button_wrap {
	margin-top: 0px;
}

.custom_emailoptin .et_pb_newsletter_form .input,
.custom_emailoptin .et_pb_newsletter_form input[type=text], .custom_emailoptin .et_pb_newsletter_form p.et_pb_newsletter_field input[type=text] {
	padding-top: 9px !important;
	padding-bottom: 9px !important;
}}

.custom_emailoptin .et_pb_newsletter_description,
.custom_emailoptin .et_pb_newsletter_footer {
    display: none;
}

@media (max-width: 980px) {
.horizontal_optin_column_1 {
	margin-bottom: 0px !important;
}}


#top-menu li {
    padding-right: 35px!important;
}

/* 9virtues video overlay */
.virt-overlap {
position: absolute;
top: 17%;
z-index:9999;
}

.virt-underlap {
	z-index:2;
}

@media all and (max-width: 950px) {
	.virt-overlap {
position: absolute;
top: 55%;
z-index:9999;
margin-left: 10%;
Margin-right: 10%;
}
}

/* FOOTER - Social Media */

#socialM {
	display: block;
	float: left;
	margin-right: 8px;
}
