body {
    font-family: 'Roboto', sans-serif;
}

.nav>li {
    display: inline-block;
}

h1 {

    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

h2 {

    font-family: 'Roboto', sans-serif;
}

#brand {
    padding-left: 5px;
    z-index: 2;
    position: relative;
}
#brand img {
    height: 5em;
    padding-top: 8px;

}
#registrace-top {
    text-align: center;
    margin-top: 0.9em;
}
#registrace-top a.btn {
    background: #B21917;
    padding: 0;
    color: #FFF;
    border-radius: 0;
    display: inline-block;
    border: 0;
    z-index: 2;
    position: relative;
}
#registrace-top a.btn:hover .fa {
    background: #2d6618;
}
#registrace-top a.btn .fa {
    font-size: 1.5em;
    background: #842423;
    padding: 0.3em 0.3em;
    padding-right: 0;
    min-width: 35px;
    min-height: 35px;
    vertical-align: middle;
    transition: 0.2s;
}

#registrace-top a.btn .reg-button-top {
    padding: 0 0.4em;
    font-weight: bold;
}
#navigation {
    line-height: 50px;
}

.nav {

    font-weight: bold;
}
.nav>li.active a {
    color: #b21917;
    border-bottom: 3px solid #b21917;
}
.nav>li>a:hover {

    border-bottom: 3px solid grey;
}
.navbar-default {
    background: white;
    -webkit-box-shadow: 0px 11px 32px -13px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 11px 32px -13px rgba(0,0,0,0.75);
    box-shadow: 0px 11px 32px -13px rgba(0,0,0,0.75);
    border: 0;
}

.in .nav>li {
    display: block;
}
.nav>li>a:focus {
    color: #337ab7;

    background-color: transparent;
}


.collapse.in .nav {
    text-align: left;
}

body .introcustom {
    /* background: url(https://www.konference-plasty.cz/templates/masterbootstrap/images/cover-768-min.jpg) center center no-repeat; */
    background-size: cover;
    margin-top: -25px;
    text-align: center;
    padding: 50px;
    padding-bottom: 20px;
    height: calc(100vh - 133px);
    position: relative;
}

body .introcustom .shadowbg {
    background: rgba(0, 0, 0, 0.2);
    width: calc( 100% );
    height: calc( 100% + 70px );
    position: absolute;
    top: -50px;
    left: 0px;
    /* border: 1px solid red;
    z-index: 999999999999; */
}

body .introcustom #intro {
    position: absolute;
    width: calc( 100% - 100px);
    z-index: 2;
}

#intro h1 {
    font-size: 2.25em;
    line-height: 1.3em;
    color: white;
}

#intro h2 {
    font-weight: 100;
    color: white;
}

#intro hr {
    width: 80%;
}
.buttons .container-fluid {
    padding: 0;
    padding-right: 5px;
}
.buttons a.btn.btn-default {
    width: 100vw;
    display:block;
    border-radius: 0;
    margin-left: 0;
    border: 0;
    text-align: left;
    z-index: 99999999
}

.buttons .fa {
    font-size: 2.5em;
    vertical-align: bottom;
    /*line-height: 0.2em; */
    float: left;
    margin: 0 0.5em;
    min-width: 1.2em;
    text-align: center;
}
.buttons strong {
    vertical-align: top;
}

