body {
  background: url('../res/background/default.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: 'Roboto', Tahoma, Arial, sans-serif;
  line-height: 1.5;
  font-size: 13px;
  margin: 20px 30px 0 30px;
  -webkit-transition: background-image 0.8s ease-in-out;
  transition: background-image 0.8s ease-in-out;
  overflow: hidden;
  -webkit-user-select: none; /* DISABLING TEXT SELECTION */
  -webkit-touch-callout: none; /* disable IOS popup (long-press) */
  touch-action: manipulation; /* disable Ios double tap zoom */
}

form {
  outline: 0;
  float: left;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

button {
	cursor: pointer;
}

form > .textbox {
  outline: 0;
  outline: 0;
  height: 35px;
  width: 252px;
  line-height: 35px;
  padding: 0 10px;
  background-color: white;
  color: #212121;
  border: 0;
  float: left;
  -webkit-border-radius: 4px 0 0 4px;
  border-radius: 4px;
  font-size: 15px;
}

form > .textbox:focus {
  outline: 0;
  background-color: #FFF;
}

.copyright {
	right: 20px;
    transform: rotate(270deg);
    position: relative;
    transform-origin: left top;
	margin-top: -8vh;
	color: #6d6d6d;
}

.result-list {
	/*margin-top: 50px;*/
}

/*Styling Selectbox*/
.dropdown {
  outline: 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  display: inline-block;
  clear: right;
  position: relative;
  float: right;
  overflow: hidden;
  height: 35px;
  width: 270px;
  border: 1px solid;
  border-color: white;
  border-radius: 3px;
  background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
  margin-bottom: 7px;
}

.dropdown:before, .dropdown:after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 10px;
  width: 0;
  height: 0;
  border: 4px dashed;
  border-color: #888888 transparent;
  pointer-events: none;
}

.dropdown:before {
  border-bottom-style: solid;
  border-top: none;
}

.dropdown:after {
  margin-top: 7px;
  border-top-style: solid;
  border-bottom: none;
}

.dropdown-select {
  position: relative;
  width: 318px;
  margin: 0;
  padding: 6px 8px 6px 10px;
  height: 35px;
  line-height: 14px;
  color: #848484;
  text-shadow: 0 1px white;
  background-color: white;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  font-size: 15px;
}

.dropdown-select:focus {
  z-index: 3;
  width: 100%;
  color: #394349;
  outline: 2px solid #49aff2;
  outline: 2px solid -webkit-focus-ring-color;
  outline-offset: -2px;
}

.dropdown-select > option {
  margin: 3px;
  padding: 6px 8px;
  text-shadow: none;
  background: #f2f2f2;
  border-radius: 3px;
  cursor: pointer;
}

/* Fix for IE 8 putting the arrows behind the select element. */

.lt-ie9 .dropdown {
  z-index: 1;
}

.lt-ie9 .dropdown-select {
  z-index: -1;
}

.lt-ie9 .dropdown-select:focus {
  z-index: 3;
}

/* Dirty fix for Firefox adding padding where it shouldn't. */

@-moz-document url-prefix() {
  .dropdown-select {
    padding-left: 6px;
  }
}

.filter-label {
	position: relative;
    top: 45px;
    right: 210px;
    float: right;
    height: 40px;
	cursor: pointer;
}

.search-label {
    position: relative;
    top: 42px;
    right: 3px;
    float: right;
    height: 40px;
	cursor: pointer;
}

/* Styling grid */
.tools {
    height: 140px;
    padding-bottom: 10px;
    border-bottom: green 3px solid;
}

.companyLogo {
	height: 35px;
    float: right;
    margin-bottom: 10px;
}

a > img {
	height: 120px;
	/*margin-right: 20px;
	margin-top: 20px;*/
}

.grid {
	display: flex;
	flex-wrap: wrap;
}

.grid > a {
	
}

.search {
	float: right;
	clear: right;
}

.search > button {
	position: fixed;
    height: 25px;
    top: 110px;
    right: 24px;
    line-height: 35px;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
	color: red;
	font-size: 20px;
}

/* HEADING */
.heading {
  position: absolute;
}

.heading > img {
	height: 100px;
    margin-right: 30px;
    padding-top: 30px;
	padding-left: 30px;
}

.main-heading {
    color: #d53c2c;
    text-transform: uppercase;
    margin: 0;
    font-weight: normal;
    height: 80px;
    border-right: green 3px solid;
    padding-right: 30px;
	  display: inline-block;
	  position: relative;
	top: -60px;
    padding-bottom: 21px;
	padding-left: 15px;
}

.main-heading-primary {
    display: block;
    font-size: 1.02em;
    animation: moveInLeft 1s ease-out;
	padding-top: 12px;
}

.main-heading-secondary {
	opacity:0;
	font-family: Trebuchet MS, sans-serif;
    display: block;
    font-size: 0.85em;
    text-transform: capitalize;
    color: #d53c2c;
    animation: moveInRight 1s ease-out;
}

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  
  80% {
    transform: translateX(10px);
  }
  
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  
  80% {
    transform: translateX(-10px);
  }
  
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

.sectionContainer {
	height: 40px;
	width: 10.5em;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin: 0;
	margin-top: 10px;
	background-image: none;
}

.sectionContainer > img {
	position: absolute;
    height: 40px;
}

.sectionSelect {
	background: transparent;
    line-height: 25px;
    font-size: 21px;
    height: 40px;
    padding: 0;
	padding-left: 45px;
    color: #d53c2c;
    font-family: Trebuchet MS, sans-serif;
    display: block;
	cursor: pointer;
}

.sectionSelect > select {
	padding: 0 0 0 10px;
    height: 20px;
	font-size: 12px;
}

.sectionContainer::before, .sectionContainer::after{
	content: none;
}

.container {
	opacity:0;
	padding-left: 15px;
	height: 81vh;
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;								  
}

@supports (-webkit-overflow-scrolling: touch) {
    transform: translate3d(0, 0, 0);
}

.category {
	margin: 20px 0px 20px 0px;  
}

.category .title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 21px;
	letter-spacing: 2px;
	word-spacing: 2px;
	color: #d5291b;
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: 0px 0 5px white;
}

