/* ==== FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Merriweather|Open+Sans');

.tcd-container p{
  font-family: 'Open Sans', sans-serif;
}

.tcd-container h1{
  font-family: 'Merriweather', serif;
  color: #b8ac82;
  font-size: 1.5em;
}

.tcd-container h2,
.tcd-container h3,
.tcd-container h4,
.tcd-container h5,
.tcd-container h6{
  font-family: 'Merriweather', serif;
}

.main-title{
  font-family: 'Merriweather', serif;
  color: #b8ac82;
}

/* ==== Styling ==== */
.tcd-header{
  position: relative;
  height: 300px;
  width: 100%;
}

.tcd-header .start-button{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px 80px 20px 20px;
  font-size: 21px;
  right: 2%;
  font-family: 'Open Sans', sans-serif;
  color: #ffffff;
  font-weight: bold;
  background: rgba(26,129,183,.8);
  z-index: 1;
}

.tcd-header a{
  text-decoration: none !important;
}

.tcd-header img{
  height: 300px;
  max-width: none!important;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.tcd-header .overlay{
  position: absolute;
  height: 100%;
  width: 100%;
}

.header-title{
  position: absolute;
  bottom: 58px;
  left: 20px;
  box-sizing: border-box;
}

.header-title h1, .header-title h3{
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 10px;
  color: #ffffff;
  background: #00ADAB;
  clear:both;
  float:left;
  box-sizing: border-box;
  font-size: 1.5em;
}

.tcd-course-button{
  position: relative;
  background: #ffffff;
  color: #555;
  padding: 15px 50px 15px 10px;
  display: block;
  text-decoration: none !important;
  font-size: 1.1em;
  border-bottom: 1px solid #eee;
  transition: 0.6s;
  border: 4px solid #b8ac82;
}

.tcd-course-button .btn-text{
  margin: 0;
  font-size: 1.4em;
  font-family: "Merriweather", serif;
  display: block;
  font-weight: normal;
}

.tcd-course-button .full-click{
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.full-click:hover + .tcd-course-button{
  background: #e9e9e9;
}

.tcd-course-button .btn-text h1{
  font-size: 20px;
  text-decoration: none;
}

.tcd-course-button .btn-text p{
  font-family: 'Merriweather', serif;
  font-size: 14px;
  margin: 0;
}

.tcd-course-button .icon{
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -11px;
  width: 23px;
  height: auto;
}

.intro-row{
  padding: 0 20px 20px;
  background: #f5f5f5;
}

.grey-row{
  background: #f5f5f5;
}

.darkgrey-row{
  background: #53565A;
  color: #ffffff;
}

.intro-col{
  background: #ffffff;
  border-top: 4px solid #3BB8E8;
}

.tcd-header .overlay img{
  height: 100%;
  width: auto;
  position: absolute;
  right: 0px;
}

/*Table*/

table.tcd-table {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #B8AC82;
  width: 100%;
  text-align: left;
}
table.tcd-table td, table.tcd-table th {
  border: 1px solid #555555;
  padding: 10px 10px;
}
table.tcd-table tbody td {
  font-size: 12px;
  font-weight: bold;
  color: #53565A;
}
table.tcd-table td:nth-child(even) {
  background: #FFFFFF;
}
table.tcd-table thead {
  background: #FFFFFF;
}
table.tcd-table thead th {
  font-size: 15px;
  font-weight: normal;
  color: #B8AC82;
  text-align: left;
}
table.tcd-table tfoot td {
  font-size: 13px;
}
table.tcd-table tfoot .links {
  text-align: right;
}
table.tcd-table tfoot .links a{
  display: inline-block;
  background: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}

/* ==== GRID SYSTEM ==== */

.clearfixer:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfixer {
  display: inline-block;
}

.vertical-center{
  display : flex;
  align-items : center;
}

.tcd-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.tcd-container * {
  box-sizing: border-box;
}

.tcd-row {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.tcd-row [class^="tcd-col"] {
  float: left;
  padding: 10px;
}

/* ==== Mobile ==== */

@media only screen and (max-width: 1120px) {
  .tcd-header .overlay{
    display: none;
  }

  .header-title{
    font-family: 'Open Sans', sans-serif;
    position: absolute;
    top: 15px;
    left: 20px;
  }

  .header-title h1{
    font-size: 24px;
    padding: 5px;
  }

  .header-title h3{
    font-size: 18px;
    padding: 5px;
  }

  .tcd-header .start-button{
    position: absolute;
  }

  .tcd-header .start-button{
    position: absolute;
    top: unset;
    transform: none;
    padding: 20px 80px 20px 20px;
    font-size: 21px;
    right: unset;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-weight: bold;
    background: rgba(26,129,183,.8);
    left: 20px;
    bottom: 55px;
  }
}

@media only screen and (max-width: 1120px) {
  .tcd-col-1,
  .tcd-col-2,
  .tcd-col-3,
  .tcd-col-4,
  .tcd-col-5,
  .tcd-col-6,
  .tcd-col-7,
  .tcd-col-8,
  .tcd-col-9,
  .tcd-col-10,
  .tcd-col-11{
    width: 50%;
  }

  .tcd-col-12 {
    width: 100%;
  }
} 

@media only screen and (max-width: 920px) {
  .tcd-col-1,
  .tcd-col-2,
  .tcd-col-3,
  .tcd-col-4,
  .tcd-col-5,
  .tcd-col-6,
  .tcd-col-7,
  .tcd-col-8,
  .tcd-col-9,
  .tcd-col-10,
  .tcd-col-11,
  .tcd-col-12{
    width: 100%;
  }

  .vertical-center{
    display : block;
  }
}

@media only screen and (min-width: 1120px) {
  .tcd-col-1{
    width: 8.33%;
  }

  .tcd-col-2{
    width: 16.66%;
  }

  .tcd-col-3{
    width: 25%;
  }

  .tcd-col-4{
    width: 33.33%;
  }

  .tcd-col-5{
    width: 41.67%;
  }

  .tcd-col-6{
    width: 50%;
  }

  .tcd-col-7{
    width: 58.33%;
  }

  .tcd-col-8{
    width: 66.66%;
  }

  .tcd-col-9{
    width: 75%;
  }

  .tcd-col-10{
    width: 83.33%;
  }

  .tcd-col-11{
    width: 91.67%;
  }

  .tcd-col-12{
    width: 100%;
  }
}

/* ==== IFRAME ==== */

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}