/*Custom colors*/
:root {
  --red: #e6b8af;
  --orange: #FFA500;
  --blue: #a4c2f4;
  --green: #b6d7a8;
  --purple: #b4a7d6;
  --yellow: #FFFF00;
}

/* overrides default of about 5px */
body {
  margin: 0px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

html,body
{
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font: normal 14px arial,sans-serif;
}

/* debuggin purposes * /
* {
  background: #000 !important;
  color: #0f0 !important;
  outline: solid #f00 1px !important;
}

/* Holds the whole page to push the footer down */
.page-container {
  position: relative;
  min-height: 100vh;
}

/* Leaves room for the footer */
.content-wrap {
  padding-bottom: 275px; 
}

/* default flex container (keep near top so it can be overwritten) */
.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row !important;
}

/* main page section LHS */
.left-panel {
  text-align: left;
  flex-shrink: 1;
  align-self: stretch;
  min-width: 15px;
}

/* main content section */
.center-panel {
  display: flex;
  justify-content: left;
  flex-direction: column;
  flex-grow: 1;
  max-width: 1080px;
  min-height: 100%;
  align-self: stretch;
}

/* main page section RHS */
.right-panel {
  display: flex;
  justify-content: right;
  flex-shrink: 1;
  align-self: stretch;
  min-width: 15px;
}

/* grid box for main link images */
#image-grid {
  display: flex;
  flex-wrap: wrap;
  width:100%;
  min-height: 400px;
  margin: 10px 0px;
}


/* Create two equal columns that sit next to each other */
.column {
  flex: 50%;
 /* max-width: 50%;*/
}

.column.padded {
    padding-left: 5%;
}

/* fill the column */
.column a {
  width: 100%;
}

#products-grid {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 150px 150px 150px 150px 150px 150px 150px;
  grid-template-areas: 
    "scheduling portal portal"
    "scheduling attendance rc"
    "ministry ministry email"
    "exams cw email"
    "adult letters letters"
    "adult billing r24"
    "third third custom";
  grid-gap: 10px 10px;
  width: 100%;
  height: auto;
  padding-bottom: 15px;
}
/*
#products-grid > .item {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  width: 50%;
  height: 80px;
  max-height: 80px;
  transition: max-height 0s linear,  width 0s linear;
  -webkit-transition: max-height 0s linear,  width 0s linear;

}

#products-grid > .item.active {
  width: 100%;
  height: auto;
  max-height: 100%;
  transition: max-height 05.s ease-in,  width 0.3s linear;
  -webkit-transition: max-height 0.5s ease-in,  width 0.3s linear;
}*/

@media (max-width: 767px) {
  #image-grid, .flex-container {
    flex-direction: column;
  }
  .center-panel {
    padding: 10px;
  }
  .left-panel, .right-panel {
    display: hidden;
  }
  .column {
    width: 100%;
  }
}

/* main header */
header {
/*  background-color: lightblue; / * gray */
  text-align: center;
  padding: 20px;
  max-height: 70px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* main logo */
#logo {
  width:90%;
  height: 100%;
  max-width: 700px;
  padding: 2%;
}

/* Set the fixed height of the footer here */
footer {  
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 10px 15px;
  width: 100%;
  height: 150px;
  color: white;
  background-color: #26a9e0; /* blue */
  box-shadow:rgba(0, 0, 0, 0.4) 0px -5px 8px -5px;
  text-align: center;
}

/* link defaults (keep near top) */
a {
  font-weight: 600;
  text-decoration: none;
}

/* orange nav buttons */
.floatbutton {
  text-align:center;
  position: fixed;
  z-index: 100;
  background: #FF9900; /* orange */
  color: white;
  font-size: 24px;
  padding:10px 10px;
  width: 40px;
  height: 35px;
  border: solid 2px #FF9900;
}

/* top nav */
#language-choice {
  top: 0;
  right: 3%;
  border: solid 2px #FF9900;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.floatbutton:hover {
  color: #FF9900;
  background-color: white;
}

