* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, sans-serif;
    /* outline: none; */
    /* background-image: url(../img/background.png); */
    background-color: #f3f3f3 !important;
}
a {
    text-decoration: none;
    color: #000;
}
input {
    padding-left: 15px;
    padding-right: 15px;
}
.form-check-label-position {
    padding-left: 15px;
    line-height: 30px;
}
.compalsory-field-star{
    color: #1a1b49;
    font-weight: 900;
}
.compalsory-field-star_bot-wrap {
    margin-left: 167px;
}
.compalsory-field-star_bot{
    color: #1a1b49;
    font-weight: 900;
    margin-right: 20px;
}
.required-field {
    color: #c5282a;
    font-weight: bold;
    font-size: 19px;
}
/*for contacts.html*/
a[href^="mailto:"] {
    color: #87a80e;
}
a.nav__active:active, a.nav__active:visited, a.nav__active:hover {
    color: #1a1b49;
}
.nav {
    margin: 14px 0;
    display: flex;
    font-size: 14px;
    color: #cccccc;
}
.registration__nav {
    width: 90%;
    margin: 14px auto;
}
.nav a {
    color: #cccccc;
}
.point {
    margin: 0 3px;
}
.container {
    display: flex;
    flex-direction: column;
    max-width: 1600px;
	margin: 0 auto;
    margin: 0 auto;
    background-color: #fff;
}
.contacts__wrap {
    padding: 0 51px 51px;
}
.contacts {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.contacts__content{
    margin-right: 15px;
}
.contacts__item-title {
    font-size: 20px;
    color: #87a80e;
    font-weight: bold;
}
.contacts__item-info {
    font-size: 16px;
    margin: 11px 0;
}
.contacts__item:nth-child(1) .contacts__item-info {
    margin-bottom: 31px;
}
.contacts__item:nth-child(2) .contacts__item-info, .contacts__item:nth-child(3) .contacts__item-info{
    margin-bottom: 21px;
}
.contacts__item:nth-child(4) .contacts__item-info{
    margin-top: 25px;
}
.tel {
    display: flex;
    flex-wrap: wrap;
}
.tel__block {
    display: flex;
    justify-content: space-between;
    min-width: 260px;
    margin-right: 55px;
}
.tel__block-subtitle{
    margin-right: 19px;
    min-width: 106px;
}
.tel__block-number p{
    margin-bottom: 1px;
}
.adress p, .requisites p {
    line-height: 19px;
}
.email {
    margin-top: 19px;
}
.contacts__img {
    padding-top: 5px;
}
.contacts__img-600 {
    display: none;
}
.contacts__img-600 img {
    max-width: 100%;
}
.map{
    height: 524px;
}


/*for registration.html*/
.registration-form {
    /*max-width: 745px;*/
    min-width: 65%;
    margin: 0 auto 60px;
    font-size: 16px;
}
.field {
    display: flex;
    margin-bottom: 9px;
    align-items: center;
}
.field .label {
    min-width: 146px;
    margin-right: 18px;
    text-align: right;
}
.field textarea {
    width: 70%;
    height: 118px;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    resize: none;
}
.field.requisites_textarea {
    align-items: flex-start;
}
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 30px;
    width: 70%;
}
.person-type {
    padding-left: 164px;
}
.person-type input{
    margin-right: 14px;
    height: 30px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.person-type label{
    margin-right: 29px;
    position: relative;
}

.input-style{
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    border-radius: 100%;
    display: inline-block;
    position: absolute;
    left: -2em;
    top: .2em;
}
input[type=radio]:checked+label>.input-style{
    background-color: #1a1b49;
}
.personal-data__subtitle, .login-data__subtitle {
    font-weight: bold;
    color: #1a1b49;
    margin: 29px 0 15px;
}
.delivery_adress {
    position: relative;
}
.delivery_adress_plus {
    position: absolute;
    right: 0px;
    width: 30px;
    height: 30px;
    line-height: 24px;
    color: #fff;
    background-color: #1a1b49;
    border-radius: 100%;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}
.delivery_adress_minus {
    position: absolute;
    bottom: 1px;
    right: 0px;
    width: 30px;
    height: 30px;
    line-height: 25px;
    color: #fff;
    background-color: #1a1b49;
    border-radius: 100%;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}
.form__footer {
    display: flex;
    align-items: center;
    justify-content: c;
    font-size: 14px !important;
    margin-top: 30px;
}
.form__notes {
    position: relative;
}
.form__notes input {
    height: 20px;
    width: 14px;
    margin-right: 13px;
    vertical-align: middle;
    z-index: 99;
    /*opacity: 0;*/
    cursor: pointer;
}
.form__notes label{
    position: relative;
}
.accept-mailing-style{
    width: 14px;
    height: 14px;
    position: absolute;
    /*left: -2.5em;*/
    /*top: .1em;*/
    color: #99cc00;
    border: 1px solid #99cc00;
    border-radius: 3px;
}
input.input_mail_reg {
	visibility: hidden;
}
input.input_mail_reg::before {
	visibility: visible; 
	content:'';
	position:absolute;
	width: 20px;
	height: 20px;
	background: url('../img/blue_checkbox.png');
	background-size: 100%;
}
input.input_mail_reg:checked::before {
	background: url('../img/blue_checkbox_checked.png');
	background-size: 100%;
	position:absolute;
}
.input_mail_reg:checked+label>.accept-mailing-style{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}
.log_form_width {
    width: 100% !important;
}
input[type=checkbox]:checked+label>.accept-mailing-style{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
.required-field-note .required-field {
    display: inline-block;
    vertical-align: middle;
    max-height: 20px;
    min-width: 16px;
    margin-right: 13px;
    color: #f52727;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}
.submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    color: #fff;
    background-color: #1a1b49;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    min-width: 210px;
    cursor: pointer;
    margin-left: 1em;
}
.submit-btn-green {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    color: #fff;
    background-color: #99cc00;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    min-width: 210px;
    cursor: pointer;
    margin-left: 1em;
}

/*@media*/
@media (max-width: 1440px){
    .tel__block{
        margin: 0 15px 5px 0;
        min-width: unset;
    }
    .contacts__item-title {
        font-size: 16px;
    }
    .contacts__item-info {
        font-size: 14px;
    }
    .form__footer {
        font-size: 12px;
    }
    .contacts__img img {
        max-width: 100%;
    }
    .registration-form {
        /*max-width: 690px;*/

    }
    .delivery_adress:after {
        width: 29px;
        height: 29px;
        right: 0;
    }
}
@media (max-width: 990px){
    .compalsory-field-star_bot-wrap {
        margin-left: 0px;
    }
    .field input[type="text"], .field input[type="email"], .field input[type="password"] {
        width: 60%;
    }
    .field textarea {
        width: 60%;
    }
    .delivery_adress_plus {
        right: -15px;
    }
    .delivery_adress_minus {
        right: -15px;
    }
}
@media (max-width: 768px){
    .contacts__img {
        width: 35%;
        position: absolute;
        right: 51px;
    }
    .registration-form {
        font-size: 14px;
        max-width: 90%;
    }
    .contacts__item-info {
        font-size: 12px;
    }
    .tel {
        flex-direction: column;
    }
    .tel__block {
        justify-content: unset;
    }
    .tel__block-subtitle {
        min-width: 80px;
    }
    .form__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .form__notes {
        margin-bottom: 10px;
    }
    .submit-btn{
        margin-left: 0;
    }
}
@media (max-width: 600px){
    .contacts__wrap {
        padding: 20px 30px;
    }
    .contacts__content {
        margin-right: 0;
    }
    .contacts__img{
        display: none;
    }
    .contacts__img-600 {
        display: block;
        float: right;
        width: 50%;
    }
    .tel__block {
        flex-direction: column;
    }
    .tel__block-subtitle{
        margin-bottom: 5px;
    }
    .map{
        height: 324px;
    }
    .field .label {
        min-width: 115px;
        text-align: left;
    }
    .field textarea {
        margin-bottom: 0;
    }
    .form__footer, .person-type {
        padding-left: 0;
    }
    .person-type label {
        margin-right: 20px;
    }
    .delivery_adress_plus {
        right: -35px;
    }
    .delivery_adress_minus {
        right: -35px;
    }
}
@media (max-width: 380px){
    .contacts__item:nth-child(1) .contacts__item-info {
        display: flex;
        flex-direction: column;
        margin-bottom: 18px;
    }
    .contacts__item:nth-child(4) .contacts__item-info {
        margin-top: 15px;
    }
    .contacts__img-600 {
        float: none;
        margin-top: 10px;
        order: 1;
        width: 100%;
    }
    .tel {
        flex-direction: row;
    }
    .email {
        margin-top: 10px;
    }
    .registration-form {
        margin: 0 auto 40px;
    }
    .field {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 6px;
    }
    .field.person-type{
        flex-direction: row;
        margin: 20px 0;
    }
    .field .label {
        margin-bottom: 3px;
    }
    .form__footer {
        margin-top: 20px;
    }
    .submit-btn{
        align-self: center;
    }
    .field input[type="text"], .field input[type="email"], .field input[type="password"] {
        width: 85%;
    }
    .delivery_adress_plus {
        top: 25px;
        right: -5px;
    }
    .delivery_adress_minus {
        top: 25px;
        right: -5px;
    }
}
