/* version 03.06.2025 */

@media (min-width:992px){
.list-az p a:first-child{padding-left:3px}
.list-az p a:last-child{padding-right:0}
}

@media (min-width:992px) and (max-width:1030px){
.main .side-holder .aside{width:238px}
}

@media (min-width:768px) and (max-width:991px){
.header .logo-img img{margin-left: 5px}
.header .logo{background-position-x: 5px}
}

@media (min-width:768px){
.header .search-form{display:block !important}
}

@media (max-width:991px){
.white-box,.gray-box,.green-box,.blue-box,.purple-box{border:none;box-shadow:none;border-radius:0}
.header{display:flex;flex-wrap:wrap;height:auto;padding-bottom:7px;background-size:150px auto}
.header .search-form{-webkit-box-ordinal-group:2;order:1;flex-shrink:0;width:100%;margin-left:10px;position:static;padding-top:10px;padding-right:10px;box-sizing:border-box}
.header :is(.logo,.logo-img,.navigation){flex-shrink:0;-webkit-box-ordinal-group:1;order:0}
.header .navigation{float:right}
.header .navigation > ul{float:right;padding-right:5px;padding-left:0}
.header .logo ul > li,.header .navigation ul > li{padding:3px 4px 2px}
.main .side-holder :is(.content,.aside){width:calc(100% - 6px);margin:0 3px}
.main .side-holder .aside{margin-top:10px}
.main .side-holder .aside .aside-box :is(.gallery-holder,.rating-block){text-align:center}
.main .side-holder .aside .aside-box .gallery-holder .gallery{margin:0 auto}
.main .side-holder .aside .aside-box .switch-holder{margin-top:10px;width:215px}
.main .side-holder .aside .aside-box .switch-holder.active{display:inline-block}
.promo-block{padding-left:15px;padding-bottom:15px}
.promo-block > ul{display:none}
.promo-block > ul.list{display:block}
.login-form{background:none}
.login-form > fieldset{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}
.login-form > fieldset .column{float:none;display:block;clear:none}
.login-form > fieldset .column:nth-child(2){margin:0;position:relative;padding-top:40px;overflow:hidden}
.login-form > fieldset .column:nth-child(2):before{content:'or';color:#777;font-size:16px;text-transform:uppercase;text-align:center;font-weight:bold;height:27px;width:100%;padding-top:10px;position:absolute;top:0;left:0;background:#ebecec}
.login-form > fieldset .border-text{display:none}
.login-form .social-block{text-align:left}
.login-form .social-block .row:last-child{margin-right:0}
.login-form .social-block .row{margin-right:10px}
.login-form .button-holder{float:left}
.login-form .button-holder .green-button{margin-right:20px}
.login-form .column{width:100%}
.login-form .column .section .row{display:block;padding:0;margin-right:10px;margin-bottom:10px;width:100%}
.login-form .column .section .row:last-child{margin-right:0}
.login-form .column .section .row input{float:left}
.payment-block{min-height:auto}
.account-settings .text-input{width:378px !important}
.account-settings .tabset textarea{width:100% !important;box-sizing:border-box}
.paper .paper-text{margin:0}
.footer{height:auto}
.footer .holder{font-size:15px;width:calc(100% - 40px)}
.footer .holder .copyright{text-align:center;line-height:20px;width:100% !important;margin-bottom:10px}
.footer .holder .footer-nav{text-align:center;clear:left;padding-left:0;width:100%}
.footer .holder .footer-nav > ul{margin-left:0;padding-top:0;display:inline-block;float:none}
.footer .holder .footer-nav > ul > li{margin:20px 0;text-align:center}
.footer .holder .box{margin-left:0;padding-left:0;float:none;clear:both}
.footer .holder .box .social{text-align:center}
.footer .holder .box .social > li{float:none;display:inline-block}
.essays-table4{width:75%}
.events-list.essays a{font-size:16px !important}
.events-list.essays .head a{font-size:17px !important}
.events-list.essays>li{margin:12px 0 12px !important;padding:8px 0 0 !important}
.events-list>li:first-child{padding:0 !important}
.aside .box-head{font-size:22px !important}
#update_tip{right:-18% !important;left:auto !important}
#main_search_form{width:100%}
#main_search_form fieldset .row{display: flex;justify-content: space-between}
#main_search_form fieldset .row > input{width: 100% !important;margin-right: 10px}
#main_search_form fieldset .row > span{flex-shrink:0}
#adv_search_form.purple-box{width:100%;margin-left:0;box-sizing:border-box;border-radius:0;border:none;box-shadow:none}
#adv_search_form.purple-box select{float:none}
#join_form fieldset .login-form{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}
#join_form fieldset .login-form .column:first-child{-webkit-box-ordinal-group:1;order:0;margin:0}
#join_form fieldset .login-form .column:nth-child(2){-webkit-box-ordinal-group:3;order:2}
#join_form fieldset .login-form .border-text{-webkit-box-ordinal-group:2;order:1;position:static;margin:10px 0;width:100%;background:#ebecec}
:is(#id_delete_form,#id_unsubscr_form) select{margin-bottom:15px !important}
:is(#id_delete_form,#id_unsubscr_form) .button-holder{width:100% !important}
}

@media (max-width:895px){
.popover .close{width:25px;height:25px;z-index:25;background-color:#000;background-position-x:5px;background-position-y:5px}
}

@media (max-width:767px){
select,input{font-size:16px;line-height:16px;height:auto;box-sizing:border-box;overflow:visible}
.header{display:block;text-align:center;height:auto;overflow:visible;padding-bottom:7px;padding-top:10px;margin-top:0}
.header .search-form .c-button{height:32px}
.header .navigation{width:auto}
.header .logo{float:none;display:inline-block;height:46px !important;margin-top:0;width:100% !important;position:relative;top:0;background-position:center;background-size:contain}
.header .logo-img{float:none;width:auto !important;display:inline-block;margin:0;height:51px}
.header .search-open{display:block;position:absolute;right:2020px;top:23px;width:22px;height:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%231f8cbe' viewBox='0 0 16 16'%3E%3Cpath d='M11.75 10.35a6.5 6.5 0 1 0-1.4 1.4h-0q.0.0.1.1l3.85 3.85a1 1 0 0 0 1.4-1.4l-3.85-3.85a1 1 0 0 0-0-0zM11.75 6.5a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0'%3E%3C/path%3E%3C/svg%3E");cursor:pointer;transition:all .4s linear 0.1s}
.header .search-open.active{opacity:.7}
.header .burger{width:25px;height:25px;position:absolute;left:2015px;top:27px;cursor:pointer;z-index:200;transition:all .4s linear 0.1s}
.header .burger.active span{position:relative;z-index:2}
.header .burger.active span:first-child{transform:rotate(45deg);top:7px}
.header .burger.active span:nth-child(2){opacity:0}
.header .burger.active span:last-child{transform:rotate(-45deg);top:-7px}
.header .burger span{display:block;width:25px;height:2px;background:#038fbe;transition:all .4s ease}
.header .burger span:nth-child(2){margin:5px 0}
.header .navigation{text-align:left;display:inline-block;height:0;max-height:0;width:200px !important;float:none;position:absolute;z-index:11;top:65px;left:2013px;overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,0.1);border-radius:5px;transition:all .4s ease-in}
.header .navigation.active{height:auto;max-height:1000px}
.header .navigation > ul{float:none;height:auto;display:inline-block;width:180px;padding:10px 0 5px 7px}
.header .navigation > ul li{padding:1px 0 7px;margin-left:3px;float:none;background:none}
.header .navigation > ul li span{padding:3px 5px 0 8px}
.main .promo-block{padding-right:15px}
.main .promo-block.bottom .promo-image{display:none}
.content-holder .promo-block{display:none}
.content .paper-list li:not(:first-child){padding-top:22px}
.content .paper-list li .paper{display:none}
.content .paper-list li .description{margin-left:0;margin-top:0}
.content .paper-list .description>p{font-size:15px;margin-top:6px}
.content .paper .holder{height:auto !important}
.category-item h1{font-size: 22px;line-height: 30px}
.category-item .search-form{display:none}
.paging > li{margin-bottom:15px}
.login-form .button-holder{width:100%}
.login-form .button-holder .green-button{text-align:center;width:100%;box-sizing:border-box;margin-right:0}
.login-form .button-holder span.button-title{display:block;float:none}
.login-form .button-holder span.button-title:last-child{clear:both;text-align:left}
.login-form .column .section .row{margin-right:0}
.login-form .column .section .row input{width:100% !important;box-sizing:border-box}
.login-form .column .gray-button{/*width:6px;min-width:auto;*/}
.choose-block .choose-list .holder > .row{display:none}
.choose-block .choose-list .holder > .row.no-border{display:block}
.choose-block .choose-list .holder > .row:first-of-type{display:block}
.upload-form .text-input{width:100% !important;box-sizing:border-box}
.upload-form label{margin-bottom:5px}
.entry .uSlide{box-sizing:border-box}
.account-settings label{width:100% !important;box-sizing:border-box}
.account-settings .text-input{width:100% !important;box-sizing:border-box}
.account-settings .receive-block{padding-left:0}
.account .button-holder.l-button{margin-left:0}
.account .hide{display:none}
.header .search-form{display:none;float:none;width:100%;margin-left:0;left:0;position:relative;right:0;left:0;top:0;padding:7px 0 5px 14px}
.payment_logos > span{float:none !important;margin:0 0 15px 0 !important;text-align: center}
.content .breadcrumbs{margin:0 0 10px}
.categories-block :is(.box-30,.box-40,.box-33){width:100% !important}
.categories-block :is(.box-25){width:50% !important}
.categories-block ul li{margin-left:0 !important}
.topics-block :is(.box-30,.box-40,.box-33){width:100% !important}
.topics-block :is(.box-25){width:50% !important}
.topics-block .box a{margin-left:1px !important}
.popular-topics .box-50{width:100% !important}
.popular-topics .holder ul li{margin-left:0 !important}
.user-table{width:100% !important}
.user-donations .hide{display:none}
.available_only{width:100%;text-align:center;float:left;margin-right:0}
.available_only span{display:inline-block}
.navigation>ul a{letter-spacing:-.04em;font-size:16px}
.popover .popup{width:600px;margin:0 0 0 -300px}
#main_search_form input[type=text]{box-sizing:unset}
#update_tip{right:-25% !important}
#id_info_country{width:100% !important}
}

@media (max-width:750px){
.payment-block .select-method li{margin-bottom:10px}
}

@media (max-width:725px){
.choose-block .choose-list li{width:100%;margin-bottom:30px}
.choose-block .choose-list li:last-child{margin-bottom:0}
}

@media (max-width:660px){
.paypalHeader .languageToggleDisplay{left:30px !important;right:auto !important}
}

@media (max-width:620px){
.account .menu{text-align:center}
.account .menu>ul{float:none;font-size:17px;width:100%}
.account .menu>ul>li{width:33.3%;margin:0}
.account .menu>ul>li:first-child{text-align:left}
.account .menu>ul>li:last-child{text-align:right}
.account .menu .green-button{text-align:center;display:block;float:none;clear:left;margin:15px 0 7px 0}
.account .submenu ul{width:100%;margin:0 auto}
.account .submenu ul li{float:none;width:100%;margin-bottom:15px;box-sizing:border-box}
.account .submenu ul li:last-child{margin-bottom:0}
.account .submenu ul li a{text-align:center;width:100%;box-sizing:border-box}
.account .logout-link{text-align:center;display:block;float:none !important;margin:10px 0 0;clear:both}
.continue_download{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;text-align:center;padding:15px 7px}
.continue_download .download_text{float:none}
.continue_download > a{float:none;display:block;margin-bottom:10px}
.directory ul{margin-left:0px}
.directory ul li{width:100% !important}
.directory ul li a{margin-left:0px}
.popover .popup{width:500px;margin:0 0 0 -250px}
.essays-table4{width:100%}
.categories-block :is(.box-25){width:100% !important}
.topics-block :is(.box-25){width:100% !important}
.topics-block .box a{margin-top:15px !important;font-size:20px !important}
}

@media (max-width:580px){
.main .promo-block .social{display:none}
.promo-block .right-col{float:left;margin:0 0 10px 0}
.promo-block .list{width:100%}
}

@media (max-width:561px){
.upload-form .tabset textarea{width:100% !important;box-sizing:border-box}
.upload-form .row{padding-bottom:23px}
.upload-form .row:last-child{padding-bottom:0}
.upload-form .row select{width:100% !important}
}

@media (max-width:540px){
.upload-form .tabset .control li a{padding:0 0}
.upload-form .tabset .control li{width:50%;margin:0;box-sizing:border-box}
}

@media (max-width:520px){
#update_tip{right:-35% !important}
}

@media (max-width:480px){
.complete_top{height:auto !important;padding:8px 0 8px 0 !important}
.main .promo-block.bottom{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;padding-right:15px}
.main .promo-block.bottom h2{-webkit-box-ordinal-group:1;order:0}
.main .promo-block h2{font-size:20px;line-height:26px;margin-bottom:20px}
.main .promo-block.bottom .promo-image{display:none}
.main .promo-block.bottom .list{-webkit-box-ordinal-group:1;order:0}
.main .promo-block.bottom .c-button{-webkit-box-ordinal-group:2;order:1;text-align:center;margin:22px 0 0 0}
.content-holder h1{font-size:24px}
.agreement{height:90px}
.content .paper-list .info .author{display:block;margin-left:0}
.content .paper .holder .c-button{text-align:center;width:calc(100% - 40px);margin-top:10px;margin-bottom:5px}
.content .paper .holder .r-col{width:100%}
.content .paper .holder .r-col .orange-button.bold.fixed{text-align:center;position:fixed;bottom:0;left:0;width:100%;z-index:1000;border-radius:0;margin:0;padding-left:0;padding-top:10px;padding-bottom:10px;border:none}
.content .breadcrumbs{float:none;font-size: 17px}
.content .breadcrumbs li{padding:5px 5px 5px 0}
.content .breadcrumbs>li:first-child{display:none}
.continue_download .download_text > span{display:block}
.continue_download .download_text > span:first-child{margin:10px 0 3px}
.continue_download .download_text .ext{padding:0 5px}
.continue_download a{font-size:18px}
.continue_download .download_text span a{font-size:20px;line-height:26px}
.login-form .column .section .row{margin-bottom:15px}
.login-form .column .section .row:last-child{margin-bottom:0}
.login-form .column .section .row label{float:none}
.login-form .column .section .row input{float:none;width:250px}
.login-form .column .gray-button{width:calc(100% - 30px);text-align:center}
.login-form .social-block .row {margin-right:0}
.upload-form .row select{font-size:16px;height:auto}
.choose-block h1{font-size:22px;line-height:26px}
.list-az p{line-height:42px}
.list-az p a{padding:15px}
.footer .holder{width:100%;padding:12px 0 0 0}
.footer .holder .box .social span{font-size:14px}
.footer .holder .box .social > li > a{display:flex;align-items:center}
.footer .holder .box .social > li img{width:25px;height:auto}
.paper .row .saved{float:left;margin-left:calc(50% - 38px);margin-top:24px;margin-bottom:8px}
.paper .paper-info{font-size:15px}
.paper .paper-info .w-hide{display:none}
.paper .paper-info .w-50{max-width:50%;display:inline-flex;overflow:hidden}
.paging-holder .row .title{width:100%;text-align:center;margin:0 0px 12px 0}
.paging :is(a,.point){padding:3px 9px}
.paging :is(.prev,.next){padding-top:2px}
.popover .popup{width:450px;margin:0 0 0 -225px}
.essays_page h2 a{font-size:20px}
:is(#id_delete_form,#id_unsubscr_form) select{width:100% !important}
}

@media (max-width:420px){
.select-method label div.ebanx-cc{width:218px}
.select-method input{left:8px;width:11px;height:11px;top:15px}
.select-method label{padding:9px 6px 8px 23px}
.select-method > li{margin:0 8px 0 0}
.select-method > li:last-child{margin:0}
}

@media (max-width:380px){
.upload-form .button-holder{font-size:14px}
}

@media (max-width:375px){
.main .side-holder .aside #update_tip{right:-41% !important}
}

@media (max-width:355px){
.account .menu>ul{font-size:19px}
.account .menu>ul>li{width:100%;text-align:center !important;margin:8px 0}
.popover .popup{width:325px;margin:0 0 0 -162px}
#main_search_form fieldset .holder label:last-child{margin-bottom:0;margin-right:0}
#main_search_form fieldset .holder label{margin-bottom:15px}
}

/* custom */

@media (min-width:992px){
body:is(.tg) .people-block .section-head{font-size:22px}
}

@media (max-width:991px){
body:is(.efs,.afp,.pe,.e24,.re,.op,.abe,.en,.ru) :is(.header .logo,.header .logo-img,.header .navigation){width:50%}
body:is(.ce,.es) :is(.header .logo,.header .logo-img){width:35%}
body:is(.del,.ld,.tg,.fr,.pt) :is(.header .logo,.header .logo-img){width:40%}
body:is(.ce,.es) .header .navigation{width:65%}
body:is(.del,.ld,.tg,.fr,.pt) .header .navigation{width:60%}
body:is(.efs,.afp,.pe,.e24,.re,.op,.abe,.ce,.en,.es,.ru) .header .search-form .text{width:calc(100% - 120px) !important}
body:is(.del,.ld,.tg,.fr,.pt) .header .search-form .text{width:calc(100% - 144px) !important}
body:is(.ce,.es) .login-form > fieldset .column:nth-child(2):before{content:'o' !important}
body:is(.del,.ld,.tg,.fr,.pt) .login-form > fieldset .column:nth-child(2):before{content:'ou' !important}
}

@media (max-width:780px){
body:is(.ce,.tg,.es,.pt) .continue_download{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;text-align:center;padding:15px 7px}
body:is(.ce,.tg,.es,.pt) .continue_download .download_text{float:none}
body:is(.ce,.tg,.es,.pt) .continue_download > a{float:none;display:block;margin-bottom:10px}
}

@media (max-width:767px){
body:is(.efs,.afp,.pe,.e24,.re,.op,.abe,.ce,.en,.es,.ru) .header .search-form .text{width:calc(100% - 98px) !important}
body:is(.del,.ld,.tg,.fr,.pt) .header .search-form .text{width:calc(100% - 116px) !important}
}

@media (max-width:680px){
body:is(.ce) .main .promo-block h2{font-size:24px !important;line-height:34px;margin-bottom:20px}
}

@media (max-width:620px){
body:is(.ld,.tg) .main .promo-block.bottom .c-button{-webkit-box-ordinal-group:2;order:1;text-align:center;margin:22px 0 0 0}
}

@media (max-width:580px){
body:is(.tg) .main .promo-block h2{font-size:20px !important;line-height:26px;margin-bottom:20px}
}

@media (max-width:500px){
body:is(.ce,.ld,.es,.fr,.ru) .upload-form .tabset .control li a{font-size: 13px}
}

@media (max-width:480px){
body:is(.ce) .main .promo-block h2{font-size:26px !important;line-height:36px !important}
body:is(.ld) .main .promo-block.bottom h2{font-size: 22px}
body:is(.ce) .choose-block h1{font-size:20px !important}
body:is(.ce,.del,.ld,.tg,.en,.es,.fr,.pt,.ru) .footer .holder .footer-nav > ul{margin-right:0;padding-top:0;display:block;float:none}
body:is(.ce,.es,.ru) .paper .row .saved{margin-left:calc(50% - 50px) !important}
body:is(.del,.ld,.fr) .paper .row .saved{margin-left:calc(50% - 100px) !important}
body:is(.tg,.pt) .paper .row .saved{margin-left:calc(50% - 32px) !important}
}

@media (max-width:420px){
body:is(.ce) .categories-block .section-head{font-size:22px}
body:is(.tg,.pt) .people-block .section-head{font-size:18px}
}

@media (max-width:400px){
body:is(.ce,.del,.ld,.es,.fr,.ru) .upload-form .tabset .control li a{font-size: 11px}
}

@media (max-width:380px){
body:is(.tg,.pt) .upload-form .tabset .control li a{font-size: 13px}
}

@media (max-width:355px){
body:is(.ce,.del,.ld,.es,.fr) #main_search_form fieldset .holder label{font-size: 13px}
body:is(.tg,.pt) #main_search_form fieldset .holder label{font-size: 11px}
}
