﻿article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
    display: block;
}


header, footer {
    text-align: center;
}

input:not(.select-box) {
    border: 2px solid #FCA02E;
    padding: 7px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: bold;
    background-color: white;
    transition: background-color .3s;
    min-width: 80px;
}

input[readonly] {
    background-color: #ededed;
}

/*Размеры и выравнивание шрифтов*/
.S {
    font-size: 12px;
}

.M {
    font-size: 14px;
    color: #083866;
}

.B {
    font-size: 16px;
    color: #083866;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}



/*** FLEX-BOX ***/
/* http://html5.by/blog/flexbox */

/* Сам блок flex */
.flex {
    display: flex;
}

/* Расположение элементов один в ряд */
.flex-column {
    flex-direction: column
}

/* Растягивание элементов по горизонтали */
.flex-around {
    justify-content: space-around;
}

/* Выравнивание элементов по центру */
.flex-center {
    justify-content: center;
}

/* Выравнивание элементов по правому краю */
.flex-end {
    justify-content: flex-end;
}

/* Прижатие элементов к левому и правому краям (между элементами равный интервал) */
.flex-space-between {
    justify-content: space-between;
}

/* Автоперенос на новую строку при нехватке ширины */
.flex-wrap {
    flex-wrap: wrap;
}

/* Выравнивание элементов flex по центру горизонта */
.flex-items-center {
    align-items: center;
}

/* /FLEX-BOX */


/*Центральный средний блок */
.mid {
    width: 1250px;
    margin: 0 auto;
}

@media screen and (max-width: 1250px) {
    .mid {
        width: 100%;
    }
}

/* /БЛОКИ */

/*100%*/
.block {
    box-sizing: border-box;
    width: 49.8%;
    margin: 4px 0;
}

/*Блок с текстом внутри*/
.block-info {
    padding: 10px;
    transition: background .3s, border .3s, border-radius .3s;
}

/*Цвета блоков*/
.block-darkblue {
    background: #D0DCE7;
    border: 1px solid #84b7ce;
}

.block-blue {
    background: #E9EDF4;
    border: 1px solid #84b7ce;
}

.block-white {
    background: #FFF;
    border: 1px solid #b9b9b9;
}


/* < 1250px */
@media screen and (max-width: 1250px) {
    .block {
        width: 100%;
    }
}

/* < 980px */
@media screen and (max-width: 980px) {
    .block-info {
        margin: 3px 0;
        padding: 7px;
    }

    .block-blue {
        border: none;
        border-top: 1px solid #84b7ce;
        border-bottom: 1px solid #84b7ce;
    }

    .block-darkblue {
        border: none;
        border-top: 1px solid #84b7ce;
        border-bottom: 1px solid #84b7ce;
    }

    .block-white {
        border: none;
        border-top: 1px solid rgba(199, 206, 218, 0.65);
        border-bottom: 1px solid rgba(199, 206, 218, 0.65);
    }
}

/* < 700px */
@media screen and (max-width: 700px) {
}

.hint {
    font-size: 1em;
    align-self: center;
}

@media screen and (max-width: 432px) {
    .hint {
        font-size: 0.6em;
    }
}
/* /БЛОКИ */




/* КАРТА РОССИИ */
#vmap {
    height: 700px;
    background-color: #FFF;
    transition: all .3s;
}

@media screen and (max-width: 980px) {
    #vmap {
        height: 400px;
    }
}

@media screen and (max-width: 700px) {
    #vmap {
        height: 300px;
    }
}
/* /КАРТА РОССИИ */

.transitionShadow {
    transition: all 1s;
}


/* STEP1 */
.rowStep1 {
    padding: 5px 0;
}

.i-title {
    width: 16px;
    min-width: 16px;
    color: #b9b9b9;
    font-size: 14px;
}
/* /STEP1 */

.grey-label {
    vertical-align: central;
    color: #615C5C;
    font-weight: 500;
    font-size: 13px;
}

.self-center {
    align-self: center;
}

