/*
Theme Name:     Kallyas Child Theme
Theme URI:      http://kallyas.net/demo/
Description:    Child theme for the Kallyas theme
Author:         Hogash
Author URI:     http://themeforest.net/user/hogash
Template:       kallyas
Version:        1.0
Tags: dark, light, left-sidebar, right-sidebar, fluid-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, full-width-template, theme-options, translation-ready
Text Domain:  zn_framework
*/

.site-header-main-right .sh-component /* ���� ������� �������� � �������� ���� */{
    margin-left: 10px; margin-right: 10px;}
.zn-res-menuwrapper /* ���� ������� ������� ���������� ���� */{
    position: fixed; right:10px; top:10px;}
.shadow-text /* ����� � ����� */ {
    text-shadow: 0px 3px 10px rgba(0,0,0,0.1), 0px 3px 10px rgba(0,0,0,0.05), 0px 3px 10px rgba(0,0,0,0.05); } 
    
/* �������� ������ ����� */  
@font-face {
    font-family: Raleway; /* ��� ������ ��� CSS ������ */
    src: local("Raleway"), /* ��������� ������� ������ � �� ������������ */
         url(/wp-content/themes/kallyas/fonts/raleway/Raleway-Regular.otf); /* ���� ����� �� ����������, ����� ��������� ��� �� ���������� ���� */ }
.raleway {font-family: "Raleway";}

.black-text {color: rgba(0, 0, 0, .8);}

