/**
 * CONTENTS
 *
 * 1. Styling Reset 
 *
 * 2. Fonts and basic styling 
 *
 * 3. Global styles 
 * 
 * 4. General classes 
 *
 * 5. Responsive Table 
 *
 * 6. Vertical Positioning centre 
 *
 * 7. Responsive Iframe
 *
 */

/*------------------------------------*\
	#1. Styling Reset 
\*------------------------------------*/

.todo {
  outline: 2px dotted red !important;
  color: red !important;
  font-weight: bold !important;
  position: relative;
}

.todo::before {
  content: "";
  z-index: 10000;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.1);
}

.todo::after {
  content: "TODO";
  z-index: 10000;
  position: absolute;
  top: 0;
  right: 0;
  background: red;
  color: white;
  padding: 5px 8px;
  font-weight: bold;
}

.todo--content::after {
  content: "Requires Content";
}

.todo--image::after {
  content: "Requires Image";
}

/*------------------------------------*\
	#2. Fonts and basic styling 
\*------------------------------------*/

@font-face {
  font-family: "FFDINWebMedium";
  src: url("/sites/1/v1.0/fonts/2DAC12_0_0.eot");
  src: url("/sites/1/v1.0/fonts/2DAC12_0_0.eot?#iefix")
      format("embedded-opentype"),
    url("/sites/1/v1.0/fonts/2DAC12_0_0.woff2") format("woff2"),
    url("/sites/1/v1.0/fonts/2DAC12_0_0.woff") format("woff"),
    url("/sites/1/v1.0/fonts/2DAC12_0_0.ttf") format("truetype");
}

@font-face {
  font-family: "FFDINWeb";
  src: url("/sites/1/v1.0/fonts/2DAC12_1_0.eot");
  src: url("/sites/1/v1.0/fonts/2DAC12_1_0.eot?#iefix")
      format("embedded-opentype"),
    url("/sites/1/v1.0/fonts/2DAC12_1_0.woff2") format("woff2"),
    url("/sites/1/v1.0/fonts/2DAC12_1_0.woff") format("woff"),
    url("/sites/1/v1.0/fonts/2DAC12_1_0.ttf") format("truetype");
}

body {
  font-family: FFDINWeb, Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: #000;
}

/*------------------------------------*\
	#3. Global styles 
\*------------------------------------*/

html {
  font-size: 100%;
}

