/*
 * Specific styles of signin component
 */
/*
 * General styles
 */
html {
    background-color: #404040;
}
body {
    font-size: 1rem;
    line-height: 1.8rem;
    font-family: 'Open Sans', sans-serif;
    background-color: #d5dddf;
    margin: auto;
}

body.container {
    padding-left: 0;
    padding-right: 0;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
    margin: auto;
}

@media (min-width: 1200px) {
    body.container {
        max-width: 980px;
        margin: auto;
    }
}

a {
    color: #18549c;
}

a:hover {
    color: #282f37;
}

p {
    margin-bottom: 18px;
    text-align: justify;
}

section {
    padding: 1.75rem 0;
}

.blue {
    color: #18549c;
}

.yellow {
    color: #f1c40f;
}

@media (min-width: 576px) { 
    .container {
        padding-left: 8%;
        padding-right: 8%;
    }
}


/* Dr-Name Section */

.dr-title-section {
    background-color: #282f37;
}
.dr-name {
    color: #f3c510;
    font-weight: bold;
    text-align: right;
    width: 60%;
}
.dr-name span {
    color: #fff;
    font-weight: 400;
    display: block;
    font-size: 65%;
    margin-top: 10px;
}


/* About Doctor Section */

.about-dr {
    background-color: #d5dddf;
}

.image-dr {
    width: 35%;
    margin-top: -18%;
    margin-left: 5%;
    margin-bottom: 3%;
}
.image-dr img {
    border-radius: 50%;
    border: 3px solid #282f37;
}

/* Third Section */

.clinic-tagline h4 {
    color: #fff;
    line-height: 2.2rem;
}

/* Fourth Section */

.red-color {
    background-color: #c0392b;
    padding: 2.15rem 0;
}


/* Fifht Section (Services) */

.services-section {
    padding: 2.5rem 0;
}
.services-section h4 {
    position: relative;
    padding-bottom: 1.2rem;
    font-size: 1.4rem;
}

.services-section h4::after {
    content: '';
    position: absolute;
    width: 45%;
    /*border: 1px solid transperant;*/
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: linear-gradient(90deg, #ffa50000, #18549c 50%, #00ffff00);
    height: 2px;
}

.services-section ul {
    overflow: hidden;
    padding: 2% 8% 0;
    list-style-type: none;
}

.services-section ul li {
    position: relative;
    width: 48%;
    float: left;
    font-size: 1.4rem;
    line-height: 2rem;
    padding-left: 4.2%;
    margin: 1% 1% 2.5% 1%;
}

.services-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    border: 6px solid #18549c;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    top: 10px;
}

.services-section ul li.double-line::before {
    top: 25px;
}


/* Sixth Section */

.blue-color {
    background-color: #18549c;
}

.blue-color span {
    color: #fff;
    font-weight: 300;
    display: block;
    font-size: 90%;
    padding-bottom: .5rem;
}


/* Seventh Section */

.address-block p {
    font-size: 1.15rem;
    line-height: 1.9rem;
}

.address-block {
    position: relative;
}

.address-block .top-to-bottom,
.address-block .bottom-to-top {
    position: absolute;
    right: 0;
}

.address-block .top-to-bottom {
    top:50%;
    bottom: 0;
    border-width: 1px;
    border-style: solid;
    -webkit-border-image: 
      -webkit-gradient(linear, 0 0, 0 100%, from(#18549c), to(rgba(0, 0, 0, 0))) 1 100%;
    -webkit-border-image: 
      -webkit-linear-gradient(#18549c, rgba(0, 0, 0, 0)) 1 100%;
    -moz-border-image:
      -moz-linear-gradient(#18549c, rgba(0, 0, 0, 0)) 1 100%;    
    -o-border-image:
      -o-linear-gradient(#18549c, rgba(0, 0, 0, 0)) 1 100%;
    border-image:
      linear-gradient(to bottom, #18549c, rgba(0, 0, 0, 0)) 1 100%;
}

.address-block .bottom-to-top {
    top: 0;
    bottom: 50%;
    border-width: 1px;
    border-style: solid;
    -webkit-border-image: 
      -webkit-gradient(linear, 0 100%, 0 0, from(#18549c), to(rgba(0, 0, 0, 0))) 1 100%;
    -webkit-border-image: 
      -webkit-linear-gradient(bottom, #18549c, rgba(0, 0, 0, 0)) 1 100%;
    -moz-border-image:
      -moz-linear-gradient(bottom, #18549c, rgba(0, 0, 0, 0)) 1 100%;  
    -o-border-image:
      -o-linear-gradient(bottom, #18549c, rgba(0, 0, 0, 0)) 1 100%;
    border-image:
      linear-gradient(to top, #18549c, rgba(0, 0, 0, 0)) 1 100%;
}

.map-block {
    border: 2px solid #18549c;
}


/* Eight Section (Write to us) */

.write-to-us {
    background-color: #f1c40f;
}

#contact-form .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    padding-left: 5px;
}

#contact-form .form-control:focus {
    box-shadow: none;
}

#contact-form .form-control::placeholder {
  color: #111;
  font-size: 14px;
}

#contact-form .btn-send {
    background: #18549c;
    font-weight: 600;
    padding: 0.55rem 2rem;
    color: #fff;
}

.loading {
    width: 30px;
    display: inline-block;
    margin-bottom: -10px;
    margin-left: 15px;
    display: none;
}

#contact-form .with-errors {
    font-size: 14px;
    color: red;
    display: none;
}
#contact-form .with-errors ul {
    margin-bottom: 0;
}

#contact-form .has-error .form-control {
    border-color: red;
}

.contact-info li {
    margin-bottom: 0.7rem;
    border-bottom: 1px dashed rgba(51, 51, 51, 0.2);
    padding-bottom: 0.7rem;
} 
.contact-info span {
    display: block;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}
.contact-info li img {
    width: 20px;
    margin-top: -4px;
    margin-right: 7px;
}
.contact-info li a {
    color: #111;
}
.contact-info li a:hover {
    color: #18549c;
}


.footer-copyright {
    background-color: #000;
}
.footer-copyright p {
    margin-bottom: 0;
    color: #afafaf;
    padding: 15px 0;
    font-size: 14px;
}
.footer-copyright p a {
    color: #fff;
}


@media (max-width: 767.98px) { 
    .dr-name {
        width: 100%;
        font-size: 2rem;
        text-align: center;
    }
    .image-dr {
        float: none !important; 
        width: 85%;
        margin: 0 auto 8%;
    }
    .services-section ul li {
        width: 100%;
        padding-left: 8.2%;
    }
    .address-block .top-to-bottom, .address-block .bottom-to-top {
        display: none;
    }
    .footer-copyright .copyright p {
        padding-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .dr-name {
        font-size: 1.5rem;
    }
}