﻿@font-face {
    font-family: 'Cambria Regular';
    src: url('/fonts/Cambria.eot');
    src: url('/fonts/Cambria.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Cambria.woff') format('woff'),
        url('/fonts/Cambria.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    border-spacing: 0;
    border-image-width: 0;
}

a {
    text-decoration: none;
    color: #000000;
}

body {
    margin: 0;
    font-family: Cambria Regular, sans-serif;
    font-size: 125%;
}

.body-content {
    margin-top: 119px;
    min-height: 90vh;
}

img {
    user-select: none;
}

/*--таблица--*/
.inline-table {
    display: table;
    margin: 0 auto;
}

.table-row {
    display: table-row;
    height: 100%;
}

.table-td {
    display: table-cell;
}

/*---------------------*/
#lay-main-header {
    color: #2d6088;
}

#lay-main-logo {
    height: 57px;
}

/*--Футер--*/
footer {
    background-color: #3b7eb2;
    color: #fff;
    margin-top: 50px;
    padding: 30px 0;
}

.footer-copyright {
    font-size: 18px;
    margin: 5px 0;
}

.footer-container {
    width: 100%;
    min-width: 930px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    margin-bottom: 30px;
}

.footer-section-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}

.footer-section-link {
    display: block;
    position: relative;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 3px;
    cursor: pointer;
}

.footer-section-link:hover {
    text-decoration: underline;
}

.footer-mail {
    display: inline-block;
}

.footer-mail:before {
    content: "\f0e0";
    font-family: FontAwesome, sans-serif;
    font-size: 16px;
    margin-right: 5px;
}

.map-address:hover {
    text-decoration: none;
}

.map-address:before {
    content: "\f124";
    font-family: FontAwesome, sans-serif;
    font-size: 16px;
    margin-right: 12px;
}

.social-share {
    margin-top: 30px;
}

.social-share-title {
    font-size: 15px;
    font-weight: bold;
    margin: 10px 0;
}

.copyright {
    display: block;
    text-align: center;
    border-top: 1px solid #ffffff;
    padding-top: 20px;
}

.auth-buttons {
    text-align: center;
}

/*--админка--*/
#main-menu-admin {
    width: 100%;
    margin: 130px 0 -119px 0;
    border-bottom: 1px solid #000000;
    text-align: center;
    line-height: 25px;
}

#main-menu-admin a {
    display: inline-block;
    opacity: 0.6;
    transition: 1s;
    padding: 0 10px 0 0;
}

#main-menu-admin a:hover {
    opacity: 0.9;
}

/*--Валидация форм--*/
input.input-validation-error {
    border: 1px solid #f00 !important;
}

.field-validation-error {
    display:block;
    margin: -2px 0 0 0;
    font-size:80%;
    color:#f00;
}

h1 {
    font-weight: normal;
    font-size: inherit;
}

h2 {
    font-weight: normal;
    font-size: inherit;
}
.content-text {
    width: 100%;
    max-width: 1014px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.color-red{
    color: red;
}
/* Media
==================== */
@media (max-width: 1200px) {
    .footer-container {
        min-width: 250px;
        max-width: 1000px;
    }
}

@media (max-width: 1000px) {
    .footer-container {
        width: 98%;
    }
}

@media (max-width: 640px) {
    .footer-mail:before {
        display: none;
    }

    .map-address:before {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-section-wrapper {
        display: none;
    }
    
    .copyright {
        border: none;
        padding-top: 0;
    }
}