﻿.justify-content-center {
    -webkit-box-pack: center !important;
    justify-content: center !important;
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.form-signin {
    /*padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;*/
    padding-left: 20%;
    margin-top: 10px;
}

.field-icon {
    float: right;
    margin-left: -10px;
    margin-right: 7px;
    margin-top: -27px;
    position: relative;
    z-index: 2;
}
.bv-form .help-block {
    margin-bottom: 0
}

.bv-form .tooltip-inner {
    text-align: left
}

/*.nav-tabs li.bv-tab-success > a {
    color: #3c763d
}

.nav-tabs li.bv-tab-error > a {
    color: #a94442
}*/

.bv-form .bv-icon-no-label {
    top: 0
}

.bv-form .bv-icon-input-group {
    top: 0;
    z-index: 100
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #b9aeae;
    filter: alpha(opacity=35);
    opacity: 0.5;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;

}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #BA55D3;
        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #FF00FF;
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.form-control-feedback {
    pointer-events: inherit;
}
::-ms-clear {
    display: none;
}
.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.modal {
    text-align: left;
    padding: 0 !important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    margin-left: 30%;
    vertical-align: middle;
}

.tabs-left, .tabs-right {
    border-bottom: none;
    padding-top: 2px;
}

.tabs-left {
    border-right: 1px solid #ddd;
}

.tabs-right {
    border-left: 1px solid #ddd;
}

.tabs-left > li, .tabs-right > li {
    float: none;
    margin-bottom: 2px;
}

.tabs-left > li {
    margin-right: -1px;
}

.tabs-right > li {
    margin-left: -1px;
}

.tabs-left > li.active > a,
.tabs-left > li.active > a:hover,
.tabs-left > li.active > a:focus {
    border-bottom-color: #ddd;
    border-right-color: transparent;
}

.tabs-right > li.active > a,
.tabs-right > li.active > a:hover,
.tabs-right > li.active > a:focus {
    border-bottom: 1px solid #ddd;
    border-left-color: transparent;
}

.tabs-left > li > a {
    border-radius: 4px 0 0 4px;
    margin-right: 0;
    display: block;
}

.tabs-right > li > a {
    border-radius: 0 4px 4px 0;
    margin-right: 0;
}

.vertical-text {
    margin-top: 50px;
    border: none;
    position: relative;
}

    .vertical-text > li {
        height: 20px;
        width: 120px;
        margin-bottom: 100px;
    }

        .vertical-text > li > a {
            border-bottom: 1px solid #ddd;
            border-right-color: transparent;
            text-align: center;
            border-radius: 4px 4px 0px 0px;
        }

        .vertical-text > li.active > a,
        .vertical-text > li.active > a:hover,
        .vertical-text > li.active > a:focus {
            border-bottom-color: transparent;
            border-right-color: #ddd;
            border-left-color: #ddd;
            background-color:aqua;
        }
.nav > li.active > a,
.nav > li.active > a:hover,
.nav > li.active > a:focus {
    font-weight: bold;
    background-color: red;
    color: white;
}
/*.nav > li.active > a, .nav > li.active > a:hover, .nav > li.active > a:focus {
    color: #fff;
    background: url(images/button.gif) no-repeat;
    display: block;
    width: 100%;
    font-weight: bold;
    outline: none;
    text-decoration: none;
    letter-spacing: 1px;
    text-decoration: none;
    padding-top: 6px;
    text-indent: 6px
}*/
    .vertical-text.tabs-left {
        left: -50px;
    }

    .vertical-text.tabs-right {
        right: -50px;
    }

        .vertical-text.tabs-right > li {
            -webkit-transform: rotate(90deg);
            -moz-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
            -o-transform: rotate(90deg);
            transform: rotate(90deg);
        }

    .vertical-text.tabs-left > li {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
.bg-dark {
    background-color: #3b1d78 !important;
}
.navbar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
}
.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.mpadding {
    margin: 0;
}
/*body {
    margin: 0;
    text-align: left;
    background-color: #fff;
}*/
select[readonly] option, select[readonly] optgroup {
    display: none;
}

.center-screen {
    position: absolute;
    left: 50%;
    top: 50%;
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

/* confirm with */
#confirmDialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.btn {
    margin: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

.btn-yes {
    background-color: green;
    color: white;
    border: none;
}

.btn-no {
    background-color: red;
    color: white;
    border: none;
}

.blinking-text {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.secibColor {
    background-color: yellow;
  /*  color: black;*/
    font-weight: bold;
}

.deAktivColor {
    background-color: whitesmoke ;
}

input[type="checkbox"] {
    cursor: pointer; /* Shows a pointer (hand) cursor */
}

    /* Cursor for disabled checkboxes */
    input[type="checkbox"]:disabled {
        cursor: not-allowed; /* Shows a "not allowed" cursor */
        opacity: 0.6; /* Optional: Dim the checkbox to indicate it's disabled */
    }

    /* Readonly appearance for specific checkboxes (if using a readonly class) */
    input[type="checkbox"].readonly {
        cursor: default; /* Default cursor */
        opacity: 0.8; /* Optional: Slightly dim the checkbox */
    }

.collapse-tree {
    width: 15px;
    background-image: url('Images/ui-icons_454545_256x240.png');
    background-repeat: no-repeat;
    background-position: -36px -17px;
    display: inline-block;
    cursor: pointer;
}

.expand {
    width: 15px;
    background-image: url('Images/ui-icons_454545_256x240.png');
    background-repeat: no-repeat;
    background-position: -50px -17px;
    display: inline-block;
    cursor: pointer;
}

.treeview ul {
    font: 16px Arial, Sans-Serif;
    margin: 0px;
    padding-left: 20px;
    list-style: none;
}

.treeview > li > a {
    font-weight: bold;
}

.treeview li {
}

    .treeview li a {
        padding: 4px;
        font-size: 16px;
        display: inline-block;
        text-decoration: none;
        width: auto;
    }

li .active {
    background: yellow;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}


/*.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .accordion-button {
        transition: none;
    }
}

.accordion-button:not(.collapsed) {
    color: #0c63e4;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .accordion-button::after {
        transition: none;
    }
}

.accordion-button:hover {
    z-index: 2;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

    .accordion-item:first-of-type {
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

        .accordion-item:first-of-type .accordion-button {
            border-top-left-radius: calc(0.25rem - 1px);
            border-top-right-radius: calc(0.25rem - 1px);
        }*/

    /*.accordion-item:not(:first-of-type) {
        border-top: 1;
    }*/

    /*.accordion-item:last-of-type {
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

        .accordion-item:last-of-type .accordion-button.collapsed {
            border-bottom-right-radius: calc(0.25rem - 1px);
            border-bottom-left-radius: calc(0.25rem - 1px);
        }

        .accordion-item:last-of-type .accordion-collapse {
            border-bottom-right-radius: 0.25rem;
            border-bottom-left-radius: 0.25rem;
        }

.accordion-body {
    padding: 1rem 1.25rem;
}

.accordion-flush .accordion-collapse {
    border-width: 0;
}

.accordion-flush .accordion-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

    .accordion-flush .accordion-item:first-child {
        border-top: 0;
    }

    .accordion-flush .accordion-item:last-child {
        border-bottom: 0;
    }

    .accordion-flush .accordion-item .accordion-button {
        border-radius: 0;
    }*/

.accordion {
    width: 100%;
    /*max-width: 600px;*/
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
    transition: background 0.3s;
}

    .accordion-header:hover {
        background: #ddd;
    }

.accordion-content {
    display: none;
    padding: 10px;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-header:not(.active)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-header::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

.accordion-header.active {
    color: #0c63e4;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

/*.accordion-header.active:focus {
    z-index: 33333;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}*/

/*#waitIcon {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}*/

/*#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);*/ /* Opacity 0.5 */
    /*z-index: 999;
}*/


#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1000;
}

.spinner {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.highlight {
    background-color: lightyellow;
}

.ui-autocomplete {
    z-index: 10000 !important;
    background: white;
    border: 1px solid #ccc;
}

.btnDL {
    background: url('Images/Type=Third alternative, State=Default, Size=L, Rounded=Off.png');
    width: 169px;
    height: 52px;
    border: none;
}

    .btnDL:hover {
        background: url('Images/Type=Third alternative, State=Hover, Size=L, Rounded=Off.png');
    }

.btn2 {
    background: url('Images/btn_default.png');
    font-weight: bold;
    font-size: large;
    width: 169px;
    height: 52px;
    border: none;
}

.btn2:hover {
    background: url('Images/btn_hover.png');
}

.body-content.position-relative {
    position: relative;
}

#reklam1, #reklam2 {
    position: absolute;
    top: 0;
    width: 220px;
    z-index: 10;
}

#reklam1 {
    left: -220px; /* konteynerin solundan kənara */
}

#reklam2 {
    right: -250px; /* konteynerin sağından kənara */
}

    #reklam1 img, #reklam2 img {
        max-width: 100%;
        height: auto;
    }

.reklam-bottom {
    margin-top: 10px;
    text-align: center;
}

#reklam3 {
    display: inline-block;
    margin: 0 10px;
    width: 350px;
}

