/* Common */
body, html {
    height: 100%;
    font-family: 'Alegreya Sans', sans-serif;
}


@media (max-width: 768px) {

    .navbar .logo {
        float: right;
        margin-left: 80%;
       }

    .navbar .logo img {
        height: 64px;
        width: 64px;
       }   

    #header {
        text-align: center;
    }

    #social {
        text-align: center;
    }

    #social hr, #about hr {
        margin: 8% auto;
    }

    #about {
        text-align:center;
    }
    #about .company {
        margin-top:5%;
        text-align: justify;
    }

    #why,#team {
        text-align: center;
    }

    #why h3 {
        font-size:large;
    }

    #why .imgfeature-fluid {
        border-radius: 1rem;
    }

    #footer {
        text-align:center;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
  }

/* Navigation */
.navbar {
    /*background-color:#fff;
    border-bottom: 1px solid #A0A0A0;*/
    background-color: rgba(21,31,33,0.5);
    border-bottom: 1px solid #dedede;
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: bold;
}

.navbar .call {
    text-decoration: none;
}

.navbar .navbar-nav .nav-link, .navbar .call {
    color: #dedede;
}

.navbar .navbar-nav .nav-link:hover, .navbar .call:hover {
    color: #00b1c1;
}

.navbar-toggler-icon {
    color: #00b1c1;
}

.navbar-toggler:hover, .navbar-toggler:link, .navbar-toggler:current {
    color: #dedede;
}

.navbar .logo {
    position: absolute;
    width: 96px;
    top: 1em;
    left: 1em;
    display: inline;
   }

/* Header */

/*#header {
    margin: 8rem 0 0 0;
}*/

/*#header img {
        
    width: max-content;
    height: auto;
  }*/

#overlay {
      background-color:transparent;
      position: fixed;
      z-index: 9999;
  }

.centered {
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
  }

#header .container {
    /*background-color:  rgba(81, 86, 87, 0.5);*/
    background-color:transparent;
    max-width: 100%;
}

#header .home-slider {
height: auto;  
width: 100%;
}

.cursive {
    font-family: 'Handlee', cursive;
    font-weight: bold;
    font-size: 2rem;
    color: orangered;
}

.cursive-sm {
    font-family: 'Handlee', cursive;
    font-weight: bold;
    font-size: 1.2rem;
    color: orangered;
}

.leadtag1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.leadtag2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
}

#header .btn-lead {
    background-color:orangered;
    color:#fff;
    width:30%;
}

#header .btn-lead:hover {
    background-color:transparent;
    border:1px solid orangered;
    color:orangered;
}

#header .carousel-indicators li {
    background-color:#00b1c1;
}

#header .carousel-indicators li.active {
    background-color:#ffde62;
}

/*#header .carousel-inner {
    margin-bottom:30px;
}

#header .carousel-indicators {
    margin-bottom:-40px;
}*/

#header .fas {
    margin: 5% 0;
}

#header a .fas {
    color: #fff;
}

#header a .fas:hover {
    color: #ccc;
}

/* Social */

#social {
    padding: 5rem 0;
}

#social .fab {
    font-size: 2em;
    color: #00b1c1;
    border: 2px solid;
    width: 60px;
    height: 60px;
    border-radius: 30%;
    text-align: center;
    padding: 20% 0;
    margin-top: 10px;
    transition: all 0.5s ease-in-out;
}

#social .fab:hover {
    color: #fff;
    background: #00b1c1;
}

/* About */
#about {
    padding:3rem 0;
    background-color: white;
}

#about .company {
    text-align: justify;
}

#about .btn-who {
    background-color:#00b1c1;
    color:#fff;
    width:50%;
}
#about .btn-who:hover {
    background-color:transparent;
    border:1px solid #00b1c1;
    color:#00b1c1;
}

#about .img-fluid, #branches .img-fluid, #gallery .img-fluid {
    border-radius: 1rem;
}

#about ul {
    padding: 1em 0;
}

#about .fas, .far {
    color: rgb(95, 161, 199);
}

/* Classes */
#work {
    padding:5rem 0;
}

#work .work-img {
    position:relative;
}

#work .work-img .img-overlay {
    position:absolute;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.5);
    width:100%;
    height:100%;
    background-image: url('../images/eye.png');
    background-position:center center;
    background-repeat:no-repeat;
    opacity:0;
    z-index:0;
    transition:all 0.3s ease-in-out;
}

#work .work-img .img-overlay:hover {
    opacity:1;
    z-index:1;
}

#work .fas {
    padding:0 5px;
    color: grey;
}

/* Why */
#why {
    background-color: whitesmoke;
}
#about, #why, #work, #team, #branches ,#gallery{
    padding: 5rem 0;
}
#why,  #contact h2 {
    color: #00b1c1;
}

#why .imgfeature-fluid {
    border-radius: 1rem;
}

.red-color {
    color: #e63c3c;
}

.purple-color {
    color: #9a56ba;
}

.green-color {
    color: #79b846;
}

.grey-color {
    color: #A0A0A0;
}

.blue-color {
    color: #00b1c1;
}

.rose-color {
    color: #fec6c7;
}

.yellow-color {
    color: #ffde62;
}

.white-color {
    color: #fff;
}

.double-line {
    background-color: #fec6c7;
    background-image: linear-gradient(180deg, #fec6c7 35%, #ffde62 100%);
    height: 3px;

}

#team h5.feature {
    padding: 0.5rem 0 0 0;
}

#why p.feature, #team p.feature {
    
    padding: 0 1rem;
    color: #4d4646;
}


#why h4.feature {
    padding-bottom: 2rem;
}

#why .lastrow {
    padding-top: -5rem;
}

/*Customers*/

#customers {
    color: #f0f0f0;
}

#customers h2 {
    margin-top: 5%;
    color: #00b1c1;
}


.parallax-customers {
    background: 000;
    background: linear-gradient(
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.2)
    ),
    url(../images/inkypalms_daycare.jpg);
    background-attachment:fixed;
    background-position:center;
    background-repeat: no-repeat;
    height: 480px;   
}


#customers .carousel-indicators li {
    background-color:#00b1c1;
}

#customers .carousel-indicators li.active {
    background-color:#ffde62;
}

#customers .carousel-inner {
    margin-bottom:50px;
}

#customers .carousel-indicators {
    margin-bottom:-50px;
}

/*Contact*/
#contact {
    padding: 5rem 0;
    background: #f6f6f6;
}

#contact .form-group {
    padding: 0.5rem 0;
}

#contact .help-block.with-errors {
    color: #ff5050;
    margin-top: 5px;
}

#contact .btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/*FOOTER*/

#footer {
    padding:2rem 0;
    background-color:#484848;
    color:white;
}

#footer a {
    color:white;
    text-decoration: none;
}

footer a:hover {
    color:#00b1c1;
}

#footer .fab {
    padding:0 5px;
}

#footer .fab:hover {
    color: #00b1c1;
    transition: all 0.2s ease-in-out;
    transform:scale(1.5);
}

#footer p a:hover {
    color: #00b1c1;
    transition: all 0.2s ease-in-out;
}

#footer .list-unstyled a:hover {
    color: #00b1c1;
    transition: all 0.2s ease-in-out;
}