﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: var(--s-accent);
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--s-accent);
    border-color: var(--s-accent);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--s-accent);
    border-color: var(--s-accent);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid var(--s-neutral);
}

.border-bottom {
    border-bottom: 1px solid var(--s-neutral);
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    overflow-x: hidden;
    background-color: white !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/* custom
-------------------------------------------------- */
.login-info {
    margin-bottom: 1rem;
}

input {
    margin-bottom: 0.5rem !important;
    direction: rtl !important;
}

label {
    margin-bottom: 0.5rem !important;
} 

.navbar-brand img {
    max-height: 53px;
}

main {
    margin-top: 50px;
}

.mouse-pointer {
    cursor: pointer;
}

.product-card {
    /*max-width: 181px !important;*/
    width: 100% !important;
    max-height: 450px !important;
    /*margin: 5px !important;*/
}

    .product-card .card-body {
        padding: 0.5rem 0.5rem !important;
    }

.loader {
    border: 10px solid var(--s-neutral);
    border-radius: 50%;
    border-top: 10px solid var(--s-accent);
    width: 80px;
    height: 80px;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
    margin: auto !important;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    height: 38px !important;
    border: 1px solid #ced4da !important;
}

.input-group:not(.group-pillow) > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.input-group:not(.group-pillow):not(.has-validation):not(.group-pillow) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation):not(.group-pillow) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.btn-group:not(.group-pillow) > .btn-group:not(:last-child) > .btn, .btn-group:not(.group-pillow) > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.btn-group:not(.group-pillow) > .btn-group:not(:first-child) > .btn, .btn-group:not(.group-pillow) > .btn:nth-child(n+3), .btn-group:not(.group-pillow) > :not(.btn-check) + .btn {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.pwt-mobile-view {
    top: 0 !important;
    left: 0 !important;
}

.mobile {
    display: none;
}

@media (max-width: 600px) {
    .mobile {
        display: block !important;
    }
}

.container-main {
    min-height: 850px;
}

.mt-2re {
    margin-top: 2rem;
}

.active-nav {
    background-color: #f7f7f7;
    border-bottom: 1px solid var(--s-accent);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.a-btn {
    text-decoration: none;
    color: black;
}

@media only screen and (max-width: 992px) {

    .collapse:not(.show) {
        display: none !important;
    }
}

thead {
    background-color: var(--s-neutral);
    color: var(--s-complementary) !important;
    border-style: none !important;
    border: none !important;
}

tbody {
    color: #39383e !important;
}

.table {
    --bs-table-hover-bg: #ececec !important;
    border-color: #ebf0f4 !important;
    font-size: 15px;
}

.table-radius {
    border-radius: 10px !important;
}

.table > tbody {
    vertical-align: middle !important;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.selected-img {
    width: 200px;
    height: 200PX;
}

.mg-r10 {
    margin-right: 10px;
}

.float-end {
    float: left !important;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.answerimg {
    position: relative;
}

.point {
    /*position: absolute;
    border: 0.125em solid var(--s-secondary);
    color: var(--s-secondary);
    border-radius: 50%;
    width: 2em;
    height: 2em;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;*/
    float: right;
    position: absolute;
    border: 0.125em solid var(--s-secondary);
    color: var(--s-secondary);
    border-radius: 50%;
    width: 1.75em;
    height: 1.75em;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.modal {
    width: 100% !important;
}

.card-header {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.showdetail {
    padding: 10px;
    border: 2px solid  var(--s-primary) ;
    border-radius: 20px;
    color: black;
    font-size: 18px;
}

    .showdetail:hover {
        background-color:  var(--s-primary) ;
        color: white;
        border: 3px solid white;
    }

.myhr {
    width: 1px;
    height: 100% !important;
    background-color:  var(--s-primary) ;
    color:  var(--s-primary) ;
    margin-top: 40px;
    margin-bottom: 40px;
}

.text-fix {
    text-align: justify !important;
}

.img-bg-paper {
    background-image: url("saeed");
}

.mg-bt15 {
    margin-bottom: 15px;
}
#files_list {
    width: 100% !important;
    text-align: right !important;
    background: white;
    border-radius: 16px;
    padding: 0 0 16px 0;
    margin-top: 8px;
    margin-bottom: 8px;
}
#files_list tr:last-child td {
    border-bottom: none;
}
#files_list tr:first-child th:first-child {
    border-top-right-radius: 16px;
}
#files_list tr:first-child th:last-child {
    border-top-left-radius: 16px;
}
#files_list_wrapper {
    margin-bottom: 1rem;
}
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select, .page-action .btn {
    border-radius: 16px!important;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    left: 16px !important;
    right: auto !important;
}
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
    left: 16px !important;
    right: auto !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--s-neutral)!important;
    border-color: var(--s-neutral)!important;
    border-radius: 16px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--sidebar-color) !important;
    border-color: var(--s-neutral) !important;
    border-radius: 16px;
    color: var(--s-neutral) !important;
}
.mymodal {
    padding: 0;
}

