html,
body {
    font-family: 'Cairo', sans-serif;
    font-size: 100%;
    background: #fff;
}

body a{
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'Cairo', sans-serif;
}
p {
    line-height: 1.8;
    font-size: 1em;
    color: #333;
    font-weight: 500;
    margin: 0;
}
ul {
    margin: 0;
    padding: 0;
}
li {
    list-style-type: none;
}
body a:hover {
    text-decoration: none;
}
/* banner */

/* header */
h1 a.navbar-brand {
    font-size: 0.8em;
    font-weight: 800;
    color: #fff;
    line-height: 24px;
    padding-bottom: 0;
}
h1 a.navbar-brand img{
  width: 70%
}
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover {
    color: #fff;
}
.navbar-light .navbar-nav .nav-link {
    /* font-weight: 600; */
    text-transform: capitalize;
    color: #444;
    letter-spacing: 0;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .active>.nav-link {
    color: #ffffff;
    text-shadow: 1px 1px 1px #000;
    background: #5955a4;
}
button.btn.btn-content .btn-block.w-25 {
    background: #000000;
    font-weight: 600;
    color: #fff;
}
a.btn:hover {
    background: #5955a4;
    color: #fff;
}
.header-top-txt p {
    font-size: 15px;
}
/*--/navbar--*/
nav.navbar.fixed-top.navbar-expand-lg.navbar-light.navbar-fixed-top.top-nav-collapse {
    background: #f7eb48;
    top: 0px;
}
/*--logo--*/

/*-- //header --*/
/* banner */
.dropdown-item.active,
.dropdown-item:active {
    background: #fff;
    color: #c9333f;
}
.main-banner {
    padding: 12em 0;
    box-sizing: border-box;
}
h3.b-txt span {
    font-weight: 600;
    text-shadow: none;
    color: #333;
}
.header-top {
    background: #5955a4;
}
/* navigation */

/*-- banner-form --*/
.bnr-smile{
  background: url(../images/banner.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 40em
}
.banner-form form h3{
  font-size: 2em;
  font-weight: 600;
  margin: 1em 0;
}
.banner-form form{
	margin-top: 2em;
  padding: 2em;
}
.banner-form form .input-group-addon{
  padding: 0.7em;
  background: #fff;
  text-align: center;
  width: 40px;
}
.banner-form form .input-group-addon i{
  color: #5955a4
}
.banner-form input{
    font-size: 15px;
    padding-top: 3px;
    background: rgba(255,255,255,0.6);
    border: none;
    color: #eee;
}
.banner-form textarea{
    font-size: 15px;
    padding-top: 3px;
    background: rgba(255,255,255,0.6);
    border: none;
    color: #eee;
}
.banner-form .form-control {
    height: auto!important;
padding: 8px 12px !important;
border-radius: 0;
}
.banner-form .input-group {
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.21)!important;
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.21)!important;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.21)!important;
}
.banner-form .form-group button{
	margin-top: 5px;
  background: none;
border: 2px solid #ddd;
color: #ddd;
}
.banner-form .form-group button:hover{
  background: #ddd;
  color: #333;
}

.smile-row .banner-form form {
    margin-top: 0em;
    padding: 0em;
}
.smile-row .banner-form form h3 {
    font-size: 2em;
    font-weight: 600;
    margin: 0.5em 0;
}
.smile-row .banner-form .form-group button{
	margin-top: 5px;
  background: none;
border: 2px solid #999;
color: #555;
}
/*-- //banner-form --*/
/*--/header --*/
header.mainheader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.main-header .header-top p{
  color: #eee
}
nav.navbar.second {
    border: none !important;
    transition: all 1s ease;
    background: #eee;
}
.header-top-txt p {
    font-size: 14px;
    align-items: center;
    display: flex;
}
.header-top-txt p .fa-phone{
  transform: rotateY(180deg);
}
/*--/navbar--*/