/* ��� ��� ����� ������������ �� �������� ������ */
.kl-skin--dark .kl-commlayout-modern {background: #fff;}
.kl-skin--dark .form-control:not(.form-control--light) {
    color: #d0d0d0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: inset 1px 2px 7px rgba(0,0,0,.1);}

/* ���� ����������� ������� ������ ��� ����� �������� */
img.grid-ibx__icon {
    width: 70px!important;}
    
/* ���� ������ ��� ����� */
.kl-skin--dark a { color:#ffcc00;}    


/* customization by agile_fox starts here */

.main-nav.mainnav--active-bg > ul > li.active > a:before, .main-nav.mainnav--active-bg > ul > li > a:hover:before, .main-nav.mainnav--active-bg > ul > li:hover > a:before {
    height: calc(52px + 52px)!important;
    opacity: 1!important;
}

.top-phone { /* ����� �������� ��� ������� ���� ������ */
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    font-size: 24px;
    color: #fff;
    margin-top: -20px;
    padding-right: 40px;
    text-decoration: none;
    text-align: right;
}
.main-nav.mainnav--active-bg>ul>li>a:before {
    width: 104%!important;
}

.main-nav>ul>li { /* ���� �������� ����� �������� ���� */
    margin-left: 6px;
}

.left-border-text { /*����� �������-����� ��� ��������� ����� */
    border-left: 5px solid #eee;
}

.no-padding-leftright { /* ���� �������� �����-������ */
    padding-left: 0!important;
    padding-right: 0!important;
}

.ivent-card .hover-box-title {
    padding-top: 30px;
    font-weight: 400!important;
    font-size: 18px;
    line-height: 22px;
}

.ivent-card .hover-box-subtitle {
    font-weight: 300!important;
    font-size: 14px;
    line-height: 14px;
}

.crop-img .image-boxes-img-wrapper  .image-boxes-img {
    object-fit: cover;
    height: 265px;
}

.zn_google_map {
    height: 600px!important;
}

/* --- Custom fixes 09.01.2017 ---*/ 
/* ���� */
.main-nav>ul>li>ul.sub-menu { /* ������� ����������� ������� */
    -webkit-transform: translateY(38px);
    transform: translateY(38px);
}
.main-nav ul ul.sub-menu { /* ����� ������� */
    border-radius: 0px;
    border: none;
    background: #47b8d3;
}
.main-nav ul ul.sub-menu li a, .main-nav .zn_mega_container li a { /* ����� � ������� */
    font-size: 16px!important;
    font-weight: 500!important;
}
.main-nav ul ul.sub-menu li a { /* ���� ������ � ������� � ������� */
    color: #ffffff;
}
.main-nav>ul>li>ul.sub-menu:after { 
    border-bottom-color: #47b8d3;
}
.mainnav--pointer-dash.main-nav>ul>li.menu-item-has-children>a:after { /* �������� �������� � ������ ���� */
    background-color: hsla(0,0%,100%,0);
}

/* --- 11.01 --- */
.main-nav ul ul.sub-menu li a {
    min-width: 155px;
}

.blue-overlay {
    overflow: hidden;
    width: 262px;
    height: 262px;
}
.blue-overlay .imgboxes-wrapper .image-boxes-img-wrapper:before{    
    z-index: 100;
    position: absolute;
    left: -125px;
    top: 365px;
    display: block;
    margin: 0;
    height: 200px;
    width: 373px;
    /*background: url(images/hover_bg.png);*/
    content: "";
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    overflow: hidden;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    background-color: #27b8d1;
    opacity: .6;
}
.blue-overlay .imgboxes-wrapper .image-boxes-img-wrapper:after{
    position: absolute;
    left: 17px;
    top: -300px;
    display: block;
    margin: 0;
    height: 200px;
    width: 372px;
    /*background: url(images/hover_bg.png);*/
    content: "";
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    overflow: hidden;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    background-color: #27b8d1;
    opacity: .6;
}
.blue-overlay:hover .imgboxes-wrapper .image-boxes-img-wrapper:before{    
    top: 102px;
}
.blue-overlay:hover .imgboxes-wrapper .image-boxes-img-wrapper:after{
    top: -39px;
}
.blue-overlay h3 {
    font-size: 18px!important;
    z-index: 110!important;
    height: 60%;
    transform: rotate(45deg);
    opacity: 0;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    
    background-color: rgba(0, 0, 0, .8);
    width: 152px!important;
    height: 120px;
    padding: 26px;
    margin-bottom: 25%!important;
    margin-left: 22%;
}
.blue-overlay:hover h3 {
    transform: rotate(0deg);
    text-align: center!important;
    opacity: 1;
}
.blue-overlay .image-boxes-title:before {
    opacity: 0!important;
}

/*.blue-overlay .imgboxes-wrapper .image-boxes-img-wrapper img {
    max-width: 120%!important;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}
.blue-overlay:hover .imgboxes-wrapper .image-boxes-img-wrapper img {
    width: 120%!important;
    /*margin-top: -10%;
    margin-left: -10%;
}*/
 
/* --- 12.01 --- */   

ul.social-icons {
    top: 29%;
    position: fixed;
    right: 10px;
    width: 70px; 
}
.site-header .topnav.social-icons .social-icons-li {
    margin: 5px!important;
    margin-left: 10px;
}
.topnav-li {
    float:right;
}
.site-header .topnav.social-icons .social-icons-item {
    font-size: 25px;
    font-weight: 400;
    opacity: 1;
    padding-top: 12px;
    /*padding-right: 3px;*/
}
.social-icons-item {
    width: 50px;
    height: 50px;
    border-radius: 25px;
}
.social-icons.sc--colored_hov .social-icons-item:not(:hover) {
    background-color: #27b8d1;
}
.portfolio-item-details li {
    margin-bottom: 10px;
}
.portfolio-item-details-label {
    padding-right: 7px;
}

/* -- 14.01 --- */
.our-courses-start {
    position: absolute; bottom: 0; color: #fff!important; text-align: center; padding-bottom: 30px;
}
.our-courses-start:after {
    content: '';
    height: 2px;
    width: 30px;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    z-index: 1;
}

.kl-ptf-catlist-title a {
    font-size: 20px;
    line-height: 18px;
    font-weight: 500;
    color: #303333!important;
    text-transform: none;
}
.kl-ptf-catlist-desc p{
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    color: #303333;
}
.site-header.style12 {
    background-size: cover; /* ���� ������� ���� ����� */
}

.wpcf7 label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 400;
    color: #000;
    font-size: 18px;
}
.wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio) {
    padding: 0 7px 0 7px;
    font-size: 16px;
    width: 400px;
}
.wpcf7-form textarea {
    height: 100px!important;
}
.wpcf7-form p {
    margin: 0 0 7px;
}
.wpcf7-submit {
    padding: 10px!important;
    background-color: #27b8d1;
    color: #fff;
    border: none!important;
    border-radius: 0;
    font-size: 20px!important;
    font-weight: 500; 
}
.main-nav > ul > li > a:before{
    transition: all .2s ease-in-out!important;
}

.review-archive img {
    width: 100%;
    border-radius: 50%;
    max-width: 100%;
}

.review-archive p.tbk__title {
    margin-top: 0px;
    margin-bottom: 10px;
    font-family: Helvetica;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    padding: 20px 28px;
    background-color: #eee;
    color: #343434;
    border-radius: 7px;
}
.review-archive p:before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 28px;
    left: 10px;
    background-color: #eee;
    transform: rotate(45deg);
} 
.review-archive p.tbk__subtitle {
    margin: 0;
    font-family: Helvetica;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    font-style: normal;
}