.study {
	position: relative;
    height: 120px;
    margin-right: 20px;
    margin-top: 20px;
	display: flex;
}
/*
.study > a {
	pointer-events: none;
}*/

.fav {
	display: block;
    width: auto;
    height: 25px;
    position: absolute;
    top: 8px;
    right: 7px;
	opacity: 0.87;
}

.wrapper {	display: none; transition:visibility 2s ease-in; }

/*media query safari only */
@media not all and (min-resolution:.001dpcm) {
    @media {
        .container {
			height: 75.5vh;
        }
		.copyright {
		    position: absolute;
			bottom: 10vh;
			left: 5px;
		}
		.sectionContainer { width: 9.5em; }
		.sectionSelect { width: 12.4em; }
		.search > button { padding-right: 5px; }
    }
}

/* media query set max width of study icons if screen <1024  */
@media only screen and (max-width : 1024px) {
	.study { max-width: 280px; }
	.study > a > img { max-width: 280px; }
}

/* LOGIN FORM */

.login {
	text-align: center;
    border: 3px;
    width: 45rem;
    border-style: solid;
    border-color: #375172;
    border-radius: 7px;
    height: 19rem;
    background-color: #eef2f7;
    margin: auto;
    margin-top: 30vh;
}

.loginCopy {
	position:fixed;
	bottom: 0;
	transform: unset;
	width: 100vw;
	right: 0;
	color: white;
}

.login label {
	display: block;
    font-size: xx-large;
    margin-bottom: 15px;
    color: #375172;
    margin-top: 2%;
}

.login input {
	height: 16%;
    width: 60%;
    text-align: center;
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 13px;
    border: none;
    border-radius: 7px;
    font-size: initial;
	padding: 0;
}

.login button {
	width: 60%;
    height: 16%;
    font-size: large;
    background-color: #375172;
    border: none;
    border-radius: 7px;
    color: #f7fffa;
	margin-top: 3px;
}

.pswReset {
	display: block;
	margin-top: 27px;
}

/*disclaimer*/

.disclaimer {
	display: none;
    margin-top: 15vh;
	border: 4px solid #375172;
    border-radius: 5px;
	max-width: 95%;
    height:auto;
	margin: auto;
	background-color: white;
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: fit-content;
    margin: auto;
}

@-moz-document url-prefix() {
    .disclaimer {
        margin: 25vh auto;
    }
}

.productInfo {
	max-width: calc(100% - 270px);
	display: inline-block;
	font-size: large;
	margin: 20px;
}

.text {
	font-size: large;
	margin: 20px;
}

.summary {
	font-size: large;
	margin: 20px;
	margin-top: 60px;
	font-weight: bold;
	color: #375172;
	text-align: center;
}

.disclaimer > button {
	margin: 15px;
    width: 200px;
    line-height: 2em;
    font-size: large;
    cursor: pointer;
    background-color: #375172;
    border: none;
    border-radius: 7px;
    color: #f7fffa;
	position: absolute;
	right: 0;
}

.centredBody {
	display: flex;
    justify-content: center;
}


/* ANIMATIONS */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
  opacity:0;  /* make things invisible upon start */
  -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:0.5s;
  -moz-animation-duration:0.5s;
  animation-duration:0.5s;
}

.fast {
  -webkit-animation-duration:0.3s !important;
  -moz-animation-duration:0.3s !important;
  animation-duration:0.3s !important;
}

.logout {
	height: 35px;
    position: absolute;
    bottom: 0;
    left: 0;
	cursor: pointer;
}

.openDisclamier {
	cursor:pointer;
    color:blue;
    text-decoration:underline;
}

.companyLogoOnLogin {
	top: 30px;
    right: 30px;
    position: fixed;
}

.productLogoOnLogin {
	height: 120px;
    position: fixed;
    top: 30px;
    margin-right: 30px;
    left: 30px;
    padding-top: 10px;
}

/*
 *  STYLE 1
 */

::-webkit-scrollbar-track
{
	background-color: transparent;
}

::-webkit-scrollbar
{
	width: 5px;
	background-color: transparent;
}

::-webkit-scrollbar-thumb
{
	border-radius: 20px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #a5a5a5;
}

::-webkit-scrollbar-thumb:hover
{
	background-color: #888686;
}

select {
	outline: none !important; 
}

.noContent {
	display: none;
	height: 100%;
    text-align: center;
    margin-top: 25%;
	font-size: 21px;
	color: #018001;
    font-family: Trebuchet MS, sans-serif;
}