/*
Theme Name: aptld-theme.
Theme URI: https://aptld.of.by/wp-content/themes/aptld-theme
Description: Static theme for APTLD 2020
Version: 1.0
Author: hoster.by
Author URI: https://hoster.by/
*/

.subsection__content > p {
	line-height: 22px;
}
h1.subsection__title {
	font-weight: normal;
	margin-top: 0;
}
@media (min-width: 992px) {
	.drop-menu__list.double-col {
		column-count: 2;
	}
}
.without-before .drop-menu__item:before {
	display: none;
}
.active .section-menu__link {
    color: #c31432;
}
@media (min-width: 992px) {
	.active .section-menu__link {
	    padding-left: 10px;
	}
}
@media (max-width: 991px) {
	.active .section-menu__link {
	    padding-left: 25px;
	}
}
.active .section-menu__link:before {
    content: "";
    display: block;
    position: absolute;
    background-color: #c31432;
}
@media (min-width: 992px) {
	.active .section-menu__link:before {
	    width: 3px;
	    height: 100%;
	    top: 0;
	    left: 0;
	}
}
@media (max-width: 991px) {
	.active .section-menu__link:before {
	    width: 2px;
	    height: calc(100% - 20px);
	    top: 10px;
	    left: 15px;
	}
}

/* search results */
label[for="form-search-input"] {
	display: none;
}
.section-page.search .document__link {
	font-size: 24px;
	line-height: 32px;
	text-decoration: underline !important;
}

.section-page.search p,
.section-page.search span {
    overflow-wrap: anywhere;
}

