/******************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;
	position: relative;
}

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

.hdln p {
  padding-bottom: 8px;
}

/*********************header*********************/

#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: 3.6rem;
}

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

.topsidebdr{
  position: relative;
  width: 100%;
}

.botsidebdr{
  position: relative;
  width: 100%;
}

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

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

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

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

.stuck {
  position: fixed;
  top: 0;
}

.stuck + .mainarea{
  padding-top: 28px;
}

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

footer {
  clear: both;
  position: absolute;
  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;
}

/*************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 25px;
}

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(40px);
  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;
}

/***************outline styles*********************/

.expframe {
  color: #244C80;
  font-size: 1.3em;
  padding: 10px;
}

.expframe p {
  color: black;
  font-size: .7em;
}

.expframe p img {
  position: relative;
  top: 4px;
  left: -1px;
}

.SSbuttonbar {
  margin: 5px;
}

.SSbuttonbar button {
  margin: 5px;
  padding: 0px 3px 3px 5px;
  font-size: .7em;
  color: white;
  background: url("../images/cloudsbigdarker.jpg");
  border: 2px solid #244C80;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 1px 1px 3px #244C80;
}

.SSbuttonbar button img {
  position: relative;
  top: 3px;
  left: -2px;
}

.plusdummy {
  display: none;
}

.SSlab {
  font-size: .8em;
  cursor: pointer;
  padding: 0px 0px 5px 15px;
  display: flex;
  gap: 5px;
}

.SSlab::before {
  content: url('../images/minus.png');
  position: relative;
  top: 2px;
  left: -1px;
}

.SSplus::before {
  content: url('../images/plus.png');
}

.SSnolab {
  font-size: .8em;
  padding: 0px 0px 5px 15px;
  display: flex;
  gap: 5px;
}

.SSnolab::before {
  content: url('../images/dot.png');
  position: relative;
  top: 2px;
  left: -1px;
}

.SSsec {
  margin-left: 20px;
}

.SSexp {
  margin-left: 10px;
  height: 0px;
  transition: height .6s ease-in-out;
  overflow: hidden;
}

.SSr {
  color: #A80000;
}

@media screen and (max-width:1068px) {
  #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:930px) {
  #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:645px) {
  section {
    margin-top: 10px;
  }

  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;
  }

  .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;
  }

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

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

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

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

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

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

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

@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;
  }
}

