main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

.required label:after {
    content: "*";
    color: red;
}


/*Шапка сайта*/

.nav-my {
    background: #007788 url('../img/x3.gif') top left repeat-x!important;
    text-decoration: none;
}

@media (min-width: 768px)  {
    .nav-my {
        margin-top: 1.75em;
    }
}


.header-blue
{
    position: absolute;
    margin-top: 8px;
    height: 135px;
    width: 100%;
}

@media (min-width: 1210px)  {
    .header-blue {
        background: #073C4C url('../img/header.jpg?t=2') top right no-repeat;
    }
}

@media (max-width: 1210px)  {
    .header-blue {
        background: #073C4C;
    }
}

@media (max-width: 780px)  {
    .header-blue {
        background: #073C4C;
    }
    .header-blue img {
        width: 480px;
        height: 72px;
    }
}

@media (max-width: 510px)  {
    .header-blue {
        background: #073C4C;
        height: 115px;
    }
    .header-blue img {
        width: 100%;
        object-fit: contain;
    }
    .flex-shrink-0 .container {
        padding-top: 25px;
    }
}

.header-green
{
    position: absolute;
    margin-top: 8px;
    background: #073C4C url('../img/header_green.jpg') top right no-repeat;
    height: 135px;
    width: 100%;
}

@media (min-width: 1200px)  {
    .header-green h1 {
        font-size:2.5rem;
    }
}
@media (max-width: 1200px)  {
    .header-green h1 {
        font-size:1.8rem;
    }
}

@media (max-width: 800px)  {
    .header-green h1 {
        font-size:1.3rem;
    }
}

.footer-my
{
    padding: 1.5em;
    background: #fff url('../img/x2.gif') top left repeat-x;
}


/*Заголовки*/
.content h2,h3,h4,h5,h6
{
    width: 100%;
    position: relative;
    color: #073C4C;
    font-size: 1.1em;
    background: #fff url('../img/x2.gif') top left repeat-x;
}

@media (min-width: 760px)  {
    .content h2,h3,h4,h5,h6 {
        margin: 0em -22px 1.2em 0em;
        padding: 1.1em 14px 0.0em 14px;
        left: -20px;
    }
}
@media (max-width: 760px)  {
    .content h2,h3,h4,h5,h6 {
        margin: 0em 0px 1.2em 0em;
        padding: 1.1em 0px 0.0em 0px;
        left: 0px;
    }
}

a {
    color: #007788;
    text-decoration: underline;
}

a:hover
{
    text-decoration: none;
}

/*Кнопки*/
.btn-login {
    color: #fff!important;
    background-color: #0C617E;
    border-color:#0C617E!important;
}

.btn-login:hover, .btn-login:focus {
    border-color:#073C4C;
    color: #fff!important;
    background-color: #0e718e!important;
}

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

b, strong
{
    color: #5E5E55;
}

.dropdown-item-my:hover {
    background-color: #e1e1e1;
}

.btn-my {
    color: #fff;
    background-color: #007788;
    border-color:#007788;
}

.btn-my:hover, .btn-my:focus {
    color: #fff;
    border-color:#073C4C;
    background-color: #073C4C!important;
}


.form-check-input {
    color: #fff!important;
    border-color: #DEE2E6!important;
    background-color: #fff!important;
}

.form-check-input:checked {
    color: #fff!important;
    border-color: #007788!important;
    background-color: #007788!important;
}

@media (min-width: 500px)  {
    .login-link {
        padding-left: 15px;
    }
}

.content blockquote
{
    border: dashed 1px #BFB793;
    background: #FFFEFB url('../img/x5.gif') top left repeat-x;
    padding: 1em;
    margin-bottom: 1.5em;
    margin-right: 20px;
}

.content blockquote p
{
    margin-bottom: 0em;
    margin-right: 20px;
}

label.form-check-label:after {
    content: none!important;
}

div.field-signupform-verifycode {
    display:inline-flex;
}

.field-signupform-verifycode .form-label {
    margin-top: 10px;
    margin-right: 10px;
}

div.field-signupform-verifycode .row  {
    margin-right: 10px;
}

.field-signupform-verifycode .text-muted {
    margin-top: 8px;
}



/*
Классы для отображения GridView  в мобильной версии
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 768px)  {

    /* Force table to not be like tables anymore */
    .grid table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .grid thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .grid tr { border: 1px solid #ccc; }

    .grid td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .grid td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /*
    Label the data
    */
    .grid td:nth-of-type(1):before { content: "Номер записи:"; }
    .grid td:nth-of-type(2):before { content: "Название:"; }
    .grid td:nth-of-type(3):before { content: "Авторы:"; }
    .grid td:nth-of-type(4):before { content: "Название_En:"; }
    .grid td:nth-of-type(5):before { content: "Авторы_En:"; }
    .grid td:nth-of-type(6):before { content: "Файл:"; }
    .grid td:nth-of-type(7):before { content: "Просмотр:"; }
}


/*Хлебные крошки*/
.breadcrumb {
    background-color: #FFFFFF!important;
    padding: 0!important;
}

#iFrameResizer0{
    min-height: 1000px!important;
    height: 1000px!important;
}

/* всплывающие окно о согласии - начало */
.fixed-cookie {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 20;
}
#cookiePopup {
    background-color: #ffffff;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    font-size: 12px;
    width: 70vw;
    max-width: 42.85em;
    box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
    text-align: justify;
    line-height: 1.4em;
    padding: 1em 1.4em;
    border-radius: 12px;
    transition: all 0.5s ease-in;
    z-index: 20;
}
#cookiePopup p {
    margin: 1.4em 0;
}
#cookiePopup button {
    border-radius: 3px;
    background-color: #007788;
    border: 0 none;
    /*border-width: 1px;*/
    /*border-color: #a4cce5;*/
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    padding: 0.5em 0.5em;
    display: block;
    position: relative;
    margin: auto;
}
#cookiePopup a {
    color: #000000;
    text-decoration: underline;
}
.hide {
    visibility: hidden;
    bottom: 0;
    right: 2em;
}
.show1 {
    visibility: visible;
    bottom: 2em;
    right: 2em;
}
@media only screen and (max-width: 37.5em) {
    #cookiePopup {
        background-color: #007788;
        width: 100%;
        right: 0;
    }
    #cookiePopup button {
        /*color: #fff;*/
        /*background-color: #2d607d;*/
        color: #fff;
        background-color: #fff;
    }
    .hide {
        bottom: 2em;
        right: 0;
    }
    .show1 {
        right: 0;
        bottom: 0;
    }
}

/* всплывающие окно о согласии - конец */

