* {box-sizing: border-box;}

*:active, [contenteditable] {
  outline: 0px solid transparent;
}

.bg-med {
  background-image: url("../image/medBG.png");
}
.point, .answer, .letter, .nav-link {cursor:pointer;}

.YM {font-family: 'Yusei Magic', sans-serif;}
.noselect {
  -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; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.img-fit { /* shrinks to fit image both horizontally and vertically */
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popover {
  -webkit-box-shadow: 0px 0px 9px 6px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 0px 9px 6px rgba(0,0,0,0.15);
  box-shadow: 0px 0px 9px 6px rgba(0,0,0,0.15);
}

.popover-header::after {
  font-size:1.4rem;
  content: "\d7"; /* Unicode for "times" */
  position: absolute;
  top: 5px;
  right: 5px;
}

.square:before{
	content: "";
	display: block;
  position: absolute;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}

.svg-shadow{
  -webkit-filter: drop-shadow( 0 .5rem 1rem rgba(0,0,0,.15));
  filter: drop-shadow( 0 .5rem 1rem rgba(0,0,0,.15));
}

.danger.form-check-input:checked {
  border-color: #b02a37;
  background-color: #f00;
  background-image: url("../image/x.svg");
}

.danger.form-check-input:focus {
  border-color: #b02a37;
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}

.fc-clone { /* looks exactly like a bootstrap 5 form-control */
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.drag{
  touch-action:none;
}

.btn{
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ and Edge */
  user-select: none; /* Standard syntax */
  white-space:nowrap;}

.inner-shadow {
  -moz-box-shadow: inset 0px 0px 5px cornflowerblue;
  -webkit-box-shadow: inset 0px 0px 5px cornflowerblue;
  box-shadow: inset 0px 0px 5px cornflowerblue;
  border-radius: 50%;
}


/*BACKGROUND COLORS///////////////////////////////////////////////////////////*/
.red{
  background-color: #e00;
  background-image: -webkit-linear-gradient(left top, Red, FireBrick);
}
.orange{
  background-color: DarkOrange;
  background-image: -webkit-linear-gradient(left top, Orange, DarkOrange);
}
.yellow{
  background-color: Yellow;
  background-image: -webkit-linear-gradient(left top, Yellow, Gold);
}
.green{
  background-color: LimeGreen;
  background-image: -webkit-linear-gradient(left top, Green 30%, DarkGreen 70%);
}
.blue{
  background-color: #00e;
  background-image: -webkit-linear-gradient(left top, #00e 30%, DarkBlue 70%);
}
.purple{
  background-color: Purple;
  background-image: -webkit-linear-gradient(left top, DarkViolet, Purple);
}
.black{background-color: Black;}
.white{background-color: White;}
.gray{background-color: #999;}
.pink{
  background-color: HotPink;
  background-image: -webkit-linear-gradient(left top, Pink, HotPink);
 }
.brown{
  background-color: SaddleBrown;
  background-image: -webkit-linear-gradient(left top, Sienna, SaddleBrown);
}
.violet{
  background-color: #c9f;
  background-image: -webkit-linear-gradient(left top, #c9f, #c6f);
}
.silver{
  background-color: #ccc;
  background-image: -webkit-linear-gradient(
  left top, Gray, White 10%, #ccc 35%, white 57%, White 60%, Gray);}
.gold{
  background-color: GoldenRod;
  background-image: -webkit-linear-gradient(
  left top, GoldenRod, white 27%, White 30%, Gold 65%, White 90%, GoldenRod);
}
.lightBlue{background-color: LightSkyBlue;
  background-image: -webkit-linear-gradient(left top, Cyan, PaleTurquoise);
}
.lightGreen{background-color: LimeGreen;
  background-image: -webkit-linear-gradient(left top, GreenYellow, SpringGreen);
}
.lightBrown{background-color: SandyBrown;
  background-image: -webkit-linear-gradient(left top, Tan, BurlyWood);
}
.darkBlue{background-color: Navy;}
.darkGreen{ background-color: #004800;}
.darkBrown{background-color: #702400;}

/*TEXT COLORS/////////////////////////////////////////////////////////////////*/
.redText{color:Red !important;}
.orangeText{color:Orange !important;}
.yellowText{color:Yellow !important;}
.greenText{color:DarkGreen !important;}
.blueText{color:#0d6efd !important;}
.purpleText{color:Purple !important;}
.blackText{color:Black !important;}
.whiteText{-webkit-text-stroke: 2px Gray;
  color:White !important;
}
.grayText{color:#999 !important;}
.pinkText{color:Pink !important;}
.brownText{color:SaddleBrown !important;}
.violetText{color:#c9f !important;}
.lightBlueText{color:LightSkyBlue !important;}
.lightGreenText{color:SpringGreen !important;}
.lightBrownText{color:BurlyWood !important;}
.darkBlueText{color:Navy !important;}
.darkGreenText{color:#004800 !important;}
.darkBrownText{color:#702400 !important;}

/* FONTS /////////////////////////////////////////////////////////////////////*/
@font-face {
  font-family: 'NHHandwritingMedium';
  src: url('/public/files/NHHandwriting-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'NHHandwritingLight';
  src: url('/public/files/NHHandwritingRL-Light.otf') format('opentype');
}

@font-face {
  font-family: 'NHHandwritingRLTWLight';
  src: url('/public/files/NHHandwritingRLTW-Light.otf') format('opentype');
}

.NH {
  font-family: 'NHHandwritingMedium', sans-serif;
}

.NHline {
  font-family: 'NHHandwritingLight', sans-serif;
}

.NHdot {
  font-family: 'NHHandwritingRLTWLight', sans-serif;
}

/* ////////////////////////////////////////////////////////////////////////// */