/*-- /nav.navbar.second --*/
nav.navbar.second {
  padding: 0;
    border: none !important;
    transition: all 1s ease;
}
nav.navbar.shrink.pagescrollfix {
    width: 100%;
    box-shadow: 0 1px 0 0 #dadada;
    position: fixed;
    left: 0px;
    transition: all 1.2s ease;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9;
    top: 0;
    transition: all 1.5s ease;
}
nav.navbar.shrink .navbar-toggler {
    transition: all 1.5s ease;
}
.bg-transparent {
    background: transparent;
}
/*-- //nav.navbar.second --*/

/* //navigation */
h3.b-txt {
    font-size: 3.5em;
    color: #5955a4;
    font-weight: 600;
}
.carousel-item p {
    color: #000;
    text-transform: capitalize;
    font-size: 18px;
    width: 75%;
    margin-top: 1em;
}
.btn-banner {
    background: #5955a4;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 6px 16px;
}

.carousel-indicators {
    position: absolute;
    bottom: -53px;
    margin-left: 0;
    justify-content: flex-start;
    z-index: 1;
}

.carousel-indicators li {
    cursor: pointer;
}

ul.social-iconsv2 li {
    display: inline-block;
    border-radius: 50%;
}

ul.social-iconsv2 li a {
    text-decoration: none;
    font-size: 16px;
}

ul.social-iconsv2 li a span.fa {
    font-size: 16px;
    line-height: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: #ddd;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
}
ul.social-iconsv2 li a span.fa:hover{
  color: #fff
}
.carousel-indicators li {
    background-color: #5955a4;
}

.carousel-indicators .active {
    background-color: #000;
}
.banner-title img{
  width: 100%;
  height: 15em
}
/* //banner */
.about-text-grid {
    padding-left: 4em;
}
.abbot-right img {
  width: 100%;
  height: 22em;
    box-shadow: 0px 3px 10px 5px rgba(144, 141, 141, 0.96);
}
.abbot-right {
    position: relative;
    z-index: 0;
}
.abbot-right span {
    border: 9px solid #d6d6d6;
    position: absolute;
    width: 530px;
    height: 26em;
    right: -22px;
    top: -29px;
    z-index: -1;
}
h4.content -ser_bot {
    font-size: 1.8em;
    line-height: 1.5;
}
a.serv_link {
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    padding: 6px 20px;
    border-radius: 20px;
    background: #5955a4;
}
/* about bottom */
h3.stat-title {
    color: #000;
    text-transform: capitalize;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0px 1px 1px #000000;
}
/* //about bottom */

/*-- services --*/
.services{
  background: #eee;
  padding: 3em 0
}
.services .services-box h4 {
    text-transform: uppercase;
    font-size: 1em;
    margin: 1em 0;
    color: #000;
    font-weight: 600;
}
.services .classes-content {
    position: absolute;
    bottom: 0px;
    display: inline-block;
    width: 100%;
    color: #fff;
    /* top: 0px; */
    left: 0;
    text-align: center;
}
.services .classes-content h4 {
    background: #5955a4;
    padding: 10px 0;
    font-size: 1.2em;
    text-transform: capitalize;
}
.services .classes-img {
    position: relative;
    margin: 1em 0 0;
}
.services .classes-img img {
    width: 100%;
    height: 20em;
}
.services .classes-block{
    background: #fff;
        height: 29em;
}
.services .classes-block p{
    background: #fff;
    padding: 1em;
    overflow: hidden;
    font-size: 0.9em;
    height: 7em;
} 
.services .classes-block a{
        padding: 1em;
}
/*-- services --*/

/*-- gallery --*/
.gallery{
  padding: 3em 0
}
.gallery .btn:focus, .btn:active, button:focus, button:active {
  outline: none !important;
  box-shadow: none !important;
}
.gallery #image-gallery .modal-footer{
  display: block;
}
.gallery .thumb{
  margin-top: 15px;
  margin-bottom: 15px;
}
.gallery .thumb .img-thumbnail{
  width: 100%;
  height: 11em
}
.gallery .modal-body img{
  width: 100%;
height: 30em;
}
.gallery .modal-content{
  background-color: rgba(0,0,0,0.3);
}
.gallery .modal-header, .gallery .modal-footer{
  border-bottom: none;
  border-top: none;
}
.gallery .modal-footer .fa-arrow-left, .gallery .modal-footer .fa-arrow-right{
  transform: rotateY(180deg);
}
/*-- //gallery --*/

