/*CSS Stylesheet*/

/*Styled by mz-mee.eu in fall of 2014*/

/*Media queries-responsive*/


#holder {
    width: 100%;
}

.mb-5{
    margin-bottom: 35px;
}


@media(min-width: 1244px) {
    #holder {
        width: 80%;
    }
    .slicknav {
        display: none
    }
}

@media(max-width:798px) {
    #list_actuals,
    #contenta {
        display: none;
    }

}

@media(max-width:650px) {
    #contenta {
        display: none!important
    }
    .teacher {
        width: 50%;
    }
    .teacher:nth-child(3n+1) {
        clear: none!important;
    }
    .teacher:nth-child(2n+1) {
        clear: left!important;
    }
}

@media(min-width:648px) {
    .teacher {
        width: 33.333%;
    }
}

@media(max-width:400px) {
    .teacher {
        width: 100%;
    }

}

@media(max-width:900px) {
    #centering {
        width: 100%;
    }
}

@media(min-width:900px) {
    #centering {
        width: 900px;
    }
}

@media(min-width:817px) {
    #actuals {
        width: 69%;
        margin-left: 31%;
    }
    .historie_sidebar {
        padding-left: 2%;
        width: 30.8%!important;
    }
    .historie_content {
        width: 65.2%!important
    }
    .ucitele {
        padding-left: 30.8%
    }
    #content {
        width: 65.2%;
        float: left;
    }
    #left_sidebar {
        width: 32.8%;
        float: left;
        padding-right: 2%;
        margin-top: -5px;
    }
    .content_akce {
        width: 67%;
        float: left;
    }

    .left_sidebar_akce {
        width: 31%;
        float: left;
        padding-right: 2%
    }
    #content_body {
        margin-top: 2em;
        width: 100%;
        padding: 2% 2% 2% 0%;
        box-sizing: border-box
    }

    /*Škola header*/
    #menu_bottom_subject {
        display: block
    }
    .slicknav_menu {
        display: none
    }
    #menu_mobile {
        display: none;
    }
    #menu_top_school li:first-child {
        padding-left: 1em!important
    }
    #header {
        background: url('images/backg-header.png');
    }
    #menu-item-1016 {
        margin-left: 1em
    }

    #menu_top_school {
        float: left;
        width: 60%;
    }
    #menu_top_school li:last-child {
        margin-left: 1em;
    }
    /*Obory header*/
    #subject {
        width: 60%;
        margin-left: 31%;
        text-align: center;
        padding-top: 2em;
    }
    .code_subject {
        text-align: left;
        position: relative;
        margin-left: 30px;
    }

}

@media(max-width:819px) {
    #header {
        background: white;
        -webkit-box-shadow: inset 0px -8px 7px -2px rgba(50, 50, 50, 0.3);
        -moz-box-shadow: inset 0px -8px 7px -2px rgba(50, 50, 50, 0.3);
        box-shadow: inset 0px -8px 7px -2px rgba(50, 50, 50, 0.3);
        box-sizing: border-box;
    }
    #actuals {
        display: none;
    }
    #left_sidebar,
    .historie_sidebar,
    #content,
    .historie_content,
    .left_sidebar_akce,
    .content_akce {
        width: 96%;
        padding: 2%;
        box-sizing: border-box;
        
    }
    .akce {
        border-bottom: 1px solid #858585
    }
    #content_body {
        margin-top: 1em;
        width: 100%;
        padding: 2%;
        box-sizing: border-box;
    }
    #back {
        display: none;
    }

    #menu_bottom_subject {
        display: none
    }
    #menu_top_school {
        width: 100%;
        margin-bottom: 1em;
    }
    #menu_top_school ul {
        width: 100%;
        box-sizing: border-box;
    }
    #menu_top_school li:first-child:after {
        display: none
    }

    #menu_top_school li {
        width: 100%;
        box-sizing: border-box;
        padding-left: 1em
    }
    #menu-item-1016 {
        margin-left: 0em
    }

    #menu_top_school li:last-child {
        margin-left: 0px;
    }
    /*obory header*/
    #subject {
        width: 100%;
        text-align: left;
        box-sizing: border-box;
        padding: 0em 10px;
        padding-right: 65px;
    }
    .code_subject {
        box-sizing: border-box;
    }
    #arrow {
        display: none
    }
    #subject h1 {
        padding-left: 0px!important;
    }
    /*Slicknav mobile menus*/
    .slicknav_menu,
    #menu_mobile {
        display: block
    }
    #mobile_uchazec,
    #mobile_student,
    #mobile_obory {
        float: left;
        width: 20.25%;
        text-align: center;
        box-sizing: border-box;
    }

    #mobile_uchazec,
    #mobile_student,
    #mobile_obory {
        margin-right: 1%;
        background: #CCCCCC;
    }
    #mobile_uchazec .slicknav_icon-bar,
    #mobile_obory .slicknav_icon-bar,
    #mobile_student .slicknav_icon-bar {
        background: transparent!important
    }
    #menu_mobile {
        position: relative;
        padding-left: 5px
    }
    #mobile_mainmenu {
        float: left;
        text-align: right;
        width:50px;
    }
    #mobile_mainmenu .slicknav_icon {
        padding-bottom: 0.95em;
        padding-left: 1em;
        box-sizing: border-box
    }
    #mobile_mainmenu .menu-item-993,
    #mobile_mainmenu .menu-item-1015 {
        display: none;
    }
    #skola {
        display: none
    }

}