.answer-key {
    overflow-x: auto;
    overflow-y: hidden;
    /*white-space: nowrap;*/
    text-align: justify !important;
}

.answer-key-body {
    padding: 5px;
}

.reply-box {
    background-color: var(--s-neutral);
    border: 3px solid var(--s-neutral);
    padding: 10px;
    border-radius: 10px;
}

.nice-select ul {
    max-height: 400px !important;
    overflow: scroll !important;
}
.shadow { 
    border-radius: 4px;
    border: none !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    height: 100% !important;
    min-height: 40px;
}
.select2-container .select2-search--inline .select2-search__field {
    min-height: 20px;
}
.progress {
    height: 1.5rem;
} 
.btn-rounded {
    border-radius: 16px;
}
.select2-container--default .select2-search--inline .select2-search__field {
    height: 25px!important;
}

.input-group.group-pillow {
    border-radius: 50rem !important;
}

.group-pillow .form-select:first-child, .group-pillow .btn:first-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

.group-pillow .form-select:last-child, .group-pillow .btn:last-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}
.group-pillow .form-select:not(:first-child), .group-pillow .btn:not(:first-child) {
    border-right: 0;
}

/* paginator
-------------------------------------------------- */
.paginator .btn {
    border-radius: 16px;
    min-width: 24px !important;
    padding: 8px 16px !important;
}
.paginator .btn:hover {
    background-color :#404040;
    color:#FFF;
}
.paginator .active{
    background-color:#E0E0E0;
}

/* 
---------------- sortable
*/
.sortable th[data-sort] {
    cursor: pointer !important;
}
/* 
---------------- more-info
*/
.more-info {
    cursor: help;
    text-decoration:underline;
}
/* hint
-------------------------------------------------- */

.hintContainer {
    width: 25px;
    line-height: 25px;
    font-size: 16px;
    position: relative;
}

.hintContainer:hover > .hint {
    opacity: 1;
    visibility: visible;
}

.hint {
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: calc(100% + 10px);
    color: #333;
    min-width: 350px;
    min-height: 50px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.6s;
    text-align: right;
    border: 1px solid #1eb2a6;
    cursor: default;
}

.hint p {
    padding: 0;
    margin: 0;
}

.hint ul {
    position: relative;
    padding-right: 20px;
    margin: 0;
}
/* copy text
-------------------------------------------------- */
.copy-text {
    cursor: copy;
    background-color: #ced4da;
    font-size: 14px;
    padding: 2px 5px;
}
/* temporary modal
-------------------------------------------------- */
.temporary-modal {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    bottom: -100%;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 100;
    max-width: 350px;
    font-size: 14px;
    transition: 0.6s;
}

.temporary-modal.active {
    opacity: 1;
    visibility: visible;
    bottom: 50px;
}

.temporary-modal > div {
    width: 100%;
    height: 100%;
    padding: 15px;
    display: block;
}
