/**************general styles************/
* {
    font-family: verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scrollbar-color: rgb(36, 76, 128) rgb(187, 209, 233);
  overflow-x: hidden;
}

#container {
   width: 100%;
   min-height: 100vh;
}

.maincontainer {
  position: relative;
  padding-top: 15px;
}

.mainarea {
  margin: 15px 30px 0px 35px;
  padding-bottom: 10px;
  background-color: white;
}

/***************main sections****************/

.partdivide {
  display: flex;
  width: calc(100% + 70px);
  background-image: url('../images/dividerbkgnd.jpg');
  background-size: 100% 100%;
  color: #244C80;
  margin: 35px 0px 0px 0px;
  padding-left: 15px;
  transform: translateX(-35px);
  font-weight: bold;
  justify-content: start;
}

.partdivide h1 {
  display: inline-block;
  font-size: 2.5rem;
  margin: auto 5px auto 15px;
}

.partdivide .logo {
  height: 71px;
  width: 71px;
  background-image: url('../images/SElogosmall2.png');
  background-repeat: no-repeat;
  background-position: center;
  transform: translateX(-10px);
  position: relative;
  top: 0;
}

.partdivide span {
  text-align: center;
  font-size: 1.4rem;
  position: relative;
  top: 8px;
  color: #632D7A;
}

section {
  margin: 10px 0px 10px 15px;
}

section > h2::before {
  content: url('../images/SElogosmall.png');
  position: relative;
  top: 17px;
  padding-right: 15px;
  left: -20px;
  transition: left .4s ease-in-out;
}

section > h2.h2in::before{
  left: 0px;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #244C80;
  position: relative;
  line-height: 58px;
  width: 100%;
  border-bottom: 3px #244C80 solid;
}

section > h2 {
  margin: 15px -5px;
  opacity: .05;
  transition: margin .4s ease-in-out, opacity .4s ease-in-out;
}

section > h2.h2in {
  margin:  15px -15px;
  opacity: 1;
}

h3 {
  font-size: 1.5em;
  font-weight: bold;
  color: #244C80;
  margin-left: 15px;
  margin-top: 15px;
}

.h3wrap {
  margin: 3px 0px 10px 15px;
}

p {
  font-size: 1rem;
  padding: 3px 0px;
}

p ~ ul {
  margin-left: 30px;
  font-size: 1rem;
  padding: 5px 0px;
}

revsec, quizsec, discsec {
  display: inline-block;
  width: 100%;
}

#startlinkwrap {
  text-align: center;
  margin-top: 25px;
}

#startlink {
  background-image: url("../images/cloudsbiglightest.jpg");
  font-size: 1.5rem;
  border: 1px #244C80 solid;
  border-radius: 10px;
  margin: 15px auto;
  cursor: pointer;
  color: #244C80;
  text-decoration: none;
  padding: 15px 25px;
}

#startlink:hover {
  background-image: url("../images/cloudsbigdarker.jpg");
  color: white;
}

#startlink img {
  margin-bottom: 3px;
}

#started {
  margin-bottom: 50px;
}

.speclink {
  text-decoration: none;
  color: #244C80;
  background-image: url("../images/cloudsbiglightest.jpg");
  border: 1px #244C80 solid;
  border-radius: 2px 10px 10px 2px;
}

/*************regular expand trigger boxes**************/

trigger {
  overflow: hidden;
  transform: scaleX(1);
  height: 120px;
  transition: height .4s linear, transform .2s linear, margin .4s ease-in-out;
  transform-origin: left center;
  width: clamp(45%, 88%, 98%);
  display: flex;
  cursor: pointer;
  background: #244C80;
  background-size: 100% 100%;
  margin: 10px 0px -1px 5px;
  border-radius: 10px 25px 0px 0px;
}

.tin {
  margin: 10px 0px -1px 15px;
}

trigger:hover {
  transform: scaleX(1.02);
}

trigbox {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  container-name: tbox;
  container-type: inline-size;
  flex-wrap: nowrap;
}

trigmainicon {
  width: 145px;
}

