@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f6f6f6;
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

body.fixed {
    position: fixed;
    height: 100%;
}

.blue-btn {
    padding: 10px;
    border: 2px solid #0A4EBD;
    font-size: 17px;
    width: 150px;
    text-align: center;
    color: #0A4EBD;
    text-decoration: none;
    cursor: pointer;
    margin: 10px auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blue-btn:hover {
    background-color: #0A4EBD;
    color: white;
}

.page-title {
    position: fixed;
    top: 0px;
    text-align: center;
    width: 100%;
    height: 30px;
    padding: 5px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 4;
}

.page-title a {
    text-align: right;
    color: #0A4EBD;
    text-decoration: none;
    margin-right: 15px;
}

nav {
    position: absolute;
    top: 30px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 60px;
    left: 0px;
    right: 0px;
    z-index: 3;
}

nav.active {
    -webkit-box-shadow: 0px 10px 8px -10px #ddd;
    -moz-box-shadow: 0px 10px 8px -10px #ddd;
    box-shadow: 0px 10px 8px -10px #ddd;
}

nav .logo {
    letter-spacing: -1px;
    margin-top: 18px;
}

nav .logo img {
    max-width: 160px;
    height: auto;
}

nav .nav-items {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 0 0 20px;
}

nav .nav-items li {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0 10px;
}

nav .nav-items li a {
    color: #0A4EBD;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px;
}

nav .menu-icon,
nav .cancel-icon {
    width: 40px;
    text-align: center;
    margin-top: 18px;
    font-size: 21px;
    color: #0A4EBD;
    cursor: pointer;
    display: none;
}

nav .menu-icon span,
nav .cancel-icon {
    display: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 85px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 10%);
    min-width: 400px;
    max-width: 500px;
    border-radius: 8px;
}

.dropdown-menu a {
    color: #0A4EBD;
    padding: 10px;
    text-decoration: none;
    display: block;
    font-size: 17px !important;
    font-weight: 500;
    margin: 5px;
}

.dropdown-menu a:hover {
    background-color: #f3f3f3;
    color: #0A4EBD;
    border-radius: 8px;
}

.dropdown-btn {
    color: #0A4EBD;
    font-size: 18px;
    cursor: pointer;
}

.nav-slogan {
    display: inline-block;
}

.nav-slogan img {
    max-height: 70px;
    width: auto;
    margin-top: 10px;
}

/******************************************/

main {
    margin-top: 130px;
}

header {
    background:
        linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.7)),
        url(https://www.klimamontkopelent.cz/images/hvac.jpg);
    background-size: cover;
    height: 700px;
    z-index: 2;
}

.welcome-page-wrapper {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.welcome-page-wrapper h1 {
    text-transform: uppercase;
    font-size: 2.5rem;
}

.welcome-page-wrapper p {
    margin-left: -35px;
    margin-right: -35px;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.welcome-page-wrapper a {
    font-size: 20px;
    font-weight: 550;
    text-decoration: none;
    padding: 10px 20px;
    color: #EABC02;
    border: 4px solid #EABC02;
    bottom: 5px;
    border-radius: 8px;
}

.welcome-page-wrapper a:hover {
    background-color: #EABC02;
    color: white;
}

.about-wrapper {
    background:
        linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)),
        url(https://www.klimamontkopelent.cz/images/hvac.jpg);
    background-size: cover;
    height: 300px;
    margin-top: 130px;
    position: relative;
    z-index: 2;
}

.welcome-page-wrapper-head {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.welcome-page-wrapper-head h1 {
    text-transform: uppercase;
    font-size: 2rem;
}

.services-title {
    width: 100%;
    color: #0A4EBD;
    margin-top: 50px;
    text-align: center;
}

.services-title h2 {
    font-size: 28px;
    font-weight: 600;
}

.services-wrapper {
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1300px;
    margin-bottom: 100px;
}

.service-card {
    position: relative;
    z-index: 2;
    flex: 20%;
    background-color: #fff;
    border-radius: 50%;
    color: #0A4EBD;
    max-width: 180px;
    height: 180px;
    text-align: center;
    margin: 0 auto;
    transition: 0.6s all ease;
}

@media (max-width: 1150px) {
    .service-card {
        flex-direction: column;
        flex: 100%;
        margin: 20px auto;
        flex-wrap: wrap;
    }
}

.service-card a {
    text-decoration: none;
    color: #0A4EBD;
}

.service-card-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
}

.service-card-content i {
    font-size: 25px;
}

.service-card-content h3 {
    margin-top: 5px;
}

#angle-right {
    margin-top: 80px;
    color: #0A4EBD;
    font-size: 20px;
}

#angle-down {
    color: #0A4EBD;
    font-size: 20px;
}

.service-btn {
    display: block;
    width: 100%;
    text-align: center;
}