/* bottom nav */
#backtotop {
  bottom: 0;
  right: 3%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* main navbar container */
nav {
  display: flex;
  width: 100%;
  position: relative; /* Changes default when sticky not supported*/
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 50px; /* nav 50px + border 38px  if using border*/
  z-index: 10;
  flex-direction: column;
}

/* main navbar list */
#navbar {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #26a9e0; /* blue */
  z-index:20;
  box-shadow:rgba(0, 0, 0, 0.4) 0px 0px 8px;
  margin: 0px;
  padding: 0px;
}

/* main navbar items */
#navbar > li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1 1 100px;
  color: white;
  height:100%;
  width: 10%;
  padding: 0px 10px;
}

/* main navbar color */
#navbar > li > a:visited, #navbar > li > a {
  color: white;
}

#navbar > li:hover {
  border: solid 2px #26a9e0;
  background-color: white;
  color: #26a9e0;
}

/* main navbar color */
#navbar > li:hover > a {
  color: #26a9e0;
}

/* padding for the main nav bar (might be a better way to do this) */
.navpadding {
  flex-shrink: 1;
  background-color: #26a9e0 !important;
  border: none !important;
}

@media (max-width: 767px) {
  .navpadding {
    display: none;
  }
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  padding: 0px;
  top: 50px;
  background-color: white;
  /*background-color: #92D4F0; / * pale blue */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border: solid 2px #26a9e0;
}

/* Links inside the dropdown */
.dropdown-menu li {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
}

/* Change color of dropdown links on hover */
.dropdown-menu li:hover {
  color: white;
}

/* Show the dropdown menu on hover */
.dropdown-menu:hover > .dropdown-content, .dropdown-content:hover  {
  display: flex;
  flex-direction: column;
}

/* Dropdown Content (Hidden by Default) */
ul.dropdown-content {
  list-style: none;
}
/* Image link with hover text, grows on hover */
.img-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: white;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  font-size: 1.25em;
  text-align: center;
}

/* Image link with hover text, grows on hover */
.img-link:hover {
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  font-size: 1.5em;
  color: white;
}

/* Dropdown hover colors */
.attendance-color:hover { background-color: #c01722; }
.rc-color:hover { background-color: #00783e; }
.email-color:hover { background-color: #eb7e02; }
.exam-color:hover {  background-color: #00adef; }
.billing-color:hover { background-color: #f5b907; }
.scheduling-color:hover { background-color: #40beb4; }
.hebrew-color:hover { background-color: #926e00; }
.portal-color:hover { background-color: #001378; }
.rll-color:hover { background-color: #6b2a90; }
.r24-color:hover { background-color: #b58bd1; }
.custom-color:hover { background-color: #ec017e; }
.cw-color:hover { background-color: #4cb748; }
.mels-color:hover { background-color: #e87138; }

/* Product colors * /
.attendance { color: #c01722;}
.rc { color: #00783e; }
.email { color: #f89e37; }
.exam {  color: #00adef; }
.billing { color: #ffcd37; }
.scheduling { color: #40beb4; }
.hebrew { color: #926e00; }
.portal { color: #001378; }
.rll { color: #6b2a90; }
.r24 { color: #b58bd1; }
.custom { color: #ec017e; }
.cw { color: #4cb748; }
.mels { color: #efa886; }
*/

.rll-bkg { grid-area: adult; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/adulted-adultes.jpg);  background-size: cover; }
.attendance-bkg { grid-area: attendance; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/attendance-assiduite.jpg);  background-size: cover; }
.billing-bkg { grid-area: billing; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/donation-dons.jpg);  background-size: cover; }
.custom-bkg { grid-area: custom; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/custom.jpg);  background-size: cover; }
.cw-bkg { grid-area: cw;  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/tcomp.jpg);  background-size: cover; }
.email-bkg { grid-area: email; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/email-courriel.jpg);  background-size: cover; }
.exam-bkg { grid-area: exams; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/exams-examens.jpg);  background-size: cover; }
.letters-bkg { grid-area: letters; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/letters-lettres.jpg);  background-size: cover; }
.mels-bkg { grid-area: ministry; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/transmissions.jpg);  background-size: cover; }
.portal-bkg { grid-area: portal; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/portal-portail.jpg);  background-size: cover; }
.r24-bkg { grid-area: r24; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/rel24.jpg);  background-size: cover; }
.rc-bkg { grid-area: rc; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/reportcard-bulletin.jpg);  background-size: cover; }
.scheduling-bkg { grid-area: scheduling; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/scheduling-horaires.jpg);  background-size: cover; }
.hebrew-bkg { grid-area: third; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/menu-products/3langs.jpg);  background-size: cover; }

