/*  Credit: http://www.templatemo.com  */

body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    background-color: #0394d0;
    background-image: url(images/header-bg2.jpg);
    background-repeat: repeat-x;
    background-position: left top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
    font-weight: 400;
    padding: 0;
    margin: 0 0 10px 0;
    font-family: Verdana, Geneva, sans-serif;
}

h1 {
    font-size: 32px;
    margin: 30px 0 30px 0;
    line-height: 40px;
}

h2 {
    font-size: 30px;
    margin: 60px 0 0px 0;
    line-height: 30px;
}

h3 {
    font-size: 22px;
    margin: 35px 0 0px 0;
    line-height: 24px;
}

h4 {
    font-size: 18px;
    margin: 15px 0 0px 0;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 12px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #95200c;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
}

.img_border {
    border: 1px solid #ccc;
    background: #fff;
    padding: 4px;
}

.img_nom {
    display: block;
    margin-bottom: 15px;
}

.img_fl {
    float: left;
    display: block;
    margin: 1px 20px 8px 0;
}

.img_fr {
    float: right;
    margin: 1px 0 8px 20px;
}

p {
    margin: 10px 0 0 0;
    padding: 0;
    text-align: justify;
}

p.introduction {
    color: #0394d0;
}

em {
    color: #771201;
}

label {
    display: block;
}

.content_mb_60 a:link,
.content_mb_60 a:visited,
.content_mb_60 a:hover,
.content_mb_60 a:active {
    color: #0394d0 !important;
    text-decoration: underline;
}

a:link,
a:visited {
    color: #797979;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
    color: #797979;
}

a:hover,
a:active {
    outline: none;
    color: #797979;
}

a.more {
    display: inline-block;
    padding: 4px 15px;
    text-decoration: none;
    margin-top: 5px;
    color: #fff;
    line-height: 24px;
    text-align: center;
    background: #444;
}

a.more:hover {
    background: #000;
}

.lighter-text {
    color: #797979;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol {
    margin: 10px 0 10px 15px;
}

ol li {
    margin: 0 0 7px 0;
    padding: 0 0 0 20px;
}

ul.list_bullet {
    margin: 10px 0 10px 15px;
    padding: 0;
    list-style: none;
}

ul.list_bullet li {
    color: #797979;
    margin: 0 0 7px 0;
    padding: 0 0 0 20px;
    background: url(images/templatemo_bullet.png) no-repeat scroll 0 5px;
}

ul.list_bullet li a {
    color: #797979;
    font-weight: normal;
    text-decoration: none;
}

ul.list_bullet li a:hover {
    color: #797979;
}

ul.list_bullet.course-date-list li {
    color: #0295d0;
    font-weight: bold;
    font-size: 16px;
}

#templatemo_wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0px 0px;
    /*background-image: url(images/templatemo_body.jpg);*/
    background-repeat: no-repeat;
    background-position: left top;
}


/** Columns **/

.content_wrapper {
    overflow: hidden;
    width: 100%;
}

.content_mb_30 {
    margin-bottom: 30px;
}

.content_mb_60 {
    margin-bottom: 60px;
}

.col_2 {
    width: 300px;
    margin-right: 40px;
}

.col_3 {
    width: 190px;
    margin-right: 35px;
}

.col_23 {
    width: 415px;
    margin-right: 35px;
}

.col_2,
.col_3,
.col_23 {
    float: left;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.center {
    margin: 0 auto;
    text-align: center;
}

p.center {
    margin: 0 auto;
}

.no_margin_right {
    margin-right: 0 !important;
}

#templatemo_sidebar .sidebar_content_box_right {
    color: #fff;
    cursor: text;
}

#templatemo_sidebar .sidebar_content_box_right:hover {
    text-decoration: none;
}

#templatemo_sidebar .sidebar_content_box h3 {
    margin: 20px 0 15px 0;
}


/*** Header ***/

#templatemo_header {
    position: relative;
}

#templatemo_header span.header_border {
    position: absolute;
    top: -10px;
    right: 0;
    height: 10px;
    width: 700px;
    background: url(images/templatemo_content_top.png);
}

#site_title {
    float: left;
    text-align: left;
    margin-left: 0;
    padding-left: 10px;
    height: 90px;
}

#site_title .title-small {
    font-size: 15px;
}

#site_title a {
    display: block;
    padding: 15px 30px 10px 0;
    font-size: 25px;
    line-height: 30px;
    color: #0394d0;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
}

#site_title a span {
    color: #0394d0;
}

#templatemo_menu {
    float: right;
    max-width: 1100px;
    width: 100%;
    min-height: 50px;
    background: #2ac4f6;
}


/*** Slider ***/

#templatemo_slider {
    clear: both;
    width: 980px;
    height: 360px;
}


/*** Main Content ***/

#templatemo_main_content {
    max-width: 1100px;
    padding-bottom: 10px;
    /*background: url(images/templatemo_content_bg.png) repeat-y right;*/
}


/*** Sidebar ***/

#templatemo_sidebar {
    float: left;
    font-size: 13px;
    width: 300px;
    color: #999;
    padding-top: 170px;
}

