html{
box-sizing: border-box;
flex-wrap: wrap;
}

body{
    margin: 0;
    padding: 0;
    font-family:serif; 
}

.container{
    
    width: 100%;
}


.cont-one{
    overflow: visible;
}


.bg-ligh{
    color: #6d4130;
    font-weight: 600;
    background-color: #34f4f4;
}

.z-end {
    z-index: 333;
    top: 53%;
    background-color: red;
    left: 5%;
}

.appointment{
    position: absolute;
    z-index: 999;
     background-color: #e56e6e;
    border-top-right-radius: 10px;
     border-top-left-radius: 10px;
    transform: rotate(-90deg);
    padding-left: 1%;
    padding-right: 0.7%;
    height: 32px;
}

.appointment a{
    color: white;
    margin: 3px;
    font-size: 18px;
}
    
.appointment:hover a{
      color: white;
    text-decoration: none;
}

@media screen and (max-width:767px){
     .z-end{
        left: 11%;
         top: 95%;
    }
}




.cont-one img{
    width: 56%;
    margin-left: 17%;
    }


navbar-toggler-icon {
      color: #6d4130;
}

 .nav-link{
    color: #6d4130;
}


.dropdown-menu{
    z-index: 333;
    position: absolute;
}
.navbar-nav .navbar-center{
    z-index: 333;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
}
 
.on-col p {
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
    font-size: 19px;
     font-family: serif; 
    margin-top: 8px;
}



.fas{
    color: #6d4130;
    font-size: 20px;
    margin-right: 5px;
}
.fab{
     color: #6d4130;
    font-size: 20px;
    margin-right: 5px;
   
}



.on-col{
    margin-top: 5px;
}

.on-col p, .on-col a {
    font-size: 600;
     color: #6d4130;
    text-align: center;
    margin-bottom: 1px;
    font-size: 20px;
  font-family: serif;
}

 

.on-col a:hover{
     text-decoration: none; 
    color: #6d4130;
}

.wells img{
    margin-left: 13px;
    height: 38px;
    max-width: 86px;
    background-image: url(../images/wells.png);
}

.z-end {
    z-index: 333;
    top: 53%;
    background-color: red;
    left: 5%;
}

.appointment{
    position: absolute;
    z-index: 999;
     background-color: #e56e6e;
    border-top-right-radius: 10px;
     border-top-left-radius: 10px;
    transform: rotate(-90deg);
    padding-left: 1%;
    padding-right: 0.7%;
    height: 32px;
}

.appointment a{
    color: white;
    margin: 3px;
    font-size: 18px;
}
    
.appointment:hover a{
      color: white;
    text-decoration: none;
}






.main{
    margin-top: 40px
}
.front-head{
    width: 100%;
    height: auto;
    box-sizing: border-box;
    flex-wrap: wrap;
    
}


.front-head-dent {
       box-sizing: border-box;
    background: url(../images/insurance5.jpg) no-repeat 12%;
    background-size: cover;
    max-width: 100%;
   
    height: 463px;
}








.finance-container{
   max-width:  100%;
    margin: auto;
    height: auto; 
    
}



.benefits{
  
   width: 100%;
    height: 45rem;
    margin-top: 10px;
    
   
}

.benefits h1{
    display: block;
    font-size: 25px ;
   text-align: center;
    font-weight: 600;
    
}
.benefits p{
    margin-top: 10px;
    letter-spacing: 0.2px;
     font-size: 19px;
    text-align: center;
    margin-bottom: 20px;
    margin: 5px;

}


.parallax{
   min-height: 300px;
  background: transparent;  
    opacity: 0.7;
   margin: 39px 0px 29px 0px;
}
.parallax-2{
    
    opacity: 0.6;
    margin: 20px 0 30px 0 ;
    min-height: 300px;
  background: transparent;
}




@media  only screen and (max-width: 576px){
    
    .cont-one img {
    width: 40%;
    margin-left: 27%;
    margin-bottom: 20px;
}
   
    .front-head-dent-den p{
        padding-right: 0px;
        margin-top: 16px;
    }

}



@media screen and (max-width: 768px) {
    
    
        .front-head-dent-den {
    box-sizing: border-box;
    width: 30%;
    height: 300px;
    background-color: white;
    position: absolute;
    top: 75%;
    left: 50%;
    padding-left: 80px;
    opacity: 0.7;
    position: absolute;
    display: contents;
}
    .front-head-dent {
    box-sizing: border-box;
    background: url(../images/insurance5.jpg) no-repeat 6%;
    background-size: cover;
    max-width: 100%;
    height: 289px;
}
    
    .word, .word2{
        text-align: center;
        
    }
    
    .line-one{
        height: 1px;
        width: 100%;
        border: 1.5px solid #5d5d5d;
    }
    
   
    

    
    .modal-content{
       max-width: 44%;
        height: 190px;
        margin-top: 50%;

    }
    
   
}

