/* =====================================
Template Name: 	Medical Lister
Author Name: NAXHOST
Website: https://www.naxhost.com
Description: Medical Lister Laravel CMS Developed by NAXHOST.
Version:	2.3
========================================*/

.bg-grey {
    background-color: #f5f3ef;
}
.my-button-style {
    color: #fff !important;
    height: 40px;
    min-width: 40px;
    width: auto;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
}
.my-button-style-small {
    color: #fff !important;
    height: 30px;
    min-width: 40px;
    width: auto;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
}
.hover-effect-black {
    background-image: -webkit-linear-gradient(30deg, transparent 50%, #212529 50%);
    background-image: linear-gradient(30deg, transparent 50%, #212529 50%);
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: 0%;
    -webkit-transition: background 300ms ease-in-out;
    transition: background 300ms ease-in-out;
    &:hover {
        background-position: 100%;
        color: #FFF !important;
    }
}

/* Floating Section */
.floating-section {
    position: fixed;
    z-index: 200;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: #fff;
    li {
        position: relative;
        figure {
            position: absolute;width:calc(250 / 16 * 1em);
            padding-right: calc(24 / 16 * 1em);
            right: 100%;
            top: 0;
            display: none;
            dl {
                background: #fff;
                padding: calc(12 / 16 * 1em);
                box-shadow: 0 0 10px rgba(0,0,0,0.2);
                line-height: 2;
                border-radius: 10px;
                position: relative;
                &:after {
                    position: absolute;
                    content: '';
                    border: 8px solid transparent;
                    border-left-width: 8px;
                    border-left-color: #fff;
                    top: 17%;
                    left: 100%;
                    transition: 0.3s;
                }
                a {
                    color: #082535;
                    display: block;
                }
                dd:not(:last-child) {
                    border-bottom: 1px solid #f0f0f0;
                }
            }
        }
    }
    li.whatsapp > a {
        background: url(../images/icon/icon-whatsapp.svg) no-repeat center #fff;
        background-size: calc(36 / 16 * 1em);
    }
    li.phone > a {
        background: url(../images/icon/icon-tel.svg) no-repeat center #fff;
        background-size: calc(30 / 16 * 1em);
    }
    li.form > a {
        background: url(../images/icon/icon-form.svg) no-repeat center #fff;
        background-size: calc(34 / 16 * 1em);
    }
    li.top a {
        background: url(../images/icon/icon-top.svg) no-repeat center #01b2b7;
        background-size: calc(26 / 16 * 1em);
    }
    li > a {
        width: calc(68 / 16 * 1em);
        height: calc(68 / 16 * 1em);
        position: relative;
        display: block;
    }
}
@media (max-width:1024px) {
    .floating-section {
        top: 80%;
        li > a {
            width: calc(50 / 16 * 1em);
            height: calc(50 / 16 * 1em);
        }
        li.whatsapp > a {
            background-size: calc(28 / 16 * 1em);
        }
        li.phone > a {
            background-size: calc(24 / 16 * 1em);
        }
        li.form > a {
            background-size: calc(26 / 16 * 1em);
        }
        li.top a {
            background-size: calc(20 / 16 * 1em);
        }
    }
}

/* Search Box */
#popup-search-box {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 500ms ease all;
    -moz-transition: 500ms ease all;
    transition: 500ms ease all;
}

.open-search-box #popup-search-box {
    opacity: 1;
    visibility: visible;
}

#searchbox-overlay {
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    transition: all 0s ease-in-out;
    width: 100%;
    cursor: default;
    z-index: -1;
}

.open-search-box #searchbox-overlay {
    opacity: 1;
    z-index: 1002;
    transition: all 0.6s ease-in-out;
    transition-delay: 0.3s;
}

#popup-search-box .box-inner-wrap {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 80px 0;
    width: 100%;
    transform: translateY(-100%);
    transition: all ease-in-out 0.3s;
    box-shadow: 0 10px 60px rgb(0 0 0 / 10%);
}

.open-search-box #popup-search-box .box-inner-wrap {
    transform: translateY(0);
}

#popup-search-box .box-inner-wrap form {
    position: relative;
    margin: 0 auto;
}

#popup-search-box .box-inner-wrap input::-webkit-input-placeholder {
    /* Edge */
    color: #666;
}

#popup-search-box .box-inner-wrap input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #666;
}

#popup-search-box .box-inner-wrap input::placeholder {
    color: #666;
    font-size: 18px;
}

#popup-search-box .box-inner-wrap input {
    background: #fff;
    font-family: "Space Grotesk", sans-serif;
    width: 600px;
    padding: 15px 30px;
    padding-right: 80px;
    border: 1px solid #eee;
    font-size: 18px;
    color: #666;
    border-radius: 50px;
}

#popup-search-box .box-inner-wrap input::-webkit-input-placeholder {
    color: #666 !important;
}

#popup-search-box .box-inner-wrap input::-moz-placeholder {
    /* Firefox 18- */
    color: #666 !important;
}

#popup-search-box .box-inner-wrap input::-moz-placeholder {
    /* Firefox 19+ */
    color: #666 !important;
}

#popup-search-box .box-inner-wrap input:-ms-input-placeholder {
    color: #666 !important;
}

#popup-search-box .box-inner-wrap input:focus {
    outline: none;
    border: 1px solid #E20000;
}

#popup-search-box .box-inner-wrap button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 100%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    font-size: 30px;
    -webkit-transition: 500ms ease all;
    -moz-transition: 500ms ease all;
    transition: 500ms ease all;
}

#popup-search-box .box-inner-wrap button:hover {
    color: #E20000;
}

#popup-search-box .box-inner-wrap button:focus {
    outline: none;
}

.search-close {
    font-size: 30px;
    color: #666;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.85, 0.45, 1);
}

.search-close:hover {
    color: #E20000;
    transform: scale(1.1);
}



.search-page-body {
    background: #f3f6ff;
    display: block;
    padding: 10px;
    box-shadow: 0 0 10px #00000024;
}
.search-page-body .search {
    position: relative;
}
.search-page-body .search input {
    width: 100%;
    height: 40px;
    box-shadow: none;
    text-shadow: none;
    font-size: 14px;
    color: #222;
    background: transparent;
    padding: 0 70px 0 20px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border: 2px solid #a9a7da;
    border-radius: 5px;
}

.search-page-body .search .button {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 60px;
    line-height: 40px;
    box-shadow: none;
    text-shadow: none;
    text-align: center;
    border: none;
    font-size: 14px;
    color: #fff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border-radius: 0 5px 5px 0;
}