/* --- 17.01.2017 --- */
.event-bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    padding: 90px;

}
.event-meta-container {
    text-align: center;
    margin: 0 7%;
    padding: 20px;
    /*background-color: rgba(0,0,0,.75);*/
}
.event-meta-card {
    text-shadow: none;
    border: none;
    padding: 20px;
    margin-bottom: 0;
    position: relative;
    display: block;
    background-color: rgba(0,0,0,.75);
}
.event-meta-container h4{
    color: #fff;
}
.custom-ivent-card a:hover{ /* ���� ����� ������ */
    color: #000!important;
}
    /*background-color: rgba(255,255,255,.75);
}

.ivent-card a:hover .event-meta-container h4{
    color: #000;
}*/

/* --- 18.01.2017 --- */
.ivent-card a.hover-box-3 {
    padding: 20px;
}
.ivent-card a h3.hover-box-title {
    padding-top: 20px;
}
.no-padding .zn_col_container-smart_container .znColumnElement{ 
    padding-left: 0px;
    padding-right: 0px;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .no-padding .zn_col_container-smart_container .col-md-offset-3 {
    margin-left: 20%;
    }
    .no-padding .zn_col_container-smart_container .col-md-6 {
    width: 60%;
    }
    .eluid0f0014df {
        margin-left: 9%!important;
    }
}
@media (max-width: 991px) {
    .top-phone {
        display: none;/* ����� �������� �� ������������ � ��������� ������ */
    }
 
    .ivent-card a.hover-box-3 {
    padding: 15px;
    margin-bottom: 0px;
    }
    .blue-overlay {
        margin-bottom: 20px!important;
    }
    
    .eluid83d04d5a .zn_col_container-smart_container .znColumnElement .znColumnElement-innerWrapper .zn_content .zn_text_box h3 span {
        line-height: 22px!important;
        font-size: 18px!important;    
    }
    .eluid83d04d5a .zn_col_container-smart_container .znColumnElement .znColumnElement-innerWrapper .zn_content .zn_text_box h4 span {
        line-height: 20px!important;
        font-size: 12px!important;
    }
    .eluid83d04d5a .zn_col_container-smart_container .znColumnElement {
        padding-bottom: 35px;
    }
    
    .row-fix-event {
        margin-left: -45px;
        margin-right: -45px;
    }
    .event-bg {
        padding: 60px 20px;
    }    
}

/* --- 19.01.2017 --- */
select.wpcf7-select {
    padding: 6px!important;
}

form.wpcf7-form label{
    font-size: 16px;
    color: rgba(0,0,0,.9);
}

input.wpcf7-submit {
    margin-top: 30px;
}

.wpcf7-response-output {
    text-align: center;
}
form.wpcf7-form input {
    box-shadow: none!important;
}