#templatemo_sidebar h3 {
    color: #fff;
}

#templatemo_sidebar a {
    color: white;
}

ul.sidebar_link li {
    padding: 10px 0;
    border-bottom: 1px solid #0394d0;
}

.sidebar_content_box {
    padding: 20px;
    margin-bottom: 20px;
    background: #2ac4f6;
}

ul.sidebar_gallery li {
    display: block;
    float: left;
    margin: 0 10px 10px 0;
}

#contact_form {
    padding: 0;
}

#contact_form form {
    margin: 0px;
    padding: 0px;
}

#contact_form form .input_field {
    width: 288px;
    padding: 5px;
    margin-bottom: 20px;
    color: #333333;
    background: #ffffff;
    border: 1px solid #dedede;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#contact_form form label {
    display: block;
    margin-bottom: 5px;
}

#contact_form form textarea {
    width: 628px;
    height: 130px;
    padding: 5px;
    margin-bottom: 10px;
    color: #333333;
    background: #ffffff;
    border: 1px solid #dedede;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#contact_form .submit_btn,
#comment_form .submit_btn {
    display: block;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    background-color: #2ac4f6;
    border: 1px solid #2ac4f6;
    color: #ffffff;
    font-size: 11px;
    cursor: pointer;
}


/*** Content ***/

#templatemo_content {
    float: right;
    padding: 30px;
    width: 740px;
    background: #fff;
    min-height: 800px;
}

a:link.underline,
a:visited.underline {
    text-decoration: underline;
}

#templatemo_content h2.post_title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news_list {
    margin-bottom: 30px;
}

.news_list .date {
    color: #fff;
}

.news_list a {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.news_list p {
    font-size: 11px;
}


/* Gallery */

#gallery li {
    display: block;
    float: left;
    margin: 0 0 30px 0;
    padding: 0;
    width: 640px;
    position: relative;
}

#gallery li span {
    display: block;
}

#gallery li span a.more {
    display: block;
    margin-top: 10px;
}

#gallery li.no_margin_right {
    margin-right: 0;
}

#gallery li span {
    display: none;
    font-size: 11px;
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 10px;
    background: #fff;
    color: #ccc;
    width: 600px;
    line-height: 1.2em;
    background: url(images/caption_background.png) repeat;
}

#gallery li span h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
}

#gallery li a:hover {
    text-decoration: none;
}

.post {
    margin-bottom: 20px;
    padding-bottom: 20px;
    background: url(images/templatemo_hr.png) bottom repeat-x;
}

.post h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.post img {
    margin-bottom: 5px;
}

.post_meta {
    border: 1px solid #666;
    border-left: 0;
    border-right: 0;
    padding: 5px;
    height: 16px;
    margin-bottom: 10px;
}

.post_meta span {
    float: left;
    display: block;
    float: left;
    margin-right: 20px;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left center;
}

.post_meta span.post_author {
    background-image: url(images/agent.png);
}

.post_meta span.date {
    background-image: url(images/calendar.png);
}

.post_meta span.tag {
    background-image: url(images/tag.png);
}

.post_meta span.comment {
    float: right;
    background-image: url(images/chat-02.png);
}

ol.comment_list {
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

ol.comment_list .comment_box {
    padding: 20px;
    background: url(images/templatemo_divider.png) repeat-x bottom;
}

ol.comment_list li {
    margin-bottom: 20px;
}

ol.comment_list li ul {
    list-style: none;
    background: none;
}

ol.comment_list li ul li {
    margin-bottom: 20px;
}

ol.comment_list li ul li .comment_box {}

.comment_content {
    float: right;
    width: 630px;
}

ol.comment_list li ul li.depth_2 .comment_content {
    width: 590px;
}

ol.comment_list li ul li.depth_3 .comment_box {}

ol.comment_list li ul li.depth_3 .comment_content {
    width: 550px;
}

#comment_form {
    width: 400px;
    margin-top: 40px;
}

#comment_form form label {
    display: block;
}

#comment_form form .input_field {
    width: 288px;
    padding: 5px;
    margin-bottom: 20px;
    color: #333333;
    background: #ffffff;
    border: 1px solid #dedede;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#comment_form form textarea {
    width: 388px;
    height: 130px;
    padding: 5px;
    margin-bottom: 10px;
    color: #333333;
    background: #ffffff;
    border: 1px solid #dedede;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}


/*** FOOTER ***/

#templatemo_footer {
    padding: 20px 10px;
    text-align: right;
}

.templatemo_paging {
    margin: 0 0 20px;
    padding: 0;
}

.templatemo_paging ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.templatemo_paging ul li {
    margin: 0;
    padding: 0;
    display: inline;
}

.templatemo_paging ul li a {
    float: left;
    display: block;
    color: #666;
    text-decoration: none;
    margin-right: 5px;
    padding: 5px 10px;
    background: #eeeeee;
    border: 1px solid #dddddd;
}

.templatemo_paging ul li a:hover {
    background: #666666;
    border: 1px solid #333333;
    color: #fff;
}