/*End of responsive styles*/

body {
    /*background:url('images/background.png') no-repeat;*/
    background-attachment: fixed;
    margin: 0;
    font-family: 'Ek Mukta', sans-serif;
    color: #4c4c4c;
    font-size: 15px;
    width: 100%;
    height: 100%;
}

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}

.gallery_page_obor{
    display:-ms-flex;
    display:-moz-flex;
    display:-webkit-flex;
    position: relative;
    flex-wrap: wrap;
    padding:2%!important;
}

@media(min-width:817px){
    padding:2%!important;
}

.gallery_item{
    width:33.333%;
    text-align: center;
    cursor: pointer;
    margin-bottom: 40px;
}

@media(max-width:680px){
    .gallery_item{
        width:50%;
    }
}

@media(max-width:550px){
    .gallery_item{
        width:100%;
    }
}

.gallery_title {
    margin-bottom: 5px;
    color: black;
    font-weight: 300;
    flex:1;
    margin-top: 0px;
    line-height: 1.2;
}

.numeric_pagination{
    width:100%;
    text-align: center;
    font-size:14px;
}

.numeric_pagination a,.numeric_pagination span{
    font-size:14px;
    color:#4c4c4c;
    text-decoration: none;
    display: inline-block;
    padding:4px;
}

.numeric_pagination span{
    color:darkgray;
}

/*Gallery inline*/
.gallery_item-present{
    display:-ms-flex;
    display:-moz-flex;
    display:-webkit-flex;
    display:flex;
    vertical-align: center;
    flex-direction: column;
    padding:10px;
    width:100%;
    box-sizing: border-box;
    height: 100%;
}

.gallery_item-present:hover{
    background:url('images/backg-header.png');
}

.gallery_item-present .gallery_title{
    font-size:16px;
}

.gallery_item_more{
    display:-ms-flex;
    display:-moz-flex;
    display:-webkit-flex;
    display:flex;
    vertical-align: center;
    flex-direction: column;
}

.gallery_item_more .thumbnail{
    height:150px;
    overflow: hidden;
    position: relative;
}

.gallery_item_more .more_text{
    text-align: center;
    margin-top: auto;
}

.gallery_item .gallery_item-content {
    max-height: 0px;
    overflow: hidden;
    position: absolute;
    left:2%;
    z-index: 2000;
    background: black;
    width:96%;
}


/*Opened gallery*/
.gallery_item.active{
        background: black;
        color:white;
}

.gallery_item.active h2{
    color:white;
}

.gallery_item.active .gallery_item-content {
    margin-bottom: 80px;
    max-height: 219999px;
}

.gallery_item.active .more_text {
    font-size: 0px;
}

/*Other gallery*/

.gallery img {
    border: 0px!important;
}

/*Gallery block*/
.gallery_block{
    width:100%;
    margin-bottom: 60px;
}

.gallery_block::last-child{
    margin-bottom: 20px;
}


h1 {
    font-family: 'Signika', sans-serif;
    font-size: 170%;
    margin-top: 0em;
    margin-bottom: -0.2em;
    line-height: 1;
    font-weight: 600;
    color: #000000;
}

#holder {
    margin: 0 auto;
    max-width: 1000px
}

.historie_sidebar img {
    max-width: 100%;


}

/*Useful classes for elements*/

.jp-carousel-titleanddesc-title {
    display: none;
}

.clear {
    clear: both;
}

.black {
    color: black
}

.galerie li:hover {
    text-decoration: underline
}

.galerie li a {
    color: black;
    text-decoration: none
}

.uppercase {
    text-transform: uppercase;
}

.uppercase li {
    line-height: 1.8
}

.uppercase li:last-child {
    margin-bottom: 0.5em
}

.picture_after {
    padding-bottom: 3em;
    display: block
}

.uppercase a {
    color: #858585;
    text-decoration: none
}

.picture_after ul li {
    display: inline
}

.picture_after .current_page_item {
    background: transparent!important;
}

.picture_after .current_page_item a,
.picture_after .current_page_item {
    color: black!important
}

.picture_after li:first-child:after {
    content: " / ";
    width: 1em;
    height: 1em;
    color: #858585
}

/*Styl Odstavec*/

#content_body {
    /*background:rgba(255,255,255, 0.5);*/
    color: #595959;
}

#content_body p {
    line-height: 1.3
}

#content_body p:first-child {
    margin-top: 0;
}

#content_body p:first-child > strong {
    font-weight: normal;
    color: black
}

#header li:hover,
.active {
    color: white
}

/*End of classes*/

/*Styles for all elements*/

/*Header*/

#header {
    width: 100%;
    margin-top: 0;
    position: relative;
    color: #4c4c4c;
}

iframe {
    max-width: 100%;
}

/*Menus*/

#menu_top_languages li,
#menu_top_school li,
#menu_bottom_subject li {
    display: inline-block;
    list-style-type: none;
    padding: 0px 10px;
    padding-left: 10px
}

#menu_top_languages ul,
#menu_top_school ul,
#menu_bottom_subject ul {
    padding: 0;
    margin: 0
}

