.row.row-f.library .library__item {
    width: 250px!important;
    max-width: 100%;
    border: none;
    position: relative;
}

.row.row-f.library > div:nth-child(4n+4) > .library__item {
    margin-left: auto;
}

.row.row-f.library > div:nth-child(2) .library__item,
.row.row-f.library > div:nth-child(3) .library__item,
.row.row-f.library > div:nth-child(6) .library__item,
.row.row-f.library > div:nth-child(7) .library__item {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.library.row .col-lg-3 {
    margin: 0 0 48px;
}

.row.row-f.library > div:nth-child(2) .library__item,
.row.row-f.library > div:nth-child(6) .library__item {
    left: -10px
}

.row.row-f.library > div:nth-child(3) .library__item,
.row.row-f.library > div:nth-child(7) .library__item {
    left: 10px
}

.row.row-f.library .library__item .title {
    margin: 0 0 0;
}

.row.row-f.library .library__item .text {
    padding: 15px 0 56px;
    position: relative;
}

.library__item-buttons {
    margin-top: 16px;
    position: absolute;
    width: 100%;
    bottom:0;

}

.custom-buttons .btn {
    height: 40px;
    line-height: 13px;
    /*font-size: 16px;*/
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 20px;
    display: inline-block;
    border: 2px solid #16B6D2;
}

.custom-buttons .btn:hover {
    border: 2px solid #ff6f80;
}

.btn.js-get-excerpt {
    border: 2px solid #16B6D2;
    background: white;
    color: #16B6D2!important;
    /*margin-left: 12px;*/
    margin-left: 2px;
}

.btn.js-get-excerpt:hover {
    background-color: #16B6D2;
    color: white!important;
    border: 2px solid #16B6D2;
}

.paging-wrap {
    text-align: center;
    margin-top: 20px;
}

.paging-wrap a.prev,
.paging-wrap a.next {
    float: none;
}

.paging-wrap a.prev {
    margin-right: 16px;
}

.paging-wrap a.next {
    margin-left: 16px;
}

.paging-wrap a.prev:before {
    background: url(../img/pagin-prev.svg) no-repeat;
    transform: rotate(0deg);
    width: 7px;
    height: 14px;
    background-size: cover!important;
}

.paging-wrap a.next:after {
    background: url(../img/pagin-next.svg) no-repeat;
    transform: rotate(0deg);
    width: 7px;
    height: 14px;
    background-size: cover!important;
}

.paging-wrap a.paging-item,
.paging-wrap span.current-page {
    display: inline-block;
    line-height: 50px;
    height: 50px;
    width: 50px;
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 25px;
}


.paging-wrap a.paging-item {
    font-family: 'Oswald', Serif;
    text-transform: none;
    font-size: 16px;
    color: #29293A;
    font-weight: 400;
    background-color: #F2F3F9;
}

.paging-wrap a.paging-item:hover {
    background: #ff6f80;
    color: white;
}

.paging-wrap span.current-page {
    background: #ff6f80;
    color: white;
    font-family: 'Oswald', serif;
    text-transform: none;
    font-size: 16px;
}

.shadow {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 6;
    padding: 0;
    display: none;
}

.shadow .popup {
    padding: 24px;
    display: none;
}

.shadow .popup .popup-close {
    width: 13px;
    height: 13px;
    position: absolute;
    right: 25px;
    top:25px;
    background: url("../img/popup-close.svg") no-repeat;
    background-size: cover!important;
    cursor: pointer;
}

.shadow .popup .popup-body {
    margin-bottom: 24px;
}

.shadow .popup#pricing {
    width: 100%;
    /*max-width: 530px;*/
    max-width: 720px;
    background-color: white;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
}
.shadow .popup#paidtill {
    width: 100%;
    max-width: 530px;
    background-color: white;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
}
.shadow .popup .popup-title {
    font-family: 'Oswald', serif;
    font-size: 24px;
    line-height: 26px;
    color: #29293A;
    margin-bottom: 24px;
}

.swiper-popup .swiper-slide,
.swiper-popup-book .swiper-slide{
    width: 145px;
}

.partner-slide{
	width: 180px !important;
}
@media all and (min-width: 1401px) {
.buypaper-slide{
	width: 203px !important;
}
}
.buypaper-slide .popup-pricing-item{
	min-height: 74px;
}
.popup-pricing-item {
    padding: 27px 13px 27px 24px;
    background: #F2F3F9;
    border: 1px solid #F2F3F9;
    border-radius: 12px;
    cursor: pointer;
}

