﻿.index-banner {
    overflow: hidden;
    padding: 24px 0;
    background-color: #000028;
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: 50% 50%;
    position: relative;
}
.index-banner > .container {
    z-index: 10;
    position: relative;
}
.index-banner canvas { 
    position: absolute; 
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.index-banner__images li {
    position: absolute;
    bottom: 15px;
    left: 15px;
    list-style: none;
    color: #FFFFFF;
    font-weight: 300;
    line-height: 16px;
}   
.index-banner__reviews {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.index-banner__reviews-arrow {
    position: absolute;
    top: 16px;
    right: 15px;
}
.index-banner__reviews-arrow.rotate {
    -webkit-transform: rotate(180deg);-ms-transform: rotate(180deg);transform: rotate(180deg);
}
.index-banner__reviews a {
    text-decoration: none;
    color: #444444;
    font-weight: 300;
}
.index-banner__reviews h3 {
    margin: 0;
    line-height: 42px;
    height: 43px;
    padding: 0 15px;
    font-family: WorkSans;
    font-weight: 500;
    font-size: 16px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #DDDDDD;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.9px;
    word-spacing: -0.35px;
}
.index-banner__review-item {
    display: block;
    line-height: 51.6px;
    list-style: none;
    padding: 0 15px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #DDDDDD;
    height: 52.6px;
    position: relative;
    padding-right: 45px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.index-banner__review-item:last-of-type {
    border-bottom: none;
}
.index-banner__review-item-logo {
    height: 51.6px;
    width: 40px;
    float: left;
    margin-right: 6px;
    background-size: 30px;
    background-position: left center;
    background-repeat: no-repeat;
}
.index-banner__review-item-logo img{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
}
.index-banner__review-item-arrow {
    height: 51.6px;
    width: 30px;
    position: absolute;
    right: 15px;
    top: 0;
}
.index-banner__reviews-desktop:not(:last-of-type){
    margin-bottom: 24px;
}
.index-banner__main{
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.21);
    background-color: #ffffff;
    margin-bottom: 24px;
    order: -1;
}
.index-banner__box{
    display: flex;
    flex-direction: column;
}
.index-banner__header{
    display: flex;
    flex-direction: column;
}
.index-banner__main .index-banner__header h1{
    /*max-width: 219px;*/
    font-family: BwGlennSans;
    font-size: 28px;
    font-weight: 800;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: center;
    color: #404040;
    margin: 0;
}
.index-banner__main .index-banner__header p {
    font-family: BwGlennSans;
    margin: 0 !important;
    font-weight: 800;
}
.index-banner__main p{
    font-family: WorkSans;
    font-size: 16px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.44;
    letter-spacing: normal;
    color: #444444;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.9px;
    word-spacing: -0.35px;
}
.index-banner__main-bottom{
    width: 100%;
    border-top: 1px solid #d8d8d8;
}
.index-banner__main-bottom p{
    font-family: WorkSans;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.44;
    letter-spacing: normal;
    color: #444444;
    margin: 16px auto 8px;
    letter-spacing: -0.9px;
    word-spacing: -0.35px;
}
.search{
    width: 100%;
    position: relative;
}
.search .search-image{
    width: 24px;
    height: 24px;
    position: absolute;
    right: 9px;
    top:17px;
    cursor: pointer;
}
.search-image--mobile{
    display: block;
}
.search-image--desktop{
    display: none;
}
.index-banner__main-input--mobile{
    display: block;
}
.index-banner__main-input--desktop{
    display: none;
}
.index-banner__main-bottom input{
    width: 100%;
    padding-left: 16px;
    height: 56px;
    border-radius: 8px;
    background-color: #eee5f5;
    border: none;
    color: #5b009b;
}
.index-banner__main .cta__shortcode-wrapper a button{
    margin: 0;
}
.index-banner__main .cta__shortcode--primary{
    width: 100% !important;
}
.index-banner__main-bottom input:focus{
    outline: none;
}
.index-banner__main-bottom input::placeholder{
    color:#5b009b;
}
.index-banner__main-desktop{
    display: none;
}

@media only screen and (min-width: 992px) {
    .index-banner {
        height: 600px;
        padding: 0;
    }
    .index-banner__box{
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    .index-banner__main{
        padding: 13px 40px 34px;
        max-width: 48%;
        order:0;
    }
    .index-banner__main-bottom p{
        margin: 24px auto 13px;
    }
    .index-banner__main .cta__shortcode-wrapper{
        margin:0;
        margin-bottom: 30px;
    }
    .search-image--mobile{
        display: none;
    }
    .search-image--desktop{
        display: block;
    }
    .index-banner__main-input--mobile{
        display: none;
    }
    .index-banner__main-input--desktop{
        display: block;
    }
    .index-banner__images {
        width: 73.9%;
        margin-right: 2.1%;
        float: left;
    }
    .index-banner__reviews {
        width: 24%;
        /*float: right;*/
        height: 305px;
    }
    .index-banner__main{
        margin-bottom: 0;
    }
    .index-banner__reviews-desktop:last-of-type{
        margin-right: 0;
    }
    .index-banner__reviews-desktop:not(:last-of-type){
        margin-bottom: 0;
    }
    .index-banner__reviews-inner {
        display: block;
    }
    .index-banner__main-desktop{
        display: flex;
    }
}