@import url("sahel.css");

@font-face {
    font-family: "yekan";
    src: url(../webfonts/Yekan.eot);
    src: url(../webfonts/Yekan.eot?#iefix) format("embedded-opentype"),
        url(../webfonts/Yekan.woff) format("woff"),
        url(../webfonts/Yekan.ttf) format("truetype");
    src: url(../webfonts/yekan.otf) format("truetype"),
        url(../webfonts/yekan.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    unicode-range: U+0600 -U+06 FF; /* For Persian character range */
}

html,
body {
    height: 100%;
}

body {
    font-family: "yekan";
    direction: rtl;
    font-size: 14px;
    text-align: right;
}

hr {
    border-color: #ccc;
}

a {
    color: #444;
}

a:hover {
    color: #444;
    text-decoration: none;
}

i {
    vertical-align: middle;
}

body.bg-light {
    background: #f1f1f1 !important;
}

body.auth {
    background: url(../images/auth_bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

div.auth-form-container-fluid {
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/
}

.panel-container-col {
    margin: 5% auto 0;
}

.panel-login {
    border-color: #ccc;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

.panel-login > .panel-heading {
    color: #00415d;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.panel-heading-col {
    padding-top: 15px;
    padding-bottom: 15px;
}

.panel-login > .panel-heading a {
    text-decoration: none;
    color: #555555;
    font-weight: bold;
    font-size: 16px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    transition: all 0.1s linear;
}

.panel-login > .panel-heading a.active {
    color: #029f5b;
    font-size: 18px;
}

.panel-body {
    background-color: #fff;
    padding: 20px;
}

#remember,
#rules {
    vertical-align: middle;
}

.panel-login input[type="text"],
.panel-login input[type="email"],
.panel-login input[type="password"] {
    height: 45px;
    border: 1px solid #ddd;
    font-size: 16px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    transition: all 0.1s linear;
}

.panel-login input:hover,
.panel-login input:focus {
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-color: #ccc;
}

.btn-login {
    background-color: #59b2e0;
    outline: none;
    color: #fff;
    font-size: 16px;
    height: auto;
    font-weight: normal;
    padding: 14px 0;
    text-transform: uppercase;
    border-color: #59b2e6;
}

.btn-login:hover,
.btn-login:focus {
    color: #fff;
    background-color: #53a3cd;
    border-color: #53a3cd;
}

.forgot-password {
    border-bottom: 1px solid #ccc;
    color: #777;
}

.forgot-password:hover,
.forgot-password:focus {
    border-bottom-color: #aaa;
    color: #555;
}

.btn-register {
    background-color: #1cb94e;
    outline: none;
    color: #fff;
    font-size: 16px;
    height: auto;
    font-weight: normal;
    padding: 14px 0;
    text-transform: uppercase;
    border-color: #1cb94a;
}

.btn-register:hover,
.btn-register:focus {
    color: #fff;
    background-color: #1ca347;
    border-color: #1ca347;
}

.sidebar {
    z-index: 999;
}

.sidebar.toggled {
    margin-right: -230px;
    margin-left: 0;
}

.dropdown-toggle::after {
    vertical-align: 0;
}

.dropdown-item {
    text-align: right;
    font-size: 16px;
}

.navbar-brand-image {
    width: 170px;
}

#dd_user_text {
    font-size: 18px;
    vertical-align: top;
}

.help-block {
    color: #f4645f;
}

.account-info-table {
    text-align: center;
    font-size: 16px;
}

.list-unstyled {
    padding-right: 0;
    margin-top: 1rem;
}

.sidebar-dark ul li a {
    font-size: 18px;
}

.sidebar ul li a {
    padding: 1.5rem 1rem;
}

.animal-register-nav-tabs {
    padding-right: 0;
    margin: 25px;
}

.nav-tabs {
    border-bottom: 1px solid #ccc;
}

.nav-tabs .nav-link {
    font-size: 18px;
    padding: 1rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #000;
}

.nav-tabs--vertical {
    border-bottom: none;
    border-left: 1px solid #ddd;
    display: flex;
    flex-flow: column nowrap;
}

.nav-tabs--right {
    padding-right: 0;
}

.nav-tabs--right .nav-item + .nav-item {
    margin-top: 0.25rem;
}

.nav-tabs--right .nav-link {
    transition: border-color 0.125s ease-in;
    white-space: nowrap;
    border-left: none;
    font-size: 16px;
}

.nav-tabs--right .nav-link:hover {
    background-color: #f7f7f7;
}

.nav-tabs--right .nav-link.active {
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 0;
    margin-left: -1px;
    border-right: 1px solid #ddd;
    border-bottom-color: #ddd;
}

.nav-tabs--right .nav-link.active:hover {
    background-color: #fff;
}

.tab-content {
    padding: 25px;
}

.info-tab-content,
.optional-info-tab-content {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-right: none;
}

.info-tab-content i,
.optional-info-tab-content i {
    vertical-align: top;
}

.jumbotron {
    background: #f1f1f1;
}

.form-group .col {
    padding-right: 0;
}

.col-form-label {
    padding-left: 0;
}

#register-animal-form i,
#optional-info-form i {
    vertical-align: top;
}

#register-animal-form,
#optional-info-form {
    background-color: #ffffff;
    margin: 0 auto;
    padding: 40px;
    width: 70%;
    min-width: 300px;
}

input.invalid {
    background-color: #ffdddd;
}

.tab,
.optional-info-tab {
    display: none;
}

.step,
.optional-info-step {
    height: 22px;
    width: 22px;
    font-size: 16px;
    margin: 0 4px;
    background-color: #aaaaaa;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.6;
}

.step.active,
.optional-info-step.active {
    opacity: 1;
}

.step.finish,
.optional-info-step.finish {
    background-color: #4caf50;
    color: #ffffff;
}

.required:after {
    content: " *";
    color: #f17176;
}

.form-control[readonly] {
    background-color: inherit;
}

.list-inline {
    padding-right: 0;
    margin-bottom: 0;
}

.file-upload {
    display: block;
    text-align: center;
}

.file-upload .file-select {
    display: block;
    border: 1px solid #dce4ec;
    color: #34495e;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    text-align: right;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.file-upload .file-select .file-select-button {
    background: #dce4ec;
    padding: 0 10px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.file-upload .file-select .file-select-name {
    line-height: 40px;
    display: inline-block;
    padding: 0 10px;
}

.file-upload .file-select:hover {
    border-color: #34495e;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.file-upload .file-select:hover .file-select-button {
    background: #34495e;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.file-upload.active .file-select {
    border-color: #3fa46a;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.file-upload.active .file-select .file-select-button {
    background: #3fa46a;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.file-upload .file-select input[type="file"] {
    z-index: 100;
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.file-upload .file-select.file-select-disabled {
    opacity: 0.65;
}

.file-upload .file-select.file-select-disabled:hover {
    cursor: default;
    display: block;
    border: 2px solid #dce4ec;
    color: #34495e;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    text-align: right;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.file-upload .file-select.file-select-disabled:hover .file-select-button {
    background: #dce4ec;
    color: #666666;
    padding: 0 10px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.file-upload .file-select.file-select-disabled:hover .file-select-name {
    line-height: 40px;
    display: inline-block;
    padding: 0 10px;
}

.toast-message {
    font-size: 20px;
}

.toast-close-button:hover {
    background: none;
    color: #ffffff;
    box-shadow: none;
}

.toast-close-button:active {
    background: none;
    color: #ffffff;
    box-shadow: none;
}

.doctors-list span {
    font-size: 18px;
}

#uuid {
    width: 300px;
    float: left;
    text-align: center;
}

.card-img-top,
.card-img-bottom {
    height: 360px;
}

.options_dropdown {
    background: #373c42;
}

.options_dropdown .dropdown-item {
    color: #fefefe;
}

.options_dropdown .dropdown-item:hover {
    color: #373c42;
}

#animal_id_card_head_image {
    top: 29%;
    right: 6%;
    width: 29%;
    height: 38%;
    border-radius: 5px;
}

#animal_id_card_owner_name {
    top: 32%;
    left: 22%;
}

#animal_id_card_passport {
    top: 39%;
    left: 40%;
}

#animal_id_card_name {
    top: 53%;
    left: 45%;
}

#animal_id_card_breed {
    top: 58%;
    left: 35%;
}

#animal_id_card_microchip {
    top: 64%;
    left: 22%;
}

#animal_id_card_date {
    top: 70%;
    left: 35%;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333333;
    margin: -3px 0 0 -3px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.pagination {
    justify-content: center;
}

@media print {
    body * {
        visibility: hidden;
    }

    #print_invoice,
    #print_invoice * {
        visibility: visible;
    }

    #print_invoice {
        position: absolute;
        top: 0;
        left: -50%;
    }
}
