﻿@media only screen and (max-width: 767px) {
    .header-container .logo-sysselmesteren {
        padding: 1em 0 1em 4em !important
    }
}

.flag-ru {
    background-image: url(/gfx/flags/ru.png);
    background-image: url(/gfx/flags/ru.svg),linear-gradient(transparent, transparent)
}

.news-divider {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 3px solid rgba(0, 0, 0, 0.1);
}

.news a.mh-100 {
    min-height: 100px !important;
}

.article h2, .article h3, .article h4, .article h5, .article h6 {
    text-align: initial;
}

.h3 {
    text-align: left;
    margin-bottom: .5rem !important
}

.h4 {
    text-align: left;
    font-weight: 400 !important
}

ul {
    list-style: disc;
}

.mt-4 {
    padding-top: 1rem !important;
}

ul.pagination a.active {
    background-color: lightsteelblue;
}

ul.pagination a.disabled {
    pointer-events: none;
}

.frontPageNewsImage {
    margin: 5px 0 13px;
}

.btn-wrap {
    white-space: normal;
}

.card .form-group {
    margin-bottom: 1rem;
}

.card .form-group label {
    justify-content: initial;
}

.card .list-group-item p:last-child {
    margin-bottom: 0;
}

@media (min-width: 576px) {
    .form-inline .card label {
        margin-bottom: .5rem;
    }
}

#employees .department:first-child td {
    border-top: none;
}

#employees .department:not(:first-child ) td {
    padding-top: 1.3rem;
}

#employees tr td:first-child {
    padding-left: 0;
}

#employees tr td:last-child {
    padding-right: 0;
}

#findHits em {
    font-style: normal;
    background-color: #fce782;
}

#irisTarget .alert {
    margin-bottom: 1.5rem !important;
}

#irisTarget a.alert-read-more {
    color: #0062cc;
}

#irisTarget a.alert-read-more:hover {
    color: #003e80;
    text-decoration: underline;
}

#page-feedback-form input[type="radio"] {
    position: absolute;
    left: -999em;
}

#page-feedback-form .card .card-body .form-group {
    margin: 1rem 0 0 0;
}

#page-feedback-form .card .card-body .form-group:first-child {
    margin-top: 0;
}

#page-feedback-form .card .card-body .form-group label {
    margin-bottom: 0;
}

#page-feedback-form .card .card-body .form-group.hide {
    display: none;
}

#page-feedback-form .card .card-body .form-group .btn {
    width: 80px;
    justify-content: center;
    margin-right: 15px;
}

#page-feedback-form #feedback-message {
    width: 100%;
    min-height: 100px;
    padding: 4px 6px;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.delete-page-feedback-message-button {
    color: #c8cfd6;
    float: right;
}

.delete-page-feedback-message-button:hover,
.delete-page-feedback-message-button:focus {
    color: #cd201f;
}

#delete-all-page-feedbacks-button {
    width: 100%;
}

.col-lg-1.blockArea, .col-lg-2.blockArea, .col-lg-3.blockArea,
.col-lg-4.blockArea, .col-lg-5.blockArea, .col-lg-6.blockArea,
.col-lg-7.blockArea, .col-lg-8.blockArea, .col-lg-9.blockArea,
.col-lg-10.blockArea, .col-lg-11.blockArea, .col-lg-12.blockArea,
.col-sm-1.blockArea, .col-sm-2.blockArea, .col-sm-3.blockArea,
.col-sm-4.blockArea, .col-sm-5.blockArea, .col-sm-6.blockArea,
.col-sm-7.blockArea, .col-sm-8.blockArea, .col-sm-9.blockArea,
.col-sm-10.blockArea, .col-sm-11.blockArea, .col-sm-12.blockArea {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 30px;
}

.blockArea .card {
    padding: 0;
}

.blockArea .imageBlock .mb-3,
.blockArea .imageBlock figure,
.blockArea .imageBlock a figure .figure-img {
    margin-bottom: 0 !important;
}

.blockArea .imageBlock a figure figcaption {
    background: rgba(0,0,0,.5);
    color: white;
    padding: 2px 5px;
}

.blockArea > .accordion {
    padding-bottom: 0;
}

.accordion {
    padding-bottom: 30px;
}

.accordion .card {
    margin: 0;
}

.accordion .card:not(:last-child) {
    border-bottom: none !important;
}

.accordion .card .card-header {
    padding: 0.5rem 2rem 0.5rem 1.5rem;
    margin-bottom: 0;
    min-height: initial;
}

.accordion .card .card-title a {
    font-weight: normal;
    text-decoration: none;
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
}

.accordion .card .card-title a:hover {
    text-decoration: underline;
}

.accordion .card .card-header .accordion-header:after {
    position: absolute;
    text-align: right;
    right: 10px;
    top: 10px;
    font-family: 'feather' !important;
    font-weight: 600;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\e92d";
}

.accordion .card .card-header .collapsed .accordion-header:after {
    content: "\e92f";
}

@media only screen and (max-width: 767px) {
    .carousel-inner {
        display: none;
    }
}

.d-print-only {
    display: none !important
}

@media print {
    @page {
        margin: 25mm 25mm 25mm 25mm;
    }

    body {
        margin: 0;
    }

    .d-print-only {
        display: initial !important;
    }

    a.article-small, .pagination a {
        text-decoration: initial !important;
    }

    a.bg-danger, a p small {
        color: initial !important;
    }

    .card {
        border: 1px solid rgba(0,0,0,0.125) !important;
    }

    .card-header {
        display: initial;
        padding: 1.5em;
        -webkit-print-color-adjust: exact;
    }

    .card-body {
        padding: 1.5em;
    }

    .form-group input, .form-group select, .form-group textarea {
        margin-left: 1em;
        width: 96% !important;
    }

    .table-light, .table-light > th, .table-light > td {
        background-color: #eef2f6 !important;
        -webkit-print-color-adjust: exact;
    }

    ul.pagination a.active {
        background-color: lightsteelblue;
        -webkit-print-color-adjust: exact;
    }

    #epi-quickNavigator {
        display: none !important;
    }
}

.fa-rss-square, .fa-rss-square:hover, .fa-rss-square:visited {
    color: #f99b2b;
}

/*-------------------------------------------------------------------------------------------*/
/* Authentication */
/*-------------------------------------------------------------------------------------------*/

.login-page {
    height: 100%;
}

.login-wrapper {
    background-size: cover;
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    justify-content: center;
    align-items: center;
}

.login-wrapper.login-background-img {
    background-image: url(/Util/images/login/login-background-image.png);
}

.login-top-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.login-modal {
    background: hsla(0, 0%, 100%, 0.46);
    width: 485px;
}

@media(max-width:540px) {
    .login-modal {
        width: 320px;
    }
}