﻿body {
    padding-top: 50px; /* velikost horniho menu */
    font-family: Open Sans,sans-serif;
}

.navbar {
    border: none;
}

    .navbar .container ul li.active > a,
    .navbar .container ul li.active > a:hover,
    .navbar .container ul li.active > a:focus {
        background-color: #333333;
    }

    .navbar.second-menu {
        padding-top: 50px;
        background-color: #333333;
        z-index: 1020;
    }

.navbar {
    min-height: 50px; /* velikost horniho menu */
}

.second-menu2 {
    display: none;
}

li.active .second-menu2 {
    display: initial;
}

.second-menu2 {
    position: fixed;
    width: 100%;
    left: 0;
    top: 50px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.nav.navbar-nav > li > a {
    font: 13px Open Sans;
    color: white;
    padding: 14px 20px 14px 20px; /* velikost horniho menu */
    font-weight: 500;
    text-transform: uppercase;
}

.header-backgrond {
    filter: hue-rotate(180deg);
    background-image: url("/images/head_bg.jpg");
    min-height: 500px;
    max-height: 500px;
}

.header-backgrond2 {
    background-image: url("/images/head_bg.jpg");
    min-height: 138px;
    max-height: 138px;
}

body > .container.layout2 {
    margin-top: -138px;
}

body > .container.layout1 {
    margin-top: -500px;
}

.logo {
    padding-top: 15px;
    padding-bottom: 25px;
    float: left;
}

.speed-menu {
    float: right;
    padding-top: 25px;
    padding-bottom: 25px;
    list-style: none;
}

    .speed-menu > a {
        display: inline;
        text-align: center;
        padding: 0px;
        font: bold 18px Open Sans;
        color: black;
        text-decoration: none;
        transition: filter 0.3s
    }

        .speed-menu > a:hover {
            filter: invert(100%);
            transition: filter 0.3s
        }

.body-content {
    min-height: 500px;
    background-color: white;
    margin-left: -15px;
    margin-right: -15px;
}

.container > .carousel {
    margin: 0 -15px;
}

.carousel .carousel-inner {
    background-color: #231f20;
}

.container .carousel div.item {
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background-color: #231f20;
    margin: 0;
}

.carousel .carousel-indicators li.add {
    text-indent: initial;
    color: white;
    border: none;
}

.carousel .control {
    display: none;
    position: absolute;
    right: 0px;
}

    .carousel .control > div {
        margin-right: -60px;
    }

.carousel a.item.row {
    margin: 0;
}

.navbar-collapse {
    position: relative;
}

.navbar:hover .control {
    display: block;
}

.navbar .control {
    display: none;
    position: absolute;
    right: 0px;
}

    .navbar .control > div {
        margin-right: -80px;
        margin-left: 22.5px;
    }

    .navbar .control .btn {
        padding: 7px;
    }

.control-inner .btn-right.btn:first-child {
    border-top-right-radius: 10px;
}

.control-inner .btn-right.btn:last-child {
    border-bottom-right-radius: 10px;
}

.control-inner .btn-left.btn:first-child {
    border-top-left-radius: 10px;
}

.control-inner .btn-left.btn:last-child {
    border-bottom-left-radius: 10px;
}

.control-inner .btn {
    display: block;
    border-radius: 0px;
}

    .control-inner .btn .glyphicon {
        font-size: 30px;
    }

.carousel:hover .control {
    display: inline;
}

.carousel .item > .img {
    padding: 0;
}

.carousel .item > .text > div {
    padding: 60px;
    color: white;
}

.carousel .item .img img {
    width: 100%;
    min-height: 100%;
}

.carousel .item > div {
    padding: 0;
}

.teacher {
    display: flex;
    margin-bottom: 20px;
}

    .teacher img {
        width: 120px;
        height: 160px;
        min-width: 120px;
    }

    .teacher .description {
        padding-left: 20px;
    }

.enroll {
    background-color: #088ecb;
    padding: 50px 60px 50px 60px;
    text-align: justify;
}

    .enroll h2 {
        padding: 0;
        margin: 0;
        color: white;
        font-size: 26.5px;
    }

    .enroll .info {
        color: black;
        margin: -5px;
        padding: 5px;
        background-color: yellow;
        margin-bottom: 10px;
    }

        .enroll .info ul {
            padding-left: 0;
        }

            .enroll .info ul li {
                list-style: none;
            }

.description-container {
    padding-left: 0px;
    padding-right: 50px;
}

    .description-container h2 {
        color: black;
        font-size: 47px;
        padding-bottom: 20px;
    }

    .description-container h3 {
        color: #088ecb;
        font-size: 24px;
        font-weight: 400;
        padding-bottom: 10px;
    }

    .description-container p {
        font-size: 16px;
        text-align: justify;
        color: #797979;
    }

.event:not(:last-child) {
    margin-left: 5px;
    margin-bottom: 0;
    padding-bottom: 20px;
    background-image: linear-gradient(to right, #797979 10%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 10px 1.5px;
    background-repeat: repeat-x;
    background-position-x: 0;
}

.events-container .more {
    text-align: right;
    padding-top: 40px;
    margin: 0;
}

    .events-container .more a {
        margin-top: 100px;
        display: block;
        border: 1px solid #bbbbbb;
        padding: 10px 20px;
        color: #aaa;
        font-weight: bold;
        font-size: 16px;
        width: 280px;
        margin: auto;
        margin-right: 0;
        text-align: center;
    }

.news .added-event {
    border: 1px solid orange;
}

.comments-container {
    padding-left: 0px;
}

    .comments-container h2 {
        color: black;
        font-size: 47px;
        padding-bottom: 20px;
    }

    .comments-container h3 {
        color: #919191;
        font-size: 24px;
        font-weight: 400;
        padding-bottom: 10px;
    }

.comments .comment:nth-child(odd) .text {
    float: left;
    width: 70%;
    padding-right: 50px;
    text-align: justify;
}

.comments .comment:nth-child(odd) .image {
    float: right;
    width: 30%;
}

.comments .comment:nth-child(even) .text {
    float: right;
    padding-left: 50px;
    width: 70%;
    text-align: justify;
}

.comments .comment:nth-child(even) .image {
    float: left;
    width: 30%;
}

.comments-container .more {
    margin: 0;
    text-align: right;
    margin-top: -10px;
    margin-bottom: 50px;
}

    .comments-container .more a {
        margin-top: 20px;
        border: 0px solid #aaa;
        padding: 0;
        color: #e9671e;
        font-weight: bold;
        font-size: 20px;
    }

.comments-container .comment .more {
    padding-top: 30px;
    margin: 0;
}

.comments-container .comment:nth-child(even) .more a {
    margin-right: 0;
}

.comments-container .comment:nth-child(odd) .more a {
    margin-left: 0;
}

.comments-container .comment .more a {
    margin-top: 100px;
    display: block;
    border: 1px solid #bbbbbb;
    padding: 10px 20px;
    color: #aaa;
    font-weight: bold;
    font-size: 16px;
    width: 280px;
    margin: auto;
    text-align: center;
}

.comment {
    margin-left: 5px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    background-image: linear-gradient(to right, #797979 10%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 10px 1px;
    background-repeat: repeat-x;
    background-position-x: 0px;
}

    .comment .text p {
        color: #797979;
        font-size: 16px;
    }

    .comment h3 {
        text-transform: uppercase;
    }

.footer h3 {
    text-transform: uppercase;
}

.footer {
    background-color: #3d3e4d;
    padding-top: 50px;
    color: white;
    font-size: 22px;
    font-weight: 600;
    overflow: hidden;
    margin-top: 50px;
}

    .footer ul {
        list-style: none;
        padding-top: 10px;
        padding-left: 10px;
        font-weight: 600;
        font-size: 16px;
    }

        .footer ul li {
            padding-bottom: 5px;
        }

            .footer ul li a {
                color: white;
            }

    .footer .map {
        max-height: 300px;
    }

    .footer hr {
        border-color: #606060;
        border-width: 3px;
        width: 10000%;
        margin-left: -10000px;
        margin-right: -10000px;
    }

    .footer .copyright {
        text-align: center;
        font-size: 17px;
    }

.popover .btn {
    margin: 10px;
}

.article-content h1 {
    /*margin-top: 50px;*/
    margin-top: 0px;
}

.article-content div {
    margin-bottom: 10px;
}

    .article-content div.image-title {
        margin-bottom: 50px;
    }

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

.article-content h2 {
    font-weight: bold;
    font-size: 16px;
}

.form-control {
    margin-bottom: 20px;
}
/*artivle admin css*/
table.table-condensed {
    width: 100%;
    text-align: center;
}

.iframe-container{
    flex-grow:1;
}
.iframe-container iframe{
    width:100%;
    height:100%;
}
.detail input {
    color: black;
}


@media (max-width:1500px) {
    .container {
    }
}

@media (max-width:1450px) and (min-width:425px) {
    .container #app .nav-tabs {
        margin-left: 140px;
    }

    .container #app .student-list:not(.email-window) {
        margin-left: 140px;
    }

    .student-list .workshop {
        overflow: hidden;
    }
    .student-list .email-window {
        width: calc(100vw - 140px - 320px );
        height: auto;
    }
}
@media (max-width:992px){
    .wrapper .email-window iframe {
        width: 200%;
        transform: scale(0.5);
        transform-origin: 0 0;
        height: 800px;
        margin-bottom: -400px;
    }
    .student-list .wrapper .email-window{
        height: auto;
    }
}

@media (max-width:768px) {
    .wrapper.open:before {
        content: "";
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: black;
        opacity: 0.8;
    }

    .student-list .email-window {
        width: calc(100vw - 30px);
        left: 0;
    }
    .wrapper.open .left-menu-wrapper{
        display:none;
    }
}

@media (max-width:425px) {
    .container .container.signin {
        width: 90%;
    }

        .container .container.signin a {
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: pre-wrap;
        }

    .student-list, .action-students {
        position: relative;
        display: flex;
        flex-direction: column;
    }

        .student-list .workshop {
            overflow: hidden;
        }

        .student-list .title {
            margin-top: 170px;
        }


        .student-list .wrapper {
            position: absolute;
            height: 100%;
            order: -1;
            overflow: visible;
            width: 0px;
        }

        .student-list .left-menu-wrapper {
            height: 0;
            width: calc(100vw - 30px);
            right: 5px;
            position: sticky;
            top: 50px;
        }
}

@media (max-width:560px) {
    .col-xxs-12 {
        width: 100%
    }

        .col-xxs-12 ul {
        }

    .footer-hidden {
        display: none;
    }

    .events-container .more a {
        margin-right: auto;
        width: auto;
    }

    .comments-container .comment:nth-child(even) .more a {
        margin-right: auto;
        width: auto;
    }

    .comments-container .comment:nth-child(odd) .more a {
        margin-left: auto;
        width: auto;
    }

    .news .more a {
        width: auto;
        margin-left: auto;
    }
}

@media (max-width:992px) {
    .container.signin {
        width: 60%;
    }

    .logo {
        width: 100%;
    }

    .map {
        width: 100%;
    }

    .row {
        overflow: hidden;
    }

    .second-menu {
        display: none;
    }

    .header-backgrond2 {
        height: 320px;
        min-height: 0;
        max-height: 320px;
    }

    body > .container.layout2 {
        margin-top: -320px;
    }
}

@media (max-width: 650px) {
    .footer .map img {
        width: 100%;
    }
}

@media (min-width: 1199px) {
    .carousel {
        height: 388px;
    }

        .carousel .item {
            max-height: 400px;
            min-height: 400px;
        }
}

@media (max-width: 1199px) {
    .content {
        display: flex;
        flex-wrap: wrap;
    }

        .content div:nth-child(1) {
            order: 2;
            padding: 0 15px;
        }

        .content div:nth-child(2) {
            order: 1;
        }

    .events-container {
        padding-left: 60px;
    }

    .comments-container, .footer {
        padding-left: 60px;
        padding-right: 50px;
    }

    .comment {
        display: flex;
        flex-wrap: wrap;
    }

    .comments > .comment:nth-child(even) > .image {
        order: 1;
        width: 100%;
    }

    .comments > .comment:nth-child(odd) > .image {
        order: 1;
        width: 100%;
    }

    .comments > .comment:nth-child(even) > .text {
        order: 2;
        width: 100%;
        padding: 0;
    }

    .comments > .comment:nth-child(odd) > .text {
        order: 2;
        width: 100%;
        padding: 0;
    }
}
/* Fix collapse size*/
        @media (max-width: 1199px) {
            .lock-menu {
                text-align: center;
            }

            .second-menu2 {
                position: initial;
                width: 100%;
                left: 0;
                top: 50px;
            }

                .second-menu2 .navbar-nav {
                    margin-left: 10px;
                }
        }

        @media (max-width: 1199px) {
            .navbar-header {
                float: none;
            }

            .navbar-left, .navbar-right {
                float: none !important;
            }

            .navbar-toggle {
                display: block;
            }

            .navbar-collapse {
                border-top: 1px solid transparent;
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
            }

            .navbar-fixed-top {
                top: 0;
                border-width: 0 0 1px;
            }

            .navbar-collapse.collapse {
                display: none !important;
            }

            .navbar-nav {
                float: none !important;
                margin-top: 7.5px;
                height: 100%;
            }

                .navbar-nav > li {
                    float: none;
                }

                    .navbar-nav > li > a {
                        padding-top: 10px;
                        padding-bottom: 10px;
                    }

            .collapse.in {
                display: block !important;
            }
        }

        a .item.row {
    margin: 0;
}


.carousel {
    overflow: hidden;
}

    .carousel .carousel-indicators li {
        width: auto;
        height: auto;
        border-radius: 0;
        text-indent: 0;
    }

    .carousel .carousel-indicators li {
        margin-top: 20px;
    }

        .carousel .carousel-indicators li img {
            filter: grayscale(100%) brightness(50%);
            transition: filter 0.7s;
        }

        .carousel .carousel-indicators li:hover img {
            filter: grayscale(0%);
            transition: filter 0.7s;
        }

        .carousel .carousel-indicators li.active img {
            filter: grayscale(0%);
            transition: filter 0.7s;
        }

    .carousel .carousel-indicators {
        left: 0px;
        width: auto;
        right: 0px;
        bottom: 0px;
        margin-left: 0;
        height: 0;
        transition: height 0.6s;
        margin-bottom: 0px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    }

    .carousel:hover ol.carousel-indicators {
        height: 85px;
    }

    .carousel .carousel-indicators li.active {
        border-color: #e9671e;
    }

@@media (max-width: 768px) {
    .carousel a.item > .text > div {
        padding: 60px 20px;
        color: white;
    }

    .row .news {
        padding: 40px 20px;
    }

    .row .description-container, .row.comments-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1199px) {
    .carousel .carousel-indicators li {
        margin-top: 0px;
    }

    .carousel ol.carousel-indicators, .carousel:hover ol.carousel-indicators {
        height: auto;
        padding: 0 20px;
    }

    .carousel {
        display: flex;
        flex-wrap: wrap;
    }

        .carousel .carousel-indicators {
            position: relative;
            order: 1;
            width: 100%;
            left: 0;
            right: 0;
            background: #231f20;
            /*padding: 20px 0;*/
        }

        .carousel .carousel-inner .item > .text > div {
            padding-bottom: 0px;
        }
}

.video{
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.video>iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
