* {
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
    outline: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', sans-serif;
}

section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: table;
    position: relative;
}

div {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: table;
    position: relative;
}

h1 {
    margin: 0 auto;
    display: table;
    font-size: 26px;
    padding: 40px 0;
    color: #002e5b;
    text-align: center;
}

h1 span {
    font-weight: 500;
}

header {
    width: 100%;
    display: table;
    background-color: white;
    margin-bottom: 5px;
}

.obrazek {
    /*min-width: 700px;*/
    float: left;
    position: relative;
    height: 100px;
    width: auto;
}

/*#logo {*/
/*float: left;*/
/*}*/

.navigace {
    width: 100%;
    max-width: 1200px;
    padding: 5px 10px 30px 0;
    margin: 0 auto;
    display: table;
    position: relative;
}

nav {
    width: auto;
    float: left;
}

nav ul {
    display: table;
    float: left;
}

nav ul li {
    float: left;
}

nav ul li:last-child {
    padding-right: 0;
}

nav ul li a {
    color: black;
    font-size: 25px;
    padding: 15px 5px;
    margin: 21px 0;
    display: inline-block;
    transition: all 0.5s ease 0s;
}

nav ul li a:hover {
    background-color: #ff7600;
    color: #002e5b;
    transition: all 0.5s ease 0s;
}

nav ul li a:hover i {
    color: #fde428;
    transition: all 0.5s ease 0s;
}

nav ul li a i {
    padding-right: 5px;
    color: #002e5b;
    transition: all 0.5s ease 0s;
}

/*#menu {*/
/*display: none*/
/*}*/

.toggle-menu ul {
    display: table;
    width: 25px;
    padding: 15px 0 0 0;
    margin: 10px 0;
}

.toggle-menu ul li {
    width: 100%;
    height: 3px;
    background-color: #002e5b;
    margin-bottom: 4px;
}

.toggle-menu ul li:last-child {
    margin-bottom: 0;
}

input[type=checkbox] {
    display: none;
}

.obsah {
    display: table;
    margin-bottom: 60px;
    width: 900px;
}

.obsah h2 {
    font-size: 18px;
    font-weight: 500;
    color: #002e5b;
    border-bottom: 1px solid #ff7600;
    display: table;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.obsah p {
    font-size: 16px;
    line-height: 22px;
    color: #808080;
    text-align: justify;
}

/*.vnitrek {*/
/*float: left;*/
/*position: relative;*/
/*width: 40%;*/
/*height: auto;*/
/*padding-right: 20px*/
/*}*/

/*.vnejsi {*/
/*float: left;*/
/*position: relative;*/
/*width: 40%;*/
/*height: auto;*/
/*}*/
.sluzbyleft {
    color: #002e5b;
    float: left;
    position: relative;
    width: 45%;
    height: auto;
    padding: 5px;
    margin: 0 10px 10px 10px;
}

.sluzbyright {
    color: #002e5b;
    float: left;
    position: relative;
    width: 45%;
    height: auto;
    padding: 5px;
    margin: 0 10px 10px 10px;

}


.minigalerie {
    height: 100px;
    width: auto;
    position: relative;
    float: left;
    padding: 0;
    margin: 10px;
    /*border: 1px solid #002e5b;*/
}
/*.miniobrazek{border-radius: 5px;*/
    /*cursor: pointer;*/
    /*transition: 0.3s;padding: 5px;}*/

/*.minigalerie:hover {*/
    /*border: 2px solid darkorange;*/
/*}*/
/*modal image galerie*/
.modalobrazek {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;

}

.modalobrazek:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 600px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 95% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 95%;
    }
}

/*footer{display:table; padding-bottom:30px; width:100%;}*/
/*.social{margin:0px auto; display:table; display:table;}*/
/*.social li{float:left; padding:0px 10px;}*/
/*.social li a{color:#002e5b; transition: all 0.5s ease 0s;}*/
/*.social li a:hover{color:#fde428; transition: all 0.5s ease 0s;}*/

@media only screen and (min-width: 1440px) {
    section {
        max-width: 65%;
    }

    footer {
        max-width: 95%;
    }

    .toggle-menu {
        display: none
    }

    /*#menu {*/
    /*display: none*/
    /*}*/

}

@media only screen and (min-width: 1200px) {
}
section {
    max-width: 75%;
}

footer {
    max-width: 95%;
}

    .obsah {
        width: 90%;
}
.toggle-menu {
    display: none
}


@media only screen and (max-width: 980px) {

    .obsah {
        width: 90%;
    }
    .toggle-menu {
        display: none
    }
}


/*@media only screen and (max-width: 400px) {*/
/*!*header {*!*/
/*!*padding: 20px 0;*!*/
/*!*}*!*/
/*!*#logo {*!*/
/*!*padding: 0;*!*/
/*!*}*!*/
/*.obrazek {*/
/*width: 90%;*/
/*}*/

/*!*.viga {*!*/
/*!*padding-top: 10px;*!*/
/*!*display: block;*!*/
/*!*}*!*/