.popup-pricing-item-name {
    font-family: 'Oswald', serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
    text-transform: uppercase;
    color: #999BA7;
    margin-bottom: 8px;
}
.buypaper-slide .popup-pricing-item-name{
	color: #333333 !important;
}
.buypaper-slide:hover .popup-pricing-item-name{
	color: #FFF !important;
}
.popup-pricing-item-price {
    font-family: 'Oswald', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 30px;
    text-transform: uppercase;
    color: #29293A;
}

.popup-pricing-item.active,
.popup-pricing-item:hover {
    background: #FF6F80;;
    border: 1px solid #FF6F80;
}

.popup-pricing-item.active .popup-pricing-item-name,
.popup-pricing-item:hover .popup-pricing-item-name {
    color: #FFFFFF !important;
}

.popup-pricing-item.active .popup-pricing-item-price,
.popup-pricing-item:hover .popup-pricing-item-price {
    color: #FFFFFF;
}

.partner-item a{
	color: #333333 !important;
}

.partner-item a:hover, .partner-item:hover a{
	text-decoration: none !important;
	color: #fff !important;
}
#excerpt {
    width: 640px;
    max-width: 100%;
    background-color: white;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    height: 90vh;
}

#excerpt .popup-body {
    max-height: 100%;
    position: relative;
}

#bookadded {
    width: 640px;
    max-width: 100%;
    background-color: white;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
}

#bookadded .popup-body {
    max-height: 100%;
    position: relative;
}


#excerpt iframe {
    width: 100%;
    height: calc(90vh - 50px);
}

.library__item:hover {
    box-shadow: none;
}

.pricing-name {
    font-family: 'Oswald', serif;
    font-size: 20px;
    line-height: 26px;
    color: #29293A;
    margin-bottom: 24px;
}

.single-book .swiper-popup,
.single-book .swiper-popup-book {
    width: 800px;
    max-width: 100%;
    margin-bottom: 32px;
    margin-left: 0;
}

.custom-buttons .btn-like {
    margin-left: 12px;
    background-color: white;
    color: #FF6F80!important;
    border: 2px solid #FF6F80;
    padding: 9px 16px 12px;
}

.custom-buttons .btn-like span {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
    height: 21px;
    width: 21px;
    margin-left: 8px;
    background-color: #ff6f80;
    border-radius: 50%;
    position: relative;
    top: -1px
}

.custom-buttons .btn-like:hover {
    background-color: #ff6f80;
    color: white!important;
}

.custom-buttons .btn-like:hover span {
    background-color: #16B6D2;
}


.single-book .text__item:not(.text__item--info) {
    margin-top: 16px;
    font-size: 18px;
    line-height: 26px;
    color: #29293A;
    font-family: "Lato", sans-serif;
    /*max-height: 100px;*/
    max-height: 230px;
    overflow: hidden;
    margin-bottom: 24px;
    height:auto;
    -webkit-transition: max-height 0.3s ease-in-out;
    -moz-transition: max-height 0.3s ease-in-out;
    -ms-transition: max-height 0.3s ease-in-out;
    -o-transition: max-height 0.3s ease-in-out;
    transition: max-height 0.3s ease-in-out;
}

.single-book .read-more {
    margin-bottom: 32px;
}

.single-book .read-more span {
    font-size: 16px;
    line-height: 26px;
    text-align: right;
    text-transform: uppercase;
    color: #16B6D2;
    font-family: 'Oswald', serif;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.single-book .read-more span:after  {
    content: '';
    width: 10px;
    height: 16px;
    background: url('../img/pagin-next.svg') no-repeat;
    background-size: cover!important;
    position: absolute;
    margin-left: 10px;
    top: 5px
}

.single-book .text__item.opened {
    max-height: 100%;
}


.single-book .text__item--info p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 19px;
    font-family: "Lato", sans-serif;
    color: #999BA7;
}

.single-book-tags {
    margin-top: 32px;
}

.single-book-tags a {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-family: 'Oswald', serif;
    text-align: center;
    text-transform: uppercase;
    color: #29293A!important;
    margin-right: 16px;
    background-color: #F2F3F9;
    border-radius: 20px;
    margin-bottom: 16px;
}

.single-book .back {
    text-align: left;
    margin-top: 16px;
}

.single-book .custom-buttons a {
    margin-bottom: 16px;
}


@media all and (max-width: 1600px) {
    .single-book .popup-pricing-item-name {
        font-size: 17px;
    }
}

@media all and (max-width: 1407px) {
    .single-book .popup-pricing-item {
        padding: 20px 13px 20px 20px;
    }
}

