.navbar-brand {
		height: 45px;
}

/* Responsive Video Container
-------------------------------------------------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; 
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hidden Element
-------------------------------------------------- */
.hidden{display:none;}

/* Recaptcha
-------------------------------------------------- */
#recaptcha {
    width: 304px;
    margin: 0 auto;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 100px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 100px;
}

.box > .icon {
    text-align: center;
    position: relative;
}
.box > .icon > .image {
    position: relative;
    z-index: 2;
    margin: auto;
    width: 88px;
    height: 88px;
    border: 8px solid white;
    line-height: 88px;
    border-radius: 50%;
    vertical-align: middle;
}
.box > .icon:hover > .image {
    background: #333;
}
.box > .icon > .image > i {
    font-size: 36px !important;
    color: #fff !important;
}
.box > .icon:hover > .image > i {
    color: white !important;
}
.box > .icon > .info {
    margin-top: -24px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #e0e0e0;
    padding: 15px 0 10px 0;
    min-height: 163px;
}
.box > .icon:hover > .info {
    background: rgba(0, 0, 0, 0.04);
    border-color: #e0e0e0;
    color: white;
}
.box > .icon > .info > h3.title {
    font-size: 16px;
    color: #222;
    font-weight: 700;
}
.box > .icon > .info > p {
    font-size: 13px;
    color: #666;
    line-height: 1.5em;
    margin: 20px;
}
.box > .icon:hover > .info > h3.title,
.box > .icon:hover > .info > p,
.box > .icon:hover > .info > .more > a {
    color: #222;
}
.box > .icon > .info > .more a {
    font-size: 12px;
    color: #222;
    line-height: 12px;
    text-transform: uppercase;
    text-decoration: none;
}
.box > .icon:hover > .info > .more > a {
    color: #fff;
    padding: 6px 8px;
    background-color: #63B76C;
}
.box .space {
    height: 30px;
}

/* Floating Labels
/* https://github.com/fauxparse/bootstrap-floating-labels
-------------------------------------------------- */
.floating-label-form-group input,
.floating-label-form-group textarea {
    border: none;
    border-bottom: 3px solid;
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: transparent;
}

.floating-label-form-group input:focus,
.floating-label-form-group textarea:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: transparent;
}

.floating-label-form-group label {
    position: relative;
    top: 2em;
    opacity: 0;
    z-index: 0;
    margin: 0;
    -webkit-transition: top 0.5s ease, opacity 0.5s ease;
    -moz-transition: top 0.5s ease, opacity 0.5s ease;
    -ms-transition: top 0.5s ease, opacity 0.5s ease;
    transition: top 0.5s ease, opacity 0.5s ease;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

form .row:first-child .floating-label-form-group {
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}



/*
    Плитка на главной
*/
.plitka {
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    display: flex;
}
.plitka-item {
    width: 33%;
    flex-grow: 0;
    position: relative;
}
.plitka-item ul.post {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0px;
    padding: 5px;
}

.plitka-item ul.post li {
    margin: 4px 0px;
}


.plitka-item .post .post-title h3 {
    margin-bottom: 0px;
    margin-top: 4px;
    font-size: 19px;
}
.plitka-item .post .post-title h3 a {
    font-weight: 400;
    color: black;
}
.plitka-item ul.post li.post-title h4 {
    margin-bottom: 0px;
}
.plitka-item .post .post-title h5 {
    margin-bottom: 0px;
    margin-top: 0px;
}
.hint-text-height {
    max-height: 50px;
    overflow: hidden;
}
.plitka-item ul.post li.post-img {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    background: #333333;
    border: 7px solid #ffffff;
    overflow: hidden;
    position: relative;
}
.plitka-item ul.post li.post-img img {
    width: 100%;
    height: auto;

}


.plitka-item ul.post li.schedule  {
    margin: 2px 0px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    width: 100%;
    flex-wrap: wrap;    
}
.plitka-item ul.post li.schedule div {
    white-space: nowrap;
    margin: 1px;
    padding: 0px 4px;
    border-radius: 2px;
}
.plitka-item ul.post .post-img div.post-category  {
    position: absolute;
    top: 0px;
}
.plitka-item ul.post .post-img div.post-category a {
    font-size: 13px;
    text-transform: uppercase;
    padding: 3px 10px;
    font-weight: 600;
    border-radius: 2px;
    margin-right: 15px;
    color: #FFF;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    background-color: #4BB92F;
}
.plitka-item .schedule {
    line-height: 28px;
}
.plitka-item .schedule .post-date {
    margin: 0px 5px 0px 0px;
}
.plitka-item .schedule .post-desc {
}

.home-section-title h2 {
    font-weight: bold;
}
.home-room-categories li{
    padding-bottom: 5px;
}



ul#front-menu-lessons {

}
ul#front-menu-lessons>li {

}
ul#front-menu-lessons>li>a {

}
ul#front-menu-lessons>li>a.active {
    font-weight: bold;
}

#page-master-container {
    padding: 0px 15px 15px 15px;
}


ul#page-master-blocks, 
ul#page-lesson-homeworks>li, 
div#page-front-content,
div#hm-edit-comment,
div.pm-message
{
    overflow: hidden;
    list-style: none;
    padding: 5px 15px;
    width: 100%;
    min-height: 250px;
    /*border-top: 2px solid #ccc;*/
    /*border-bottom: 2px solid #ccc;*/

    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 3px 3px 3px #ccc;

}

ul#page-lesson-homeworks>li .comment-images img {
    max-width: 100%;
}

div.pm-message {
    margin-bottom: 10px;
    min-height: 100px;
}
div.pm-message hr {
    margin: 5px 0px;
}

ul#page-lesson-homeworks {
    margin-top: 15px;
    padding: 0px;
} 
ul#page-lesson-homeworks>li {
    min-height: 150px;
    margin: 7px 0px;
}
ul#page-master-blocks>li {
    display: block;
    width: 100%;
    padding: 0px 7px;
    margin: 7px 0px;
}

.lesson-master-image-preview, .lesson-master-video-preview {
    text-align: center;
}
.lesson-master-image-preview img {
    max-width: 100%;

}

.lesson-master-video-preview {
}
.lesson-master-video-preview iframe {
    width: 100%;
    max-width: 750px;
    height: 400px;
}

.block-image-input-preview-container {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.navbar {
    min-height: 46px;
}
.navbar-nav>li>a {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
}
}


@media (max-width: 1280px){
    .plitka-item {
        width: 50%;
    }
}
@media (max-width: 800px){
    .plitka-item {
        width: 100%;
    }
}
@media (max-width: 480px){
    .plitka-item {
        width: 100%;
    }
}




