:root {
  --btn-normal-color: #14648F;
  --btn-normal-color-hover: #EF535F;
  --btn-text-primary: rgb(76, 212, 76);
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;

  -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;
}


.svg-w {
  transform: scale(2.5);
}
* {
  -webkit-tap-highlight-color: transparent;
}

.toolbar-btn {
  margin: 5px;
  padding: 2px;
  background: none;
  background-repeat: no-repeat;
  background-size: contain;
	color: inherit;
	border: none;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  background-position: center;
}

.footer {
  width: 100%;
  margin: auto;
  position: fixed;
  bottom: 5px;
  /* height: 3.3vw; */
  z-index: 999;
  /* text-align: center !important; */
  /* object-fit: fill;
  background-size: cover;
  background-position-y: bottom; */
}

.pageNumberLabel {
  font-size: 1.2vw;
}


.footerbar-buttons > div {
  display: flex;
  align-items: center;
}

.footerbar-left-items, .footerbar-right-items {
  flex-basis: 25%;
  max-width: 25%;
}

.footerbar-center-items {
  justify-content: space-between;
  flex-basis: 48%;
  max-width: 48%;
}

.footerbar-center-items > div {
  align-items: center;
  display: flex;
  flex-basis: 25%;
  max-width: 25%;
}
.footerbar-center-items > div:nth-child(2) {
  flex-basis: 48%;
  max-width: 48%;
  justify-content: center;
}

.footerbar-right-items {
  justify-content: end;
  padding-right: 40px;
}

button:disabled,
button[disabled]{
  opacity: 0.5 !important;
}

.theme-btn {
  border: 0;
  text-align: center;
  background-color: var(--btn-normal-color);
  height: 2.8vw;
  min-width: 3vw;
  padding: 8px 16px;
  color: white;
  border-radius: 5px;
  background-size: contain;
  font-size: 1.2vw;
}


.theme-btn:hover {
  background-color: var(--btn-normal-color-hover);
}


.showAnswer {
  min-width: 45px;
  height: 40px;
  padding: 5px;
  background-color: var(--btn-normal-color-hover);
}

.theme-btn:hover .showAnswer{
  background-color: var(--btn-normal-color);
}

.grid {
  display: grid;
  width: 100%;
  align-items: center;
}

.footergrid {
  grid-template-columns:  3fr 1fr 3fr; /*3 ana bölgeye bölüyoruz -> l-m-r*/
  grid-gap: 10px;
}

.footergrid>.left>.grid {
  grid-template-columns:  5fr 4fr; /*2 kısma bölüyoruz. ilk kısımda 4 birim diper kısım 5 birim yer kaplıyor*/
  grid-gap: 12px;
}

.footergrid .menugrid {
  grid-template-columns: 3fr 2fr 2fr 2fr 1fr;
}

.footergrid .focusgrid {
  grid-template-columns: repeat(4, 1fr);
}

.footergrid>.mid>.grid {
  grid-template-columns: 1fr 2fr 1fr;
  grid-gap: 5px;
}

.footergrid>.right>.grid {
  grid-template-columns:  7fr 2fr; /*2 kısma bölüyoruz. ilk kısımda 7 birim diper kısım 2 birim yer kaplıyor*/
  grid-gap: 12px;
}

.footergrid .pagegrid {
  grid-template-columns: 1fr 1fr;
}

.footergrid .triggergrid {
  grid-template-columns: 3fr 4fr;
  grid-gap: 12px;
} 

.triggergrid > .zoom {
  align-items: center;
  display: flex;
}
.zoom .zoomBtn {
  cursor: pointer;
  border: none;
  box-shadow: none;
  outline: none;

}

.zoomSlider {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #000;
  height: 10px;
}

.threegrid {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.d-flex-center > * {
  margin: 0px 3px;
}
.text-green {
  color: var(--btn-text-primary) !important;
}


.btn {
  background-color: white;
  border: 0;
  border-radius: 8px;
  padding: 0px 10px;
  outline: none;
  box-shadow: none;
  height: 55px;
  font-size: large;
  fill: #EF535F;
}
.btn:hover  {
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.hid {
  height: 0px !important;
}


.pagenumberbox {
  border: 1px solid rgb(180, 180, 180);
  border-radius: 10px;
  cursor: pointer;
  background-color: rgb(240, 240, 240);
  color: #505050;
  text-align: center;
  min-height: 34px;
  width: 100%;
}

.menubox {
  position: absolute;
  z-index: 9999;
}

.menubox-body {
  background-color: #ebebeb;
  border-radius: 10px;
  max-width: 120px;
}

/*TOGGLE*/
#modeSwitch {
  display: none;
}
/************/

.switch-content {
  margin: 20px 0px;
}
.modeSwitch {
  background-color: #cccaca;
  width: 100px;
  border-radius: 60px;
  display: inline-block;
  height: 50px;
  position: relative;
  cursor: pointer;
  /* transform: rotate(90deg);*/
}
.toggle {
  position: absolute;
  background-color: white;
  width: 50%;
  height: inherit;
  border-radius: 100%;
  z-index: 1399;
  transition: transform 0.3s cubic-bezier(0.680, -0.550, 0.265, 1.550);
  
}
.modes {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
  height: inherit;
  position: relative;
}
.modes > * {
  z-index: 1400;
}

/************/
div[disabled]
{
  pointer-events: none;
  opacity: 0.5;
}

#imcursor {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 9999;
  display: hidden;
}

