@import url('https://fonts.googleapis.com/css?family=Raleway:400,700&subset=latin-ext');

html {
    font-size: 14px;
}
body {
    color: #000;
    background-color: #fff;
}
footer .row, .body-home .content-section > .container .row, .body-home .content-section > .container {
    width: 100%;
    margin: 0px;
    padding: 0px;
}
p, a, h1, h2, h3, h4, span, strong, ul, li, div{
    font-family: 'Roboto', sans-serif !important;

}
p{
    font-size: 18px;
    margin: 0 0 2px;
    color: #333;
    line-height: 1.5;
}

h2{
    text-transform: uppercase;
    color: #333;
    font-weight: 500;
    font-size: 36px!important;
    margin: 5px 0 20px;
}
h2 small {
    margin-bottom: 3px;
    margin-top: 15px;
    color: #333;
}
h3 {
    font-weight: 700;
    margin: 0 0 15px;
}

img{
    max-width: 100%;
}

a {
    color: #5A5F6B;
    text-decoration: none;
    transition: 200ms ease;
}

.social a:hover {
    color: #fff;
}
a:focus, a:hover {
    color: #333;
    text-decoration: none;
    transition: 200ms ease;
}
footer  a:hover{
    color: #ffd300;
}
h1 {
    display: block;
    color: #333;
    padding: 0px 25px 0px 0px;
    margin: 0px;
    font-size: 10px;
    position: absolute;
    width: 100%;
    text-align: right;
}
@media(min-width:768px) {
    h1 {
        float: right;
    }
}
h2 {
    font-weight: 700;
    font-size: xx-large;
    text-align: center;
}

button, input, select, textarea{
    outline: none;
}

.navbar {
    background-color: #f7f7f7;
    -moz-box-shadow:    0px 0px 3px 3px rgba(20,20,20,0.1);
    -webkit-box-shadow: 0px 0px 3px 3px rgba(20,20,20,0.1);
    box-shadow:         0px 0px 3px 3px rgba(20,20,20,0.1);
    padding: 10px 0 0;
}

.navbar-default .navbar-brand {
    padding: 0 0 0 5px;
    min-height: 40px;
        position: relative;
    z-index: 50;
}

.navbar-default .navbar-brand img,
.navbar-default.top-nav-collapse .navbar-brand img {
    height: 50px;
    margin-top: 6px;
}

.intro {
    background: none;
    padding: 0px 0px 0px 0px;
    height: 75%;
}

.navbar-header {
    display: block;
}
.navbar{
    background-color: rgba(255, 255, 255, 0.8);
}
@media(max-width:768px) {
    .navbar-default .navbar-nav>li>a{
        text-align: center;
    }
}
@media(min-width:768px) {
    .navbar-default .navbar-brand {
        min-height: 41px;
    }
    .navbar-default .navbar-brand img {
        height: 70px;
        top: -10px;
        margin-top: 0;
        position: relative;
    }
    .navbar-header {
        margin-top: 5px;
    }
    .intro {
        height: 100%;
    }


    .navbar-default .nav li a {
        color: #000;
    }

    .top-nav-collapse {
        background-color: rgba(59, 110, 128, 1.0);
    }

    /* DROP DOWN MENU*/
    .nav {
        margin-top: 15px;
        padding: 0 0 0 0;
        margin-bottom: 15px;
    }

    /* first level */
    .nav > li > a {
        color: #fff;
        border-bottom: 5px solid #f7f7f7;
        letter-spacing: -0.2px;
    }
    .nav > li > a span {
        font-size: 12px;
    }
    .navbar-default .nav li a {
        border: 0;
    }

}
.nav > li > a span {
    font-size: 12px;
}
.nav > li > a {
    padding: 7px 15px;
}

@media(min-width:1198px) {
    .nav > li > a span {
        font-size: 16px;
    }
}
.navbar-default .nav li:hover a,
.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus,
.navbar-default .nav li.active,
.navbar-default .nav li a.active  {
    color: #2a3b68;
    outline: 0;
    border: 2px solid #2a3b68;
    border-radius: 25px;
    box-sizing: border-box;
}

.navbar-default .nav li a  {
    color: #2a3b68;
    outline: 0;
    border: 2px solid transparent;
    border-radius: 25px;
    box-sizing: border-box;
    max-height: 40px;
}

/* second level */