trigmainicon img {
  height: 100%;
  padding: 8px;
  transform: translateX(20px);
  transition: transform .4s ease-in-out;
}

.tin trigmainicon img {
  transform: translateX(0px);
}

.triggeropen {
  height: 80px;
}

.triglab, .trigclickbar {
  color: white;
  max-width: 97%;
  text-align: center;
  align-content: space-around;
  font-family: "Times New Roman", Times, serif;
  position: relative;
  transition: all .4s linear;
}

.triglab {
  font-size: 3rem;
  white-space: nowrap;
  opacity: .05;
  transition: opacity .4s ease-in-out;
}

.tin .triglab {
  opacity: 1;
}

.trigclickbar {
  display: flex;
  justify-content: center;
}

.trigclickbar span {
  font-size: 1.2rem;
}

.trigicon {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: 0px 5px;
  transition: all .7s linear;
  position: relative;
}

.trigiconx, .trigicont {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 25px;
  height: 23px;
  background-repeat: no-repeat;
  background-position: center;
}

.trigiconx {
  background-image: url('../images/ContractX.jpg');
}

.trigicont {
  background-image: url('../images/Expandplus.jpg');
  opacity: 1;
  transition: opacity .4s linear;
}

.triginst {
  height: 25px;
  display: inline-block;
}

.triginstr {
  transition: all .7s linear;
  position: relative;
  padding-left: 0px;
  display: inline-block;
  height: 25px;
  width: 50px;
}

.trigiconopen .trigicont {
  opacity: 0;
}

.triginstrx, .triginstrt {
  position: absolute;
  top: -1px;
  left: 0px;
  width: 25px;
  height: 25px;
  transition: opacity .4s linear;
}

.triginstrx, .triginstropen .triginstrt {
  opacity: 0;
}

.triginstrt, .triginstropen .triginstrx {
  opacity: 1;
}

explab {
  font-weight: bold;
  color: #244C80;
  font-size: 1.2rem;
}

containbox {
  display: block;
  width: 100%;
  height: 0px;
  overflow: hidden;
  transition: height .6s ease-in-out;
  border: 1px solid #244C80;
  box-shadow: inset 3px 2px 2px rgba(36, 76, 128, 0.7);
  padding-left: 2px;
}

expbox {
  display: block;
}

expframe {
  display: block;
  border: 1px #244C80 solid;
  padding: 15px 15px 15px 42px;
  background-image: url('../images/cloudsbiglightest.jpg');
  box-shadow: inset 5px 2px 2px rgba(36, 76, 128, 0.7);
  background-repeat: no-repeat;
  background-size: cover;
}

expframe p {
  margin: 3px 0px 5px 0px;
  font-size: 1.1rem;
}

/******************pdf document expand boxes**************/

.pdf {
  width: 100%;
  aspect-ratio:  22/17;
}

.pdflink, .xlink, .actlink {
  margin: 0px;
  padding-top: 4px;
  width: 98%;
}

.actlink, .Vexpbox .pdflink {
  width: 100%;
}

.pdflinkcont, .actlinkcont {
  padding: 0px 10px;
  border-bottom: 2px solid #244C80;
  margin-bottom:  -2px;
  display: flex;
  margin-left: 10px;
  transition: margin .4s ease-in-out;
  position: relative;
}

.pdin, .actlinkcont {
  margin-left: 0px;
}

.pdfttlebar, .actttlebar {
  min-width: 66%;
  display: flex;
  width: auto;
  min-height: 31px;
  align-items: center;
  color: #244C80;
  cursor: pointer;
  border: #244C80 1px solid;
  border-top-right-radius: 25px 10px;
  border-top-left-radius: 5px;
  box-shadow: 0px 0px 1px #244C80;
  font-size: 1.2rem;
  background: url('../images/cloudsbiglightest.jpg');
  padding: 0px 6px 0px 0px;
  margin: 5px 30px 0px 25px;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform .2s linear;
  position: relative;
}

.actttlebar {
  background: #244C80;
  color: white;
}

