/*
Theme Name: Доставка воды Макларин и Maya NEW
Author: Румянцев Артём Алексеевич
Author URI: https://vk.com/id31770358
Description: Доставка воды Макларин и Maya NEW
Version: 1.0
Text Domain: aqua19
*/

.product-price{
    padding-bottom: 30px;
}

.tab-buttons__item._active .btn{
    border-bottom: 5px solid #73ecf7;
}

.top-info {
    line-height: 20px;
    text-align: center;
    border-radius: 0;
    background-color: #ffe3e1;
    font-weight: bold;
    font-size: 18px;
    color: #f00;
    padding: 10px 0;
}

.top-info p {
    margin-bottom: 0px;
}

.form__label{
    margin-bottom: 8px;
}

.custom-radio{
    position: relative;
}

.custom-radio__input{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    cursor: pointer;
}


.custom-radio__icon{
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #296b8f;
}

.custom-radio__icon:after{
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    opacity: 0;
    border-radius: 50%;
    background-color: #296b8f;
    transition: all 0.3s linear;
}

.custom-radio__input:checked + .custom-radio__icon:after{
    opacity: 1;
}

.custom-radio__label{
    padding-left: 28px;
    color: #333;
    font-size: 16px;
    line-height: 20px;
}

.form__checkboxes{
    display: flex;
    flex-wrap: wrap;
}

.form__checkboxes .custom-radio{
    margin-right: 15px;
    margin-bottom: 10px;
}

.form__checkboxes .custom-radio:last-child{
    margin-right: 0;
}

.only-timepicker .datepicker--nav,
.only-timepicker .datepicker--content {
    display: none;
}
.only-timepicker .datepicker--time {
    border-top: none;
}

.form-group--time{
	display: none;
}

.phones__item a{
    white-space: nowrap;
}

@media only screen and (max-width: 767px){
	.form__group-part{
		margin-bottom: 15px;
	}
	.form__group-part:last-child{
		margin-bottom: 0;
	}
    /* .top-info{
        position: fixed;
        width: 100%;
        z-index: 99;
        height: 60px;
    }

    .top-info + * {
        margin-top: 60px;
    } */
}

.product-price__plus{
    text-align: center;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 36px;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgb(124 18 18 / 75%);
}

.product-price {
    padding-bottom: 42px;
}

.product-price__table{
    position: absolute;
    width: 240px;
    padding: 12px;
    border-radius: 10px;
    bottom: -42px;
    left: 118px;
    display: none;
}

.product-price__table table{
    border: 1px solid #fff;
    width: 100%;
}

.product-price__table table td{
    color: #fff;
    border: 1px solid #fff;
    font-size: 12px;
    padding: 0px 9px;
}

.product-price__table table td:last-child{
    text-align: center;
}

.product-price--blue .product-price__table {
    background-color: #32495b;
}

.product-price--green .product-price__table {
    background-color: #3a5b39;
}

@media only screen and (max-width: 991px){
    .product-price__table{
        bottom: -223px;
        right: 0;
        left: auto;
    }
}

.main-block__item-bg--3{
    background-image: url(img/stakan.png?v=2);
}

.city-list__item{
    margin-bottom: 10px;
}

@media only screen and (max-width: 767px){
    .main-block__item-bg--3{
        display: block;
        background-image: url(img/stakan--mob.png);
        background-position: right 40px bottom 40px;
        z-index: 5;
    }

    .main-block__item-bg--3:after{
        content: '';
        position: absolute;
        background-color: #000;
        opacity: 0.3;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .main-block__inner{
        position: relative;
        z-index: 6;
    }

    .main-block__item--white .main-block__title,
    .main-block__item--white .main-block__where {
        color: #fff;
    }
}

@media only screen and (max-width: 575px){
    .main-block__item-bg--3{
        background-size: 200px;
    }
}

.catalog--2{
    padding-top: 20px;
}

.catalog--2 .catalog__info{
    margin-top: 0;
}

.legal-section{
    background-color: #31485a;
    padding: 40px 0;
}

.legal-block{
    color: #fff;
}

.legal-block__title{
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 38px;
}

.legal-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -5px;
}

.legal-list__item{
    flex-basis: auto;
    flex-shrink: 0;
    padding: 0 5px;
}

.legal-card{
    display: flex;
    align-items: center;
}