/*-- testimonials --*/
.testimonials {
    padding: 6em 0;
    background: url(../images/doctors.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}
#slider {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    margin: 0 auto;
}
.rslides_tabs {
    list-style: none;
    padding: 0;
    background: rgba(0, 0, 0, .25);
    box-shadow: 0 0 1px rgba(255, 255, 255, .3), inset 0 0 5px rgba(0, 0, 0, 1.0);
    -moz-box-shadow: 0 0 1px rgba(255, 255, 255, .3), inset 0 0 5px rgba(0, 0, 0, 1.0);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .3), inset 0 0 5px rgba(0, 0, 0, 1.0);
    font-size: 18px;
    list-style: none;
    margin: 0 auto 50px;
    max-width: 540px;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}
.rslides_tabs li {
    display: inline;
    float: none;
    margin-right: 1px;
}
.rslides_tabs a {
    width: auto;
    line-height: 20px;
    padding: 9px 20px;
    height: auto;
    background: transparent;
    display: inline;
}
.rslides_tabs li:first-child {
    margin-left: 0;
}
.rslides_tabs .rslides_here a {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: bold;
}
.events {
    list-style: none;
}
.callbacks_container {
    position: relative;
}
ul.callbacks_tabs {
    position: absolute;
    z-index: 2;
    right: 10%;
    bottom: 50px;
}
.callbacks_tabs a {
    visibility: hidden;
}
.callbacks_tabs a:after {
    content: "\f111";
    font-size: 0;
    visibility: visible;
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background: #ffffff;
}
.callbacks_here a:after {
    background: #c9333f;
}
.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
}
.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    left: 0%;
    top: 0;
    width: 100%;
}
.rslides li {
    position: relative;
    display: block;
    float: none;
}
.rslides img {
    height: auto;
    border: 0;
}
.callbacks_tabs li {
    display: inline-block;
}
.callbacks_tabs a {
    visibility: hidden;
    width: 20px;
    line-height: 19px;
    height: 20px;
    text-align: center;
    color: #000;
    font-weight: 600;
    display: block;
    background: #fff;
    border-radius: 50%;
}
.callbacks_tabs a:hover {
    background: #1165f3;
    color: #fff;
}
.testi-content {
    position: relative;
    padding: 4em 0 10em;
}
.testi-pos {
    position: absolute;
    bottom: 40px;
    left: 44%;
}
.testi-pos {
    position: absolute;
    bottom: 50px;
    left: 44%;

}
.testi-pos span.fa {
    color: #5955a4;
    font-size: 2.5em;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #fff;
}
.testi-content h4 {
    color: #000;
    font-size: 1em;
    text-transform: uppercase;
    margin: 1em 0 0.5em;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
}
.testi-content p {
    width: 80%;
    margin: 1em auto 0;
    color: #fff;
    letter-spacing: 1px;
    padding: 3em 3em 5em;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.22);
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.22);
}
/* //testimonials */

/* footer */
footer{
  background: #eee
}
.footer_grid1 span {
    color: #5955a4;
    line-height: 1.5;
    font-size: 1em;
}
.list-unstyled li span {
    color: #000;
    font-weight: 600;
    margin-right: 10px;
}
input[type="submit"] {
    cursor: pointer;
}
#footer h5 {
    margin-bottom: 20px;
    color: #000000;
    text-transform: capitalize;
    font-size: 1.4em;
}
#footer ul.social li {
    padding: 3px 0;
}
.footer-logo h2 a {
    color: #5955a4;
    font-size: 0.9em;
    text-transform: capitalize;
}
.footer-logo p {
    font-size: 14px;
}
.footer-logo h2 a span {
    display: block;
    font-size: 0.5em;
    text-transform: capitalize;
    color: #000;
    letter-spacing: 1px;
    font-weight: 600;
}
#footer ul.social li a i {
    margin-right: 5px;
    font-size: 25px;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}
