.hidden {
    display:none;
}

header {
    margin-bottom: 18px;
}

.navbar .logo strong {
    padding-left:20px;
    font-weight: 400
}

.navbar img.logo-icon {
    width:50px;
    height:50px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.navbar .navbar-brand:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.navbar .navbar-brand:hover strong {
    opacity:0.8;
}

#about h2 {
    color: #2b2d38;
    text-align: center;
    margin: 0 0 13px;
    padding-top: 64px;
    font: normal 600 36px/54px;
    letter-spacing: -.2px;
}

#about .block-title-p {
    color: #60657b;
    max-width: 608px;
    text-align: center;
    width: 100%;
    font: normal 400 21px/36px;
    letter-spacing: 0;
    margin:0 auto;
    margin-top: 24px;
}

#about p {
    color: #60657b;
    font: normal 400 21px/36px;
    letter-spacing: 0;
    margin:0 auto;
    padding-bottom:25px;
}

#about .home-about-text {
    padding-top:60px;
    padding-bottom:60px;
}

#about .home-about-text .hat-text, #about .home-about-text .hat-img {
    margin-top:auto;
    margin-bottom:auto;
}

.bottom-img {
    width:250px;
}



h1.main-title {
    color: #2b2d38;
    text-align: center;
    margin: 0 0 13px;
    padding-top: 20px;
    font: normal 600 36px/54px;
    letter-spacing: -.2px;
}

p.main-about {
    color: #60657b;
    max-width: 608px;
    text-align: center;
    width: 90%;
    font: normal 400 21px/36px;
    letter-spacing: 0;
    margin:0 auto;
    margin-top: 24px;
}

.ad-block-1 {
    position: absolute;
    left: 0;
    top: 76px;
    bottom: 0;
    background: #333;
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0.6
}
.ad-block-2 {
    position: absolute;
    right: 0;
    top: 76px;
    bottom: 0;
    background: #333;
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0.6
}

.editor {
    margin-top:30px;
}

.editor .editor-inner {
    -webkit-border-radius: 5px;
    -webkit-box-shadow: 0 19px 40px rgba(187,192,211,.2);
    border: 1px solid #e4e6f2;
    border-radius: 5px;
    box-shadow: 0 19px 40px rgba(187,192,211,.2);
    padding: 10px 10px 16px;
    position: relative;
    width: 100%;
    min-height: 450px;
}

.editor .editor-inner .editor-block {
    background: #fff;
    height: 100%;
    width: 100%;
}

.editor .editor-submit {
    margin-right: 10px;
}

.editor .editor-action {
    margin-top: 30px;
}

.editor .editor-submit a {
    background-color: #5dddd3;
    font-size: 18px;
    padding: 0 40px;
    border-radius: 100px;
    color:#fff;
    height:50px;
    padding-top:10px;
    padding-bottom:10px;
}

.editor-action {
    display:inline-block;
}

.editor-clear a {
    background-color: #bababa;
    font-size: 18px;
    border-radius: 100px;
    color:#fff;
    height:50px;
    padding-top:10px;
    padding-bottom:10px;
    padding-left: 20px;
    padding-right: 20px;
}

.editor-help a {
    background: #FFF;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

.editor-help a svg {
    width:35px;
    height:auto;
}

.editor .editor-submit a:hover, .editor .editor-clear a:hover, .editor .editor-help a:hover {
    opacity:0.8;
    text-decoration:none;
}

.popover {
    max-width: 52%;
    border:0;
    box-shadow: 0 6px 25px rgba(0,0,0,.1);
}

.popover-header {
    background-color: #5dddd3;
    border-bottom: 0 solid #ebebeb;
    color: #fff;
}

.editor .editor-block textarea {
    -moz-box-sizing: border-box;
    -moz-transition: border .3s;
    -ms-transition: border .3s;
    -o-transition: border .3s;
    -webkit-box-sizing: border-box;
    -webkit-transition: border .3s;
    border: none;
    box-sizing: border-box;
    font-family: Lato,sans-serif;
    font-size: 20px;
    font-weight: 300;
    height: 100%;
    line-height: 27px;
    margin: 0;
    outline: none;
    overflow: auto;
    resize: none;
    transition: border .3s;
    vertical-align: top;
    width: 100%;
    box-sizing:border-box;
}

.editor .mce-panel {
    border:0 !important;
}

.editor #mceu_0 {
    min-height:350px;
}

/* .editor #mceu_2 {
    height:350px;
} */

.navbar-toggler-icon:hover {
    opacity: 0.7;
}

.editor iframe {
    min-height: 350px;
}

.editor #mceu_3 {
    display: none;
}

.editor #tinymce {
    min-height:350px;
}