#menu_top_school {
    font-weight: 300;
    font-size: 18px;

}

#menu_top_school li a {
    color: #4C4C4C;
    text-decoration: none!important
}

#menu_top_school .current_page_item a,
#menu_top_school li a:hover,
.current-page-ancestor a {
    color: white;

}

#menu_top_school li:first-child:after {
    content: "a";
    margin-left: 1em;
    margin-right: 1em;
    position: absolute;
    color: #4C4C4C;
}

#menu_top_school li {
    padding-bottom: 4px
}

#menu_top_languages {
    position: absolute;
    right: 0;
    font-weight: 300;
    font-size: 15px;
    z-index:40;
}

#menu_top_languages ul {
    text-align: right;
    display:flex;
    align-items: center;
}

#menu_top_languages img{
    height: 20px;
}

@media(max-width:819px){
    #menu_top_languages img {
        filter: opacity(0.6) invert(100%);
-webkit-filter: opacity(0.6) invert(100%);
    }
}


@media(min-widht:819px){
    #menu_top_languages ul {
        margin-right: 25px
    }
}

#menu_top_languages li {
    padding: 7px 5px 10px 5px;
    line-height: 1;
    color: white;
    font-size: 18px;
}

#menu_top_languages li a {
    color: white;
    text-decoration: none;

}

@media(max-width:819px) {
    #menu_top_languages li a {
        color: grey;
    }
}

#menu_top_school li {
    padding-top: 7px;
    line-height: 1.5
}


.lang-item {
    vertical-align: 8px;
    padding-top: 0px;
}


#menu_bottom_subject {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 15px;
}

#menu_bottom_subject > div > ul {
    text-align: left;
    margin-left: 20px
}

#menu_bottom_subject li {
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 1.5;
}

#menu_bottom_subject li a {
    text-decoration: none;
    display: block;
    color: #4C4C4C
}

#menu_bottom_subject li a:hover {
    color: white
}

#menu_bottom_subject .current_page_item a {
    color: white!important;
}

#nadpis_obor {
    display: block
}

.skola_head {
    margin-top: 21px
}

#submenu_obor {
    background: white;
    border: 1px solid #d8d8d8;
    position: absolute;
    z-index: 99999;
    left: -450%;
    top: 21px;
    margin-top: 0.5em;
    padding: 10px;
    min-width: 190px;
    font-weight: 400;
    display: none;
    font-size: 92%
}

#submenu_obor ul {
    margin: 0;
    padding: 0;
}

#submenu_obor li {
    list-style-type: none;
    text-align: center;
    color: #666666;
    margin-top: 0.4em
}

#submenu_obor li :hover {
    background-color: transparent!important;
}

#submenu_obor li a {
    color: #4C4C4C;
    text-decoration: none
}

#submenu_obor li a:hover {
    background-color: transparent!important;
    color: black
}

#submenu_obor span {
    color: black
}

#menu_mobile {
    width: 100%;
    box-sizing: border-box;
}

/*Subject*/

#arrow {
    position: absolute;
    width: 21px;
    height: 2.3em;
    padding: none;
    cursor: pointer
}

#arrow img {
    position: absolute;
    bottom: 8px;
    left: 0px
}

#subject h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 36px;
    line-height: 1;
    display: inline-block;
    padding-left: 28px;
    text-align: left;
    width: 100%;
}

.code_subject {
    text-align: left;
    position: relative;
    padding-bottom: 0.5em
}

#back {
    position: absolute;
    text-transform: uppercase;
    bottom: -0px;
    font-weight: 300;
    line-height: 1.5;
    font-size: 15px
}

.backobor {
    padding-left: 1.2em;
    padding-bottom: 8px;
    position: relative;
}

.backobor img {
    position: relative;
    top: 0.2em;
}

.backobor a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

#back li a {
    position: relative;
}


.menu-item-has-children {
    padding: 7px 38px 8px 1.2em!important;
    display: block;
    position: relative;
}

#back > ul > li > div > ul > li {
    padding:7px 1.2em;
}

#back > ul > li > div > ul > li.menu-item-has-children{
    padding: 7px 0.4em 8px 1.2em;
}

#back > ul > li > div > ul > li > a{
    color:rgb(76, 76, 76);
    text-decoration: none;
}

#back > ul > li > div > ul > li:hover > a{
    color:white;
}

@media only screen and (max-width: 819px){

    .menu-item-has-children{
        padding:0px;
    }
}

.menu-item-has-children{
    background: url('images/arrow_down_student.png') no-repeat 80% 50%;
    cursor: pointer;
}


.menu-item-has-children :hover > a{
    color: white!important;
}

.submainmenu:hover > .sub-menu{
    display: block;
    top:37px;
}

.submainmenu .menu-item-has-children:hover,.response:hover > .menu-item-has-children {
    background-image: url('images/arrow_down_student_white.png') ;
    background-position: 80% 50%;
    background-repeat: no-repeat;
    color: white!important;
}

.submainmenu:hover > a{
    color:white!important;
}

.submainmenu > .sub-menu,.submainmenu > .sub-menu > li > .sub-menu {
    margin-left:0px!important;
    padding-left: 0px!important;
}

.submainmenu .sub-menu{
    min-width: 150px;
}