.pdfttlebar:hover, .xttlebar:hover, .actttlebar:hover {
  transform: scaleX(1.02);
  box-shadow: 1px -1px 1px #244C80;
}

.pdficon, .acticon {
  width: 25px;
  height: 25px;
  margin: 0px 10px;
  transform-style: preserve-3d;
  transform-origin: 12px 12px 0;
  transition: transform .7s linear;
}

.pdficonx, .pdficont, .acticonx, .acticont {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 25px;
  height: 25px;
}

.pdficonx, .acticonx {
  background-image: url('../images/BContractX.jpg');
  background-repeat: no-repeat;
  background-position: center;
  transform: rotateX(90deg) translateZ(12px);
  border-right: 1px solid #EBF0F8;
  border-left: 1px solid #EBF0F8;
}

.acticonx {
  background-image: url('../images/ContractX.jpg');
  border-right: 1px solid #244C80;
  border-left: 1px solid #244C80;
}

.pdficont, .acticont {
  background-image: url('../images/BExpandplus.jpg');
  background-repeat: no-repeat;
  background-position: center;
  transform: rotateX(0deg) translateZ(12px);
  border-top: 1px solid #EBF0F8;
  border-right: 1px solid #EBF0F8;
  border-left: 1px solid #EBF0F8;
}

.acticont {
  background-image: url('../images/Expandplus.jpg');
  border-right: 1px solid #244C80;
  border-top: 1px solid #244C80;
  border-left: 1px solid #244C80;
}

.pdficonopen, .acticonopen {
  transform: translateZ(-12px) rotateX(-90deg);
}

.pdficonout .pdficonx {
  border-right: 1px solid #C3CAEB;
  border-top: 1px solid #C3CAEB;
  border-left: 1px solid #B4BCE6;
  border-bottom: 1px solid #B4BCE6;
}

.acticonout .acticonx {
  border-right: 1px solid #6F9CD7;
  border-left: 1px solid #08111E;
  border-bottom: 1px solid #6F9CD7;
}

.pdficonout .pdficont {
  border-right: 1px solid #C3CAEB;
  border-left: 1px solid #B4BCE6;
  border-bottom: 1px solid #B4BCE6;
}

.acticonout .acticont {
  border-right: 1px solid #6F9CD7;
  border-left: 1px solid #08111E;
}

.pdflinkcontno, .xlinkcont {
  border: none;
  display: flex;
  padding: 0px 10px;
  margin-left: 10px;
  transition: margin .4s ease-in-out;
}

.xin {
  margin-left: 0px;
}

.pdflinkcontno a, .xlinkcont a {
  text-decoration: none;
  margin-right: 15px;
  color: #244C80;
  font-size: 1.4rem;
  width: 100%;
  opacity: .05;
  transition: opacity .4s ease-in-out;
}

.xin a {
  opacity: 1;
}

.pdflinkcontno:hover {
  transform: scaleX(1.02);
  background-image: url('../images/cloudsbiglighter.jpg');
  box-shadow: 1px 1px 1px #244C80;
}

.pdflinkcontno .pdficon {
  display: none;
}

.pdflinkcontno .pdfttlebar, .xttlebar {
  min-width: 66%;
  display: flex;
  color:#244C80;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 3px 6px 3px 3px;
  transform-origin: left center;
  transition: all .2s linear;
  transform: scaleX(1);
  background-image: url('../images/cloudsbiglightest.jpg');
  border: 1px #244C80 solid;
  margin: 5px 30px 5px 3px;
  box-shadow:0px 0px 1px #244C80;
  border-radius: 9px 40px 40px 9px /6px 15px 15px 6px;
}

/* .xttlebar {
  margin-left: 25px
} */

.pdflinkcontno ~ .pdfframecont {
  border: none;
}

.pdflinkcontno {
  margin-left: 0;
}

.pdfdel::after {
  content: url('../images/Stopwatch.gif');
  position: absolute;
  right: -38px;
  top: -3px;
}

.pdflinkcont a {
  text-decoration: none;
  font-size: 1.4rem;
  color: #244C80;
  opacity: .05;
  transition: opacity .4s ease-in-out;
}

