:root{
	--showmark: hidden; /*visible*/
  --showAdditionalBtn: visible; /*hidden*/
}

#flipbook-viewport #flipbook{
  overflow: unset !important;
}

#buttons-wrap{
  width: 50px;
  position: absolute;
  z-index: 2;
  text-align: center;
}

#buttons-wrap button{
  width: 50px;
    height: 35px;
    color: #FFF;
}

#buttons-wrap #cw-btn{
  background-color: #5d63f6;
}

#buttons-wrap #hw-btn{
  background-color: #a4243b;
}


#assign-buttons-wrap{
  position: absolute;
  z-index: 500;
}

#assign-type-drag-wrap{
  /* background-color: #008d00; */
}

#assign-type-wrap .in-wrap label{
  width: 65px;
  height: 25px;
  font-size: 12px;
  background-image: linear-gradient(to bottom, #ffffff, #FFEB3B);
  display: inline-block;
  cursor: pointer;
  margin: 0 5px;
  font-family: 'calibri';
  color: #000000;
  text-align: center;
  line-height: 22px;
  border-radius: 10px;
  box-shadow: 1px 1px 4px #272727;
}

#form-closer{
	position: absolute;
	width: 25px;
	height: 25px;
	right: 0;
}

#form-closer:checked~.in-wrap{
  display: none;
}
#form-closer:checked~.drag-bar{
  display: block;
}
#form-closer:checked~label{
  background-position: -1px 0;
}
#close-img{
  width: 25px;
  height: 25px;
  position: absolute;
  right: 0;
  cursor: pointer;
  background-image: url(../images/min-max-ico.png);
  background-position: -26px 0px;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #255F4B;
}

#assign-type-wrap input[type="radio"]:checked+label{
  /* background-image: linear-gradient(to bottom, #00b1c3, #00404b);
  color: #fff;*/
  font-weight: bolder;
}
input[type="image"].invisible {
    display: none;
}
.invisible{
  opacity: 0;
  pointer-events: none;
}

#hw-btn, #cw-btn{
  width: 63px;
  height: 24px;
  /* position: absolute;
  z-index: -1; */
}
.rel-ele{
  position: relative;
  height: 23px;
  width: 30%;
}
#hw-btn~label, #cw-btn~label{
  position: absolute;
  left: -5px;
}


input[type="checkbox"].assign-btn, #assign-type-wrap{
  transition: opacity 0.5s;
}
#assign-type-wrap{
  position: absolute;
  left: calc(50% - 77px);
  top: calc(100% - 240px);
  box-shadow: 2px 2px 6px #575757;
  z-index: 999;
}
.drag-bar{
  height: 25px;
  width: 250px;
  background-color: #255F4B;
  cursor: all-scroll;
  line-height: 24px;
  padding-left: 5px;
  color: #fff;
}
.drag-bar>h2{
  font-size: 14px;
  font-family: 'Century Gothic';
  font-weight: bold;
  margin: 0;
  line-height: 22px;
}

.in-wrap{
  background-color: #c8fae9;
  width: 250px;
  padding-bottom: 10px;
  min-height: 170px;
  text-align: center;
  position: relative;
}
.in-wrap>div{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  font-size: 14px;
  font-family: 'calibri';
}

.marks-wrap{
  display: flex;
  flex-direction: column;
  font-size: 10px;
  padding: 0px 2px;
  margin: 0px;
  pointer-events: auto !important;
}
.marks-wrap input{
  width: 30px;
  height: 20px;
  text-align: center;
  color: #ffffff;
  background: #a02929;
  box-shadow: 2px 2px 2px #6d6d6d;
  visibility: var(--showmark);
  appearance: textfield;
  -webkit-appearance: textfield;
  -ms-appearance: textfield;
  -o-appearance: textfield;
  -moz-appearance: textfield;
}

.marks-wrap input::-webkit-inner-spin-button, .marks-wrap input::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  margin: 0;
}

.marks-wrap input:disabled{
  background: #393939;
  box-shadow: none;
}

.marks-wrap input:focus-visible{
  box-shadow: 0px 0px 5px 5px #4c1fc1
}

.marks-wrap label{
	text-align: center;
	font-family: 'calibri';
	border: 1px solid;
	background-color: rgba(255, 255, 255, 1);
	display: none;
}