input,
textarea {
    border: 2px #b5ebfd solid;
    border-radius: 5px;
    font-size: 15px;
    margin: 2px;
    color: white;
    background-color: #0394d0;
    padding: 1px 1px 1px 5px;
    margin-bottom: 5px;
}

textarea {
    border: 2px #b5ebfd solid;
    border-radius: 5px;
    font-size: 15px;
    margin: 2px;
    color: black;
    background-color: white;
    padding: 1px 1px 1px 5px;
    margin-bottom: 5px;
}

fieldset {
    margin-bottom: 20px;
    border: 2px #b5ebfd groove;
    border-style: inset ouset inset outset;
    border-radius: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
    border: 2px #0394d0 solid;
}

input[type^="checkbox"] {
    background-color: #0394d0;
    height: 20px;
    width: 50px;
}

input {
    width: 200px;
}

input.no {
    width: 10px;
    text-align: center;
    border: none;
}

textarea {
    width: 400px;
    height: 200px;
}

label {
    color: #0394d0;
    font-size: 12pt;
    margin: 0 5px 0 20px;
    font-weight: bold;
}

legend {
    color: #0394d0;
    font-weight: bold;
    margin-left: 10px;
}

select {
    background-color: transparent;
    border: 2px #b5ebfd solid;
    border-radius: 5px;
    font-size: 15px;
    margin: 2px;
    color: white;
    background-color: #0394d0;
    padding: 1px 1px 1px 2px;
    margin-bottom: 5px;
}

#reset {
    color: black;
    height: 30px;
    padding: 1px 5px 1px 5px;
    background-color: white;
    margin-left: 20px;
    color: #0394d0;
    font-weight: bold;
    font-size: 15px;
    border: 1px #0394d0 solid;
    cursor: pointer;
}

#submit {
    color: black;
    height: 30px;
    padding: 1px 5px 1px 5px;
    background-color: white;
    margin-left: 20px;
    color: #0394d0;
    font-weight: bold;
    font-size: 15px;
    border: 2px #0394d0 solid;
    cursor: pointer;
}

.nazev_form {
    float: left;
    margin-bottom: 0;
    margin-top: 0;
}

.obsah_form {
    margin-left: 200px;
    margin-bottom: 0;
    margin-top: 0;
}

.clear2 {
    clear: both;
}

table.reservations {
    display: table;
    font-size: 10pt;
    width: 100%;
    border-radius: 5px;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    border-spacing: 0;
    display: table;
    margin: 20px auto 15px auto;
    border: 2px solid #0394d0;
    border-collapse: separate;
}

table.reservations td {
    text-align: center;
    border-bottom: 1px solid #0394d0;
    border-left: 1px solid #dddddd;
    width: 7%;
}

table.reservations td.end {
    border-right: 2px solid #0394d0;
}

table.reservations td.start {
    border-left: 2px solid #0394d0;
}

table.reservations th {
    font-size: 11pt;
    background-color: #0394d0;
    color: white;
}

table.reservations tr:hover,
table.reservations tr.tr_marked:hover {
    background-color: #0394d0;
    color: white;
}

table.reservations tr.tr_marked {
    background-color: #2ac4f6;
    color: white;
}

.notice {
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
    font-variant: small-caps;
    font-size: 12pt;
}

.red {
    color: red;
    border: 1px red solid;
    background-color: #fff0c0;
}

.red_text {
    color: red;
}

.green {
    color: green;
    border: 1px green solid;
    background-color: #f0ffc0;
}

ul.ul li {
    margin-left: 20px;
}

button {
    background-color: #2ac4f6;
    border: 2px solid #0394d0;
    padding: 3px 10px 3px 10px;
    border-radius: 5px;
    font-variant: small-caps;
    font-size: 13pt;
    cursor: pointer;
}


/* responsivity */

@media (max-width: 1160px) {
    #templatemo_sidebar {
        float: none;
        padding-top: 20px;
        width: 100%;
    }
    #templatemo_sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0px 40px;
    }
    #templatemo_content {
        float: none;
        max-width: calc(100% - 60px);
        width: calc(100% - 60px);
    }
    #templatemo_menu {
        max-width: 1100px;
    }
    #templatemo_sidebar .sidebar_content_box ul li {
        border: none;
        padding: 5px 0;
    }
    fieldset,
    fieldset .right,
    fieldset .left,
    fieldset .nazev_form,
    fieldset .obsah_form {
        float: none;
        margin-left: 0;
    }
    fieldset label {
        margin: 0;
        margin-top: 20px;
    }
    /*tables*/
    table {
        display: block !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    table td,
    table th {
        padding: 2px 8px;
    }
    /*menu*/
    #templatemo_menu ul {
        flex-direction: column;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    #templatemo_menu ul.open {
        display: flex;
    }
    #templatemo_menu li {
        width: fit-content;
    }
    #templatemo_menu a {
        display: block;
        padding: 0px 8px;
        margin: 4px;
        border: 1px solid white;
        border-radius: 8px;
        font-size: 16px;
        height: auto;
        line-height: 30px;
    }
    #templatemo_menu ul ul {
        display: none !important;
    }
}