/*!
    Theme Name:   Kasteyev School
    Theme URI:    https://kasteyev.kz
    Author:       Shteklein Maxim
    Author URI:   https://maxweb.kz/
    Description:  Разработана специально для Школы Искусств и дизайна имени Абылхана Кастеева (г. Алматы).
    Requires PHP: 7.4+
    Version:      2.1
    License:      Proprietary
    License URI:  https://kasteyev.kz
    Text Domain:  kasteyevschool
    Tags:         one-column, flexible-header, custom-menu, custom-logo, editor-style, featured-images, translation-ready, block-patterns
*/*,*:before,*:after,*:focus{font-family:"Montserrat",Arial,Helvetica,sans-serif;box-sizing:border-box;outline:none}html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,abbr,address,cite,code,del,dfn,ins,kbd,q,samp,small,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,details,figure,figcaption,footer,header,hgroup,menu,nav,section,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;font-weight:normal;vertical-align:baseline;background:rgba(0,0,0,0)}body,html{height:100%;margin:0;padding:0;background:#f5f5f5;scroll-behavior:smooth;box-sizing:border-box;position:relative}div,span,p,li{white-space:normal}img{border:none;display:inline-block}a{text-decoration:none;color:#482e90}a:hover{color:#ef457a}hr{width:100%;height:1px;padding:0;margin:30px 0;color:#f1e7c3;line-height:1px;border:none;background:#f1e7c3}.clearfix:before,.clearfix:after{content:"";display:block}.clearfix:after{clear:both}.clearfix{zoom:1}.no-scroll{overflow:hidden}article h1{margin:20px 0;font-size:30px;font-weight:700;line-height:120%;color:#482e90}article h1:first-child{margin-top:0}article h2{margin:20px 0;font-size:24px;font-weight:700;line-height:130%;color:#482e90}article h3{margin:20px 0;font-size:18px;font-weight:700;line-height:140%;color:#482e90}article h4,article h5,article h6{margin:20px 0;font-size:18px;font-weight:700;line-height:140%;color:#482e90}article p,article li{margin:20px 0;font-size:18px;font-weight:400;line-height:140%;color:#482e90}article p:first-child{margin-top:0}article p:first-child img{margin-top:0;padding-top:0}article:first-child,article h2:first-child{margin-top:0;padding-top:0}article p:last-child{margin-bottom:0;padding-bottom:0}article a{font-weight:600;color:#482e90}article a:hover{color:#ef457a}article .content-title{font-size:30px;font-weight:700;line-height:140%}article .content-lead{margin:0 0 19px 0;font-size:18px;font-weight:700;line-height:140%}article .content-lead span{font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit}article .content-footer{font-size:18px;font-weight:600;line-height:140%;color:#482e90}article .content-highlight{font-size:16px;font-weight:600}article img{max-width:100%;height:auto}article .content-cover{display:block;margin:0 0 30px 0;padding:0;font-size:0;line-height:0;text-align:center}article .content-cover img{display:inline-block;margin:0}article .content-icon,article .content-image{margin:15px 0;padding:0 0 10px 0;position:relative;background:rgba(0,0,0,0);font-size:0}article .content-icon img,article .content-image img{display:inline-block;position:relative}article .align-left{float:left;margin:0 0 20px 0}article .align-right{float:right;margin:0 0 0 30px}article .align-center{display:block;margin:0 auto}article .content-border{padding:30px 44px;margin:30px 0;font-size:20px;font-weight:600;line-height:140%;box-sizing:border-box;border:1px solid #482e90;border-radius:0;text-align:center}article .content-note{background:rgba(0,0,0,0);font-size:14px;line-height:140%;color:#898d94}article .content-button{min-width:123px;min-height:50px;padding:15px 19px;display:inline-block;margin:3px auto;border:1px solid 1px solid #ef457a;border-radius:5px;background:#ef457a;font-size:18px;font-weight:400;line-height:140%;text-align:center;text-decoration:none;color:#fff;cursor:pointer}article .content-button:hover{background:#ef457a;color:#333;border:1px solid 1px solid #ef457a}article .content-button a{display:block;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit}article .content-cite,article .content-citate{display:block;padding:10px 15px;position:relative;font-size:14px;line-height:140%;font-style:italic}article .content-cite::before,article .content-citate::before{content:"";display:block;position:absolute;left:0;top:0;width:3px;height:100%;background:#482e90}article .content-download{padding-left:35px;background:url(//kasteyev.kz/images/icons/download.svg) no-repeat center left}article big{font-size:20px}article small{font-size:14px}article sub{font-size:12px;line-height:100%;font-weight:400;color:#482e90;vertical-align:sub}article sup{font-size:12px;line-height:100%;font-weight:400;color:#482e90;vertical-align:super}article ul{padding:0;margin:0;list-style:none}article ul li{margin:4px 0;padding:0 0 0 15px;position:relative;font-size:18px;line-height:140%}article ul li::before{content:"";width:5px;height:5px;background:#482e90;font-size:16px;color:#482e90;display:block;border-radius:100%;position:absolute;left:0;top:8px;z-index:2}article ul li:last-child{margin-bottom:0}article ol{padding:0;margin:0}article ol li{margin:4px 0 4px 15px;padding:0 0 0 1px;font-size:18px;line-height:140%}article ol li:last-child{margin-bottom:0}.table-scroll-wrap{padding:10px 0;overflow-x:auto;overflow-y:hidden}.table-scroll-wrap:first-child{padding-top:0}table{width:100%;min-width:850px;padding:0px;border:0;border-collapse:collapse}table td,table th{padding:9px 21px;font-size:18px;line-height:140%;text-align:left;vertical-align:middle;white-space:normal;color:#482e90}thead{background:#e0e0e0}thead th{padding:9px 20px;font-weight:600}tbody td{padding:9px 20px}tbody tr{background:#f2f2f2}tbody tr:nth-child(2n-1){background:#fff}.align-center,.align-center td{text-align:center}.vertical-align,.vertical-align td{vertical-align:middle}button::-moz-focus-inner{margin:-1px;padding:0;border:0}.button{display:inline-block;padding:0 16px;margin:0 auto;border-radius:5px;cursor:pointer;font-size:18px;font-weight:400;line-height:48px;text-align:center;text-decoration:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:2px 2px 6px #333}.button.primary{background:#ef457a;color:#fff;border:1px solid #ef457a}.button.primary:hover{background:#ef457a;color:#333;border:1px solid #ef457a}.button.primary:active{background:#ef457a;color:#333;border:1px solid #ef457a}.button.primary:disabled{background:#ccd4d8;color:#333;border:1px solid #ccd4d8;opacity:.5}.button.primary:disabled:hover{background:#ccd4d8;color:#333;border:1px solid #ccd4d8;opacity:.5}.button.secondary{background:#482e90;color:#fff;border:1px solid #482e90}.button.secondary:hover{background:#ef457a;color:#333;border:1px solid #ef457a}.button.secondary:active{background:#ef457a;color:#333;border:1px solid #ef457a}.button.secondary:disabled{background:#ccd4d8;color:#333;border:1px solid #ccd4d8;opacity:.5}.form,form{display:block;margin:0;padding:0;font-size:0;position:relative}.form{width:100%;max-width:400px;padding:41px 20px 42px 20px;position:relative;background:#fff;border-radius:0;text-align:center;box-shadow:10px 10px 35px rgba(225,37,27,.25)}.form .form-border{position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0;overflow:hidden}.form .form-title{padding:0 30px;margin:0 0 5px 0;font-size:20px;font-weight:600;line-height:140%;color:#482e90}.form .form-description{margin:0 30px 12px 30px;padding:0 10px;font-size:12px;font-weight:400;line-height:140%;color:#828282}.form .form-fields{margin-top:22px}.form .form-footer{margin-top:15px;clear:both;font-size:0;text-align:center;position:relative;z-index:0}.form .button{width:auto}.form .valid{background:url(//kasteyev.kz/images/icons/valid.svg) top 25px right no-repeat}.form .valid .input-wrap .textbox,.form .valid .input-wrap .textarea,.form .valid .input-wrap .ui-selectbox{border:1px solid #6fcf97}.form .valid .error-msg{display:none}.form .invalid{background:url(//kasteyev.kz/images/icons/invalid.svg) top 25px right no-repeat}.form .invalid .input-wrap .textbox,.form .invalid .input-wrap .textarea,.form .invalid .input-wrap .ui-selectbox{border:1px solid #eb5757}.form .invalid .error-msg{display:block}.form .error-msg{display:none;margin-top:5px;font-size:12px;line-height:140%;color:#eb5757;text-align:left}.textbox,.textarea{width:100%;margin:0;padding:14px 10px;font-size:18px;color:#482e90;vertical-align:top;background-color:#fff;outline:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none;border:1px solid #ccd4d8;border-radius:5px}.textbox:focus,.textarea:focus{box-shadow:none}.textbox.error,.textarea.error{background-color:#fffcd3 !important}.textarea{min-height:100px;resize:none;overflow:auto}.form-group{display:flex;flex-flow:row wrap;margin:0 -5px;margin:0 auto}.form-field{width:100%;margin:0;padding:5px 5px;display:flex;flex-flow:row nowrap;justify-content:center;font-size:0;z-index:1}.form-field .last-child{margin-bottom:0}.form-field .input-wrap{max-width:300px;width:100%;position:relative}.form-field label{padding:0px 15px;font-size:18px;font-weight:400;line-height:140%;color:#482e90;position:absolute;top:14px;left:0;cursor:text}.form-field .textbox,.form-field .textarea{height:50px;padding:24px 15px 4px 15px}.form-field .active label{padding-bottom:0;font-size:12px;color:#828282;transform:translate(0, -9px);top:15px}.form-field .active .textbox,.form-field .active .textarea{padding:24px 15px 4px 15px}::-webkit-input-placeholder{color:#482e90;opacity:1}::-moz-placeholder{color:#482e90;opacity:1}:-moz-placeholder{color:#482e90;opacity:1}:-ms-input-placeholder{color:#482e90;opacity:1}input::-moz-focus-inner{padding:0;border:0}input:invalid,textarea:invalid,select:invalid{box-shadow:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input{filter:none}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #fff inset !important}.overlay{display:none;margin:0;padding:0;position:absolute;top:5px;left:-5px;right:-5px;bottom:-5px;z-index:1000;background-color:rgba(255,255,255,.5)}.overlay::before{content:".";display:block;font-size:0;color:rgba(0,0,0,0);position:absolute;left:50%;top:50%;width:55px;height:55px;margin:-30px 0 0 -30px;border-radius:50%;border:5px solid #ef457a;border-right:5px solid rgba(0,0,0,0);border-bottom:5px solid rgba(0,0,0,0);-webkit-animation:overlay-spin 3s infinite linear;animation:overlay-spin 3s infinite linear}@-webkit-keyframes overlay-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes overlay-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-list{font-size:0}.content-list .list-item{margin-bottom:15px}.content-title,.content-title a,.content-list-item .title{font-size:18px;line-height:140%}.content-description,.content-list-item .description{font-size:18px;line-height:140%;color:#482e90}.content-date,.content-list-item .date{font-size:14px;line-height:100%;color:#828282;font-weight:400}.content-text{margin:20px 0;font-size:18px;line-height:140%;cursor:default}.content-text *{margin:20px 0;font-size:18px;line-height:140%}.content-text p,.content-text li{color:#482e90}.content-text p:first-child,.content-text h2:first-child,.content-text h3:first-child{margin-top:0;padding-top:0}.content-text p:last-child{margin-bottom:0;padding-bottom:0}.content-image{display:inline-block;position:relative;font-size:0;text-align:center;vertical-align:middle;overflow:hidden}.content-image a{display:block;overflow:hidden}.content-image img{width:100%;height:auto}.content-address{font-size:18px;font-weight:400;line-height:140%;text-decoration:none;color:#482e90}.content-phone{font-size:18px;font-weight:400;line-height:140%;text-decoration:none;color:#482e90}.content-phone a{color:inherit;cursor:inherit}.content-phone a:hover{color:inherit;cursor:inherit}.content-email{font-size:18px;font-weight:400;line-height:140%;text-decoration:none}.content-file{display:block;background:url(//kasteyev.kz/images/icons/file.svg) left 8px no-repeat;padding-left:21px;font-size:18px;font-weight:400;line-height:165%;text-decoration:none;color:#00afca}.content-file :hover{background-image:url(//kasteyev.kz/images/icons/file-hover.svg)}.content-social{margin:0 10px}.page-cover{width:100%;height:240px;padding:0;margin-bottom:0;text-align:center;position:relative;overflow:hidden}.page-cover img{width:100%;height:100%;object-fit:cover;object-position:center center}.page-title{margin-bottom:30px}.page-title h1{margin:0;font-size:32px;font-weight:700;line-height:140%;color:#ef457a;text-align:center}.page-crumbs{height:45px;display:flex;flex-flow:row nowrap;margin-bottom:5px;padding:10px 20px 0px 20px;font-size:14px;font-weight:400;line-height:140%;list-style:none;color:#879092;position:relative;overflow:hidden}.page-crumbs *{white-space:nowrap}.page-crumbs>span{height:45px;padding-bottom:10px;overflow-y:auto}.page-crumbs a{display:inline-block;margin:0 4px;font-size:16px;font-weight:400;line-height:140%}.page-crumbs a:first-child{margin-left:0}.page-crumbs .breadcrumb_last{margin:0 4px;font-size:16px;font-weight:400;line-height:140%;color:#482e90}.no-desktop{display:none}.block-title{font-size:32px;line-height:140%;font-weight:700;color:#ef457a;margin:0 0 8px 0}.block-title span{font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit}.container{width:100%;margin:0 auto}.row{display:flex;flex-flow:row wrap;flex-grow:1;margin:0 -10px}.col-1,.col-2,.col-2-4,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col,.col-auto,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto,.col-lg-auto,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto .col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm,.col-sm-auto,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs,.col-xs-auto{position:relative;width:100%;padding:10px 10px}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 8.333333%;max-width:8.333333%}.col-2{flex:0 0 16.666667%;max-width:16.666667%}.col-2-4{flex:0 0 20%;max-width:20%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.333333%;max-width:33.333333%}.col-5{flex:0 0 41.666667%;max-width:41.666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.333333%;max-width:58.333333%}.col-8{flex:0 0 66.666667%;max-width:66.666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.333333%;max-width:83.333333%}.col-11{flex:0 0 91.666667%;max-width:91.666667%}.col-12{flex:0 0 100%;max-width:100%}.slider-wrap{position:relative;font-size:0}.slider .slick-track{min-width:810px}.slider .slick-dots{text-align:center;position:absolute;left:0;right:0;bottom:41px;z-index:6}.slider .slick-dots li{display:inline-block;font-size:0;margin:0 6px}.slider .slick-dots button{width:15px;height:15px;padding:0;margin:0;display:inline-block;font-size:0;cursor:pointer;outline:none;border:0;border-radius:100%;opacity:.5}.slider .slick-dots button:hover,.slider .slick-dots .slick-active button{opacity:1}.slider .slick-slide{text-align:center}.slider .slick-slide img{max-width:100%;margin:0 auto}.slick-arrow{width:50px;height:50px;display:flex !important;flex-flow:row nowrap;align-items:center;justify-content:center;background:rgba(0,0,0,0);margin-top:-25px;border:none;border-radius:100%;font-size:0;color:#fff;cursor:pointer;position:absolute;top:50%;z-index:2}.slick-arrow.slick-hidden{display:none !important}.slick-arrow-wrap{max-width:1180px;width:100%;height:0;position:relative}.slick-arrow-wrap .slick-arrow{margin-top:-80px}.slick-arrow-wrap .slick-arrow:hover{background:#9c6917;border:2px solid #9c6917;color:#fff}.slick-arrow-wrap .slick-next{right:10px}.slick-arrow-wrap .slick-prev{right:70px}.slick-vertical .slick-slide{border:0}.slick-slide img{max-width:100%}.js-fancybox{outline:none}.fancybox-bg{background:rgba(40,59,69,.2)}.fancybox-slide .overlay{top:-10px;left:-25px;right:-25px;bottom:-25px}.fancybox-slide .form{width:100%;max-width:400px;padding:23px 30px 33px 30px;position:relative;background:#fff;border:none;border-radius:3px;text-align:center;box-shadow:10px 10px 35px rgba(225,37,27,.25)}.fancybox-slide .form .form-field{justify-content:flex-start}.fancybox-slide .form .form-field .input-wrap{margin:0 auto}.fancybox-slide .form .button{line-height:36px}.fancybox-slide .fancybox-alert{display:inline-block;max-width:440px;width:100%;margin:0;padding:55px 40px;text-align:center;border-radius:3px;box-shadow:0px 10px 30px rgba(72,139,127,.29)}.fancybox-slide .fancybox-alert h1{margin:0 0 5px 0;font-size:18px;font-weight:600;line-height:140%;text-transform:none;text-align:center;color:#482e90}.fancybox-slide .fancybox-alert p{margin:0;padding:0;font-size:18px;line-height:140%;color:#482e90;text-align:center;color:#828282}.fancybox-lock{width:auto}.fancybox-lock body{overflow:hidden !important}.fancybox-close-small{width:20px;height:20px;right:20px;top:20px;background:none}.fancybox-close-small:hover svg path{fill:#ef457a;transition:all .5s ease}.fancybox-close-small::after{display:none}.fancybox-close-small:focus::after{outline:0 none}.fancybox-slide>#form_order,.fancybox-slide>#form_course{padding:0;background:rgba(0,0,0,0);overflow:hidden}.fancybox-slide--html .fancybox-close-small{padding:0;right:12px;top:12px}.fancybox-video-wrap .video-container{padding:0;width:80%;height:80%;max-width:calc(100% - 100px);max-height:calc(100% - 88px);overflow:visible;background:rgba(0,0,0,0)}.fancybox-video-wrap .video-container video{max-width:100%;max-height:100%;width:auto;height:100%;margin:auto;padding:0;display:block;border:0}.fancybox-map{padding:0;width:calc(100% - 100px);height:calc(100% - 88px);max-width:1160px;max-height:600px;overflow:visible;background:rgba(0,0,0,0)}.fancybox-active{height:100%}.content-image:hover img{transform:scale(1.1);transition:all .5s ease}a,a::before,.slick-arrow,.button,.page-course .title,.header-bottom,.pagination a,.pagination .current,.zoom,.form-field label{transition:all .5s ease}@keyframes arrow_moving{0%{transform:translate(0, -3px)}50%{transform:translate(0, 3px)}100%{transform:translate(0, -3px)}}@keyframes fade_in_text{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}100%{opacity:1;-webkit-transform:none;transform:none}}.page-404{width:100%;height:100%;padding:80px 0;margin:auto 0;display:flex;flex-flow:row nowrap;justify-content:center;align-items:flex-start}.page-404 .center-wrap{align-items:center;justify-content:center}.page-404 .page-404-title{font-size:24px;font-weight:600;line-height:140%;color:#482e90}.page-404 .page-404-image,.page-404 .page-404-block{margin:0 40px}.result-message{margin-bottom:10px;font-size:16px;line-height:22px;color:#fff;text-align:left;border-radius:3px}.result-message.success{padding:15px 15px;background-color:#6fcf97}.result-message.error{padding:15px 15px;background-color:#eb5757}.result-message.warning{padding:15px 15px;background-color:#ffba40}.move-up{width:50px;height:50px;display:flex;flex-flow:row;align-items:center;justify-content:center;background:#fff;color:#eb5757;border:1px solid rgba(0,0,0,0);border-radius:100%;position:fixed;right:30px;bottom:-60px;z-index:7;opacity:0;cursor:pointer;box-shadow:0px 0px 5px #777}.move-up:hover{background:#fff;border:1px solid rgba(0,0,0,0);color:#eb5757;box-shadow:0px 0px 5px #eb5757}.fixed .move-up{bottom:30px;opacity:1}.fixed .move-up.button-static{position:absolute;top:0}header{width:100%;padding:0 20px;margin-bottom:16px;display:flex;flex-flow:column nowrap;align-items:center}header .header-top{width:100%;padding:8px 0;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}header .logo{max-width:400px;width:100%;display:block;font-size:0}header .custom-logo-link{max-width:130px;margin:0 auto;display:block}header .custom-logo-link img{max-width:130px;width:100%;height:auto;display:block}header .block-social a{margin-right:2px}header .slogan{max-width:400px;width:100%;font-size:20px;font-weight:600;line-height:140%;color:#482e90;text-align:center}header .block-left{max-width:50%;width:100%;display:flex;flex-flow:row nowrap;align-items:center}header .block-right{display:flex;flex-flow:row nowrap;align-items:center}header .block-address .address{margin-bottom:16px}header .block-address .address a{margin:3px 0 0 0;padding-left:20px;display:block;position:relative;transition:none}header .block-address .address a::before{content:"";width:14px;height:14px;display:block;background:url(//kasteyev.kz/wp-content/themes/kasteyevschool/img/home.svg) left center no-repeat;background-size:contain;position:absolute;left:0;top:1px;z-index:2}header .block-address .address a:hover::before{width:14px;height:14px;background:url(//kasteyev.kz/wp-content/themes/kasteyevschool/img/home-hover.svg) left center no-repeat;background-size:contain}header .block-address strong{color:#482e90}header .block-contacts{width:283px;margin:2px 0 0 30px;display:flex;flex-flow:column nowrap;align-items:flex-end;justify-content:flex-end;flex-shrink:0}header .block-contacts a{margin-bottom:6px;display:block}header .block-contacts svg{margin-right:4px;width:13px;height:13px}header .block-contacts .button{margin-top:1px;font-size:16px;font-weight:400;line-height:32px;color:#fff;text-transform:uppercase}header .header-bottom{width:100%;padding:10px 0;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;border-top:1px solid #f1e7c3;border-bottom:1px solid #f1e7c3}header .header-bottom .menu{display:inline-flex;list-style:none}header .header-bottom .menu li{padding:0 8px}header .header-bottom .menu li.current-menu-item a,header .header-bottom .menu li.current_page_parent a,header .header-bottom .menu li.current-page-ancestor a{color:#ef457a}header .header-bottom .menu li a{font-size:16px;font-weight:700;line-height:140%;letter-spacing:.5px}.slogan-mobile-wrap{width:100%;padding:10px 0;border-top:1px solid #f1e7c3;border-bottom:1px solid #f1e7c3}.slogan-mobile{width:100%;font-size:20px;font-weight:600;line-height:140%;color:#482e90;text-align:center}.social{display:flex;flex-flow:row nowrap;align-items:center}.social a{width:25px;height:25px;margin-right:25px;display:block;background-color:rgba(0,0,0,0);background-position:center center;background-repeat:no-repeat;border:0}.social a:hover.facebook{background-image:url(//kasteyev.kz/images/icons/facebook-hover.svg)}.social a:hover.instagram{background-image:url(//kasteyev.kz/images/icons/instagram-hover.svg)}.social a:hover.youtube{background-image:url(//kasteyev.kz/images/icons/youtube-hover.svg)}.social a:last-child{margin-right:0}.social .facebook{background-image:url(//kasteyev.kz/images/icons/facebook.svg)}.social .instagram{background-image:url(//kasteyev.kz/images/icons/instagram.svg)}.social .youtube{background-image:url(//kasteyev.kz/images/icons/youtube.svg)}.pagination{margin:0;display:flex;flex-flow:row wrap;list-style:none;font-size:0}.pagination a,.pagination .current{width:25px;height:25px;margin:0;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;text-align:center;font-size:18px;font-weight:400;line-height:140%;color:#482e90;border-radius:100%}.pagination a:last-child,.pagination .current:last-child{margin-right:0}.pagination a:hover,.pagination .current:hover{color:#ef457a}.pagination .current{color:#ef457a}.pagination .dots{width:25px;height:25px;margin:0;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;font-size:16px;font-weight:400;line-height:100%;color:#482e90}.pagination-wrap{margin:0 0 40px 0;display:flex;flex-flow:row wrap;font-size:0}.nav-pager{margin-left:auto}.search{width:330px;margin-bottom:30px}.search form{width:100%;display:flex;flex-flow:row nowrap}.search form .textbox{width:100%;height:50px;padding:14px 50px 14px 20px;position:relative;background:#fff;font-size:15px;font-weight:400;line-height:140%;color:#482e90;border-radius:200px;border:0}.search form .textbox::-webkit-input-placeholder{color:#90989e;opacity:1}.search form .textbox::-moz-placeholder{color:#90989e;opacity:1}.search form .textbox:-moz-placeholder{color:#90989e;opacity:1}.search form .textbox:-ms-input-placeholder{color:#90989e;opacity:1}.search form .button-search{width:56px;height:100%;flex-shrink:0;background:url(//kasteyev.kz/images/icons/search.svg) center center no-repeat;position:absolute;right:0;top:0;border:0;cursor:pointer}.search form .button-search:hover{background:url(//kasteyev.kz/images/icons/search-hover.svg) center center no-repeat}.search form .empty-button{width:37px;height:100%;padding-left:5px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;background:#fff;transform:translateY(-50%);position:absolute;top:50%;right:45px;opacity:0;cursor:pointer}.search form .empty-button.show{opacity:1}.search form .empty-button:hover svg path{fill:#482e90}.contacts-map{display:block;margin:0;position:relative;width:100%;height:520px;font-size:0;border:10px solid #fff}.contacts-map::before{content:".";display:block;position:absolute;left:50%;top:50%;width:55px;height:55px;margin:-30px 0 0 -30px;border-radius:50%;border:5px solid #545654;border-right:5px solid rgba(0,0,0,0);border-bottom:5px solid rgba(0,0,0,0);font-size:0;color:rgba(0,0,0,0);-webkit-animation:overlay-spin 3s infinite linear;animation:overlay-spin 3s infinite linear}.ymaps-b-balloon,.map-baloon,.ymaps-b-balloon__content-head{font-size:14px !important;line-height:19px !important}.ymaps-b-balloon__content-head{font-weight:700}.map-baloon{font-size:14px;line-height:21px}.map-baloon p{margin:0;padding:0}.dg-popup__container{min-width:200px}footer{padding:33px 50px;background:#482e90}footer .footer-wrap{margin:0;flex-wrap:nowrap;align-items:center}footer .left-block{padding:0;display:flex;flex-flow:row nowrap;align-items:flex-start}footer .left-block .phone{margin-bottom:9px;display:flex;align-items:center;font-size:14px;font-weight:400;line-height:100%;color:#fff}footer .left-block .phone svg{width:13px;margin-right:10px}footer .left-block .email{color:#fff}footer .left-block .email:hover{color:#ef457a}footer .left-block .email svg{width:16px}footer .left-block .block-social{margin-left:20px;display:flex;flex-flow:row nowrap;align-items:flex-start}footer .left-block .block-social a{margin-right:10px}footer .contacts{margin-bottom:20px}footer .right-block{padding:0;display:flex;flex-flow:column nowrap;align-items:flex-end;text-align:left}footer .right-block strong{display:block;margin-bottom:6px;font-size:14px;line-height:140%;color:#fff}footer .right-block a{height:16px;padding-left:20px;margin-bottom:6px;display:flex;align-items:center;position:relative;font-size:14px;font-weight:400;line-height:100%;color:#fff;transition:none}footer .right-block a::before{content:"";width:14px;height:14px;display:block;background:url(//kasteyev.kz/wp-content/themes/kasteyevschool/img/home-footer.svg) left center no-repeat;background-size:contain;position:absolute;left:0;top:1px;z-index:2}footer .right-block a:hover{color:#ef457a}footer .right-block a:hover::before{width:14px;height:14px;background:url(//kasteyev.kz/wp-content/themes/kasteyevschool/img/home-hover.svg) left center no-repeat;background-size:contain}footer .right-block .address{margin-bottom:12px}.main-wrap{min-height:100%;min-width:960px;position:relative;display:flex;flex-flow:column nowrap;justify-content:space-between}.content-wrap{max-height:100%;height:100%;width:100%;margin:0 auto;display:flex;flex-flow:column nowrap;flex-grow:1;position:relative}.center-wrap,.center-wrap-column{max-width:1160px;width:100%;margin:0 auto;display:flex;flex-flow:row nowrap;position:relative;font-size:0}.center-wrap-column{flex-direction:column}.block-title{margin:0 0 15px 0;text-align:center}section,.content{width:100%}.page-article{margin-bottom:80px}.page-article article{width:100%}.page-article iframe{width:100%;min-height:300px}.content-empty,.content-empty *{width:100%;padding:30px;font-size:18px;font-weight:400;line-height:140%;color:#482e90;border:1px solid #ccd4d8;background-color:#eef2f2}.blocks-gallery-grid,.wp-block-gallery{justify-content:center}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){flex-grow:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{flex-grow:0;margin:0;padding:12px 12px}.blocks-gallery-grid.columns-4 .blocks-gallery-image figure,.blocks-gallery-grid.columns-4 .blocks-gallery-item figure,.wp-block-gallery.columns-4 .blocks-gallery-image figure,.wp-block-gallery.columns-4 .blocks-gallery-item figure{align-items:flex-start}.blocks-gallery-grid ul li::before,.wp-block-gallery ul li::before{display:none}.block-slider{max-height:700px;margin:0 0 40px 0;position:relative;overflow:hidden}.block-slider .slider-wrap{cursor:grab}.block-slider .slick-slide{height:720px}.block-slider .slick-slide>div{height:inherit}.block-slider .slide-item{width:100%;height:100%;position:relative}.block-slider .slick-arrow{color:#482e90}.block-slider .slick-arrow:hover{color:#ef457a}.block-slider .slick-next{right:30px}.block-slider .slick-prev{left:30px}.block-slider .slide-content{width:100%;height:100%;display:flex;flex-flow:row nowrap;align-items:center;position:absolute;top:0;opacity:0;z-index:2}.block-slider .slide-content.center{justify-content:center}.block-slider .slide-content .slide-title{max-width:740px;width:auto;padding:30px 50px;display:flex;flex-flow:column nowrap;background-color:rgba(0,0,0,.5);font-size:30px;line-height:130%;font-weight:500;color:#fff;text-align:center;position:absolute}.block-slider .slide-content .slide-title .button{margin-top:16px;line-height:32px;text-transform:uppercase}.block-slider .slick-active .slide-content{opacity:1}.block-slider img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;position:relative;z-index:1}.block-slider .slider-pointer{width:36px;height:36px;margin-left:-18px;position:absolute;bottom:39px;left:50%;animation:arrow_moving 1.3s ease infinite}.block-slider .video-background{min-width:100%;min-height:100%;width:100%;height:100%;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;position:absolute;overflow:hidden;z-index:2}.block-slider .video-background video{width:100%;height:100%;display:block;object-fit:cover;left:0;top:0}.block-courses{margin-bottom:40px}.block-courses>.wp-block-group__inner-container{max-width:1160px;width:100%;margin:0 auto;display:flex;flex-flow:row nowrap;position:relative;font-size:0}.block-courses h1{margin:0 0 15px 0;font-size:32px;line-height:140%;font-weight:700;color:#ef457a;text-align:center}.block-courses p{font-size:20px;line-height:26px;line-height:130%;color:#303030}.block-courses .course-url{width:100%;height:100%;display:block;position:relative}.block-courses .course-url::before{content:"";width:100%;height:100%;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;background:rgba(0,0,0,.6);margin:0;padding:5px 5px;opacity:1;position:absolute;top:0;left:0;border-bottom:5px solid #f87631;transition:all .4s ease-in-out,color .4s ease-in-out}.block-courses .course-url img{max-width:100%;width:100%;height:auto;display:block}.block-courses .course-url .title{width:100%;height:100%;padding:5px 5px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;font-size:17px;font-weight:400;line-height:140%;color:#fff;text-align:center;transition:all .5s ease;position:absolute;top:0;left:0}.block-courses .course-url .title:hover{color:#f87631}.block-courses .wp-block-buttons{width:100%;margin-top:20px;display:flex}.block-courses .wp-block-buttons .wp-block-button{margin:0 auto}.block-courses .wp-block-buttons a{padding:0 16px;display:inline-block;cursor:pointer;font-size:18px;font-weight:400;line-height:32px;text-align:center;text-decoration:none;text-transform:uppercase;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:all .5s ease;box-shadow:2px 2px 6px #333;background:#ef457a;color:#fff;border:1px solid #ef457a;border-radius:5px}.block-courses .wp-block-buttons a:hover{background:#ef457a;color:#333;border:1px solid #ef457a}.block-courses .front-page-text{padding-left:40px}.block-courses .front-page-text h2{font-size:32px;font-weight:700;line-height:140%;color:#ef457a}.block-courses .front-page-text ul{list-style:none}.block-courses .front-page-text ul li{margin:10px 0;padding-left:26px;font-size:20px;font-weight:500;line-height:140%;color:#303030;position:relative}.block-courses .front-page-text ul li::before{content:"";width:20px;height:20px;display:block;background:url(//kasteyev.kz/wp-content/themes/kasteyevschool/img/brush.svg) left center no-repeat;background-size:contain;position:absolute;left:0;top:5px}.block-advantages{padding:40px 0 60px 0;margin-bottom:50px;background:#482e90}.block-advantages .block-title{margin:0 0 35px 0}.block-advantages .row{margin:-20px -20px;justify-content:center}.block-advantages .advantage-title{display:flex;flex-flow:column nowrap;font-size:30px;font-weight:700;line-height:140%;color:#fff;text-align:center;position:relative}.block-advantages .spincrement{margin-bottom:18px;font-size:36px;font-weight:700;line-height:140%;color:#fff;text-align:center;position:relative}.block-advantages .spincrement::before{content:"";width:62px;height:1px;background-color:#fff;position:absolute;bottom:-14px;left:50%;transform:translate(-50%, 0)}.block-advantages .spincrement::after{content:"";width:7px;height:7px;background-color:#fff;border-radius:50%;position:absolute;bottom:-17px;left:50%;transform:translate(-50%, 0)}.block-teachers{margin-bottom:50px;overflow:hidden}.block-teachers .slick-arrow{top:140px;color:#482e90}.block-teachers .slick-arrow:hover{color:#ef457a}.block-teachers .slick-next{right:-50px}.block-teachers .slick-prev{left:-50px}.block-teachers .carousel{cursor:grab}.block-teachers .block-title{margin:0 0 25px 0}.block-teachers .teacher{padding:0 10px;display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;text-align:center}.block-teachers .teacher-img{width:270px;height:270px;display:block;border-radius:100%;overflow:hidden}.block-teachers .teacher-img img{max-width:100%;height:auto}.block-teachers .teacher-name{margin:10px auto;font-size:21px}.block-video{margin-bottom:50px;padding:40px 0 60px 0;background:#482e90}.block-video .block-title{margin:0 0 30px 0}.block-video .responsive-element-wrapper{width:100%;max-width:600px;max-height:315px;margin:0 auto;position:relative;overflow:hidden}.block-video .responsive-element-wrapper img{width:100%;height:100%;object-fit:cover;object-position:center center}.block-video .responsive-element-wrapper .start-button{width:68px;height:48px;margin:-24px 0 0 -34px;position:absolute;top:50%;left:50%}.block-video .undervideo-link{margin-top:35px;text-align:center}.block-video .undervideo-link .button{line-height:30px}.block-reviews{margin-bottom:50px}.block-reviews .block-title{margin:0 0 35px 0}.block-reviews .review{padding:0 20px}.block-reviews .review-img{width:88px;height:88px;margin:0 auto 15px auto;border-radius:100%;overflow:hidden}.block-reviews .review-title{margin:0 auto 15px auto;font-size:18px;text-align:center;font-weight:700;color:#482e90}.block-reviews .review-text{font-size:18px;font-weight:400;line-height:140%;color:#482e90;text-align:center;word-wrap:break-word}.block-text{margin-bottom:50px}.block-text article{font-size:18px;font-weight:400;line-height:140%;color:#303030;text-align:center}.page-gallery{margin-bottom:43px}.page-gallery .blocks-gallery-grid .blocks-gallery-item a{text-align:center}.page-gallery .blocks-gallery-grid .blocks-gallery-item img{margin-bottom:10px}.blog .content-list-item{margin-bottom:30px;display:flex;flex-flow:row nowrap;align-items:flex-start}.blog .content-image{margin:0 30px 30px 0;display:block;flex:0 0 320px}.blog .content-title{font-size:16px;line-height:100%}.blog .content-url{margin-bottom:20px;display:block;font-size:16px;font-weight:700;line-height:140%;color:#482e90}.blog .content-date,.blog .content-description{margin-bottom:20px;font-size:16px;font-weight:400;line-height:140%;color:#482e90}.page-video{margin-bottom:50px}.page-video .wp-block-column{margin:15px 15px;max-height:280px;overflow:hidden}.page-video .wp-block-embed iframe{height:280px}.page-contacts{margin-bottom:50px}.page-contacts .map{width:100%;height:450px;margin-top:50px}.page-course .center-wrap,.page-course .center-wrap-column{margin-bottom:50px}.page-course .course-url{margin-bottom:20px;display:block;text-align:center}.page-course .course-url img{max-width:100%;height:auto}.page-course .course-url .title{padding-top:10px;display:block;font-size:18px;font-weight:400;line-height:140%;color:#482e90;text-align:center}.page-course .course-url:hover .title{color:#ef457a}.page-course .buttons-wrap{margin-top:30px}.page-course .buttons-wrap .button{margin:0 20px 20px 0;line-height:30px}.page-timetable .center-wrap,.page-timetable .center-wrap-column{margin-bottom:50px}.page-timetable .blocks-gallery-grid .blocks-gallery-item a{text-align:center}.page-timetable .blocks-gallery-grid .blocks-gallery-item img{margin-bottom:10px}@media only screen and (max-width: 1350px){.center-wrap,.center-wrap-column{padding:0 20px}header .logo{max-width:160px}header .custom-logo-link{margin:0}header .block-left{max-width:320px}header .slogan{max-width:250px;font-size:16px}header .block-address .address a{font-size:15px}.block-courses>.wp-block-group__inner-container{padding:0 20px}.block-courses .front-page-text{padding-left:30px}.block-courses .front-page-text h2{font-size:26px}.block-courses .courses-wrap .course-url .title{font-size:14px}.block-advantages .advantage-title{font-size:24px}.block-teachers .center-wrap,.block-teachers .center-wrap-column{padding:0 30px}.block-teachers .teacher-img{width:220px;height:220px}.block-teachers .teacher-name{font-size:20px}.block-teachers .slick-arrow{top:114px}.block-teachers .slick-prev{left:-35px}.block-teachers .slick-next{right:-35px}.block-reviews .review-text{font-size:16px}.blocks-gallery-grid.columns-4 .blocks-gallery-item,.blocks-gallery-grid.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image{width:25%}.blocks-gallery-grid.columns-4 .blocks-gallery-item a,.blocks-gallery-grid.columns-4 .blocks-gallery-image a,.wp-block-gallery.columns-4 .blocks-gallery-item a,.wp-block-gallery.columns-4 .blocks-gallery-image a{width:100%}.page-article .blocks-gallery-grid,.page-gallery .blocks-gallery-grid,.page-timetable .blocks-gallery-grid{margin:0 -10px}}@media only screen and (max-width: 992px){.no-mobile{display:none}.no-desktop{display:block}.main-wrap{min-width:320px;padding-top:50px}.content-wrap{margin:0 auto}.col-md-4{flex:0 0 33.3333%;max-width:33.3333%}.col-md-6{flex:0 0 50%;max-width:50%}header{width:100%;height:50px;padding:0 15px;margin-bottom:0;background:#482e90;position:absolute;top:0;left:0;z-index:9;box-shadow:0px 0px 7px rgba(34,31,32,.4)}header .custom-logo-link{height:44px}header .logo{height:100%;margin:0 0 0 30px;padding:0;text-align:left}header .logo img{width:auto;max-height:100%}header .block-social,header .block-address,header .slogan{display:none}header .block-left{max-width:135px}header .header-top{height:100%;padding:4px 0}header .block-contacts{margin:0}header .block-contacts a{display:none}header .block-contacts .call-button{margin:0;display:block}header .header-bottom{max-width:350px;height:100vh;padding:0;flex-flow:column nowrap;align-items:flex-start;justify-content:flex-start;background:#fff;position:absolute;top:50px;left:0;transform:translateX(-100%)}header .header-bottom .menu{display:flex;flex-flow:column nowrap}header .header-bottom .menu li{width:100%;padding:0 8px;border-bottom:1px solid #ccd4d8}header .header-bottom .menu li a{min-height:48px;margin:0;padding:13px 5px;display:block}header .menu-menju-v-shapke-container{width:100%}header .menu-contacts{margin-top:15px;padding:15px 15px;display:flex;flex-flow:column nowrap}header .menu-contacts a{margin-bottom:15px;display:flex;flex-flow:row nowrap;align-items:center}header .block-center{justify-content:flex-start}header .menu-toggle{width:32px;height:50px;padding:4px 0;margin-right:25px;display:flex;flex-flow:column nowrap;justify-content:center;align-items:center;flex-shrink:0;position:relative;cursor:pointer}header .menu-toggle .menu-button-line{width:32px;height:2px;background:#fff;position:absolute;transition:background .4s ease .4s}header .menu-toggle .menu-button-line::before,header .menu-toggle .menu-button-line::after{content:"";width:32px;height:2px;display:block;background:#fff;position:absolute}header .menu-toggle .menu-button-line::before{transition:top .4s ease .4s,transform .4s ease;top:-11px}header .menu-toggle .menu-button-line::after{transition:bottom .4s ease .4s,transform .4s ease;bottom:-11px}.menu-open .main-wrap::before{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background:rgba(62,59,56,.8);opacity:.5;z-index:6}.menu-open .menu-toggle .menu-button-line{background:rgba(0,0,0,0);transition:background .4s ease}.menu-open .menu-toggle .menu-button-line::before{transition:top ease .4s,transform .4s ease .4s;transform:rotate(45deg);top:0}.menu-open .menu-toggle .menu-button-line::after{transition:bottom ease .4s,transform .4s ease .4s;transform:rotate(-45deg);bottom:0}.fixed header{height:50px}.scroll-up header{position:fixed}.menu-open .header-bottom{transform:translateX(0)}.block-slider .slick-prev{left:0}.block-slider .slick-next{right:0}.block-teachers .center-wrap,.block-teachers .center-wrap-column{padding:0}.block-teachers .teacher{padding:0 15px}.block-teachers .slide-item{max-width:250px}.block-teachers .slick-prev{left:0}.block-teachers .slick-next{right:0}.page-video .wp-block-columns{margin:0 -10px;flex-flow:row wrap}}@media only screen and (max-width: 769px){.col-sm-4{flex:0 0 33.33%;max-width:33.33%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-8{flex:0 0 66.66%;max-width:66.66%}.col-sm-12{flex:0 0 100%;max-width:100%}.block-title{font-size:24px}.block-slider .slide-content .slide-title{padding:30px 30px;font-size:24px}.block-courses .front-page-text ul li{font-size:16px}.block-courses .front-page-text h2{font-size:20px}.block-advantages .row{margin:0}.block-reviews .review{margin-bottom:30px}.page-crumbs,.center-wrap,.center-wrap-column{padding-right:15px;padding-left:15px}.blocks-gallery-grid.columns-4 .blocks-gallery-item,.blocks-gallery-grid.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image{width:50%}.page-video .wp-block-columns{margin:0 -10px}.page-video .wp-block-column{width:100%;max-width:100%;flex-basis:100% !important}.page-video .wp-block-embed__wrapper{text-align:center}.blog .content-image{max-width:calc(40% - 25px);margin:0 25px 30px 0;display:block;flex:0 0 320px}footer{padding:33px 25px}footer .left-block{flex-flow:column nowrap}footer .left-block .block-social{margin-left:0}}@media only screen and (max-width: 600px){.col-xs-6{flex:0 0 50%;max-width:50%}.col-xs-12{flex:0 0 100%;max-width:100%}.page-title h1{font-size:28px}header .logo{margin:0}header .menu-toggle{margin-right:20px}header .block-left{max-width:100px}header .block-contacts{width:auto;margin:0px 0 0 15px}header .block-contacts .button{margin:0;padding:0 10px;font-size:10px}.slogan-mobile-wrap{padding:5px 15px}.slogan-mobile{font-size:18px}.block-slider .slide-content .slide-title{font-size:18px}.block-slider .button{font-size:12px}.block-courses .front-page-text{margin-top:40px;padding-left:0}.block-courses .front-page-text h2{font-size:24px}.block-courses .front-page-text ul li::before{top:1px}.block-advantages .block-title{margin:0 0 10px 0}.block-advantages .spincrement{margin-bottom:23px;font-size:30px}.block-advantages .advantage-title{font-size:20px;padding-top:20px}.blocks-gallery-grid.columns-4 .blocks-gallery-item,.blocks-gallery-grid.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image{padding:12px 10px}.blocks-gallery-grid.columns-4 .blocks-gallery-item a,.blocks-gallery-grid.columns-4 .blocks-gallery-image a,.wp-block-gallery.columns-4 .blocks-gallery-item a,.wp-block-gallery.columns-4 .blocks-gallery-image a{font-size:15px}.page-course .course-url .title{font-size:16px}.blog .content-list-item{flex-flow:column nowrap}.blog .content-image{max-width:340px;margin:0 0 20px 0;display:block;flex:auto}article p,article li{font-size:16px}.move-up{right:15px}.fixed .move-up{bottom:15px}footer .left-block{flex-flow:row wrap}footer .left-block .block-social{margin-bottom:25px}footer .right-block{align-items:flex-start}footer .right-block .address a{padding-left:25px;height:auto}footer .contacts{margin:0 20px 20px 0}}@media only screen and (max-width: 380px){.col-xsm-12{flex:0 0 100%;max-width:100%}.page-title h1{font-size:26px}.block-slider .slide-content .slide-title{font-size:16px}.block-slider .button{font-size:10px}.block-courses .front-page-text h2{text-align:center}.page-course .course-url .title{font-size:14px}}