﻿/* Global değişkenler */
:root {
    --bayi-hover: rgb(56, 116, 224);
    --bayi-hover-05: rgba(56, 116, 224, 0.05);
    --bayi-onayli: rgb(42, 158, 69);
    --bayi-onayli-05: rgba(42, 158, 69, 0.05);
    --bayi-onemli: rgb(231, 168, 9);
    --bayi-iptal: rgb(108, 117, 125);
    --beyaz-25: rgba(0, 0, 0, 0.25);
    
}

/*** PANEL YÜKLENİYOR EFEKTİ ***/
.panel-kapla {
    position: absolute;
    left: 50%;
    right: 50%;
    top: 50%;
    bottom: 50%;
    z-index: 10;
    background: rgba(255,255,255,.9) no-repeat center center;
}
/*** PANEL YÜKLENİYOR EFEKTİ ***/

@keyframes menu-animation {
  0% {
    right: -50%;
  }
  20% {
    right: -6px;
  }
  80% {
    right: -6px;
  }
  100% {
    right: -50%;
  }
}

.w-5 {
    width: 5% !important;
}

.w-20{
    width:20% !important;
}

.w-95{
    width:95% !important;
}

.h-28 {
    height: 28% !important;
}

.h-72 {
    height: 72% !important;
}

.min-vh-72 {
    min-height: 72% !important;
}

.vh-72{
    max-height: 72% !important;
}

.bg-hover {
    background: var(--bayi-hover);
}

.bg-onayli {
    background: var(--bayi-onayli) !important;
}

#ekranikapla {
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.6);
    position: absolute;
    opacity: 0.98;
    left: 0;
    top: 0;
    z-index: 99999;
}

#loadlogoG {
    width: 64px;
    position: relative;
    margin: 0 auto;
    top: 45%;
    z-index: 666;
}

#loadlogoG img {
    height: 60px;
    width: 60px;
}

.input-container {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

.input-icon {
    padding: 15px;
    background: #4e73df;
    color: white;
    min-width: 50px;
    text-align: center;
}

.input-field {
    width: 100%;
    padding: 10px;
    outline: none;
}

.input-field:focus {
    border: 2px solid #4e73df;
}

input::placeholder {
    font-style: italic;
}

.collapse-baslik {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.switch-holder {
    display: flex;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: -8px -8px 15px rgba(255,255,255,.7), 10px 10px 10px rgba(0,0,0, .3), inset 8px 8px 15px rgba(255,255,255,.7), inset 10px 10px 10px rgba(0,0,0, .3);
    justify-content: space-between;
    align-items: center;
}

.switch-label {
    width: 150px;
}

.switch-label i {
    margin-right: 5px;
}

.switch-toggle {
    height: 40px;
}

.switch-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -2;
}

.switch-toggle input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 40px;
    border-radius: 20px;
    margin: 0;
    cursor: pointer;
    box-shadow: inset -8px -8px 15px rgba(255,255,255,.6), inset 10px 10px 10px rgba(0,0,0, .25);
}

.switch-toggle input[type="checkbox"] + label::before {
    position: absolute;
    content: 'Pasif';
    font-size: 13px;
    text-align: center;
    line-height: 25px;
    top: 8px;
    left: 8px;
    width: 45px;
    height: 25px;
    border-radius: 20px;
    background-color: #d1dad3;
    box-shadow: -3px -3px 5px rgba(255,255,255,.5), 3px 3px 5px rgba(0,0,0, .25);
    transition: .3s ease-in-out;
}

.tch-toggle input[type="checkbox"]:checked + label::before {
    left: 50%;
    content: 'Aktif';
    color: #fff;
    background-color: #00b33c;
    box-shadow: -3px -3px 5px rgba(255,255,255,.5), 3px 3px 5px #00b33c;
}

/* Profil resmi */
.profilepic {
    position: relative;
    width: 75%;
    max-height: 250px;
    overflow: hidden;
    background-color: #111;
}

.profilepic:hover .profilepic__content {
    opacity: 1;
}

.profilepic:hover .profilepic__image {
    opacity: .5;
}

.profilepic__image {
    object-fit: cover;
    opacity: 1;
    transition: opacity .2s ease-in-out;
    background-color: rgb(248 249 252);
}

.profilepic__content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.profilepic__icon {
    color: white;
    padding-bottom: 8px;
}

.profilepic .fas {
    font-size: 21px;
}

.profilepic__text {
    text-transform: uppercase;
    font-size: 14px;
    width: 50%;
    text-align: center;
}
/* Endregin */

label.form-baslik {
    margin-bottom: 0.01rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.55);
    display:block;
}

.bym-grid{
    font-size:0.9rem;
}

.baslik{
    background-color: transparent;
    position: relative;
    display: flex;
    height: 15px;
    line-height: 15px;
    padding: 0 5px;
    margin: 4px 0 0;
    transition: all 0.3s;
    border-radius: 5px;
    color: rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
}

.baslik > div{
    float: left;
    text-align: left;
    margin-right: 5px;
    padding-left: 5px;
}

.satir {
    background-color: #fff;
    position: relative;
    display: flex;
    height: 36px;
    line-height: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 4px 10px;
    transition: all 0.3s;
    border-radius: 5px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    box-shadow: 0 0 2px rgb(0 0 0 / 25%)
}

