#app {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  position: absolute;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: bottom;
  overflow: hidden;
  background-color: white;
}

.container {
  flex: 1;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;
}

.left-logo {
  position: absolute;
  left: 10px;
  z-index: 100000;
  top: 10px;
}

.right-close {
  position: absolute;
  right: 10px;
  z-index: 100000;
  top: 10px;
}

.right-info {
  position: absolute;
  right: 55px;
  z-index: 100000;
  top: 10px;
  border-radius: 50px;
  width: 38px;
}

.btn-undo {
  position: absolute;
  right: 110px;
  z-index: 100000;
  bottom: 10px;
  border-radius: 50px;
  width: 38px;
}

.btn-redo {
  position: absolute;
  right: 35px;
  z-index: 100000;
  bottom: 10px;
  border-radius: 50px;
  width: 38px;
}

.btn-primary:active,
.btn-primary.active {
  box-shadow: 0 0 0 1px #ff9800 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 1px 3px 1px rgba(0, 0, 0, 0.3);

  background-color: #ff7624;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;

  background-color: #ff7624;

  border-color: #ff7624;
}

/* Portrait */
@media (max-device-width: 800px) and (orientation: portrait) {
  #drawing-box {
    flex-direction: column;
    left: 0px !important;
  }

  .canvas_dropdown {
    right: -161px !important;
    top: -46px !important;
  }

  .canvas_dropdown2 {
    right: -229px !important;
    top: -46px !important;
  }

  .number-input input[type="number"] {
    font-size: 2rem !important;
  }
}

@media only screen and (max-width: 768px) {
  .left-logo {
    display: none;
  }

  #drawing-box {
    flex-direction: column;
    left: 0px !important;
  }

  .canvas_dropdown {
    right: -161px !important;
    top: -46px !important;
  }

  .canvas_dropdown2 {
    right: -224px !important;
    top: -46px !important;
  }

  .number-input input[type="number"] {
    font-size: 2rem !important;
  }
}

@media (max-aspect-ratio: 99/100) {
  /* .left-logo {
    display: none;
  } */

  .container {
    max-width: 100% !important;
    flex: 1;

    position: relative;

    padding-left: 35px;

    padding-right: 35px;
  }
}

/* whiteboard */
#canvas-container {
  /* width: 100%;
  height: 100%; */
  z-index: 1000;
  position: absolute;
  /* background-color: white; */
}

.draw-cursor {
  cursor: url(../assets/whiteboard/cursor-pen.0b17119d63b2cfbafc7dbf35237eb0ac.cur),
    auto !important;
}

.erase-cursor {
  cursor: url(../assets/whiteboard/eraser-transparent.7aff2caa355213dd627839573ffe82e1.cur),
    auto !important;
}

.whiteboard-btn {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  background-color: #00bcd4;
  border-color: #00bcd4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whiteboard-btn:disabled {
  color: #000000 !important;
  background-color: #6c6e70 !important;
  border-color: #6c6e70 !important;
}

.shapes-disabled {
  color: #000000 !important;
  background-color: #6c6e70 !important;
  border-color: #6c6e70 !important;
  opacity: 0.65;
}

.delete-btn {
  background-color: red !important;
  border-color: red !important;
}

#drawing-box {
  position: absolute;
  bottom: 5px;
  /* left: 200px; */
  padding: 5px 5px;
  border: 1px solid gray;
  background-color: #fff;
  height: min-content;
  cursor: grab;
  border-radius: 10px;
  display: flex;
  margin: 0px 2px;
  z-index: 10000;
  /* flex-wrap: wrap; */
}

#drawing-box button {
  margin: 3px;
}

#zoom-box {
  position: absolute;
  right: 5px;
  top: 40%;
  padding: 5px 5px;
  border: 1px solid gray;
  background-color: #fff;
  height: min-content;
  cursor: grab;
  border-radius: 10px;
  margin: 0px 2px;
  z-index: 10000;
}

#zoom-box button {
  margin: 3px;
}

.textbox {
  top: 20px;
  left: 40px;
  width: 300px;
  position: absolute;
  padding: 20px;
  cursor: grab;
}

.textbox > textarea {
  width: 250px;
  font-size: 25px;
  font-weight: 500;
}

textarea.form-control {
  resize: both;
  display: inline-block;
}

.close-video {
  /* display: inline-block;  */
  padding: 0px 6px;
  background: red;
  color: white;
  top: -7px;
  left: 0;
  height: 20px;
  /* line-height: 15px; */
  cursor: pointer;
  position: relative;
  /* float: left; */
  /* border-radius: 50px; */
  z-index: 100;
}

.red-pen {
  color: #e91818;
}

.canvas_dropdown {
  display: none;
  margin: 0;
  position: absolute;
  right: -57px;
  top: -112px;
  list-style: none;
  list-style-type: none;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.93, 0.88, 0.1, 0.8);
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid gray;
  transform: rotate(270deg);
}

.canvas_dropdown2 {
  margin: 0;
  position: absolute;
  right: 480px;
  top: -270px;
  /* left: -50px; */
  list-style: none;
  list-style-type: none;
  display: none;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.93, 0.88, 0.1, 0.8);
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid gray;
  flex-direction: column-reverse;
}

.roundPen {
  border-radius: 50%;
  width: 20px;
  margin: 2px;
  height: 20px;
  cursor: pointer !important;
}

.roundPen:active .dropdown__items {
  visibility: hidden !important;
}

.circle {
  border-radius: 50%;
  width: 20px;
  margin: auto;
  height: 20px;
  cursor: pointer !important;
}

.circle:active .dropdown__items {
  visibility: hidden !important;
}

