@font-face {
    font-family: geologica; /*deklarace fontu*/
    src: url("../../css/Geologica/static/Geologica_Auto-Regular.ttf"); /*propojení na umístění souboru*/
}

@font-face {
    font-family: geologica-black;
    src: url("../../css/Geologica/static/Geologica_Auto-Black.ttf");
}

@font-face {
    font-family: geologica-semibold;
    src: url("../../css/Geologica/static/Geologica_Auto-SemiBold.ttf");
}

@font-face {
    font-family: geologica-light;
    src: url("../../css/Geologica/static/Geologica-Light.ttf");
}

@font-face {
    font-family: geologica-bold;
    src: url("../../css/Geologica/static/Geologica_Auto-Bold.ttf");
}

body {
    margin:0; 
    padding:0; 
    font-family: geologica;
    font-size:1.1em; 
    font-weight: 400;
}

div {
    line-height: 1.3;
}

img {
    border:none; 
}

p {
    margin: 0 0 30px 0;
}

.text li, .texthp32 li {
    margin-left: -10px;
}

h1, h3, h4, h5 {
    font-family: geologica-black;
}

h2 {
    font-family: geologica-semibold;
}

h1 {
    margin-top: 35px;
    margin-bottom: 35px;
}

h2 {
    margin-top: 50px !important;
    margin-bottom: 35px;
}

h3 {
    margin-top: 35px;
    margin-bottom: 15px !important;
}

h4, h5 {
    margin-top: 20px;
    margin-bottom: 5px;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px !important;
}

h2 {
    font-size: 36px;
    margin-top: 0;
}

h3 {
    font-size: 24px;
}

h4, h5 {
    font-size: 24px;
}

@media screen and (max-width:500px) {
    h1, h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    h4, h5 {
        font-size: 20px;
    }    
}

@media screen and (max-width:320px) {
    h1, h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    h4, h5 {
        font-size: 18px;
    }    
}

.text h1 { /* .text h2, .text h3 */
  display: block;
  width: fit-content;
  max-width: 100%;
  text-align: left;
  padding: 10px 20px 10px 12px;
  background: #F59F18;
  margin-top: 10px;
  /*margin-bottom: 40px !important;*/
  clip-path: polygon(0.2% 0%, 100% 0%, 98% 100%, 0% 90%);
}

@media screen and (max-width:1024px) { /* .text h2, .text h3 */
    .text h1 {
      clip-path: polygon(0.2% 0%, 100% 0%, 99% 100%, 0% 96%);
    }
}

.text h1, .text h3, .text h4 {
    text-transform: uppercase !important;
}

.texthp2 h2 {
    font-size: 30px;
}

@media screen and (max-width:550px) {
    .texthp2 h2 {
        font-size: 24px;
    }
}

@media screen and (max-width:460px) {
    .texthp2 h2 {
        font-size: 20px;
    }
}

.semibold {
    font-family: geologica-semibold;
}

.light {
    font-family: geologica-light;
    line-height: 1.1;
}

.flashes {
    position:absolute;
    top:10px;
    width:50%;
    left:25%;
    height:auto;
    padding:10px;
    text-align: center;
    font-size:120%;
    z-index:125000;
}

@media screen and (max-width:540px) {
    .flashes {
        width:80%;
        left:10%;
    }
}

.closeFlash {
    float:right;
    cursor:pointer;
}

.search {
    float: right;
    padding: 0;
    height: 26px;
    width: auto;
    border-radius: 7px;
    margin: 5px 15px 0 0;
    padding: 0 10px 0 5px;
}

.searchfield {
    width: 140px;
    height: 16px;
}

.submitSearch {
    width: 22px;
    height: 22px;
    margin-top: -2px !important;
    background: url('../design/submitsearch.png') no-repeat;
    background-size: 100% 100%;
}

.tabSearch {
    border-collapse: collapse;
}

.tabSearch td {
    padding: 0;
    vertical-align: top;
}

.tabSearch h1, .tabSearch h2, .tabSearch h2 {
    background: none;
    font-size: 16px;
}