.rll-bkg:hover { grid-area: adult; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/adulted-adultes.jpg);  background-size: cover; }
.attendance-bkg:hover { grid-area: attendance; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/attendance-assiduite.jpg);  background-size: cover; }
.billing-bkg:hover { grid-area: billing; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/donation-dons.jpg);  background-size: cover; }
.custom-bkg:hover { grid-area: custom; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/custom.jpg);  background-size: cover; }
.cw-bkg:hover { grid-area: cw;  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/tcomp.jpg);  background-size: cover; }
.email-bkg:hover { grid-area: email; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/email-courriel.jpg);  background-size: cover; }
.exam-bkg:hover { grid-area: exams; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/exams-examens.jpg);  background-size: cover; }
.letters-bkg:hover { grid-area: letters; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/letters-lettres.jpg);  background-size: cover; }
.mels-bkg:hover { grid-area: ministry; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/transmissions.jpg);  background-size: cover; }
.portal-bkg:hover { grid-area: portal; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/portal-portail.jpg);  background-size: cover; }
.r24-bkg:hover { grid-area: r24; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/rel24.jpg);  background-size: cover; }
.rc-bkg:hover { grid-area: rc; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/reportcard-bulletin.jpg);  background-size: cover; }
.scheduling-bkg:hover { grid-area: scheduling; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/scheduling-horaires.jpg);  background-size: cover; }
.hebrew-bkg:hover { grid-area: third; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../images/menu-products/3langs.jpg);  background-size: cover; }


/* sahde sub-product items*/
.item > .collapsible-content { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); background-size: cover; }

@media (max-width: 767px) {
  #products-grid > .item {
    width: 100%;
  }
}

video {
  display: flex;
  align-self: center;
  width: 50%;
  height: auto;
  border: solid gray 1px;
}
video:hover {
  z-index:1000;
  width: 90%;
  height: auto;
 -webkit-transition: all 0.2s linear 0.5s;
   -moz-transition: all 0.2s linear 0.5s;
    -ms-transition: all 0.2s linear 0.5s;
     -o-transition: all 0.2s linear 0.5s;
        transition: all 0.2s linear 0.5s;
}

.white {
  color: white !important;
}


/* main banner */
.banner {
  width: 100%;
  min-height: 150px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/bandeaux/careers.jpg);
  background-size: cover;
  color: white;
  align-content: space-between;
}

/* space out banner items (probably a better way) */
.banner > * {
  margin: 10px;
}

/* inside main banner */
.banner > h2 {
  font-family: "Candara", Candara, sans-serif;
  font-style: italic;
  font-size: 2em;
}

/* minor banner for address */
.banner.location {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://cdn.pixabay.com/photo/2018/05/17/16/03/compass-3408928_960_720.jpg);
 /* background-attachment: fixed;*/
}

/* minor banner for contact us */
.banner.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/bandeaux/careers.jpg);
  background-size: cover;
}

/* minor banner for team */
.banner.team {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/bandeaux/careers.jpg);
  background-size: cover;
}

/* minor banner for careers */
.banner.career {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/bandeaux/careers.jpg);
  background-size: cover;
  margin-bottom: 10px;
