body {
    background-color: #eff2f2;
}

.page {
    background-color: #eff2f2;
    min-height: 100vh;
}

@media (min-width: 0) and (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}

.overflow-hidden {
    overflow: hidden;
}

@font-face {
    font-family: 'Proxima Nova Light';
    src: url("./../fonts/ProximaNova-Light.eot");
    src: url("./../fonts/ProximaNova-Light.eot?#iefix") format("embedded-opentype"), url("./../fonts/ProximaNova-Light.woff") format("woff"), url("./../fonts/ProximaNova-Light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Light Italic';
    src: url("./../fonts/ProximaNova-LightIt.eot");
    src: url("./../fonts/ProximaNova-LightIt.eot?#iefix") format("embedded-opentype"), url("./../fonts/ProximaNova-LightIt.woff") format("woff"), url("./../fonts/ProximaNova-LightIt.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Regular';
    src: url("./../fonts/ProximaNova-Regular.eot");
    src: url("./../fonts/ProximaNova-Regular.eot?#iefix") format("embedded-opentype"), url("./../fonts/ProximaNova-Regular.woff") format("woff"), url("./../fonts/ProximaNova-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Italic';
    src: url("./../fonts/ProximaNova-RegularIt.eot");
    src: url("./../fonts/ProximaNova-RegularIt.eot?#iefix") format("embedded-opentype"), url("./../fonts/ProximaNova-RegularIt.woff") format("woff"), url("./../fonts/ProximaNova-RegularIt.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Bold';
    src: url("./../fonts/ProximaNova-Bold.eot");
    src: url("./../fonts/ProximaNova-Bold.eot?#iefix") format("embedded-opentype"), url("./../fonts/ProximaNova-Bold.woff") format("woff"), url("./../fonts/ProximaNova-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Proxima Nova Regular', 'Helvetica', 'Arial', sans-serif;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: #c22222;
}

.typo h1, .typo h2, .typo h3 {
    font-family: 'Proxima Nova Bold', sans-serif;
}

.typo p {
    font-family: 'Proxima Nova Regular', 'Helvetica', 'Arial', sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 1.5;
}

.header {
    position: relative;
    display: block;
    height: 115px;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 60px;
    background-color: #c22222;
    overflow: hidden;
}

.header .item {
    display: block;
    float: left;
    height: 115px;
}

.header .item.right {
    float: right;
}

.header .logo a {
    display: block;
    width: 292px;
    height: 54px;
    margin-top: 30px;
    background: url(./../img/logo.png);
}

.header .user-info {
    margin-left: 70px;
    padding-top: 45px;
    font-family: 'Proxima Nova Light', sans-serif;
    color: #fff;
}

.header .user-info .user {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.header .farm-subject {
    width: 50%;
    margin-left: 35px;
    padding-top: 43px;
    font-family: 'Proxima Nova Light', sans-serif;
    color: #fff;
}

.header .farm-subject select {
    color: #000;
}

.header .ask-question {
    position: relative;
}

.header .ask-question:before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: "";
}

.header .ask-question .ask-question-btn {
    position: relative;
    display: inline-block;
    padding-left: 50px;
    vertical-align: middle;
    font-family: 'Proxima Nova Bold', sans-serif;
    font-size: 24px;
    color: #fff;
    background-color: #7d7d7d;
    border: 3px solid #fff;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    -ms-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.header .ask-question .ask-question-btn:hover {
    background-color: #8a8a8a;
}

.header .ask-question .ask-question-btn .q-sym {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 40px;
    height: 40px;
    border: 3px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.header .logout {
    position: relative;
    margin-left: 25px;
}

.header .logout:before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: "";
}

.header .logout .logout-btn {
    display: inline-block;
    vertical-align: middle;
}

.header .logout .logout-btn span {
    color: #fff;
    font-size: 38px;
    transition: color 0.2s;
}

.header .logout .logout-btn:hover span {
    color: #7d7d7d;
}

@media (min-width: 0) and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
        height: 50px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 25px;
    }

    .header .item {
        height: 50px;
    }

    .header .logo a {
        display: block;
        width: 150px;
        height: 28px;
        margin-top: 11px;
        background-size: 150px 28px;
    }

    .header .logout .logout-btn span {
        position: relative;
        top: 3px;
        font-size: 30px;
    }

    .header .menu-btn button {
        margin-right: 0;
        margin-left: 15px;
        border: 1px solid #fff;
        background-color: #c22222;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
        -ms-transition: background-color 0.2s;
        -o-transition: background-color 0.2s;
        transition: background-color 0.2s;
    }

    .header .menu-btn button .icon-bar {
        background-color: #fff;
    }

    .header .menu-btn button:hover {
        background-color: #d82626;
    }
}

.main {
    display: table;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.main .l-sidebar,
.main .main-content,
.main .r-sidebar {
    display: table-cell;
    vertical-align: top;
}

.main .l-sidebar,
.main .r-sidebar {
    width: 350px;
}

.main .l-sidebar {
    padding-right: 30px;
}

.main .r-sidebar {
    padding-left: 30px;
}

.main .l-sidebar.menu-closed {
    width: 95px;
    max-width: 95px;
    overflow: hidden;
}

.main .l-sidebar.menu-closed .vertical-nav {
    height: 55px;
    width: 55px;
    padding: 0;
}

.main .l-sidebar.menu-closed .vertical-nav ul {
    display: none;
}

.main .l-sidebar.menu-closed .vertical-nav .hide-menu span {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.main .main-content {
    position: relative;
    padding: 20px 40px;
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 0 25px -11px rgba(0, 0, 0, 0.5);
}

@media (min-width: 0) and (max-width: 768px) {
    .main {
        display: block;
        margin-top: 65px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .main .l-sidebar,
    .main .main-content,
    .main .r-sidebar {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    .main .l-sidebar {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .main .r-sidebar {
        padding-left: 0;
        margin-bottom: 15px;
    }

    .main .main-content {
        margin-bottom: 55px;
    }
}

.start-page {
    position: relative;
    display: block;
    overflow: hidden;
}

.start-page .left-col {
    background-color: #fff;
    height: 100vh;
    padding: 0 75px;
}

.start-page .left-col p {
    display: block;
    margin-bottom: 10px;
    font-family: 'Proxima Nova Bold', sans-serif;
    font-size: 46px;
    line-height: 1.2;
}

.start-page .left-col p.grey {
    display: block;
    margin-top: 20px;
    color: #7d7d7d;
    font-family: 'Proxima Nova Regular', sans-serif;
    font-size: 46px;
}

.start-page .left-col p.up-line {
    position: relative;
}

.start-page .left-col p.up-line:before {
    position: absolute;
    top: -15px;
    left: 0;
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background-color: #197ead;
}

.start-page .right-col {
    height: 100vh;
    padding: 0 45px;
}

.start-page .col-inner {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media (min-width: 0) and (max-width: 768px) {
    .start-page .left-col p {
        font-size: 26px;
    }

    .start-page .left-col p.grey {
        font-size: 26px;
    }
}

.vertical-nav {
    position: relative;
    display: block;
    padding: 40px 30px 30px 30px;
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 0 25px -11px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.vertical-nav .hide-menu {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.vertical-nav .hide-menu:focus {
    outline: none;
}

.vertical-nav .hide-menu span {
    position: relative;
    top: 2px;
}

.vertical-nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.vertical-nav > ul > li {
    position: relative;
    display: block;
    margin-left: 33px;
    padding: 0 0 15px 0;
    border-bottom: 1px solid #b6b6b6;
}

.vertical-nav > ul > li + li {
    margin-top: 15px;
}

.vertical-nav > ul > li.active > a {
    color: #c22222;
    text-decoration: none;
}

.vertical-nav > ul > li a {
    position: relative;
    display: block;
    font-family: 'Proxima Nova Bold', sans-serif;
    font-size: 20px;
    color: #000;
    text-decoration: none;
    line-height: 1;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -ms-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.vertical-nav > ul > li a.active, .vertical-nav > ul > li a:hover {
    color: #c22222;
    text-decoration: none;
}

.vertical-nav > ul > li a img {
    position: absolute;
    top: -4px;
    left: -45px;
    width: 31px;
    height: 29px;
}

.vertical-nav > ul > li a .menu-icon {
    position: absolute;
    top: -2px;
    left: -45px;
    font-size: 26px;
}

.vertical-nav > ul > li > ul {
    display: block;
    margin: 10px 0 0 0;
}

.vertical-nav > ul > li > ul > li {
    position: relative;
    display: block;
}

.vertical-nav > ul > li > ul > li + li {
    margin-top: 7px;
}

.vertical-nav > ul > li > ul > li.active a {
    color: #c22222;
    text-decoration: none;
}

.vertical-nav > ul > li > ul > li a {
    font-family: 'Proxima Nova Light', sans-serif;
    font-size: 16px;
}

@media (min-width: 0) and (max-width: 768px) {
    .vertical-nav {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 99;
        padding: 15px 15px 15px 25px;
        border-radius: 0;
    }

    .vertical-nav .hide-menu {
        display: none;
    }
}

.auth-block {
    position: relative;
    display: block;
    padding: 50px 40px 25px 40px;
    background-color: #fff;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 0 25px -11px rgba(0, 0, 0, 0.5);
}

.auth-block .avatar {
    position: absolute;
    top: -40px;
    left: 50%;
    display: block;
    width: 80px;
    height: 80px;
    background-color: #7d7d7d;
    border-radius: 50%;
    transform: translateX(-50%);
}

.auth-block .avatar span {
    position: relative;
    top: 16px;
    color: #fff;
    font-size: 42px;
}

.auth-block .status {
    display: block;
    margin-bottom: 15px;
    font-family: "Proxima Nova Bold", sans-serif;
    font-size: 26px;
    color: #c22222;
    text-transform: uppercase;
}

.auth-block .user-name {
    display: block;
    margin-bottom: 10px;
    font-family: "Proxima Nova Bold", sans-serif;
    font-size: 26px;
    line-height: 28px;
    color: #000;
}

.auth-block .profile-link {
    display: block;
    margin-bottom: 20px;
    color: #7d7d7d;
    text-decoration: underline;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -ms-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.auth-block .profile-link:hover {
    color: #646464;
}

.auth-block .logout-btn {
    display: block;
    margin: 0 auto;
    width: 100%;
    font-family: "Proxima Nova Bold", sans-serif;
    font-size: 22px;
    color: #fff;
    background-color: #c22222;
    border: none;
    outline: none;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    -ms-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.auth-block .logout-btn:active, .auth-block .logout-btn:hover {
    color: #fff;
    background-color: #971a1a;
}

.auth-block .logout-btn:focus {
    outline: none;
    border: none;
}

.auth-block form .form-group {
    position: relative;
}

.auth-block form .form-group span {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #858686;
}

.auth-block form .form-group .form-control {
    padding-left: 35px;
    font-family: "Proxima Nova Light", sans-serif;
    color: #858686;
    background: #eff2f2;
    border: none;
    outline: none;
}

.auth-block form .form-group .form-control:active, .auth-block form .form-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.auth-block form .form-group .form-control::placeholder {
    color: #858686;
}

.merc-table th {
    font-family: "Proxima Nova Light", sans-serif;
    font-size: 18px;
    color: #fff;
    text-align: center;
    background-color: #7d7d7d;
    vertical-align: middle !important;
    border-top: none !important;
}

.merc-table th a {
    color: #fff !important;
}

.merc-table th + th {
    border-left: 1px solid #fff;
}

.merc-table th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.merc-table th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.merc-table tbody > tr > td {
    border-top: none;
    border-bottom: 1px solid #ddd;
}

.merc-table tbody > tr:last-child > td {
    border-bottom: none;
}

.merc-search-form label {
    display: block;
}

.merc-search-form .search-input {
    outline: none;
    border: 3px solid #7d7d7d;
    border-radius: 25px !important;
    min-width: 500px;
}

.merc-search-form .search-input:active, .merc-search-form .search-input:focus {
    outline: none;
}

.merc-search-form .btn-search {
    position: relative;
    padding-left: 55px;
    padding-right: 45px;
    background-color: #7d7d7d;
    border: none;
    border-radius: 25px;
}

.merc-search-form .btn-search:focus {
    background-color: #646464;
    outline: none;
}

.merc-search-form .btn-search .icon {
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    width: 26px;
    height: 26px;
    background-color: #fff;
    border-radius: 50%;
}

.merc-search-form .btn-search .icon span {
    position: relative;
    top: 5px;
    left: -1px;
    color: #c22222;
}

@media (min-width: 0) and (max-width: 768px) {
    .merc-search-form .search-input {
        min-width: auto;
    }
}

.filter-block {
    position: relative;
    display: block;
    padding-top: 15px;
}

.filter-block .filter-dropdown {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
}

.filter-block .filter-dropdown.open ul {
    background: #fff;
    display: block;
}

.filter-block .filter-dropdown .filter-toggle {
    display: block;
    color: #7d7d7d;
    font-size: 20px;
    text-decoration: underline;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -ms-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
    text-align: right;
}

.filter-block .filter-dropdown .filter-toggle:hover {
    color: #c22222;
}

.filter-block .filter-dropdown ul {
    display: none;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.filter-block .filter-dropdown ul li {
    text-align: right;
}

.filter-block .filter-dropdown ul li a {
    color: #7d7d7d;
    font-style: italic;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -ms-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.filter-block .filter-dropdown ul li a.active, .filter-block .filter-dropdown ul li a:hover {
    color: #c22222;
}

.filter-block .filter-table {
    position: relative;
    display: block;
    width: calc(100% - 250px);
}

.prog-switcher {
    position: relative;
    display: block;
}

.prog-switcher .prog {
    position: relative;
    display: block;
    color: #000;
    width: 100%;
}

.prog-switcher .prog + .prog {
    margin-top: 20px;
}

.prog-switcher .prog:after {
    content: '';
    display: table;
    clear: both;
}

.prog-switcher .prog .logo-place {
    display: block;
    width: 200px;
    height: 200px;
}

.prog-switcher .prog .logo-place img {
    width: 200px;
    height: 200px;
}

.prog-switcher .prog .text {
    display: block;
    position: absolute;
    top: 65px;
    left: 220px;
    width: 100%;
}

.prog-switcher .prog .text:after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    margin-top: 7px;
    height: 30px;
    background-color: #7d7d7d;
}

.prog-switcher .prog.prog-egais .text:after {
    background-color: #197ead;
}

.prog-switcher .prog.prog-merc .text:after {
    background-color: #c22222;
}

@media (min-width: 0) and (max-width: 768px) {
    .prog-switcher .prog .logo-place {
        margin: 0 auto;
    }

    .prog-switcher .prog .text {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .prog-switcher .prog .logo-place {
        margin: 0 auto;
    }

    .prog-switcher .prog .text {
        display: none;
    }
}

.farm-subject .select2-container .select2-selection--single {
    height: 30px;
    border-radius: 15px;
    outline: none;
}

.farm-subject .select2-results__options,
.farm-subject .select2-container--open .select2-dropdown--below {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.doc-detail .block .title {
    font-weight: bold;
}

.doc-detail .block {
    margin: 16px 0;
    border: 1px solid #bfbfbf;
    background: #d9d9d9;
    padding: 8px;
}

.start-page.login_winter .left-col {
    background-image: url('/img/login_page_bg.png');
    background-position: 0;
    background-size: 100%;
}

.start-page.login_winter .left-col #santa {
    background: url(/img/login_page_santa.png) 0/contain no-repeat;
    bottom: -94px;
    height: 430px;
    position: absolute;
    right: -150px;
    width: 370px;
}

.start-page.start_winter .left-col {
    background-image: url('/img/start_page_bg.png');
    background-position: 0;
    background-size: 100%;
}

.start-page.start_winter .left-col #santa {
    background: url(/img/start_page_santa.png) 0/contain no-repeat;
    bottom: -161px;
    height: 594px;
    left: -216px;
    position: absolute;
    width: 475px;
}

.header.winter {
    background-image: url(/img/mercury_header_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 26%;
    padding-left: 0;
}

.header.winter .logo a {
    background: url(/img/mercury_logo.png) 0/100%;
    height: 100%;
    margin: 0;
    width: 422px;
}