.buttons .btn-group>.btn {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b21917+0,791311+100 */
    background: rgb(178,25,23); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(178,25,23,1) 0%, rgba(121,19,17,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(178,25,23,1) 0%,rgba(121,19,17,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(178,25,23,1) 0%,rgba(121,19,17,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b21917', endColorstr='#791311',GradientType=0 ); /* IE6-9 */
    color: white;
}

.buttons .btn-group>.btn:first-child {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+47,d3d3d3+100 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(211,211,211,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(211,211,211,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(211,211,211,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d3d3d3',GradientType=0 ); /* IE6-9 */

    color: #30316A;
}

.buttons .btn-group>.btn:last-child {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#30316a+0,222148+100 */
    background: rgb(48,49,106); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(48,49,106,1) 0%, rgba(34,33,72,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(48,49,106,1) 0%,rgba(34,33,72,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(48,49,106,1) 0%,rgba(34,33,72,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#30316a', endColorstr='#222148',GradientType=0 ); /* IE6-9 */
}
.buttons .btn-group>.btn:nth-child(2) .small-text {
    color: #edbcbc;
}

.buttons .btn-group>.btn:nth-child(2) .fa {
    margin-left: 0.38em;
}

.buttons .btn-group>.btn:first-child .small-text {
    color: #818083;
}

.buttons .btn-group>.btn:last-child .small-text {
    color: #acabf4;
}
.buttons .btn-toolbar {
    margin-bottom: 0px;
}

#main #container {
    background: transparent;
}
body #main {
    padding-top: 0px;

    color: white;
}
body.program #main, .registrace #main {
    background: white;
    color: #31306A;
} 
body.program #main h1:before {
    border-bottom: 3px solid rgba(49, 48, 106,0.2);
}
body.program table {
    font-size: 1.3em;
    border: 0;
}

body.program table table tr td:first-child {

    border-top-color: white;
}
/*
body.program table tr:nth-child(2n) {
    background:rgba(49, 48, 106,0.2);
} */
body.program table.first-day tr:nth-child(5), body.program table.first-day tr:nth-child(8), body.program table.first-day tr:nth-child(12), body.program table.second-day tr:nth-child(3), body.program table.second-day tr:nth-child(5), body.program table.second-day tr:nth-child(7) {
    background:rgba(178, 25, 23,0.15);
}
body.program table.first-day tr:nth-child(2), body.program table.first-day tr:nth-child(6), body.program table.first-day tr:nth-child(9), body.program table.first-day tr:nth-child(13) /*, body.program table.second-day tr:nth-child(2) td:first-child, body.program table.second-day tr:nth-child(4), body.program table.second-day tr:nth-child(6), body.program table.second-day tr:nth-child(8) */ {
    background:rgba(49, 48, 106,0.2);
}
body.program table.first-day tr:first-child, body.program table.second-day tr:first-child {
    background: #31306A;
    color: white;
}
body.program table tr td p {
    margin: 5px 0 2px;
}
body.program table tr td:nth-child(2) p {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
body.program table tr td:nth-child(2) p:last-child {
    border: 0;
    padding: 0;
}
body.program table td:first-child {
    font-weight: bold;
    font-size:
}
#main .inner {
    margin: 0.2em 0;
    background: rgba(255,255,255,0.2);

    text-align: center;
}

#main .inner a {
    color: white;

}
#main .text {
    padding: 1em;
}

#main .hover-text {
    opacity: 0;
    background: rgba(49,48,106,0.8);
    padding: 1em 0.5em;
    font-size: 1.6em;
    width: calc(100% - 1.45em);
    height: calc(100% - 0.20em);
    margin-top: 0.10em;
    position: absolute;
    top: 0;
    transition:all 500ms ease;
    overflow: hidden;
}

#main .inner:hover .hover-text {
    opacity: 1;
}
#main div.page-header {
    border: 0;
}

#main img {
    width: 100%;
}
#main h1:before {
    content : "";
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.3em;
    height  : 1px;
    width   : 20vw;  /* or 100px */
    border-bottom:3px solid rgba(255,255,255,0.2);
}

#main h1 {
    text-align: center;
}

#main .inner strong {
    font-size: 1.2em;
}

#registrace {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+47,d3d3d3+100 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(211,211,211,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(211,211,211,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(211,211,211,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d3d3d3',GradientType=0 ); /* IE6-9 */
    text-align: center;
}

#registrace p {
    font-size: 1.85em;
    font-weight: 100;
    color: #B21917;
}

