﻿

body {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    outline: 0;
    vertical-align: baseline;
    font-family: 'Roboto';
    font-style: normal;
}

input, select {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    padding: 5px;
}

textarea{
    font-family: 'Roboto';
    font-style: normal;
    font-size: 14px;
}

#frameworkRootDiv{
    width: 100%;
}
a {
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
}
button, select, input, a, div, table, td, th, hr {
    font-family: Roboto;
}

.displayNone{
display:none!important;
}

button {
    cursor: pointer;
    background-color: var(--themeBGColor);
    color: var(--themeForeColor);
    border: none;
    border-radius: 3px;
    height: 44px;
    width: 200px;
}
button:disabled {
    background-color: var(--themeBGColor2);
}
.paginator_main_panel{
    display: flex;
    flex-direction: row;
    height: 30px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0!important;
}

.paginator_page_no{
    width: 30px;
    line-height: 19px;
    border: 2px solid #232B2B;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}
.paginator_main_panel div {
    white-space: nowrap;
}
.paginator_hits_total {
    min-width: 70px;
    padding: 0;
}
.paginator_label {
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    padding: 0 18px;
}
.paginator_buttons{
    height: 30px;
    color: var(--themeForeColor);

    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    padding-left: 12px;
    padding-right: 12px;
    background: #232B2B;
}
.paginator_buttons.selected{
    background-color: var(--themeBGColor)!important;
}

a {
    color: black;
}
    a:hover {
        cursor: pointer;
    }
    a.selected {
        color: green;
        font-weight: bold;
    }

.roboto {


    font-size: 14px;
    line-height: 24px;
    color: black;
}

.rs_reader{
    position: absolute;
}

.banner {
    z-index: 100;
    flex-direction: row;
    position: absolute;
    display: flex;
    top: 195px;
    width: 900px;
    height: 60px;
    left: calc(50% - 900px/2);
    background: #FEFAF3;
    border: 1px solid #FFAC1C;
    border-radius: 3px;
    align-items: center;
    justify-content:space-around;
}

    .bannerText {
        width: 744px;
        height: 36px;
        left: 20px;
        right: 136px;


        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        padding-left: 20px;
        padding-top:0.9em;
    }

    .bannerLink1 {
        position: relative;
        width: 42px;
        height: 24px;


        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: var(--themeBGColor);
    }

    .bannerLink2 {
        position: relative;
        width: 20px;
        height: 20px;
    }

        .bannerImage {
            position: relative;
            display: inline-block;
            height: 24px;
            width:24px;
        }


.mainHeaderLanguageMenu {
    display: contents;
}
.homeImage{
    width: 100%;
    height: 100%;
}
.searchImage {
    width: 100%;
    height: 100%;
}
@media (max-width: 750px) {
    .mainHeaderLanguageMenu {

    }
}

.minAdminPlaceHeight {
    display: flex;
    row-gap: 20px;
    flex-wrap: wrap;
    margin-top: 1em;
}
.minAdminPlaceHeight > div {
    width: 100%;
}


.dataListItems {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 5px;
    padding-bottom: 30px;
}
.userDataListItem {
    width: 100%;
    padding-left: 20px;
}

.dataListItemSeqNo {

}
.dataListItemThumbnail, .dataListItem {
    display: flex;
    align-content: flex-start;
    justify-content: center;
    height: 150px;
    border: 1px solid #E0E0E0;
}
.pointer{
    cursor: pointer;
}

.dataListItem {
    padding-left: 20px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
.dataListItem a {
    padding-top: 5px;
}

.userDataListItem span.dataListItemPropertyKey:nth-child(1n+1) {
    font-weight: normal;
}
.userDataListItem span.dataListItemPropertyKey:first-child {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
}
.userDataListItem span.dataListItemPropertyKey:first-child {
    display: none;
}

.userDataListItem span {
    display: flex;
    margin: 2px;
    font-size: 14px;
    padding: 3px 0;
}

.gwt-PopupPanel {
    padding: 20px;
    background: white;
    width: 400px;
    border: 2px solid #E0E0E0;
    border-radius: 4px;
}

.popupContent > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popupContent > div > div:last-child {
    width: 200px;
    display: flex;
    flex-direction: row;
}

.gwt-PopupPanelGlass {
    background: white;
    opacity: 0.7;
}



.periodicalMetadataImageContainer {
    position: relative;
    display: inline-block;
    padding: 30px 0 0 30px;
}

.imageContainer-header,
.imageContainer-side {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color:#74746D;
}

.imageContainer-header {
    left: 30px;
    height: 30px;
}

.imageContainer-side {
    top: 30px;
    left: 0;
    bottom: 0;
    width: 30px;
}

.imageContainer-header-text,
.imageContainer-side-text {
    position: absolute;
    padding: 0 10px;
}

.imageContainer-side-text {
    transform: rotate(-90deg);
    white-space: nowrap;
}

.imageContainer-header-text::before,
.imageContainer-header-text::after,
.imageContainer-side-text::before,
.imageContainer-side-text::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    background: #74746D;
}
.imageContainer-side-text::before,
.imageContainer-header-text::before {
    right: 100%;
    left: -9999em;
}
.imageContainer-side-text::after,
.imageContainer-header-text::after {
    right: -9999em;
    left: 100%;
}

.imageContainer-image {
    display: block;
}

.activeHeader {
    padding-bottom: 20px;
}
.activeHeader > div {
    float: left;
}

.basketBlock {
    width: 100%;
    display:inline-block;
}

.basketLabel {
    vertical-align: super;
    display:inline-block;
    margin-right: 10px;
}

.basketIcon {
    display:inline-block;
    height: 22px;
    width: 20px;
    text-align: center;
    padding: 8px 12px 4px 8px;
    color: white;
    cursor: pointer;
    border-radius: 3px;
}

.downloadIcon {
    display:inline-block;
    height: 22px;
    width: 14px;
    text-align: center;
    padding: 5px 12px 4px 8px;
    color: white;
    border-radius: 3px;
    vertical-align: middle
}

.basketIconBackgroundDefault {
    background-color: #B6B6B6;
}

.basketIconBackgroundThemeColor {
    background-color: var(--themeBGColor);
}

a.basketLabel {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    align-items: center;
    display: flex;
    justify-content: end;
    color: var(--themeBGColor);
}

a.basketLabel:hover {
    text-decoration: underline;
}

.basketContentPanel {
    min-width:1000px;
    width:1000px;
}

.orderDownloadArea {
    width:120px;
    display: table-cell;
}

.commonDownloadArea {
    width:570px;
}

.clickableIcon {
    cursor: pointer;
}

.clearBasketLink {
    position: relative;
    width: 42px;
    height: 24px;
    padding-right: 24px;

    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--themeBGColor);
}