@media all and (max-width: 1400px) {
    .row.row-f.library .library__item {
        width: 100%!important;
    }

    .row.row-f.library > div:nth-child(2) .library__item, .row.row-f.library > div:nth-child(6) .library__item {
        left: 0;
    }

    .row.row-f.library > div:nth-child(3) .library__item, .row.row-f.library > div:nth-child(7) .library__item {
        left: 0;
    }

    .single-book .popup-pricing-item-name {
        font-size: 12px;
        line-height: 17px;
    }

    .single-book .popup-pricing-item-price {
        font-size: 22px;
    }

    .single-book .popup-pricing-item {
        padding: 15px;
    }


}

@media all and (max-width: 1180px) {
    .library__item-buttons.custom-buttons .btn {
        display: block;
        margin-bottom: 15px;
    }

    .library__item-buttons .btn.js-get-excerpt {
        margin-left: 0;
        margin-bottom: 0;
    }

    .row.row-f.library .library__item .text {
        padding-bottom: 120px;
    }


}

@media all and (max-width: 768px) {

    .library__item-buttons.custom-buttons .btn {
        display: inline-block;
        margin-bottom: 0;
    }

    .library__item-buttons .btn.js-get-excerpt {
        margin-left: 15px;
    }

    .library__item {
        height: auto;
    }

    .row.row-f.library .library__item .text {
        padding-bottom: 60px;
    }

    .paging-more {
        text-align: center;
    }

    .paging-more a {
        display: inline-block;
        font-weight: normal;
        height: 40px;
        line-height: 13px;
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 20px;
    }

    .shadow .popup#pricing,
    .shadow .popup#excerpt {
        width: calc(100% - 48px);
        max-width: calc(100% - 48px);
    }

    .swiper-popup {
        margin-right: -24px!important;
    }

    .single-book .swiper-popup-book-wrap {
        position: relative;
        width: calc(100% + 24px);
        max-width: calc(100% + 24px);
        margin-right: -24px;
    }

     .popup-pricing-item {
        padding: 8px 16px 16px
    }



    .single-book .popup-pricing-item-name {
        font-size: 14px;
        line-height: 20px;
    }

    .single-book {
        overflow: visible!important;
    }

    .swiper-popup .swiper-slide,
    .swiper-popup-book .swiper-slide{
        width: 130px;
    }

    .popup-pricing-item-name {
        font-size: 16px;
        line-height: 24px;
    }

    .popup-pricing-item-price {
        font-size: 20px;
        line-height: 22px;
    }

}

@media all and (max-width: 470px) {
    .single-book .custom-buttons a.btn-like {
        margin-left: 0;
    }

    .single-book .custom-buttons a.js-get-excerpt {
        margin-right: 16px;
    }
}

.custom-cart-item {
    padding-bottom: 24px;
    border-bottom: 1px solid #CEDAE8;
    margin-bottom: 24px;
}

.custom-cart-item-image {
    float: left;
}

.custom-cart-item-image img {
    width: 83px;
}

.custom-cart-item-data {
    margin-left: 105px;
}

.custom-cart-item-data-title {
    margin-bottom: 16px;
    max-width: 100%;
    width: 360px;
}