@media only screen and (max-width: 819px){

    .submainmenu .sub-menu,.submainmenu > .sub-menu > li > .sub-menu{
        min-width: 100% ;
        display: block!important;
        position: relative;
        top:0px!important;
        left:0px!important;
        background-color: transparent;
    }

    .submainmenu .sub-menu li{
        padding-top:0px!important;
        padding-bottom:0px!important;
        margin-top:0px!important;
        margin-bottom:0px!important;
    }
    .submainmenu > .sub-menu > li > a{
        font-size:16px!important;
    }

    .submainmenu > .sub-menu > li > a:before{
            content:"+";
            display: inline-block;
            margin-right: 8px;
    }

    .submainmenu > .sub-menu > li{
        background: transparent!important;
    }

    .submainmenu > .sub-menu > li:hover{
        background: transparent!important;
    }

    .submainmenu > .sub-menu > li > .sub-menu > li > a:before{
        content:"++";
        display: inline-block;
            margin-right: 8px;
    }

    .slicknav_arrow{
        display: none!important;
    }

}

#back .menu .current_page_item {
    background: transparent!important;
}

#back .menu ul ul a:hover {
    opacity: 0.8;
}

#back .menu > ul > li a {
    color: white
}


/*end of header*/

/*Obor pages*/

#left_sidebar{
    min-height: 20px;
}

#left_sidebar ul {
    margin: 0;
    padding: 0;

}

#left_sidebar li {
    list-style-type: none;
}

#left_sidebar > .feauture_picture_obor {
    margin-bottom: 2em;
    width: 80%;

}

.full_width {
    width: 100%!important;
    display: block!important
}

#content {
    position: relative
}


#content h2 {
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 0.2em;
    line-height: 1em;
    color: black;
    font-weight: 400
}

#content h2:first-of-type {
    margin-top: 0
}

/*end of obor pages*/

/*Left sidebar styles*/

.obor__loopimages{
    height: 479px;
    position: relative;
}

.feauture_picture_obor{
    max-height: 100%;
    z-index: -1;
    position: absolute;
    top: 0px;
    height: 100%;
}
.feauture_picture_obor img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

.feauture_picture_obor.activeimg{
    z-index: 2;
}



.left_padding {
    padding-left: 16%
}

.left_padding h2 {
    color: black;
    font-size: 105%;
    font-weight: 600
}

.seven {
    width: 12.19%;
    height: 50px;
    margin-right: 2.445%;
    float: left;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 2.445%
}

.seventh {
    margin: 0px
}

/**/

/*Teachers*/

.teacher_grid {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box
}

.teacher_grid ul {
    margin: 0;
    padding: 0;
}

.teacher_grid li {
    list-style-type: none
}

.teacher ul li {
    line-height: 1.3;
    text-align: left
}

.teacher {
    line-height: 1.3
}

.ucitele_skola_padding,
.ucitele_skola_padding_husova,
.ucitele_skola_padding_francouzska {
    padding-left: 2%;
    padding-bottom: 2em
}

.teacher {
    float: left;
    margin-bottom: 2em;
    padding: 0em 1em;
    box-sizing: border-box
}

.teacher:nth-child(3n + 1) {
    clear: left;
}

.photo_teacher {
    background: grey;
    float: left;
    width: 150px;
    height: 200px;
    margin-bottom: 1em
}

.about_teacher {
    word-break: keep-all
}

.name_teacher {
    font-size: 110%;
    color: black;
    text-align: left
}

/*SVP*/

#svp {
    font-weight: 300;
    border: none;
    border-collapse: separate;
    width: 100%;
    border-spacing: 0px 1px;
    table-layout: fixed
}

#svp td {
    background: #1FA1FF;
    color: white;
    margin-bottom: 1px;
    text-align: center;
    width: 10%
}

#svp th {
    color: black;
    font-weight: 300
}

.subject_time {
    color: #858585;
    text-align: left;
    font-weight: 300;
    color: #858585!important
}

.st_th {
    color: black;
    background: tranparent !important;
    text-transform: uppercase
}

.left {
    text-align: left;
    width: 30%
}

/*Akce*/

.akce {
    font-weight: 300;
    color: #858585;
    line-height: 1.2;
    width: 100%;
    clear: both;
    margin-bottom: 2em
}

.neaktivni:before {
    content: "Uskutečněné akce :";
    text-align: center;
    display: block;
    font-size: 120%;
    color: black;
    font-weight: 600;
    padding-bottom: 20px;
}

.neaktivni ~ .neaktivni:before {
    content: "";
}


.akce p {
    margin-top: 0px
}

.akce h2 {
    margin-top: 0;
    color: black;
    font-size: 108%;
    margin-bottom: 0
}

.ucitele_skola_padding_husova .grey_on_husova a {
    color: black;
    text-transform: uppercase
}

.grey_on_active a,
.grey_on_active {
    color: black!important;
}

.ucitele_skola_padding_francouzska .grey_on_francouzska a {
    color: black;
    text-transform: uppercase
}

.akce_bold {
    font-weight: 800;
    font-size: 108%
}

.content_akce p {
    display: none;
}

/*Skola*/

#actuals {
    text-align: center;
    padding-top: 2em
}

#contenta {
    width: 80%;
    position: relative;
    float: left
}

#contenta .item {
    display: block;
    width: 100%;
    height: auto;
}