.map-wrapper {
    background-color: white;
    width: 100%;
    margin-bottom: -60px;
}

.map-title {
    display: block;
    width: 100%;
    color: #0A4EBD;
    margin-top: 50px;
    text-align: center;
    padding: 20px;
}

.map-title h2 {
    margin-top: 30px;
}

.maps {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1500px;
    margin: 18px auto;
    margin-top: 10px;
    background-color: white;
}

.mainmap {
    flex: 33.33%;
    background-color: white;
    padding: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.mainmap p {
    padding: 10px;
}

.mainmap:last-child {
    margin-bottom: 50px;
}

.mainmap-content {
    border-radius: 5px;
    border: 1px solid #ccc;
    text-indent: 8px;
    text-align: center;
}

/******************************************/

.page-wrapper {
    margin-top: 30px;
}

.page-wrapper h2 {
    display: block;
    width: 100%;
    text-align: center;
    color: #0A4EBD;
    font-weight: 600;
    padding-top: 40px;
}

.page-flex-cards {
    display: block;
    width: 100%;
    max-width: 1500px;
    margin: 5px auto;
    padding: 20px;
}

.flex-row {
    margin-top: 25px;
    background-color: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 25px;
}

.flex-row-item {
    width: 100%;
    max-width: 450px;
    text-align: center;
    height: 360px;
    border-radius: 15px;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 1px 8px 0px;
}

.flex-row-item h3 {
    padding: 15px;
    font-weight: 600;
}

.flex-row-item a {
    color: white;
    text-decoration: none;
}

.flex-row-item img {
    border-radius: 15px 15px 0px 0px;
    width: 100%;
    max-width: 450px;
    height: 200px;
    object-fit: cover;
}

.reference-item {
    height: unset;
    position: relative;
}

.caption {
    padding: 10px;
}

.important {
    display: block;
    position: absolute;
    top: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 14px 0;
    background: gold;
    text-align: center;
}

.important-large {
    display: block;
    position: absolute;
    top: -25px;
    left: -25px;
    width: 97px;
    height: 95px;
    border-radius: 50%;
    padding: 15px 0;
    background: gold;
    text-align: center;
}

.important p,
.important-large p {
    font-size: 11px;
    font-weight: 500;
}

.important-hidden {
    display: none;
}

.reference-item h3 {
    color: black;
}

.reference-item img {
    display: block;
    border-radius: 0;
    cursor: zoom-in;
}

.reference-item p {
    padding: 10px;
}

.reference-item p:last-child {
    padding-bottom: 20px;
}

.reference-title {
    margin-top: 40px;
    width: 100%;
}

.reference-title p {
    text-align: center;
}

.reference-title a {
    color: #0A4EBD;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1170px;
    margin: 15px auto;
}

.service-left-img {
    display: flex;
}

.service-right-text {
    flex: 50%;
}

.service-left-img img {
    height: auto;
    max-width: 500px;
    width: 100%;
    border-radius: 10px 0 0 10px;
}

.service-right-text {
    background-color: white;
    border-radius: 0 10px 10px 0;
}

.service-right-text ul {
    padding: 10px;
    margin-bottom: 10px;
}

.service-right-text li {
    padding: 5px;
    margin-left: 35px;
}

.service-right-text p {
    padding: 15px;
}

.product-item {
    height: auto;
}

.product-item h3 {
    border-top: 1px solid #ddd;
    color: black;
}

.page-change {
    display: flex;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
}

.next-page,
.prev-page {
    width: 50%;
    margin-bottom: 20px;
}

.prev-page a,
.next-page a {
    display: block;
    padding: 15px;
    border: 3px solid #0A4EBD;
    font-size: 18px;
    width: 220px;
    text-align: center;
    color: #0A4EBD;
    cursor: pointer;
    margin: 0 auto;
    border-radius: 5px;
    text-decoration: none;
}

.prev-page a:hover,
.next-page a:hover {
    background-color: #0A4EBD;
    color: white;
}

.info-wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.klimamontkopelent.cz/images/career.jpg);
    background-size: cover;
    height: 300px;
    margin-top: 130px;
    position: relative;
    z-index: 2;
}

.info-page-wrapper {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.info-page-wrapper h1 {
    text-transform: uppercase;
    font-size: 2rem;
}

.career-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.career-wrapper.detail {
    max-width: 700px;
}

.career-card {
    display: block;
    text-align: left;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    margin: 20px;
}

.career-wrapper.detail .career-card {
    padding: 20px;
}

.career-card h2 {
    padding: 10px;
    color: #0A4EBD;
    font-weight: 600;
}

.career-wrapper.detail .career-card h3 {
    padding: 15px 0;
    border-top: 1px solid #ccc;
    margin-top: 8px;
}

.career-wrapper.detail .career-card h3:first-child {
    border-top: none;
    margin-top: 0;
}

.career-card p {
    padding: 10px;
}

.career-card i {
    font-size: 32px;
    color: #0A4EBD;
}

.career-wrapper.detail i {
    font-size: 20px;
    margin-right: 7px;
}

.career-card .blue-btn {
    display: block;
    margin: unset;
    margin: 10px;
}

.contact-head-wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.klimamontkopelent.cz/images/kontakt.jpg);
    background-size: cover;
    height: 300px;
    margin-top: 130px;
    position: relative;
    z-index: 2;
}

