/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* Gravity Form and Restrict Content Pro buttons */

.rcp_form input.rcp-button,
#content .gform_wrapper input.button.gform_button {
    margin-left: 0;
    margin-right: 5px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    width: 40% !important;
    background-image: none;
    background-color: #ff6418;
    color: #ffffff;
    border-radius: 2px;
    padding: 12px 29px;
    border: none;
}

.rcp_form fieldset input {
   max-width: 400px;
}

#main #content h3 {
	margin-bottom: 20px;
}

/* Gravity Field Color */
#content .gform_wrapper .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
#content .gform_wrapper .gfield .ginput_container_creditcard select,
#content .gform_wrapper .gfield_select[multiple="multiple"] {
   color: #000;
}

/**************************************************
 * BABA REGISTRATION LINKS
 *************************************************/
.ami-baba-sold-out {
   background-image: url(/wp-content/uploads/2024/04/sold-out.png);
   background-position: center;
   background-repeat: no-repeat;
   background-blend-mode: lighten;
   background-color: rgba(255,255,255,.70);
}
.ami-baba-hide {
   display: none !important;
}
.ami-baba-checklist {
   font-family: 'Architects Daughter';
   min-height: 370px;
   letter-spacing: 0.5px;
   background: #efefef;
   margin-top: 0 !important;
   margin-bottom: 0 !important;
   padding-top: 15px !important;
   padding-bottom: 15px !important;
}
.ami-baba-checklist li div p {
   padding-right: 25px;
}
@media only screen and (max-width: 800px) {
   .ami-baba-checklist {
       min-height: auto;
   }
   .ami-baba-checklist li div p {
       padding-right: 15px;
   }
}
.baba-blue-bkg {
   position: relative;
   min-height: 80px;
   background: #002C5F;
   padding: 0;
}
.baba-blue-bkg p {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 100%;
   margin-bottom: 0;
   letter-spacing: 0.5px;
}
.baba-blue-bkg-only {
   background: #002C5F;
   padding: 15px 0 0 0;
   margin-bottom: 0;
}
.baba-blue-bkg-only p {
   margin-bottom: 0 !important;
}

/**************************************************
 * AMI Videos
 *************************************************/

/* single-ami_video.php */
.fusion-page-title-row,
.fusion-page-title-wrapper {
   height:auto;
}
body.single-ami_video .fusion-meta-info {
    margin:0 0 28px 0;
}
.featured-video {
   margin:0 0 30px 0;
}
.video-responsive {
   overflow:hidden;
   padding-bottom:56.25%;
   position:relative;
   height:0;
}
.video-responsive iframe {
   left:0;
   top:0;
   height:100%;
   width:100%;
   position:absolute;
}
h2.transcript-toggle {
    margin-top: 25px;
    cursor: pointer;
    position: relative;
    line-height: 1 !important;
    padding: 10px 5px !important;
    border: 1px solid #002c5f;
    font-size: 20px !important;
}
h2.transcript-toggle::before {
   content:'+';
   display:inline-block;
   width:20px;
   font-weight:400;
   -webkit-transition:  transform .3s;
   -moz-transition:     transform .3s;
   -o-transition:       transform .3s;
   transition:          transform .3s;
}
h2.transcript-toggle.active::before {
   transform:rotate(45deg);
}
.transcript {
   display:none;
}
.single-ami_video .at-above-post.addthis_tool {
   display: none;
}

/* video & search archive results */
.archive-featured-video {
    margin:0 0 40px 0;
}
.archive-featured-video h3 {
   margin: 10px 0;
}
.ami-video-archive {
    display:flex;
    flex-wrap: wrap;
}
.ami-video-archive .ami-video {
    width:50%;
    padding:0 30px 30px 0;
}
.ami-video p {
   margin: 0 0 15px 0;
}
.ami-video a img {
    display:block;
    width:100%;
    height:auto;
    margin:0 0 5px 0;
}
.ami-video a h3 {
    margin: 8px 0;
}
.ami-video a .video-title {
    font-weight:700;
    display:block;
    font-size:14px;
}
/* sidebar-video.php */
.video-search {
    overflow:hidden;
}
.video-search input[type="text"] {
    font-size:16px;
    display:block;
    float:left;
    width:calc(100% - 100px);
    margin:0;
}
.video-search input[type="submit"] {
    cursor:pointer;
    background:#ff6418;
    color:#fff;
    border:none;
    outline:none;
    display:block;
    width:90px;
    height:45px;
    line-height:45px;
    float:right;
    font-size:16px;
    text-align:center;
    margin:0;
    padding:0;
}
.widget .recent-videos .ami-video {
   width: 90%;
   overflow:hidden;
   margin:0 0 30px 0;
}

/* AMI Testimonials page (Video testimonials) */
.yt-play-overlay::after {
    content: '';
    position: absolute;
    bottom: 50%;
    left: 50%;
    background: transparent url('images/youtube-play.png') center center no-repeat;
    z-index: 100;
    width: 60px;
    height: 42px;
    margin-left: -30px;
    margin-bottom: 21px;
}

/* Hide dates on related posts */
.related-posts .fusion-date { display: none; }


