body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #020f1d;
    line-height: 1.6;
}

.body-padding {
   padding-top: 70px; 
}

a { 
    color: inherit;
    text-decoration: none;
 } 

 a:hover {
    color: #e20613;
 }

 .card {
    border-radius: 0;
 }


/* ----COLORS-----*/
.redText {
    color: #e20613;
}

.greyText {
    color: #5f666d;
}

.lightGreyText {
    color: #AAAAAA
}

.darkBlueText {
    color: #020f1d;
}

.lightBlueText {
    color: #143960;
}


.lighterBlueText {
    color:#c8d6e4
}


.homepage-nav-up {
    color: white;
}

/* -------NAV-------- */
.navbar {
    /* transition: all 0.5s ease-in-out; */
    padding-top: 0;
    padding-bottom: 0;
}


.nav-link {
    font-size: 17px !important;
}

.nav-item .lightBlueText:hover {
    color: #1f548e;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.offcanvas-header {
    border-bottom: 1px solid red; 
}

.offcanvas.show a {
    color: #143960; /* Změna barvy odkazu */
    font-weight: 600;
    font-size: 16.5px;
  }


.offcanvas.show .offcanvas-body {
    align-items:  center !important;
    margin-top: 0.3rem;
}



/* -----HOMEPAGE HEADER---- */
header {
    background: linear-gradient(to bottom right, 
    rgba(20, 57, 96, 0.9),
    rgba(20, 57, 96, 0.9)
    ), 
    url(../images/bg-img.webp) center center no-repeat;
    background-size: cover;
    background-position: top;  
    top: 0px;
    left: 0px;
}

header img {
    width: 50%;
    height: auto;
    max-height: 220px !important;
}


/* ----BUTTONS---- */
.btn {
    border-radius: 0;
    color: white;
}

.redButton {
    font-weight: bold;
    background-color: #e20613;
}

.redButton:hover {
    background-color: #ab0b16;
}

.blueButton {
    font-weight: bold;
    background-color: #143960;
}

.blueButton:hover {
    background-color: #1b4c80;
}

.next-div {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.next-div:hover .next-text {
    color: #ab0b16;
    transition: color 0.2s ease;
}

.next-div:hover .next-button {
    background-color: #ab0b16;
    transition: background-color 0.2s ease;
}

.next-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    outline: none;
    background-color: #143960;
}


/* ---CAROUSEL--- */
.carousel-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    outline: none;
    background-color: #143960;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 10px; 
    height: 10px; 
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #b3b3b3;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
    border-radius: 100%;
}

.carousel-indicators .active {
    background-color: #ab0b16 !important;
    opacity: 1;
}

/* PRODUKTY */
#produkt .property{
    margin-bottom: 2.2rem;
}

#produkty .card:hover{
    transform: scale(1.02);
    transition: all 0.5s ease-in-out;
    opacity: 0.95;
}


/* ------KONTAKT------- */
.form-control::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #AAAAAA;
        opacity: 1; /* Firefox */
        font-weight: bold;
}

.form-control {
    padding-left: 0px;
}

.form-select {
    font-weight: bold;
    padding-left: 0px;
}


#produkty .card{
    margin-bottom: 30px !important;
}

.card-img-top {
    width: 100%;
    height: 20vh;
    object-fit: contain;
}

.resize {
    width: 100%;
    height: 50vh;
    object-fit: contain;
}



/* ------OTHERS---- */
#activities .next-text {
    font-size: 13px;
}



/* -------FOOTER------- */
footer {
    background-color: rgb(2, 15, 29);
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
}

.social-icons i:hover {
    color: #ab0b16;
}


/*==============================================
                 MEDIA QUERIES
================================================
    xs <576px	
    sm ≥576px	
    md ≥768px
    lg ≥992px
    xl ≥1200px
    xxl ≥1400px  */


@media (max-width: 992px) {
    #produkt .property {
        margin-bottom: 1.8rem;
    }

    #produkt .property .col-10 {
        padding-left: 0.2rem !important;
    }

    #produkt .my-container{
        max-width: 90%;
    }
    
    #tabs .blueButton {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
    }

    #tabs .my-container{
        max-width: 95%;
    }
        
    #kontakt .form-check {
        margin-top: 1.5rem !important;;
        margin-bottom: 0.5rem !important;
    }

}
    
    

@media (max-width: 766px) {
    #electricity-accounting .next-div {
        margin-bottom: 0rem !important;
    }

    .next-button {
        width: 30px;
        height: 30px;
        margin-left: 0.5rem !important;
    }

    #produkt .property {
        margin-bottom: 1.3rem;
    }

    #produkt .property .col-10 { /* text vedle ikony */
        padding-left: 0rem !important;
    }

    #produkt .property .col-2 { 
        padding-left: 0.8rem !important;
    }

    #produkt .properties {
        max-width: 75%
    }

    #produkt .my-container {
        max-width: 100%;
    }

    #tabs .my-container {
        max-width: 100%;
    }

    #tabs .tab-container {
        max-width: 100%;
    }

    #tabs .col-12 {
        margin-top: 0.8rem;
    }

    footer .container {
        max-width: 85%;
    }

    .map-container iframe {
        margin-top: 2.5rem;
    }

    .map-container {
        min-height: 400px;
    }

    
}


@media (max-width: 576px) {
    #produkty .row {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    #produkty .breadcrumb {
        margin-left: 0.8rem;
    }

    #produkt .property {
        margin-bottom: 1rem;
    }

    #produkt .property .col-10 { /* text vedle ikony */
        padding-left: 0.1rem !important;
    }

    #produkt .properties {
        max-width: 100%;
    }

    #produkt .my-container{
        max-width: 100%;
    }

    #kontakt .justify-content-lg-end {  /* tlačítko send */
        margin-top: 0.7rem !important;
    }

    #electricity-accounting h4 {
        font-size: large ;
    }

    footer .text-center {
        margin-bottom: 2rem 
    }

    footer .logo-smaller {
        margin-top: 0rem !important
    }


}

@media (max-width: 410px) {
    #produkt .property .col-10 { /* text vedle ikony */
        padding-left: 0.4rem !important;
    }

    .g-recaptcha {
        margin-top: 0.4rem !important;
    }

    .container-kontakt {
        padding-bottom: 0.2rem !important;
    }

    #nav-tab .nav-link{
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

}


