@charset "UTF-8";


/* Основные стили */
:root {
    --basic-blue: #11507d;
    --basic-grey: #2f2f2f;
    --secondary-grey: #f7f7f7;
    --link-color: #286DA1;
}

html {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    width: 100%;
    min-height: 100%;
    grid-template-rows: 70px 1fr 65px;
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: auto;
    background-color: #ffffff;
}

.container {
    position: relative;
    z-index: 1;
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

header,
main,
section,
footer,
div {
    position: relative;
}

.flex-block {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.grid-block {
    display: grid;
}

.grey-bg {
    background: var(--secondary-grey);
}

h1 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1;
}

h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1;
}

p {
    font-weight: 300;
    line-height: 1.55;
}

h2.basic-style {
    position: relative;
}

h2.basic-style::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    display: block;
    width: 210px;
    height: 5px;
    background: var(--basic-blue);
}

.heading-h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-weight: 600;
    line-height: 1;
}

ul.list-style-one {
    padding-left: 2em;
}

ul.list-style-one li {
    position: relative;
    font-weight: 300;
}

ul.list-style-one li::before {
    content: "";
    position: absolute;
    top: .2em;
    left: -2em;
    display: block;
    width: 1.2em;
    height: 1.2em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' fill='%230078d7'%3E%3Cpath d='M497.4 70a19.3 19.3 0 00-27.3 0L238.6 300.8 155 210.1a19.3 19.3 0 00-28.4 26.2l97 105.5c3.7 3.8 8.6 6 13.9 6.2h.4c5 0 10-2 13.6-5.6L497.3 97.3a19.3 19.3 0 000-27.3z'/%3E%3Cpath d='M492.7 236.7a19.3 19.3 0 00-19.3 19.3A217.6 217.6 0 01256 473.4 217.7 217.7 0 0138.6 256 217.7 217.7 0 01256 38.6 19.3 19.3 0 10256 0 256.3 256.3 0 000 256c0 141.2 114.8 256 256 256s256-114.8 256-256c0-10.7-8.6-19.3-19.3-19.3z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

.close-btn {
    position: absolute;
    z-index: 2;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background: none;
    border: 0;
    cursor: pointer;
}

.close-btn:hover {
    transform: scale(.9);
    -webkit-transform: scale(.9);
    -moz-transform: scale(.9);
    -ms-transform: scale(.9);
    -o-transform: scale(.9);
}

.close-btn::before,
.close-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    display: block;
    width: 100%;
    height: 2px;
}

.close-btn::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.close-btn::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

@keyframes spiner-rotate {
    from {
        transform: rotateZ(0);
        -webkit-transform: rotateZ(0);
        -moz-transform: rotateZ(0);
        -ms-transform: rotateZ(0);
        -o-transform: rotateZ(0);
}
    to {
        transform: rotateZ(360deg);
        -webkit-transform: rotateZ(360deg);
        -moz-transform: rotateZ(360deg);
        -ms-transform: rotateZ(360deg);
        -o-transform: rotateZ(360deg);
}
}

@-webkit-keyframes spiner-rotate {
    from {
        transform: rotateZ(0);
        -webkit-transform: rotateZ(0);
        -moz-transform: rotateZ(0);
        -ms-transform: rotateZ(0);
        -o-transform: rotateZ(0);
}
    to {
        transform: rotateZ(360deg);
        -webkit-transform: rotateZ(360deg);
        -moz-transform: rotateZ(360deg);
        -ms-transform: rotateZ(360deg);
        -o-transform: rotateZ(360deg);
}
}

.spiner-btn::before {
    content: "";
    position: absolute;
    top: calc(50% - .6em);
    left: calc(50% - .6em);
    z-index: 2;
    display: block;
    width: 1.2em;
    height: 1.2em;
    border: 3px solid var(--basic-grey);
    border-right-color: transparent;
    border-radius: 50%;
    animation: spiner-rotate 1s both infinite;
    -webkit-animation: spiner-rotate .8s both infinite;
}

/* ==================================================================
                        HEADER
================================================================== */
header {
    padding: 5px 0;
    border-bottom: 2px solid var(--basic-blue);
    background-color: gold;
}

header .container {
    grid-template-columns: 80px 1fr;
}

.logo-body img {
    width: 80px;
}

.locality-block {
    align-self: center;
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--basic-blue);
}


/* ==================================================================
                        FORM FIELD
================================================================== */
.field-body {
    display: block;
    margin-bottom: 20px;
}

.field-body input,
.field-body select {
    display: block;
    width: 80%;
    height: 40px;
    padding: 0 10px;
    margin-left: 20%;
    border: 1px solid var(--basic-blue);
    border-radius: 5px;
}

.field-body input:disabled,
.field-body select:disabled {
    border-color: #bdbdbd;
}

.field-body button {
    display: block;
    width: 250px;
    height: 40px;
    margin: 0 auto;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    letter-spacing: .05em;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s ease;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -ms-transition: .2s ease;
    -o-transition: .2s ease;
}

.basic-btn {
    border: 0;
    background-color: var(--basic-blue);
    color: #ffffff;
    box-shadow: 4px 10px 20px 0px rgba(0, 120, 215, .2);
}

.secondary-btn {
    border: 0;
    background-color: var(--basic-grey);
    color: #ffffff;
    box-shadow: 4px 10px 20px 0px rgba(80, 81, 82, 0.2);
}

.field-body button:hover {
    transform: scale(.99);
    -webkit-transform: scale(.99);
    -moz-transform: scale(.99);
    -ms-transform: scale(.99);
    -o-transform: scale(.99);
    box-shadow: none;
}

.field-body button:disabled {
    background-color: var(--secondary-grey);
    box-shadow: none;
}

.field-body button:disabled:hover {
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
}


/* ==================================================================
                        MAIN
================================================================== */
main {
    padding: 20px 0 40px;
    background-color: var(--secondary-grey);
}

h1 {
    margin: .5em 0 1em;
}

.result-send-body {
    text-align: center;
    font-weight: 600;
}

.reading-form {
    display: none;
}

.reading-form .info-abonent p:first-child,
.reading-form .info-abonent p span:first-child {
    font-weight: 700;
}

.reading-form .info-abonent {
    margin-bottom: 30px;
}

.reading-form .info-abonent p {
    margin-bottom: 5px;
    font-size: 14px;
}

.reading-form .info-abonent p span:first-child {
    margin-right: 20px;
}

.reading-form .secondary-btn {
    margin-top: 30px;
}

/* ==================================================================
                        FOOTER
================================================================== */
footer {
    padding: 10px 0;
    text-align: center;
    color: #ffffff;
    background-color: var(--basic-grey);
}
