
@font-face {
	font-family:Consolas;
	src: url(../css/font/Consolas.ttf);
}

body{
    background-color: rgba(40, 146, 191, 1);
    font-size: 16px;
    font-family: Consolas;
    font-family: 'Inconsolata', monospace;
   
   
   
    
}
.container{
    margin: auto;
}
img {
    max-width: 100%;
}
.no{
    display: none;
}
section {
    background-color: #fefefe;
    padding: 15px 0 50px;
}
section h2 {
    text-align: center;
    color: #2892bf;
     text-transform: lowercase;
    margin-bottom: 40px;
}
.blue {
    height: 250px;
}
.blue_bg {
    color: #fefefe;
    background-size: 12px,12px;
    background-color: rgba(40, 146, 191, 1);
    color: #fefefe;
    height: 215px;
    padding: 0;
    background-image: url(../img/cikcak_dolu2.png),url(../img/cikcak_nahoru2.png);
    background-repeat-y: no-repeat;
    background-position-y: 0px,210px;
    background-repeat: repeat-x;
    z-index: 1;
}



/*----------------header--------------*/
header{
    position: relative;
}
header .row.container {
    padding-top: 32px;
}
.navbar-default{
    position: relative;
    background-color: rgba(40, 146, 191, 1);
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 10;
}
footer .navbar-default{
    position: relative;
}
.navbar-default .navbar-nav>li>a {
    color: #fefefe;
}
a.navbar-brand {
    display: block;
    height: auto;
}
img#logo {
    max-width: 100%;
    width: 240px;
}
ul#nav {
    width: 100%;
    font-size: 16px;
    margin-top: 15px;
    text-transform: lowercase;
    display: flex;
    justify-content: space-between;
}
ul#nav li {
    /* width: 25%;
    text-align: center; */
}
.header_right p {
    color: #fefefe;
    font-size: 20px;
    margin-top: 15px;
    line-height: 20px;
    text-align: right;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #fff;
    background-color: transparent;
}
.navbar-nav>li>a:hover span,.navbar-nav>li>a:focus span{
  
    
    -webkit-animation-name: odkaz; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
    -webkit-animation-fill-mode: both;
    animation-name: odkaz;
    animation-duration: 2s;
    animation-fill-mode: both;
    display: inline-block;
    
} 
/* Safari 4.0 - 8.0 */
@-webkit-keyframes odkaz {
  from {transform: rotateZ(0deg);}
    to {transform: rotateZ(180deg);}
}

@keyframes odkaz{
    from {transform: rotateZ(0deg);}
    to {transform: rotateZ(180deg);}
}
div#cikcak_dolu {
    height: 7px;
    width: 100%;
    background-image: url(../img/cikcak_dolu_modra.png);
    background-repeat-y: no-repeat;
    background-repeat: repeat-x;
    background-position-y: 0px;
    background-size: 13px;
    position: absolute;
    bottom: -6px;
    padding-top: 0;
    z-index: 10;
}
/*-------------section about---------*/
section#about{
    text-align: center;
    padding-top: 220px;
}
section#about p {
    width: 761px;
    margin: 20px auto;
}
section#about p br {
    display: none;
}
/*-------------section Co nabízíme---------*/
section#suply h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
}
section#suply .we_do h3{
    margin-top: 50px;
}
section#suply ul {
    list-style-type: none;
}
section#suply ul li{
    clear: both;
}
section#suply ul span{
    float: left;
    width: 20px;
    display: inline-block;
    
}
section#suply ul p{
    float: left;
    width: 90%;
    display: inline-block;
}
section#suply p {
    max-width: 467px;
    margin: auto;
    text-align: center;
}
/*-------------section Kontakt---------*/
section#contact {
    text-align: center;
}
section#contact img {
    border-radius: 50%;
    width: 100px;
    filter: grayscale(100%);
    margin: auto;
    display: block;
}
section#contact h3 {
    font-size: 18px;
}
section#contact p {
    font-size: 14px;
    max-width: 700px;
    margin: auto;
}
section#contact a {
    display: block;
    font-size: 14px;
}
p.info {
    padding: 25px;
}
/*--------------footer------------------------------------*/
footer{
    background-image: url(../img/cikcak_dolu.png);
    background-repeat-y: no-repeat;
    background-position-y: 0px;
    background-size: 12px;
    color: #fefefe;
    padding-bottom: 40px;
    background-repeat: repeat-x;
}
footer .container {
    padding-top: 5px;
}
footer a#logo_bp {
    float: right;
}
footer adrress{
    float: left;
    margin-left: 105px;
}
footer h2 {
    font-size: 20px;
    font-weight: bold;
}
a#logo_bp img {
    width: 60px;
    margin-top: 63px;
    margin-right: 97px;
}

