/* ===================  Стили для offer-modal - всплывашки при уходе ===================== */
#offer-modal{
    max-width: 1200px;
    background-color: #ffffff;
    font-size: 18px;
    line-height: 24px;
}
#offer-modal .form-title__offer{
    font-size: 30px;
    line-height: 32px;    
    margin: 0 auto 5px;
}
#offer-modal .form-subtitle__offer{
    position: relative;
    font-family: inherit;
    font-size: 25px;
    line-height: 27px;
    font-weight: 400;
    color: inherit;    
    text-align: center;
    padding: 0 0 20px;
    margin: 0 0 40px;
}
#offer-modal .form-subtitle__offer:before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #9ede73; /* Old browsers */   
    background: -moz-radial-gradient(center, ellipse cover,  rgba(158,222,115,1) 0%, rgba(236,248,227,0) 80%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(158,222,115,1) 0%,rgba(236,248,227,0) 80%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center,  rgba(158,222,115,1) 0%,rgba(236,248,227,0) 80%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ede73', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.offer-modal-column{
    position: relative;    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-between;
    justify-content: space-between;    
    width: 33.33%;
    padding: 20px;
    border: none;
    margin: 0 0 20px;
    background: #ffffff;
    text-align: center;
    -moz-box-shadow: #e2e6de 0px 0px 4px 0px;
    -webkit-box-shadow: #e2e6de 0px 0px 4px 0px;
    box-shadow: #e2e6de 0px 0px 4px 0px;
    overflow: hidden;
}
.offer-modal__photo{
    display: -webkit-flex;    
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    height: 300px;
    margin: 0 0 10px;
    width: 100%;
    overflow: hidden;
}
.offer-modal__photo img{
    height: auto;
    max-height: 100%;
    margin: 0 auto;
}
.offer-modal-inner{
    flex: auto 1 1;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}
.offer-modal-name{
    font-size: 21px;
    line-height: 30px;
    font-weight: 600;
    margin: 0 0 10px;
    text-transform: uppercase;
    text-align: center;
}
.offer-modal-subtitle{
    font-family: inherit;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: inherit;
    text-align: left;
    margin: 0 0 10px;
}
.offer-modal-specific{
    font-size: 16px;
    line-height: 20px;    
    font-weight: 600;
    color: #191d16;
    text-align: left;
    margin: 0 0 10px;
    pointer-events: none;
    text-decoration: none;
    cursor: default;    
}
.offer-modal-specific span{
    position: relative;   
    padding: 0 24px 0 0;
}
.offer-modal-specific-list{
    font-family: inherit;
    font-size: 16px;
    line-height: 20px;   
    font-weight: 400;
    color: inherit;    
    margin: 0 0 20px;
    text-align: left;
}
.offer-modal-specific-list li{
    background: transparent url('../images/icon-check.svg') no-repeat left top;
    padding: 0 0 0 30px;
    margin: 0 0 5px;
}
.offer-modal-bottom{
    flex: 60px 0 0;
}
#offer-modal .button{
    width: 200px;
}
@media (max-width: 1200px){
    .offer-modal-specific{
        color: #E48900;
        text-decoration: underline;
        cursor: pointer;
        pointer-events: all;
    } 
    .offer-modal-specific span:before{
        content: ''; 
        position: absolute;
        right: 0;
        top: 6px;        
        border: 8px solid transparent;
        border-top: 8px solid #E48900; 
    }
    .offer-modal-specific.opened span:before{
        top: 0;
        border: 8px solid transparent;
        border-bottom: 8px solid #E48900; 
    }
    .offer-modal-more{
        display: none;
    }
    .offer-modal-more.active{
        display: block;
    }
    .offer-modal-bottom{
        margin: 20px 0 0;
    }
}

@media (max-width: 767px){
    #offer-modal .form-container{
        padding: 0 10px;
    }
    #offer-modal .form-title__offer{
        font-size: 25px;
        line-height: 27px;        
        margin: 40px auto 5px;        
    }
    #offer-modal .form-subtitle__offer{
        font-size: 21px;
        line-height: 24px;    
        margin: 0 0 20px;
    }
    .offer-modal-columns{
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    .offer-modal-column{
        width: 100%;
    }
    .offer-modal__photo{
        display: block;
        height: auto;
    }   
    
}