/*
Theme Name: Svatba
Theme URI: www.svatbavendaaadam.cz
Description: A Theme for WordPress with Bootstrap for styling.
Author: Addiss
Author URI: a.olsanik@gmail.com
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400,700&display=swap&subset=latin-ext');

body {
    font-family: 'Amatic SC', cursive, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    color: #001A33;
    letter-spacing: .8px;
}

p.lead, p {
    font-size: 1.5rem;
    letter-spacing: .8px;
}

h5.card-title {
    font-size: 1.7rem;
}

.hlavni-c {
    color: #a2a750;
}

.hlavni-b {
    background-color: #a2a750;
}

.seda-c {
    color: #efefef;
}

.seda-b {
    background-color: #efefef;
}

nav {
    background-image: -moz-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    background-image: -webkit-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    background-image: -ms-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
}

nav .navbar-brand {
    color: #001A33 !important;
    font-size: 3rem;
    font-weight: bold;
}

nav .navbar-brand:hover, nav .navbar-brand:focus {
    color: #001A33 !important;
    text-decoration: underline;
}

nav .navbar-nav {
    font-size: 1.8rem;
    font-weight: bold;
}

nav .navbar-nav .menu-item .nav-link.mPS2id-highlight-first {
    color: #001A33;
    text-decoration: underline 2px dotted;
}

nav .navbar-nav .menu-item .nav-link.mPS2id-highlight-first:hover {
    color: #002c57;
}

nav .navbar-nav .menu-item .nav-link.active {
    color: #001A33;
}

nav .navbar-nav .menu-item .nav-link {
    color: #001A33;
}

nav .navbar-nav .menu-item .nav-link:hover {
    color: #002c57;
}

nav .navbar-toggler {
    border-color: #001A33;
}

.carousel-item {
    height: 35vh;
    min-height: 250px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-caption h3, .carousel-caption p {
    font-weight: bold;
    color: #001A33;
    letter-spacing: 0;
}

.carousel-caption p {
    font-size: 1.5rem;
}

#snoubenci img {
    max-width: 60%;
}

footer {
    color: #fff;
    padding: 25px 30px;
    padding-top: 0;
    padding-bottom: 0;
    background: rgb(31, 98, 135);
    background: -moz-radial-gradient(circle, rgba(31, 98, 135, 1) 0%, rgba(42, 58, 81, 1) 100%);
    background: -webkit-radial-gradient(circle, rgba(31, 98, 135, 1) 0%, rgba(42, 58, 81, 1) 100%);
    background: radial-gradient(circle, rgba(31, 98, 135, 1) 0%, rgba(42, 58, 81, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1f6287", endColorstr="#2a3a51", GradientType=1);
    overflow: hidden;
}

footer .footer-image-wrapper {
    height: 0;
    width: 100%;
}

footer .footer-image-wrapper img {
    position: absolute;
}

footer .footer-image-wrapper img#chsoft-kava {
    top: 0;
    right: 35%;
    z-index: 1;
}

footer .footer-image-wrapper img#chsoft-mac {
    top: 0;
    right: -18%;
    z-index: 2;
}

footer .footer-image-wrapper img#chsoft-sesit {
    bottom: 0;
    right: -20%;
    z-index: 1;
}

footer .footer-image-wrapper img#chsoft-iphone {
    bottom: 0;
    right: 8%;
    z-index: 2;
}

footer .title {
    color: #fff;
    font-weight: bolder;
    font-size: 3.5rem;
    text-decoration: none;
    background-image: linear-gradient(to right, rgb(21, 134, 184), rgb(21, 134, 184));
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 267px 6px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    margin-top: 7rem;
}

footer .services {
    font-weight: bolder;
    margin-bottom: 5rem;
}

footer .services span {
    color: rgb(21, 134, 184);
}

footer .bottom {
    padding-bottom: 25px;
}

footer .bottom .chsoft-link {
    color: rgb(21, 134, 184);
    font-weight: bolder;
    position: absolute;
    left: 15px;
}

footer .bottom .created-by {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.302);
    text-decoration: none;
}

@media (max-width: 1200px) {
    footer .footer-image-wrapper img#chsoft-kava {
        top: 0;
        right: 35%;
        z-index: 1;
    }

    footer .footer-image-wrapper img#chsoft-mac {
        top: -100px;
        right: -25%;
        z-index: 2;
    }

    footer .footer-image-wrapper img#chsoft-sesit {
        bottom: 0;
        right: -30%;
        z-index: 1;
    }

    footer .footer-image-wrapper img#chsoft-iphone {
        bottom: 0;
        right: 0;
        z-index: 2;
    }
}

@media (max-width: 992px) {
    footer .footer-image-wrapper img#chsoft-kava {
        top: 0;
        left: -220px;
        right: unset;
        z-index: 1;
    }

    footer .footer-image-wrapper img#chsoft-mac {
        top: -100px;
        right: -350px;
        z-index: 2;
    }

    footer .footer-image-wrapper img#chsoft-sesit {
        bottom: -30px;
        right: -430px;
        z-index: 1;
    }

    footer .footer-image-wrapper img#chsoft-iphone {
        bottom: -100px;
        left: -350px;
        right: unset;
        z-index: 2;
    }

    footer .title {
        font-size: 3rem;
    }

    #snoubenci img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    footer .footer-image-wrapper img#chsoft-mac {
        top: -120px;
        right: -350px;
        z-index: 2;
    }

    footer .footer-image-wrapper img#chsoft-sesit {
        bottom: -80px;
        right: -430px;
        z-index: 1;
    }

    footer .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 460px) {
    footer .footer-image-wrapper img#chsoft-kava {
        top: 0;
        left: -230px;
        right: unset;
        z-index: 1;
    }

    footer .footer-image-wrapper img#chsoft-sesit {
        bottom: -80px;
        right: -450px;
        z-index: 1;
    }

    footer .footer-image-wrapper img#chsoft-iphone {
        bottom: -100px;
        left: -330px;
        right: unset;
        z-index: 2;
    }

    footer .bottom .chsoft-link {
        top: -70px;
    }
}

@media (max-width: 410px) {
    footer .footer-image-wrapper img#chsoft-mac {
        top: -120px;
        right: -450px;
        z-index: 2;
    }

    footer .footer-image-wrapper img#chsoft-sesit {
        bottom: -80px;
        right: -500px;
        z-index: 1;
    }
}

.btn-primary {
    color: #ffffff;
    background-color: #a2a750;
    border-color: #696c34;
    font-weight: bold;
    font-size: 1.3rem;
    outline: none;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #696c34 !important;
    border-color: #696c34 !important;
    outline: none;
}

.btn-primary:focus, .btn-primary:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(162, 167, 80, .5);
    border-color: rgba(162, 167, 80, .5);
    outline: none;
}

#alertBell {
    opacity: 0.8;
    text-align: center;
    right: 20px;
    bottom: 20px;
    display: block;
    position: fixed;
    cursor: pointer;
    z-index: 9999;
    height: 64px;
    width: 64px;
    border-radius: 50%;
    background-image: -moz-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    background-image: -webkit-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    background-image: -ms-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    transition: bottom .5s ease-in-out;
}

#alertBell img {
    margin-top: 16px;
    height: 32px;
    width: 32px;
}

#upozorneniModal .modal-content .modal-header {
    background-image: -moz-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    background-image: -webkit-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
    background-image: -ms-linear-gradient(0deg, #a2a750 0%, #696c34 100%);
}

#upozorneniModal .modal-content .modal-header .modal-title {
    font-size: 2rem;
    margin: 0 auto;
    color: #fff;
}

#upozorneniModal .modal-content .modal-header .close {
    font-size: 3rem;
    padding: 1rem;
    margin: -1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
}

#upozorneniModal .modal-content .modal-body {
    font-size: 1.6rem !important;
}

#upozorneniModal .modal-content .modal-footer {
    justify-content: center;
}

#upozorneniModal .modal-content .modal-footer .btn {
    font-size: 1.6rem;
    min-width: 60px;
}

/** timeline **/
.main-timeline {
    padding: 50px 0 0;
    position: relative;
}