.pdin a {
  opacity: 1;
}

.pdfframecont {
  border: #244C80 1px solid;
  margin-bottom: 10px;
  box-shadow: inset 5px 2px 2px rgba(36, 76, 128, 0.7);
  padding-left: 6px;
}

.actframecont {
  border: 1px solid #244C80;
}

.LQframecont {
  margin-bottom: 0;
}

.pdfexp, .actexp {
  overflow: hidden;
  height: 0px;
  transition: height .6s ease-in-out;
  width: 100%;
}

.tvicon {
  height: 40px;
  margin: 7px;
  padding-right: 10px;
}

.vidttle {
  font-size: 1.5em;
}

/*******************review slide boxes**************/

reviewsec {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 49.25%;
  box-sizing: border-box;
}

.slidecontainer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
}

.revslides {
  display: block;
}

.thumbnails {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  width: 122px;
  display: inline-block;
  margin-right: 10px;
  position: relative;
  top: 0;
  z-index: 4;
}

.thumbnails img {
  margin: 2px;
  border: 1px solid red;
  display: block;
  cursor: pointer;
}

.slidepics {
  position: relative;
  height: 100%;
  width: calc(100% - 135px);
  align-self: flex-start;
}

.slidepic, .slidepicunder, .slidepicover {
  height: auto;
  width: calc(100% - 20px);
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1);
  transition: all .4s ease;
}

.slidepicover {
  opacity: 0;
  transform: scale(1.05);
}

.slidepicunder {
  transform: scale(.95);
}

.slidepic {
  opacity: 1;
  border: 1px black solid;
}

.slidepicunder {
  opacity: 1;
}

.dummyimg img {
  width: 98%;
  height: 99%;
}

.controlbox {
  position: relative;
}

.prevbut {
  position: absolute;
  right: 89px;
  top: -35px;
  display: none;
}

.nextbut {
  position: absolute;
  right: 21px;
  top: -35px;
  cursor: pointer;
}

/*****************disc question boxes****************/

.disclist, .quizframe {
  padding: 15px 15px 15px 25px;
}

.disclist li {
  color: #244C80;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/*********************quizzes & exams******************/

#quizbox::after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: -1;
  content: url('../images/Coricon.png') url('../images/Incoricon.png');  
}

.questbox {
  font-size: 1.2rem;
  margin: 15px 0px 0px 25px;
  color: #244C80;
}

.answerbox {
  margin-left: 30px;
  font-size: 1.1rem;
  display: block;
  padding: 5px 35px 0px 35px;
  width: 96%;
  color: black;
}

.answerbox p {
  display: inline-block;
  padding-left: 20px;
  text-indent: -20px;
}

.resptxt {
  margin-left: 25px;
  display: none;
  color: red;
  font-size: 1rem;
}

.good::after, .goodjob::after {
  display: inline-block;
  content: url('../images/Coricon.png');
  text-indent: 0;
}

.bad::after, .wrong::after {
  display: inline-block;
  content: url('../images/Incoricon.png');
  text-indent: 0;
}

.dggood::after {
  display: inline-block;
  content: url('../images/Coricon.png');
  position: absolute;
  right: -15px;
  top: 35%;
  text-indent: 0;
}

.dgbad::after {
  display: inline-block;
  content: url('../images/Incoricon.png');
  position: absolute;
  right: -15px;
  top: 35px;
  text-indent: 0;
}

input[type=submit] {
  font-size: 1.1rem;
  padding: 10px 25px;
  color: #244C80;
  background-image: url('../images/cloudsbiglighter.jpg');
  border: solid 1px #244C80;
  border-radius: 10px;
  box-shadow: 1px 1px 3px #326984;
  margin: 15px 0px 0px 45px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-image: url('../images/cloudsbigdarker.jpg');
  color: white;
}

.dragbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.drag {
  color: white;
  background-color: #2443C0;
  background-image: url('../images/cloudsbigdarker2.jpg');
  background-size: 100% 100%;
  border: #244C80 2px solid;
  border-radius: 5px;
  padding: 5px;
  display: block;
  margin: 13px 10px;
  cursor: move;
  text-align: center;
  line-height: 50px;
  white-space: nowrap;
  font-size: 1.1rem;
}

.dragcontainer {
  display: flex;
  position: static;
}

.targetbox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.target {
  height: 70px;
  width: 120px;
  border: #244C80 2px solid;
  background: repeating-linear-gradient(135deg, #D7E0F0, #E6EEFA 8px, #244C80 8px, #244C80 9px);
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 144px;
}

.targettext {
  flex: 1;
  min-width: 60%;
  text-indent: 0 !important;
}

.targetfull {
  background: none;
  border: #A3BFE5 2px solid;
}

.targetin {
  margin: 5px auto;
}

.targbox {
  display: flex;
  align-items: center;
}

.gradebox {
  font-size: 1.4rem;
  color: red;
  margin-left: 25px;
  margin-top: 15px;
}

/******************Videos************************/

.ytlink {
  margin-left: 15px;
  background-color: #244C80;
  background-image: url('../images/cloudsbigdarker.jpg');
  padding: 4px;
  float: left;
  border: 1px #244C80 solid;
  border-top-left-radius: 7px;
  border-top-right-radius: 5px;
  border-bottom: 1px #73A9E5 solid;
}

.ytlink:hover {
  background-image: url('../images/cloudsbigdarker2.jpg');
}

.ytlink a, .ytlink a:visited {
  color: white;
}

vidsec {
  display: block;
}

video {
  height: auto;
  width: 100%;
  max-height: 100%;
}

.vidr {
  padding: 15px 0px 0px 0px;
  margin: 0;
}

/*******************header styles********************/

#header {
  height:169px;
  width:100%;
  position: relative;
}

header img{
    width: 100%;
    height: 100%;
}

#lefttopphoto {
  float:left;
  width: 12%;
  height: 169px;
  border: 2px #244C80 solid;
}

#righttopphoto {
  width: 12%;
  height: 169px;
  float:right;
  border: 2px #244C80 solid;
}

#topbar {
  height:169px;
  width: 76%;
  background-image: url('../images/cloudsnoborder.gif');
  background-repeat: no-repeat;
  background-size: 100% 169px;
  display: flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-around;
}

#headline {
  font-size: 36pt;
  background:radial-gradient(#244C80,#183254);
  display: inline-block;
  color:white;
  border:2px white solid;
  border-radius: 25px/15px;
  padding: 5px 10px;
  min-width: 450px;
  text-align: center;
  margin-top: 15px;
  box-shadow: 1px 5px 7px #3269B4;
}

#headline h1 {
  font-family: Verdana, serif;
  font-size: 32pt;
}

#themeverse{
  color: white;
  font-size: 12pt;
  text-shadow: 1px 1px 2px #244C80;
  text-align: center;
  padding: 0 15px;
}

/**********************cloudframe****************/

#ltside, #ltsidebot {
  position: absolute;
  left: 0px;
  width: 25px;
}

#rtside, #rtsidebot {
  position: absolute;
  right:0;
  width: 25px;
}

#rtsidebot, #ltsidebot {
  bottom: 0px;
  height: 260px;
}

#ltside, #rtside {
  top:0px;
  height: 260px;
  z-index: 3;
}

nav {
  position: sticky;
  top: 0;
  height: 28px;
  z-index: 5;
  width: 100%;
}

/*******************footer styles***********************/

footer {
  clear: both;
  position: relative;
  bottom: 0px;
  width: 100%;
  height: 79px;
  z-index: 1;
}

footer img {
  height:79px;
  width: 100%;
}

#thinker {
  float: left;
  width: 90px;
}

#facphoto {
  float: right;
  width: 137px;
}

#footerbar {
  width: 100%;
  height: 79px;
  background-image: url('../images/footerbar.gif');
  background-size: cover;
  background-position: center center;
  text-align: center;
  font-size: 12pt;
  line-height: 70px;
}

/********************menu styles*******************/

