.page form legend {
	padding: 10px 0;
}

.page form fieldset {
    border: none;
    padding: 0;
    margin: 0 -10px;
}

.page form textarea { margin: 10px 0; }

.page form legend.required::after {
    content: ' *';
    color: red;
}

.page .page form { padding-bottom: 30px; }

.page input[type=text], /* will only select text fields */
.page input[type=email], /* will only select text fields */
.page input[type=password], /* will only select password fields */
.page textarea,
.page select {
    font-family: sans-serif;
    font-size: 14px;

    margin: 0;
    padding: 4px 8px;
    line-height: 24px;

    border: 1px solid #4E4E42;
    border-radius: 0;
    background-color: #FFF;

    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.page textarea {
    min-height: 100px;
    resize: vertical;
    /*padding-top: 5px;*/
}

/* remove dropdown arrow on IE from select */
.page select::-ms-expand {
    display: none;
}

.page select {
    background-image: url(../svg/form/down.svg);
    background-size: 28px 28px;
    background-repeat: no-repeat;
    background-position: right center;
    padding: 4px 30px 4px 6px
}

.page input[type=text]:disabled,
.page input[type=email]:disabled,
.page input[type=password]:disabled,
.page textarea:disabled,
.page select:disabled {
    color: #333;
    background-color: #EEE;
}

.page .w100 input[type=text],
.page .w100 input[type=email],
.page .w100 input[type=password],
.page .w100 textarea,
.page .w100 select,
.page .w100 button,
.page .w100 {
    width: 100%;
    box-sizing: border-box;
}

.page .w50 { width: 50%;}

@media all and (max-width: 700px){ .w50 { width: 100%;} }

/*  Бутони */
.page button[type=submit] {
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 25px;
    text-decoration: none;
    padding: 5px 20px;
    display: inline-block;
    margin: 10px 0;

    color: #f5f0da;
    background-color: #4E4E42;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid #4E4E42;
    cursor: pointer;

    -webkit-transition: background-color 0.5s ease, border 0.5s ease;
    -moz-transition: background-color 0.5s ease, border 0.5s ease;
    -ms-transition: background-color 0.5s ease, border 0.5s ease; /* IE10 is actually unprefixed */
    -o-transition: background-color 0.5s ease, border 0.5s ease;
    transition: background-color 0.5s ease, border 0.5s ease;

    -webkit-appearance: none;
}

.page button[type="submit"]:hover {
    background-color: #f5f0da;
    color: #4E4E42;
}

.page button[type=submit]:disabled {
    background-color: #CCC;
    cursor: default;
}

/*button[type=submit]:hover { background: #000; }*/

.page button.cancel {
    border-radius: 4px;
    color: #c12130;
    padding: 8px 20px;
    line-height: 18px;
    text-decoration: none;
    background: linear-gradient( #f0f0f0, #cfcfcf);
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    min-height: 18px;
    margin: 15px;
}

.page a.cancel {
    font-family: sans-serif;
    font-size: 14px;
    line-height: 24px;
    padding: 5px 20px;
    height: 36px;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    margin: 0 10px;
    border: 1px solid transparent;

    box-sizing: border-box;

    -webkit-transition: background-color 0.5s ease, border 0.5s ease;
    -moz-transition: background-color 0.5s ease, border 0.5s ease;
    -ms-transition: background-color 0.5s ease, border 0.5s ease; /* IE10 is actually unprefixed */
    -o-transition: background-color 0.5s ease, border 0.5s ease;
    transition: background-color 0.5s ease, border 0.5s ease;
}

.page a.cancel:hover {
    background-color: #EEE;
    color: #000;
    border-radius: 3px;
    border: 1px solid #E1E1E1;
}

.page select option {
    padding: 6px;
}

/* checkbox */
.page label.checkbox {
    line-height: 16px;
    /*white-space: nowrap;*/
    padding: 5px 20px 5px 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: bottom;
    display: inline-block;
}

.page label.checkbox input { display: none;}

.page label.checkbox span {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #a60300;
    /*border-radius: 3px;*/
    content: ' ';
    vertical-align: bottom;
    margin-right: 6px;
    margin-left: -30px;
}

.page label.checkbox:hover span { border-color: #a60300;}

.page label.checkbox input:checked + span {
    background-image: url(../svg/form/check.svg);
    background-color: #a60300;
    background-position: center;
}

@media all and (max-width: 470px) {
    .page label.checkbox { display: block; }
}
/* checkbox END */


/*custom radio*/
.page label.radio {
    line-height: 16px;
    padding: 5px 20px 5px 30px;
    vertical-align: middle;
    display: inline-block;
}

.page label.radio input { display: none;}

.page label.radio span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #a60300;
    border-radius: 50%;
    content: ' ';
    vertical-align: middle;
    margin-left: -30px;
    margin-right: 10px;
}

.page label.radio input:checked + span {
    background-image: url(../svg/form/circle.svg);
    background-position: center;
}
/* custom radio END */

.page .mgBasketDelete {
    color: #999;
    padding-top: 6px;
    cursor: pointer;
}