#footer ul.social li:hover a i {
    font-size: 30px;
    margin-top: -10px;
}
#footer ul.social li a,
#footer ul.quick-links li a {
    color: #000;
}
#footer ul.social li a:hover {
    color: #eeeeee;
}
#footer ul.quick-links li {
    padding: 3px 0;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
    color: #6c757d;
}
#footer ul.quick-links li a:hover {
    padding: 3px 0;
    margin-left: 5px;
    font-weight: 700;
}
#footer ul.quick-links li a i {
    margin-right: 5px;
    color: #189ba7;
}
#footer ul.quick-links li:hover a i {
    font-weight: 700;
}
fv3-contact span {
    color: #56ab2f;
    font-size: 1.2em;
    display: inline-block;
    background: #eee;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
}
.fv3-contact p {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    letter-spacing: 0px;
    width: 80%
}
.fv3-contact p a {
    color: #333;
}
@media (max-width:767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}
/*-- footer */
.content-contact-top {
    padding: 8em;
}
/*--contact--*/
#contact {
    /* background: url(../images/contact.png) no-repeat center top;
    background-size: cover; */
}
.contact-bottom h5,
.smile-form-left h5 {
    color: #333;
    text-transform: uppercase;
    font-size: 1.4em;
    margin-bottom: 1.5em;
    font-weight: 600;
    letter-spacing: 1px;
}
.contact-right-s span {
    background: #5955a4;
    width: 60px;
    height: 60px;
    line-height: 60px;
    color: #eee;
    font-size: 1.3em;
    text-align: center;
    border-radius: 50%;
}
.fv3-contact h6 {
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}
.address h5 {
    color: #333;
    text-transform: capitalize;
    font-size: 1.1em;
}
.address p a,
p.c-txt {
    color: #777;
}
.address p a:hover {
    color: #000;
}
form.contact-smile label {
    width: 30%;
    line-height: 2.5;
    color: #fff;
    font-weight: 600;
}
form.contact-smile .form-control {
    border: none;
    border-bottom: 4px solid #eee;
}
.contact-top1 h5 {
    font-size: 2em;
}
.address h5 {
    font-size: 1.5em;
}
/*--//contact--*/
.icon span {
    width: 100px;
    height: 100px;
    color: #ffffff;
    border-radius: 50%;
    line-height: 100px;
    text-align: center;
    font-size: 3em;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    background: #5955a4;
}

/* //team */
.cpy-right {
    background: #5955a4;
}
.cpy-right p a {
    color: #000;
}
/*-- bottom-to-top --*/
#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 24px;
    right: 3%;
    overflow: hidden;
    z-index: 999;
    width: 32px;
    height: 32px;
    border: none;
    text-indent: 100%;
    background: url(../images/move-top.png) no-repeat 0px 0px;
}
#toTopHover {
    width: 32px;
    height: 32px;
    display: block;
    overflow: hidden;
    float: right;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
}
/*-- //bottom-to-top --*/

/* -- Responsive code -- */
@media screen and (max-width: 1440px) {
    h3.b-txt {
        font-size: 3em;
    }
}

@media screen and (max-width: 1080px) {
    .abbot-right span {
        width: 453px;
        height: 377px;
        left: -25px;
    }
}

@media screen and (max-width: 1050px) {
    h3.b-txt {
        font-size: 2.7em;
    }
}

@media screen and (max-width: 1024px) {
    h3.b-txt {
        font-size: 2.7em;
    }
}

