/*!
Theme Name: CheckEng
Theme URI: http://underscores.me/
Author: Tatiana
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zhte
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

body{
    font-family: 'aileronregular', 'Arial', sans-serif;
    font-size: 14px;
    min-width: 320px;
    margin-top: 37px;
}

img{
    width: 100%;
    height: auto;
}

a:hover{
    text-decoration: none;
}

*{
    transition: .3s all;
}

.container{
    padding: 0;
}

/*----MENU----*/
.menutop1{
    text-transform: uppercase;
    background-color: #fff;
    z-index: 170;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 7px rgba(0,0,0,.1);
}

.menutop1 .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;  
}

.menu-list{
    display: flex;
    margin: 0;
    list-style: none;
}

.menutop1 a{
    color: grey;
}

.menutop1 .menu-logo a{
    font-size: 18px;
    text-align: left;
    font-weight: bold;
}

.menutop1 .menu-logo a:hover,
.menutop1 .menu-logo a:focus{
    color: #505050;
    background-color: transparent;
}

.menutop1 .menu-logo a:active{
    color: #680068;
}

.menutop1 .menu-list a{
    padding: 25px 20px;
}

.menutop1 .menu-list a:hover,
.menutop1 .menu-list a:focus{
    color: #505050;
    background-color: rgba(206, 210, 219, 0.3);
}

.menutop1 .menu-list a:active{
    background-color: rgba(206, 210, 219, 0.6);
}

.navbar-brand{
    padding-left: 30px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 27px;
}

.navbar-brand:hover,
.navbar-brand:focus{
    color: #680068;
}

.navbar-brand:active{
    color: #fff;
}

.bg-dark{
    background-color: #636c71!important;
}

.menutop2 .menu-item{
    padding: 20px 0 20px 30px;
    font-size: 16px; 
}
.menutop2 .menu-item:hover,
.menutop2 .menu-item:focus{
    background-color: rgba(255,255,255,0.1); 
}

.menutop2 .menu-item:active{
    background-color: rgba(255,255,255,0.4); 
}

.menutop2 .menu-item a{
    color: #fff;
}

.collapse_menu{
    list-style: none;
    padding: 0;
}

