﻿body {
    overflow-x: hidden;
    margin: 0;
    color: #333;
    background: #fefefe
}

:root {
    --main-color: #909090;
    --two-color: #104f76
}

.no-scroll {
    overflow: hidden
}

@font-face {
    font-family: "Light";
    src: url("../fonts/Gilroy-Light.woff2") format("woff2");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "Regular";
    src: url("../fonts/Gilroy-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: normal
}

@font-face {
    font-family: "Medium";
    src: url("../fonts/Gilroy-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: normal
}

@font-face {
    font-family: "Heavy";
    src: url("../fonts/Gilroy-Heavy.woff2") format("woff2");
    font-style: normal;
    font-weight: normal
}

@font-face {
    font-family: "Bold";
    src: url("../fonts/Gilroy-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: normal
}

@font-face {
    font-family: "Black";
    src: url("../fonts/Gilroy-Black.woff2") format("woff2");
    font-style: normal;
    font-weight: normal
}

* {
    box-sizing: border-box;
    font-family: "Regular";
    outline: none;
    font-size: 16px
}

a {
    transition: 0.3s
}

p {
    padding-bottom: 15px;
    padding-top: 0px;
    margin: 0
}

p ul {
    padding: 0;
    margin: 0
}

p ul li {
    list-style: none;
    position: relative;
    padding-left: 25px;
    padding-bottom: 15px
}

p ul li:before {
    content: "—";
    top: 0;
    position: absolute;
    left: 0;
    color: red
}

h1 {
    display: block;
    font-size: 30px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: "Black";
    position: relative
}

@media (max-width: 700px) {
    h1 {
        font-size: 40px;
        line-height: 40px
    }
}

h2 {
    display: block;
    font-size: 40px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-family: "Black";
    position: relative
}

@media (max-width: 700px) {
    h2 {
        font-size: 30px
    }
}

h3 {
    font-family: "Bold";
    font-size: 25px;
    margin: 0;
    font-weight: normal
}

.table-window {
    width: 100%;
    overflow-x: auto
}

.table-window::-webkit-scrollbar {
    width: 3px
}

.table-window::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3)
}

.table-window::-webkit-scrollbar-thumb {
    background-color: #c3c3c3;
    outline: 1px solid #c3c3c3
}

table {
    width: 100%;
    border: 1px solid #ddd;
    font-size: 16px;
    border-collapse: collapse
}

table tr {
    height: 60px;
    border-bottom: 1px solid #ddd
}

table tr:hover {
    background: #9ec3d9;
    cursor: default;
    box-shadow: -8px 0 20px -5px #9ec3d9, 8px 0 20px -5px #9ec3d9;
}

table tr:first-child:hover {
    background: transparent;
    cursor: default
}

table td a {
    border: none
}

table th {
    color: #fff;
    border-bottom: 1px solid #ddd;
    cursor: default;
    text-align: center;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label {
    position: relative;
    padding-left: 25px;
    cursor: pointer
}

[type="checkbox"]:not(:checked)+label:before,
[type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 17px;
    height: 17px;
    border: 1px solid #aaa;
    background: #f8f8f8;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3)
}

[type="checkbox"]:not(:checked)+label:after,
[type="checkbox"]:checked+label:after {
    content: '';
    position: absolute;
    top: 5px;
    height: 13px;
    width: 13px;
    left: 3px;
    border-radius: 3px;
    font-size: 14px;
    background: #333;
    transition: all .2s
}

[type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0)
}

[type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1)
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label {
    position: relative;
    padding-left: 25px;
    cursor: pointer
}

[type="checkbox"]:not(:checked)+label:before,
[type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 17px;
    height: 17px;
    border: 1px solid #aaa;
    background: #f8f8f8;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3)
}

[type="checkbox"]:not(:checked)+label:after,
[type="checkbox"]:checked+label:after {
    content: '';
    position: absolute;
    top: 5px;
    height: 13px;
    width: 13px;
    left: 3px;
    border-radius: 3px;
    font-size: 14px;
    background: var(--two-color);
    transition: all .2s
}

[type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0)
}

[type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1)
}

[type="radio"]:not(:checked),
[type="radio"]:checked {
    position: absolute;
    left: -9999px
}

[type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
    position: relative;
    padding-left: 25px;
    cursor: pointer
}

[type="radio"]:not(:checked)+label:before,
[type="radio"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 17px;
    height: 17px;
    border: 1px solid #aaa;
    background: #f8f8f8;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3)
}

[type="radio"]:not(:checked)+label:after,
[type="radio"]:checked+label:after {
    content: '';
    position: absolute;
    top: 3px;
    height: 13px;
    width: 13px;
    left: 3px;
    border-radius: 3px;
    font-size: 14px;
    background: var(--two-color);
    transition: all .2s
}

[type="radio"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0)
}

[type="radio"]:checked+label:after {
    opacity: 1;
    transform: scale(1)
}

.files-save {
    display: inline-block;
    text-decoration: none;
    padding: 10px;
    padding-left: 60px;
    border: 2px solid red;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: 0.3s
}

