﻿.ant-input-affix-wrapper, .ant-input, .ant-select-selector {
    background-color: #FCFDFF !important;
    border-color: #6f7181 !important;
}

    .ant-breadcrumb .ant-breadcrumb-link, .ant-breadcrumb .ant-breadcrumb-link a {
        color: #0064A3 !important;
        font-size: 14px !important;
        border-bottom: 1px solid #0064A3;
        cursor: pointer;
    }

.ant-btn {
    border-radius: 0 !important;
    font-family: 'Fira Sans', sans-serif !important;
    font-size: 15px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
}

.ant-btn-primary {
    color: #fff !important;
    background-color: #337ab7 !important;
    border-color: #2e6da4 !important;
}

.ant-btn-link {
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-right: 2px !important;
    font-weight: bold !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
}

.ant-input:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6) !important;
}

.ant-pagination-item, .ant-pagination-item-link {
    border: none !important;
    background-color: rgba(0,0,0,0) !important;
    min-width: 20px !important;
    margin-right: 2px !important;
}

.ant-pagination-prev {
    margin-right: 2px !important;
}

    .ant-pagination-item button, .ant-pagination-item-link button {
        color: #0064A3 !important;
        border-bottom: 1px solid #0064A3 !important;
        padding: 0 4px !important;
        border: none;
        font-weight: 500;
        background: transparent;
        width: 100%;
    }

    .ant-pagination-item:hover button, .ant-pagination-item-link:hover button {
        color: var(--blue-700) !important;
    }

.ant-pagination-item-active {
    border: 1px solid #0064A3 !important;
    border-radius: 3px !important;
    min-width: 32px !important;
}

    .ant-pagination-item-active button {
        border-bottom: none !important;
        padding: 0 4px !important;
    }

.ant-picker-range {
    width: 100%;
    background-color: #FCFDFF !important;
    border-color: #6f7181 !important;
}

.ant-checkbox-inner {
    background-color: #FCFDFF !important;
    border-color: #6f7181 !important;
}

.ant-checkbox-checked .ant-checkbox-inner {
    background-color: #1890ff !important;
    border-color: #1890ff !important;
}

.ant-form-item-explain.ant-form-item-explain-error {
    color: #D13101 !important;
}

.ant-descriptions-item-content {
    display: inline-flex;
    flex-direction: column;
    font-weight: bold;
}

.ant-descriptions-row > td, .ant-descriptions-row > th {
    padding-bottom: 5px;
}

.ant-input-disabled {
    color: #555555 !important;
    background-color: #ededed !important;
}

.ant-select-disabled {
    color: #555555 !important;
    background-color: #ededed !important;
}

.ant-checkbox-disabled + span {
    color: rgba(0,0,0,.45);
}

/* new style */
.medicines-list-section .ant-table-thead tr {
    display: none !important;
    /* background-color: yellow !important;*/
}

.medicines-table .ant-checkbox-checked .ant-checkbox-inner::after {
    transform: rotate(45deg) scale(0.65) translate(-115%,-60%) !important;
}

.medicines-table .ant-checkbox-checked .ant-checkbox-inner::after {
    position: absolute;
    display: table;
    border: 4px solid #fff;
    border-top: 0;
    border-left: 0;
    width: 10px;
    transform: rotate(45deg) scale(1) translate(-50%,-50%);
    opacity: 1;
    transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s;
    content: ' ';
}

/*.medicines-table .ant-checkbox-checked .ant-checkbox-inner {
    background-color: white !important;
    border-color: var(--blue-500) !important;
    border-radius: 5px !important;
}

.medicines-table .ant-checkbox-checked .ant-checkbox-inner::after {
    position: absolute;
    display: table;
    border: 5px solid var(--blue-500) !important;
    border-radius: 2px !important;
    transform: rotate(0deg) scale(1.25) translate(4%,-44%) !important;
    opacity: 1;
    transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s;
    content: ' ';
}*/

.medicines-list-section .ant-table-cell button {
      display: none !important;
    background-color: white !important;
    border-color: #0064A3 !important;
    color: #0064A3 !important;
    font-weight: 500;
}