.satir > div {
    float: left;
    border-right: 0.5px solid rgba(0, 0, 0, 0.25);
    /* margin-right: 5px; */
    padding-left: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.satir.urun-agaci > div {
    z-index: 1000;
    background: white;
    height: 2rem;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.25) !important;
    z-index: 1000;
}

.satir > div:nth-last-child(2),
.satir > div:last-child{
    margin-right: 0;
    padding-right: 0;
    border:none;
}

.satir:hover{
    cursor: pointer;
    box-shadow: 0 2px 7px rgb(0 0 0 / 40%);
    transition: all 0.3s;
    background-color: var(--bayi-hover-05);
    z-index: 1;
    border-left-color: var(--bayi-hover);
}

.satir-menu {
    width: auto !important;
    position: absolute;
    right: -50%;
    top: 0;
    background-color: #f1f5f5;
    height: 36px;
    line-height: 36px;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s;
}

.satir-menu ul {
    list-style: none;
    padding: 0 15px;
    display: inline-block;
    margin: 0;
}

.satir:hover .satir-menu {
    right: -6px;
    transition: all 3s;
    animation: menu-animation 5s forwards;
}

.teklif-satir {
    color: black;
    background-color: rgba(246,194,62,0.15) !important;
}

.teklif-satir-kullanici-yukseltme {
    color: black;
    background-color: rgba(62,173,246,0.15);
}

.teklif-satir-kapali-satir {
    font-style: italic;
}

.teklif-satir-kapali-satir div {
    text-decoration: line-through;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #34d46d !important;
    line-height: 38px !important;
    font-style: italic !important;
    font-size: 0.8rem !important;
}

.select2-container--default
.select2-search--dropdown
.select2-search__field:focus {
    box-shadow: 0 0 0 0.05rem #ffc107 !important;
    border-color: #ffc107 !important;
}

.select2-container .select2-selection--single{
    height:38px !important;
}

.modal-baslik-btn {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 7.5px;
  font-size: 16px;
  height: 42px;
  line-height: 42px;
  margin-right: 1rem;
}

.modal-baslik-btn a {
  border: none;
  height: 42px;
  line-height: 42px;
  text-align: center;
  font-size: 1.25rem;
  color:black;
  padding-top: 0px;
}

.modal-baslik-btn a:hover {
  background-color: var(--beyaz-25);
}

.modal-baslik-btn a i {
  line-height: 30px;
}

.modal-baslik-btn a:hover {
  color: white !important;
}

.modal-duyuru .modal-baslik-btn {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 7.5px;
    font-size: 16px;
    height: 42px;
    line-height: 42px;
    margin-right: 1rem;
}

.modal-duyuru .modal-baslik-btn a {
    border: none;
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-size: 1.25rem;
    color: black;
    padding-top: 0px;
}

.modal-duyuru .modal-baslik-btn a:hover {
    background-color: var(--beyaz-25);
}

.modal-duyuru .modal-baslik-btn a i {
    line-height: 30px;
}

.modal-duyuru .modal-baslik-btn a:hover {
    color: white !important;
}

.default-modal-header {
    display: inline;
    background-color: #4e73df;
    padding: 0;
    color: #fefefe;
    padding: 0.8rem;
}

.bym-icon {
    padding-top: 15px;
    color: #4e73df;
    position: absolute;
    z-index: 1500;
    font-size: 11px;
}

.form-control:focus{
    box-shadow:none;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
    height:7px;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(56, 116, 224); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #00008b;
}

.form-control-sm-2x {
    font-size: 0.75rem;
    height: 26px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-radius: 2px !important;
}

.btn-check:focus + .btn, .btn:focus {
    box-shadow: none !important;
}

.table-revizyon-master {
    counter-reset: no;
}
.table-revizyon-master tbody tr{counter-increment: no;}
.table-revizyon-master tbody tr td:first-child:before{ content: counter(no);}

.table-revizyon-detay {
    counter-reset: detayNo;
}
.table-revizyon-detay tbody tr{counter-increment: detayNo;}
.table-revizyon-detay tbody tr td:first-child:before{ content: counter(detayNo);}

/* LOADING MODAL */
#loadingModal {
    transition: opacity 0.01s linear 0s;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #91EAE4;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

.modal-header {
    border: none;
}

.modal-footer {
    border: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}



/* Responsive 1024px’e kadar */
@media (max-width: 1024px) {
    .col-login-form {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }

    .col-login-image {
        flex: 0 0 60% !important;
        max-width: 60% !important;
    }
}
/*/NAVBAR STİLLERİ*/
.smooth-scroll {
    transition: 0.5s;
}



.collapse-inner {
    background-color: white;
}


/* Normalde sidebar görünsün */
.sidebar {
  transition: transform 0.3s ease;
}

/* Mobilde sidebar gizli olsun */
@media (max-width: 767px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100px; /* istediğin genişlik */
    background: #fff; /* kendi renk şeman */
    transform: translateX(-100%);
    z-index: 1050;
  }

  /* Açıkken görünsün */
  .sidebar.mobile-open {
    transform: translateX(0);
  }
}
.sidebar-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    height: 60px;
}

/* Toggle butonu */
.sidebar-toggle-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Mobilde sidebar açılınca biraz sağa kaydır */
.sidebar.mobile-open .sidebar-toggle-btn {
    transform: translateX(20px); /* 20px sağa kaydır, istediğin değeri ayarla */
}