#TFmenu1 {
  display: none;
}

#TFmenu {
  height: 28px;
  background-color: #244C80;
  margin: 0;
  padding: 0;
}

.lev1wrap {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.lev1box {
  box-sizing: border-box;
  height: 26px;
  border: 1px #244C80 solid;
  padding: 0;
  font-size: 14pt;
  text-align: center;
  overflow: hidden;
  background: url('../images/cloudsbiglighter.jpg');
  display: flex;
}

.lev1 {
  flex-grow: 2;
  height: 25px;
}

.lev1arr {
  height: 25px;
  width: 25px;
  background-image: url('../images/arrowdn.gif');
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: -2px 2px 3px #244C80;
  position: relative;
  top: -1px;
}

.arrdn {
  box-shadow: none;
  top: 0;
  background-image: url('../images/arrowup.gif');
  border-left: 1px solid rgba(36, 76, 128, 0.3);
}

.lev2box {
  height: 0px;
  overflow: hidden;
  transition: height .4s ease-in-out; 
}

.lev2wrap {
  background-color: #244C80;
}

.lev2 {
  background: url('../images/cloudsbiglighter.jpg');
  text-align: center;
  text-decoration: none;
  border: 1px #244C80 solid;
}

.lev1lab {
  flex-grow: 2;
  flex-basis: 16%;
  line-height: 24px;
}

.TFint #menint .lev1box, .TF1 #men1 .lev1box, .TF2 #men2 .lev1box, .TF3 #men3 .lev1box, .TF4 #men4 .lev1box, .TF5 #men5 .lev1box {
  background: url('../images/cloudsbigdarker.jpg');
  border:1px #244C80 solid;
}

#TFmenu ul #menhm {
  flex-basis: 4%;
  height: 25px;
  flex-grow: 0;
  background: url('../images/cloudsbiglighter.jpg');
}

.lev1box:hover, .lev2:hover {
  background: url('../images/cloudsbigdarker.jpg');
  border: 1px white solid;
}

#TFmenu ul a {
  display: inline-block;
  text-decoration: none;
  color: #244C80;
  width: 100%;
}

#menhm img {
  width:  100%;
  height: 100%;
}

#menhm a {
  display: inline !important;
}

/******************responsive**********************/

@media screen and (max-width:1128px) {

  #header {
    height: 150px;
  }

  #righttopphoto, #lefttopphoto{
    height: 150px;
  }

  #topbar {
    height: 150px;
    background-size: 100% 150px;
  }

  #themeverse {
    font-size: 11pt;
  }

  #headline h1{
    font-size: 28pt;
  }

  footer {
    height: 70px;
  } 

  footer img {
    height: 70px;
   } 

  #footerbar {
    height: 70px;
    font-size: 11pt;
  }

  #thinker {
    width: 85px;
  }

  #facphoto {
    width: 130px;
  }
}

@media screen and (max-width:990px) {

  #header {
    height: 120px;
  }

  #righttopphoto, #lefttopphoto{
    height: 120px;
  }

  #topbar {
    height: 120px;
    background-size: 100% 120px;
  }

  #themeverse {
    font-size: 8pt;
  }

  #headline {
    min-width: 350px;
  }

  #headline h1 {
    font-size: 18pt;
  }

  footer {
    height: 65px;
  } 

  footer img {
    height: 65px;
   } 

  #footerbar {
    height: 65px;
    font-size: 10pt;
  }

  #thinker {
    width: 80px;
  }

  #facphoto {
    width: 122px;
  }

  .lev1box {
    font-size: 12pt;
  }

  .lev1arr {
    width: 22px;
  }
}

@media screen and (max-width:850px) {

  h2 {
    font-size: 1.8rem;
  }

  .pdflinkcont a, .pdflinkcontno a, .xlinkcont a {
    font-size: 1.3rem;
  }

  .lev1box {
    font-size: 11pt;
  }

  .lev1arr {
    width: 20px;
  }
}

@media screen and (max-width:830px) {
  .lev1box {
    font-size: 10pt;
  }

  .lev1arr {
    width: 18px;
  }
}

