html {
    font-size: 12pt;
}

.text-medium {
    font-size: 110%;
}

body {
    color: #37517e;
}

a {
    color: #37517e;
}

a:hover {
    color: #47b2e4;
    text-decoration: none;
}

a.text-primary:focus,
a.text-primary:hover {
    color: #37517e!important;
}

a.text-white:focus,
a.text-white:hover {
    color: #47b2e4!important;
}

h2 {
    font-size: 1.75rem;
    font-weight: bold;
}

div.h2-after {
    position: relative;
    width: 80px;
    height: 2px;
    border-bottom: 1px solid rgba(55,81,126, 0.15);
    margin: 0px;
}

div.h2-after > div {
    position: relative;
    width: 40px;
    height: 3px;
    background: #47b2e4;
    margin: 0px;
}

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

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.hr-left {
    position: relative;
    width: 60px;
    height: 2px;
    border-bottom: 1px solid rgba(55,81,126, 0.15);
    margin: auto;
    margin-left: 0px;
    clear: both;
}

footer .hr-left {
    border-color: white;
}

.hr-right {
    position: relative;
    width: 60px;
    height: 2px;
    border-bottom: 1px solid rgba(55,81,126, 0.15);
    margin: auto;
    margin-right: 0px;
    clear: both;
}

footer .hr-right {
    border-color: white;
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: calc(540px - 30px);
    }
}

@media (min-width: 768px){
    .container, .container-md, .container-sm {
        max-width: calc(720px - 30px);
    }
}

@media (min-width: 992px){
    .container, .container-lg, .container-md, .container-sm {
        max-width: calc(960px - 30px);
    }
}

@media (min-width: 1200px){
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: calc(1140px - 30px);
    }
}

@media (min-width: 1500px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1440px;
    }
}

.btn.btn-simple {
    color: #37517e;
}

.btn.btn-simple:hover {
    color: #47b2e4;
}

.navbar {
    min-height: 72px;
    padding-left: 0px;
    padding-right: 0px;
    background: transparent url('../img/brand-logo.webp') left 20px no-repeat;
}

.navbar-light .navbar-brand {
    min-height: 56px;
    padding: 11px 0px 11px 70px;
    font-size: 1.45rem;
    font-weight: 600;
    color: rgb(55,81,126);
}

.navbar-light .navbar-brand:focus, .navbar-light .navbar-brand:hover {
    color: rgb(55,81,126);
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    font-size: 1rem;
    color: rgb(55,81,126);
    padding: 1rem 0.75rem;
    font-weight: 400;
}

.navbar-light .navbar-nav .font-weight-bold .nav-link {
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: rgb(71,178,228);
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: rgb(55,81,126);
}

.navbar-light .navbar-nav .active > .nav-link span::after,
.navbar-light .navbar-nav .nav-link.active span::after {
    content: "";
    position: absolute;
    left: 0rem;
    bottom: -0.25rem;
    height: 2px;
    width: 15px;
    background-color: rgb(71,178,228);
}

.bg-whbl {
    background-color: #f3f5fa;
}

.bg-whbl-covered-right {
    background: #f3f5fa url('../img/theme-bg-right.webp') no-repeat;
    background-position: right -600px bottom;
    background-size: contain;
}

@media (min-width: 992px) {
    .bg-whbl-covered-right {
        background-position: right -350px top 50px;
    }
}
@media (min-width: 1200px) {
    .bg-whbl-covered-right {
        background-position: right -250px top 50px;
    }
}
@media (min-width: 1500px) {
    .bg-whbl-covered-right {
        background-position: right -100px center;
    }
}

.bg-whbl-covered-right-rev {
    background: #f3f5fa url('../img/theme-bg-right-rev.webp') no-repeat;
    background-position: right -600px top;
    background-size: contain;
}

@media (min-width: 992px) {
    .bg-whbl-covered-right-rev {
        background-position: right -650px top -50px;
    }
}
@media (min-width: 1200px) {
    .bg-whbl-covered-right-rev {
        background-position: right -450px top -200px;
    }
}
@media (min-width: 1500px) {
    .bg-whbl-covered-right-rev {
        background-position: right -350px top -150px;
    }
}

.bg-whbl-covered-left {
    background: #f3f5fa url('../img/theme-bg-left.webp') no-repeat;
    background-position: left -600px top;
    background-size: contain;
}