#nav li ul
{
    display: none;
    position: absolute;
    top: 100%;
    margin: 0px;
    padding: 0px;
}
#nav li:hover ul
{
    display: block;
    z-index: 10000;
}
#nav li ul li {
    float: none;
    position: relative;
}
#nav li ul li a {
    display: block;
    height: auto;
    padding: 12px 20px 12px 10px;
    font-size: 14px;
    min-width: 160px;
    background: #fff;
    color: #fff;
    border-top: 0px  !important;
}
@media(min-width:768px) {
    #nav li ul li a {
        height: 29px;
        padding: 6px 20px 4px 10px;
        white-space: nowrap;
    }
}
@media only screen and ( max-width: 40em ) /* 640 */
{
    #nav
    {
        position: relative;
    }
    #nav > a
    {
        border: 0px;
    }
    #nav:not( :target) > a:first-of-type,
    #nav:target > a:last-of-type
    {
        display: block;
    }

    /* first level */

    #nav > ul
    {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
    }
    #nav:target > ul
    {
        display: block;
    }
    #nav > ul > li
    {
        width: 100%;
        float: none;
    }

    /* second level */

    #nav li ul
    {
        position: static;
    }
}
/* DROP DOWN MENU*/

/* carousel */
@media(min-width:768px){
    .carousel .carousel-inner img {
        min-height: calc(100vh - 65px);
        overflow: hidden;
        max-width: none;
    }
    .carousel-inner {
        position: relative;
        width: 100%;
        overflow: hidden;
        height: calc(100vh - 65px);
    }
    header{
    margin-bottom: 85px;
}
}