footer p {
    margin-bottom: 0;
}
footer ul#nav {
    margin-top: 0;
}

/*--------animation--------*/
section.blue_bg  img {
    width: 110px;
    margin: auto;
    display: block;
  
    
}

/*-------animation mrk----------*/

section.blue_bg div#mrk p {
    padding-top: 97px;
}
section.blue_bg div#mrk img {
    width: 200px;
    
}

#mrk img{
    -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 3s; /* Safari 4.0 - 8.0 */
    -webkit-animation-delay: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-name: example;
    animation-duration: 3s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
    z-index: 1;
   
    
}
@-webkit-keyframes example{
    0%{transform: rotateX(0);}
    10% {transform: rotateX(180deg);}
    90%{transform: rotateX(180deg);}
    100% {transform: rotateX(180deg);}
    
}
@keyframes example{
    0%{transform: rotateX(0);}
    10% {transform: rotateX(180deg);}
    90%{transform: rotateX(180deg);}
    100% {transform: rotateX(180deg);}
    
}

/*-------------animace up and down-------*/

.center {
    padding-top: 57px;
    width: 150px;
    margin: auto;
    position: relative;
}
div#mrk_jq{
     background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-repeat: no-repeat;
    background-size: 100px;
    position: relative;
    -webkit-animation-name:upDown; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    animation-name: upDown;
    animation-duration: 4s;
    animation-iteration-count: infinite;

    
}
div#mrk_jq2{
    background-image: url(../img/mrkani/animace_oci_stred2.png);
   background-repeat: no-repeat;
   background-size: 100px;
   position: relative;
   -webkit-animation-name:upDown; /* Safari 4.0 - 8.0 */
   -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
   -webkit-animation-iteration-count: infinite;
   animation-name: upDown;
   animation-duration: 4s;
   animation-iteration-count: infinite;

   
}
@-webkit-keyframes upDown{
    0% {background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-position: center;background-repeat: no-repeat;background-size: 100px;}
    5% {background-image: url(../img/mrkani/animace_oci_nahoru2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    15% {background-image: url(../img/mrkani/animace_oci_nahoru2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    20% {background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-position: center;background-repeat: no-repeat;background-size: 100px;}
    50% {background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-position: center;background-repeat: no-repeat;background-size: 100px;}
     55% {background-image: url(../img/mrkani/animace_oci_dolu2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    65% {background-image: url(../img/mrkani/animace_oci_dolu2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    70% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
     80% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 150px;}
    82% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    100% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    
    
}

@keyframes upDown{
    0% {background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-position: center;background-repeat: no-repeat;background-size: 100px;}
    5% {background-image: url(../img/mrkani/animace_oci_nahoru2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    15% {background-image: url(../img/mrkani/animace_oci_nahoru2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    20% {background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-position: center;background-repeat: no-repeat;background-size: 100px;}
    50% {background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-position: center;background-repeat: no-repeat;background-size: 100px;}
     55% {background-image: url(../img/mrkani/animace_oci_dolu2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    65% {background-image: url(../img/mrkani/animace_oci_dolu2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    70% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
     80% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 150px;}
    82% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    100% {background-image: url(../img/mrkani/animace_oci_stred2.png);background-position: center;background-repeat: no-repeat;background-size: 100px;}
    
    
}





.one{
    background-image: url(../img/mrkani/animace_oci_stred2.png);
    background-repeat: no-repeat;
    background-size: 100px;
    position: relative;
}
.two{
    background-image: url(../img/mrkani/animace_oci_nahoru2.png);
    background-repeat: no-repeat;
    background-size: 100px;
    position: relative;
}
.three{
    background-image: url(../img/mrkani/animace_oci_dolu2.png);
    background-repeat: no-repeat;
    background-size: 100px;
    position: relative;
}
/*------------------oci z boku-------------*/


div.block{
    float: left;
    display: inline-block;
    position: relative;
    height: 100%;
}
div.block img{
    max-width: 100%;
}
div.block_left {
    width: 520px;
    
    
}
div.block_center {
    width: 100px;
  
}
div.block_right {
    width: 520px;
   
}
.container.eye {
   
}
.block.block_left img {
    width: 50px;
    position: relative;
    display: block;
    left: 0;
    padding-top: 97px;
    float: left;
    -webkit-animation-name: eyeLeftSide; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 3s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    animation-name: eyeLeftSide;
    animation-duration:3s;
    animation-iteration-count: infinite;
}
@-webkit-keyframes eyeLeftSide{
    0%{left:0;}
    20%{left:90%;}
    24%{left:80%;}
    28%{left:90%;}
    100%{left:90%;}
}
@keyframes eyeLeftSide{
    0%{left:0;}
    20%{left:90%;}
    24%{left:80%;}
    28%{left:90%;}
    100%{left:90%;}
}
.block.block_center img {
    padding-top: 92px;
}
.block.block_right img {
    width: 50px;
    position: relative;
    right: 0;
    float: right;
    display: block;
    padding-top: 97px;
    -webkit-animation-name: eyeRightSide; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 3s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    animation-name: eyeRightSide;
    animation-duration:3s;
    animation-iteration-count: infinite;
}
@-webkit-keyframes eyeRightSide{
    0%{right:0;}
    20%{right:90%;}
    24%{right:80%;}
    28%{right:90%;}
    100%{right:90%;}
}
@keyframes eyeRightSide{
    0%{right:0;}
    20%{right:90%;}
    24%{right:80%;}
    28%{right:90%;}
    100%{right:90%;}
}

/**-----------reference----------*/
img.arrowforbutton {
    width: 10px;
}
img.teethDown {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 9;
}
img.teethUp {
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 9;
}
.divforfiltrimg {
    position: relative;
}
.filtr {
    background-color: rgba(0, 148, 121, 0.3);
    z-index: 8;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.filtr:hover{
    background-color: transparent;
}
div#flex-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.container_item {
    width: 33%;
    text-align: center;
    padding: 0 25px;
    margin-bottom: 70px;
}
.toggle_container {
    display: none;
    text-align: left;
    padding: 25px 0;
}
section#refer h3 {
    font-size: 20px;
    font-weight: bold;
    
    margin: 40px 0;
}
section#refer button.item_more {
    border: none;
    background-color: transparent;
    color: gray;
}
section#refer p.small {
    color: grey;
    text-transform: lowercase;
}
section#refer button.item_more:focus{
    outline: none;
}
section#refer p.bold {
    font-weight: bold;
}
a.next_projects {
    text-align: center;
    display: block;
}
/*---------------projekty--------------*/
.page_projekty {
    padding-top: 220px;
}
/*----------------------------------1199------------------------------*/
@media(max-width:1199px){
    section#refer h3 {
        font-size: 18px;
       
        margin: 30px 0 20px;
        height: 61px;
    }
    div.block_left 
    {
        width: 405px;
        margin-right: 12px;
    }
    div.block_right 
    {
        width: 405px;
        margin-left: 12px;
    }
    section#about p
    {
        width: 770px;
        
    }
}
/*----------------------------------991------------------------------*/
@media(max-width:991px){
    section#refer h3 {
        font-size: 16px;
        margin: 30px 0 20px;
        height: 61px;
    }
    .container_item {
        padding: 0 10px;
    }
    ul#nav li a {
        padding: 5px 0px;
        font-size: 14px;
    }
    .navbar-default 
    {
        background-position-y: 191px;
        }
    div.block_left 
    {
        width: 285px;
        margin-right: 25px;
    }
    div.block_right 
    {
        width: 285px;
        margin-left: 25px;
    }
    section#about p 
    {
        width: 720px;
    }
    section#about p br 
    {
        display: initial;
    }
    
}
/*----------------------------------767------------------------------*/
 @media(max-width:767px)
 {   
     body 
     {
         font-size: 14px;
     }
     section h2 
     {
         margin-bottom: 30px;
         font-size: 26px;
    }
    section#about 
     {
        padding-top: 194px;
     }
     section#how h3
     {
         font-size: 20px;
     }
    .navbar-default .navbar-toggle .icon-bar 
     {
         background-color: #fff;
     }
     .navbar-default 
     {
         background-position-y: 188px;
     }
     
     .navbar-default .navbar-collapse, .navbar-default .navbar-form 
     {
         border: 0px;
         box-shadow: unset;
     }
     ul#nav li 
     {
         width: 100%;
         text-align: center;
     }
     ul#nav li a 
     {
         padding-bottom: 5px;
    }
     section#about p 
     {
         width: 405px;
     }
     div.block_left 
     {
        width: 117px;
        margin-right: 41px;
    }
     div.block_right 
     {
        width: 117px;
        margin-left: 41px;
    }
  footer ul#nav li a 
     {
         text-align: center;
         padding: 7px;
    }
     footer adrress 
     {
         margin-left: 15px;
     }
     a#logo_bp img 
     {
         margin-top: 25px;
         margin-right: 10px;
     }
     section#how p
     {
         text-align: center;
         width: 90%;
         margin: 0 auto 25px;
     }
     section#how h3
     {
        text-align: center;
    }
     .container.eye 
     {
         width: 447px;

     }
     section#suply p
     {
        width: 90%;
        margin: 0 auto 25px;
        text-align: center;
    }
     footer ul#nav
     {
        width: 200px;
        font-size: 16px;
        margin: 15px auto 25px;
        text-transform: lowercase;
    }
     .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover 
     {
        background-color: #ffffff54;
    }
     ul#nav
     {
         margin: 0px auto 25px;
         display: block;
     }
     ul#nav li a:hover
     {
         -webkit-animation-name: hov; /* Safari 4.0 - 8.0 */
         -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
         animation-name: hov;
         animation-duration:1s;
         color:#fff
     }
     @-webkit-keyframes hov
     {
         0%{padding-left: 10px;color:#fff}
         100%{padding-left: 45px;color:#fff}
     }
     @keyframes hov
     {
         0%{padding-left: 10px;color:#fff}
         100%{padding-left: 45px;color:#fff}
     }
     .navbar-toggle 
     {
         margin-top: 16px;
         margin-right: 44px;
     }
     .header_right p
     {
         text-align: center;
     }
     div#flex-container {
        display: block;
        justify-content: unset;
    }
    .container_item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 70px;
    }
    section#refer h3 {
        font-size: 18px;
        margin: 30px 0 20px;
        height: auto;
    }
     
}
/*----------------------------------449------------------------------*/
@media(max-width:449px)
{ 
    section#about 
    {
        padding-top: 167px;
    }
    section#suply h3 
    {
        font-size: 16px;
        width: 187px;
        margin: 0 auto 10px;
    }
    section#about p {
        width: auto;
    }
    #suply div.col-sm-6:first-of-type 
    {
        margin-bottom: 30px;
    }
    .container.eye 
    {
        width: 288px;
    }
     div.block_center
    {
        width: 90px;
    }
    div.block_left {
        width: 42px;
        margin-right: 41px;
    }
    div.block_right 
    {
        width: 42px;
        margin-left: 41px;
    }
    .navbar-default 
    {
       background-position-y: 160px;
    }
    img#logo 
    {
        width: 150px;
    }
    .header_right p 
    {
        font-size: 16px;
    }
    header .row.container 
    {
    padding-top: 25px;
    padding-left: 0;
    padding-right: 0;
    }
    ul#nav li 
    {
        text-align: center;
    }
    footer .navbar-default
    {
        background-position-y: 335px;
    }
    .navbar-toggle
    {
       margin-right: 25px;
    }

    
}