/**
 * Globals
 * ======================================== */

html {
    height: 100%;
}

body {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    body {
        font-size: 1.0625rem;
    } 
}

.container-fluid {
    height: 100%;
    z-index: 2;
}

.row {
    height: 100%;
    flex-wrap: wrap;
    flex-direction: row;
}

.col {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
}

a {
    -webkit-transition: all 0.5s ease;
       -moz-transition: all 0.5s ease;
         -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
            transition: all 0.5s ease;
}


/**
 * Motive
 * ======================================== */

.motive {
    background-image: url(/obrazek/3/format-9-motiv-127-cerna/);
    background-size: cover;
    min-height: 30vmax;
}

@media (min-width: 992px) {
   .motive {
        flex: 1 1 100%;
        min-height: 40vh;
    }
}


/**
 * Perex
 * ======================================== */

.perex {
    background-color: #fff;
    color: #151515;
}

@media (min-width: 992px) {
    .perex {
        justify-content: flex-end;
        flex: 1 1 60%;
        padding-left: 3rem;
    }
}

@media (min-width: 1600px) {
    .perex {
        padding-left: 5rem;
    }
}

@media (min-width: 768px) {
    .perex > .content > .preview-mode:first-of-type {
        float: left;
        z-index: 10;
    }
}

.content {
    position: relative;
    padding: 3rem clamp(1rem, calc(.5rem + 3vw), 3rem);
    flex: 1 1 100%;
}

.content h1,
.content .h1 {
    margin-bottom: .5em;
    color: #8C8C8C;
    font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
    .content h1,
    .content .h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .content h1,
    .content .h1,
    .content p {
        max-width: 50em;
    }
}

.content p strong {
    font-weight: 700;
}

.logo {
    display: block;
    margin: 0 auto 2rem;
    max-height: 320px;
    max-width: 320px;
    width: auto;
    max-width: 100%;
}

@media (min-width: 768px) {
    .content {
        position: relative;
        padding: 5rem 1rem;
    }
    .logo {
        margin: 0;
        float: left;
        margin-right: 1.5rem;
        margin-bottom: 1.5rem;
        max-height: 300px;
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .logo {
        max-height: 220px;
        max-width: 220px;
    }
}

@media (min-width: 1400px) {
    .content {
        padding: 5rem 2rem;
    }
}


/**
 * Contact
 * ======================================== */

.contact {
    flex-direction: column;
    background-color: #151515;
    color: #eaeaea;
    border: 0;
    border-top: 5px solid #8C8C8C;
}

@media (min-width: 992px) {
    .contact {
        flex: 1 1 40%;
        padding-right: 3rem;
        border: 0;
        border-left: 5px solid #8C8C8C;
    }
}

@media (min-width: 1600px) {
    .contact {
        padding-right: 5rem;
    }
}

.contact a {
    color: #eaeaea;
    text-decoration: none;
}

.contact a:hover {
    color: #bbb;
}

.list-address {
    padding-left: 2.5rem;
}

.list-address i {
    margin-left: -2.5rem;
    margin-right: .5em;
    width: 2rem;
    color: #bbb;
    text-align: center;
}


/**
 * Social links
 * ======================================== */

.social-site-icon {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 0;
}

.social-site-icon li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
}

.social-site-icon li a {
    background-color: #555;
    font-size: 1rem; /* fallback */
    font-size: clamp(.875rem, calc(.5rem + 2vw), 1.125rem);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem; /* fallback */
    height: clamp(2.25rem, calc(1rem + 3vw), 2.75rem);
    width: 2rem; /* fallback */
    width: clamp(2.25rem, calc(1rem + 3vw), 2.75rem);
    border-radius: 50%;
}

.social-site-icon li a:hover {
    color: #191919;
    background-color: #eaeaea;
}


/**
 * Powered by inPage
 * ======================================== */

.poweredby {
    color: #aaa;
    text-align: left;
    padding-left: clamp(1rem, calc(.5rem + 3vw), 3rem);
    padding-right: clamp(1rem, calc(.5rem + 3vw), 3rem);
}

.poweredby a {
    color: inherit;
}

.poweredby a:hover,
.poweredby a:focus {
    color: #fff;
}


/**
 * Fix
 * ======================================== */

#imp {
    height: 0;
    line-height: 0;
    font-size: 0;
    margin-top: -5px;
}/* Modra */

.perex {
    background-color: #fff;
}

.contact {
    background-color: #3b59d5;
    color: #fff;
    border-color: #d8e0ff;
}

.contact a {
    color: #fff;
}

.contact a:hover {
    color: #d8e0ff;
}

.content h1,
.content .h1 {
    color: #3b59d5;
}

.list-address i {
    color: #d8e0ff;
}

.social-site-icon li a {
    color: #3b59d5;
    background-color: #d8e0ff;
}

.social-site-icon li a:hover {
    color: #2a49c6;
    background-color: #fff;
}

.poweredby {
    color: #d8e0ff;
}

.poweredby a {
    color: inherit;
}

.poweredby a:hover,
.poweredby a:focus {
    color: #fff;
}