@media screen and (max-width: 805px;) {
  .lev1box {
    font-size: 9pt;
  }

  .lev1arr {
    width: 16px;
  }
}

@media screen and (max-width:730px) {
  .partdivide h1 {
    font-size: 2rem;
  }

  .partdivide span {
    font-size: 1.2rem;
    top: 13px;
  }

  .lev1arr {
    display: none;
  }

  .lev2box {
    display: none;
  }

  .lev1box {
    font-size: 10pt;
  }
}

@media screen and (max-width:710px) {

  h2 {
    font-size: 1.5rem;
  }

  .pdflinkcont a, .pdflinkcontno a, .xlinkcont a {
    font-size: 1.2rem;
  }

  .vids h3, .h3wrap {
    margin-left: 5px;
  }

  .lev1box {
    font-size: 12pt;
  }

  .lev1arr {
    width: 20px;
  }
}

@media screen and (max-width:650px) {
  .partdivide h1 {
    font-size: 1.8rem;
  }

  .partdivide span {
    font-size: 1.1rem;
    top: 2px;
  }

  #headline h1 {
    font-size: 16pt;
  }
}

@media screen and (max-width:610px) {

  section {
    margin-top: 10px;
    margin-left: 5px;
  }

  section > h2.h2in {
    margin: 15px -5px;
  }

  .pdflinkcont a, .pdflinkcontno a, .xlinkcont a, .actlinkcont span {
    font-size: 1.1rem;
  }

  triglab, explab {
    font-weight: normal;
    font-size: 1rem;
  }

  trigger {
    height: 80px;
  }

  .triggeropen {
    height: 60px;
  }

  #header {
    height: auto;
  }

  #righttopphoto, #lefttopphoto, #ltsidebot, #rtsidebot, #ltside, #rtside {
    display: none;
  }

  #topbar {
    height: auto;
    width: 100%;
    background-size: 100% 120px;
    display: block;
    padding: 5px 0px 5px 0px;
  }

  #themeverse {
    display: none;
  }

  #headline {
    min-width: 250px;
    margin: 15px auto 5px auto;
    display: block;
  }

  #headline h1 {
    font-size: 14pt;
  }

  footer {
    height: 60px;
  }

  footer img {
    height: 60px;
  }

  #footerbar {
    height: 60px;
    font-size: 8pt;
  }

  #thinker, #facphoto {
    width: 0px;
  }

  #startlinkwrap {
    margin-bottom: 50px;
  }

  h2 {
    font-size: 1.5em;
    font-weight: normal;
    line-height: normal;
  }

  h3 {
    font-size: 1.3em;
    font-weight: normal;
  }

  .mainarea {
    margin: 0;
    padding: 15px 10px 25px 10px;
  }

  .expbox {
    margin: 39px 0px 0px 0px;
  }

  .expframe {
    padding: 5px 3px 0px 15px;
  }

  .expframe p {
    font-size: .9rem;
    padding: 0px 10px;
  }

  .disclist {
    padding: 15px 15px 15px 35px;
  }

  #ltside, #ltsidebot, #rtside, #rtsidebot {
    display: none;
  }

  .prevbut {
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    display: none;
  }

  .nextbut {
    position: relative;
    float: right;
    top: 0px;
    right: 0px;
  }

  section > h2::before {
    content: none;
    padding-right: 0px;
  }

  .partdivide .logo {
    visibility: hidden;
    height: 47px;
    width: 25px;
  }

  .partdivide span {
    top: 1px;
  }

  .controlbox {
    position:relative;
    margin: 5px 10px 20px 10px;
    height: 25px;
  }

  .dummyimg img {
    width: 92%;
  }

  .lev1box {
    font-size: 10pt;
  }

  .lev1arr{
    width: 16px;
  }  
}

@media screen and (max-width:600px) {
  trigmainicon {
    display: none;
  }
}

@media screen and (max-width: 585px) {
  .partdivide h1 {
    font-size: 1.5rem;
  }

  .partdivide span {
    font-size: 1rem;
    top: 5px;
  }
}