.submit-status-wrap{
position: absolute;
background: #fff;
top: 0;
width: 100%;
height: 100%;
flex-direction: column;
align-items: center;
}

#submit-res.inactive{
opacity: 0.3;
}
#submit-res{
background-color: #302cf5;
}
.assign-buttons-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center !important;
}
.assign-wrap{
  padding: 10px 40px;
}

input[type="image"][data-res].hwcw-review-button{
    z-index: 0;
    position: absolute;
}

.hwcw-review-button{
  object-fit: cover;
  object-position: 0px;
  background: #008d00;
  box-shadow: 1px 1px 3px 1px gray;
  border-radius: 5px;
  padding: 1px;
  top: 0px !important;
  overflow: clip;
}
.hwcw-review-button.off{
  /* object-position: -25px; */
  background-color: grey;
}

.assign-buttons-wrap>input.attempted{
  background-color: #00b700;
}
/* .assign-buttons-wrap.attempted::after{
  font-family: sans-serif;
  content: '\2713';
  position: absolute;
  font-weight: bold;
  color: green;
  left: 27px;
  top: 16px;
  line-height: 1rem;
  font-size: 1.2rem;
} */

.assign-info-wrap{
  min-height: 50px;
}

.assign-info-wrap>div{
  display: flex;
  width: 75%;
  justify-content: space-between;
  min-width: 60%;
  border-top: 1px solid #ddd;
}
.assign-info-wrap>div:last-of-type{
  border-bottom: 1px solid #ddd;
}

.assign-info-wrap .ex-comp{
  flex-wrap: nowrap;
  align-items: center;
  width: 90%;
}

.assign-info-wrap .ex-comp input[type="datetime-local"]{
  width: 150px;
  background-color: transparent;
}

.info-val{
  font-weight: bold;
 
  text-align: center;
  min-width: 85px;
}

.in-wrap button{
  padding: 5px 10px;
  font-size: 12px;
  background-color: #a4243b;
  color: #fff;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #999;
  cursor: pointer;
}
.in-wrap #submit-assign{
  background-color: #02690a;
}


.inactive, .inactive label, .inactive input{
  pointer-events: none !important;
  opacity: 0.8;
}

button.inactive{   
  background-color: #595959 !important;
}

button.hwcw-question{
  width: auto;
}

.left-wraper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: auto !important;
}
.hwcw-question{
  cursor: pointer;
  text-align: center;
  display: none !important;
}
.modal-backdrop.fade.show{
  /* display: none !important; */
  --bs-backdrop-opacity: 0.8;
}
.hwcw-question-button{
  pointer-events: auto !important;
  margin-left: unset !important;
}

/* additional btn css start */
.addtnl-buttons-wrap {
  position: absolute;
  z-index: 100;
  visibility: var(--showAdditionalBtn);
}

.language-lab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e8f4ff;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #c9e2ff;
    height: 30px;
    width: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 95%;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}
.language-lab-btn[data-addtnlbtn-type="Language_lab"][data-addtnlbtn-subtype="Conversation Practice"]{
    background-image: url(../images/conversation.png);
}
.language-lab-btn[data-addtnlbtn-type="Language_lab"][data-addtnlbtn-subtype="Writing Practice"]{
    background-image: url(../images/writing.png);
}
.language-lab-btn[data-addtnlbtn-type="Language_lab"][data-addtnlbtn-subtype="Listening Practice"]{
    background-image: url(../images/listening.png);
}
.language-lab-btn[data-addtnlbtn-type="Language_lab"][data-addtnlbtn-subtype="Reading Practice"]{
    background-image: url(../images/reading.png);
}

.language-lab-btn:hover {
    background-color: #d8ecff;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}

.language-lab-btn:active {
    transform: translateY(0px);
    box-shadow: 0px 1px 2px rgba(0,0,0,0.4);
}


.language-lab-btn i {
  display: none;
  padding: 5px;
  color: rgb(255, 255, 255);
	border-radius: 5px;
}
.language-lab-btn i:hover {
	rotate: 180deg;
	transition: rotate 0.5s ease;
}
.language-lab-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
/* additional btn css end */