/*MeteoHome*/
* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(https://fv9-7.failiem.lv/down.php?i=unh3q98kfv&view&n=Logo.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2%, 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: rgba(0, 40, 255, 255);
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: white
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid rgba(0, 40, 255, 1.0);
    background: rgba(0, 40, 255, 1.0);
    transition: 0.5s;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: rgba(0, 40, 255, 1.0);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}

.par {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #00a1ff;
}

p {
    color: #666666;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.info-col {
    flex-basis: 31%;
    background-color: rgb(226, 230, 253);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3 {
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.info-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.4);
}

@media(max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

.contact {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.contact-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.contact-col img {
    width: 100%;
    height: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(0, 40, 255, 0.7);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 26px;
    bottom: 0;
    left: 50;
    transform: translateX(0%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 35%;
    opacity: 1;
}

.karte {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.facilities-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.facilities-col img {
    width: 100%;
    border-radius: 10px;
}

.facilities-col p {
    padding: 0;
}

.facilities-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

.reviews {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.reviews-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: rgba(226, 230, 253, 1.0);
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.reviews-col img {
    height: 50px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.reviews-col p {
    padding: 0;
}

.reviews-col h3 {
    margin-top: 15px;
    text-align: left;
}

.reviews-col .fa {
    color: rgb(0, 40, 255)
}

@media(max-width: 700px) {
    .reviews-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa {
    color: rgb(0, 40, 255);
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.info-col ul {
    margin: 0;
    padding: 0;
    list-style-position: inside;
    text-align: left;
}

.info-col li {
    margin: 0;
    padding: 4px 0 10px 0px;
}

.footer a {
    text-decoration: none;
}

/*MeteoPar*/


.sub-header-par {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(https://fv9-7.failiem.lv/down.php?i=vn42k98uvd&view&n=24600855_sl_031420_28950_10.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

.sub-header h1 {
    margin-top: 100px;
}

.par-mani {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}


.par-col {
    flex-basis: 48%;
    padding: 30px 0;
}

.par-col img {
    width: 100%;
}

.par-col h1 {
    padding-top: 0;
}

.par-col p {
    padding: 15px 0 25px;
}

.red-btn {
    border: 1px solid rgba(0, 40, 255, 1.0);
    background: transparent;
    color: rgba(0, 40, 255, 1.0);
}

.red-btn:hover {
    color: rgba(255, 255, 255, 1.0);
}


/*MeteoNoverojumuKarte*/


.sub-header-karte {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(https://fv9-7.failiem.lv/down.php?i=bmydv8vn4y&view&n=woman-elegant-clothes-holds-mobile-phone-surfs-wireless-internet-makes-shopping-online-sits-bench-outside-connected-wireless-internet-communicates-distantly.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

#map { position: fixed; top: 50%; bottom: 0; width: 50%; height: 50%; margin: auto; margin-left: 22%;}

.LVGMC_karte {
    width: 100%;
    height: 800px;
    display: block;
}

.LVGMC_noverojumu_karte h1 {
    text-align: center;
}

.LVGMC_noverojumu_karte li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.LVGMC_noverojumu_karte {
    font-size: 14px;
}

.LVGMC_noverojumu_karte a {
    display: inline-block;
    padding: 6px 12px;
    margin: 5px;
    border: 1px solid #000;
    border-radius: 10px;
    color: #000;
    background-color: #fff;
    text-decoration: none;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.LVGMC_noverojumu_karte a:hover {
    background-color: rgba(0, 40, 255, 1.0);
    color: #fff;
    border-color: rgba(0, 40, 255, 1.0);
    border-radius: 10px;
}


/*Salīdzinājumi*/


.sub-header-salīdzinājumi {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(https://fv9-7.failiem.lv/down.php?i=36wqh9rytu&view&n=7732602_5229.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

th {
    background-color: rgb(0, 40, 255);
    color: white;
    text-align: left;
    padding: 8px;
}

tr {
    border-bottom: 1px solid rgb(128, 128, 128);
    transition: 1.0s;
}

td {
    text-align: left;
    padding: 8px;
}

tr:hover {
    background-color: rgb(193, 202, 255);
}