.files-save:hover {
    border: 2px solid red
}

.files-save span {
    display: block;
    text-align: left
}

.files-save:after {
    display: none
}

.files-save img {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 15px;
    left: 15px
}

.shadow-sec {
    position: fixed;
    z-index: 100;
    top: 0;
    display: none;
    overflow: auto;
    left: 0;
    width: 100%;
    height: 100%
}

.shadow-close {
    position: absolute;
    z-index: 1;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    left: 0;
    width: 100%;
    cursor: url(/site/img/close.png) 20 20, not-allowed;
    height: 100%
}

.window {
    position: relative;
    z-index: 1;
    margin: auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    min-height: 300px;
    display: inline-table;
    padding: 40px 20px
}

.window .submit:disabled {
    cursor: url(/site/img/close.png) 20 20, not-allowed;
    opacity: 0.6
}

@media (max-width: 450px) {
    .window {
        width: 100%;
        margin: auto;
        height: 100%;
        position: relative
    }
}

.window .close {
    position: absolute;
    top: 10px;
    height: 25px;
    width: 25px;
    right: 10px
}

.window .close:after {
    width: 30px;
    height: 1px;
    top: 11px;
    left: -4px;
    transform: rotate(45deg);
    background: #e21d25;
    content: "";
    position: absolute
}

.window .close:before {
    width: 30px;
    height: 1px;
    top: 11px;
    left: -4px;
    transform: rotate(-45deg);
    background: #e21d25;
    content: "";
    position: absolute
}

.window .close:hover {
    cursor: pointer
}

.window .close:hover:before {
    background: #333
}

.window .close:hover:after {
    background: #333
}

.window .title {
    width: 100%;
    text-align: center;
    font-size: 25px;
    float: left;
    color: var(--main-color);
    margin-bottom: 5px;
    font-family: "Bold"
}

.window .caption {
    text-align: center;
    float: left;
    width: 100%;
    font-size: 15px;
    margin-bottom: 30px
}

.window span {
    float: left;
    width: 100%;
    margin-bottom: 5px
}

.window input {
    height: 40px;
    border: none;
    border-radius: 5px;
    background: #f1f1f1;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px
}

.window #phone-mask {
    letter-spacing: 1px
}

.window textarea {
    width: 100%;
    max-height: 250px;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    background: #f1f1f1;
    border: none;
    outline: none;
    border-radius: 5px;
    min-height: 100px;
    resize: vertical
}

.window .politic {
    width: 100%;
    float: left;
    margin-bottom: 20px
}

.window .politic span {
    float: right;
    font-size: 16px;
    width: calc(100% - 25px)
}

.window .politic a {
    text-decoration: none;
    color: #333;
    position: relative;
    display: inline-block;
    transition: 0.3s
}

.window .politic a:after {
    position: absolute;
    bottom: -1px;
    left: 0;
    content: "";
    transition: 0.3s;
    width: 0%;
    height: 1px;
    background: var(--wood)
}

.window .politic a:hover:after {
    width: 100%
}

.window .error-window {
    float: left;
    width: 100%;
    font-size: 13px;
    margin-top: 5px
}

.window .submit {
    outline: none;
    border: none;
    transition: 0.3s;
    padding: 13px 30px;
    background: var(--main-color);
    margin: auto;
    cursor: pointer;
    font-family: "Bold";
    text-transform: uppercase;
    font-size: 16px;
    display: inline-block;
    color: #fff;
    border-radius: 5px
}

.window .submit:hover {
    background: #333;
    box-shadow: 0 0 15px rgba(71, 74, 80, 0.5)
}

.btn-call {
    cursor: pointer;
    transition: 0.3s
}

.wrapper {
    max-width: 1240px;
    margin: 0 auto;
    height: inherit;
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px
}

.justify-content {
    text-align: center;
    font-size: 0
}

.justify-content:after {
    display: inline-block;
    width: 100%;
    content: ""
}

.pages {
    cursor: default;
    margin-top: 20px
}

.pages ul {
    margin: 0;
    padding: 0
}

.pages li {
    display: inline-block;
    vertical-align: top;
    padding: 5px
}

.pages .pages_list_hover {
    color: var(--wood);
    font-family: "Bold"
}

.pages a {
    color: inherit;
    text-decoration: none
}

.pages a:hover {
    color: var(--wood)
}

.pages .left {
    margin-bottom: 10px
}

.pages .all-page {
    outline: none;
    border: none;
    transition: 0.3s;
    padding: 7px 15px;
    background: var(--wood);
    margin: auto;
    cursor: pointer;
    font-family: "Regular";
    font-size: 17px;
    margin-top: 10px;
    display: inline-block;
    color: #fff;
    border-radius: 5px
}

.pages .all-page:hover {
    background: var(--grey);
    color: var(--wood);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2)
}

body::-webkit-scrollbar {
    width: 5px;
    background: #dedede
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3)
}

body::-webkit-scrollbar-thumb {
    background: #888;
    outline: 3px solid #000
}