.textSub2Item70 > div:nth-child(1) {
    width: 70%;
    margin-right: 10px;
    text-align: right;
    font-weight: bold;
    padding: 5px 0;
}

.textSub2Item70 > div:nth-child(2) {
    width: 30%;
    margin-left: 10px;
    text-align: left;
}

.textSub2Item > div:nth-child(1) {
    width: 80%;
    margin-right: 10px;
    text-align: right;
    font-weight: bold;
    padding: 5px 0;
}

.textSub2Item > div:nth-child(2) {
    width: 20%;
    margin-left: 10px;
    text-align: left;
}


.textSub2Subitem {
    font-size: 13px;
    font-style: italic;
    font-weight: normal;
    margin: 5px 0;
}

    .textSub2Subitem > div:nth-child(1) {
        text-align: right;
        width: 80%;
        margin-right: 10px;
    }

    .textSub2Subitem > div:nth-child(2) {
        width: 20%;
        text-align: left;
    }


/* RESULT */
.rowResult {
    padding: 5px;
}

    .rowResult i {
        width: 16px;
        min-width: 16px;
        color: #b9b9b9;
        font-size: 14px;
    }

    .rowResult > div:nth-child(1) {
        width: 50%;
        font-weight: bold;
        text-align: right;
        margin: 0 10px 0 0;
    }

    .rowResult > div:nth-child(2) {
        width: 50%;
        text-align: left;
        margin: 0 0 0 10px;
    }
/* /RESULT */

.slider {
    padding: 5px;
    cursor: pointer;
}

    .slider:hover {
        background-color: #edeef2;
    }

.blue {
    background-color: #253359;
}

    .blue:hover {
        background-color: #38518a;
    }

button {
    border: 0px;
    font-size: 1em;
    color: white;
    font-weight: 600;
    min-height: 38px;
    background-color: #fca02e;
    border-radius: 14px;
    transition: background .3s;
    padding-top: 3px;
}

    button:hover {
        background-color: #ffb358;
        cursor: pointer;
    }

    button:disabled,
    button[disabled] {
        pointer-events: none;
        background-color: #F3CA98;
    }


.back {
    background-color: white;
    transition: all .3s;
    margin-left: auto;
    margin-right: 0;
    width: 300px;
    max-width: 600px;
    text-align: center;
}

    .back a {
        padding: 10px;
        border-radius: 10px;
        transition: all .3s;
        width: 300px;
    }

        .back a:hover {
            background-color: #D0DCE7;
        }

.rounded-16 {
    border-radius: 16px;
}

.grey {
    color: #615C5C;
}

.bg-grey {
    background-color: #F1F1F1;
}

.orange {
    color: #FCA02E;
}

.large {
    font-size: 20px;
    margin-bottom: -2px;
    margin-top: 2px;
    font-weight: 600;
}

.unlarge {
    font-size: 14px;
    vertical-align: bottom;
}


.units {
    font-size: 14px;
    vertical-align: middle;
}

.units-lg {
    font-size: 18px;
    font-weight: 600;
}

.about-block {
    border: 2px solid #FCA02E;
    padding: 14px 16px;
    margin: 16px 0px;
    border-radius: 22px;
    font-size: 20px;
    font-weight: normal;
    background-color: white;
    transition: background-color .3s;
}

.bearded-block {
    background: url('../images/index_stub.svg') top center no-repeat;
    margin: 0px 20px;
    background-size: contain;
    font-weight: normal;
    align-self: center;
    align-items: center;
    text-align: center;
    height: 100% !important;
}

.bearded-phrase {
    margin: 6% 11%;
    font-size: 123%;
    width: 40%;
    text-align: center;
}

.hint-mark {
    position: relative;
}

    .hint-mark:active:after {
        position: absolute;
        content: attr(title);
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        min-width: 200px;
        border: 1px solid #000;
        padding: 5px;
        top: -25px;
        right: 10%;
        background: #fff;
        color: #000;
        z-index: 1000;
        opacity: 1;
        transition: opacity 2s linear;
    }