@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    
}

.navbar-collapse{
    justify-content: center !important;
    width:90% !important;
}
.navbar-nav{
    justify-content: space-evenly !important;
    width: 100% !important;
    align-items: flex-end !important;
    padding: 0 2%;
    
}
#home{
    color: #575757 !important;
}

.nav-link {
    text-decoration: none !important;
    font-size: 20px !important;
    color: #C65F30 !important;
    font-weight: 600 !important;
    gap:20px !important;

}

.dropdown-menu{
    /* color: #575757 !important;
    text-align: center !important;
    width: 250px !important;*/
    border-radius: 0px !important;
    padding:0px !important;
    
}

.dropdown-divider{
    margin:0px !important;
}

.dropdown-item:hover{
    background-color: #aaaaaa !important;
    color: white !important;  
}

.dropdown-item{
    height: 45px !important;
    text-align: center !important;
    padding:0px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

li.divisions{
    width: 250px !important;
}

.dropdown-menu li{
    color: #575757 !important;
    text-align: center !important;
    width: 250px;
    border-radius: 0px !important;
    border-bottom: #aaaaaa solid 1px;
    
}

.dropdown-menu li:hover{
    background-color: #aaaaaa !important;
    color: white !important; 
}

.nav-link:hover {
    text-decoration: none !important;
    font-size: 20px !important;
    color: #575757 !important;
    font-weight: 600 !important;
}

.contact-landing-image{
    width:100%;
}

.back-picture{
    
    background: linear-gradient(0deg,
    rgba(24, 23, 23, 0.75),
    rgba(26, 27, 27, 0.75)), url('/images/contact_us\ 2.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #D28307 solid 4px;
}

.back-container{
    height: 500px;
}

.offices-heading-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;

}

.office-heading{
    color: #575757;
    font-weight: bold;
    font-style:italic;
}

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

.locations1{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    
}
.klipfontein-image{
    width:100px;
    height: 100px;
    
}
.klipfontein{
    width:500px;
    display: flex;
    border: #E6E6E6 dashed 2px;
    height: 300px;
    
}

.klipfontein-image-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 180px;
}

.klipfontein-text-container{
    
    width:60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.klipfontein-p{
    font-size: 20px;
    width: 200px;
    font-weight: 500;
}

.postmasburg{
    width:500px;
    display: flex;
    border: #E6E6E6 dashed 2px;
    height: 300px;
       
}

.locations-container1{
    margin-top: 20px;
}

.contacts-container{
    width:500px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contacts{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.bi-telephone-inbound-fill{
    font-size: xx-large;
}

.bi-printer-fill{
    font-size: xx-large;
}

.contacts-image{
    width:50px;
    height: 50px;
   
}
.form-container{
    width: 100%;
    margin-top: 20px;
    
}
.contacts-p{
    color: #808080 ;
    font-size: 20px;
    font-weight: bold;
   
}

.name-input{
    width:100%;
    padding: 0px 8.5%;
    margin-bottom: 40px;
    
}

.surname-input{
    width:100%;
    padding: 0px 8.5%;
    margin-bottom: 40px;

}

.email-input{
    width:100%;
    padding: 0px 8.5%;
    margin-bottom: 40px;
}

.form-textarea{
    width:88%;
    padding: 0px 8.5%;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}
.solutions-heading{
    color: #D28307;
    font-weight: bolder;
    font-style: italic;
    
}

.solutions-heading-container{
    width:85%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.form-btn{
    width:100%;
    padding: 0px 8.5%;
    margin-bottom: 40px;
}

#name{
    width:85%;
    height: 50px;
    border: #808080 solid 2px;
    
}

#name:focus{
    outline-color: #D28307;
}

#surname-input{
    width:85%;
    height: 50px;
    border: #808080 solid 2px;
    
}

#surname-input:focus{
    outline-color: #D28307;
}