.editor .mce-tinymce {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.0) !important;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.0) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.0) !important;
}


.editor .feature-block {
    text-align: center;
}

.editor .fb-1 {
    margin-bottom:40px;
}

.editor .fb-3 {
    margin-bottom:40px;
}

#feature {
    margin-top: 25px;
}

 .feature-block .feature-icon {
    padding: 10px;
    max-width:100px;
}

 .feature-block .feature-title {
    color: #60657b;
    margin: 0 auto;
    width: 100px;
    font: normal 400 14px/24px Arial;
    letter-spacing: 0;
}

/* .editor .try-grammar {
    -webkit-border-radius: 0;
    background: url(../img/try.svg) no-repeat;
    border-radius: 0;
    height: 85px;
    left: 90%;
    top: -60px;
    width: 349px;
    position: absolute;
    z-index: 99;
} */

.editor .mce-edit-area {
    min-height:350px;
}

/*
@media(max-width: 1600px) {

    .ad-block-2 {
        position: relative;
        top: 0;
        width: 100%;
        height: 250px;
    }

    main {
        padding-left: 320px;
    }
}

@media(max-width: 992px) {
    main {
        padding-left: 0;
    }

    .ad-block-1 {
        position: relative;
        top: 0;
        width: 100%;
        height: 250px;
    }
}

@media (min-width:1024px) and (max-width:1170px) {
    .editor .try-grammar {
        -webkit-border-radius: 0;
        background: url(../img/try.svg) no-repeat;
        border-radius: 0;
        height: 85px;
        left: 75%;
        top: -50px;
        width: 349px;
        position: absolute;
        z-index: 99;
    }
    #about h2 {
        padding-top:25px;
    }
}

@media (min-width:767px) and (max-width:1023px) {
    .editor .try-grammar {
        -webkit-border-radius: 0;
        background: url(../img/try.svg) no-repeat;
        border-radius: 0;
        height: 85px;
        left: 55%;
        top: -50px;
        width: 349px;
        position: absolute;
        z-index: 99;
    }
    #about h2 {
        padding-top:25px;
    }
}

@media (min-width: 413px) and (max-width:766px) {

    .editor .editor-submit a {
        font-size: 16px;
        padding: 0 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .editor .editor-submit {
        margin-bottom: 30px;
    }

    .editor-help a svg {
        margin-top: -10px;
    }

    .try-grammar {
        display:none !important;
    }

    .editor .fb-2 {
        margin-bottom:40px;
    }

    .editor .fb-3 {
        margin-top:40px;
        margin-bottom:40px;
    }

    h1.main-title {
        padding-top:20px;
    }

    #about {
        margin-top:20px;
    }

    #about h2 {
        padding-top:5px;
    }

    #about .home-about-text {
        padding-top:15px;
        padding-bottom:15px;
    }

    #about p {
        text-align:center;
    }

    .editor .feature-block {
        width:45%;
        display:inline-block;
    }

    .editor .feature-block .feature-title {
        min-height:50px;
    }
}

@media (min-width: 374px) and (max-width: 412px) {

    .editor .editor-submit a {
        font-size: 16px;
        padding: 0 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .editor-clear a {
        font-size: 16px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .editor .editor-submit {
        margin-bottom: 30px;
    }

    .editor-help a svg {
        margin-top: -5px;
    }

    .try-grammar {
        display:none !important;
    }

    .editor .fb-2 {
        margin-bottom:40px;
    }

    .editor .fb-3 {
        margin-top:40px;
        margin-bottom:40px;
    }

    h1.main-title {
        padding-top:20px;
    }

    #about {
        margin-top:20px;
    }

    #about h2 {
        padding-top:5px;
    }

    #about .home-about-text {
        padding-top:15px;
        padding-bottom:15px;
    }

    #about p {
        text-align:center;
    }

    .editor .feature-block {
        width:45%;
        display:inline-block;
    }

    .editor .feature-block .feature-title {
        min-height:50px;
    }
}

@media (min-width: 319px) and (max-width: 373px) {
    .try-grammar {
        display:none !important;
    }

    .editor .fb-2 {
        margin-bottom:40px;
    }

    .editor .fb-3 {
        margin-top:40px;
        margin-bottom:40px;
    }

    h1.main-title {
        padding-top:20px;
    }

    #about {
        margin-top:20px;
    }

    #about h2 {
        padding-top:5px;
    }

    #about .home-about-text {
        padding-top:15px;
        padding-bottom:15px;
    }

    #about p {
        text-align:center;
    }

    .editor .feature-block {
        width:45%;
        display:inline-block;
    }

    .editor .feature-block .feature-title {
        min-height:50px;
    }

    .editor .editor-submit {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
}*/
