.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.nowrap {
    flex-wrap: nowrap;
}
.flex-sb {
    justify-content: space-between;
}
.flex-sa {
    justify-content: space-around;
}
.flex-l {
    justify-content: flex-start;
}
.flex-r {
    justify-content: flex-end;
}
.flex-c {
    justify-content: center;
}
.flex-t {
    align-items: flex-start;
}
.flex-b {
    align-items: flex-end;
}
.flex-m {
    align-items: center;
}
.flex-s {
    align-items: stretch;
}
.select-date-widget {
    position: relative;
}
.select-date-widget .dropdates {
    position: absolute;
    color: inherit;
    background-color: #fff;
    width: 280px;
    max-width: none;
    padding: 0;
    margin-top: 7px;
    left: 0px;
    z-index: 3001;
    border-radius: 3px;
    bottom: 54px;
    display: none;
    box-shadow: 5px 5px 20px rgba(69, 68, 60, 0.2);
}
.select-date-widget .dropdates .small-label {
    padding: 16px;
    padding-bottom: 0;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
}
.select-date-widget .dropdates ul {
    padding: 10px;
}
.select-date-widget .dropdates li {
    box-sizing: border-box;
    width: 33%;
    padding: 6px;
}
.select-date-widget .dropdates li input[type="radio"] {
    display: none;
}
.select-date-widget .dropdates li button,
.select-date-widget .dropdates li label {
    cursor: pointer;
    padding: 6px 7px 5px;
    display: block;
    border: 1px solid rgba(213, 76, 67, 0.2);
    color: #33475B;
    text-align: center;
    font-weight: 300;
    font-size: 13px;
    transition: all 0.3s ease 0s;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #7FD1DE;
    border-radius: 3px;
}
.select-date-widget .dropdates li button:hover,
.select-date-widget .dropdates li label:hover {
    background: #E5F5F8;
    transition: all 0.3s ease 0s;
}
.select-date-widget .dropdates li.active button,
.select-date-widget .dropdates li input:checked ~ label {
    background: #E5F5F8;
    border: 2px solid #00A4BD;
}
.select-date-widget .dropdates .applyBtn {
    width: 100%;
    background: #FF7A59;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 3px 3px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.select-date-widget .dropdates .applyBtn:hover {
    background: #FF8F73;
    transition: all 0.3s ease 0s;
}
.order-deadline-button{
    background: #fff;
    color: #33475B;
    font-size: 15px;
    font-weight: 300;
    height: 48px;
    box-sizing: border-box;
    cursor: pointer;
    width: 280px;
    border-radius: 3px;
    padding-left: 60px;
    padding-right: 5px;
    text-align: left;
    position: relative;
    border: 1px solid #7FD1DE;
    font-family: 'Avenir Next Cyr', sans-serif;
}
.order-deadline-button.active {
    padding-left: 50px;
    text-align: center;
    background: #E5F5F8;
}
.form-inv .order-deadline-button {border-color: #FF7A59;}
.select-date-widget .order-deadline-button:before {
    position: absolute;
    content: "";
    width: 60px;
    height: 48px;
    background: url(/default/images/ico-datepicker.svg) no-repeat center;
    border-radius: 5px 0 0 5px;
    top: 0;
    left: 0;
}