#actuals h1 {
    float: left;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 3em;
    line-height: 1;
    color: white;
    margin-left: 0;
    position: relative;
    font-family: 'Fira Mono', ;
    font-size: 40px;
}

#list_actuals {
    position: relative;
    cursor: pointer;
    width: 62px;
    height: 3em;
    float: left;
    font-size: 1em
}

#list_actuals img {
    float: left;
    margin: 0.6em 0.4em;
}

#actual_number {
    float: left;
    margin-top: 0.3em
}

.prevs,
.nexts {
    display: block;
    z-index: 4000;
    position: relative;

}

#back li {
    display: inline-block;
}

/*#back li:first-child{
   margin-right:2em
   } */

#back ul {
    margin: 0;
    padding: 0;

}

#content_actuals {
    float: left;
    font-size: 90%;
    font-weight: 500;
    text-align: left
}

#content_actuals ul {
    margin: 0;
    padding: 0;
}

#content_actuals li {
    list-style-type: none;
    color: black;
    margin-bottom: -0.4em;
}

#content_actuals li:hover {
    background: transparent;
    color: black
}

#actual_list:hover > li > #actual_href a {
    text-decoration: underline;
}

#actual_href a {
    color: black;
    text-decoration: none
}

#content_actuals li:before {
    color: white;
    content: "• ";
    font-size: 3em;
    line-height: 10px;
    vertical-align: -50%;
    text-decoration: none!important
}

#skola li {
    padding-left: 6%;
    position: relative;
    font-size: 15px;

}

#skola li a:hover,
.activeli a {
    color: black!important;
    background: none
}

#skola li a {
    color: #858585;
    text-decoration: none
}

#skola li:hover:after,
.activeli :after {
    margin-left: 2em;
    color: black;
    background: url('images/arrow_right_student_black.png') no-repeat right center;
    content: "";
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    top: 15%
}

.activeimg img {
    z-index:2;
}


.dokumenty {
    margin: 0;
    padding: 0;


}

.dokumenty li a {
    color: black;
    padding-left: 0px!important;
    padding-bottom: 0.5em!important;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none!important
}

.dokumenty .current_page_item {
    background: transparent;
    text-decoration: underline
}

.dokumenty .current_page_item a {
    color: black!important;
    text-decoration: underline!important
}

.dokumenty li a:hover {
    text-decoration: underline!important
}

.dokumenty li:hover ul li,
.dokumenty .children {
    text-decoration: none!important
}

.dokumenty .children > .current_page_item {
    color: black!important;
    text-transform: lowercase;
    background: transparent!important;
    text-decoration: none!important
}

.dokumenty .children > .current_page_item a {
    color: black!important;
    text-decoration: none!important
}


.dokumenty .children li a {
    color: #4C4C4C!important;
    padding-left: 7%!important;
    text-transform: none!important;
    text-decoration: none!important
}

.dokumenty .children li a:hover {
    color: black!important;
    text-decoration: none!important
}

.dokumenty li ul li:hover {
    color: black;
    text-decoration: none!important
}

.studijni_materialy .page_item_has_children > a {
    display: none
}

.studijni_materialy .children {
    display: block!important
}

.soubory {
    background: #333F7A;
    padding-top: 0.5em!important
}

.soubory li {
    color: white!important;

}

/*Kontakty*/

.kgrey {
    color: #858585
}

.kblue {
    color: #4297CD
}

.kblack {
    color: black;
}

#kontakty {
    border: 0px;
    width: 100%;
    margin-top: 2em;
    padding: none;
    border-collapse: collapse;
}

.kontakt {
    line-height: 1.3em
}

/***/

/*Partneři*/

.partneri li {
    padding: 0px!important
}

/*Uchazeč*/

#back #submenu_uchazec,
#submenu_student {
    background: #E5E5E5;
    position: absolute;
    z-index: 99999;
    left: 0%;
    top: 31px;
    margin-top: 0.5em;
    padding-top: 10px;
    min-width: 200px;
    font-weight: 400;
    display: none
}

#back #submenu_uchazec li,
#submenu_student li {
    display: block!important;
    text-transform: none;
    padding-bottom: 1em;
    padding-left: 1.2em;
    color: #4C4C4C;
}

#back #submenu_student li {
    position: relative;
    display: block!important
}

#back #submenu_uchazec li:hover,
#submenu_student li:hover,
#submenu_uchazec li a:hover {
    color: black
}

#back #submenu_uchazec a,
#submenu_student a {
    color: #4C4C4C;
    text-decoration: none
}

.sub-menu {
    background: #E5E5E5;
    position: absolute;
    z-index: 99999;
    margin-top: 0.5em;
    font-weight: 400;
    min-width: 250px;
}

.sub-menu li a {
    color: #4C4C4C;
    text-decoration: none
}

.sub-menu li:hover {
    background: #b2b2b2
}

.menu-item-has-children > .sub-menu > li > a:hover {
    color: white;
}

.menu-item-has-children > .sub-menu > li {
    display: block;
    text-transform: none;
    padding-bottom: 0.6em;
    padding-left: 1.2em;
    padding-top: 0.6em;
    box-sizing: border-box;
    padding-right: 1em;
    width:100%;
}

.menu-item-has-children > .sub-menu > li > a {
    text-decoration: none;
    color: #4C4C4C;
}