.legal-card__image{
    width: 49px;
    flex-basis: auto;
    flex-shrink: 0;
    margin-right: 10px;
}

.legal-card__image img{
    display: block;
    max-width: 100%;
}

.legal-card__title{
    font-size: 14px;
    line-height: 1;
    font-weight: 300;
    color: #fff;
}

@media only screen and (max-width: 1199px){
    .legal-list{
        justify-content: center;
    }
    .legal-list__item{
        max-width: 27%;
        width: 100%;
        margin-bottom: 20px;
    }
    .legal-section{
        padding: 40px 0 20px;
    }
}

@media only screen and (max-width: 991px){
    .legal-list__item{
        max-width: 33.33333%;
    }

    .legal-list__item:last-child br{
        display: none;
    }
}

@media only screen and (max-width: 767px){
    .legal-list__item{
        max-width: 50%;
    }

    .legal-card{
        flex-direction: column;
    }

    .legal-card__image{
        margin-right: 0;
        margin-bottom: 10px;
        flex-basis: auto;
        max-width: 100%;
    }

    .legal-card__title{
        text-align: center;
        flex-basis: auto;
        max-width: 100%;
    }

}

.btn--block{
    display: block;
    width: 100%;
}

.link{
    display: inline-block;
    position: relative;
}

.link--blue,
.link--blue:hover{
    color: #0082d5;
}

.link--blue:after{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #0082d5;
    transition: all 0.3s linear;
}

.link--blue:hover:after{
    opacity: 0;
}

