



@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css";
@import 'https://fonts.googleapis.com/css?family=Nunito:300,400,700';


@media (max-width: 768px) {
   .logoclass {
       display: none;
   }

h2 { font-size: 0.9em; font-weight: bold;} /* 28px */



}

body {
  padding: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 400; }

label {
  cursor: pointer;
  color: #383A3F;
  display: block;
  margin-bottom: 5px;
  font-size: 1em; }
  label input[type="checkbox"] + .label-text:hover:before {
    color: #fe4365; }
  label input[type="checkbox"] {
    display: none; }
    label input[type="checkbox"] + .label-text:before {
      content: "\f096";
      color: #dddfe6;
      font-family: "fontAwesome";
      line-height: 1;
      width: 1em;
      display: inline-block;
      margin-right: 5px; }
    label input[type="checkbox"]:checked + .label-text:before {
      content: "\f14a";
      color: #fe4365;
      animation: tick 150ms ease-in; }
    label input[type="checkbox"]:disabled + .label-text:before {
      content: "\f0c8";
      color: #dddfe6; }

@keyframes tick {
  0% {
    transform: scale(0); }
  90% {
    transform: scale(1.3); }
  100% {
    transform: scale(1); } }



@media (max-width: 768px) {
    .logoclass {
        display: none;
    }

     /* Update h2 font-size to 1.0em on smaller screens */
    h2 {
        font-size: 1.1em !important; /* Reduce to 0.7em */
        font-weight: bold;
    }

    /* Remove margin and padding from .container on smaller screens */
    .container {
        max-width: 100% !important;
        margin: 0 !important;    /* Set margin to 0 */
        padding: 0 !important;   /* Set padding to 0 */
        box-shadow: rgba(0, 0, 0, 0.0) 0px 0px 0px !important;
        padding-top: 0px !important;  /* Ensure no padding-top */
    }

    .content {
        padding: 20px 20px !important; 
    }

 .image-container img {
        width: 100%; /* Image will take up 100% of the parent container */
                justify-content: center  !important; /* Center the images on smaller screens */

    }

    .subjectpanel {
        padding-top: 30px;
        padding-right: 30px;
        padding-bottom: 30px;
        padding-left: 30px;
    }

    .block {
        margin: 0 0em !important;
    }
}


/* CSS */
img{border:0;}
img {
  height: auto;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.btn {
  background-color: #e1ecf4;
  border-radius: 3px;
  border: 1px solid #7aa7c7;
  box-shadow: rgba(255, 255, 255, .7) 0 1px 0 0 inset;
  box-sizing: border-box;
  color: #39739d;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI","Liberation Sans",sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15385;
  margin: 0;
  margin-bottom: 3px;
  outline: none;
  padding: 6px .4em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
}


.picked {
  background-color: yellow;
  border-radius: 3px;
  border: 1px solid #7aa7c7;
  box-shadow: rgba(255, 255, 255, .7) 0 1px 0 0 inset;
  box-sizing: border-box;
  color: #39739d;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI","Liberation Sans",sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15385;
  margin: 0;
  outline: none;
  padding: 6px .4em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
}


}

.block {
  display: block;
  width: 40%;
  cursor: pointer;
  text-align: left;
  margin: 0 0 em;
  margin-left: 4em;
}
.btn:hover,
.btn:focus {
  background-color: #b3d3ea;
  color: #2c5777;
}

.btn:focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

.btn:active {
  background-color: #a0c7e4;
  box-shadow: none;
  color: #2c5777;
}

.picked:active {
  background-color: red;
  box-shadow: none;
  color: #2c5777;
}

body
{
	margin: 0;
	padding: 0;
	color: #333;
	background-color: #eee;
	

}
.provdesc {
font-size: 0.8em;

}
	.content { padding: 0em 2em; }


  .container {
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.container
{
	max-width: 90%;
	margin: 0 auto;
  padding-top: 15px;
	background-color: #ffffff;
}

p
{
	margin: 0 0 0.9em;
	line-height: 1.5;
  font-size: 16px;
	font-family:helvetica;
	color: black;

}

.provs {

    font-size: 16px;

}
  #myInput {
  background-image: url('/css/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 14px; /* Increase font-size */
  padding: 12px 20px 12px 20px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

h1 { font-size: 1.3em; text-align: center; font-family:helvetica;} /* 36px */
h2 { font-size: 1.1em; font-weight: bold;} /* 28px */
h3 { font-size: 1.2em; font-weight: bold; } /* 22px */
h4 { font-size: 1.1em; text-align: center; font-family:helvetica;} /* 18px */
h5 { font-size: 1em; } /* 16px */
h6 { font-size: .875em; } /* 14px */




#myTable {
  border-collapse: collapse; /* Collapse borders */
  width: 100%; /* Full-width */
  border: 1px solid #ddd; /* Add a grey border */
  font-size: 14px; /* Increase font-size */
}

#myTable th, #myTable td {
  text-align: left; /* Left-align text */
  padding: 4px; /* Add padding */
}

#myTable tr {
  /* Add a bottom border to all table rows */
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  /* Add a grey background color to the table header and on hover */
  background-color: #f1f1f1;
}



/* From Uiverse.io by JaydipPrajapati1910 */ 
/* From Uiverse.io by JaydipPrajapati1910 */ 
.btn-container {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.btn-color-mode-switch {
  display: inline-block;
  margin: 0px;
  position: relative;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner {
  margin: 0px;
  width: 140px;
  height: 40px;
  background-color: #fcce8a;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
  display: block;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner:before {
  content: attr(data-on);
  position: absolute;
  font-size: 20px;
  font-weight: 600;
  top: 7px;
  right: 20px;
  color: #222;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner:after {
  content: attr(data-off);
  width: 70px;
  height: 25px;
  background: #fff;
  border-radius: 26px;
  position: absolute;
  font-size: 14px;
  display: flex;
  justify-content: center;
  left: 2px;
  top: 2px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 6px -2px #111;
  padding: 5px 0px;
  color: #222;
  font-weight: 600;
}

.btn-color-mode-switch input[type="checkbox"] {
  cursor: pointer;
  width: 50px;
  height: 25px;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 1;
  margin: 0px;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner {
  background-color: #fcce8a;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:after {
  content: attr(data-on);
  left: 68px;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:before {
  content: attr(data-off);
  right: auto;
  left: 20px;
}





.loading-spinner{
  width:30px;
  height:30px;
  border:2px solid indigo;
  border-radius:50%;
  border-top-color:#0001;
  display:inline-block;
  animation:loadingspinner .7s linear infinite;
}
@keyframes loadingspinner{
  0%{
    transform:rotate(0deg)
  }
  100%{
    transform:rotate(360deg)
  }
}

 input { 		


    padding: 10px;
		
								
	}



 textarea { 		

		background: #fff; 
		font-size: 24px; 
		color: #555; 
    width: 80%;
		border: 2px black solid;
    padding: 10px;
		
								
	}




.vertical-menu {
  width: 200px;
}

.vertical-menu a {
  background-color: #eee;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
}

.vertical-menu a.active {
  background-color: #04AA6D;
  color: white;
}


.radio {
	 display: block;
	 cursor: pointer;
	 user-select: none;
	 text-align: left;
}
 .radio + .radio {
	 margin-top: 5px;
}
 .radio input {
	 display: none;
}
 .radio input + span {
	 display: inline-block;
	 position: relative;
	 padding-left: 30px;
}
 .radio input + span:before {
	 content: '';
	 display: block;
	 position: absolute;
	 top: 2px;
	 left: 10px;
	 border-radius: 50%;
	 margin-right: 5px;
	 width: 16px;
	 height: 16px;
	 border: 1px solid #ccc;
	 background: #fff;
}
 .radio input + span:after {
	 content: '';
	 display: block;
	 width: 10px;
	 height: 10px;
	 background: red;
	 position: absolute;
	 border-radius: 50%;
	 top: 5px;
	 left: 13px;
	 opacity: 0;
	 transform: scale(0, 0);
	 transition: all 0.2s cubic-bezier(0.64, 0.57, 0.67, 1.53);
}
 .radio input:checked + span:after {
	 opacity: 1;
	 transform: scale(1, 1);
}

.flash {width: 80%; 
 background-color: cornsilk;
  display: grid;
    place-items: center; /* Centers both horizontally and vertically */
    height: 300px;      /* Set a height for the div */
    border: 0px ; /* Optional: for visibility */
    padding: 40px;

}

#progress { margin-top: 20px; }
   #quiz-select { margin-bottom: 20px; }





.card {
    width: 80%;
    height: 350px;
    perspective: 1000px; /* Adds depth to the 3D effect */
    border: 0px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s; /* Animation duration */
    transform-style: preserve-3d; /* Keeps the 3D space for child elements */
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back when facing away */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 0px;
}

.card-front {
    background-color: cornsilk; /* Front side color */
}

.card-back {
    background-color: cornsilk; /* Back side color */
    transform: rotateX(180deg); /* Rotate the back side vertically */
}




/* The Modal (background) */
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 0; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
     width: 100%;
   

}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  margin-top: 20px;

}

.modal-content2 {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  margin-top: 150px;

}


/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.plain {
  border: 0;
  background-color: white;
   font-size: 16px;

	font-family:helvetica;
	color: black;
  text-align: left;
 

}

.plain:hover {
  background-color: #04AA6D; /* Green */
  color: white;
}

.choicepanel { 
margintop: 20px;
    background-color: #F5F5F5;
}

.row2 { 
    background-color: #F5F5F5;
}

.topbar { 
    background-color: #506187;
    color: white;
    margin-left: 0px;
    margin-top: 0px;
}

/* Ensure TinyMCE popups are on top of Bootstrap modals */
.tox.tox-silver-sink {
    z-index: 1060 !important; /* Set higher than Bootstrap's modal */
}

.modal-dialog {
  margin-top: 0;
}
