html, body {
    font-family:  "Times New Roman";
}
header, footer {
    background-color: #e5ecee;
    padding-top: 10px;
    padding-bottom: 10px;
    background-image: url("/images/background.jpg");
}
header {
    height: 200px;
}
header .container {
    background-color: #e2d2dd;
    padding-bottom: 20px;
    padding-top: 10px;
    border-radius: 20px;
    margin-top: 24px;
}
footer .container {
    background-color: #e2d2dd;
    border-radius: 20px;
    padding: 10px;
}
.head-line, .bucket {
    display: inline-block;
    background-color: #ffffff;
    margin-top: 5px;
    border-radius: 10px;
    height: 60px;
    line-height: 60px;
}
.head-line {
    width: calc(85% - 4px);
    padding-right: 20px;
}
.bucket {
    margin-left: 2px;
    float: right;
    width: 15%;
    text-align: center;
}
a {
    color: #727171;
}
.telephone {
    background: url("/images/tell.png") 0 center no-repeat;
    padding: 20px;
    padding-left: 30px;
    color: #727171;
    font-size: 24px;
}
.email {
    font-size: 16px;
    color: #8a6d3b;
}
.viber {
    background: url("/images/viber.svg") 0 center no-repeat;
    background-size: 25px;
    margin: 20px;
    padding: 20px;
}

.head-component {
    display: inline-block;
}

.head-component a {
    padding: 5px;
}

.right-float {
    float: right;
}
.logo-link {
    margin-left: 20px;
    color: #7fae46;
    font-size: 24px;
}

.main-links a {
    font-size: 16px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}
a:hover {
    text-decoration: none;
    cursor: pointer;
}
.active-link {
    background-color: #e8e8df;
    border-radius: 5px;
}

.active-language {
    color: #8a6d3b;
    text-decoration:  underline;
}

.phone-header, .phone-links {
    display: none;
}
.footer-links {
    float: left;
    margin-right: 50px
}
.active-phone-links {
    display: block;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
}
.head-contacts-phone, .head-contacts-email, .head-contacts-viber {
    display: inline-block;
}

.content {
    min-height: calc(100vh - 300px);
}
#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
}
.hidden {
    visibility: hidden;
}
#loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    font-size: 100px;
    color: lightgray;
    animation-name: spin;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
#about {
    font-size: 20px;
}
#about div, .index-page div {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
#about p {
    text-indent: 30px;
    margin-bottom: 20px;
}
#about-img {
    width: 350px;
    float: left;

    margin-right: 20px;

    padding: 20px;
    padding-left: 0;
}
.index-img {
    width: 24%;
    margin: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.index-page td {
    padding-left: 40px;
}
.index-page li {
    margin-bottom: 10px;
}
.index-page, #about {
    margin-bottom: 10px;
    text-align: justify;
}
.contacts {
    margin-right: 50px !important;
}
.contacts td {
    padding-left: 5px;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

@media only screen and (max-width: 1000px){
    .main-links a {
        font-size: 12px;
        padding: 5px;
    }
}
@media only screen and (max-width: 768px){
    .main-links a, .head-component, .head-line {
        display: none;
    }
    header {
        height: 210px;
        padding-top: 0;
    }
    header .container, footer .container {
        background-color: #e5ecee;
        margin-top: 0;
        border-radius: 0;
    }
    .head-contacts-phone {
        width: 100%;
        padding-top: 0;
        text-align: center;
    }
    .head-contacts-email, .head-contacts-viber {
        padding-top: 5px;
        padding-bottom: 5px;
        display: inline-block;
    }
    .head-contacts-viber {
        float: right;
    }
    .langs {
        float: right;
        padding: 5px;
    }
    .phone-header {
        display: block;
        background-color: #ffffff;
        height: 50px;
        padding: 10px;
    }
    .phone-links {
        background-color: #ffffff;
        text-align: center;
        font-size: 16px;
    }

    .burger {
        float: right;
        padding: 2px;
        border: black solid 1px;
        border-radius: 4px;
    }
    .bucket {
        width: 100%;
        text-align: center;
        float: left;
    }
    footer  .telephone {
        font-size: 16px;
    }
    .footer-links {
        margin-right: 10px;
    }

    #about, .index-page {
        font-size: 16px;
        text-align: justify;
    }
    #about div, .index-page div{
        margin: 5px;
        width: 100%;
    }
    #about-img {
        width: 100%;
        margin: 0;
    }
    .index-img {
        width: 100%;
    }
    .index-page td {
        font-size: 16px;
        padding-left: 0;
    }
}
