@import url('icomoon-style.css');
/* Button holder div */
div.bholder{
  width:100%;
  border:1px solid black;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: 100%;
}

/* Tools button undo redo */
div.mtoolbutton{
  height: 52px;
  border: 1px solid black; 
}


/* Buttons */
div.mbuttonpop {
  border-top: 1px solid black;
}

/* Close div */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.wpProQuiz_questionListItem .myBtn {
  background-color: none !important;
}

/* All buttons styling */
.bholder button {
  background-color: white;
  border: 1.5px solid grey;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  cursor: pointer;
  text-align: center;
  -webkit-transition: color .2s ease-in,background-color .2s ease-in,-webkit-box-shadow .2s ease-in;
  -moz-transition: color .2s ease-in,background-color .2s ease-in,-moz-box-shadow .2s ease-in;
  transition: color .2s ease-in,background-color .2s ease-in,box-shadow .2s ease-in;
  font-family: STIXGeneral;
  height: 2em;
  line-height: 2em;
  padding: 0;
  width: 100px;
  text-align: center;
  box-sizing: border-box;
  margin: 3px;
  text-decoration: none;
  color: #000;
}

/* mathquil span div */
.input {
  width: 800px !important;
  font-size: 30px !important;
}

button.mqtools, button.pmqtools {
  /* background-color: white !important;
  border-radius: none !important;
  width: 20px !important;
  border: 1px solid black !important; */
  transform: scale(1);
  display: inline-block;
  border: 1px solid #000;
  max-width: 100px;
  width: 40px;
  height: 40px;
  padding: 0;
  min-width: auto;
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px;
  background: #FFF;
}

button.mqtools:hover{
  background: #296e8b;
  border-radius: 50%;
  color: #FFF;
} 

button.pmqtools:hover{
  background: #296d8a;
  border-radius: 50%;
}

button.mqtools img{ 
  height: 22px;
  width: auto;
}

button.pmqtools img{ 
  height: 22px;
  width: auto;
}

/* Draging div */
.mqdrag{
  background-color: white !important;
}

.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList span {
  margin-right: 0;
}


div.mtoolbutton{
  height: 52px;
  display: flex;
  justify-content: left;
  align-items: center;
  background: #ececec;
  border-bottom: 0;
}

.learndash-wrapper .calc_mathquil span.mq-root-block{
  margin-right: 0;
  /* height: 60px; */
  padding: 16px 5px;
  box-sizing: border-box;
}

.learndash-wrapper .calc_mathquil_popup span.mq-root-block{
  margin-right: 0;
  /* height: 60px; */
  padding: 16px 5px;
  box-sizing: border-box;
}


.bholder button{
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-family: sans-serif;
  width: 29%;
  background: #f7f7f7;
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.bholder button:hover{
  background: #f6f6f6;
  color: black !important;
}

.bholder button img{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto;}
div.bholder{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.column__left{width: 44%; box-sizing: border-box; padding: 4px; border-right: 1px solid #ccc;}
.column__right{ width: 56%; box-sizing: border-box; padding: 4px; }
.rowRighgtclm{ width: 100%; padding-top: 4px; border-top: 1px solid #CCC; padding-bottom: 4px;}
.column__right > div:first-child{ border-top: 0; padding-top: 0;}
.column__fullWidth{ width: 100%; border-top: 1px solid #ccc; padding: 4px; }

.bholder .column__right button {
  width: 16.4%;
}
.bholder .column__fullWidth button {
  width: 10.45%;
}

/* --------- Extra ---- */
button.mqtools, button.pmqtools{
  width: 35px;
  height: 35px;
}

button.mqtools img {
  height: auto;
  width: 50%;
}

button.pmqtools img {
  height: auto;
  width: 50%;
}

.calc_mathquil{ width: 100%;}
.calc_mathquil_popup{ width: 100%;}
.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList{ width: 100%; max-width: 1024px;}
.column__left{width: 30%;}
.column__right{ width: 70%;}
.bholder .column__right button{ width: 10.5%;height: 35px;
line-height: 35px;
font-size: 26px;
font-weight: 600;
color: #000;
}

button.rallyinput {
  background-color: transparent !important;
  border: 1px solid grey;
}

button.prallyinput {
  background-color: transparent !important;
  border: 1px solid grey;
}

#blank {
  background-color: transparent;
  border: solid 1px #f7f7f7;
  border-color: #ccc;
  pointer-events: none;
}

/* The math editor popups */
.rally-drop-show {
  display: none;
}
  
.rally-drop-show {
  position: absolute;
  bottom: 0;
  height: auto;
  width: 100%;
  z-index: 1000000;
  background-color: rgb(255, 255, 255);
  padding-top: 10px;
  box-shadow: 5px 2px 5px;
}

.rally-drop-show-inside {
  /* width: 98%; */
  width: 46%;
  margin: auto;
}

.pmqclose {
  position: relative;
  left: 642px;
}




.bholder button .icon-fraction{ font-size: 30px;}
button.mqtools, button.pmqtools{ font-size: 40px;}
button.mqtools .icon-delete{ font-size:32px;}
.pmqclose.pmqclose.pmqclose{ font-size: 22px;}
/* ------------------------ */
@media screen and (min-width:1300px) {
  .rally-drop-show{}
  .rally-drop-show .column__left{width: 40%;}
  .rally-drop-show .column__right{ width: 60%;}
  .rally-drop-show .bholder button{ width: 22%;}
  .rally-drop-show .bholder .column__right button{ width: 12%;}
  body.rallyDropPopup__show ul.s-quest{margin-bottom: 210px !important;}
}


/* body.rallyDropPopup__show{
  margin-top: -200px;
} */
.rally-drop-show .bholder button{height: 35px; line-height: 35px;}
body.rallyDropPopup__show ul.s-quest{margin-bottom: 310px !important;}
.pmqclose{ 
  position: absolute;
  left: inherit;
  right: 5px;
 
}
div.mtoolbutton{position: relative;}
@media only screen and (min-width:768px) and (max-width:1024px) {
  .rally-drop-show .column__left{width: 34%;}
  .rally-drop-show .column__right{ width: 65%;}
}


/* Desktop view SFT 01-05-2024 */

@media only screen and (min-width:655px) and (max-width:1605px) {
  .rally-drop-show-inside {
    width: 100% !important;
  }
}

/* Button width */
.rally-drop-show .bholder .column__left > button {
  width: 30%;
}