@media screen and (max-width: 510px) {

/******************quizzes************/

  .answerbox {
    margin-left: 0px;
    padding: 5px 5px 0px 25px;
    width: 100%;
  }

  .DG {
    padding: 5px 5px 0px 5px;
  }

  .answerbox p {
    font-size: .8rem;
    padding-left: 0px;
  }

  .questbox {
    margin-left: 5px;
  }

  .drag {
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
    padding: 0;
    font-size: .85rem;
    margin: 3px;
  }

  .target {
    height: 30px;
    margin: 3px;
  }

  .targettext {
    margin: 3px;
    font-size: .9rem;
  }

  .targetin {
    margin: 0 auto;
  }

/**************slidebox******************/

  reviewsec {
    padding-bottom: 50px;
  }

  .thumbnails {
    display: none;
  }

  .slidepics {
    width: 100%;
  }

  .picbox {
    padding-bottom: 35px;
  }

/********************videos***********************/

  .ytlink {
    margin-left: 5px;
    padding: 4px;
  }

  .ytlink a {
    font-size: .7rem;
  }

/********************menu*************************/

  .lev1wrap {
    display: block;
  }

  .lev1arr {
    display: none;
  }

  #TFmenu1 {
    display: block;
    position: relative;
    background: #244C80;
    height: 35px;
  }

  #TFmenu1 a {
    font-size: 18pt;
    text-align: center;
    height: 33px;
    display: block;
    position: relative;
    top: 1px;
    color: #244C80;
    width: 100%;
    line-height: 33px;
    box-sizing: border-box;
    border: 1px #244C80 solid;
    border-radius: 8px;
    background-image: url('../images/cloudsbiglighter.jpg');
  }

  .lev1box {
    background-image: url('../images/cloudsbiglighter.jpg');
  }

  #TFmenu1 img {
    position: absolute;
    left: 5%;
    top: 40%;
    z-index: 3;
  }

  #TFmenu1:hover a {
    background-image: url('../images/cloudsbigdarker.jpg');
    color: white;
    border: 1px white solid;
  }

  .lev1box:hover {
    background-image: url('../images/cloudsbigdarker.jpg');;
  }

  #TFmenu {
    height: 0px;
    width: 96%;
    margin: 0 auto; 
    overflow: hidden;
    transition: height 0.6s ease;
    z-index: 3;
  }

  .lev1 {
    width: 100%;
  }

  #TFmenu ul li a {
    font-size: 16pt;
  }

  #TFmenu ul #menhm {
    width: 100%;
  }

  #menhm {
    position: relative;
  }

  #menhm img {
    position: absolute;
    width:  20%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  nav {
    height: auto;
  }
}

@media screen and (max-width: 495px) {
  .partdivide h1 {
    font-size:1.2rem;
  }

  .partdivide span {
    font-size: .9rem;
  }

  .partdivide .logo {
    width: 35px;
  }

  .partdivide {
    padding-left: 0px;
  }

}

@media screen and (max-width:420px) {

  trigbox {
    flex-wrap: wrap;
  }

  .triglab {
    white-space: normal;
  }
}

@media screen and (max-width:350px) {
  .ytlink a {
    font-size: .6rem;
  }
}

/*****************container queries******************/

@container tbox (width<950px) {
  .triglab {
    font-size: 2.8em;
  }
}

@container tbox (width<850px) {
  .triglab {
    font-size: 2.7em;
  }

  .trigclickbar span, .triginst {
    font-size: 1.1em;
  }
}

@container tbox (width<685px) {
  .triglab {
    font-size: 2.2em;
  }
}

@container tbox (width<515px) {
  .triglab {
    font-size: 2em;
  }

  .trigclickbar span, .triginst {
    font-size: 1.1em;
  }
}

@container tbox (width<455px) {
  .triglab {
    font-size: 1.8em;
  }
}

@container tbox (width<415px) {
  .triglab {
    font-size: 1.5em;
  }
}

@container tbox (width<345px) {
  .triglab {
    font-size: 1.2em;
  }
}
