/*
Theme Name: Ratio Child
Theme URI: https://ratio.qodeinteractive.com/
Description: A child theme of Ratio Theme
Author: Edge Themes
Author URI: http://themeforest.net/user/edge-themes
Version: 1.1.1
Template: ratio
Text Domain: ratio
*/

/*Topbar*/

.edgtf-top-bar .edgtf-position-left-inner ul.custom-social-links{
    list-style: none;
    margin: 0;
    position: relative;
    top: 4px;
    left: 8px;
}
.edgtf-top-bar .edgtf-position-left-inner ul.custom-social-links li{
    display: inline-block;
    margin: 0 10px 0 0
}
.edgtf-top-bar .edgtf-position-left-inner ul.custom-social-links li svg{
    width: 15px;
    height: 15px;
}

@media (max-width: 480px){
    .edgtf-top-bar{
        height: auto !important;
    }
    .edgtf-top-bar .edgtf-vertical-align-containers .edgtf-position-left,
    .edgtf-top-bar .edgtf-vertical-align-containers .edgtf-position-right{
        display: block !important;
        width: 100% !important;
        height: auto;
        text-align: center;
    }
    .edgtf-top-bar .widget{
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    .edgtf-top-bar .widget:after{
        content: none !important;
    }
}
@media (max-width: 768px) and (min-width: 481px){
    .edgtf-top-bar{
        height: auto !important;
    }
    .edgtf-top-bar .edgtf-vertical-align-containers .edgtf-position-left,
    .edgtf-top-bar .edgtf-vertical-align-containers .edgtf-position-right{
        display: block !important;
        width: 100% !important;
        height: auto;
        text-align: center;
    }
    .edgtf-top-bar .edgtf-vertical-align-containers .edgtf-position-right .edgtf-position-right-inner .widget:nth-child(2){
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    .edgtf-top-bar .edgtf-vertical-align-containers .edgtf-position-right .edgtf-position-right-inner .widget:nth-child(2):after{
        content: none !important;
    }
}

/*Footer*/

footer .edgtf-footer-top-holder .widget h5.edgtf-footer-widget-title{
    font-size: 20px;
}

footer .edgtf-footer-bottom-holder .widget p{
    margin-bottom: 0px;
}

footer .edgtf-footer-bottom-holder .widget p span.separator{
    color: #535353;
    margin: 0px 20px;
}

footer .edgtf-footer-top-holder .edgtf-footer-column-1 img{
    max-width: 300px;
    display: block;
    margin-bottom: 30px;
}

footer .edgtf-footer-top-holder .edgtf-footer-column-3 ul.menu li{
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 786px){
    footer .edgtf-footer-bottom-holder .widget p span.separator{
        display: none;
    }
    footer .edgtf-footer-bottom-holder .widget span.copy:after{
        content: "";
        display: block;
        width: 40px;
        height: 1px;
        margin: 0 auto;
        background-color: #535353;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    footer .edgtf-footer-bottom-holder .widget p a{
        display: block;
    }
}

/*FAQ*/

@media (max-width: 480px) {
    ul.edgtf-tabs-nav li.ui-tabs-tab{
        margin-bottom: 15px;
    }
    .edgtf-tab-container h5.edgtf-title-holder{
        line-height: 20px;
        padding: 20px 0px;
    }
}

@media (max-width: 1024px) and (min-width: 481px) {
    .edgtf-tab-container h5.edgtf-title-holder{
        line-height: 20px;
        padding: 20px 0px;
    }
}

/*Global*/

.tesla-banner{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 35%;
}

.custom-column-setting-0{
    padding: 60px 0px 0px 50px !important;
}

@media (max-width: 1024px) {
    .mobile-col-margin-bottom{
        margin-bottom: 40px;
    }
    .custom-column-setting-0{
        padding: 0px 0px 0px 0px !important;
    }
}

.custom-txt-white{
    color: white;
}

.custom-image-boxes .edgtf-elements-holder .edgtf-elements-holder-item .edgtf-elements-holder-item-background:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: black;
    position: absolute;
    z-index: 9;
    opacity: 0.5;
}

.custom-image-boxes .edgtf-elements-holder .edgtf-elements-holder-item.edgtf-inside-border{
    padding: 10px !important;
}

.custom-cta-box{
    background-color: rgba(0,0,0,0.1);
    background-blend-mode: overlay;
}

.custom-list-icon .edgtf-iwt-icon-holder img{
    width: 32px;
}

.custom-parallax-image .edgtf-elements-holder-item:nth-child(1) .edgtf-elements-holder-item-background{
    background-size: auto !important;
    background-attachment: fixed;
}

@media (max-width: 480px){
    .custom-parallax-image .edgtf-elements-holder-item:nth-child(1) .edgtf-elements-holder-item-background {
        background-size: contain !important;
        background-attachment: fixed;
    }
}

@media (max-width: 786px) and (min-width: 481px){
    .custom-parallax-image .edgtf-elements-holder-item:nth-child(1) .edgtf-elements-holder-item-background {
        background-size: cover !important;
        background-attachment: fixed;
    }
}

/*Testimonials*/
.edgtf-testimonials.edgtf-testimonials-type-carousel .edgtf-testimonial-text-holder .edgtf-testimonial-text-inner{
    background-image: url("/wp-content/uploads/2016/04/parallax-2-600x344.jpg");
}
.edgtf-testimonials.edgtf-testimonials-type-carousel .edgtf-testimonial-text-holder .edgtf-testimonial-title{
    color: white;
}
.edgtf-testimonials.edgtf-testimonials-type-carousel .edgtf-testimonial-text-holder .edgtf-testimonial-text{
    color: #e0e0e0;
}
.edgtf-testimonials.edgtf-testimonials-type-carousel .edgtf-testimonial-author .edgtf-testimonial-author-text {
    color: #000 !important;
}
.edgtf-testimonials .edgtf-testimonial-image-holder img{
    border-radius: 100%;
}

/*Logo*/
header .edgtf-logo-wrapper a,
header .edgtf-logo-wrapper a,
header .edgtf-logo-wrapper a{
    height: 50px !important;
}
header.edgtf-mobile-header .edgtf-mobile-header-inner{
    height: 50px !important;
}
header.edgtf-mobile-header .edgtf-mobile-logo-wrapper a{
    height: 30px !important;
}

/*Custom Image Box for Gallery Page*/
.custom-image-box{
    width: 100%;
    height: 285px;
    display: flex;
}

.custom-image-box .text{
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 5;
    background-color: rgba(37,37,37,.7);
    width: calc(100% - 30px);
    height: calc(100% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: open sans,sans-serif;
    flex-direction: column;
    align-self: center;
}

.custom-image-box .text h3{
    font-size: 17px;
    font-weight: 400;
    line-height: 27px;
    text-transform: uppercase;
    color: white;
}
.custom-image-box .text span.subtext{
    font-family: Georgia,serif;
    font-size: 15px;
    line-height: 20px;
    font-style: italic;
    color: #d6ab60;
    margin-top: 6px;
    text-align: center;
    padding: 0px 35px;
}

.custom-image-box:hover .text{
    visibility: visible;
    opacity: 1;
    transition: all .15s ease-in-out ;
}

.custom-image-box:hover{
    cursor: pointer;
}

.custom-image-box .image img{
    width: 407px;
    height: 285px;
    object-fit: cover;
    object-position: top;
}