body {
  font-size: 62.5%;
  line-height: 15px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1,
.h1 {
  position: relative;
  font-weight: 300;
  color: #0a4839;
}

h2,
.h2 {
  font-weight: 700;
}

h3,
.h3 {
  font-weight: 400;
}

h4,
.h4 {
  font-weight: 400;
}

h5,
.h5 {
  font-weight: 400;
  margin-bottom: 10px;
}

h6,
.h6 {
  font-weight: 400;
  margin-bottom: 10px;
}

.light {
  font-weight: 300;
}

.medium {
  font-weight: 400;
}

.bold,
.heavy,
.strong,
strong {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.subtitle,
.subpage-title,
.course--section h1 {
  display: block;
  width: 100%;
  font-weight: 300;
  padding: 1em 0;
  text-align: center;
  color: #0a4839;
  line-height: 1.2em;
}
/* 		.subtitle.subpage{
			color:inherit;
		} */

@media screen and (max-width: 720px) {
  .subtitle,
  .subpage-title {
    padding: 20px 0;
  }
}
 
.aside--default .subtitle.subpage {
  padding: 10px 0 0 0;
}

.aside--default .widget .subtitle.subpage {
  padding: 10px 0;
}

.subtitle:after,
.subpage-title:after,
.course--section h1:after {
  display: block;
  content: "";
  width: 45px;
  height: 8px;
  background: #002a5c;
  margin: 20px auto 0 auto;
}

.subtitle.subpage,
.course--section h1 {
  text-align: left;
}
.subtitle.subpage:after,
.course--section h1:after {
  margin: 5px 0 0 0;
}

.subpage-title {
  padding: 0.25em;
}

.pagetitle {
  display: block;
  width: 100%;
  padding: 0.5em;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #000;
}

p,
blockquote,
table {
  margin: 0 0 1em 0;
}

em,
.em {
  font-style: italic;
}

p {
  padding: 0;
}

ol,
ul {
  margin: 0 0 1.5em 0;
  padding-left: 1em;
  list-style-position: outside;
}

ol > li,
ul > li {
  margin: 0 0 1em 1em;
  padding: 0 0.5em 0 0.5em;
  list-style: none;
  position: relative;
}

li > ol,
li > ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

ul > li {
  /*! list-style-type: disc; */
}

ol > li {
  /* 		list-style-type: decimal;  */
}

ol li:before,
ul li:before {
  display: block;
  content: "\003e";
  width: 9px;
  height: 9px;
  float: left;
  position: absolute;
  left: -15px;
  top: -2px;
}

blockquote {
  text-align: left;
  margin-left: 1em;
  color: #794e8e;
  font-weight: 700;
}

blockquote h3 {
  font-size: 36px;
  line-height: 42px;
}

cite {
  font-size: 0.85em;
  font-style: normal;
  font-weight: normal;
  display: block;
  margin: 0.25em 0 0.5em 0;
}

hr {
  margin-bottom: 2em;
  border: #aaa 1px dashed;
  border-bottom: none;
}

table {
  margin-left: 1em;
  border: none;
}

tr {
  vertical-align: top;
}

td,
th {
  padding: 0.2em 0.75em;
  /* 	border: 1px solid #ddd; */
  border: none;
}

img,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
}

@media screen and (max-width: 500px) {
  body {
    font-size: 14px;
    line-height: 18px;
  }

  h1,
  .h1 {
    font-size: 26px;
    line-height: 1.1666em;
  }

  h2,
  .h2 {
    font-size: 22px;
    line-height: 1.2222em;
  }

  h3,
  .h3 {
    font-size: 20px;
    line-height: 1.25em;
  }

  h4,
  .h4 {
    font-size: 18px;
    line-height: 1.2857em;
  }

  h5,
  .h5 {
    font-size: 16px;
    line-height: 1.2857em;
  }

  h6,
  .h6 {
    font-size: 15px;
    line-height: 1.2857em;
  }
}

/* Styling between 300 and 720px wide */
@media screen and (min-width: 501px) and (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 19px;
  }

  h1,
  .h1 {
    font-size: 28px;
    line-height: 1.1666em;
  }

  h2,
  .h2 {
    font-size: 24px;
    line-height: 1.2222em;
  }

  h3,
  .h3 {
    font-size: 22px;
    line-height: 1.25em;
  }

  h4,
  .h4 {
    font-size: 20px;
    line-height: 1.2857em;
  }

  h5,
  .h5 {
    font-size: 18px;
    line-height: 1.2857em;
  }

  h6,
  .h6 {
    font-size: 16px;
    line-height: 1.2857em;
  }
}

/* Styling between 720 and 950 px wide */
@media screen and (min-width: 721px) and (max-width: 960px) {
  body {
    font-size: 16px;
    line-height: 20px;
  }

  h1,
  .h1 {
    font-size: 32px;
    line-height: 1.1666em;
  }

  h2,
  .h2 {
    font-size: 28px;
    line-height: 1.2222em;
  }

  h3,
  .h3 {
    font-size: 26px;
    line-height: 1.25em;
  }

  h4,
  .h4 {
    font-size: 24px;
    line-height: 1.2857em;
  }

  h5,
  .h5 {
    font-size: 22px;
    line-height: 1.2857em;
  }

  h6,
  .h6 {
    font-size: 20px;
    line-height: 1.2857em;
  }
}

/* Styling between 950 and 1420 px wide */
@media screen and (min-width: 961px) and (max-width: 1200px) {
  body {
    font-size: 17px;
    line-height: 21px;
  }

  h1,
  .h1 {
    font-size: 34px;
    line-height: 1.1666em;
  }

  h2,
  .h2 {
    font-size: 32px;
    line-height: 1.2222em;
  }

  h3,
  .h3 {
    font-size: 28px;
    line-height: 1.25em;
  }

  h4,
  .h4 {
    font-size: 26px;
    line-height: 1.2857em;
  }

  h5,
  .h5 {
    font-size: 24px;
    line-height: 1.2857em;
  }

  h6,
  .h6 {
    font-size: 22px;
    line-height: 1.2857em;
  }
}