.square {
  width: 20px;
  margin: auto;
  height: 20px;
  cursor: pointer !important;
}

.square:active .dropdown__items {
  visibility: hidden !important;
}

.rectangle {
  width: 30px;
  margin: 2px;
  height: 20px;
  cursor: pointer !important;
}

.rectangle:active .dropdown__items {
  visibility: hidden !important;
}

.triangle {
  /* margin: 2px; */
  cursor: pointer !important;
  /* border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid #ff4f00; */
}

.triangle:active .dropdown__items {
  visibility: hidden !important;
}

.rectTriangle {
  transform: rotate(270deg);
}

.line {
  margin: auto;
  cursor: pointer !important;
  border-left: 4px solid black;
  height: 20px;
  transform: rotateZ(32deg);
  width: 7px;
}

.arrow {
  cursor: pointer !important;
  margin: auto;
  position: relative;
  left: 5px;
}

.arrow > img {
  width: 20px;
  transform: rotateZ(308deg);
}

.line:active .dropdown__items {
  visibility: hidden !important;
}

.cover {
  /* width: 20px;
  margin: auto;
  height: 20px;
  border-radius: 5px;
  background-color: yellowgreen; */
  cursor: pointer !important;
}

.cover:active .dropdown__items {
  visibility: hidden !important;
}

/* .cover {
  top: 30%;
  left: 40px;
  width: 200px;
  position: absolute;
  padding: 20px;
  cursor: grab;
} */

.drag-container {
  padding: 10px 5px;
  width: 100%;
  flex-direction: column;
  display: flex;
  justify-content: center;
}

.drag-bars {
  border: 1px solid gray;
  margin-bottom: 5px;
}

.grid-enable {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, grey 1px, transparent 1px),
    linear-gradient(to bottom, grey 1px, transparent 1px);
}

#fileUploaderBtn .fa-file-import:before {
  position: relative;
  top: 18px;
}
.fa-file:before {
  position: relative;
  top: 18px;
}
.fa-image:before {
  position: relative;
  top: 18px;
}

.audio-component {
  position: absolute;
  left: 50px;
  top: 175px;
  background: white;
  border: 1px solid #ccc;
  padding: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  cursor: grab;
}
.close-audio {
  cursor: pointer;
  color: red;
  font-weight: bold;
  position: absolute;
  top: -5px;
  right: 5px;
}

.fa-circle {
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}

.icon-disabled::before {
  top: 0px !important;
  right: 0px !important;
}

.info-image::before {
  top: 0px !important;
  cursor: default !important;
}

.fa-video:before {
  position: relative;
  right: 18px;
}

.info-video::before {
  right: 0px !important;
  cursor: default !important;
}

.fa-image,
.fa-video {
  cursor: pointer;
}

#space {
  width: 10px;
  height: 10px;
}

#video-component {
  height: 50px;
  width: 50px;
  background: transparent;
  position: absolute;
  top: 10px;
}

video {
  cursor: grab;
}

.modal {
  z-index: 100000;
}

/* .info-modal {
  max-width: unset!important;
  margin: 0px!important;
} */
.table-component {
  margin-top: 20px;
}

.table .thead-dark th {
  color: #fff;
  background-color: #fe5000;
  border-color: unset;
}

.table thead th {
  border-bottom: unset;
}

.btn-donate {
  border-radius: 50px;
  background-color: #fe5000;
  color: #fff;
  height: 35px;
}

.toggle.btn {
  min-width: 6rem !important;
  min-height: 2rem !important;
}

.math {
  background-color: #fe5000 !important;
  border-color: #fe5000 !important;
}

.isEnglish,
.isEnglish_ {
  display: none;
}

.table td,
.table th {
  padding: 0.2rem;
  vertical-align: baseline !important;
  border-top: 1px solid #dee2e6;
}

.table-component {
  font-size: 13px;
}

.modal-title {
  font-size: 20px;
}

.toggle-on.btn,
.toggle-off.btn {
  font-size: 20px;
  padding: 0px;
}

.selected_ {
  box-shadow: 0 0 0 0.2rem rgb(38 143 255 / 50%);
}

.info-video-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.font-italic {
  font-style: italic;
}

.copyright {
  color: #fe5000;
}

.offer-text {
  width: 50%;
}

.donate-text-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-footer {
  border-top: unset !important;
}

.offer-info-btn {
  border-radius: 50px;
  width: 38px;
}

/*canvas reset modal styles*/
#canvasReset .modal-content {
  border: 1px solid black;
  border-radius: 15px;
}

#canvasReset .modal-header {
  border-bottom: none;
  padding: 1rem 1rem 0rem 1rem;
}

#canvasReset .modal-footer {
  border-top: none;
  justify-content: space-evenly;
}

#canvasReset .modal-title {
  margin: auto;
}

#canvasReset .modal-header .close {
  padding: 0px !important;
  margin: 0px !important;
}

#canvasReset .modal-body {
  margin: auto;
}

#canvasReset .modal-footer > :not(:last-child) {
  width: 30%;
}

#canvasReset .modal-footer > :not(:first-child) {
  width: 30%;
}

#canvasReset .btn {
  padding: 0px;
}

#canvasReset .reset-yes {
  background-color: #ff7624;
  border-color: #ff7624;
  color: white;
  font-size: 30px;
}

#canvasReset .reset-yes:hover {
  background-color: #f97222;
  border-color: #f97222;
}

#canvasReset .reset-no {
  background-color: #34a853;
  border-color: #34a853;
  color: white;
  font-size: 30px;
}

#canvasReset .reset-no:hover {
  background-color: #309b4c;
  border-color: #309b4c;
}
