@font-face {
  font-family: "ttkb";
  src: url("../fonts/TemelYazi.otf");
}

@font-face {
  font-family: "ttkb-bold";
  src: url("../fonts/TemelYazi-Bold.otf");
}

html,
body {
  height: 100%;
}

body {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
}



.ttkb {
  font-family: ttkb;
}

.ttkb-bold {
  font-family: ttkb-bold;
}

.content {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.navbar-white {
  flex-shrink: 0;
  min-height: 56px;
  background-color: white;
  box-shadow: 5px 5px 3px #aaaaaa;
}

.edit-navbar-a, .breadcrumb-a {
  color: #212529;
  text-decoration: none;
}

.edit-navbar-a:hover, .breadcrumb-a:hover {
  color: gray;
}

.inline-gallery-container {
  width: 100%;
  height: 500px;
  margin: 0 auto;
}
.ck-editor__editable_inline {
  min-height: 300px;
}

figure.image {
  text-align: center;
}
figure.image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.ck-read-only {
  background-color: #f1f1f1 !important;
  opacity: 0.5;
}

.multiple-choice-link, .left-menu a, .post-link  {
  color: #212529;
  text-decoration: none;
}

.multiple-choice-link:hover, .left-menu a:hover {
  color: #212529;
}

.multiple-choice-link span {
  left: -20px;
}

#question-list-container button {
  width: 34px;
  text-align: center;
  border-radius: 17px;
  padding: 5px 0;
  margin-left: 10px;
  margin-top: 15px;
  overflow: hidden;
  white-space: nowrap;
}

#question-list-container .not-filtered .btn-warning,
.button-disabled,
.link-disabled {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  pointer-events: none;
  cursor: not-allowed;
}

.question-list {
  padding-right: 15px;
  padding-bottom: 15px;
}

.quiz-border, .left-menu-border {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.q-question-container p, #question-content p {
  margin-bottom: 5px;
}

#question-content p:last-child, #correct-answer p:last-child {
  margin-bottom: 0px;
}

#multiple-choice-container p {
  margin-bottom: 0px;
}



  .menu-arrow {
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .ajax-menu-arrow {
    cursor: pointer;
  }

  .link-change {
    transform: rotate(180deg);
  }

 .post-link:hover {
    color:gray;
  }

.offcanvas-body::-webkit-scrollbar {
    width: 10px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.2);
  border-radius: 10px;

}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,.3);
  border-radius: 10px;

}

.page-link {
  color: #212529;
  margin-left: 0px!important;
}

.page-link:hover {
  color: black;
}

.active .page-link {
  color: white!important;
  background-color: #424242!important;
  margin-left: 0px!important;
  border: 1px solid #424242!important;
}

.image-count-info {
  right:0px; 
  bottom:0px; 
  padding:0px 3px;
  top:0; 
  opacity: 0.6;
  cursor: pointer;
}

.user-quiz-question button[disabled]{
  opacity: 1!important;
}

.user-quiz-question .btn-secondary[disabled]{
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

.user-quiz-question .btn-success[disabled]{
  box-shadow: 0 0 0 0.25rem rgba(25,135,84, 0.25);
}

.user-quiz-question .btn-danger[disabled]{
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.user-quiz-question .btn-warning[disabled]{
  box-shadow: 0 0 0 0.25rem rgba(219, 164, 0, 0.25);
}

.user-quiz-question .btn-dark[disabled]{
  box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.25);
}

.slide-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  bottom:0;
  right: 0;
  overflow: hidden;
}

.deck1 {
  z-index:2;
}

.deck1-height {
 
  height: 400px;

}

.slide-full-screen-button-container {
  left:30px;
  bottom:32px;
  z-index:54;
  font-size: 20px;
}


.offcanvas-container .navbar-toggler:focus,
.offcanvas-container .navbar-toggler:active,
.offcanvas-container .navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.w-text-primary {
  color: rgb(0, 86, 159) !important;
}

.w-text-secondary {
  color: rgb(160, 0, 0) !important;
}

.dict-ch-container {
  font-family: ttkb;
  font-size: 48px;
}