#registrace a.btn {
    background: #B21917;
    padding: 0;
    color: #FFF;
    border-radius: 0;
    display: inline-block;
    border: 0;
}

#registrace a.btn:hover, #registrace-top a.btn:hover {

    background: #429323;
}

#registrace a.btn .fa {
    font-size: 2em;
    background: #842423;
    padding: 0.3em 0.3em;
    padding-right: 0;
    min-width: 48px;
    min-height: 48px;
    vertical-align: middle;
    transition: 0.2s;

}
#registrace a.btn:hover .fa {
    background: #2d6618;
}
#registrace a.btn .reg-button {
    padding: 0 1em;
    font-weight: bold;
}

#registrace .moduletable {
    margin-bottom: 0;
}

section.parallax {
    min-height: 400px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-image: url(https://www.konference-plasty.cz/templates/masterbootstrap/images/parallax-768-min.jpg);
    color: white;
    text-align: center;

}
section.parallax p {
    font-size: 1.5em;
    padding-bottom: 1em;
}
section.parallax #ikony .fa {
    font-size: 10em;
    display: block;
    margin-bottom: 0.1em;
}

#ikony .fa {
    font-size: 5em;
}

#ikony p {
    display: inline;
    background: rgba(48,49,106,0.7);
    padding: 0 0.2em;
    line-height: 1.4em;
    margin-top: 1em;
}
#partneri {
    padding-bottom: 120px;
    overflow-x: hidden;
}
#partneri h1 {
    text-align: center;
    color: #31306a;
}

#partneri h1:before {
    content : "";
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.3em;
    height  : 1px;
    width   : 20vw;  /* or 100px */
    border-bottom:3px solid #6361c7;
}

#partneri h2 {
    text-align: center;
    font-weight: bold;
    color: black;
}

#partneri .col-md-12:nth-child(2) img {
    padding: 2em;
    width: 40%;
}
#partneri .zlato p img {
    padding: 2em;
    width: 80%;
}
#partneri .stribro p img {
    padding: 2em;
    width: 60%;
}

#partneri .bronz p img {
    padding: 2em;
    width: 40%;
}
#partneri .partner, #partneri .zastita {
    text-align: center
}
#partneri .partner img, #partneri .zastita img  {
    width: 14em;
    margin-left: 1em;
    margin-right: 1em;
    max-height: 11em;
    object-fit: contain;
}
#partneri .zastita img  {
    width: 18em;
}
#partneri .zastita h2 {
    margin-bottom: 1em;
}

#partneri .partner h2, #partneri .zastita h2 {
    margin-top: 1.5em;
}
#misto {
    background: #B21917;
    color: white;
    padding: 50px 0px;
}

#misto h1 {
    color: #640201;
    font-size: 4em;
}

#misto h2 {

    font-size: 2em;
    font-weight: bold;
}

#misto h3 {
    font-size: 1.3em;
    line-height: 0.7em;
}
#misto img {
    border: 1em solid #640201 !important;
    margin-left: auto;
    margin-right: auto;

}

#misto .map-outer {
    margin-top:-60px;
}
#misto .map {
    position: relative;
    padding-bottom: 100%; 
    height: 0;
    overflow: hidden;

}

#misto .map img {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 1em solid #640201 !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#misto a {
    color: white;
    text-decoration: underline;
}
#misto a:hover {
    opacity: 0.8;
} 

#kontakt {
    color: white;
    text-align: center;

}
#kontakt > [class*='col-']:first-of-type {
    /* background: url(https://www.konference-plasty.cz/templates/masterbootstrap/images/phone-min.jpg); */
    background: #191919;
    background-size: cover;
    padding: 20px 50px;
}

#kontakt [class*='col-']:last-of-type {
    background: #191919;
    padding: 20px 15px;
    color: white;
}

#kontakt .col-md-4 {
    padding: 5rem 1rem !important;
}
#kontakt h3 {
    font-weight: bold;
    font-size: 36px;

}