.fill {
    width: 100%;
    height: 100%;
    background-position: center bottom;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.carousel-control.left,
.carousel-control.right {
    background: none;
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

a.banner-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    border: 1px solid #fff;
    padding: 15px;
    text-transform: uppercase;
}
a.banner-button i {
    display: block;
    font-size: 25px;
    margin: 10px 0;
}
.banner-content {
    width: 50%;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    padding: 50px;
    text-align: left;
}
p.banner-text {
    font-size: 40px;
    color: #fff;
}
p.banner-text-big {
    font-size: 60px;
    margin: 0 0 2px;
    color: #fff;
    line-height: 1.3;
    font-family:'Unna', serif!important;
}
/* footer */
footer {
    background: #333;
    margin: 0 auto;
    padding: 40px 0;
    color: #fff;
}

footer p {
    font-size: 14px;
    text-align: left;
    margin: 0px;
    padding: 0px;
    color: #fff;
}
footer a{
    color: #fff;
    display: block;
    font-size: 20px;
    margin-top: 5px;
}
footer .right-bottom a{
    color: #fff;
    display: block;
    font-size: 20px;
    margin-top: 5px;    
}
footer .right-bottom a i {
    transition: 200ms ease;
}
footer .right-bottom a:hover i {
    margin-right: 5px;
}
footer h3 {
    font-size: 25px;
    font-weight: 400;
    margin: 15px 0 10px;
    color: #fff;
}
.column-middle h3:first-child {
    margin-top: 5px;
}
footer .big{
    font-size: 24px;
}
.navbar-header-top p {
    display: none;
}

@media(min-width:768px) {
    .navbar-header-top p {
        color: #fff;
        margin-top: 1px;
        font-size: 18px;
        display: inline-block;
    }
    .navbar-header-top p a {
        display: block;
        margin-left: 20px;
        background: #fff;
        height: 54px;
        margin-top: -20px;
        padding: 18px;
        color: #fff;
        transition: 200ms ease;
    }
    .navbar-header-top p a:hover {
        background: #3f7d3c;
    }
}

.navbar-default .navbar-toggle {
    border-color: #fff;
    color: #fff;
}

.navbar-header-top div a,
.addthis_sharing_toolbox {
    float: right;
}

/*
Tlacitko pro mobil
*/
.navbar-default .navbar-toggle {
    border-color: #fff;
    color: #fff;
    position: absolute;
    right: 0;
    background: #2a3b68;
    border-radius: 50% 0;
    width: 80px;
    height: 72px;
    font-size: 45px;
    top: -10px;
    margin-right: 0;
    border: 0;
    line-height: 0;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #ffd300;
}
/*
SKIN
*/
a.button {
    color: #333;
    font-size: 18px;
    background: #eee;
    padding: 13px 15px;
    display: inline-block;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 0;
    margin-right: 15px;
    position: relative;
    z-index: 3;
    border-radius: 25px;
    transition: 200ms ease;
    opacity: 0.84;
}
a.button:hover {
    opacity: 1;
}
a.button.yelow {
    color: #fff;
    background:#ffd300;
}

.right.links {
    display: none;
}


.relative{position: relative;}
@media (min-width: 992px)
{
    footer .col-md-3:first-child{
        width: 50%;
        min-height: 168px;
    }
    footer .col-md-3:nth-child(2){
        width: 25%;
    }
    footer .col-md-3:nth-child(3){
        width: 25%;
    }
    footer .col-md-3:nth-child(4){
        width: 17%;
    }
}
footer .col-md-3:first-child{
    margin-bottom: 15px;
}
footer .col-md-3:nth-child(2){
    margin-bottom: 15px;
}
footer .col-md-3:nth-child(3){
    margin-bottom: 15px;
}
footer .col-md-3.last{
    display: none;
}

/*
preloader
*/
.spinner {
    margin: 100px auto;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;

    -webkit-animation: sk-rotate 2.0s infinite linear;
    animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: #f1b54b;
    border-radius: 100%;

    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
    top: auto;
    bottom: 0;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate { 100% { -webkit-transform: rotate(360deg) }}
@keyframes sk-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}

@-webkit-keyframes sk-bounce {
    0%, 100% { -webkit-transform: scale(0.0) }
    50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
    0%, 100% { 
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 50% { 
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b2b753;
    /* change if the mask should have another color then white */
    z-index: 999;
    /* makes sure it stays on top */
}

#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    /* centers the loading animation horizontally one the screen */
    top: 50%;
    /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;
    /* is width and height divided by two */
}
/*grad*/
@media screen and (max-width: 992px){ 
    .nav>li>a {
        padding: 10px 15px;
        font-size: 16px;
    }
}
.box {
    margin-bottom: 20px;
    padding: 0;
    border: 13px solid #eee;
    background: #fff;
}
@media screen and (min-width: 992px){ 
    .box.uniq1 {
        margin-left: 90px;
        margin-bottom: 50px
    }
    .box.uniq2 {
        margin-top: 80px;    
    }
    .box.uniq3 {
        margin-right: 50px;
    }

}
.box-inner {
    padding: 35px;
}
.col-lg-12 {
    padding: 0;
}
.container .jumbotron, .container-fluid .jumbotron {
    padding: 20px;
}
.jumbotron{
    background: #fff;
}
.jumbotron img{
    margin-bottom: 30px;
}
.jumbotron p {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    color: #666;
}
.jumbotron a{
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}
@media (min-width: 768px){
    .navbar-nav>li {
        float: left;
        margin: 0 5px;
    }
    div#loopPage4823 {
        height: 80px;
        margin-top: -234px;
        background: #2a3b68;
        padding: 20px 0;
    }
}

.img-box-header-content::after {
    content: "";
    width: 150px;
    height: 150px;
    background: url("img/35.svg") no-repeat center;
    top: 10%;
    right: 10%;
    position: absolute;
    display: inline-block;
}

/*own*/
.img-box-header-content {
    display: block;
    margin: 0 auto;
    margin-top: 15%;
} 

.img-box-header {
    height: 254px;
    display: inline-flex;
    width: 254px;
    margin: 20px;
    background: rgba(0, 0, 0, 0.6);
    transition: 200ms ease;
    max-width: 27%;
}
.img-box-header:hover {
    background: rgba(42, 59, 104, 1);
}
.img-box img{
    margin: 10px auto;    

}
.inner h3 {
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 0 0 5px #fff;
}
.inner:hover h3 {
    text-shadow: 0 0 0 #fff;
}

.inner-box-header {
    width: 100%;
    height: 100%;
    padding: 35px;
}
h2.header{
    font-size: 50px!important;
    line-height: 1;
    margin-top: 30px;
    text-shadow: 0px 0px 5px #fff;
}
h2.header small{
    font-size: 40%;
}


.bottom-part p {
    color: #fff;
    font-size: 27px;
}

.yelow{
    color: #ffd300;
}

.inner-box-header p {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}
.img1 {
    width: 100%;
    height: 125px;
    background: url(img/budova.png) no-repeat center;
    display: inline-flex;
    background-size: contain;
    margin: 14px 0;
}

.img2 {
    width: 100%;
    height: 125px;
    background: url(img/kladivo.png) no-repeat center;
    display: inline-flex;
    background-size: contain;
    margin: 14px 0;
}

.img3 {
    width: 100%;
    height: 125px;
    background: url(img/stroj.png) no-repeat center;
    display: inline-flex;
    background-size: contain;
    margin: 14px 0;
}
div#loopPage4824 {
    text-align: left;
    padding: 60px 0 60px;
}

@media (min-width: 1000px){
    div#loopPage4824 {
        text-align: left;
        background: url(img/pan.jpg) no-repeat right;
        background-size: contain;
        margin-top: 40px;
        background-position: 100%;
    }
}
div#loopPage4824 h2{
    text-align: left;
}