.navigation > h2,
.pagination> h2 {
	display: none;
}
.navigation .nav-links .page-numbers:not(.dots),
.pagination .nav-links .page-numbers:not(.dots) {
	display: inline-block;
	width: 38px;
	font-size: 16px;
	line-height: 36px;
	text-align: center;
	color: #2c2c2c;
	border-radius: 38px;
	border: 1px solid #2c2c2c;
	margin-right: 12px;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-ms-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	transition: all .3s ease-in;
}
.navigation,
.pagination {
	margin-top: 60px;
}
.navigation .nav-links .page-numbers:not(.dots):hover,
.pagination .nav-links .page-numbers:not(.dots):hover
.navigation .nav-links .page-numbers:not(.dots).current,
.pagination .nav-links .page-numbers:not(.dots).current {
	color: #c31432;
	border-color: #c31432;
}
.navigation .nav-links .page-numbers.dots,
.pagination .nav-links .page-numbers.dots {
	display: inline-block;
	font-size: 16px;
	line-height: 38px;
	text-align: center;
	color: #2c2c2c;
	margin-right: 12px;
}
.navigation .nav-links .page-numbers:not(.dots).prev,
.pagination .nav-links .page-numbers:not(.dots).prev,
.navigation .nav-links .page-numbers:not(.dots).next,
.pagination .nav-links .page-numbers:not(.dots).next {
	width: 120px;
}
@media (max-width: 767px) {
	.navigation .nav-links .page-numbers:not(.dots),
	.pagination .nav-links .page-numbers:not(.dots) {
	    width: 25px;
	    font-size: 12px;
	    line-height: 23px;
	    border-radius: 25px;
	    margin-right: 6px;
	}
	.navigation .nav-links .page-numbers.dots,
	.pagination .nav-links .page-numbers.dots {
		display: inline-block;
		font-size: 12px;
		line-height: 25px;
		margin-right: 6px;
	}
	.navigation .nav-links .page-numbers:not(.dots).prev,
	.pagination .nav-links .page-numbers:not(.dots).prev,
	.navigation .nav-links .page-numbers:not(.dots).next,
	.pagination .nav-links .page-numbers:not(.dots).next {
		width: 57px;
	}
}
.section-page.search .parents-category {
	margin-top: 15px;
	font-size: 16px;
	line-height: 20px;
	color: #939393;
}
.section-page.search .parents-category span:last-child {
	display: none;
}
/* newsroom */
.news__entry {
    height: auto;
}
@media (max-width: 767px) {
	.news__img {
		height: auto !important;
	}
	.owl-carousel .owl-item .news img,
	.newsroom .box__item .news__img img {
	    width:  100%;
	    height: auto;
	}
}
.news__entry .h3 {
    max-height: initial;
}
.news__entry .text {
	height: auto;
    margin-bottom: 0;
}
.news__entry:after{
	display: none;
    content: "";
    width: 100%;
    height: 20px;
    left: 0;
    bottom: 0;
    z-index: 1;
    background: #f7fafc;
}
.news__entry:before {
	display: none;
    content: "";
    width: 100%;
    height: 20px;
    left: 0;
    bottom: 20px;
    z-index: 2;
    background: linear-gradient(transparent,#f7fafc);
}

.news__entry * {
	background-color: transparent !important;
}

.news__date {
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.owl-carousel .owl-item .news img,
	.newsroom .box__item .news__img img {
	    width:  auto;
	    height: 100%;
	}
}
@media (max-width: 767px) {
	.news__img {
		height: auto !important;
	}
	.owl-carousel .owl-item .news img,
	.newsroom .box__item .news__img img {
	    width:  100%;
	    height: auto;
	}
}
.newsroom .box__item .news__img {
	height: 230px;
}
@media (min-width: 992px) {
    .newsroom .box__item {
        max-width: calc(33.33333% - 30px);
    }
}
@media (max-width: 991px) and (min-width: 576px) {
    .newsroom .box__item {
        max-width: calc(50% - 30px);
    }
}
@media (max-width: 575px) {
    .newsroom .box__item {
        max-width: calc(100% - 30px);
    }
}
/* filters */
.form-filter__results-item.hide {
	display: none !important;
}
/* hero slider */
.hero-slider.owl-carousel .owl-nav {
	height: 0;
}
.hero-slider__item__text a {
	color: #fff;
	cursor: pointer;
	text-decoration: underline !important;
}
.hero-slider__item__text a:hover {
	color: #c31432;
}

/* footer menu */
.footer__link-list {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}
.footer__link-list a {
	font-weight: 500;
	color: rgba(44,44,44,.8);
}
.footer__link-list a:hover,
.footer__link-list li.active a {
	color: #c31432;
}
@media (min-width: 992px) {
	.footer__link-list {
		max-height: 120px;
	}
	.footer__link-list a {
        font-size: 16px;
        line-height: 24px;
	}
}
@media (max-width: 991px) {
	.footer__link-list {
		max-height: 140px;
	}
	.footer__link-list a {
        font-size: 14px;
        line-height: 28px;
	}
}
/* 404 page */
.section-header__descr {
	position: relative;
	z-index: 2;
}
.subsection__text.center {
	text-align: center;
}

/* hero page upcoming meetings */
.meeting__content {
    max-width: 100%;
}

/* styles for documents */
.document ~ .document {
	margin-top: 40px;
}
.document__link {
    overflow-wrap: anywhere;
}
.document__preview {
    position: relative;
    color: #2c2c2c;
    padding-left: 21px;
}
.document__preview + .document__link-download {
	margin-left: 40px;
}
.document__preview:before {
    content: "";
    width: 18px;
    height: 11px;
    top: 50%;
    left: 0;
    margin-top: -6.5px;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.125 8.25C7.60883 8.25 6.375 7.01617 6.375 5.5C6.375 3.98383 7.60883 2.75 9.125 2.75C10.6412 2.75 11.875 3.98383 11.875 5.5C11.875 7.01617 10.6412 8.25 9.125 8.25ZM9.125 4.125C8.36692 4.125 7.75 4.74192 7.75 5.5C7.75 6.25808 8.36692 6.875 9.125 6.875C9.88308 6.875 10.5 6.25808 10.5 5.5C10.5 4.74192 9.88308 4.125 9.125 4.125Z' fill='%232C2C2C'/%3E%3Cpath d='M9.125 11C5.86258 11 2.81192 9.07133 0.96575 5.841C0.84475 5.63017 0.84475 5.36983 0.96575 5.159C2.81192 1.92867 5.86258 0 9.125 0C12.3874 0 15.4381 1.92867 17.2843 5.159C17.4052 5.36983 17.4052 5.63017 17.2843 5.841C15.4381 9.07133 12.3874 11 9.125 11ZM2.36275 5.5C3.97425 8.0905 6.47583 9.625 9.125 9.625C11.7742 9.625 14.2758 8.0905 15.8873 5.5C14.2758 2.9095 11.7742 1.375 9.125 1.375C6.47583 1.375 3.97425 2.9095 2.36275 5.5Z' fill='%232C2C2C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100%;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-ms-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	transition: all .3s ease-in;
}
.document__preview:hover {
    color: #c31432;
}
.document__preview:hover:before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.125 8.25C7.60883 8.25 6.375 7.01617 6.375 5.5C6.375 3.98383 7.60883 2.75 9.125 2.75C10.6412 2.75 11.875 3.98383 11.875 5.5C11.875 7.01617 10.6412 8.25 9.125 8.25ZM9.125 4.125C8.36692 4.125 7.75 4.74192 7.75 5.5C7.75 6.25808 8.36692 6.875 9.125 6.875C9.88308 6.875 10.5 6.25808 10.5 5.5C10.5 4.74192 9.88308 4.125 9.125 4.125Z' fill='%23C31432'/%3E%3Cpath d='M9.125 11C5.86258 11 2.81192 9.07133 0.96575 5.841C0.84475 5.63017 0.84475 5.36983 0.96575 5.159C2.81192 1.92867 5.86258 0 9.125 0C12.3874 0 15.4381 1.92867 17.2843 5.159C17.4052 5.36983 17.4052 5.63017 17.2843 5.841C15.4381 9.07133 12.3874 11 9.125 11ZM2.36275 5.5C3.97425 8.0905 6.47583 9.625 9.125 9.625C11.7742 9.625 14.2758 8.0905 15.8873 5.5C14.2758 2.9095 11.7742 1.375 9.125 1.375C6.47583 1.375 3.97425 2.9095 2.36275 5.5Z' fill='%23C31432'/%3E%3C/svg%3E");
}