.basketSearchResultsText {
    text-align: left !important;
    width:100%;
}

.basketDownloadHeadPagination {
    padding-bottom: 8px;
}

.basketMainBox {
    margin-bottom: 5px;
}

.formatsBox {
    margin: 5px 0;
    display: flex;
    width: 100%;
    flex-flow: column;
}
.formatsBox > .heading {
    height: 40px;
    display: flex;
    background-color: var(--themeHeaderColor);
    margin: auto 0;
    font-weight: 600;
    align-items: center;
    padding: 0 8px;
    justify-content: space-between;
    cursor: pointer;
}

.formatsBox > .heading > div:first-child {
    display: flex;
    align-items: center;
}

.formatsBox > div:nth-child(2) {
    display: none;
}
.formatsBox.active > div:nth-child(2) {
    display: block;
}
.formatsBox > a:first-child {
    display: none;
}
.formatsBox.active > a:first-child {
    display: flex;
}
.formatsBox .allPeriodicalsFilterImage {
    display: none;
}

.formatsDownload {
    width: 200px;
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
}

.longPanelBasket {
    position: absolute;
    background-color: aliceblue;
    padding: 5px;
    width: 190px;
}

.licenseText {
    font-size: 11px;
    text-align: left;
}

@media (min-device-width: 769px) {
    .contentLeft.open{
        display: flex !important;
        z-index: 200;
    }
    .mobileVisible {
        display: none!important;
    }
}
@media (max-device-width: 769px) {
    .mainHeader > div {
        min-width: 100%!important;
    }
    .contentLeft, .mainHeaderUserMenu{
        display: none!important;
    }
    .mobileVisible {
        display: flex;
    }
    .popularArticleContainer{
        display: flex;
        column-gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contentLeft.open{
        display: flex !important;
        position: absolute;
        background: white;
        width: 95%;
        height: 100%;
    }

    .contentRight{
        min-width: 97%!important;
        width: 97%!important;
    }
    .searchTextBox{
        width:60%!important;
        max-width:80%!important;
    }
    .randomArticle{
        flex-direction: column!important;
    }
    .rs_reader{
        display: none;
    }
    .userInfo{
     display: none!important;
    }
/*    .popularArticle, .popularBook{
        width: 49%!important;
    }*/
    .popularArticleImage > img, popularBook > img {
        width: 100%!important;
    }
    .allPeriodicalsContentLeftHeader{
        flex-direction: column!important;
    }
    .allPeriodicalRow{
        width: 100%!important;
    }
    .allPeriodicalRowBlock{
        width:100%!important;
    }

   .allPeriodicalRow .shortInfo {
     margin-right: 0!important;
    }
    .allPeriodicalsFilter{
        flex-direction: column;
    }
    .copyrightCImg{
        margin-left: 25px;
    }
    .periodicalMetadataWidget > div:first-child{
        flex-direction: column!important;
    }
    .periodicalMetadataRow{
        width: 100%!important;
    }
    .periodicalMetadataData, .periodicalMetadataCaption{
        width: 100%!important;
    }
    .periodicalMetadataRow{
        flex-direction: column!important;
    }
    textarea.periodicalMetadataData {
        margin-left: 0;
        width: 95%;
    }
    input.periodicalMetadataData{
        padding: 5px 0;
        width: 98%;
    }
    .paginator_label{
        display: none!important;
    }
    .paginator_main_panel{
        flex-wrap: wrap;
    }

    .mainContentBlock > div {
        width: 45%!important;
    }
    .mainContentBlock {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        column-gap: 20px;
        flex-wrap: wrap;
    }

    .imageContainer > a > img {
        max-width: 99%;
    }

    .popularArticleContainer > div {
        width: 48%;
        padding-bottom: 5px;
    }

    .basketContentPanel {
        min-width:97%!important;
        width:97%!important;
    }

}