.loopPage4825 p,.loopPage4825 h3  {    
    text-align: left;
}
.loopPage4825 h3  {
    border-bottom: 2px solid #ffd300;
    padding: 15px 0;
}
.loopPage4825 {
    background: url('img/bg.jpg') no-repeat center;
    background-attachment: fixed;
    background-size: cover;
    padding: 60px 0 60px 0;
}
@media (max-width: 768px){
    .loopPage4825 {
        background-size: cover;
    }  
}
.loopPage4825 h2{
    font-size: 36px;
    margin-bottom: 60px;
}
.loopPage4825 *{
    outline: none;
    color: #fff;
}

.loopPage4826 *{
    outline: none;        
}
.loopPage4826 {
    outline: none;    
    padding: 100px 0;
}
.loopPage4826 h2 {
    text-transform: uppercase;
    color: #2a3b68;
    font-weight: 700;
    font-size: 36px;
    margin: 5px 0 80px;
}
footer h2{
    color: #fff;
    font-size: 25px!important;
    font-weight: 500;
    text-align: left;
}

.logo-path {
    margin-bottom: 30px;
}
.social{
    margin-top: 10px;
}
.social a {
    font-size: 30px;
    display: block;
    float: left;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0px 0px 0px 3px rgba(255,255,255,1);
    border-radius: 50%;
    margin: 10px 20px 10px 0;
    transition: 200ms ease;
}
.social a:hover {
    box-shadow: 0px 0px 0px 5px #fff;
}
@media (max-width: 768px){
    .navbar-header-top .social{
        margin-right: 20px;
        position: absolute;
        right: 0;
        top: 0;
    }
    .navbar-header{
        height: 60px;
    }
    .nav>li>a {
    padding: 5px 15px;
    font-size: 16px;
}
h1{
    text-align: center;
}
}

.navbar-header-top .social{
    margin-top: 0px;
}
.navbar-header-top .social a {
    font-size: 24px;
    display: block;
    float: left;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0px 0px 0px 3px #1da1f2;
    border-radius: 50%; 
    margin: 22px 55px 10px 0;
    transition: 200ms ease;
    color: #1da1f2;
}
.navbar-header-top .social a:hover {
    box-shadow: 0px 0px 0px 5px #1da1f2;
}
.navbar-header-top .social a.fb {
    box-shadow: 0px 0px 0px 3px #4867aa;
    color: #4867aa;
    float: right;
}
.navbar-header-top .social a.fb:hover {
    box-shadow: 0px 0px 0px 5px #4867aa;
}
div#partners {
    width: 100%;
    min-height: 50px;
    text-align: center;
    padding: 15px;
    background: #2a3b68;
    color: #fff;
}
.navbar-header-top .social {
    left: 0;
}

.std-margin{
    margin:15px 0;
}

.slick-prev{
    left: -10px!important;
}
.slick-next{
    right: -10px!important;
}

@media(max-width:991px){
    .bottom-part p{
        font-size: 18px;
        margin-top: 8px;
    }
}
p{
    text-align: left;
}
#loopPage4890 {
    padding: 60px 0;
}
.galleryBox .image {
    display: block;
    overflow: hidden;
    border: 1px solid #fff;
    margin-left: -15px;
    margin-right: -15px;
    height: 300px;
    margin: 15px;
}
.galleryBox .image img{
    min-height: 300px;
    max-width: none;
    min-width: 100%;
}

/**REWORK**/
@media(min-width:768px){
    .navbar-header-top {
        height: 80px;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        background: #fff;
    }
    .collapse.navbar-collapse.navbar-right.navbar-main-collapse {
        width: 100%;
        position: absolute;
        left: 0;
        top: 79px;
        background: #2a3b68;
    }
    .navbar-default .nav li a, .navbar-default .nav li a.active, .navbar-default .nav li a:focus{
        color: #fff;
    }
    .navbar-default .nav li a:hover{
        border-color: #fff;
        color: #fff;
    }
}
#map{
    position: absolute!important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.loopPage4916{
    position: relative;
    height: 500px;
}
.form textarea {
    flex-grow: 1;
    padding: 15px;
    margin: 0 15px;
    margin-left: 0;
    min-height: 150px;
    outline: none !important;
    border: 1px solid #eee;
    transition: all 300ms ease-in-out;
}
.form .form-flex {
    display: flex;
    flex-wrap: wrap-reverse;
}
.form .form-flex {
    display: flex;
    flex-wrap: wrap-reverse;
}
.form input {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #eee;
    outline: none;
    margin: 15px;
    margin-top: 0;
    margin-left: 0;
    transition: all 300ms ease-in-out;
}
.form input {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #eee;
    outline: none;
    margin: 15px;
    margin-top: 0;
    margin-left: 0;
    transition: all 300ms ease-in-out;
}
.form button {
    background: #2a3b68;
    border: 0;
    outline: 0;
    width: 160px;
    padding: 15px;
    font-size: 15px;
    text-transform: uppercase;
    color: #eee;
    margin: 15px auto;
}
a.references-box {
    display: block;
    height: 300px;
    border: 5px solid #2a3b68;
    margin: 15px 0;
    background: #eee;
}
span.date {
    font-size: 60px;
    color: #2a3b68;
    display: block;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
    transition: 300ms ease;
}
.references-box:hover span.date {
    font-size: 65px;
    transform: translate(-50%, -50%) rotate(25deg);
}
ul.spec {
    text-align: left;
    font-size: 20px;
    padding: 0 0 30px 0;
}
ul.spec a{
    color: #5c7bcc;
}
ul.spec a:hover{
    color: #333;
}
/**REWORK END**/