#kontakt a {
    color: white;
}

#kontakt a:hover strong {
    text-decoration: underline;
}

#kontakt input, #kontakt textarea {
    background: #555555;
    border: 0;
    border-radius: 0;
}

#kontakt .fl_wrap:first-child, #kontakt .fl_wrap:nth-child(2) {
    width:49%;
    display: inline-block;
}

#kontakt .fl_wrap:first-child {
    margin-right: 1.4%;
}
#kontakt p {
    font-size: 2.3em;
    font-weight: bold;
    line-height: 2em;
    margin-top: 1em;
}

#kontakt p .fa {
    margin-right: 0.5em;
    color: #b21917;
}
#kontakt p .fa strong {
    color: white;
    font-family: 'Roboto', sans-serif;
}

body.program #main img { 
    display: none;
}

#copy {
    background: #111;
    text-align: center;
    color: grey;
}

#copy .moduletable {
    margin-bottom: 0px;
}

.sscf-form textarea, .sscf-form input {
    color: #cfcfcf !important;
}

#intro h1 { 
    background: rgba(48,49,106,0.7);
    display: inline;
    line-height: 1.5em;

    /* width: auto; */
    padding: 0 0.2em;
}

#intro h2 { 
    background: rgba(178,25,23,0.7);
    padding: 0 0.2em;

    line-height: 1.3;
    display: inline;
}

.navbar-toggle-hamburger {
    width: 85px;
    padding: 0px !important;
    margin: 0px !important;    
    margin-top: 20.5px !important;
    display: inline-block;
    float: right;
    position: relative;
    z-index: 9;    
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    height: 35px;
}

.navbar-toggle-hamburger .menu-icon-cont {
    background: #842423;
}

.navbar-toggle-hamburger .menu-icon-cont:before {
    padding: 0 0.4em;
    font-weight: bold;
    line-height: 1.42857143;
    color: #fff;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    padding-top: 7px;
    padding-bottom: 9px;
}