/*----LOGO----*/
.logo{
    padding: 150px 0 120px 140px;
    color: white;
    font-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.logo h1{
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 200;
    letter-spacing: 1px;
}

.logo-title{
    width: 30%;
}

/*---SOCIAL TOP---*/
.social-list{
    display: flex;
    flex-wrap: wrap;;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-list a{
    display: block;
    color: grey;
    font-size: 38px;
    padding: 17px;
}

.social-list a:hover,
.social-list a:focus{
    color: #505050;
    background-color: rgba(206, 210, 219, 0.3);
}

.social-list a:active{
    background-color: rgba(206, 210, 219, 0.7);
}

.yes-block,
.examples-title,
.examples-item,
.video,
.option,
.magazine{
    margin-bottom: 20px;
} 

.yes-block{
    padding: 30px 0;
    text-align: center;
    color: #6c7890;
    background-color: #c8bfc2;
}
    

.yes-block div:first-child{
    padding-bottom: 30px;
    margin-bottom: 0;
    font-size: 24px;
}

.yes-block div:last-child{
    font-size: 20px;
}

.examples-title{
    padding: 70px 0;
    background-color: #d4d4d4;
    color: #95868d;
    font-size: 24px;
    text-align: center;
}

.examples-title p{
    margin-bottom: 0;
}

.expamples-list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: space-between;
}

.examples-item{
    width: 49%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background-color: #d5d5d5;
}

.examples-item-story{
    display: flex;
    justify-content: space-between;  
}

.story-pic{ 
    width: 39%;
}

.story-pic div:last-child{
    padding-top: 10px;
    color: #ffffff;
    font-weight: bolder;
}

.story-text{
    width: 55%;
    margin-bottom: 20px;
    font-size: 18px;
    color: #82858d;
}

.story-link{
    margin-bottom: 0;
    font-weight: bold;
    font-size: 18px;
    text-align: right;
}

.story-link a{
    color: #685f64;
}

.story-link a:hover,
.story-link a:focus{
    color: #383838;
}

.story-link a:active{
    text-decoration: underline;
}

/*---VIDEO---*/
.video{
    height: 300px;
    display: flex;
}

.video-pic{
    width: 65%;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
}

.video-text{
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 90px; 
    color: #fff;
    background-color: #d4d4d4;
}

.button-play{
    margin: auto 0;
    padding-left: 450px;
}

.button-play a{
    color: #fff;
}

.video .icofont-caret-right{
    padding: 10px 10px 10px 15px;
    font-size: 50px;
    background-color: rgba(213, 213, 213, 0.8);
    border-radius: 50%;
}

.video .icofont-caret-right:hover,
.video .icofont-caret-right:focus{
    color: #d5d5d5;
    background-color: rgba(108, 120, 144, 0.8);
}

.video .icofont-caret-right:active{
    color: #fff;
    background-color: rgba(213, 213, 213, 0.8);   
}

.video-text span{
    padding: 20px 0;
    margin: 0;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: bold;
    line-height: 34px;
    text-align: center;
}

.video-text i{
    font-size: 20px;
}

/*---#offers---*/
.option{
    display: flex;
    padding: 30px 30px 30px 0;
}

.offers .option:first-child{
    background-color: #6c7890;
}

.offers .option:nth-child(2){
    background-color: #d4d4d4;
}

.offers .option:nth-child(3){
    background-color: #c8bfc2;
}

.option-name{
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.option-desc{
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.option-desc-main ul{
    list-style-position: inside;
    padding-left: 0;
}

.option-circle{
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: 50%;
}

.option:first-child .option-circle{
    background-color: #d4d4d4;
}

.option:nth-child(2) .option-circle{
    background-color: #95868d;
}

.option:nth-child(3) .option-circle{
    background-color: #6c7890;
}

.option-title{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
}

.btn-light{
    font-size: 13px;
    font-weight: bold;
    color: #6c7890; 
}

.option:first-child .option-desc{
    color: #d4d4d4;
}

.option:nth-child(2) .option-desc{
    color: #95868d;
}

.option:nth-child(3) .option-desc{
    color: #6c7890;
}

.option-desc{
    font-size: 16px;    
}

.option-desc p{
    margin-bottom: 5px;   
}

.option-desc-tags{
    text-transform: uppercase;
    text-align: right;
    font-weight: bolder;
}

.option-desc-tags p:last-child{
    margin-bottom: 0;
}

/*---#magazine---*/
.magazine{
    display: flex;
    justify-content: space-between;   
}

.mag-col-1{
    width: 56%;
    display: flex;
    flex-direction: column;
}

.mag-col-2{
    width: 42%;
    display: flex;
    flex-direction: column;
}

.magazine .btn{
    flex-grow: 1;
    font-size: 36px;
    border: none;
    border-radius: 0;
}

.mag-button a:hover,
.mag-button a:focus{
    background-color: rgb(108, 117, 125, 0.8);
    border-color: rgb(108, 117, 125, 0.8);
}

.mag-block{
    font-size: 24px;
    padding: 30px;
}

.mag-block-1{
    margin-bottom: 20px;
    color: #fff;
    background-color: #96858f;   
}

.mag-block-2{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #6d7993;
    background-color: #d5d5d5;
}

.mag-block-3{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-weight: bolder;
    color: #fff;
    background-color: #6d7993;
}

.mag-block p:last-child{
    margin-bottom: 0;
}

.mag-purchaise{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.mag-purchaise a{
    color: #fff;
}

.magazine .icofont-caret-right{
    font-size: 50px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    padding: 10px 10px 10px 15px;
}

.magazine .icofont-caret-right:hover,
.magazine .icofont-caret-right:focus{
    background-color: rgba(213, 213, 213, 0.4);
}

.magazine .icofont-caret-right:active{
    background-color: #fff;
    color: #d5d5d5;
}

/*---FEEDBACK---*/
.feedback{
    margin-bottom: 30px;
}

.feedback-title{
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #96858f;
    font-size: 40px;
    line-height: 50px;
}

.feedback-wrapper{
    display: flex;
    justify-content: space-between;
}

.feedback-wrapper div:first-child,
.feedback-wrapper div:last-child{
    color: #6d7993;
    background-color: #d5d5d5; 
}

.feedback-wrapper div:nth-child(2){
    color: #d5d5d5;
    background-color: #6d7993; 
}

.feedback-wrapper div:nth-child(3){
    color: #d5d5d5;
    background-color: #96858f;
}

.feedback-item{
    width: 24%;
    padding: 10px 20px;
}

.feedback-item p:last-child{
    margin-bottom: 0;
}

/*---BLOG---*/
.blog{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto 50px auto;
    background-color: #d4d4d4;
    padding: 20px;
}

.blog-title{
    grid-column: 1/-1;
    grid-row: 2;
    text-align: center;
    text-transform: uppercase;
    color: #96858f;
    font-size: 40px;
    line-height: 50px;
}

.blog-header{
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 0 10px; 
    text-align: center;
    font-size: 14px;
}

.blog-header,
.blog-text{
    color: #43304d;
    background-color: #fff;
}

.blog p{
    margin-bottom: 0;
}

.blog-header-title{
    font-size: 18px;
    padding-bottom: 5px;    
}

.blog-header-remark{
    display: flex;
}

.blog-header-author{
    border-right: 1px solid #d5d5d5;
    padding-right: 10px;
    font-size: 12px;
}

.blog-header-date{
    padding-left: 10px;
    font-size: 12px;
}

.blog-text{
    padding: 10px; 
}

.blog a{
    color: inherit;
    text-decoration: underline;
}

.blog a:hover,
.blog a:focus{
    color: #680068;
}

.blog a:active{
    text-decoration: underline;
}

/*---FOOTER---*/
.footer-main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 60px 30px 60px;
    background-color: #636c71;
    color: #fff;
}

.footer-col{
    width: 33%;
}

.footer-col-title{
    text-transform: uppercase;
    font-size: 18px;
    padding-bottom: 15px;
}

.footer-menu{
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.footer-menu li{
    padding-bottom: 15px;
    font-size: 16px;    
}

.footer-menu a{
    color: #fff;
}

.footer-menu a:hover,
.footer-menu a:focus{
    text-decoration: underline;
}

.footer-menu a:active{
    color: #d5d5d5;
}

.footer-contacts-list{
    list-style: none;
    padding-left: 0;
}

.footer-contacts-list li{
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    font-size: 16px;  
}

.footer-contacts-list i{
    font-size: 24px;
    padding-right: 5px;
}

.footer-contacts-list a{
    color: #fff;
}

.footer-contacts-list a:hover,
.footer-contacts-list a:focus{
    text-decoration: underline;
}

.footer-contacts-list a:active{
    color: #d5d5d5;    
}

.footer-social ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    padding-left: 0;
    font-size: 38px;
    list-style: none;
}

.footer-social ul a{
    color: #fff;
}

.footer-social ul a:hover,
.footer-social ul a:focus{
    color: #d5d5d5;
}

.footer-social ul a:active{
    color: #fff;
}

.footer-copyright{
    margin-top: 10px;
    font-size: 12px;
}

.logo,
.video,
.about-pic{
    position: relative;
}

.photo-copyright{
    position: absolute;
    content: "";
    bottom: 0;
    left: 10px;
    margin-bottom: 3px;
    color: #fff;
    font-size: 8px;
    line-height: 16px;
    text-transform: uppercase;
    opacity: 0.7;
}

/*---For ALL PAGES---*/
.mypage{
    color: #43304d;
    margin-top: 90px;
}

.post-type-archive-zhte_magazine .mypage{
    margin-top: 32px;
}

.page-title{
    text-transform: uppercase;
    font-size: 26px;
    margin-bottom: 30px;
}

/*---ABOUT PAGE---*/
.about-page{
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto;
    grid-gap: 20px;
}

.about-page .grid-element-1{
    grid-column: 1;
    grid-row: 1/-1;
}

.about-page .grid-element-3{
    grid-column: 2;
    grid-row: 2/-1;
    margin-bottom: 30px;
}

.about-page .grid-element-2{
    grid-column: 2;
    grid-row: 1/2;   
}

.about-pic-title{
    padding: 30px 0 30px 30px;
    font-size: 45px;
    line-height: 40px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'aileronblack', 'Arial' sans-serif;
    margin-bottom: 0;
}

.about-page p{
    font-size: 18px;
    line-height: 45px;
}

.about-text p:first-of-type{
    font-weight: bold;
}

.about-page p:last-of-type{
    margin-bottom: 0;
}

.grid-element-3 p:first-child{
    text-transform: uppercase;
    line-height: 32px;
}

.about-page a{
    display: block;
    margin-top: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    color: #43304d;
}

.about-page a:hover,
.about-page a:focus{
    text-decoration: underline;
}

.about-page a:active{
    color: #680068;
}

/*---COMMON FOR FLEX PAGE---*/
.page-flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.page-flex p{
    margin-bottom: 0;    
}

.page-flex .flex-element{
    width: 32%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(0,0,0,.125);
}

.page-flex .card-button{
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0;
    padding: 20px 0;
    font-size: 16px;
}

.page-flex .card-desc{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 20px 20px;
}

/*---PAGINATION---*/
.pagination{
    margin-bottom: 30px;
}

.pagination .page-link{
    color: #43304d;
}

.page-item.active .page-link{
    background-color: #636c71;
    border-color: #636c71;
}

/*---MAGAZINE PAGE---*/
.page-title-mag{
	margin-top: 90px;
}

.mag-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mag-item{
    width: 32%;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,.125);
}

.mag-img{
    height: 470px;
}

.mag-img img{
    height: 470px;
}

.mag-item .btn{
    width: 100%;
    padding: 20px 0;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
}

.mag-desc{
    padding: 10px 20px 20px 20px;
    line-height: 30px;
}

.mag-desc p:last-child{
    margin-bottom: 0;
}

/*---BOOK PAGE---*/
.page-book{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lesson-card{
    width: 32%;
    margin-bottom: 30px;
}

.lesson-img{
    position: relative;
    height: 250px;
    overflow: hidden;   
}

.lesson-img img{
    height: 250px;
}

.lesson-img::after{
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    background-color: rgba(248, 247, 216, 0.5);
    width: 100%;
    height: 100%;
}

.lesson-top{
    position: relative;
}

.lesson-title{
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;    
}

.lesson-tags{
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    font-weight: bold;
    text-align: center;     
}

.lesson-card .card-button{
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0;
    padding: 20px 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.page-book h3{
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    margin: 10px 0 0 0;
}

.lesson-desc{
    display: flex;
    justify-content: space-between;
}

.lesson-desc div{
    width: 48%;
    line-height: 30px;    
}

.lesson-desc div:first-child{
    font-weight: bold;   
}

.lesson-desc a{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    color: #43304d;
}

.lesson-desc a:hover,
.lesson-desc a:focus{
    text-decoration: underline;   
}

.lesson-desc a:active{
    color: #680068;
}

.terms-booking{
    max-width: 820px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgb(150, 133, 143, 0.1);
}

.terms-title{
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 30px;
}

.terms-booking h3{
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
}

.terms-booking p{
    margin-bottom: 10px;
    line-height: 28px;
}

.terms-booking a{
    color: #43304d; 
    font-weight: bold;
}

.terms-booking a:hover,
.terms-booking a:focus{
    text-decoration: underline;
}

.terms-booking a:active{
    color: #680068;
}

/*---TESTIMONIALS PAGE---*/
.page-testimonials{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: auto auto;
    margin-bottom: 30px;
}

.blockquote{
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 20px;
    margin-bottom: 0;
}

/*---BLOG PAGE---*/
.page-blog{
    display: flex;
    justify-content: space-between;
}

.page-blog-col-1{
    width: 65%;
}

.page-blog-col-2{
    width: 28%;
}

.post-title{
    font-size: 24px;
    padding-bottom: 5px;    
}

.post-author{
    float: left;
    border-right: 1px solid #d5d5d5;
    padding-right: 10px;
    margin-right: 10px;
}

.post header p{
    font-size: 12px;
    margin-bottom: 10px;
}

.post-content{
    display: flex;
    justify-content: space-between;
}

.post-content-image{
    width: 30%;
    height: auto;
}

.post-content-text{
    width: 68%;
}

.post-content-link{
    text-align: right;    
}

.post-content-link .card-button{
    background-color: #43304d;
    border-color: #43304d;
    color: #fff;  
}

.post-content-link .card-button:hover,
.post-content-link .card-button:focus{
    background-color: rgb(67, 48, 77, 0.7);
    border-color: rgb(67, 48, 77, 0.1);
}

.post{
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title{
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #43304d;
    font-size: 22px;
}

.recentcomments{
    margin-bottom: 10px;
}

/*---ARTICLE PAGE---*/
.container-article{
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-page{
    margin-top: 90px;
}

.article-page .post{
    border-bottom: none;
    padding-bottom: 0;
}

.article-single .post-title{
    font-size: 26px;
}

.article-single header{
    margin-bottom: 20px;
}

.article-single .post-content{
    display: inline-block;
}

.article-single .post-content-image{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.article-single .post-content-text{
    width: 100%;
    font-size: 16px;
    line-height: 32px;
}

.article-single .post-content-text p:last-of-type{
    margin-bottom: 0;
}

.article-single a{
    color: #43304d; 
    font-weight: bold;
    text-decoration: underline;
}

.article-single a:hover,
.article-single a:focus{
   text-decoration: underline;
}

.article-single a:active{
    color: #680068;
}

/*------Post navigation----------*/
.nav-single{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.nav-single i{
    font-size: 32px;
    color: #505050;
}

.nav-single i:first-of-type{
    margin: 30px 10px 30px 0;
}

.nav-single i:nth-of-type(2){
    margin: 30px 0 30px 10px;
}

.nav-both{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0,0,0,.1);
    border-radius: 10px;
    padding: 20px;
    color: #505050;
}

.nav-previous{
    margin-right: 60px;
}

.nav-both-link{
    text-align: center;
}

.nav-both-link a{
    color: #505050;
    font-weight: bold;
}

.nav-both-link a:hover,
.nav-both-link a:focus{
    text-decoration: underline;
}

.nav-both-link a:active{
    color: #680068;
}

/*------COMMENTS----------*/
.comments-title{
    display: none;
}

.mycomments-title{
    font-size: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 0;
	margin-top: 30px;
}

.fn{
    font-size: 14px;
    color: #6c7890;
}

.says{
    display: none;
}

.comment-body{
    padding: 10px 0;
}

.comment-meta{
    display: flex;
    justify-content: flex-start;
}

.comment-author{
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.avatar{
    width: 50px;
    height: auto;
    margin-right: 10px;
    border-radius: 100px;
}

.comment-metadata{
    display: flex;
    align-items: center;
    font-size: 12px;
}

.comment-metadata a{
    color: #6c7890;
    font-size: 12px;   
}

.comment-metadata a:hover,
.comment-metadata a:focus{
    text-decoration: underline;
}

.edit-link{
    margin-left: 30px;
    font-weight: bold;
}

.comment-content{
    margin-left: 60px;
}

.comment-content p{
    margin-bottom: 5px; 
}

.reply a{
    margin-left: 60px;
    color: #6c7890;
}

.reply a:hover,
.reply a:focus{
    text-decoration: underline; 
}

.parent{
    border-bottom: 1px solid rgba(0,0,0,0.1);    
}

.comment-respond{
    box-shadow: 0 0 7px rgba(0,0,0,.1);
    padding: 20px;
}

.comment-reply-title{
    margin-bottom: 20px;
}

#cancel-comment-reply-link{
    color: #fff;
    background-color: #6c7890;
    border-radius: 5px;
    padding: 10px;
}

#cancel-comment-reply-link:hover,
#cancel-comment-reply-link:focus{
    background-color: rgb(108, 120, 144, 0.7);
}

.comment-notes{
    font-size: 12px;
    color: #6c7890;
}

#author, #email, #comment{
    width: 100%;
}

.comment-form-author,
.comment-form-email,
.comment-form-comment{
    display: flex;
	flex-direction: column;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-comment label{
	display: block;
    width: 15%;
    color: #6c7890;
    font-weight: bold;
}

#respond input[type="text"], textarea{
    border-radius: 5px;
}

.form-submit input[type="submit"]{
    color: #fff;
    background-color: #6c7890;
    border-radius: 5px;
    border: 1px solid #6c7890;
    padding: 5px 10px;
    box-shadow: 0 0 7px rgba(0,0,0,.2);
    font-size: 16px;   
}

.form-submit input[type="submit"]:hover,
.form-submit input[type="submit"]:focus{
    background-color: rgb(108, 120, 144, 0.7);
    border: 1px solid transparent;
}

.form-submit{
    margin-bottom: 0;   
}

.logged-in-as a{
    color: #6c7890;
    font-weight: bold;
}

.logged-in-as a:hover,
.logged-in-as a:focus{
    text-decoration: underline;
}

#recentcomments li{
    list-style-type: disc;
    list-style-position: inside;
}

.comment-author-link{
    font-size: 16px;
}

.recentcomments a{
    color: #680068;
}

.recentcomments a:hover,
.recentcomments a:focus{
    text-decoration: underline;
}

/* Подсветка активного поля формы */
#respond input[type=text], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
}
 
#respond input[type=text]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
} 

/*---CONTACT PAGE---*/
.contact-page form{
	box-shadow: 0 0 7px rgba(0,0,0,.1);
}

.contact-page .wpcf7{
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

/*---CONTACT FORM BOOK A LESSON---*/
#wpcf7-f288-p60-o1{
    width: 70%;    
}

.myform-row{
    display: flex;
    justify-content: space-between;
}

.myform-row input,
.wpcf7-textarea{
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.wpcf7-checkbox{
    display: flex;
    flex-direction: column;
}

.myform-col-3{
    width: 32%;
}

.myform-col-4{
    width: 49%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.wpcf7-form{
	max-width: 620px;
    padding: 10px;
    font-size: 16px;
}

.contact-page .wpcf7-form{
	padding: 30px;
}

.myform-select{
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    
}

.myform-about{
    margin-bottom: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    
}

.myform-col-3 p:first-of-type,
.myform-col-4 p:first-of-type,
.level-title{
    margin-bottom: 5px;
}

.form-checkbox,
.form-notification{
    margin-bottom: 20px;
}

.form-notification{
   padding-top: 20px;
}

.myform-privacy{
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.wpcf7-checkbox{
    font-weight: lighter;   
}

.form input[type="text"],
.form input[type="email"],
.form textarea{
    width: 100%;
    background-color: rgba(206, 210, 219, 0.3);
    border: none;
    border-radius: 5px;
	line-height: 28px;
}

.form textarea{
    height: 100px;
	margin-bottom: 40px;
}

.form-button{
    text-align: center;
}

.form-button input[type="submit"]{
    border: none;
    background-color: rgb(67, 48, 77);
    color: #fff;
    padding: 10px 35px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0,0,0,.7);
}

.form-button input[type="submit"]:hover,
.form-button input[type="submit"]:focus{
    background-color: rgb(67, 48, 77, 0.8);    
}

.form-button input[type="submit"]:active{
    box-shadow: 0 0 5px rgba(0,0,0,.7);    
}

.wpcf7-form input[type=text]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
} 

.wpcf7-form input[type=email]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}

/*---404 page---*/
.error-404{
    margin-top: 100px;
    margin-bottom: 60px;
    text-align: center;
}

.error-404 span{
    font-size: 120px;
}

.error-404 h1{
    font-size: 40px;
}

/* Medium Devices, Desktops */
@media (min-width: 992px){
    .menutop2{
        display: none;
    }
}

@media screen and (max-width: 1199px){
    .menutop1 .container{
        padding: 13px 0;
    }

    .menutop1 .menu-list a{
        font-size: 12px;
        padding: 20px 15px;
    }

    .mag-block{
        font-size: 20px;
        padding: 20px;    
    }
}

@media screen and (max-width: 991px){
    .menutop1{
        display: none;   
    }
    
    .logo{
        padding: 120px 0 80px 80px;
    }
    
    .logo-title h1{
        font-size: 26px;
    }
    
    .logo-title p{
        font-size: 16px;
    }

    .yes-block div:first-child{
        font-size: 20px;
        padding-bottom: 20px;
    }
    
    .yes-block div:last-of-type{
        font-size: 18px;
    }

    .yes-block div:last-of-type p:last-child{   
        padding-top: 10px;
    }
    
    .examples-title{
        font-size: 20px;
        padding: 40px 0;
    }
    
    .examples-item{
        width: 100%;
    }
    
    .story-pic{ 
        width: 29%;
    }
    
    .story-pic p{
        font-size: 12px;
        margin-bottom: 0;
    }

    .story-text{
        width: 67%;
    }

    .story-link, 
    .story-text{
        font-size: 16px;
    }
    
    .video-text{
        padding: 0 40px;
    }
    
    .video-pic .button-play{
        padding-left: 300px;
    }
    
    .option-name{
        width: 35%;
    }

    .option-title,
    .option-desc-tags{
        font-size: 16px;
    }
    
    .option-desc{
        width: 65%;
        font-size: 14px;
    }

    .option-desc-main{
        margin-bottom: 20px;
    }
    
    .option-desc-tags p{
        margin-bottom: 0;
    }
    
    .magazine .icofont-caret-right{
        font-size: 30px;
        padding: 5px 5px 5px 10px;
    }
    
    .mag-block{
        font-size: 16px;
        padding: 20px;    
    }
    
    .magazine .card-button{
        font-size: 26px;
    }
    
    .feedback-title{
        margin-top: 0;
        text-align: center;
        font-size: 28px;
        line-height: 50px;
    }
    
    .blog{
        grid-gap: 10px;
        padding: 20px;
    }

    .blog-header-title{
        font-size: 16px;
    }

    .blog-title{
        font-size: 28px;
    }

    .footer-main{
        padding: 30px 40px;
        flex-wrap: wrap;
    }

    .footer-main div:nth-child(1),
    .footer-main div:nth-child(2){
        width: 50%;    
    }
    
    .footer-social{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-col-title{
        font-size: 16px;
        padding-bottom: 10px;
    }

    .footer-col li{
        padding-bottom: 8px;
        font-size: 14px;
    }
    
    .footer-contacts-list i{
        font-size: 18px;
    }
    
    .footer-social h2{
        display: none;
    }

    .footer-social a{
        font-size: 32px;
    }
    
    .footer-social a{
        padding-right: 20px;
    }

    .page-title{
        margin-top: 90px;
        margin-bottom: 20px;
        font-size: 22px;
    }

    .about-page p{
        font-size: 16px;
        line-height: 35px;
    }
    
    .about-pic{
        background-position: 70% 100%;
    }
    
    .about-pic-title{
        font-size: 30px;
    }
    
    .lesson-card{
        width: 100%;
    }
    
    .lesson-img{
        height: 300px;
        overflow: hidden;   
    }

    .lesson-img img{
        height: auto;
    }

    .mag-img{
        height: 320px;
    }

    .mag-img img{
        height: 320px;
    }

    .page-blog .post-title{
        font-size: 20px;
    }

    .page-blog .post-content-image{
        width: 40%;
    }

    .page-blog .post-content-text{
        width: 55%;
    }

    .page-blog .widget-title{
        font-size: 18px;
    }

    .page-testimonials p{
        font-size: 16px;
    }
}

@media screen and (max-width: 900px){
    .container-article{
        max-width: 600px;
    }

    .article-single .post-title {
        font-size: 22px;
    }

    .article-single p,
    .article-single span{
        font-size: 14px;
    }

    .nav-both{
        padding: 5px;
        font-size: 12px;
    }

    .nav-previous {
        margin-right: 20px;
    }

    .wpcf7-form{
        font-size: 14px;
    }
}

@media screen and (max-width: 820px){
    .myform-row{
        flex-wrap: wrap;
    }

    .myform-col-4 {
        width: 47%;
    }

    .feedback-wrapper{
        flex-wrap: wrap;
    }

    .feedback-item{
        width: 50%;
    }
}

@media screen and (max-width: 767px){
    .logo{
        padding: 80px 0 80px 80px;
    }

    .logo-title{
        width: 40%;
    }
    
    .social a{
        font-size: 28px;
    }
    
    .yes-block{
        padding: 20px;
    }
    
    .yes-block div:first-child{
        font-size: 18px;
        padding-bottom: 10px;
    }
    
    .yes-block div:last-of-type{
        font-size: 14px;
    }
    
    .examples-title{
        font-size: 16px;
        padding: 40px 20px;
    }
    
    .examples-item{
        padding: 20px;
    }
    
    .story-text, .story-link{
        font-size: 14px;
    }

    .story-pic div:last-child{
        font-size: 12px;
    }
    
    .video-pic .button-play{
        padding-left: 250px;
    }

    .option-name{
        width: 45%;
    }
    
    .option-desc{
        width: 55%;
    }
    
    .option-desc-main{
        margin-bottom: 20px;
    }

    .option-desc-tags{
        font-size: 14px;
    }

    .mag-block-1{
        display: none;
    }

    .mag-block-2{
        margin-bottom: 0;
    }

    .feedback-title{
        font-size: 22px;
        line-height: 44px;
    }
    
    .blog{
        grid-gap: 0;
        display: flex;
        flex-direction: column;
        padding-top: 0;
    }

    .blog-header{
        align-items: flex-start;
        text-align: left;
        padding-bottom: 0;
        padding-top: 20px;
    }
    
    .blog-text:not(:last-of-type){
        margin-bottom: 20px;
    }
    
    .footer-col-title{
        font-size: 14px;
    }

    .mypage{
        margin-top: 0;
    }
    
    .about-page{
        grid-template-columns: 100%;
        grid-auto-rows: auto auto auto;
    }
    
    .about-page p{
        font-size: 14px;
        line-height: 30px;
    }
    
    .about-page .grid-element-1{
        grid-row: 2;
        grid-column: 1;
    }

    .about-page .grid-element-3{
        grid-row: 3;
        grid-column: 1;
    }

    .about-page .grid-element-2{
        grid-row: 1;
        grid-column: 1;
    }
    
    .about-pic-title{
        font-size: 40px;
    }
    
    .mag-item{
        width: 48%;
    }

    .page-blog-col-1{
        width: 100%;
    }

    .page-blog-col-2{
        display: none;
    }

    .post-title{
        font-size: 18px;
    }

    .page-testimonials{
        display: inline-block;
    }

    .blockquote:not(:first-child){
        margin-top: 20px; 
    }

    .article-page{
        margin-top: 80px;
    }

    .article-page .post-content-text p{
        font-size: 14px;
        line-height: 30px;
    }
}

@media screen and (max-width: 650px){
    .container-article{
        max-width: 500px;
    }

    .article-page .post-content-image {
        width: 100%;
    }

    .comment-form-author label,
    .comment-form-email label,
    .comment-form-comment label{
        width: 20%;
    }
}

@media screen and (max-width: 600px){
    .admin-bar .fixed-top{
        top: 0!important;
    }

    .myform-col-3 {
        width: 100%;
    }

    .wpcf7-list-item{
        width: 100%;
    }
}

@media screen and (max-width: 580px){
    .mypage{
        padding: 0 30px;
    }
    
    .lesson-img{
        height: auto;   
    }
    
    .lesson-title{
        font-size: 24px;
    }
    
    .page-book h3{
        font-size: 16px;
    }
    
    .lesson-desc a{
        font-size: 16px;
    }
    
    .lesson-desc{
        display: inline-block;
    }
    
    .lesson-desc div{
        width: 100%;
    }
    /*-----*/
    
    .mag-list{
        justify-content: center;
    }
    
    .mag-item{
        width: 70%;
    }
    
    .mag-img{
        height: auto;
    }

    .mag-img img{
        height: auto;
    }

    .wpcf7-form h3{
        font-size: 22px;
    }
}

@media screen and (max-width: 531px){   
    .video-text span{
        font-size: 20px;
    }

    .video-text i{
        font-size: 18px;
    }

    .mag-block-3{
        font-size: 14px;
    }
    
    .magazine .card-button{
        font-size: 18px;
    }
}

@media screen and (max-width: 495px){
    .logo{
        padding: 90px 0 70px 40px;
    }
    
    .logo-title h1{
        font-size: 26px;
    }
    
    .logo-title p{
        font-size: 16px;
    }
    
    .video{
        height: auto;   
    }
    
    .video-pic{
        width: 60%;
    }

    .video-text{
        width: 40%;
        padding: 10px 30px;
    }

    .video-text span{
        padding: 10px 0;
    }

    .video-pic .button-play{
        padding-left: 210px;
    }

    .video-text i{
        font-size: 16px;
    }
    
    .option{
        padding: 20px 20px 20px 0;
    }

    .footer-main{
        padding: 20px 20px 20px 40px;
    }

    .footer-main div:nth-child(1){
        width: 30%;
    }

    .footer-main div:nth-child(2){
        width: 65%;
    }

    .page-book .card-pic{
        padding: 0 20px;
    }
    
    .mag-item{
        width: 80%;
    }

    .page-blog .post-title {
        font-size: 18px;
    }

    .post-content{
        flex-wrap: wrap;
    }

    .page-blog .post-content-image{
        width: 100%;
        margin-bottom: 20px;
    }

    .page-blog .post-content-text{
        width: 100%;
    }

    .comment-form-author label,
    .comment-form-email label,
    .comment-form-comment label{
        width: 25%;
    }

    .myform-col-4 {
        width: 100%;
    }
}

@media screen and (max-width: 485px){
    .magazine .btn{
        padding-top: 15px;
    }

    .mag-col-2{
        display: none;
    }

    .mag-col-1{
        width: 100%;
    }

    .magazine .btn {
       padding-bottom: 15px;
       font-size: 22px;
    }

    .feedback{
        display: inline-block;
    }

    .feedback-title{
        margin-top: 10px;
        font-size: 18px;
        line-height: 30px;
    }

    .blog-title{
        font-size: 18px;
    }
}

@media screen and (max-width: 455px){
    .logo{
        padding: 60px 0 50px 40px;
    }
    
    .logo-title h1{
        font-size: 22px;
    }
    
    .logo-title p{
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .video-pic .button-play{
        padding-left: 195px;
    }

    .video-pic .icofont-caret-right{
        font-size: 45px;
        padding: 7px 7px 7px 12px;
    }
    
    .option{
        display: inline-block;
        padding: 20px;
    }
    
    .option-name{
        margin-bottom: 20px;
    }
    
    .option-name, 
    .option-desc{
        width: 100%;
    }

    .feedback-item{
        width: 100%;
    }
}

@media screen and (max-width: 400px){
    .video-pic .button-play {
        padding-left: 165px;
    }

    .video-pic .icofont-caret-right{
        font-size: 40px;
        padding: 5px 5px 5px 10px;
    }

    .video-text span{
        font-size: 16px;
        line-height: 28px;
        padding: 5px 0;
    }

    .feedback-title{
        font-size: 16px;
    }

    .footer-main .footer-col:first-child{
        display: none;
    }

    .footer-col-title{
        display: none;
    }

    .footer-contacts-list{
        margin-bottom: 20px;
    }

    .about-pic-title{
        padding: 20px 0 20px 20px;
        font-size: 30px;
    }
    
    .page-mag .flex-element{
        width: 100%;
    }
}

@media screen and (max-width: 375px){
    .logo-title{
        width: 45%;
    }

    .logo-title h1{
        font-size: 20px;
    }

    .video-pic .button-play {
        padding-left: 155px;
    }

    .feedback-title{
        font-size: 15px;
        font-weight: bold;
    }

    .terms-title{
        font-size: 18px;
    }

    .page-mag .card-pic{
        height: 360px;
    }
}

@media screen and (max-width: 350px){
    .navbar-brand{
        padding-left: 0;
        font-size: 16px;
    }

    .menutop2 .menu-item{
        padding: 13px 0 13px 20px;
        font-size: 14px; 
    }

    .social-list a{
        font-size: 24px;
        padding: 15px;
    }

    .video-pic .button-play {
        padding-left: 150px;    
    }

    .video-pic .icofont-caret-right{
        font-size: 30px;
        padding: 5px 5px 5px 10px;
    }

    .mag-item{
        width: 100%;
    }

    .feedback-title{
        max-width: 280px;
        margin: 0 auto;
    }

}

@media screen and (max-width: 330px){
    .logo{
        padding: 50px 0 40px 20px;
    }

    .page-mag .card-pic{
        height: 320px;
    }
}

@media screen and (max-width: 300px){
    .navbar-brand{
        font-size: 14px;
    }

    .video-pic .button-play {
        padding-left: 130px;    
    }

    .footer-main{
        padding-left: 30px;
    }

    .mypage{
        padding: 0;
    }

    .page-title{
        padding-left: 20px;
    }

    .lesson-desc,
    .about-text{
        padding: 0 20px;
    }

    .post{
        width: 270px;
        margin: 0 auto;
    }

    .pagination{
        margin: 20px 0; 
    }

    .post-content-text{
        padding-bottom: 20px;
    }
}