.mainblock {
    float: left;
    margin: 0;
    width: 100%;
    height: auto;
}

.logo {
    position: absolute;
    width: 61px;
    height: auto;
    top: 8px;
    left: 40px;
}

.logomenu {
    position: absolute;
    width: 30px;
    height: auto;
    left: 20px;
    top: 10px;
}

@media screen and (max-width:1250px) {
    .logo {
        left: 20px;
    }    
}

@media screen and (max-width:700px) {
    .logo {
        width: 50px;
    }    
}

.logo a {
    padding: 5px 10px 8px 10px;
    border-radius: 5px 5px 0 0;
    text-decoration: none;    
}

.loading {
    position:absolute;
    top: 50%;  
    width:50px;
    height: auto;
    z-index:10000;
    left:47%;
}

.content {
    float: left;
    width: 100%;
    padding: 0;
}

.content1 {
    float:left;
    width: 100%;
    /*min-height: 200px;*/
    height: auto;
    margin-bottom: 20px;
    background: #F9A91E url('../design/zahlavi_page.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
}

@media screen and (max-width:1220px) {
    .content1 {
        min-height: 100px;
    }
}

@media screen and (max-width:540px) {
    .content1 {
        min-height: 80px;
    }
}

.text {
    float:left;
    width: 80%;
    height: auto;
    margin-bottom: 20px;
    margin-left: 10%;
    overflow: hidden;
}

.text img {
    float:left;
    width:35%;
    margin: 0 20px 20px 0;
    height:auto;
}

@media screen and (max-width:1024px) {
    .text img {
        width:60% !important;
    }    
}

@media screen and (max-width:800px) {
    .text img {
        width:100% !important;
    }
}

.text table {
    table-layout: auto;
    border-collapse: collapse;
    margin-bottom: 15px;
}

@media screen and (max-width:768px) {
    .text  {
        width: 90% !important;
        margin-left: 5%;
    }
}

@media screen and (max-width:425px) {
    .text table {
        font-size: 80%;
    }
}

@media screen and (max-width:350px) {
    .text table {
        font-size: 70%;
    }
}

.text table td {
    border: 1px solid grey;
    padding: 5px;
}

.text table td {
    border: 1px solid grey;
}

.text ul li, .text ol li {
    margin-bottom: 7px;
}

/* HOMEPAGE */
.texthp1 {
    float:left;
    width: 100%;
    min-height: 450px;
    height: auto;
    margin-bottom: 20px;
    background: #fff url('../design/zahlavi2.png'); /* F9A91E */
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
}

@media screen and (max-width:1920px) {
    .texthp1 {
        min-height: 350px;
    }
}

@media screen and (max-width:920px) {
    .texthp1 {
        background: #fff url('../design/zahlavi_mob.png');
        background-position: bottom center;
        background-size: 100% auto;
    }
}

.texthp11 {
    float: left;
    width: 33%;
    height: auto;
    margin-left: 30%;
    padding: 45px 0 0 0;
}

.texthp11 h1 {
    margin-top: 0px !important;
}

.texthp11 h3 {
    margin-top: -20px !important;
    margin-bottom: 15px;
}

@media screen and (max-width:1140px) {
    .texthp11 {
        width: 40%;
        margin-left: 25%;
    }
}

@media screen and (max-width:980px) {
    .texthp11 {
        width: 50%;
        margin-left: 20%;
        padding: 40px 0 0 0;
    }
}

@media screen and (max-width:768px) {
    .texthp11 {
        width: 50%;
        margin-left: 10%;
    }
}

@media screen and (max-width:600px) {
    .texthp11 {
        width: 86%;
        margin-left: 7%;
    }
}

@media screen and (max-width:600px) {
    .texthp1 {
        padding-bottom: 20px;
    }
    .texthp11 {
        margin-top: 10px;
    }
    .texthp1 {
        min-height: 300px;
    }
}

@media screen and (max-width:500px) {
    .texthp1 {
        padding-bottom: 0px;
    }
}

