html {
    font-size: 14px;
    min-width: 320px;
}


/* For tablets: */
@media only screen and (min-width: 600px) and (max-width:991px) {
    #navbarNavDarkDropdown li, ul.dropdown-menu {
        background-color: #bca684 !important;
    }
    .contactsTitleText, .serviceTitleText {
        font-size: 30px !important;
    }
}
/* For mobile phones: */
@media only screen and (max-width: 768px)  {
   
    html {
        font-size: 16px;
    }
    
    .dropdown-item, .nav-link {
        text-align: center !important;
    }
    .contacts-container {
        height: 100% !important;
        width: 100% !important;
        margin-top:50px;
        padding:20px;
    }
    .social-container {
        /*flex: 1;
        position: absolute;
        top: 350px !important;
        left:0px!important;
        right:0px!important;*/
        /*   width: 100% !important;
        height: 100% !important;
        overflow: auto !important;
        margin: auto !important;*/
        position: absolute !important;
        top: 90% !important;
        left: 50% !important;
        
        
    }
    .footer{
        height:450px!important;
    }
    .body-end-margin {
        margin-bottom: 450px!important;
    }
    .cardMainImg {
        height: 30vh;
        width: 100%;
    }
    .carousel-item, .active {
        /*height: 270px!important;
        width: auto;*/
        height: auto;
        width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .contactsTitleText, .serviceTitleText {
        font-size: 26px !important;
     }
    .serviceDesText {        
        padding: 0px !important;
        font-size: 16px;
    }
    .endDivBottomMargin {
        margin-bottom: 450px!important;
        margin-top: 40px!important;
    }
    .addressText{
        font-size:18px;
    }
    .carousel-caption h5, h4 {
        font-size: 12px;        
    }.carousel-caption  h4 {
        display:none;
    }
    .carousel-caption {
        padding: 0;
        margin: 0;
        height:contain;
    }
    .carouselDiv {
        height: 400px!important;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link .nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: ghostwhite !important;
}

header {
    background-color: #728968;
    height: 100px;
    width: 100%;
    max-height: 100px;
    position: absolute;
    z-index: 99;
    margin-top: 0px;
    top: 0;
}
.appNavBar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
}
.navbar-brand img {
    height: 80px;
    width: 170px;    
}


.carousel-item, .active {
    height:auto;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.carousel-caption h5, h4 {     
    color: #695848;
}
.carousel-caption {
    padding: 0;
    margin: 0;
    height: contain;
}

#missionDev h3 {
    width: 30%;
    margin-top: 24px;
}

.slider {
    overflow: hidden;
    height: 400px;
    box-shadow: 0px 0px 10px;
    background-color: white;
    margin: 10px;
} 
.slider figure {
    position: relative;
    width: 500%;
    left: 0;
    margin: 0;
    animation: 20s slider infinite;
}

.slider iframe img {
    width: 20%;
    height: 200%;
    float: left;
}

@keyframes slider {
    0% {
        left: 0;
    }

    20% {
        left: 0;
    }

    25% {
        left: 100%;
    }

    45% {
        left: 100%;
    }

    50% {
        left: 200%;
    }

    70% {
        left: 200%;
    }

    75% {
        left: 300%;
    }

    95% {
        left: 300%;
    }

    100% {
        left: 400%;
    }
}

.navbar-nav {
    height: 80px;
    margin-top: 18px;
}

.homeSection {
    margin-bottom: 50px;
} 
.centeredItem {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item > a, .dropdown-item {
    font-family: lato-light-italic;
    
}

.nav-item > a, .nav-link > a {
    color: white !important;
}
 
.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler-icon::after {
    content: "\f0c9";
    font-family: "FontAwesome";
    font-size: 22px;
    color: #695848;        
}
a.dropdown-item:hover, .nav-link:hover {
    background-color: #e5d8ce;
    border-radius:6%;
    margin-left:8px;
}

a.dropdown-item , .nav-link  {   
    margin-left: 8px;
    color:white!important;
}
.footer {
    width: 100%;background-color: #728968;color:#695848;height:270px;
}
.social-container {
    flex: 1;
    position: absolute;top: 75%;left: 75%;transform: translate(-50%, -80%);padding: 10px;
    height:auto;
}
.contacts-container {
    flex: 1;
    color: #e5d8ce;
    background-color: #695848;
    height: 50%;
    width: 50%;
}
.body-end-margin {
    
    width: 100%;
    margin-bottom: 250px;
    margin-top: 140px;
}

.home-container{
    margin-top:30px;
    margin-bottom:30px;
}


.serviceTitleText, .contactsTitleText {
    flex: 1;
    color: rgb(162, 143, 124);
    font-family: sans-serif;
    font-size: 54px;
    text-transform: uppercase;  
}
.serviceDesText {
    color: rgb(162, 143, 124);
    padding: 80px;
}
.contactsDesText {
    color: rgb(162, 143, 124);    
}
#serviceContainer {
    width: 100%;
    height: 100%;
    position: relative;
}
#serviceTitle, #serviceDes {
    position: absolute;
    border-radius: 80%;
    text-align:center;
    font-size:30px;
    color:white;
    align-content:center;
}
#serviceTitle {
    width: 30%;
    height: 30%;   
    top: 0;
    left: 0;
}
#serviceDes {
    width: 50%;
    height: 50%;    
    bottom: -30px;
    right: -30px ;
}

#content {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    height:fit-content;
}

.endDivBottomMargin {
    margin-bottom: 270px
}
.mainDivImg{
    flex:6;
}
.addressText {
    color: white;
    padding: 4px 0 !important;
    margin: 0 !important;
}
.carouselImg {
    width: 100%; 
    height:auto;
}
.carouselDiv{
    height:1100px;
}
.nav-link.mainNavItem {
    vertical-align: middle;
    padding: .16em!important;    
    
}
 