@media (min-width: 992px) {
    .bg-whbl-covered-left {
        background-position: left -350px top;
    }
}
@media (min-width: 1200px) {
    .bg-whbl-covered-left {
        background-position: left -300px top;
    }
}
@media (min-width: 1500px) {
    .bg-whbl-covered-left {
        background-position: left -150px center;
    }
}

.bg-whbl-covered-left-rev {
    background: #f3f5fa url('../img/theme-bg-left-rev.webp') no-repeat;
    background-position: left -600px bottom;
    background-size: contain;
}

@media (min-width: 992px) {
    .bg-whbl-covered-left-rev {
        background-position: left -350px top 50px;
    }
}
@media (min-width: 1200px) {
    .bg-whbl-covered-left-rev {
        background-position: left -250px top 50px;
    }
}
@media (min-width: 1500px) {
    .bg-whbl-covered-left-rev {
        background-position: left -100px center;
    }
}

.bg-whbl-bordered {
    border-top: 2px solid rgba(55,81,126, 0.05);
    border-bottom: 2px solid rgba(55,81,126, 0.05);
}

@media (min-width: 768px) {
    .bg-whbl-bordered {
        border: 1px solid rgba(55,81,126, 0.075);
    }
}

.bg-white-bordered {
    border: 1px solid rgba(55,81,126, 0.15);
}

.bg-bl {
    background-color: #47b2e4;
}

.bg-drbl {
    background-color: rgb(55,81,126);
}

.bg-drbl-bordered {
    border: 1px solid rgb(215,220,229);
}

@media (min-width: 768px) {
    .image-box .bg-drbl {
        margin-right: 30px;
    }
}

.image-box .image-box-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background-position: center top;
    background-size: cover;
    opacity: 0.9;
}

.image-box .image-box-image:hover {
    opacity: 1;
}

.image-box .image-box-desc {
    position: relative;
}

@media (min-width: 768px) {
    .image-box .image-box-desc {
        position: relative;
        margin: -150px 0px 0px 30px;
    }
}

.reference-logo {
    position: relative;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.reference-logo:hover {
    opacity: 1;
}

.reference-logo > div {
    position: relative;
    min-height: 100px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.reference-logo > div:hover {
    opacity: 0;
}

.text-primary {
    color: #47b2e4!important;
}

.text-drbl {
    color: rgb(55,81,126)!important;
}

.navbar-light .navbar-nav .text-primary .nav-link {
    color: #47b2e4!important;
}

.btn-primary {
    color: #fff;
    background-color: #47b2e4;
    border-color: #47b2e4;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:hover {
    background-color: #209dd8;
    background-color: rgb(55,81,126);
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:focus {
    background-color: #47b2e4;
    background-color: rgb(55,81,126);
    box-shadow: 0 0 0 0.2rem rgba(55,81,126,.25);
}

.header-cover-photo {
    background: rgb(55,81,126) url('../img/cover.webp') center center no-repeat;
}

.header-cover {
    background: rgb(55,81,126) url('../img/cover-empty.webp') center center no-repeat;
}

.header-cover-photo h1 {
    font-size: 3rem;
    display: none;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.75);
}

.header-cover h1 {
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.75);
}

.header-cover-photo p.lead {
    font-size: 1.6rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.75);
}

.header-cover p.lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.75);
}

.header-cover-photo p.lead strong,
.header-cover p.lead strong {
    font-weight: 700;
}

p.lead strong {
    font-weight: 600;
}

.btn-cover {
    position: relative;
    font-size: 1.25rem;
    margin-top: 0px;
    margin-bottom: -45px;
    z-index: 999;
}

@media (min-width: 768px) {
    .header-cover {
        height: 1px;
        min-height: 550px;
    }

    .header-cover-sm {
        min-height: 250px;
    }

    .header-cover-noh {
        height: auto;
        min-height: 1px;
    }

    .header-cover-photo {
        height: calc(100vh - 140px);
        min-height: 550px;
    }

    .header-cover-photo h1 {
        display: block;
    }

    .header-cover-photo p.lead {
        font-size: 1.8rem;
    }

    .btn-cover {
        font-size: 18pt;
        margin-top: -45px;
        margin-bottom: 0px;
    }
}