/*  background-attachment: fixed;*/
}

/* minor banner for job posting */
.banner.job {
  min-height: 75px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../images/bandeaux/careers.jpg);
  background-size: 100% 75px;
/*  background-position: 500px;*/
  margin-bottom: 10px;
  background-attachment: local;
  position: -webkit-sticky;
  position: sticky;
  top: 50px; /* height of the navbar */
  justify-content: left;
  align-items: center;
}

#map {
  border:0;
  width:300px;
  max-width:300px;
  height:200px;
}

/* homepage video properties */
#video {
  height: 210px;
  width: 400px;
  border: none;
}

/* default paragaph style */
p, .task-list {
  line-height: 200%;
  font-size: 16px;
}

/* alternate link style */
p > a.alternate, li > a.alternate {
  text-decoration: none;
  color: #FFFFFF; /* white */
}

/* default link style */
p > a, li > a {
  text-decoration: none;
  color: #26a9e0; /* blue */
}

/* default link style */
p > a:hover, li > a:hover {
  color: #FF9900; /* orange */
}

/* container for images near text */
p > img {
  max-width: 75%;
  height: auto;
}

p > h3 {
  font-weight: bold; 
  padding-bottom: 10px;
}

/* text alignment */
.text-center {
  text-align: center !important;
}

/* text alignment */
.text-left {
  text-align: left;
}

/* text alignment */
.text-right > p, .text-right > h4 {
  margin-left: 10px;
}
@media (max-width: 767px) {
  .text-right > p, .text-right > h4 {
    margin-left: 0px;
  }
}

/* move to top of flexbox container */
.flex-start {
  align-self: flex-start;
}

/* help page header */
h2.orange {
  font-style: italic; 
  font-weight: bold; 
  color: #ff9900;
}

/* bold section */
.bold {
  font-weight: bold;
}

/* old image */
.old-img {
  max-width: 200px;
  height: auto;
}

/* text for help page */
.help-page {
  font-size: 18px;
}
 /* color of bubbles on help page */
.help-page > i {
  color:#26a9e0;
  font-size: 10px;
}

/* fit image to column*/
.column > img {
  width: 100%;
}

/* wrap flex items */
.wrap {
  flex-wrap: wrap;
}

 /* Style the button that is used to open and close the collapsible content. Currently careers page */
.collapsible {
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  border-radius: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.collapsible:hover {
  color: #FF9900;
}

/* Style the collapsible content. Note: hidden by default */
.collapsible-content {
  padding: 0 18px;
  max-height: 100%;
  overflow: hidden;
  transition: max-height 0s ease-in;
  -webkit-transition: max-height 0s ease-in;
} 

.collapsible-content.active {
  padding: 0 18px;
  max-height: 100%;
  overflow: hidden;
  transition: max-height 0.5s ease-in;
  -webkit-transition: max-height 0.5s ease-in;
}

.zeroheight {
  max-height: 0px;
}

/*employment task specification*/
.task-list {
  list-style-type: square;
  text-align:left;
  padding: 0 20px;
}

.box {
  display: flex; 
  flex-direction: column;
  min-width: 20%;
  max-width: 20%; 
  align-items: center; 
  padding: 10px;
}

.box.head {
  width: 100%;
  max-width: 100%;
  align-self: flex-start;
}

.box > img {
  border-radius: 50%; 
  height: 100px; 
  width: 100px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.apply-now {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 0);
  height: 46px;
  width: 100%;
  max-width: 1080px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  background-color: #FF9900;
  border: solid 2px #FF9900;
  color: white;
  font-weight: bolder;
  font-size: 20px;
  text-align: center;
  box-shadow:rgba(0, 0, 0, 0.4) 0px -5px 8px -5px;
}

.apply-now:hover {
  background-color: white;
  color: #FF9900;
}

.blue {
  color: #26a9e0;
}

.orange {
  color: #FF9900;
}

/* Carousel */
.slides {
  width: 0px;
  height: 250px;}

.slides > img {
  width: 100%;
  max-width: 1250px;
  max-height: 250px;
  height: 250px;
}

img, div {
  transition: width 0.5s ease-in;
  -webkit-transition: width 0.5s ease-in;
}

.item > div > h3 {
  font-size: 150%;
}

#equipe-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto;
  grid-template-areas: 
    "text1 image1"
    "text2 text2"
    "text3 text3"
    "text4 text4"
    "text5 text5";
  grid-gap: 10px 10px;
  width: 100%;
  height: auto;
  padding-bottom: 15px;
  padding-top: 15px;
  align-items: center;
}