.menu-item-has-children > .sub-menu > li > a:hover {
    text-decoration: none;
    color: white;
}

.menu-item-has-children > .sub-menu {
    top: 38px;
    left: 0px;
    right: auto;
    padding-top: 0px;
    padding-bottom: 1% !important;
    padding-top: 0px;
    display: none;
}

#menu_bottom_subject > div > ul > li.menu-item-has-children:hover{
    background-image: url('images/arrow_down_student_white.png');
    background-repeat: no-repeat;
    background-position: 80% 50%;
}

#menu_bottom_subject > div > ul > li:hover > a{
    color:white!important;
}

@media only screen and (max-width:819px) {
    .menu-item-has-children > .sub-menu{
        display: block!important;
        position: relative!important;
        top:0px!important;

    }

    .menu-item-has-children > .sub-menu > .menu-item-has-children > .sub-menu > li{
        background:transparent!important;
    }


    .sub-menu li:hover{
        background:transparent!important;
        
    }

    .sub-menu li:hover a{
        color: rgb(128, 128, 128)!important;
    }

}
@media only screen and (min-width:819px) {
    .menu-item-has-children > .sub-menu > li > .sub-menu {
        top: 0px;
        display: none;
        left: 100.5%;
        right: auto;
    }
}

.sub-menu > .menu-item-has-children {
    background: url('images/arrow_right_student.png') no-repeat 90% 50%;
    display: block;
    padding-top: 0.6em;
    padding-bottom: 0.6em
}

.sub-menu > .menu-item-has-children:hover {
    background: #b2b2b2 url('images/arrow_right_student_black.png') no-repeat 90% 50%!important;
}

#uchazec_pzkousky_grey {
    width: 100%;
    color: white;
    border: 0px;
    border-collapse: collapse;
    margin-top: 2em
}

#uchazec_pzkousky_grey th {
    background: none;
    color: black;
    font-weight: 500;
    text-align: left;
}

#uchazec_pzkousky_grey td {
    background: #A6A6A6
}

#student_stud_material {
    width: 100%;
    color: white;
    border: 0px;
    border-collapse: collapse;
    margin-bottom: 2em
}

.student_h3 {
    margin: 0;
    font-weight: 300;
    font-size: 100%;
    color: black;
    text-transform: uppercase;


}

#student_stud_material th {
    background: none;
    color: black;
    font-weight: 500;
    text-align: left;
    padding-left: 2%;
    text-transform: uppercase
}

#student_stud_material td {
    background: #E8E8E8;
    color: #A6A6A6;
    padding-left: 2%;
    border: 1px solid #A6A6A6;
    text-align: center;
}

.seventy {
    text-align: left!important;
    width: 70%
}

/*INTRO*/

#intro {
    width: 100%;
    height: 100%;
}

#centering {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 15%;
    max-width: 900px;
}

.schools{
    display:flex;
    justify-content: space-between;
}

.sos {
    width: calc(50% - 1px);
}

.vos {
    width: 50%
}

.vos small,
br {
    font-size: 14px;
    line-height: 12px;
    padding-bottom: 5px;
    display: block;
}

.sos,
.vos {
    float: left;
    display: block;
    text-decoration: none;
    background: black;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 2% 6% 3% 6%;
    box-sizing: border-box;
    font-size: 28px;
    line-height: 1.2;

}

.sos {
    padding-bottom: 6.8%;
}

.vos_a {
    color: white;
    line-height: 1;
    text-decoration: none;
}

.sos:hover,
.vos:hover {
    background: grey;
    background: rgba(0, 0, 0, 0.5);
}

#decoration {
    text-align: justify;
    padding: 4% 6%;
    box-sizing: border-box;
    font-size: 25px;
}

#decoration span {
    width: 100%;
    height: 1em;
    display: inline-block;
}

/*Tablepress*/

/*SVP*/

.svp_table {
    font-weight: 300 !important;
    border: none;
    border-collapse: separate !important;
    width: 100%;
    border-spacing: 0 1px !important;
    table-layout: fixed !important;
}

.svp_table td {
    background: #1FA1FF !important;
    color: white;
    margin-bottom: 1px !important;
    width: 10% !important;
    text-align: center !important;
    border: 0 none !important;
    vertical-align: baseline !important;
    padding: 0 !important;
    font-weight: 300 !important;
}

.svp_table th {
    color: #000 !important;
    font-weight: 300 !important;
    background: transparent !important;
    border: 0 none !important;
    text-align: center !important;
    padding: 0 !important;
}

.svp_table .column-1 {
    background: transparent !important;
    color: #858585 !important;
    text-align: left !important;
    width: 30% !important;
}

/*Studijni materiál*/

.tablepress-table-name {
    margin-bottom: 0.1em!important;
}

.studijni_table {
    font-weight: 300 !important;
    border: none;
    border-collapse: separate !important;
    width: 100%;
    border-spacing: 0 1px !important;
    table-layout: fixed !important;
    margin-bottom: 3em!important;
}

.studijni_table td {
    background: transparent;
    color: #65606D;
    margin-bottom: 1px !important;
    width: 10% !important;
    text-align: center !important;
    border: 0 none !important;
    vertical-align: baseline !important;
    padding: 0 !important;
    padding-left: 25px!important
}