.form-item {
  border: 1px solid rgba(184, 184, 184, 0.541);
  background-color: white;
  padding: 8px 10px;
  border-radius: 10px;
  outline: none !important;
  transition: 0.2s ease;
}
.form-item:focus:not(button) {
  box-shadow: rgb(255 114 0 / 43%) 0px 0px 5px 0px;
  border: 1px solid rgb(255 114 0 / 60%);
}

button.form-item:hover {
  border: 1px solid rgb(255 114 0 / 60%);
  box-shadow: rgb(255 114 0 / 43%) 0px 0px 5px 0px;
  color: rgb(255 114 0 / 70%) !important;
  cursor: pointer;
}

@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}



.react-grid-layout {
  position: relative;
  transition: height 200ms ease;
}
.react-grid-item {
  transition: all 200ms ease;
  transition-property: left, top;
}
.react-grid-item.block-static {
  height: 10px !important;
  border-radius: 10px;
  top: 20px;
  background-color: #9f9f9f;
}
.react-grid-item.cssTransforms {
  transition-property: transform;
}
.react-grid-item.resizing {
  z-index: 1;
  will-change: width, height;
}

.react-draggable-dragging {
  transition: none !important;
  z-index: 3;
  will-change: transform;
}

.react-grid-item.react-grid-placeholder {
  background: red;
  opacity: 0.2;
  transition-duration: 100ms;
  z-index: 2;
  border-radius: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.circles {
  cursor: pointer;
}

.circles span {
  width: 6px;
  height: 6px;
  background-color: #b6b6b9;
  border-radius: 50%;
  display: inline-block;
  margin: 0px 2px;
}
.circles:hover span {
  background-color: #ff9641;
}

.react-draggable {
  cursor: move;
}

#noDrag {
  cursor: default;
}

.react-grid-item .toolbar-btn {
  cursor: move;
}


.divider0 {
  padding: 10px 0px;
  border-top: 1px solid #cecece;
  margin-top: 8px
}

.important-text {
  font-weight: 400;
  color: rgb(255 111 0);
}

/*im long press effect */
.imlongpress-wrap {
  overflow: hidden;
  position: absolute;
  left: 10px;
  top: 10px;
  /* width: 50px;
  height: 50px; */
  background-color: transparent;
  border-radius: 50%;
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  transform: translate(-50%, -50%) rotate(180deg);
  animation: delay-display 0.5s ease-in;
  -webkit-animation: delay-display 0.5s ease-in;
}

.imlongpress-wrap:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 500px;
  background-color: white;
}

.imlongpress-wrap div {
  overflow: hidden;
  position: absolute;
  width: 50%;
  height: 100%;
}

.imlongpress-wrap .imlongpress-loader {
  position: absolute;
  left: 100%;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 1000px;
  background-color: #555;
}

.imlongpress-wrap .imlongpress-left {
  left: 0;
}

.imlongpress-wrap .imlongpress-left .imlongpress-loader {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transform-origin: 0 50% 0;
  -webkit-transform-origin: 0 50% 0;
  /* animation: loading-left 2s  ease-in;
  -webkit-animation: loading-left 2s  ease-in; */
}

.imlongpress-wrap .imlongpress-right {
  left: 50%;
}

.imlongpress-wrap .imlongpress-right .imlongpress-loader {
  left: -100%;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  transform-origin: 100% 50% 0;
  -webkit-transform-origin: 100% 50% 0;
  /* animation: loading-right 2s  ease-out;
  -webkit-animation: loading-right 2s  ease-out; */
}


@keyframes delay-display {
  0% {
    opacity: 0;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes delay-display {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes loading-left {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

@-webkit-keyframes loading-left {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(180deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  75% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
  }
}

@keyframes loading-right {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

@-webkit-keyframes loading-right {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  75% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
  }
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

