/* open-sans-regular - cyrillic-ext_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-v40-cyrillic-ext_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - cyrillic-ext_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/open-sans-v40-cyrillic-ext_latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body, input, button{
    font-family: 'Open Sans';
}

#smush-image-bar-toggle{
    display: none!important;
}
.smush-detected-img {
    border-radius: 0!important;
    box-shadow: none!important;
}

footer .read-more.see-more{
	position: relative!important;
}

header.site-top{
    box-shadow: 0 0 3px #b5b5b5;
    margin-bottom: 20px;
    padding: 10px 0;
}
header.site-top .container{
    display: flex;
    align-items: center;
}
header.site-top img{
    max-height: 75px;
}
header.site-top .logo-text{
    font-size: 13px;
    line-height: 1.2;
    margin: 0 0 0 10px;
}
header.site-top .header-top-logo a{
    display: inline-flex;
    align-items: center;
	min-width: 225px;
	width: 225px;
}
.header-top-logo{
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.header-top-logo .logo-second{
	max-height: 60px;
	margin: 0 auto 0 20px;
}
header.site-top .header-contacts,
header.site-top .header-right-block{
    margin-top: 0;
}
header.site-top .header-right-block{
    margin-left: auto;
}
header.site-top .header-language ul{
    margin: -5px 0 0;
}

.books-grid__title h1{
    color: #181818!important;
}

.link{
    color: #1F5370;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: underline;
}

.code-authorization{
    width: 320px;
    max-width: 100%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
}
.code-authorization__title{
    font-size: 40px;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    width: 100%;
    color: #181818;
    margin-bottom: 15px;
}
.code-authorization__text{
    font-size: 15px;
    line-height: 1.3;
    width: 100%;
    color: #181818;
}
.code-authorization__text ul{
    list-style: disc;
    padding-left: 40px;
}
.code-form{
    width: 320px;
    margin: 15px auto;
}
.recourse-login-modal form{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.recourse-login-modal label,
.code-form label{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}
.recourse-login-modal label span,
.code-form label span{
    color: #828282;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 5px;
}
.recourse-login-modal input,
.code-form input{
    color: #181818;
    height: 43px;
    border-radius: 0;
    border: solid 1px;
    font-size: 15px;
    line-height: 1.3;
    padding: 5px 15px;
    width: 100%!important;
}
.recourse-login-modal label{
    text-align: left;
}
.recourse-login-modal .button,
.code-form .button{
    width: 100%;
    margin-bottom: 15px;
}
.code-form .link{
    display: block;
    width: 100%;
    text-align: center;
}

.recourse-popup-background{
    z-index: 999999;
    background-image: url("images/restricted.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.recourse-login-modal,
.restriction-simple{
    opacity: 0;
    pointer-events: none;
}
.recourse-login-modal.active,
.restriction-simple.active{
    opacity: 1;
    pointer-events: all;
}
.restriction-simple .recourse-popup-background,
.recourse-login-modal .recourse-popup-background{
    background-image: none;
}
.recourse-popup__close{
    font-size: 30px;
    text-align: right;
    width: 100%;
    margin: -20px -20px 0 0;
    cursor: pointer;
}
.recourse-popup-background:before{
    content: '';
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.recourse-popup-wrapper{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999;
}
.recourse-popup{
    width: 400px;
    max-width: calc(100% - 30px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    border: solid 1px #d9d9d9;
    margin: auto;
    color: #181818;
}
.recourse-popup img{
    margin-bottom: 15px;
}
.recourse-popup__title{
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 600;
}
.recourse-popup__bottom{
    font-size: 16px;
    line-height: 1.3;
    margin-top: 15px;
}

.header-recourse-login{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
    margin-bottom: -15px;
}
.header-recourse-login label{
    position: relative;
    margin-bottom: 0;
    margin-right: 10px;
}
.header-recourse-login label input{
    height: 40px;
    color: #181818;
    border: solid 1px;
    padding: 5px 15px;
}
.header-recourse-login label span{
    position: absolute;
    top: -20px;
    color: #828282;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
}
.header-recourse-login__email input{
    width: 150px;
}
.header-recourse-login__code input{
    width: 100px;
}
.header-top-email,
.header-top-title{
    color: #1F5370;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    margin: auto;
}
.header-top-email{
    font-size: 14px;
    margin: 0 0 0 auto;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 15px;
}
.header-top-email img{
    margin-right: 5px;
}

.subscription-logout{
    position: absolute;
    bottom: -5px;
    right: 0;
    cursor: pointer;
}
.subscription-logout:hover{
    color: #111
}

.video-item{
    position: relative;
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    padding: 0 25px;
    margin-bottom: 40px;
}

.video-item:before{
    content:'';
    height: 1px;
    width: calc(100% - 50px);
    background: #1F5370;
    display: block;
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 15px;
}


.page-template-archive-videos .banner-item:before{
    display: none;
}


.video-item:hover{
    text-decoration: none;
}
.video-item__image-wrapper{
    position: relative;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 242px;
    background: #bbbb;
}
.video-item__image-background{
    position: absolute;
    background-color: rgba(0, 0, 0, .3);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.video-item__image{
    width: 100%!important;
    height: 240px;
    object-position: center;
    object-fit: cover;
    box-shadow: none;
    border-radius: 0;
}
.video-item__image-wrapper svg{
    position: absolute;
}
.video-item__image-wrapper svg .svg-background{
    transition: all .3s;
}
.video-item__image-wrapper svg:hover .svg-background{
    fill: #1F5370;
}
.video-item__description{
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #181818;
    padding: 10px 0 15px;
    transition: all .3s;
}
.video-item__description:hover{
    color: #1F5370;
}

.subscription-filter-list__label.padding-left{
    padding-left: 50px;
}
.subscription-filter-list__label.padding-left .subscription-filter-list__decorate{
    left: 22px;
}
.col-md-6.grid_item .banner-item img{
    max-width: 100%;
}

.sg-pagination{
    width: 100%;
}

.button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: #1F5370;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: #fff;
    padding: 10px 30px;
    border: none;
    outline: none;
    text-align: center;
    transition: all .3s;
}
.button:hover{
    background-color: #181818;
    text-decoration: none;
    color: #fff;
}

.hidden-overflow{
    overflow: hidden;
}

.grid-row{
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 30px);
}

.header-login-form-opener{
    display: none;
}

html{
    overflow-x: hidden;
}

.page-template-archive-articles  footer .container, .page-template-archive-books  footer .container, .page-template-archive-videos  footer .container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.page-template-archive-articles  footer .container a, .page-template-archive-books  footer .container a, .page-template-archive-videos  footer .container a{
    text-decoration: none;
}

.page-template-archive-articles  footer .container .col-sm-3, .page-template-archive-books  footer .container .col-sm-3, .page-template-archive-videos  footer .container .col-sm-3{
    padding: 0 15px;
}

.single-subscription-article table img{
	max-width: calc(100% - 40px);
}

header.site-top{
    position: relative;
}

@media (max-width: 1440px) {
	header.site-top img {
	  max-height: 60px;
	}
	header.site-top .logo-text{
		font-size: 11px;
	}
	.header-top-logo .logo-second{
		max-height: 50px;
	}
	.header-top-title{
		font-size: 23px;
	}
}

@media (max-width: 992px) {
    .video-item{
        width: 50%;
    }
    .header-top-title,
    .header-recourse-login{
        display: none;
    }
    .header-login-form-opener{
        display: flex;
        margin-left: auto;
        cursor: pointer;
    }
    .header-login-form-opener img{
        width: 25px;
    }
}

@media (max-width: 768px) {
    .video-item__image{
        height: 200px;
    }
    .header-top-email {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 70px;
        padding-right: 10px;
        position: relative;
    }

    .video-item{
        padding: 0 5px;
    }

    .page-template-archive-articles footer .container, .page-template-archive-books footer .container, .page-template-archive-videos footer .container{
        display: block;
    }
    .page-template-archive-articles footer .container .col-sm-3, .page-template-archive-books footer .container .col-sm-3, .page-template-archive-videos footer .container .col-sm-3{
        padding: 15px;
        width: 100%;
    }
    .page-template-archive-articles footer .container ul{
        padding: 0;
    }
	
	header.site-top img {
		max-height: 40px;
		object-fit: contain;
	}
	header.site-top .logo-text {
		font-size: 10px;
		line-height: 1.2;
		margin: 0 0 0 10px;
		max-width: 60px;
	}
	header.site-top .header-top-logo a {
		display: inline-flex;
		align-items: center;
		min-width: 180px;
		width: 180px;
	}
	.header-top-logo {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		width: 100%;
		max-width: 100%;
	}
	.header-top-logo .logo-second {
		max-height: 75px;
		margin: 0 0 0 20px;
		width: 100px;
	}

    header.site-top.subscription-in{
        margin-bottom: 75px;
        position: relative;
    }

    .header-top-email{
        position: absolute;
        bottom: -50px;
        max-width: 100%;
        width: 100%;
        overflow: visible;
        white-space: normal;
        text-overflow: initial;
        padding: 15px 0;
    }

    header.site-top img{
        max-height: 20px;
        max-width: 20px;
    }

    .subscription-logout {
        bottom: 8px;
        right: 15px;
        cursor: pointer;
        padding: 10px;
        background: #fff;
    }
}
@media (max-width: 568px) {
    .video-item{
        width: 100%;
    }
    .video-item__image{
        height: 175px;
    }
}