/*input[type=checkbox] {*/
/*position: absolute;*/
/*top: -9999px;*/
/*left: -9999px;*/
/*background: none;*/
/*}*/

/*input[type=checkbox]:focus {*/
/*background: none;*/
/*}*/

/*label {*/
/*float: right;*/
/*padding: 8px 0;*/
/*display: inline-block;*/
/*cursor: pointer;*/
/*}*/

/*input[type=checkbox]:checked ~ nav {*/
/*display: block;*/
/*}*/

/*nav {*/
/*display: none;*/
/*position: absolute;*/
/*right: 0;*/
/*top: 100px;*/
/*background-color: #002e5b;*/
/*padding: 0;*/
/*z-index: 99;*/
/*}*/

/*nav ul {*/
/*width: auto;*/
/*}*/

/*nav ul li {*/
/*float: none;*/
/*padding: 0;*/
/*width: 100%;*/
/*display: table;*/
/*}*/

/*nav ul li a {*/
/*color: #ff7600;*/
/*font-size: 15px;*/
/*padding: 5px 10px;*/
/*margin: 0;*/
/*display: block;*/
/*border-bottom: 1px solid rgba(225, 225, 225, 0.1);*/
/*}*/

/*nav ul li a i {*/
/*color: #fde428;*/
/*padding-right: 13px;*/
/*}*/
/*}*/


@media only screen and (max-width: 600px) {
    header {
        padding: 0 0;
    }

    .obrazek {
        width: 90%;
    }

    /*#logo {*/
    /*padding: 0px;*/
    /*}*/
    input[type=checkbox] {
        position: absolute;
        top: -9999px;
        left: -9999px;
        background: none;
    }

    input[type=checkbox]:focus {
        background: none;
    }

    .toggle-menu label {
        float: right;
        padding: 8px 0;
        display: inline-block;
        cursor: pointer;
    }

    input[type=checkbox]:checked ~ nav {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        right: 0;
        top: 53px;
        background-color: #002e5b;
        padding: 0;
        z-index: 99;
    }

    nav ul {
        width: auto;
    }

    nav ul li {
        float: none;
        padding: 0;
        width: 100%;
        display: table;
    }

    nav ul li a {
        color: #FFF;
        font-size: 15px;
        padding: 5px 5px;
        margin: 5px;
        display: block;
        border-bottom: 1px solid rgba(225, 225, 225, 0.1);
    }

    nav ul li a i {
        color: #fde428;
        padding-right: 13px;
    }

    .toggle-menu {
        display: block
    }
}

/*@media only screen and (max-width: 568px) {*/
/*.obrazek {*/
/*width: 90%;*/
/*}*/

/*h1 {*/
/*padding: 25px 0;*/
/*}*/

/*h1 span {*/
/*display: block;*/
/*}*/
/*}*/

/*@media only screen and (max-width: 480px) {*/
/*section {*/
/*max-width: 90%;*/
/*}*/
/*}*/

@media only screen and (max-width: 600px) {
    .obsah {
        width: 90%;
    }

    .adresa {
        width: 100%

    }
}


/*@media only screen and (max-width: 360px) {*/
/*h1 {*/
/*font-size: 20px;*/
/*}*/

/*label {*/
/*padding: 5px 0;*/
/*}*/

/*!*#logo {*!*/
/*!*font-size: 20px;*!*/
/*!*}*!*/
/*nav {*/
/*top: 47px;*/
/*}*/
/*}*/

/*@media only screen and (max-width: 320px) {*/
/*h1 {*/
/*padding: 20px 0;*/
/*}*/
/*}*/

.mapa {
    padding: 5px 5px;
    float: right;

}

div.mapa {
    width: 50%;
    max-width: 1200px;
    margin: 0 auto;
    display: table;
    position: relative;
}

.adresa {
    padding: 10px 10px;
    margin: 40px 10px 0 10px;
    float: left;
    width: 35%;

}

#kontaktform {
    margin: 10px;

}

.formular {
    /*background: #ff7600;*/
    margin: 0 0 10px 0;
}

.form {
    display: inline;
    margin-bottom: 60px;
    width: 900px;
}

.krouzek {
    list-style-type: circle;

    }

/*formulař*/
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ff7600;
    border-radius: 4px;
    resize: vertical;
}

/*.labelformular label {*/
/*padding: 12px 12px 12px 0;*/
/*!*display: inline-block;*!*/
/*display:none;*/
/*}*/

input[type=submit] {
    background-color: #002e5b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    float: right;
}

input[type=submit]:hover {
    background-color: #ff7600;
}

input[type=button] {
    background-color: #ff7600;
    color: white;
    font-size: small;
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: right;
}

input[type=button]:hover {
    background-color: #002e5b;
}

.container {
    border-radius: 5px;
    background-color: #ebeae9;
    padding: 20px;
}

.radek-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.radek-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.radek:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 768px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 768px) {
    .radek-25, .radek-75, input[type=button] {
        width: 100%;
        margin-top: 0;
    }

    .radek-25 {
        float: left;
    }

    .mapa {
        float: left;
    }

}