/**Cenik**/

div#loopPage4931 {
    padding: 50px 0;
}

.inner{
    position: relative;
    height: 300px;
    padding: 15px;
}
.block:hover .inner:after {
    content: "";
    background: #333 url('img/pdf.png') no-repeat center;
    opacity: 0.5;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: 70px;
}
.block:hover {
    color: #333;
}
.block.one{
    background: url(img/cenik.jpg) no-repeat center;
    background-size: 100%;
}
.block.two{
    background: url(img/cenik.jpg) no-repeat center;
    background-size: 100%;
}
.block.three{
    background: url(img/cenik.jpg) no-repeat center;
    background-size: 100%;
}
.block.four{
    background: url(img/cenik.jpg) no-repeat center;
    background-size: 100%;
}

.block {
    display: block;
    margin: 15px auto;
    transition: 200ms ease;
    cursor: pointer;
}
.block:hover{
    background-size: 105%;
}
div#loopPage4943 {
    height: 400px;
    position: relative;
}


.breaker:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.breaker { display: inline-block; }
/* start commented backslash hack \*/
* html .breaker { height: 1%; }
.breaker { display: block; }

.body-dokumenty .thumbnail{
    height: 240px;
}

/***********************/
.galleryBox {
    position: relative;
}
.backbox {
    width: 50px;
    height: 50px;
    display: block;
    background: url(img/arrow.png) no-repeat center;
    position: absolute;
    right: 25px;
    top: -50px;
    background-size: 100%;
}
.content-section{
    padding: 50px 0;
}
.mechanizace .img-box{
    height: 250px;
}
.mechanizace .slick-dots{
    bottom: -20px;
}
.mechanizace .slick-slider{
    margin-bottom: 50px;
    margin-top: 15px;
}
.mechanizace *{
    outline: none;
}
ul {
    text-align: left;
    font-size: 18px;
    list-style: circle;
    padding-left: 0;
}
.nabidky .jumbotron p {
    font-size: 16px;
    color: #000;
    font-weight: 400;
}
.img-cont img {
    width: 100%;
}

.img-cont {
margin: 30px 0;
    position: relative;

}
/*.img-cont::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(42, 59, 104, 0.0);
    transition: 200ms ease;
    cursor: pointer;
}*/
/*.img-cont:hover::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(42, 59, 104, 0.7);
}*/

a.references-box.zero {
    background: url(/_files/f477/files/hp_galerie/001.jpg) no-repeat center;
}

a.references-box.zero-zero {
    background: url(/_files/f477/files/hp_galerie/jerab.jpg) no-repeat center;
}

iframe{
    width: 100%;
    height: 315px;
    margin-bottom: 50px;
}

.vyskakovaci {
    height: auto;
    max-width: 100%;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    color: white;
    background: #2A3B68;
}

.vyskakovaci p{
    color: #fff;
    text-align: center;
}

.vyskakovaci .button{
    margin-top: 25px;
}

.vyskakovaci  .text-wrapper{
    padding: 2rem;
}

#close {
    border: 2px solid #000;
    padding: 4px 0 0 0;
    color: #000;
    width: 35px;
    height: 35px;
    display: block;
    border-radius: 50%;
    position: absolute;
    top: -18px;
    right: -18px;
    background: #fff;
    cursor: pointer;
}

.popup {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0px;
    left: 0px;
    z-index: 9999;
    display: none;
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px){
    .vyskakovaci > img{
        max-width: 300px;
    }
}

/*.galLoopBox:nth-of-type(6n+1) {
    clear: both;
}*/