#equipe-grid > * > img {
  max-width: 100%;
  max-height: 400px;
}


.text1 { grid-area: text1; }
.text2 { grid-area: text2; }
.text3 { grid-area: text3; }
.text4 { grid-area: text4; }
.text5 { grid-area: text5; }

.image1 { grid-area: image1; }
.image2 { grid-area: image2; }
.image3 { grid-area: image3; }
.image4 { grid-area: image4; }


/* Apply now button */
button {
  text-align:center;
  background: #FF9900; /* orange */
  color: white;
  font-size: 24px;
  padding:10px 10px;
  border: solid 2px #FF9900;
  border-radius: 5px;
}

button:hover {
  color: #FF9900;
  background-color: white;
}


/*Classes for online application test found in eng/summerAptitudeTest, fr/eteTestAptitude and eng/fulltimeAptitudeTest */
/*Containers for the instructions and the tables*/
.test-container {
  display: flex;
  flex-direction: row;
}

.test-container-left {
  width: 30%;
}

.test-container-right {
  width: 70%;
}

/*On smaller screens, the display will be set to column and adjusted to fit the table accordingly*/
@media (max-width: 912px) {
  .test-container {
    flex-direction: column;
    justify-content: center;
    margin: auto;
  }
}

@media (max-width: 912px) {
  .test-container-left,
  .test-container-right {
    width: 100%;
    margin: 0 0 1rem 0;
  }
}

/*Basic classes for styling on the application page*/

.center {
  text-align: center;
}

.italic {
  font-style: italic;
}

.app-table-header {
  text-align: center;
  color: white;
  background-color: blue;
}

.app-table-header-responsive {
  text-align: center;
  color: white;
  background-color: blue;
  width: 90%; 
  margin: auto;
}

@media (max-width: 912px) {
  .app-table-header-responsive{
    width: 100%;
  }
}

.sentence {
  font-size: 1rem;
  padding: 0;
  margin: 0 0 0 1rem;
}

.application-list {
  font-size: 1rem;
  margin: 0.25rem;
}

.bonus {
  background-color: lightblue;
  color: darkblue;
  font-size: 0.8rem;
  padding: 0.5rem;
  margin: 0 0 0 1rem;
}

/*Color coded background codes by subject*/
.red-color {
  background-color: var(--red);
}
.orange-color {
  background-color: var(--orange);
}
.blue-color {
  background-color: var(--blue);
}
.green-color {
  background-color: var(--green);
}
.purple-color {
  background-color: var(--purple);
}
.yellow-color {
  background-color: var(--yellow);
}

/*Table specific stylings*/
table {
  width: 80%;
  margin: auto;
  border-collapse: collapse;
}

th {
  font-size: 1rem;
  border: 1px solid #999;
  padding: 0.5rem;
  text-align: center;
}

td {
  border: 1px solid #999;
  text-align: center;
}

td > div {
  display: flex;
  justify-content: space-evenly;
}
    
td > div > span {
  border: 1px solid #999;
  text-align: center;
  width: 100%;
  padding: 0.25rem;
}

td > div > span > input {
  width: 100%;
  height: 100%;
  text-align: center;
  border: none;
  padding: 0.25rem;
}