.custom-cart-item-data-title a {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #29293A;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


.custom-cart-item-data-author {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #999BA7;
}

.custom-cart-item-data .text-right {
    text-align: right;
}

.custom-cart-item-data .text-right > div {
    display: inline-block;
}

.custom-cart-item-data-delete {
    position: relative;
    top: -22px;
    padding-right: 34px;
    background: url("../img/trash-can.svg") no-repeat;
    background-position: right center;
    font-size: 20px;
    line-height: 26px;
    text-align: right;
    text-transform: uppercase;
    color: #16B6D2;
    font-family: "Oswald", sans-serif;
    cursor: pointer;
    margin-left: 48px;
}

.custom-cart-item-data-price {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: #F2F3F9;
    border: 1px solid #F2F3F9;
    padding: 16px 24px;
    border-radius: 12px;
}

.custom-cart-item-data-price-title {
    font-size: 18px;
    line-height: 27px;
    text-transform: uppercase;
    color: #999BA7;
    font-family: "Oswald", sans-serif;
    margin-bottom: 8px;
    text-align: left;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.custom-cart-item-data-price-value {
    font-weight: 600;
    font-size: 28px;
    line-height: 30px;
    text-transform: uppercase;
    color: #29293A;
    font-family: "Oswald", sans-serif;
    text-align: left;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.custom-cart-item:hover .custom-cart-item-data-title a {
    color: #FF6F80;
    text-decoration: none;
}

.custom-cart-item:hover .custom-cart-item-data-price {
    background: #FF6F80;
    border: 1px solid #FF6F80;
}

.custom-cart-item:hover .custom-cart-item-data-price-title,
.custom-cart-item:hover .custom-cart-item-data-price-value {
    color: white
}

.page__item-custom {
    width: calc(100% - 300px);
}

.custom-busket {
    padding: 16px 24px;
}

.custom-busket h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 48px;
    font-family: "Oswald", sans-serif;
    color: #29293A;
    margin-bottom: 16px;
}

.custom-busket-price {
    margin-bottom: 30px;
}

.custom-busket-price > span:first-child{
    font-weight: 600;
    font-size: 28px;
    line-height: 30px;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    color: #29293A;
    margin-right: 10px;
}

.custom-busket-price > span:last-child {
    font-size: 24px;
    line-height: 24px;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    text-decoration: line-through;
    color: #999BA7;
    position: relative;
    top: 3px

}

.custom-busket-promo {
    margin-bottom: 30px;
}

.custom-busket-promo input[type="text"] {
    width: calc(100% - 65px);
    background: #FFFFFF;
    border: 1px solid #CFD8DD;
    height: 45px;
    line-height: 45px;
    padding-left: 15px;
    padding-right: 50px;
    font-weight: 600;
    font-size: 16px;
    color: #29293A;
}

.custom-busket-promo input::-webkit-input-placeholder {color: #999BA7;}
.custom-busket-promo input::-moz-placeholder          {color: #999BA7;}/* Firefox 19+ */
.custom-busket-promo input:-moz-placeholder           {color: #999BA7;}/* Firefox 18- */
.custom-busket-promo input:-ms-input-placeholder      {color: #999BA7;}

.custom-busket-promo input.true-code {
    background: url("../img/promo-true.svg") no-repeat white;
    background-position: calc(100% - 18px) center!important;
}

.custom-busket-promo input.true-code.true {
    background: url("../img/promo-true-ok.svg") no-repeat white;
}

.custom-busket-promo .promo-check {
    position: relative;
}

.promo-check input[type="submit"] {
    opacity: 0;
    position: absolute;
    right: 0;
    top:0;
    width: 50px;
    height: 100%;
}



.custom-busket a.btn {

}

.order__item .custom-busket .center {
    margin-top: 0px;
}

@media all and (max-width: 1400px) {
    .custom-cart-item-data-delete span {
        display: none;
    }

    .custom-cart-item-data-delete {
        width: 36px;
        height: 36px;
        padding-right: 0;
        top: -9px;
        margin-left: 30px;
        background-position: center center!important;
    }

}

@media all and (max-width: 992px) {
    .page__item-custom {
        width: 100%;
    }
}

@media all and (max-width: 767px) {
    .custom-cart-item-data .text-right {
        text-align: left;
    }

    .custom-cart-item-data-author {
        margin-bottom: 16px;
    }

    .order__item .basket h2 {
        text-align: left;
    }

    .custom-busket-price {
        text-align: left;
    }

    .order__item .basket .center .btn, .placeorder .btn {
        height: 50px;
        font-size: 20px;
    }
}

@media all and (max-width: 450px) {
    .custom-cart-item-data-price {
        max-width: 175px;
    }

    .custom-cart-item-data-delete {
        margin-left: 12px;
        top: -24px;
    }

    .custom-cart-item-data {
        margin-left: 100px;
    }


}
.placeorder{
	padding: 20px;
}

.order-reg{
	color: #16b6d2;
}
.order-reg:hover {
    color: #ff6f80 !important;
}
.hiddensumm{
	display: none;
}
.promoresult{
	display:none;
	margin-bottom: 20px;
	text-align: center;
}

#reg-pac .formField .password-control, #reg-doc .formField .password-control, #reg-doc_inner .formField .password-control {
    right: 25px !important;
}

.leftMenu ul li ul {
    padding-left: 15px !important;
}
.audio-lections-block{
	margin-top: 16px;
}

.audio-lections-block-header{
	font-family: 'Oswald';
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
}
.audio-lections-block-header:before{
	content: url('../img/audio_lect.png');
	padding-right: 8px;

}
.audio-lections-block ol{
	padding-left: 22px;
}
.audio-lections-block ol li{
	color: #16B6D2;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
}
.audio-lections-block ol li a{
	border-bottom: 1px solid #16B6D2;
	margin-left: 3px;
}
.audio-lections-block ol li a:hover{
	text-decoration: none;
	border-bottom: none;	
}
@media (max-width: 992px) {
	.personal-section  .page .leftCol{
		display: block;
	}
.personal-section  .page .leftCol ul{
	display: flex;
	align-items: center;
	gap: 20px;
	}
.personal-section  .page .leftCol ul li a{
	white-space: nowrap;
	font-size: 13px;
	overflow-x: scroll;	
}
}