body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #efeff4;
    overscroll-behavior: contain;
}

img {
    vertical-align: middle;
    border-style: none;
}

hr {
    height: 1px;
    border: 0;
    background: #e6eaed;
    margin: 10px 0;
}

form label {
    display: block;
    line-height: 1.5;
}
form input[type="text"], form input[type="tel"], form input[type="email"], form textarea {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
    padding: 10px;
    width: 100%;
}
button, input[type=reset], input[type=button], input[type=submit] {
    background-color: #25bc71;
    margin-bottom: 30px;
    padding: 10px 20px;
    border: 0px;
    transition: background-color 0.3s linear 0s;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 18px;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    display: inline-block;
    color: #ffffff;
}
button:hover, input[type=reset]:hover, input[type=button]:hover, input[type=submit]:hover {
    background-color: #279960;
}

.center {
    text-align: center;
}
.w100 {
    width: 100%;
}
.w256 {
    max-width: 256px;
}
.w512 {
    max-width: 512px;
}

.padding {
    padding: 20px;
}

.h-distribute {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.top-link {
    display: block;
    margin: 10px 0;
    padding: 12px;
    background: #FFF;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,.3);
    border-radius: .25rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}
.top-link:hover {
    border: 3px solid #20A8D8;
    padding: 10px;
}
.top-link a {
    color: #212529;
    text-decoration: none;
}
.top-link a:hover {
    color: #212529;
}

.page {
    height: 100%;
}

.page-blocks {
    padding-left: 200px;
    background-color: #e5e7e7;
}

.header {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    bottom: 0;
    width: 200px;
    background: #f8f8f8;
    border-right: 1px solid #FFF;
    -webkit-box-shadow: 0 0 30px rgba(0,0,0,.5);
    box-shadow: 0 0 30px rgba(0,0,0,.5);
    z-index: 100;
}

.header a {
    color: #26282A;
    text-shadow: 1px 1px 0 rgba(255,255,255,.5);
    text-decoration: none;
}

.header .header-menu {
    position: relative;
    text-align: center;
}

.header .header-menu ul {
    padding: 0;
    margin: 0 0 30px;
    font-weight: 800;
    list-style: none;
    text-transform: uppercase;
    text-align: left;
}

.header .header-menu ul li {
    display: block;
    margin: 5px 20px;
}

/* анимация полоски справа при наведении */
.header .header-menu ul li a {
    display: block;
    position: relative;
    padding: 5px 0;
}

.header .header-menu ul li a:before {
    -webkit-transition: .5s;
    transition: .5s;
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 0;
    width: 4px;
    opacity: 0;
}

.header .header-menu ul li:hover a:before {
    opacity: 1;
    height: 100%;
    background-color: #000;
}

.header .bottom {
    position: absolute;
    left: 0;
    bottom: 5px;
    right: 0;
}

.bold-text {
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
}

.page-block {
    position: relative;
    width: 100%;
    min-height: 100%;
}

.content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    color: #4a4e52;
    font-size: 1.2rem;
    line-height: 28px;
}

.content h2, .content h3 {
    padding: 15px 0 5px;
    font-weight: 800;
    text-align: left;
    color: #26282A;
    text-shadow: 1px 1px 0 #FFF;
    margin: 0;
    text-transform: uppercase;
}

.content h2 {
    position: relative;
    font-size: 1.5rem;
}

.content h2:before {
    content: '#';
    position: absolute;
    left: -25px;
}

.content h3 {
    font-size: 1.2rem;
}

.content .vcentered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.content .hcentered {
    display: block;
    margin: 0 auto;
}

.content a {
    color: #26282A;
    font-weight: 700;
    border-bottom: 2px solid #26282A;
}

.content a:hover {
    color: #20A8D8;
    border-color: #20A8D8;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.row p {
    padding-left: 15px;
}

.row img {
    max-width: 100%;
    -webkit-filter: drop-shadow(0px 0px 5px #00000080);
    filter: drop-shadow(0px 0px 5px #00000080);
}

.col-img256 {
    max-width: 100%;
    width: 256px;
    flex-grow: 1;
}
.col-img512 {
    max-width: 100%;
    width: 512px;
    flex-grow: 1;
}
.col-text400 {
    max-width: 100%;
    width: 400px;
    flex-grow: 4;
}
.col-text256 {
    max-width: 100%;
    width: 256px;
    flex-grow: 4;
}
.contacts {
    display: block;
    width: 320px;
    max-width: 90%;
    margin: 10px 0;
    padding: 12px;
    background: #FFF;
    border: 1px solid rgba(0,0,0,.3);
    border-radius: .25rem;
}

@media (max-width: 768px) {
    .header {
        display: none;
    }
    .page-blocks {
        padding: 2px;
    }
    .content {
        width: 100%;
        margin: 0 auto;
        padding: 0px;
        color: #4a4e52;
    }
    .top-link {
        font-size: 0.9rem;
    }
    .content h2:before {
        content: '';
        position: absolute;
        left: 0px;
    }
    .row {
        margin-right: 0px;
        margin-left: 0px;
    }
}
