/*
Taken from
Project: 16-17_1-24
Author: Richy Thomas
Palette: Color: Red: #9D0B0C; Blue: #241D3C;
*/

@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Open+Sans:400,600italic,600,400italic,300italic,300,700,700italic);

html {
  min-height: 100%;
  position: relative;
}

body {
	background-color: #FFF;
	background-image:url(../img/bg.png);
	background-position:center bottom;
	background-repeat:repeat-x;
	background-attachment: fixed;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 80px;
}


/* Typography */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  margin: 0 0 15px;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 1.3em;
}

h6 {
  font-size: 1.2em;
}

p.lead {
  font-size: 1.4em;
  font-weight: normal;
  margin-bottom: 15px;
}

p {
  font-size: 1.2em;
  line-height: 1.6em;
}

a, a:visited {
  color: #333;
  text-decoration: underline;
}

a:hover, a:focus {
  color: #333;
  text-decoration: none;
}

ol li {
  margin-bottom: 10px;
}


/* Header */

#header {
  background: #6981af;
  color: #FFF;
  padding: 1em 0;
}

#title, #branding {
  text-align: center;
}

#title {
  margin-bottom: 20px;
}

#header h1 {
  font-size: 2.2em;
  font-weight: 400;
  margin: 8px 0;
}

#logo-wjec {
  margin-right: 10px;
  height:50px;
}


#logo-eduqas {
  height:42px;
}

#logo-cbac{
  height:50px;
}


/* Main Content */

.content-container {
  background: rgba(255,255,255, 0.8);
}


/* Activity Intro */

#activityIntro {
  margin: 30px 0 1.5em;
}

#activityIntro p {
  font-size: 1.45em;
  font-weight: 500;
  margin-bottom: 0;
}

#instructions {
  margin-bottom: 30px;
}


/* Activity Content */

#activityContainer, #feedback {
  margin: 1.5em 0 3em;
}


/* Activity Controls */

#activityControls {
  margin-top: 2em;
}

.btn-default, .btn-default:visited, .btn-default:focus, .btn-default:active {
  background-color: #6981af;
  border-color: #6981af;
  box-shadow: none; -webkit-box-shadow: none;
  color: #FFF;
  outline: none;
  text-decoration: none;
}

.btn-default:hover, .btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover  {
  background-color: #586f9c;
  border-color: #586f9c;
  color: #FFF;
  outline: none;
  text-decoration: none;
}

.btn-info, .btn-info:visited, .btn-info:focus, .btn-info:active {
  background-color: #6981af;
  border-color: #6981af;
  box-shadow: none; -webkit-box-shadow: none;
  color: #FFF;
  outline: none;
  text-decoration: none;
}

.btn-info:hover, .btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover {
  background-color: #6981af;
  border-color: #6981af;
  color: #FFF;
  outline: none;
  text-decoration: none;
}

#tools button {
	margin-bottom:4px;
}

/* Footer */

#footer {
  background: #6981af;
  bottom: 0;
  color: #FFF;
  height: 50px;
  padding: 1.5em 1em;
  position: absolute;
  width: 100%;
}


#footer p {
  font-size: 1em;
  letter-spacing: 1px;
  margin-bottom: 0;
  text-transform: uppercase;
}


/* Popup Info Modal */

.modal-header {
  border-bottom:none;
  padding:10px;
  font-family: 'Roboto Slab', serif;
	background:#B2C2D5;
	border-top-right-radius:6px;
	border-top-left-radius:6px;
}

.modal-title {
  font-size: 1.8em;
}

.modal-body {
  padding: 25px;
	text-align:center;
}

.modal-body p {
  font-size: 1.1em;
  line-height: 1.5em;
}

.modal-header .close {
  color: #333;
  opacity: .5; filter: alpha(opacity=50);
  text-shadow: none;
}

.modal-footer {border-top:none}

/* Other Stuff */

#feedback {
	display:none;
}

.feedback-item table tr th {
	background:#6981af;
	color:#FFF
}
.feedback-item table tr td {
	background:#fff
}


#imagePopup .modal {
	position: fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	overflow:hidden;
}

#imagePopup .modal-dialog{
	position:fixed;
	margin:0;
	width:100%;
	height:100%;
	padding:0;
}

#imagePopup .modal-content{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	border-radius:0;
	border:2px solid #3c7def;
}

#imagePopup .modal-header{
	position:absolute;
	top:0;
	right:0;
	left:0;
	height:50px;
	padding:10px;
	background:#6598d9;
	border:0;
}

#imagePopup .modal-body {
	position:absolute;
	top:50px;
	bottom:60px;
	width:100%;
	overflow:auto;
	padding:0;
	padding-top:10px;
}

#imagePopup .modal-footer {
	position:absolute;
	right:0;
	bottom:0;
	left:0;
	height:60px;
	padding:10px;
	background:#f1f3f5;
}

#imagePopup .modal-body img {
	width:auto;
	height:100%;
}


#nav-controls {
	position:fixed;
	right:0px;
	bottom:200px;
	display:flex;
	flex-direction:column;
	background:rgba(195,211,230,.5);
	padding:8px;
	border-radius:4px;
}


#nav-controls button {
	margin:2px auto;
}





















/* Animations */

.animate-first {
  animation-duration: 1s;
  animation-delay: 0s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0s;
}

.animate-second {
  animation-duration: 1s;
  animation-delay: 0.1s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.1s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.1s;
}

.animate-third {
  animation-duration: 1s;
  animation-delay: 0.2s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.2s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.2s;
}

.animate-fourth {
  animation-duration: 1s;
  animation-delay: 0.3s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.3s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.3s;
}

.animate-fifth {
  animation-duration: 1s;
  animation-delay: 0.4s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.4s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.4s;
}

.animate-sixth {
  animation-duration: 1s;
  animation-delay: 0.5s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.5s;
}

.animate-seventh {
  animation-duration: 1s;
  animation-delay: 0.6s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.6s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.6s;
}

.animate-eighth {
  animation-duration: 1s;
  animation-delay: 0.7s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.7s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.7s;
}

.animate-ninth {
  animation-duration: 1s;
  animation-delay: 0.8s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.8s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.8s;
}

.animate-tenth {
  animation-duration: 1s;
  animation-delay: 0.9s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 0.9s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.9s;
}

.animate-eleventh {
  animation-duration: 1s;
  animation-delay: 1s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 1s;
}

.animate-twelfth {
  animation-duration: 1s;
  animation-delay: 1.1s;
  -moz-animation-duration: 1s;
  -moz-animation-delay: 1.1s;
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 1.1s;
}


/* Tablet */
@media(min-width: 768px){



  #footer {
    padding: 1em 0;
  }

  #title {
    margin-bottom: 0;
    text-align: left;
  }

  #branding {
    text-align: right;
  }

  #instructions {
    margin-bottom: 0;
  }

}

/* Desktop */
@media(min-width:992px){




}

/* Large Desktop */
@media(min-width:1200px){


}

/* Mobile Only */
@media all and (max-width:767px) {

  .btn-change {
    display: block;
    margin-bottom: 3px;
    width: 100%;
  }

}
/* Print Stylesheet */
@media print {


  .btn, footer, #branding, #activityControls, #tools {
    display: none;
  }

  #header, #activityIntro, #activityContainer, #activityControls, #activity {
    padding-top: 0;
    padding-bottom: 0;
  }

  #header {
    padding-top: 1em;
  }

}