.alert{
    font-size: 14px;
    line-height: 1.1;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.btn--white{
    position: relative;
    min-width: 133px;
    padding: 0 20px 0 20px;
    height: 40px;
    line-height: 40px;
    border-radius: 3px;
    background-image: linear-gradient(0deg,#fff 0,#f1f1f1 22%,#fff 78%,#f1f1f1 100%);
    color: #00592D;
    font-size: 17px;
    text-align: center;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.23), inset 0 1px 0 0 rgba(255, 255, 255, 0.75);
    min-width: 240px;
}

.btn--white:hover{
    color: #00592D;
}

.bth--red{
    background-image: none;
    background-color: #406b8f;
    box-shadow: 0 2px 4px 0 rgb(64, 107, 143), inset 0 1px 0 0 rgba(255, 255, 255, 0.75);
    color: #fff;
}

.bth--red:hover{
    color: #fff;
}

.page{
    background-color: #F2F2F2;
    padding-bottom: 40px;
}

.lk-block{

}

.lk-block__header{
    background-color: #00592D;
    font-weight: 900;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    padding: 15px 22px;
}

.lk-block__body{
    background-color: #fff;
    padding: 24px 22px;
    border: 1px solid #00592D;
}

.lk-block__history{
    margin-top: 35px;
}

.form__row{
    margin-left: -10px;
    margin-right: -10px;
}

.form__col{
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.form__group-col:first-child{
    margin-bottom: 20px;
}

.form__group-col{
    padding-left: 10px;
    padding-right: 10px;
}

.form__group-row{
    margin-left: -10px;
    margin-right: -10px;
}

.history-table{
    width: 100%;
    border: 1px solid #00592D;
}

.history-table thead{
    background-color: #00592D;
}

.history-table thead th{
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    padding: 8px 12px;
}

.history-table tbody td {
    font-size: 14px;
    line-height: 22px;
    color: #00592D;
    padding: 8px 12px;
}

.history-table tbody tr{
    border-bottom: 1px solid #00592D;
}

.history-table tbody tr:last-child{
    border-bottom: 0;
}


.history-table tbody td p{
    margin-bottom: 2px;
}

.form__col-title,
.lk-block__history-title{
    font-size: 24px;
    line-height: 22px;
    color: #00592D;
    margin-bottom: 20px;
}

.form__label--green{
    color: #00592D;
}

.form__control--green::-webkit-input-placeholder {color:#00592D;}
.form__control--green::-moz-placeholder          {color:#00592D;}
.form__control--green:-moz-placeholder           {color:#00592D;}
.form__control--green:-ms-input-placeholder      {color:#00592D;}


.custom-radio--green .custom-radio__icon {
    border-color: #00592D;
}

.custom-radio--green .custom-radio__icon:after{
    background-color: #00592D;
}


.history-table tbody td:nth-child(5){
    width: 150px;
}

.history-table tbody td:nth-child(2){
    width: 300px;
}

.form__group--address{
    max-width: 444px;
}

.btn--small{
    font-size: 14px;
    height: 40px;
    line-height: 40px;
}

.lk-block__history{
    overflow-x: auto;
}

@media only screen and (max-width: 767px){
    .history-table{
        width: 800px;
    }
    .history-table tbody td:nth-child(2){
        width: 220px;
    }

    .btn--white{
        min-width: 190px;
    }

    .form__group-col,
    .form__group-col:first-child{
        margin-bottom: 15px;
    }

    .form__col-title,
    .lk-block__history-title {
        font-size: 20px;
        line-height: 20px;
    }
}

.custom-checkbox{
    position: relative;
}

.custom-checkbox__input{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    cursor: pointer;
}

.custom-checkbox__icon{
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid #296b8f;
}

.custom-checkbox__icon:after{
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    opacity: 0;
    border-radius: 3px;
    background-color: #296b8f;
    transition: all 0.3s linear;
}

.custom-checkbox__input:checked + .custom-checkbox__icon:after{
    opacity: 1;
}

.custom-checkbox__label{
    padding-left: 28px;
    color: #333;
    font-size: 16px;
    line-height: 20px;
}

.custom-checkbox__label a{
    position: relative;
    z-index: 5;
}

.custom-checkbox__label a,
.custom-checkbox__label a:hover{
    color: #0082d5;
}

.custom-checkbox__label a:after{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #0082d5;
    transition: all 0.3s linear;
}

.lk-block__logout{
    margin-bottom: 30px;
}

.form__col {
    display: flex;
    flex-direction: column;
}

.form__col > * {
    flex: 0 0 auto;
    max-width: 100%;
}

.form__group--text{
    color: #00592D;
    margin-top: auto;
}

.header__cart{
    margin-left: 0;
}

.header__actions{
    margin-left: 42px;
}

.header__lk{
    margin-bottom: 5px;
}

.lk-link{
    display: block;
    position: relative;
    padding-left: 46px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    color: #296B8F;
}

.lk-link:hover{
    color: #296B8F;
    text-decoration: none;
}

.lk-link:after{
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    background-image: url(img/lk-icon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 1199px){
    .lk-link{
        height: 34px;
        padding-bottom: 0;
        padding-top: 0;
        padding-left: 0;
        width: 34px;
        height: 34px;
    }
    .lk-link span{
        display: none;
    }
}


@media only screen and (max-width: 575px){
    .header__actions{
        margin-left: 20px;
    }
}

.catalog-card--small .catalog-card__image img{
    max-height: 344px;
    top: -156px;
}

@media only screen and (max-width: 575px){
    .catalog-card--small .catalog-card__image img{
        max-height: 250px;
        top: -82px;
    }
}

.main-block__item--new .main-block__act {
    width: 157px;
    height: 300px;
    right: 556px;
    top: 172px;
    flex: 0 0 auto;
}

.main-block__item--new .main-block__act img {
    max-width: 100%;
}

.main-block__item--new .main-block__bottles {
    margin-top: -35px;
    margin-right: -156px;
}

@media only screen and (max-width: 1199px) {
    .main-block__item--new .main-block__bottles {
        margin-right: 0;
        margin-top: 0;
    }

    .main-block__item--new .main-block__btn {
        margin-top: 4px;
    }
}

@media only screen and (max-width: 991px) {
    .main-block__free {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .main-block__item--new .main-block__btn {
        margin-top: -20px;
    }
}

@media only screen and (max-width: 767px){
    .main-block__item--new .main-block__inner{
        display: none;
        margin-left: 20px;
    }

    .main-block__item--new {
        background-image: url(img/main-bg--mobile-new.jpg);
    }

    .main-block__item--new {
        height: auto;
        padding-bottom: 98%;
    }
}

.main-block__item--new .main-block__title {
    margin-left: 0;
}

.main-block__btn {
    max-width: 330px;
}

.main-block__sostav.sostav {
    width: 176px;
    margin-left: 45px;
}

@media only screen and (max-width: 767px){
    .main-block__btn {
        max-width: 100%;
    }

    .tab-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-buttons__item {
        margin-right: 0px;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .main-block__title {
        text-align: center;
    }
}