@media screen and (min-width: 980px) {
    .nav {
        text-align: center;
        /*transform: translateX(-105px); */

    }
    #brand {
        padding-left: inherit;
    }
    #brand img {
        height: 5em;
        padding: 2px 0;
        margin-left: 3vw;
    }

    #registrace-top {
        position: absolute;
        right:2vw;
        margin-top: 17px;
    }
    
    #registrace-top a.btn .fa {
        font-size: 1.7em;   
        padding: 0.35em 0.35em;
        padding-right: 0;
        min-width: 40px;
        min-height: 40px;
    }

    #registrace-top a.btn .reg-button-top {
        padding: 0 2.5em;
    }
    
    .navbar-toggle-hamburger {
        width: 150px;
        height: 40.4667px;
        margin-top: 23px !important;
    }
    
    .navbar-toggle-hamburger .menu-icon-cont:before {
        padding: 2.5em;
        padding-top: 10px;
        padding-bottom: 12px;
    }
   
    .navbar-toggle-hamburger .menu-icon-cont .menu-icon3 {
        margin: .277em;
    }

    body .introcustom .shadowbg {
        height: calc( 100% + 70px );
        top: -70px;
        left: 0px;
        width: 100%;
        z-index: 1;
    }

    #registrace {
        padding-bottom: 10px;
        text-align: left;
    }
    #registrace p {
        font-size: 3em;
    }

    #ikony .fa {
        font-size: 12em;
    }

    #ikony p {
        font-size: 1.6em;
        margin-top: 1em;
        font-weight: 100;
    }

    .buttons .btn-group {
        overflow: hidden;
    }
    .buttons .btn-group>a.btn.btn-default {
        transform:skewX(-20deg);
        -ms-transform:skewX(-20deg);
        -webkit-transform:skewX(-20deg);
        position: relative;
        z-index: 2;
        width: 33.33%;
        display: inline-block;

    }
    .buttons .btn-group>a.btn.btn-default:last-child {
        width: 38.5%;
        margin-right:-7%;
    }    

    .buttons .btn-group>a.btn.btn-default:first-child {
        margin-left: -20px;
        overflow: hidden;
    }

    .buttons .btn-group>a.btn.btn-default:hover {
        -moz-box-shadow:    inset 0 0 10px #000000;
        -webkit-box-shadow: inset 0 0 10px #000000;
        box-shadow:        inset 0 0 10px #000000;
    }
    .btn-group>a.btn i,.btn-group>a.btn strong, .btn-group>a.btn span {
        transform:skewX(20deg);
        -ms-transform:skewX(20deg);
        -webkit-transform:skewX(20deg);
        display: inline-block;
    }

    .btn-toolbar>.btn-group  {
        background: rgb(255,255,255); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */

    }
    .buttons .btn-group>.btn .small-text {
        margin-left:8px;
    }
    section.parallax {

        background-image: url(https://www.konference-plasty.cz/templates/masterbootstrap/images/parallax-min.jpg);

    }
    #misto h1 {
        font-size: 10em;
    }

    #misto h2 {

        font-size: 3em;
    }

    #misto .misto-misc {
        position: relative;
    }
    #misto .img {
        position: absolute;
        bottom: 0;
        left: 5vw;
        z-index: 2;
    }


    #misto .map-outer {
        float: right;
        margin-top: 0px;
    }
    #kontakt .row, .program .row {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display:         flex;
        flex-wrap: wrap;
    }
    #kontakt .row > [class*='col-'], .program .row > [class*='col-'] {
        display: flex;
        flex-direction: column;


    }    
    body.program #main img.img-program {
        object-fit: cover;
        width: 100%;
        display: block;
        height: 100%;
    }
    body.program #main img.o-akci { 

        object-fit: cover;
        width: auto;
        display: block;
    }    

    #userForm .form-horizontal .control-label {
        width: 26%;
    }

}

body.slideshow #recnici, #partneri, #misto, #kontakt {
    padding-top: 60px;
    margin-top: -60px;
}
body.program #main .ug-thumb-wrapper img {
    display: block;
}


body.program div#copy.well .block {
    width: 100%;
}

body.registrace form {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body.registrace .rsform-block-uvodni-text {
    margin-left: auto !important;
    margin-right: auto !important;
}
.minule p {
    font-size: 1.2em;
}
.checkbox-inline+.checkbox-inline, .radio-inline+.radio-inline    {
    margin-left:0px   }

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0px;    }

.btn-primary:hover {
    color: #fff;
    background-color: #273A68;
    border-color: #273A68;
}
.btn-primary {
    color: #fff;
    background-color: #079232;
    border-color: #079232;
}


#main .minule h1 {
    text-align: left;
}

#main .minule h1:before {
    display: none;
}

@media (max-width: 980px) {
    body.page section {
        padding-top: 70px;
    } 
    
    .navbar-default {
        -webkit-box-shadow: 0px 3px 32px -13px rgba(0,0,0,0.5);
        -moz-box-shadow: 0px 3px 32px -13px rgba(0,0,0,0.5);
        box-shadow: 0px 3px 32px -13px rgba(0,0,0,0.5);    
    }
    
    .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;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }

    #partneri .col-md-12:nth-child(2) img {
        padding: 2em;
        width: inherit;
    }
    .hover-text span {
        font-size: 1.8rem !important;
        line-height: 1.7em;
    }
    #main .text {
        height: 8rem;
    }

    #partneri .partner img, #partneri .zastita img {
        width: 10em;
        max-height: 7em;
    }
    #partneri .zastita img  {
        width: 13em;
    }
    #kontakt [class*='col-']:first-of-type {
        padding: 20px 20px;
    }
    
    #kontakt .col-md-4 {
        margin: 0px;
        padding: 0px !important;
        font-size: 18px;
        line-height: 18px;
    }
    
    #kontakt .col-md-4 strong {
        font-weight: normal;
        font-size: 18px;
        line-height: 32px;
        padding: 0px !important;
    }
    
    #misto h3 {
        line-height: inherit;
    }

}
@media (max-width: 810px) {
    #main .text {
        height: 10rem;
    }
    .hover-text span {
        font-size: 1.6rem !important;
        line-height: 1.7em;
    }
}