@media screen and (min-width: 1201px), print {
  body {
    font-size: 18px;
    line-height: 22px;
  }

  h1,
  .h1 {
    font-size: 36px;
    line-height: 1.1666em;
  }

  h2,
  .h2 {
    font-size: 34px;
    line-height: 1.2222em;
  }

  h3,
  .h3 {
    font-size: 32px;
    line-height: 1.25em;
  }

  h4,
  .h4 {
    font-size: 28px;
    line-height: 1.2857em;
  }

  h5,
  .h5 {
    font-size: 26px;
    line-height: 1.2857em;
  }

  h6,
  .h6 {
    font-size: 24px;
    line-height: 1.2857em;
  }
}

/*------------------------------------*\
	#4. General classes 
\*------------------------------------*/

.hide-visually {
  position: absolute;
  margin: 0 0 0 -9999px;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
  line-height: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.note,
.notice,
.warning,
.message,
.error {
  text-align: left;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.note,
.notice,
.warning {
  border: 1px solid #ccc;
  background: #ddd;
}

.message {
  border: 1px solid #aca;
  background: #dfd;
}

.error {
  border: 1px solid #caa;
  background: #fdd;
}

.center-text {
  text-align: center;
}

.fleft {
  float: left;
}

.fright {
  float: right;
}

.center-margin {
  margin: 0 auto;
}

.no-border {
  border: none;
}

.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.fm-field-error {
  background: #fcb;
}

.fm-required {
  color: #c00;
  float: left;
  margin-top: 12px;
  line-height: 5px;
  padding: 0 5px 0 5px;
}

.btn {
  display: inline-block;
  background: #444;
  color: #fff;
  padding: 0;
  margin-bottom: 20px;
  border: none;
  padding: 18px 20px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.btn:hover {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.btn--full {
  display: block;
  text-align: center;
  width: 100%;
}

.btn--slim {
  padding: 10px 20px;
}

.image--left {
  float: left;
  margin: 0 10px 10px 0;
}

.image--right {
  float: right;
  margin: 0 10px 10px 0;
}

/*------------------------------------*\
	#5. Responsive Table 
\*------------------------------------*/

.table--fixed {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.table--fixed td {
  padding: 2px;
}

@media screen and (max-width: 600px) {
  .table--fixed td {
    display: block;
  }

  .table--fixed img {
    display: block;
    margin: 0 auto;
  }
}

/*------------------------------------*\
	#6. Vertical Positioning centre 
\*------------------------------------*/

/* Vertically Align Centre Centre*/
.vac {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Vertically Align Bottom Centre*/
.vbc {
  position: absolute;
  top: 70%;
  left: 50%;
  -ms-transform: translate(-50%, -70%);
  -moz-transform: translate(-50%, -70%);
  -webkit-transform: translate(-50%, -70%);
  transform: translate(-50%, -70%);
}

/* Vertically Align Top Centre*/
.vtc {
  position: absolute;
  top: 30%;
  left: 50%;
  -ms-transform: translate(-50%, -30%);
  -moz-transform: translate(-50%, -30%);
  -webkit-transform: translate(-50%, -30%);
  transform: translate(-50%, -30%);
}

.dvac {
  display: inline-block;
  vertical-align: middle;
}

/*------------------------------------*\
	#7. Responsive Iframe
\*------------------------------------*/

.iframe--outer {
  width: 100%;
  height: 0;
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
}

.iframe--inner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/*------------------------------------*\
	#8. Cookie Bar 
\*------------------------------------*/

.cookie {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  z-index: 9999;
  padding: 15px 10%;
  background: #000;
  display: none;
  border-top: 1px solid #fff;
  overflow: auto;
}

.cookie__title {
  color: #fff;
}

.cookie__title,
.cookie__link--more {
  float: left;
  margin-right: 20px;
}

.cookie__link--more,
.cookie__link--close {
  color: #fff;
}

.cookie__link--more:hover,
.cookie__link--close:hover {
  color: #fff;
}

.cookie__link--close {
  float: right;
}

/*------------------------------------*\
	#9. Loading Gif 
\*------------------------------------*/

.course__loading__image {
  display: block;
  margin: 0 auto;
  padding: 60px 0 20px 0;
}

/*------------------------------------*\
	#10. Other
\*------------------------------------*/

.no-pad {
  padding: 0;
}

/* Typically applied to header blocks */
.has-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

	.has-logo__logo {
		flex: 0 0 100px;
	} 

	.has-logo__title {
		flex: 2 2 auto;
		/* text-align: left; */
	}

	.has-logo__title br {
		display: none;
	}

@media all and (min-width: 767px){

	.has-logo__logo {
		flex: 0 0 200px;
	}

}


.align-center {
  text-align: center;
}