@media screen and (max-width:425px) {
    .texthp11 h1 {
        font-size: 34px;
        line-height: 1.8;
    }
    .texthp11 {
        min-height: 300px;
    }
}

@media screen and (max-width:350px) {
    .texthp11 h1 {
        font-size: 26px;
        line-height: 1.8;
    }
}

.texthp2 {
    float:left;
    width: 100%;
    margin-top: -50px;
    height: auto;
}

.texthp21 {
    float:left;
    width: 50%;
    margin-left: 15%;
    margin-top: 40px;
    min-height: 100px;
}

.ikona_hp {
    float: left;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.ikona_hp img {
    float: left;
    width: 100px;
    height: auto;
    margin-right: 20px;
}

@media screen and (max-width:600px) {
    .ikona_hp img {
        margin-right: 10px;
    }
}

@media screen and (max-width:400px) {
    .ikona_hp img {
        width: 70px;
    }
}

.ikona_hp h2 {
    margin-top: 30px;
}

.ikona2 {
    margin-left: 80px;
}

.ikona3 {
    margin-left: 160px;
}

.ikona4 {
    margin-left: 240px;
}


.texthp22 {
    float:right;
    width: 15%;
    margin-right: 19%;
    min-height: 100px;
    margin-top: -125px;
}

@media screen and (max-width:1280px) {
    .texthp21 {
        width: 64%;
        margin-left: 10%;
    }
    .texthp22 {
        width: 15%;
        margin-right: 10%;
        min-height: 100px;
        margin-top: -125px;
    }
}

.texthp23 {
    position: absolute;
    width: 25%;
    right: 5%;
    min-height: 100px;
    top: 200px;
}

@media screen and (max-width:600px) {
    .texthp23 {
        top: 280px;
        right: 5%;
    }
}

@media screen and (min-width:769px) {
    .texthp23 {
        display: none;
    }
}

@media screen and (max-width:768px) {
    .texthp21 {
        width: 94%;
        margin-left: 5%;
    }
    .texthp22 {
        display: none;
    }
}

@media screen and (max-width:320px) {
    .texthp21 {
        width: 97%;
        margin-left: 2%;
    }
}

.texthp22 img {
    float: left;
    width: 100%;
    height: auto;
}

.texthp23 img {
    float: left;
    margin-top: 15px;
    width: 100%;
    height: auto;
}

.texthp3{
    float:left;
    width: 100%;
    height: auto;
} 

.texthp31 {
    float:left;
    width: 100%;
    min-height: 10px;
    height: auto;
    background: #F9A91E url('../design/krivka_oprojektu_top.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
}

.texthp32 {
    float:left;
    width: 100%;
    min-height: 50px;
    margin-top: -2px;
}

.texthp32 div {
    width:50%;
    height: auto;
    margin: 30px 0;
    margin-left: 20%;
}

@media screen and (max-width:1340px) {
    .texthp32 div {
        width: 70%;
        margin-left: 15%;
    }
}

@media screen and (max-width:940px) {
    .texthp32 div {
        width: 90%;
        margin-left: 5%;
    }
}

.texthp33 {
    float:left;
    width: 100%;
    min-height: 10px;
    margin-top: -2px;
    background: url('../design/krivka_oprojektu_bottom.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
}

.texthp4 {
    float:left;
    width: 92%;
    margin-left: 4%;
    padding-top: 30px;
    height: auto;
} 

.texthp5 {
    float:left;
    width: 100%;
    height: auto;
    background: url('../design/krivka_rozdelujici.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
}

.logaorg {
    position: relative;
    width: 700px;
    height: 90px;
    margin: 40px auto 60px auto;
}

@media screen and (max-width:1024px) {
    .ikona2, .ikona3, .ikona4 {
        margin-left: 0px;
    }    
}

@media screen and (max-width:768px) {
    .logaorg {
        width: 350px;
    }
    .semibold {
        font-size: 14px !important;
        margin-bottom: 40px;
    }
}

@media screen and (max-width:425px) {
    .logaorg {
        width: 90%;
        margin-left: 5%;
    }
    .logaorg img {
        width: 49%;
        height: auto;
    }
}

.logaorg a {
    text-decoration: none;
}

.logaorg div {
    float: left;
    width: 100%;
    min-height: 5px;
    padding-top: 15px;
    height: auto;
    border-top: 1px solid black;
    text-align: center;
    font-size: 105%;
}

/* BLOCK */
.who {
    margin-left: 3%;
    margin-bottom: 40px;
}

.blockitem {
    float: left;
    width: 22%;
    margin: 0 3% 0 0;
    height: auto;
    overflow: hidden;
}

.blocktitle {
    position: relative;
    width: 94%;
    /*height: 260px;*/
    top: 0px;
    padding: 10px 3%;
    /*white-space: nowrap;*/
    overflow: hidden;
}

.blockitem table {
    border-collapse: collapse;
}

.blockitem table td {
    border: none;
}

.blockitem table img {
    width: 100%;
}

.btitle {
    /*font-size: 24px;
    font-weight: bold;*/
    height: auto;
}

.blockitem button {
    float: right;
    font-size: 16px;
    padding: 5px 10px;
    margin-top: -10px;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

@media screen and (max-width:1150px) {
    .blockitem {
        width: 45%;
        margin: 30px 0 40px 3%;
    }
    /*.blocktitle {
        height: 220px;
    }*/
}

@media screen and (max-width:600px) {
    .blockitem {
        width: 94%;
        margin: 10px 0 10px 3%;
    }
    .blocktitle {
        height: auto;
    }
}

.blockitem2 {
    float: left;
    width: 22%;
    margin: 0 0 0 2%;
    height: auto;
    overflow: hidden;
}

.blockitem2 table {
    border-collapse: collapse;
    width: 100%;
}

.blockitem2 table img {
    width: 100% !important;
}

@media screen and (max-width:1150px) {
    .blockitem2 {
        width: 45%;
        margin: 30px 0 40px 3%;
    }
}

@media screen and (max-width:600px) {
    .blockitem2 {
        width: 94%;
        margin: 30px 0 10px 3%;
    }
    .blockitem2 .blocktitle {
        padding: 0px 3% 10px 3%;
    }
}

.detailarr {
    position: absolute;
    width: 82%;
    top: 40px;
    padding: 20px 3% 20px 3%;
    margin: 0 3% 40px 3%;
    z-index: 5000;
}

@media screen and (max-width:1100px) {
    .detailarr {
        top: 80px;
    }
}

@media screen and (max-width:940px) {
    .detailarr img {
        width: 97%;
    }
}

.closeWin {
    float: right;
    width: 28px !important;
    cursor: pointer;
}

/* GALLERY */
.covergallery {
    float: left;
    width: 100%;
    margin-top: 140px !important;
    height: auto;
}

#gallery {
    float:left; 
    width:80%;
    height:auto;
    margin-left: 10%;
}

@media screen and (max-width:768px) {
    #gallery  {
        width: 90% !important;
        margin-left: 5%;
    }
}

.album {
    float:left;
    width:100%; 
    margin-bottom:20px;
}

.thumbGal {
    table-layout:fixed;
    float:left;
    margin:0 20px 20px 0;
}

.thumbGal td {
    vertical-align: bottom;
    text-align:center;
    width:115px;
    height:115px;
    box-shadow: 3px 3px 5px #000;
    border-radius: 8px;
}

/* NEWS */
.coverNews {
    float: left;
    width: 90%;
    height: auto;
    min-height: 150px;
    margin-left: 5%;
}

.actuality {
    float:left;
    width:70%;
    height:auto;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.itemActuality {
    float:left;
    width:100%;
    height:auto;
    margin-bottom: 20px;
}

.itemActuality p {
    float:left;
    width:100% !important;
    height:auto;
}

.itemActuality img {
    float:left;
    width:60%;
    margin: 0 20px 10px 0;
    height:auto;
}

.itemActuality h1, .itemActuality h2, .itemActuality h3, .itemActuality h4 {
    text-align:left !important;
}

.perex {
    font-weight:bold;
    margin-bottom:10px;
}

.article {
    float:right;
    width:100%;
    margin-top:10px;
    /*margin-bottom:30px;*/
}

.article img {
    float:left;
    border-radius: 50px;
    border-bottom: 3px solid #F59F18;
    width:48%;
}

@media screen and (max-width:1024px) {
    .itemActuality img, .actuality img {
        width:100% !important;
        margin: 10px 0 15px 0;
    }    
    .actuality {
        width:96%;
        /*margin-top:20px;*/
        margin: 0px 2% 30px 2%;
    }
}

.news {
    float: right;
    width: 25%;
    margin-top: 15px;
    padding-left: 2%;
    padding-right: 1%;
}

@media screen and (max-width:1024px) {
    .news {
        display:none;
    }
    .actuality {
        width: 100%;
    }
}

.newsLink {
    /*font-family: 'Alata';*/
    text-decoration: underline;
}

.newsLink:hover {
    /*font-family: 'Alata';*/
    text-decoration: underline;
}

.newsIn {
    margin: 10px 0;
}

.newsmenu button {
    /*font-family: 'Alata';*/
    font-size: 1.2em;
    border: none;
    padding: 3px 5px;
    margin-bottom: 7px;
    border-radius: 3px;
    cursor: pointer;
}

.iAcontent, coverNewsH1 {
    float: left;
    width: 100%;
    height: auto;
}

/* FOOTER */
.coverFooter {
    float: left;
    width: 100%;
    height: auto;
    background: #F59F18 url('../design/krivka_zapati.png') no-repeat;
    background-size: 100% auto;
    padding-top: 100px;
}

@media screen and (max-width:768px) {
    .coverFooter {
        padding-top: 50px;
    }
}

.footer {
    float: left;
    width: 94%;
    height: auto;
    padding: 0px 3%;
}

.footer a {
    color:blue;
}

.footer a:hover {
    color:darkblue !important;
}

.cook {
    float: left;
    width: 100%;
    height: auto;
    min-height: 40px;
    padding-top: 0px;
    margin-bottom: 20px;
    text-align: center;
}

.cook table {
    table-layout: auto;
    position: relative;
    margin: 0 auto; 
}

.cook table td {
    padding: 5px 10px;
}

.footer5 button {
    padding: 5px 10px;
    border: none;
    margin-right: 10px;
    margin-top: 7px;
    margin-bottom: 10px;
    font-size: 100%;
    border-radius: 7px;
    color: #000 !important;
}

.programmed2 {
    position: relative;
    margin: 200px auto 0 auto;
    width: 460px;
    height: 50px;
    color: #000;
    font-size: 80%;
}

@media screen and (max-width:500px) {
    .programmed2 {
        width: 90%;
        margin-left: 5%;
    }
}

@media screen and (max-width:500px) {
    .programmed2 div {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

.programmed2 div {
    float: left;
    padding: 10px 0;
}

.programmed2 img {
    margin: -12px 10px 0 10px;
}

.btcenter {
    text-align: center;
}

/* MESSAGE */
.message {
    float: left;
    width: 60%;
    height: auto;
    margin-left: 20%;
    margin-bottom: 30px;
    padding: 10px 10px 0 5px;
    border-radius: 10px;
}

.message input {
    border: none;
}

@media screen and (max-width:820px) {
    .message {
        width: 95%;
        margin-left: 0%;
    }    
}

@media screen and (max-width:370px) {
    .message {
        width: 94%;
    }    
}

.message form {
    width: 100%;
}

.message table {
    table-layout: auto;
    width: 100%;
}

.message table td {
    border: none;
}

.messArea {
    width: 100%;
    height: 80px;
    border: none;
}

.labels {
    width: 80px;
}

.textfield {
    width: 300px;
    height: 20px;
}

@media screen and (max-width:820px) {
    .textfield {
        width: 100%;
    }   
}

.submitProfil {
   padding: 10px;
   border-radius: 7px;
   font-family: geologica-semibold;
   font-size: 18px;
   float: right;
   cursor: pointer;
}

.spacer15 {
    float:left;
    width: 100%;
    height: 15px;
}