.medicines-list-section .ant-table-container  {
    border: none !important;
}

.medicines-list-section .ant-table-tbody > tr > td {
    border-top: 8px solid var(--background) !important;
    margin-bottom: 25px !important;
}

.medicines-list-section .ant-table-tbody > tr  {
     box-shadow: 0px .5px .5px #0000001A !important;
     margin-top: 20px !important;
}


.medicines-list-section .ant-table-tbody > tr:first-child > td {
    border-top: 1px solid var(--background) !important;
}

.medicines-list-section .ant-pagination-item{
    background-color:yellow !important;
}

/* PAGINATION */

.ant-pagination-disabled .ant-pagination-item-link, .ant-pagination-disabled:focus-visible .ant-pagination-item-link, .ant-pagination-disabled:hover .ant-pagination-item-link{
    display:none !important;
}

.ant-pagination-prev .ant-pagination-disabled{
    display:none !important;
}

.ant-space {
    display: none !important;
}

/* Modals */
.ant-modal-content {
    top: 250px !important;
    background: #FFFFFF;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.13);
}

.ant-modal.ant-zoom-enter, .ant-modal.antzoom-appear {
    width: 600px !important;
}

.ant-modal-header {
    padding: 32px !important;
    border-bottom: none !important;
}

.ant-modal-footer {
    padding: 32px !important;
    border-top: none !important;
}

.ant-modal-close-x {
    display: block;
    width: 56px;
    height: 56px;
    font-size: 16px;
    font-style: normal;
    line-height: 56px;
    text-align: center;
    margin: 32px 6px 0 0 !important;
    text-rendering: auto;
}

.ant-modal-body {
    padding: 0 32px;
    font-size: 14px;
    line-height: 1.5715;
    word-wrap: break-word;
}

.ant-modal.ant-zoom-enter, .ant-modal.antzoom-appear {
    transform: none;
    opacity: 0;
    animation-duration: .001s;
    user-select: none;
}

.ant-zoom-leave {
    animation-duration: .00001s;
    animation-fill-mode: both;
    animation-play-state: paused;
}

.ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
    display: none !important;
}

.ant-modal-content {
    padding: 0 0 32px 0 !important;
}


/* Switch */
.ant-switch-checked {
    background-color: #0064A3 !important;
}

/* Report tables */
.ant-table-custom {
    white-space: nowrap;
}

    .ant-table-custom table {
        table-layout: auto !important;
    }

@media only screen and (max-width: 600px) {
    .ant-table-custom {
        max-width: 400px;
    }
}

@media only screen and (min-width: 600px) {
    .ant-table-custom {
        max-width: 550px;
    }
}

@media only screen and (min-width: 768px) {
    .ant-table-custom {
        max-width: 700px;
    }
}

@media only screen and (min-width: 992px) {
    .ant-table-custom {
        max-width: 900px;
    }
}

@media only screen and (min-width: 1200px) {
    .ant-table-custom {
        max-width: 1100px;
    }
}

@media only screen and (min-width: 1400px) {
    .ant-table-custom {
        max-width: 1300px;
    }
}

@media only screen and (min-width: 1600px) {
    .ant-table-custom {
        max-width: 1500px;
    }
}

@media only screen and (min-width: 1900px) {
    .ant-table-custom {
        max-width: 1800px;
    }
}

@media only screen and (min-width: 1400px) {
    .main-page-message {
        max-width: 800px;
        display: inline;
    }
}

@media only screen and (min-width: 1600px) {
    .main-page-message {
        max-width: 700px;
        display: inline;
    }
}

@media only screen and (min-width: 1900px) {
    .main-page-message {
        max-width: 700px;
        display: inline;
    }
}

@media only screen and (min-width: 2300px) {
    .main-page-message {
        max-width: 500px;
        display: inline;
    }
}

.ant-collapse-item-active {
    border: 3px solid #0064A3 !important;
}

/**/

.ant-modal-footer .ant-btn-primary {
    margin-left: 10px;
    float: right;
}