/* --- 21.01.2017 --- */
@media (max-width: 1199px) {
    .blue-overlay {
        height: auto;
        width: auto;
    }
    .image-boxes-img-wrapper:before, .image-boxes-img-wrapper:after {
        display: none!important;
    }
    .blue-overlay a.image-boxes-button {
        display: none;
    }
}

@media (max-width: 767px) { 
    /* ���� ������� � ��������� ������ */
    .mobile-hidden { display: none!important; }
    /* ����������� ������ ������ */
    div.kl-top-header.site-header-main-wrapper.clearfix.sh--dark {
        height: 140px; overflow: hidden; }
        
    .site-header .sh-component  {
    margin-top: 36px;
    font-size: 20px;
    /*display: none!important;*/
    }    
    .site-header-top-wrapper {
        width: 100%!important;
        left: 0px!important;
    }
    .kl-font-alt {
        text-align: center;
        width: 100%;
    }
    ul.social-icons {
        display: none!important;
    }
    .site-header .site-logo {
        padding: 0px 30px 20px;
    }
    .site-header .site-logo-anch {
        padding: 0 30px!important;
    }
    .row-fix {
        padding: 0 30px 78px!important;
    }
    
    .eluid016b7280 {
        padding-top: 60px;
        padding-right: 0px!important;
        padding-bottom: 10px!important;
        padding-left: 0px!important;
    }
    .page-title.portfolio-item-title {
        text-align: center;
    }
    .wpcf7-form-control {
        width: 100%!important;
    }
    section.eluid1daf5bff {
        padding-top: 0px;
    }
    .blue-overlay h3 {
        transform: rotate(0deg);
        opacity: 1;
        width: 100%!important;
        height: 120px;
        margin-bottom: 0!important;
        margin-left: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .0));
    }
    .bgback,.page-subheader.zn_def_header_style { /* --- ���� "������" �������� --- */
        display: none;
    }
    .site-header.site-header--absolute+.site-content {
        padding-top: 20px;
    }
    
    .logo-container img.site-logo-img {
        height: 130px!important;
    }
    
}
@media (max-width: 992px) { 
    /* ���� ������ ���.����� � ��������� ������ */
    div.fxb-col.fxb.fxb-end-x.fxb-center-y.fxb-basis-auto.site-header-col-right.site-header-top-right {
        display: none!important;}
    .fxb-sm-half {
        flex-basis: auto;
    }
    li.current-menu-item, li.current_page_item {
        background-color: #27b8d1;
    }

}

@media (min-width: 768px) and (max-width: 1199px) { 
    .anons-date-block-fix {
        margin-left: 20%;  
    }
    .eluid0f0014df {
        margin-left: 5%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {     
    img.kl-bg-source__bgimage {
        height: 100%!important;
    }
}

.zn-res-menu-nav, .zn-res-menu-nav li div.zn_mega_container, .zn-res-menu-nav li ul.sub-menu {
    background: #222;
}
.our-courses h3 span a {
    font-size: 26px!important;
}

.static-page-title {
    font-family: Ubuntu, Helvetica, Arial, sans-serif; 
    font-size: 36px; 
    font-weight: 500; 
    color: #303334; 
    margin-bottom: 0px; 
    padding: 30px; 
    text-align: center;
}

/* --- ���� �������� ������� �� ��������� �������� --- */
.ph-content-wrap {
    display: none;
}

.site-content {
    margin-top: 20px;
}

/* --- ���� ��������� �� ���� --- */
.mac .znParallax-background .kl-bg-source__parallaxWrapper img {
    left: 0!important;
    transform: translate3d(0,0,0)!important;
    height: 100%!important;
    width: auto!important;
    min-height: 100%!important;
    min-width: 100%!important;
    object-fit: cover!important;
}

@media (min-width: 768px) and (max-width: 1800px) { 
    .site-header-top-wrapper { 
        left: 2px!important;
    }
}

@media (min-width: 1900px) { 
    .site-header-top-left .sh-component { 
    margin-left: 0px!important;
    margin-right:0px!important;}
}

.kl-blog-post-header {
    display: none;
}












