/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}



.form-search {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 78px;
}

.form-search button {
    padding: 12px 64.5px;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #fff;
    background: #488343;
    text-transform: uppercase;
}

.form-search .form-group {
    margin-bottom: 0;
    width: calc((100% - 260px) / 2);
    margin-right: 30px;
}

.form-search .form-group input {
    border: 1px solid #EDEDED;
    padding: 14px 18px;
    border-radius: 5px;
    color: #5C6368;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.wrap-table .content-table .item,
.wrap-table .head-table .item-head {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
}

.wrap-table .content-table .item > div ,
.wrap-table .head-table .item-head > div {
    width: 25%;
    border: 1px solid #E5E5E5;
    border-left: none;
    border-bottom: none;
    padding: 9.5px;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color:  #161E2D;
    text-transform: capitalize;
    text-align: center;
}

.wrap-table .head-table .item-head > div {
    font-weight: 700;
    color: #fff;
    background: #488343;
}

.wrap-table .content-table .item > div:first-child ,
.wrap-table .head-table .item-head > div:first-child {
    border-left: 1px solid #E5E5E5;
}

.wrap-table .content-table .item > div:not(:last-child) ,
.wrap-table .head-table .item-head > div:not(:last-child) {
    border-right: 1px solid #E5E5E5;
}

.wrap-table .content-table .item:last-child > div {
    border-bottom: 1px solid #E5E5E5;
}

#form_search_submit.loading {
    position: relative;
    border-color: #fff;
}

.wrap-table .content-table .item-not-found {
    padding: 10px;
    border: 1px solid #E5E5E5;
    border-top: none;
}

.wrap-table .content-table .item-not-found.item-empty {
    padding: 20px;
}

table th, table td {
    vertical-align: middle;
}
.content-table,
.form-group.date {
    position: relative;
}


.form-group.date input {
    position: relative;
    z-index: 5;
    background: transparent;
}

.form-group.date svg {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.tf-search-doctor.loading:after,
.content-table.loading:after,
#form_search_submit.loading:after {
    background-color: #fff;
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.7;
}

.tf-search-doctor.loading:after {
    width: 100vw;
    height: 100vh;
    position: fixed;
}

.tf-search-doctor.loading:before,
.content-table.loading:before ,
#form_search_submit.loading:before {
    border-width: 3px;
    border-color: #666 #666 #666 transparent;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border-style: solid;
    -webkit-animation: fl-spin-fast 1s linear infinite;
    animation: fl-spin-fast 1s linear infinite;
    content: " ";
    width: 20px;
    height: 20px;
    left: 50%;
    margin-top: -10px;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: all 0.3s ease;
    position: absolute;
    background-color: #fff;
    z-index: 10;
}


@keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

@-webkit-keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

@-o-keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

@-ms-keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

/* Active search doctor */
.tf-search-doctor .wrap-table .content-table .item:hover {
    cursor: pointer;
}

.tf-search-doctor .wrap-table .content-table .item.active > div,
.tf-search-doctor .wrap-table .content-table .item.active:last-child > div,
.tf-search-doctor .wrap-table .content-table .item:hover:last-child > div,
.tf-search-doctor .wrap-table .content-table .item:hover > div {
    background: #161E2D;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
}

.tf-search-doctor.loading:after {
    width: 100vw;
    height: 100vh;
}


@media only screen and (max-width: 850px) {
    
    .wrap-table {
       overflow-x: auto;
    }

    .wrap-table .item-head,
    .wrap-table .item {
        width: 850px;
     }
}

@media only screen and (max-width: 767px) {
    .form-search .form-group {
        margin-bottom: 0;
        width: calc((100% - 260px));
        margin-right: 30px;
    }

    .form-search {
        flex-wrap: wrap;
        row-gap: 30px;
    }
}

@media only screen and (max-width: 500px) {
    .form-search .form-group {
        margin-bottom: 0;
        width: calc((100%));
        margin-right: 0px;
    }

    .form-search .button {
        width: 100%;
    }
}