.main-timeline:before {
    content: '';
    background-color: #fff;
    height: 100%;
    width: 60%;
    box-shadow: 0 0 10px #333;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 10px;
}

.main-timeline .timeline {
    margin: -42px 0 0 0;
    position: relative;
    z-index: 1;
}

.main-timeline .timeline:before {
    content: '';
    border: 20px solid #a2a750;
    height: 90%;
    width: 50%;
    border-radius: 100px;
    position: absolute;
    left: 12%;
    top: 22px;
    z-index: -1;
}

.main-timeline .timeline:last-child:before {
    display: none;
}

.main-timeline .timeline-content {
    background-color: #fff;
    text-align: center;
    width: 60%;
    padding: 10px 15px 60px;
    margin: 0 auto;
    display: block;
}

.main-timeline .timeline-content:hover {
    text-decoration: none;
}

.main-timeline .timeline-year {
    color: #a2a750;
    font-size: 2.3rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.main-timeline .title {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.main-timeline .title:after {
    content: '';
    background-color: #a2a750;
    height: 3px;
    width: 60px;
    margin: 12px auto;
    display: block;
}

.main-timeline .timeline:nth-child(even):before {
    left: auto;
    right: 12%;
}

/*.main-timeline .timeline:nth-child(4n+2):before{ border-color: #FF503B; }*/
/*.main-timeline .timeline:nth-child(4n+2) .timeline-year{ color: #FF503B; }*/
/*.main-timeline .timeline:nth-child(4n+2) .title:after{ background-color: #FF503B; }*/
/*.main-timeline .timeline:nth-child(4n+3):before{ border-color: #009CE6; }*/
/*.main-timeline .timeline:nth-child(4n+3) .timeline-year{ color: #009CE6; }*/
/*.main-timeline .timeline:nth-child(4n+3) .title:after{ background-color: #009CE6; }*/
/*.main-timeline .timeline:nth-child(4n+4):before{ border-color: #B160BD; }*/
/*.main-timeline .timeline:nth-child(4n+4) .timeline-year{ color: #B160BD; }*/
/*.main-timeline .timeline:nth-child(4n+4) .title:after{ background-color: #B160BD; }*/
@media only screen and (max-width: 990px) {
    .main-timeline .timeline:before {
        left: 5%;
        border-radius: 120px;
    }

    .main-timeline .timeline:nth-child(even):before {
        right: 5%;
    }

    .carousel-item {
        height: 45vh;
    }
}

@media only screen and (max-width: 576px) {
    .main-timeline:before {
        width: 85%;
    }

    .main-timeline .timeline {
        margin: -38px 0 0 0;
    }

    .main-timeline .timeline:before {
        border-width: 8px;
        border-radius: 0;
        left: 0;
    }

    .main-timeline .timeline:nth-child(even):before {
        right: 0;
    }

    .main-timeline .timeline-content {
        width: 85%;
    }

    .carousel-item {
        height: 50vh;
        text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    }

    .carousel-caption {
        right: 1%;
        left: 1%;
    }
}

@media only screen and (max-height: 600px) {
    .carousel-caption {
        bottom: 5px;
    }
}
/** timeline end **/