#email:focus{
    outline-color: #D28307;
}
#email{
    width:85%;
    height: 50px;
    border: #808080 solid 2px;
}

#text:focus{
    outline-color: #D28307;
}
#text{
    width:100%;
    border: #808080 solid 2px;
}

::-webkit-input-placeholder { /* Edge */
    color: #f3f3f3;
    
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #808080;
    
  }
  
  ::placeholder {
    color: #c9c9c9;
    font-style: italic;
    
  }

.asterics{
    color: #C65F30;
    font-weight: 600;
}

#form-btn{
    background-color: #C65F30;
    color: #fff;
    width:10em;
    border: none;
    height: 50px;
    font-size: 20px;
    text-transform: uppercase;   

}


.icons-img{
    height: 30px !important;
    width: 30px !important;
}

.icons{
    display: flex;
    height: 30px;
    gap: 10px;
}




  .footer{
    display: flex;
    justify-content: space-between;
    background-color:#E9E9E9;
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
    padding-left: 80px;
    height: 250px;
    
    
}
.icons-img1{
    width:30px;
    height: 30px;

}
.socials{
    
    width:33%;
    margin-left: -45px;
    
   
}

.footer-image{
    height: 80px;
    width: 250px;
    margin-bottom: 20px;
}

.contact-footer{
    width: 33%;
    display: flex;
    flex-direction: column;
    gap:5px;
}
.footer-icons{
    display: flex;
    gap:10px;
    
    
}
.footer-hours{
    display: flex;
    flex-direction: column;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    border: #E6AD0D solid 2px;
}
  
  .active2, .dot:hover {
    background-color: #C65F30;
    color: #fff;
    border: #C65F30 solid 2px;
}
/* .active{
    background-color: white;
} */
.footnotes{
    text-align: center;
    background-color: #808080;
    color: white;
   font-size: smaller;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footnotes-p{
    margin-bottom: 0;
}

/* footer section */



.footer-p-socials{
    color: #000;
    font-size: 11.8px;
   
    margin-top: -10px;
}
 .big-footer{
    color: #000;
    font-size: x-large;
    margin-top: 8px;
    
 } 

 .contact-big-footer{
    color: #000;
    font-size: x-large;
    margin-top: 8px;
 }

 .footer-p-contact{
    color: #575757;
    font-size: large;
    font-weight: bold;
 }

 .footer-p-hours{
    color: #575757;
    font-size: large;
    font-weight: bold;
    margin-top: -5px;
    display: none;
 }

 .footer-p-hours-time{
    color: #575757;
    font-size: large;
    font-weight: bold;
 }

 .footer-p-hours-dummy{
    color: #575757;
    font-size: large;
    font-weight: bold;
 }

 .closed{
    color: #C65F30;
    font-style: italic;
    
 }

 .footer-icons-container{
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
 }
/* Fading animation */
.available{
    font-size: smaller;
    color: #E6AD0D;
    font-weight: bold;
    font-style: italic;
    font-family:Verdana;
    margin-left: 15px;
}

@media screen and (max-width: 767px) {
    .footer{
        padding: 7px;
        flex-wrap: wrap;
        height: fit-content;
    }

    .back-picture{
        background-repeat: no-repeat;
        background-size: 100% 50vh;
        background-position: center;
        height: 50vh;

       
    }

    .back-container{
        height: 50vh;
    }

    .socials{
        width:100%;
        margin: 0px;
        display: flex;
       flex-direction: column;
       align-items: flex-start;
       padding:10px;
    }

    .footer-p-socials{
        width:263px;
    }

    .footer-p-hours{
        display: none;
    }
    .contact-footer{
        width:100%;
        padding:10px;
        height: 190px;
    }

    .footer-hours{
        padding:10px;
    }

    .footnotes{
        width: 100%;
        height: 40px;
    }

    .footnotes-p{
        font-size: x-small;
    }

    .footer-icons-container{
        justify-content: unset;
        gap: 10px;
    }

    .footer-p-contact{
        margin-bottom: 0px;
        margin-top: unset;
        padding: 0% 4%;
    }

    .bi{
        margin-bottom: 0px;
        
    }

    .locations1{
        flex-wrap: wrap;
        flex-direction: column;
        align-content: space-evenly;
        gap: 20px;
    }


    .locations-container1{
        flex-wrap: wrap;
        flex-direction: column;
        align-content: space-evenly;
        row-gap: 20px;
    }

    .locations-inner{
        display:flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
    }
    .klipfontein{
        width:90%;
    }

    .postmasburg{
        width:90%;
    }

    .contacts-container{
        width:90%;
        height: 200px;
    }

    .contacts-p{
        padding: 0px 4%;
        margin-bottom: unset;
    }

    .solutions-heading-container{
        width: 100%;
       
        margin-top: 10px;
        text-align: start;
        /* align-items: flex-end; */
        padding: 0px 10%;
    }

}

@media screen and (min-width:730px) and (max-width: 1030px){

    .footer{
        display: flex;
        justify-content: space-between;
        background-color: #E9E9E9;
        height: 250px;
        width: 100%;
        align-items: center;
        padding: 10px;

    }

    

    .footer-p-socials{
        width: 240px;
    }

    .footer-p-contact{
        margin-top: 0px;
    }

    .icons-img{
        height: 20px !important;
        width: 20px !important;
    }

    .footer-image{
        height: 74px;
        width: 238px;
        margin-bottom: 15px;
    }
    .socials{
        margin: unset;
        width:34%;
    }

    .contact-footer{
        height: 250px;
        padding: 0px 7px;
        width: 37%;
    }

    .footer-icons-container{
        height: 150px;
    }

    .footer-icons{
        gap: 10px;
        height: 30px;
        align-items: center;
        margin-bottom: 1.3em;
        margin-left: 10px;
        
    }

    .bi{
        margin-bottom: 0.8em;
    }

    .footer-hours{
        height: 250px;
        gap: 7px;
    }

    .klipfontein{
        width:45%;
    }

    .postmasburg{
        width:45%;
    }

    .klipfontein-image{
        margin-right: 10px;
    }

    
    .contacts-container{
        width: 45%;
    }

    .solutions-heading-container{
        
        width: 92%;
        padding: 0 5%;
        text-align: center;
    }

    .contacts-p{
        color: #808080 !important;
        text-decoration: none !important;
        padding: 0px 4%;
    }

    .footer-p-hours{
        display: block;
    }

    .footer-p-hours-time{
        margin-top: -19px;
    }

    .time{
        font-size: medium !important;
    }

    .footer-p-hours.lower{
        margin-top: 0px !important;
    }

    .footer-p-hours-dummy{
        display: none;
    }

    .available{
        text-align: center;
    }

    .contact-big-footer{
        margin-left: 10px;
    }

    

    .back-picture{
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
       
    }

}

.directions-text{
    color: #575757;
    font-weight: 400;
    width:100%;
    text-align: center;
}


#UPmyBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 10px;
    border: none;
    outline: none;
    background-color:#555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 2px;
  }
  
  #UPmyBtn:hover {
    background-color: #C65F30;
  }

  @media only screen 
  and (min-device-width : 414px) 
  and (max-device-width : 736px)
  and (device-width : 414px)
  and (device-height : 736px)
  and (orientation : portrait) 
  and (-webkit-min-device-pixel-ratio : 3) 
  and (-webkit-device-pixel-ratio : 3)
{ 

    .contacts-p{
        color: #808080 !important;
        text-decoration: none !important;
        padding: 0px 0%;
    }
    .locations1 {
        flex-wrap: wrap;
        flex-direction: column;
        align-content: space-evenly;
        row-gap: 20px;
    }


    .footer-p-contact {
        margin-bottom: 0px;
        margin-top: unset;
        padding: 0% 3%;
    }

    .locations-inner {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
    }
}