
@font-face {
  font-family: Intequal300;
  src: url(/styles/fonts/Museo300-Regular.otf);
}

@font-face {
  font-family: Intequal500;
  src: url(/styles/fonts/Museo500-Regular.otf);
}

@font-face {
  font-family: Intequal700;
  src: url(/styles/fonts/Museo700-Regular.otf);
}

.Intequal300 {
  font-family: Intequal300;
}

.Intequal500 {
  font-family: Intequal500;
}

.Intequal700 {
  font-family: Intequal700;
}
/* ================ MAKE THE WEBSITE TO FADE IN ON LOAD ================ */
body {
  -webkit-animation: fadein 1s linear 1 normal forwards;
}

@-webkit-keyframes fadein{
  from{
     opacity: 0;
  }
  to{
      opacity: 1;
  }
}

/* ================ Side Navigation Bar ================ */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}


.sidenav button {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
  transition: 0.3s;
  background-color:transparent;
  border-color: transparent;
}

.sidenav button:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #f1f1f1;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav button {font-size: 18px;}
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color:#25346d;
}

li {
  float: left;
}

li a {
  font-size: 25px;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-color: transparent;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}

li a:hover {
  text-decoration: none;
  background-color: #f36717; /* Orange */
  color: white;
}

li a:focus {
  text-decoration: none;
  color: white;
}

.loader {
    position: absolute;
    /*If you put the script into the Site.Master file then you dont need margin, if you populate it on the pages 1 by one then you need this*/
    /*margin-left: -4.5%;*/
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.loader-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.footer {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1rem;
	text-align: center;
}

.intequalButton {
		background-color:#25346d; 
		color:white;
		-webkit-transition-duration: 0.4s; /* Safari */
		transition-duration: 0.4s;
	}
	.intequalButton:hover {
		background-color: #f36717; /* Orange */
		color: white;
	}
	.intequalButton:focus {
		color: white;
}

.content_area {
	max-width: 1200px;
	margin: auto; 
	display: block; 
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #A1A1A5;
  border-radius: 10px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  padding: 20px 5px 20px 5px;
}

.grid-container {
	display: grid;
	grid: auto / auto auto ;
}

.grid-container > div {
	text-align: center;
	padding: 20px 0;
}

.grid-answers {
	display: grid;
	grid: auto / 20% 20% 20% 20% 20% ;
}

.grid-answers > div {
	text-align: center;
	padding: 20px 0;
}

/* For mobile users */
@media screen and (max-width: 600px) {
	.grid-container {
		display: grid;
		grid-template-columns: auto !important;
	}
	.grid-container > div {
		text-align: center;
		padding: 0px;
	}
}

/* To remove bootstrap margin extensions that messes up the page width. Delete .row if you think it makes matters worse */
.row {
  /*margin-right: 0px !important; 
  margin-left: 0px !important;*/
  margin: auto;
}

/* ========================================= SNACKBAR (pop up message) ========================================= */
#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 50px;
  font-size: 17px;
}

  #snackbar.show {
      visibility: visible;
      -webkit-animation: fadein 0.5s;
      animation: fadein 0.5s;
  }

@-webkit-keyframes fadein {
  from {
      bottom: 0;
      opacity: 0;
  }

  to {
      bottom: 50px;
      opacity: 1;
  }
}

@keyframes fadein {
  from {
      bottom: 0;
      opacity: 0;
  }

  to {
      bottom: 50px;
      opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
      bottom: 50px;
      opacity: 1;
  }

  to {
      bottom: 0;
      opacity: 0;
  }
}

@keyframes fadeout {
  from {
      bottom: 50px;
      opacity: 1;
  }

  to {
      bottom: 0;
      opacity: 0;
  }
}