@media screen and (max-width: 991px) {
    .main-banner {
        padding: 17vw 2em 13vw;
    }

    .banner {
        min-height: 300px;
        background-position: left;
    }

    .carousel-item p {
        width: 100%;
    }
    h3.b-txt {
        font-size: 2.6em;
    }
    .abbot-right span {
        width: 86%;
        height: 366px;
    }
    .about-text-grid {
        padding-left: 0em;
        margin-top: 2em;
    }
    h3.stat-title {
        font-size: 2.5em;
    }
    .testi-content p {
        width: 99%;
    }
    .content-contact-top {
        padding: 4em;
    }
}
@media screen and (max-width: 900px) {
    .testimonials {
        padding: 4em 0 2em;
    }
}
@media screen and (max-width: 800px) {
    h3.b-txt {
        font-size: 2.5em;
    }
    h4.content -ser_bot {
        font-size: 1.6em;
    }
    .testi-pos {
        left: 41%;
    }
}
@media screen and (max-width: 768px) {
    h3.b-txt {
        font-size: 2.2em;
    }
    .abbot-right span {
        width: 76%;
        left: 39px;
    }
}
@media screen and (max-width: 736px) {
    .carousel-item p {
        font-size: 16px;
    }
    .abbot-right span {
        width: 86%;
        height: 400px;
    }
    .about-text-grid {
        margin-top: 4em;
    }
}

@media screen and (max-width: 667px) {
    h4.content -ser_bot {
        font-size: 1.5em;
    }

    .content-contact-top {
        padding: 3em 1em;
    }
}

@media screen and (max-width: 640px) {
    .testi-content {
        padding: 2em 0 10em;
    }
}

@media screen and (max-width: 568px) {
    .abbot-right span {
        border-color: transparent;
    }

    .about-text-grid {
        padding-left: 1em;
        margin-top: 3em;
    }

    h3.stat-title {
        font-size: 2.3em;
    }

    .w-75 {
        width: 100% !important;
    }

    .contact-right-s span {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.3em;
    }

    .classes-block h5 {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
  .bnr-smile{
    min-height: 50em
  }
  .main-banner {
    padding: 17vw 2em 5vw;
}
.banner-form form {
    margin-top: 0em;
    padding: 1em;
}
.gallery .thumb .img-thumbnail {
    width: 100%;
    height: 14em;
}
.gallery .modal-body img {
    width: 100%;
    height: 20em;
}
.banner-title img {
    width: 100%;
    height: 12em;
}
.abbot-right img{
  height: 18em
}
    h3.b-txt {
        font-size: 1.8em;
    }

    .btn-banner {
        font-size: 13px;
        padding: 6px 14px;
    }

    .carousel-item p {
        font-size: 15px;
    }

    h1 a.navbar-brand {
        font-size: 0.7em;
    }

    h1 a.navbar-brand span {
        font-size: 12px;
        letter-spacing: 2px;
    }

    h4.content -ser_bot {
        font-size: 1.3em;
    }

    a.serv_link {
        letter-spacing: 0px;
        padding: 6px 22px;
        font-size: 14px;
    }

    h3.stat-title {
        font-size: 2em;
    }

    .testi-content p {
        padding: 2em 2em 4em;
    }

    .testi-pos {
        left: 38%;
    }

    .contact-bottom h5,
    .smile-form-left h5 {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 414px) {
    .carousel-item p {
        font-size: 15px;
    }
    .icon span {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 2em;
    }
}

@media screen and (max-width: 384px) {
    .header-top p {
        font-size: 15px;
    }

    h4.content -ser_bot {
        font-size: 1.2em;
    }

    p {
        font-size: 0.9em;
    }

    h3.stat-title {
        font-size: 1.8em;
    }
    .testimonials {
        padding: 2em 0 1em;
    }
    .pos-date-even {
        top: 80%;
    }
    .fv3-contact h6 {
        font-size: 0.95em;
    }

    #footer h5 {
        font-size: 1.2em;
    }

    .footer-logo h2 a {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 375px) {
    .contact-add {
        padding-left: 2em;
    }

    form.contact-smile label {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 320px) {
    .header-top p {
        font-size: 12px;
    }

    ul.social-iconsv2 li a span.fa {
        margin-right: 5px;
    }

    h3.b-txt {
        font-size: 1.5em;
    }

    .carousel-indicators {
        bottom: -40px;
    }

    h4.content -ser_bot {
        font-size: 1.15em;
    }
    h3.stat-title {
        font-size: 1.6em;
    }

    .testi-pos {
        left: 31%;
    }

    .testi-content p {
        padding: 2em 1em 4em;
    }
}

/* -- //Responsive code -- */