a.link-onlineblk:hover {
    text-decoration: none;
}

@keyframes onlineblk {
    0%   {
        opacity: 1;
    }
    15%   {
        opacity: 0;
    }
    50%   {
        opacity: 0;
    }
    65%   {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.onlineblk {
    animation: onlineblk 2s ease infinite;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    animation-delay: 4s;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

footer {
    background-color: rgb(55,81,126);
    padding-bottom: 100px;
}

footer p.lead {
    font-size: 1.2rem;
}

footer .btn-outline-light:hover {
    color: rgb(55,81,126);
}

footer .btn-outline-light:not(:disabled):not(.disabled).active,
footer .btn-outline-light:not(:disabled):not(.disabled):active,
footer .show>.btn-outline-light.dropdown-toggle {
    color: rgb(55,81,126);
}

footer a.text-white {

}

footer a.text-white:focus,
footer a.text-white:hover {
    text-decoration: none;
}

footer a.napsal-link {
    color: #bbc4d5;
}

footer a.napsal-link strong {
    font-weight: 400;
}

footer a.napsal-link.napsal-link-item:last-child strong::after {
    display: none;
}

footer a.napsal-link:focus,
footer a.napsal-link:hover {
    text-decoration: none;
    color: #47b2e4;
}

.logo {
    height: 72px;
    background: transparent url('../img/logo.webp') left 20px no-repeat;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left!important;
    display: inline-block;
}

.logo-dark {
    background: transparent url('../img/brand-logo.webp') left 20px no-repeat;
}

.logo > div {
    height: 56px;
    padding: 11px 0px 11px 70px;
    font-size: 1.45rem;
    font-weight: 600;
}

div.list-box {
    background-color: #47b2e4;
    color: white;
    margin-top: -6.5rem!important;
}

@media (min-width: 768px) {
    div.list-box {
        margin-top: -11.5rem!important;
    }
}
@media (min-width: 1500px) {
    div.list-box {
        padding: 3rem!important;
    }
}

div.napsal-posts {
    margin-top: -7rem;
}

@media (min-width: 768px) {
    div.napsal-posts {
        margin-top: -11rem;
    }
}

div.napsal-post {
    position: relative;
    min-height: 700px;
    padding: 5rem 0rem;
}

@media (min-width: 768px) {
    div.napsal-post {
        margin-top: calc(-630px - 3rem);
        padding: 12rem 3rem 5rem 3rem;
        box-shadow: 0 0 0 0.1rem rgba(55,81,126,.1);
        background-color: white;
    }
}
@media (min-width: 992px) {
    div.napsal-post {
        padding: 9rem 7rem 5rem 7rem;
    }
}
@media (min-width: 1500px) {
    div.napsal-post {
        margin-left: 5rem;
        margin-right: 5rem;
        padding: 9rem 9rem 5rem 9rem;
    }
}

div.napsal-post a.underlined {
    text-decoration: underline;
}

div.img-box {
    position: relative;
    z-index: 999;
    margin-top: -7rem;
    bottom: -7rem;
}

div.img-box > img {
    position: relative;
    top: -0.5rem;
    left: -0.5rem;
}

@media (min-width: 992px) {
    div.img-box {
        bottom: 0rem;
        margin-top: 0rem;
    }
}
@media (min-width: 1200px) {
    div.img-box {
        bottom: -15.5rem;
    }
}
@media (min-width: 1500px) {
    div.img-box {
        bottom: -11.5rem;
    }
}

.number {
    position: relative;
    display: inline-block;
    font-weight: 800;
    font-size: 15rem;
    line-height: 1;
    opacity: 0.15;
    margin: 0px;
    vertical-align: middle;
}

.number .fa-check-double {
    font-size: 15rem;
}

.number-left {
    margin-left: 5rem;
    margin-top: -2rem;
}

.number-right {
    color: #47b2e4;
    margin-left: 5rem;
    margin-top: -2rem;
}

label.label-optional:after {
    content: " (nepovinný)";
    font-style: italic;
    font-size: small;
    color: rgba(55,81,126,0.7);
}

.page-link {
    color: #47b2e4;
}

.page-item.active .page-link {
    background-color: #47b2e4;
    border-color: #47b2e4;
}

.page-link:hover {
    color: #47b2e4;
}