@media (max-width: 630px) {
    #main .text {
        height: 11rem;
    }
}
@media (max-width: 680px) {

    #main .col-xs-6 {
        width: 100%;
    }
    #main .text {
        height: 10rem;
    }
    
    #recnici .item-pagedoma .col-md-3 {
        width: 50%;
    }
    
    #recnici .item-pagedoma .col-md-3 .hover-text {
        display: none;
        opacity: 0;
    }
}

@media (max-width: 420px) {
    #recnici .item-pagedoma .col-md-3 {
        padding-left: 6px;
        padding-right: 6px;
    }
    
    #recnici .item-pagedoma .col-md-3 .hover-text {
        display: none;
        opacity: 0;
    }
}

@media (max-width: 380px) {
    .hover-text span {
        font-size: 1.2rem !important;
    }
    #main .text {
        height: 11rem;
        padding: 6px;
    }
}
@media (max-width: 315px) {
    #main .hover-text {
        font-size: 1.2em;}
    #main .hover-text span {
        font-size: 1.3rem !important;

    }
}
/*
@media (max-width: 500px) {
    .hover-text {
        font-size: 1.1rem !important;
    }
     #main .text {
        height: 15rem;
    }
}

@media (max-width: 430px) {
     .hover-text {
        font-size: 1.1rem !important;
    }
     #main .text {
        height: 20rem;
    }
}

@media (max-width: 340px) {
     #main .text {
        height: 22rem;
    }
}
*/
@media screen and (min-width: 980px) and (max-width: 990px) {
    #misto .map-outer {
        float: inherit;

        margin-top: -50px;
    }
    #misto .img {
        position: relative;
        left: auto;

    } 
}
@media screen and (min-width: 991px) and (max-width: 1200px) {

    .misto-misc {
        margin-top: 20em;
    }
    #main .hover-text {
        line-height: 1.7rem;
    }
    .hover-text span {


        font-size: 1.4rem !important;
    }
    #main .text {
        height: 11rem;
    }
}
@media screen and (max-width: 480px) { 
    body.page section {
        padding-top: 40px;
    }
   
    #brand img {
        height: 12vw;
    }
    .navbar-toggle {
        margin-right: 0;
    }

}
@media screen and (max-width: 1200px) {
    .navbar-toggle {
        display: block;
        float: right;
        position: relative;
        z-index: 9;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    #registrace-top {
        position: relative;
    }
    .navbar-header {
        float: none;
    }


}
@media screen and (min-width: 1200px) {
    .nav {
        transform: translateX(-105px); 
    }   .hover-text {
        line-height: 0.8em;
    }
    .hover-text span {
        font-size: 0.55em !important;
    }
    #main .text {
        height: 15rem;
    }
}

body.program #main td img {
    width: 100%;
    display: block;
    margin-top: 0.5em;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    body.program #main img.img-program {
        height: 37em;
    }
    body.program #main img.o-akci { 
        height: 40em;
    }    

}

.item-pagehistorie h1 {
    color: #23527c;
}

.item-pagehistorie .historie-img {
    width: 400px !important;
    height: 199px !important;
}
@media screen and (max-width: 800px)  {
    .nav>li>a {
        position: relative;
        display: block;
        padding: 1px 5px;
    }
}
@media screen and (max-width: 480px) {
    #brand {
        padding-top: 0px;
    }
    
    #brand img {
        padding-bottom: 4px;
        padding-top: 14px;
    }
    
    .navbar-toggle-hamburger {
        margin-top: 13px !important;
    }
    
    #registrace-top {
        margin-top: 4.5px;
    }    
    
    body .introcustom {
        margin-top: -35px;
    }
    
    /*
    #kontakt p {
        font-size: 18em;
        font-weight: bold;
        line-height: 2em;
        margin-top: 1em;
    }
    */
}