.studijni_table .column-1 {
    color: #858585 !important;
    text-align: left !important;
    width: 30% !important;
}

.studijni_table .column-2 {
    color: #858585 !important;
    text-align: left !important;
}

/*VSEOBECNA TABULKA*/

.vseobecna_tabulka {
    font-weight: 300 !important;
    border: none;
    border-collapse: separate !important;
    width: 100%;
    border-spacing: 0px !important;
    table-layout: auto !important;
    margin-bottom: 3em!important;
}

.vseobecna_tabulka td {
    color: white;
    margin-bottom: 0px !important;
    width: 10% !important;
    border: 0 none !important;
    vertical-align: baseline !important;
    padding: 3px !important;
    padding-left: 20px!important;
    background: #8E8E8E !important;
}

.vseobecna_tabulka th {
    font-weight: 300 !important;
    color: black !important;
    background: transparent !important;
    border: 0 none !important;
    padding: 0 !important;
    padding-left: 20px!important;
    text-transform: uppercase
}

.vseobecna_tabulka .column-1 {
    min-width: 30%!important;
}

/*DEFAULT TABULKA*/

.default_with_st_th {
    font-weight: 300 !important;
    border: none;
    border-collapse: separate !important;
    width: 100%;
    border-spacing: 0px !important;
    table-layout: auto !important;
    margin-bottom: 3em!important;
}

.default_with_st_th td {

    color: white;
    margin-bottom: 0px !important;
    width: 10% !important;
    border: 0 none !important;
    vertical-align: baseline !important;
    padding: 5px !important;
    padding-left: 20px!important;
    background: #8E8E8E;
}

.default_with_st_th td:hover {
    color: #434343;
}

.default_with_st_th th {
    font-weight: 300 !important;
    color: black !important;
    background: transparent !important;
    border: 0 none !important;
    padding: 0 !important;
    padding-left: 20px!important;
    text-transform: uppercase
}

.default_with_st_th .column-1 {
    min-width: 30%!important;
}

/*MATURITA TABULKA*/

.maturita_tabulka {
    font-weight: 300 !important;
    border: none;
    border-collapse: separate !important;
    width: 100%;
    border-spacing: 0px !important;
    table-layout: auto !important;
    margin-bottom: 3em!important;
}

.maturita_tabulka td {
    color: black;
    margin-bottom: 0px !important;
    width: 30% !important;
    border: 0 none !important;
    vertical-align: baseline !important;
    padding: 0px !important;
    padding-left: 20px!important;
    /*background: #e6e6e6 !important;*/
}

.maturita_tabulka th {
    font-weight: 400 !important;
    color: black !important;
    background: transparent !important;
    border: 0 none !important;
    padding: 0 !important;
    padding-left: 20px!important;
    text-transform: uppercase
}

.maturita_tabulka .column-1 {
    min-width: 30%!important;
}



/*Kontakty*/

.kontakty_table {
    width: 100%!important;
    margin-top: 2em
}

.kontakty_table .column-1 {
    color: #000!important;
    width: 320px !important;
}

.kontakty_table .column-2 {
    background: transparent!important;
    color: #4297CD!important;
    text-align: center !important;
    width: 120px !important;
}

.kontakty_table .column-3 {
    background: transparent!important;
    color: #858585!important;
    text-align: left!important
}

.kontakty_table td {
    border: none!important;
    padding: 1% 0%!important;
}

/*Přijímací počty*/

.prijimacky_table {
    width: 100%;

}

.prijimacky_table th {
    background: #6e6e6e;
    color: black;
    font-weight: 400
}

.prijimacky_table td {
    background: #6e6e6e;
    color: white;
    border: 0px;
    padding: 0% 1%
}

.prijimacky_table ul {
    margin: 0;
    padding: 0;
}

#footer_main ul li {
    display: inline;
    list-style-type: none;
}

#footer_main ul{
    padding-left: 0px;
}

#footer_main ul li:after {
    content: '|';
    padding: 0px 8px;
}

#footer_main ul li:last-child:after {
    display: none;
}

#footer_main ul li a {
    text-decoration: none;
    color: inherit;
}



/*Style by Tomáš Chalupa-08-2021*/

.uchazeci {
    margin-left: 30.8%;

}

.uchazeci_intro {
    float: right;
    display: block;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3);
    color: yellow;
    padding: 8px 20px;
    text-align: center;
    box-sizing: border-box;
    font-size: 20px;
    text-transform: uppercase;
    position: relative;
    width: 100%;
}

.uchazeci_intro:hover {
    background: rgba(0, 0, 0, 0.9);
}

.uchazeci_intro a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


/*Soutěž*/

.soutez {
    margin-left: 30.8%;

}

.soutez_intro {
    float: right;
    display: block;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 8px 20px;
    text-align: center;
    box-sizing: border-box;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    width: 100%;
}

.soutez_intro:hover {
    background: rgba(0, 0, 0, 0.5);
}

.soutez_intro a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;


}

.second_intro {
    clear: right;
    margin-top: 2px;
}

.right_intro,.left_intro{
    width:40%;
}

.right_intro{
    float: right;
}

.left_intro{
    float: left;
}

@media(max-width:819px) {
    .soutez {
        margin-left: 0px;
    }
}

/*Pagination*/