.dict-ch-container div {
  text-align: center;
}

.clickable { 
  cursor: pointer;
}

.unclickable {
  pointer-events: none;
  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

#confetti-holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.app-fullscreen-menu-container {
  position: absolute;
  bottom: 15px; 
  right:10px; 
  z-index: 2; 
  font-size: 1rem; 
  background-color: rgba(0,0,0, 0.5);
  padding:5px 10px;
}

#primary-slide-number {
  position: absolute;
  bottom: 15px; 
  left: 10px; 
  z-index: 2; 
  
  padding:5px 10px;
  color: rgb(0, 0, 0, 0.4);
}


.app-fullscreen-menu-container a {
  color: rgb(255, 255, 255, 0.7);
  text-decoration: none;
}

#app-container {
  position: relative;
  background-color: #efefef;
  min-height: 350px;
}

#right-menu {

}


.primary-slide-container {

  width: 100%;
  padding:20px 15%;
  font-size: 72px;
  

}

.primary-slide-popover-custom-class {
  --bs-popover-bg: #CCCCCC;
}

.primary-slide-popover-custom-class {
  font-size: 1.1rem!important;
}

.primary-slide-word, .primary-slide-play-sound {
 cursor: pointer;
}

.empty-space {
  margin-left: 30px;
}

#offcanvasMenu {
  z-index: 999999999;
}


.app-button-container {
  position: absolute;
  top: 15px; 
  right:10px; 
  z-index: 2; 
  font-size: 1rem; 
  background-color: rgba(0,0,0, 0.5);
  padding:5px 5px;
}



.animate__flash {
  animation: blinker 500ms linear;
  animation-iteration-count: 2;
}

@keyframes blinker {  
  50% { opacity: 0; }
}

#svg_logo {
  height: 32px;
}
#svg_logo path {
  fill: #231f20;
}

.detail-bread-crumb {
  font-size: 85%;
}

.fixedcls {
  position: fixed;
  overflow-x: hidden;
  overflow-y: auto;

  top:0;
  left:0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: #efefef;

}

button {
  touch-action: manipulation;
}

/* SADECE BU 3 SATIR YETERLİ */
.ck.ck-toolbar { flex-wrap: wrap !important; max-width: 100% !important; }
.ck.ck-toolbar .ck-toolbar__items { flex-wrap: wrap !important; max-width: 100% !important; }
.ck.ck-editor { max-width: 100% !important; }

  /* #content İÇİNDEKİ YOUTUBE İFRAMELERİ - DOĞRU */
  #content iframe[src*="youtube"],
  #content iframe[src*="youtu.be"] {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 9 !important;
      border-radius: 12px;
      margin: 25px 0;
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
      display: block;
      border: none;
  }

  #content.content-area p:last-of-type { margin-bottom: 0; }
  #content.content-area .red-btn { margin-bottom: 0; }
  #content.content-area .red-btn:not(:last-of-type) { margin-bottom: 1rem; }
  #content.content-area.has-after-content .red-btn:last-of-type { margin-bottom: 1rem; }
  

/* En yüksek öncelik için 'html body' ile başlıyoruz */
html body #prev-button.btn-outline-secondary, 
html body #next-button.btn-outline-secondary,
html body #prev-button.btn-outline-secondary:focus, 
html body #next-button.btn-outline-secondary:focus,
html body #prev-button.btn-outline-secondary:active, 
html body #next-button.btn-outline-secondary:active {
    background-color: transparent !important;
    color: #6c757d !important;
    box-shadow: none !important;
    border-color: #6c757d !important;
    outline: none !important;
    /* Mobildeki o anlık mavi-gri parlamayı tamamen kapatır */
    -webkit-tap-highlight-color: transparent !important;
}

/* Sadece gerçek mouse kullanan cihazlarda (Masaüstü) hover çalışsın */
@media (hover: hover) and (pointer: fine) {
    #prev-button.btn-outline-secondary:hover, 
    #next-button.btn-outline-secondary:hover {
        background-color: #6c757d !important;
        color: #fff !important;
    }
}