#reklam4 {
    display: inline-block;
    margin: 0 10px;
    width: 440px;
}

#reklam3 img {
    max-width: 100%;
    height: auto;
}

#reklam4 img {
    max-width: 100%;
    height: 150px;
}
/* Modal vertical center (Bootstrap 3 compatible) */
.modal-center {
    text-align: center;
}

    .modal-center:before {
        content: "";
        display: inline-block;
        height: 100%;
        vertical-align: middle;
    }

/* Dialog auto width + center */
.modal-auto {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    max-width: 900px; /* 👉 ideal desktop limit */
    min-width: 400px; /* 👉 çox balaca olmasın */
    margin: 30px auto;
}

/* Text left align */
.modal-content,
.modal-body,
.modal-title {
    text-align: left;
   
}

/* Body rahat oxunuş */
.modal-body {
    height: auto;
    max-height: 90vh; /* ekranı aşmasın */
    overflow-y: auto;
    padding: 20px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .modal-auto {
        min-width: auto;
        width: 95%;
        max-width: 95%;
    }
}

.ui-autocomplete {
    max-height: 250px; /* Siyahının maksimum hündürlüyü */
    overflow-y: auto; /* Şaquli scroll aktiv edilsin */
    overflow-x: hidden; /* Üfüqi scroll gizlədilsin */
    z-index: 9999 !important; /* Modalın üzərində görünməsi üçün */
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Scroll barın vizual görünüşü (istəyə bağlı) */
.ui-autocomplete::-webkit-scrollbar {
    width: 8px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}