.contact-head {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.contact-head h1 {
    text-transform: uppercase;
    font-size: 2rem;
}

.contact {
    background-color: white;
    max-width: 1400px;
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
}

.contact .flex-row {
    width: 100%;
    margin-top: 0;
    border-bottom: 2px solid #ddd;
    justify-content: left;
}

.contact .flex-row:last-child {
    border-bottom: none;
}

.contact .flex-row .contact-box {
    padding: 20px;
    width: 50%;
}

.contact .flex-row .contact-box h3,
.contact .flex-row .contact-box p {
    padding: 10px;
}

.contact .flex-row .contact-box i,
.contact .flex-row .contact-box a {
    color: #0A4EBD;
}

.info-card {
    background-color: white;
    max-width: 700px;
    padding: 20px;
    border-radius: 10px;
}

.info-card p {
    padding: 10px;
}

.info-card i {
    color: #0A4EBD;
}

.terms {
    background-color: white;
    max-width: 700px;
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    padding: 20px;
}

.terms .flex-row {
    justify-content: left;
}

.terms-box p,
.terms-box h3 {
    padding: 10px;
    text-align: left;
}

.notfound {
    margin-top: 40px;
    text-align: center;
}

.notfound h2 {
    font-size: 80px;
}

.notfound h3 {
    font-size: 50px;
}

.notfound .blue-btn {
    display: block;
    margin-top: 20px;
}

/******************************************/

.footer {
    padding: 40px 10px;
    background-color: #eeeeee;
    text-align: center;
    position: relative;
    z-index: 2;
    bottom: 0;
    left: 0;
    color: #6d7579;
    width: 100%;
    margin-top: 60px;
    border-top: 10px solid #0A4EBD;
}

.footer a {
    color: #6d7579;
}

.footer a:hover {
    text-decoration: none;
    color: #6d7579;
}

.footer-wrapper {
    margin-left: 5px;
    padding: 3px 0px;
}

.footer-wrapper a,
.footer-wrapper p {
    display: block;
    padding: 10px 5px;
}

.footer-links {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.page-overlay {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: rgba(0, 0, 0, 0.5);
}

.image-modal-wrapper {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: 100;
    border-radius: 10px;
}

.close-modal {
    width: 100%;
    cursor: pointer;
    text-align: right;
}

.close-modal i {
    padding: 10px 20px;
    font-size: 20px;
}

.image-modal-wrapper img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
}

#caption {
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 1554px) {
    header {
        background:
            linear-gradient(rgba(0, 0, 0, 0.4),
                rgba(0, 0, 0, 0.7)),
            url(https://www.klimamontkopelent.cz/images/hvac.jpg);
        background-size: cover;
        height: 550px;
    }

    .welcome-page-wrapper h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1284px) {
    .nav-slogan {
        display: none;
    }

    .mainmap {
        flex-direction: column;
        margin-top: 0px;
        flex: 100%;
    }

}

@media (max-width: 1390px) {
    .important {
        top: -40px;
        left: -20px;
        width: 70px;
        height: 70px;
    }

    .important-large {
        top: -25px;
        left: -25px;
        width: 87px;
        height: 85px;
    }

    .important p,
    .important-large p {
        font-size: 9px;
        font-weight: 500;
    }
}

@media screen and (max-width: 1270px) {
    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 17px;
    }

    p,
    a {
        font-size: 15px;
    }
}

@media screen and (max-width: 1200px) {
    .footer {
        margin-top: 50px;
    }
}

@media (min-width: 1150px) {
    #angle-down {
        display: none;
    }
}

@media (max-width: 1150px) {
    .services-wrapper {
        display: block;
    }

    #angle-right {
        display: none;
    }
}

@media (max-width: 1149px) {
    #angle-down {
        display: block;
        text-align: center;
    }

    .reference-row {
        display: block;
        max-width: 500px;
        width: 100%;
        margin: 20px auto;
    }

    .reference-row .reference-item {
        margin-bottom: 20px;
        max-width: 500px;
    }

    .reference-row .reference-item img {
        max-width: 500px;
    }

    .important,
    .important-large {
        display: none;
    }

    .important-hidden {
        display: block;
    }

    .reference-item p:last-child {
        padding-bottom: 10px;
    }
}

