@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Averia+Sans+Libre:wght@700&display=swap');
/*------------------------------------------------------------------ fonts -------------------------------------------------------------------*/

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}


.social-links {
    padding: 0 10px;
}

.top-section-2 {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

    padding: 10px;
}

.header-bg {
    background: linear-gradient(180deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 13%, rgba(255, 255, 255, 1) 100%);
    border: solid 1px #f2f2f2;
    position: relative;
}


.tips {
    letter-spacing: 1px;
    font-size: 14px !important;
}

/*************************
   Search
*************************/
.search-parent {
    width: 40px;
    height: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #D0CFCE;
    transition: all 1s ease-in;
    border-radius: 0;
    border-radius: 20px;
    padding-left: 40px;
}

.search-parent:hover {
    width: 100%;
    padding-left: 0px;
    border-radius: 10px;
    border: 1px solid #0078bf;
}

input#search-bar {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 10px 0 15px;
    font-size: 14px;
    outline: none;
    border: none;
    //margin-left: 25px;
}


.search-icon {
    position: absolute;
    float: right;
    top: 11px;
    right: 11px;
    color: #c5c6c6;
}




.img-fluid {
    max-width: 100%;
    //padding: 20px 20px 20px 20px;
    margin-top: 0px !important;
    margin: 0px;
    height: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}



section .section-title {
    text-align: center;
    color: #007b5e;
    margin-bottom: 50px;
    text-transform: uppercase;
}

#footer {
    background: #fff !important;
    color: #999999;
    margin-top: 50px;
}

#footer h5 {
    padding-left: 10px;
    padding-bottom: 6px;
    margin-bottom: 20px;
    color: #999999;
}



.footer-2 {
    background-color: #0078bf;
    color: #fff;
}

.footer-logo {
    width: 100%;
    max-width: 27%;
    padding: 30px;
    margin-left: 55px;
}

.location-icon {
    width: 100%;
    max-width: 40px;
    height: auto;
    margin-left: 20px;
}

.footer-text {
    float: left;
    color: #919191;
    font-size: 18px;
}

.footer-icon {
    float: right;
}

.adress-div {
    float: left;
}

.links {
    width: 100%;
}



.pharmed-address {
    color: #1080c2;
    font-family: serif;
    font-size: 18px;
    font-weight: 500;
    font-weight: bold;
    line-height: 2em;
}

.pharmed-numbers {
    color: #1080c2;
}

.follow-us {
    font-family: sans-serif;
    color: #999999;
}
.follow-us a {
    color:#0078bf;
    text-decoration: none;
}

.socil-icon {
    color: #1080c2;
}

.extra-space {
    margin-bottom: 50px;
}

.footer-gap {
    margin-top: 10px;
}


.scroll {
    color: #fff;
    margin-top: 100px
}



#toTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #1080c2;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#toTopBtn:hover {
  background-color: #555;
}


.cd-top {
    position: fixed;
    bottom: 20px;
    bottom: var(--cd-back-to-top-margin);
    right: 20px;
    right: var(--cd-back-to-top-margin);
    display: inline-block;
    height: 40px;
    height: var(--cd-back-to-top-size);
    width: 40px;
    width: var(--cd-back-to-top-size);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05) !important;
    background: url(../images/cd-top-arrow.svg) no-repeat center 50%;
    background-color: hsla(5, 76%, 62%, .8);
    background-color: hsla(var(--cd-color-3-h), var(--cd-color-3-s), var(--cd-color-3-l), 0.8)
}



.quick-links-header {
    font-weight: 700 !important;
    color: #0078bf !important;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}



.links ul li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font: 18px;
    font-weight: 500;
    background-color: #fff;
    color: #999999;
    border-bottom: 1px solid #e6e6e6;
    transition: transform 250ms ease-in-out;
    position: relative;
}

.links ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #0078bf;
    position: absolute;
    transform-origin: left;
    transform: scale(0, 1);
    transition: transform 250ms ease-in-out;
    z-index: 59999;
}
.links ul li a::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #0078bf;
    position: absolute;
    transform-origin: left;
    transform: scale(0, 1);
    transition: transform 250ms ease-in-out;
    z-index: 59999;
}

.links ul li a:hover{
    background: rgb(229, 244, 253);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(229, 244, 253, 1) 100%);
    color: #0078bf;
    text-decoration: none;
}
.links ul li a:hover::after,
.links ul li a:hover::before{
    text-decoration: none;
    transform: scale(1, 1)
}

.links-active {
    background: rgb(229, 244, 253);
    background: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(229, 244, 253, 1) 100%);
    color: #0078bf !important;
}

.links ul li a i {
    position: absolute;
    top: 22px;
    right: 20px;
    font-size: 10px;
}

.terms-disc a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
}




@media only screen and (min-device-width : 320px) and (max-device-width : 768px) {

   

    .socil-icons-top {
        visibility: hidden;
    }

    .justify-content-end {
        align-items: center !importent;

    }

    .footer-logo {
        width: 100%;
        max-width: 35%;
        padding: 30px;
        margin-left: 0px;
    }

    .footer-text {
        float: none;
        color: #919191;
        font-size: 18px;
        text-align: left !important;
    }

    .footer-address-mobile {
        text-align: left;
        line-height: 1.75;
    }

    .footer-address-mobile img {
        float: left;
    }

    .footer-address-mobile p {
        text-align: left !important;
    }

    .quick-links-header {
        font-size: 24px;
    }

    .quick-links-header::before {
        content: '';
        height: 2px;
        background: #0078bf;
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
    }

    .quick-links {
        margin-left: 0;
        text-align: left;
    }

    .links ul li a {
        padding: 15px 20px;
    }

    .links ul li a i {
        top: 20px;
        right: 40px;
    }

    .follow-us {
        font-family: sans-serif;
        color: #999999;
        text-align: left !important;
    }
}