/* styles for page-template-default and page-template-template_post_documents */
.page-template-default .subsection__content h2 {
    color: #c31432;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
}
.page-template-default .subsection__content h2 ~ h2 {
    margin-top: 30px;
}
.page-template-default .subsection__content h2 strong  {
	font-weight: 500;
}
.page-template-template_post_documents p,
.page-template-default .subsection__content p {
	line-height: 22px;
}
.page-template-template_post_documents p ~ p,
.page-template-default .subsection__content p ~ p {
	margin-top: 22px;
}
.page-template-default .subsection__content p strong {
	font-weight: bold;
}
.page-template-default .subsection__content a {
	color: #2c2c2c;
    text-decoration: underline!important;
}
.page-template-default .subsection__content a:hover {
	color: #c31432 !important;
}

/* styles for ul */
.subsection__text__list li {
    position: relative;
    padding-left: 30px;	
}
.subsection__text__list li ~ li {
	margin-top: 20px;
}
.subsection__text__list li:before {
	content: "";
    width: 20px;
    height: 20px;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0C4.486 0 0 4.486 0 10s4.486 10 10 10 10-4.486 10-10S15.514 0 10 0zm3.09 10.59l-4.168 4.166a.831.831 0 0 1-1.178 0 .832.832 0 0 1 0-1.178L11.322 10 7.744 6.423a.832.832 0 1 1 1.178-1.179l4.167 4.167a.832.832 0 0 1 0 1.178z' fill='%23C31432'/%3E%3C/svg%3E");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 100%;
}
.page-template-template_post_documents .subsection__text__list li {
	line-height: 20px;
}
.page-template-template_post_documents .subsection__text__list li:before {
    top: 0;
}

/* styles for Working Groups */
.page-template-template_page_working-groups .document__link {
	text-transform: uppercase;
}

/* home page */
.active_home .header__menu__link {
	color: #c31432;
}
.home .mission__btn-join .btn {
	margin-bottom: 0;
}
@media (min-width: 992px) {
.home .mission__link-block {
	    margin-bottom: 47px;
	}
}

.btn-to-top {
	display: none;
}

/* btn REQUEST A WEBINAR */

.request-a-webinar {
	width:  200px;
}

/* styles new documents */
.post-template-template_post_documents .subsection__content p {
	line-height: 22px;
}
.post-template-template_post_documents .subsection__content p a {
	color: #2c2c2c;
	text-decoration: underline;
}
.post-template-template_post_documents .subsection__content p a:hover:after {
	color: #c31432 !important;
}

/* styles for page Work Groups */

.working-group .icon-group {
	min-width: 39px;
}

/* styles for LOGIN PAGE */
.page-template-login .form {
	max-width: 350px;
}
.page-template-login .login-submit .btn {
    cursor: pointer;
    border: 0;
    outline: none;
}
.page-template-login .form__input-error {
	display: block;
	font-size: 16px;
}
/* styles for page RECOVERY PASSWORD */
.page-template-lostpassword-template .form {
	max-width: 350px;
}
.page-template-lostpassword-template .lostpassword-submit .btn {
    width: 200px;
    cursor: pointer;
    border: 0;
    outline: none;
}
.page-template-lostpassword-template .resetpass-submit .btn {
    cursor: pointer;
    border: 0;
    outline: none;
}
.form__lostpassword-error {
    font-size: 20px;
    line-height: 22px;
    font-weight: 500;
    color: #c31432;
    margin-top: 40px;	
}
.page-template-lostpassword-template .form__input-error {
	display: block;
	font-size: 16px;
}
.page-template-lostpassword-template .description {
	background-color: #f7fafc;
	padding: 15px;
}

/* footer styles for Comfortable reading */

#cr_widget {
	margin-top: 24px;
}
@media (min-width: 576px) {
	#cr_widget {
		text-align: right;
	}	
}
@media (max-width: 575px) {
	#cr_widget {
		text-align: center;
	}
}

