﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
/*.bg-danger {
    background-color: #ffd3d7 !important
}*/
.btn-outline-danger {
    color: #dc3545!important;
}
    .btn-outline-danger:hover {
        color: #fff!important;
    }
.btn-secondary {
    color: #fff!important;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    /*max-width: 280px;*/
}
.footer {
    background-color: #f5f5f5;
}
.mce-edit-area > iframe {
    cursor:text;
}
.datatableBtn {
    font-size: 1.5rem;
}
.datatableBtn > i:hover{
    opacity: 0.5;
}
.ui-sortable-placeholder {
    border: 1px dashed #000000;
    visibility: visible !important;
    background-color: transparent;
}
.cursor-pointer{
    cursor: pointer;
}

/* INPUT FILE */
input.input_file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

label.input_file {
    max-width: 100%;
    /*font-size: 1.25rem;*/
    /*font-weight: 700;*/
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    /*font-size: 12px;*/
}

input:disabled ~ label.input_file:hover strong {
    color: #fff;
    background-color: #2D114C;
}

input:disabled ~ label.input_file:hover {
    cursor: default;
}

label.input_file:hover strong {
    color: #27ae60;
    background-color: #fff;
}

label.input_file > strong {
    height: 100%;
    color: #fff;
    background-color: #27ae60;
    border: 2px solid #27ae60;
    display: inline-block;
    border-radius: 0.25rem;
    padding: 0.625rem 1.25rem;
}
label.input_file.is-invalid > strong {
    background-color: #dc3545;
    border: 2px solid #dc3545;
}
label.input_file.is-invalid:hover > strong {
    color: #dc3545;
    background-color: #fff;
}

label.input_file > span {
    width: 100%;
    min-height: 2em;
    margin-left: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: baseline;
}

.file_container {
    margin: 10px 0;
}
/* END INPUT FILE */

#preview.is-invalid {
    border: 1px solid #dc3545;
}
table .dtr-data {
    display: inline-block;
    vertical-align: middle;
    padding-left: 1rem !important;
}
.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}
.display-6 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
}
.display-7 {
    font-size: 1.3rem;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Chrome, Firefox, Opera, Safari 10.1+ */
.form-control::placeholder {
    color: #b0b8bf;
    opacity: 1; /* Firefox */
}
/* Internet Explorer 10-11 */
.form-control:-ms-input-placeholder{
    color: #b0b8bf;
}
/* Microsoft Edge */
.form-control::-ms-input-placeholder {
    color: #b0b8bf;
}

img{
    max-width:100%;
    height: auto!important;
}

#error.bg-dark {
    background-color: #343a40 !important
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}

@media screen and (max-width: 958px) {
    .display-5 {
        font-size: 1.5rem;
    }

    .display-6 {
        font-size: 1rem;
    }
}

.button{
    cursor: pointer;
}
.ui-front {
    z-index: 1000!important;
}

/*LOGIN*/
.form-signin {
    width: 100%;
    max-width: 420px;
    padding: 15px;
    margin: auto;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

    .form-label-group > input,
    .form-label-group > label {
        height: 3.125rem;
        padding: .75rem;
    }
.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0; /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    pointer-events: none;
    cursor: text; /* Match the input under the label */
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: 1.25rem;
    padding-bottom: .25rem;
}

    .form-label-group input:not(:placeholder-shown) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

ul.dropdown-menu span.text {
    white-space: normal;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
    .form-label-group > label {
        display: none;
    }

    .form-label-group input::-ms-input-placeholder {
        color: #777;
    }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form-label-group > label {
        display: none;
    }

    .form-label-group input:-ms-input-placeholder {
        color: #777;
    }
}

.loader {
    width: 100%;
    height: 60px;
    background-image: url("../Images/loader.gif");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.modal-3xl {
    max-width: 95%;
}

.modal-2xl {
    max-width: 1000px;
}

.modal-xl {
    max-width: 800px;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

.font-bold {
    font-weight: 700;
}

nav.navbar {
    background-color: #353364 !important;
}

nav .dropdown-item-text {
    color: #353364 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #353364 !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #353364 !important;
}

a,
a:not([href]):not([tabindex]) {
    color: #454282;
}

    a:hover,
    a:hover:not([href]):not([tabindex]) {
        color: #353364;
    }

.text-primary {
    color: #454282 !important;
}

    .text-primary:hover,
    .text-primary:hover:not([href]):not([tabindex]) {
        color: #353364 !important;
    }

a.text-primary:hover, a.text-primary:focus {
    color: #353364 !important;
}

.btn-primary {
    background-color: #454282;
    border-color: #454282;
}

    .btn-primary:hover,
    .btn-primary:active {
        background-color: #353364 !important;
        border-color: #353364 !important;
    }

.page-item.active .page-link {
    background-color: #454282;
    border-color: #454282;
}

.page-link {
    color: #454282;
}

    .page-link:hover {
        color: #353364;
    }


.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #454282;
    background-color: #454282;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    background-color: #353364;
    border-color: #353364;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #454282;
    border-color: #454282;
}