/*Stylings for table displayed to admin when viewing results*/
#fulltimeApplicantList td {
    padding: 0.75rem;
}

#summerApplicantList td {
    padding: 0.75rem;
}

.row-header {
  font-size: 0.8rem;
} 

/*Attempted fix for really small screens but overall it's hard to make it appear in a user friendly way*/
@media (max-width: 470px) {
  table, th, .row-header {
    font-size: 0.5rem;
  }
}

/*Stylings for the modal before the test begins*/
.modal {
    display: none;
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/*Styling for the modal overlay to prevent user from continuing inputs*/
.modal-content {
    width: 50%;
    margin: 2rem auto;
    text-align: center;
    font-size: 1rem;
    border: 0.1rem solid grey;
    border-radius: 0.5rem;
    box-shadow: 0.1rem 0.1rem grey;
    background-color: white;
    position: relative;
    z-index: 99999;
    padding: 1rem;
    overflow: hidden;
}

@media (max-width: 760px) {
  .modal-content {
    font-size: 0.8rem;
  }
  .modal-content > p {
    font-size: 0.8rem;
  }
}

/* Stylings for the buttons */
.application-button {
  margin: 1rem;
  padding: 0.5rem 1.5rem;
}

.submit-button {
  margin-bottom: 0.25rem;
  color: white;
  background-color: blue;
  font-size: 24px;
  padding:10px 10px;
  border: solid 2px darkblue;
  border-radius: 5px;
}

.submit-button:hover {
  color: white;
  background-color: darkblue;
}

/*Stylings for the timer*/
.timer {
  width: 50%;
  margin: 1rem auto;
  text-align: center;
  font-size: 1.5rem;
}

/*Containers for the credentials when applicant beings the test*/

.credentials {
  display: flex;
  align-items: center;  
  width: 50%;
  margin: 1rem auto;
}

.credentials label {
    width: 100px;   
    margin-right: 1rem;
    text-align: right;  
}

.input-credentials {
  flex: 1;  
  padding: 0.5rem;
  border-radius: 0.25rem;
}

@media (max-width: 760px) {
  .credentials {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
  }
}

.error-message {
  color: red;
  text-align: center;
  font-size: 1rem;
  margin: 1rem;
}

.success-message {
  color: green;
  text-align: center;
  font-size: 1rem;
}

/*Feedback related CSS after POST request which displays errors to fix in schedule*/
.error-container {
  width: 80%;
  margin: 1rem auto;
}

.feedback {
  text-align: center;
  margin: 0.5rem;
  padding: 0;
  font-size: 1.2rem;
  color: red;
}

.general {
  text-align: center;
  margin-top: 2rem;
  padding: 0;
  font-size: 1.2rem;
}

.close-button {
    cursor: pointer;
    padding: 0 0.1rem;
    margin-left: 0.1rem;
    background-color: lightgrey;
    border-radius: 0.1rem;
    border: 0.1rem inset grey;
    color: black;
}

/*CSS for the spinner between beginning test and adding the main page*/
.spinner {
    margin: 1rem auto;
    border: 1rem solid lightgrey; 
    border-top: 1rem solid steelblue;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: spin 2s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*CSS for the summary page of applicants*/
.admin {
  width: 50%;
  margin: auto;
  text-align: center;
}

.selected:hover {
    background-color: grey;
}

.title {
  text-align: center;
  margin: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
}

.button-container {
  width: 50%;
  margin: 1rem auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.applicant-container {
  margin: 1rem;
}

#applicantList td {
    padding: 0.2rem;
}

/*CSS for the multiple choice page taken by fulltime applicants */

.question {
  width: 80%;
  margin: auto;
  padding-bottom: 2rem;
  border-bottom: 0.2rem black solid;
}

.option-container {
  width:  50%;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.checkbox-container {
  width:  100%;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.option-label {
  display: flex;
  align-items: center;
}

.option {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  margin-right: 1rem;
}

.select-input {
  padding: 0.5rem;
}