@media screen and (max-width: 980px) {
    /*
    #kontakt .col-md-4 {
        padding: 1rem 1rem !important;
    }
    */
}

@media screen and (max-width: 980px) { 
    body .custom.introbutton .btn-group-justified {
        display: inline-flex;
        background: #fff;
    }
    
    body .custom.introbutton .buttons a.btn.btn-default {
        width: 50%;
        display: inline-block;
    }
    
    body .custom.introbutton .buttons a.btn.btn-default:nth-child(3) {
        display: none !important;
    }
}

@media screen and (max-width: 600px) { 
    body .custom.introbutton .buttons a.btn.btn-default i {
        display: none;
    }
    
    body .introcustom {
        height: calc(100vh - 183px);
        padding-left: 25px;
        padding-right: 25px;
    }
    
    body .introcustom #intro {
        width: calc( 100% - 50px);
    }    
}    
    
@media screen and (max-width: 400px) { 
    body .custom.introbutton .buttons a.btn.btn-default {
        font-size: 16px;
    }
    
    body .introcustom {
        height: calc(100vh - 183px);
        padding-left: 15px;
        padding-right: 15px;
    }
    
    body .introcustom #intro {
        width: calc( 100% - 30px);
    }    
}    
    
@media screen and (min-width: 768px) { 
    #intro {
        padding-top: 40px;
    }
    
    #intro h1 {
        font-size: 3em;
    }

    #intro h2 {
        font-size: 2em;
    }

    #intro hr {
        width: 30vw;
    }
}

@media screen and (min-width: 980px) { 
    #brand img {
        height: 6em;
        padding-top: 10px;
        padding-bottom: 10px;
    }    
    
    #intro h1 {
        font-size: 4em;
    }

    #intro h2 {
        font-size: 3em;
    }

    #intro hr {
        width: 30vw;
    }
    
    body .introcustom {
        padding: 0px;
        padding-top: 70px;
        height: calc(100vh - 135px);
    }
    
    body .introcustom #intro {
        padding: 70px;
        padding-bottom: 40px;
        height: calc(100vh - 200px);
    }
    
    body .introcustom #intro {
        position: absolute;
        width: calc( 100%);
        z-index: 2;
    }
}

@media screen and (min-width: 1200px) { 
    .navigation .nav.menu > li > a {
        padding: 16px 15px;
    }

    #intro h1 {
        font-size: 5em;
    }

    #intro h2 {
        font-size: 4em;
    }

    #intro hr {
        width: 30vw;
    }
    
    body .introcustom {
        padding: 0px;
        padding-top: 70px;
        height: calc(100vh - 135px);
    }
    
    body .introcustom #intro {
        padding: 70px;
        padding-bottom: 40px;
        height: calc(100vh - 200px);
    }
    
}

@media screen and (min-width: 1500px) {
    #navigation ul li a {
        font-size:1.3em;
    }

    #navigation {
        line-height: 60px;
    }

    #intro h1 {
        font-size: 6em;
    }

    #intro h2 {
        font-size: 5em;
    }

    body #intro {
        padding-top: 80px;
    }
    .hover-text {
        line-height: 1em;
    }
    .hover-text span {
        font-size: 0.65em !important;
    }
    #main .text {
        height: 12rem;
    }
}

@media screen and (max-width: 800px) and ( max-height: 400px ) {
    #intro hr {
        margin: 0px;
        border: none;
    }
    
    body .introcustom {
        height: calc(100vh);
    }
    
    body .introcustom #intro {
        height: calc(100vh);
        width: calc( 100vw - 100px );
    }    
}