@media (max-width: 1054px) {
    .page-title {
        text-align: center;
    }

    nav .menu-icon,
    nav .cancel-icon {
        margin: 0 20px;
    }

    .dropdown-menu {
        display: none;
        position: relative;
        margin-top: 0px;
        background-color: #fff;
        border-top: none;
        border-bottom: none;
        border-radius: 0px;
        box-shadow: none;
        width: 100%;
        min-width: 200px;
        max-width: 500px;
    }

    .dropdown-menu a {
        border-bottom: 1px solid #eee;
    }

    header {
        background:
            linear-gradient(rgba(0, 0, 0, 0.4),
                rgba(0, 0, 0, 0.7)),
            url(https://www.klimamontkopelent.cz/images/hvac.jpg);
        background-size: cover;
        height: 500px;
        margin-top: 130px;
    }

    .welcome-page-wrapper h1 {
        font-size: 1.1rem;
    }

    .welcome-page-wrapper p {
        font-size: 1.1rem;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 25px;
    }

    .welcome-page-wrapper {
        position: relative;
        z-index: 2;
        max-width: 450px;
        color: white;
        text-align: left;
        top: 70%;
        padding: 20px;
        background: rgba(0, 0, 0, 0.4);
    }

    .about-wrapper {
        background:
            linear-gradient(rgba(0, 0, 0, 0.8),
                rgba(0, 0, 0, 0.8)),
            url(https://www.klimamontkopelent.cz/images/hvac.jpg);
        background-size: cover;
        height: 180px;
        margin-top: 130px;
        position: relative;
        z-index: 2;
    }

    .service-row {
        display: block;
        max-width: 500px;
    }

    .service-left-img img {
        border-radius: 10px 10px 0 0;
    }

    .service-right-text {
        border-radius: 0 0 10px 10px;
    }

    .info-wrapper {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.klimamontkopelent.cz/images/career-mobile.jpg);
        background-size: cover;
        height: 180px;
        margin-top: 130px;
        position: relative;
        z-index: 2;
    }

    .contact-head-wrapper {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.klimamontkopelent.cz/images/kontakt.jpg);
        background-size: cover;
        height: 180px;
        margin-top: 130px;
        position: relative;
        z-index: 2;
    }
}

@media (min-width: 982px) {
    nav .nav-items li a:hover {
        color: #0A4EBD;
        background-color: #f3f3f3;
        border-radius: 20px;
    }
}

@media (max-width: 981px) {
    nav {
        padding: 0 50px;
    }

    nav .nav-items li a {
        font-size: 16px;
    }
}

@media (max-width: 980px) {
    nav {
        padding: 0px;
    }

    nav .logo {
        flex: 0;
        text-align: center;
        margin-left: 15px;
    }

    nav .nav-items {
        position: fixed;
        z-index: 99;
        top: 130px;
        width: 100%;
        display: none;
        padding: 10px 20px 0 20px;
        text-align: left;
        background: #fff;
        overflow-y: scroll;
    }

    nav .nav-items.active {
        display: block;
        height: 100%;
        box-shadow: 0px 10px 8px -10px #ddd;
        transition: 0.3s ease-in;
    }

    nav .nav-items li {
        padding: 10px 0;
    }

    nav .nav-items li a {
        font-size: 18px;
        text-align: center;
    }

    nav .menu-icon {
        display: block;
    }

    nav .menu-icon span {
        display: block;
        padding: 10px;
    }

    .dropdown-btn {
        display: none;
    }

    .page-flex-cards {
        max-width: 500px;
    }

    .flex-row {
        flex-direction: column;
    }

    .flex-row-item {
        height: auto;
    }

    .flex-row-item .blue-btn {
        margin-bottom: 20px;
    }

    .contact .flex-row .contact-box {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .page-change {
        flex-direction: column;
    }

    .next-page,
    .prev-page {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
    }

    .page-flex-cards {
        padding: 15px;
    }

    .flex-row-item h3 {
        padding: 10px;
    }

    h2 {
        font-size: 19px;
    }

    h3 {
        font-size: 16px;
    }

    p,
    a {
        font-size: 14px;
    }

    .flex-row-item .blue-btn {
        font-size: 14px;
    }

    .next-page a,
    .prev-page a {
        width: 150px;
        font-size: 14px;
    }

    .image-modal-wrapper {
        display: none;
        position: fixed;
        top: 50%;
        left: 0;
        width: 100%;
        height: auto;
        transform: translateY(-50%);
        background-color: white;
        z-index: 100;
        border-radius: 10px;
    }

    .footer {
        padding-top: 20px;
    }
}

@media (max-width: 350px) {

    nav .menu-icon,
    nav .cancel-icon {
        margin: 0 10px;
        font-size: 18px;
    }
}