.prev-next-posts > div {
    width: 50%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

.prev-next-posts > div a {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-weight: 600;
}


.prev-next-posts .prev-posts-link {
    text-align: left;
}

.prev-next-posts .next-posts-link {
    text-align: right;
}

.akce-grid{
    display: flex;
    flex-wrap: wrap;
}



.akce-grid__item{
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 33.333%;
    box-sizing: border-box;
}

@media(max-width:819px) {
    .akce-grid__item{
        width: 50%;
    } 
}

@media(max-width:480px) {
    .akce-grid__item{
        width: 100%;
        padding:10px 0px;
    } 
}

.akce-grid__item-wrap{
    background-color: transparent;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
}

.akce-grid__item-href{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    display: block;
}

.akce-grid__item-img img{
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.akce-grid__item-text{
    padding:20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    font-weight: 400;
    border:1px solid black;
    background-color: white;
}

.akce-grid__item-text h3{
    font-weight: 600;
    color: black;
    text-transform: none;
}

.akce-grid__item-text.colored-stredniskola,.akce-grid__item-text.colored-secondary-school-of-art-and-design{
    border-color: #041B89!important;
    color: #041B89!important;
}

.akce-grid__item-text.colored-stredniskola h3,.akce-grid__item-text.colored-secondary-school-of-art-and-design h3{
    color: #041B89!important;
}


.akce-grid__item-text.colored-higher-professional-school,.akce-grid__item-text.colored-vyssi-odborna-skola{
    border-color: #A00F00!important;
    color: #A00F00!important;
}

.akce-grid__item-text.colored-higher-professional-school h3,.akce-grid__item-text.colored-vyssi-odborna-skola h3{
    color: #A00F00!important;
}

.akce-grid__item-date{
    margin-top: auto;
}

/*Last events*/
.events__before{
    padding-top: 160px;
    position: relative;
}

.events__before > h2{
    color: black;
    font-size: 2.2rem;
}

.events__before--smaller{
    padding-top: 40px;
    position: relative;
}

.last_events {
    background: blue;
    color: white;
    text-transform: uppercase;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%,0%);
    height: 120px;
    width: 120px;
    border-radius: 50%;
    padding-top: 35px;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
}

.last_events:hover {
    opacity: 0.8;
}

/*Grid for projects*/

.project-body{
    padding:0px 2%;
    width:100%;
    box-sizing: border-box;
}

.project-grid{
    margin:0px -20px;
    
}

@media(max-width:819px) {
    .project-grid{
        margin:0 -5px;
    }

}

.grid-sizer{
    width:25%;
}

.project-detail {
    width:25%;
    float: left;
    padding:20px;
    box-sizing: border-box;
    position: relative;
}

@media(max-width:819px) {
    .project-detail, .grid-sizer{
        width:50%;
        padding:5px;
        box-sizing: border-box;
    }

}

.project-detail__text{
    background: #898989;
    padding:15px 10px;
    width:100%;
    box-sizing: border-box;
    font-weight: 600;
    color: white;
    height:105px;
}

.project-detail__text p{
    margin:0px;
    display: inline-block;
    width:70%;
    line-height: 1.3;
    max-height:100%;
    overflow:  hidden;
}

.project-detail__text__arrow{
    float:right;
}

.project-detail__href{
    position: absolute;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    z-index: 20;
}

.project-detail__img img{
    width:100%;
    display: block;
}

/*Practice*/
.practice h2{
    text-transform: uppercase!important;
    color:black!important;
    font-size:22.5px!important;
    font-weight: 600!important;
}

.practice__template{
    width:100%;
}

.practice__container{
    -webkit-columns: 2 200px;
    -moz-columns: 2 200px;
         columns: 2 200px;
    margin:0px;
    padding:0px;     
}

.practice__item{
    list-style: none;
}

.practice__href{
    text-decoration: none;
    color:#595959;
}

.practice__href:hover{
    text-decoration: underline;
}


.practice-institution{
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-wrap: wrap;
    margin-top:30px;
}

.practice-institution__item{
    width:25%;
    padding:2px;
    box-sizing: border-box;
}


@media(max-width:520px) {
    .practice-institution__item{
        width:50%;
    }

}

.practice-institution__item a{
    background:#F2F3F4;
    display: inline-block;
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    height:180px;
    transition:0.3s all;
}

.practice-institution__item a:hover{
    background:#CCCCCC;
}

.practice-institution__item img{
    max-width: 80%;
    max-height: 120px;
    width: auto;
    height: auto;
}

.customer{
    margin-top:40px;
}

.customer-item{
    width:100%;
    display: flex;
    display: -ms-flex;
    display: -webkit-flex;
    align-items: center;
    margin-bottom: 15px;
}

.customer-item__pic{
    flex: 0 1 30%;
}

.customer-item__pic a{
    background:#F2F3F4;
    display: inline-block;
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    transition:0.3s all;
    padding:10px;
    width:100%;
    box-sizing: border-box;
}

.customer-item__pic a:hover{
    opacity: 0.6;
}

.customer-item__pic img{
    max-width: 100%;
    height:auto;
    width:auto;
}

.customer-item__txt{
    padding-left:20px;
    flex: 1 1 auto;
    box-sizing: border-box;
}

/*submainmenu is class for megamenu*/


/*Styles by Michal Žižka*/