#cr_widget a {
	font-family: 'Lato', Helvetica, Arial, sans-serif !important;
	font-size: 18px !important;
	font-weight: 500;
	line-height: 29px !important;
	color: #2c2c2c !important;
	padding: 0;
	border-radius: 0;
	text-decoration: none !important;
	vertical-align: middle;
	text-shadow: none;
	-webkit-box-shadow: none !important;
	-moz-box-shadow:    none !important;
	box-shadow:         none !important;
	background: transparent !important;
	margin: 0 !important;  
}
#cr_widget a:before {
	content: '';
	display: inline-block;
	width: 29px;
	height: 29px;
	position: relative;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 29 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.7835 13.9333C28.5246 13.6446 22.2984 6.85352 14.5 6.85352C6.70163 6.85352 0.47547 13.6446 0.216565 13.9333C-0.0721885 14.256 -0.0721885 14.744 0.216565 15.0667C0.47547 15.3554 6.70175 22.1465 14.5 22.1465C22.2983 22.1465 28.5246 15.3554 28.7835 15.0667C29.0722 14.744 29.0722 14.256 28.7835 13.9333ZM14.5 20.4473C11.221 20.4473 8.55276 17.779 8.55276 14.5C8.55276 11.221 11.221 8.55273 14.5 8.55273C17.779 8.55273 20.4473 11.221 20.4473 14.5C20.4473 17.779 17.779 20.4473 14.5 20.4473Z' fill='%232C2C2C'/%3E%3Cpath d='M15.3496 12.8008C15.3496 11.9461 15.7739 11.1942 16.4194 10.7317C15.8402 10.4352 15.1941 10.252 14.5 10.252C12.1577 10.252 10.252 12.1577 10.252 14.5C10.252 16.8423 12.1577 18.748 14.5 18.748C16.5971 18.748 18.3328 17.2168 18.6757 15.2161C16.9648 15.7669 15.3496 14.4729 15.3496 12.8008Z' fill='%232C2C2C'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	-webkit-background-size: 100%;
	background-size: 100%;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-ms-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	transition: all .3s ease-in;
	vertical-align: middle;	
	margin-right: 7px;
}
#cr_widget a:hover {
	color: #c31432 !important;  
}
#cr_widget a:hover:before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 29 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.7835 13.9333C28.5246 13.6446 22.2984 6.85352 14.5 6.85352C6.70163 6.85352 0.47547 13.6446 0.216565 13.9333C-0.0721885 14.256 -0.0721885 14.744 0.216565 15.0667C0.47547 15.3554 6.70175 22.1465 14.5 22.1465C22.2983 22.1465 28.5246 15.3554 28.7835 15.0667C29.0722 14.744 29.0722 14.256 28.7835 13.9333ZM14.5 20.4473C11.221 20.4473 8.55276 17.779 8.55276 14.5C8.55276 11.221 11.221 8.55273 14.5 8.55273C17.779 8.55273 20.4473 11.221 20.4473 14.5C20.4473 17.779 17.779 20.4473 14.5 20.4473Z' fill='%23C31432'/%3E%3Cpath d='M15.3496 12.8008C15.3496 11.9461 15.7739 11.1942 16.4194 10.7317C15.8402 10.4352 15.1941 10.252 14.5 10.252C12.1577 10.252 10.252 12.1577 10.252 14.5C10.252 16.8423 12.1577 18.748 14.5 18.748C16.5971 18.748 18.3328 17.2168 18.6757 15.2161C16.9648 15.7669 15.3496 14.4729 15.3496 12.8008Z' fill='%23C31432'/%3E%3C/svg%3E");
}
#special-version-controls {
	position: -webkit-sticky !important; 
	position: sticky !important; 
    top: 0;
	overflow-x: auto;
}
#special-version-controls table {
	min-width: 575px;
}
#special-version-container[style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"] p,
#special-version-container[style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"] span,
#special-version-container[style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"] b,
#special-version-container[style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"] strong,
#special-version-container[style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"] a {
	color: #fff !important;
}
#special-version-container[style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"] .section-header__breadcrumbs__el,
#special-version-container[style="color: rgb(6, 52, 98); background-color: rgb(157, 209, 255);"] .section-header__breadcrumbs__el {
	color: #000 !important;
}
#special-version-container[style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"] .section-header__breadcrumbs__el:before,
#special-version-container[style="color: rgb(6, 52, 98); background-color: rgb(157, 209, 255);"] .section-header__breadcrumbs__el:before {
	background-color: #000 !important;
}

/* style for reading programs */

.alt-text {
	display: none;
}

/* preson about */

.person__about p:last-child {
	margin-bottom: 20px;
}