/* GENERAL */

body {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  background-color: #FFF;
  line-height: 1.2;
}
p {
  font-size: 1.8em;
  text-align: justify;
}
.main ul {
  list-style: disc;
  margin: 0 0 1em 2em;
}
.main ol {
  list-style: decimal;
  margin: 0 0 1em 2em;
}
.main li {
  margin-bottom: 1em;
  font-size: 1.8em;
}
.language-chooser li a {
  color: #631E9A;
}
.language-chooser li.active a,
.language-chooser li:hover a {
  background-color: #631E9A;
}
.footer {
  color: #FFF;
  background-color: #631E9A;
}

.page-title {
  border-bottom: 3px solid #5C0029;
  padding-top: 50px;
  margin-bottom: 65px;
}
.page-title h1 {
  display: inline-block;
  position: relative;
  top: 16px;
  padding-right: 30px;
  color: #5C0029;
  background-color: #FFF;
  font-size: 3em;
  font-weight: 600;
}

.map-container, .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.map-container iframe, .video-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}


html > .video-conatiner{
    display:none;}
/* DETAILS */

.content-blocks {
  overflow: hidden;
}
.content-block {
  float: left;
  width: 47.6%;
  margin: 0 4.8% 4.8% 0;
}
.content-block:nth-child(even) {
  margin-right: 0;
}
.content-block.col-odd:nth-child(even) {
  margin-right: 4.8%;
}
.content-block.col-even {
  margin-right: 0;
}

.content-block.full {
  float: none;
  width: 100%;
  margin: 0 0 4.8% 0;
  clear: both;
}
.cb-top {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 193px;
  background: #012775;
  background: -moz-linear-gradient(left,  #012775 0%, #6A006D 100%);
  background: -webkit-linear-gradient(left,  #012775 0%,#6A006D 100%);
  background: linear-gradient(to right,  #012775 0%,#6A006D 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#012775', endColorstr='#6A006D',GradientType=1 );
  overflow: hidden;
}
.content-block:nth-child(odd) .cb-top {
  -webkit-border-top-left-radius: 30px;
  -moz-border-radius-topleft: 30px;
  border-top-left-radius: 30px;
}
.content-block:nth-child(even) .cb-top {
  -webkit-border-top-right-radius: 30px;
  -moz-border-radius-topright: 30px;
  border-top-right-radius: 30px;
}
.content-block.col-odd:nth-child(even) .cb-top {
  -webkit-border-top-left-radius: 30px;
  -moz-border-radius-topleft: 30px;
  border-top-left-radius: 30px;
  -webkit-border-top-right-radius: 0;
  -moz-border-radius-topright: 0;
  border-top-right-radius: 0;
}
.content-block.col-even:nth-child(odd) .cb-top {
  -webkit-border-top-right-radius: 30px;
  -moz-border-radius-topright: 30px;
  border-top-right-radius: 30px;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topleft: 0;
  border-top-left-radius: 0;
}
.content-block.full .cb-top {
  -webkit-border-top-left-radius: 30px;
  -moz-border-radius-topleft: 30px;
  border-top-left-radius: 30px; 
  -webkit-border-top-right-radius: 30px;
  -moz-border-radius-topright: 30px;
  border-top-right-radius: 30px;
}

.cb-title, .cb-image {
  display: table-cell;
  vertical-align: middle;
}
.cb-title {
  padding: 15px 40px;
}
.cb-title h2 {
  color: #FFF;
  font-size: 2em;
  font-weight: 400;
}
.cb-image {
  width: 247px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.cb-bottom {
  height: auto;
  padding: 30px 40px;
  background-color: #DDDDE7;
}
.content-block:nth-child(odd) .cb-bottom {
  -webkit-border-bottom-right-radius: 30px;
  -moz-border-radius-bottomright: 30px;
  border-bottom-right-radius: 30px;
}
.content-block:nth-child(even) .cb-bottom {
  -webkit-border-bottom-left-radius: 30px;
  -moz-border-radius-bottomleft: 30px;
  border-bottom-left-radius: 30px;
}
.cb-text p {
  line-height: 1.5;
}
.cb-text td, .cb-text th {
  font-size: 1.8em;
  border: 1px solid #999;
  padding: 10px;
}
.cb-text p td, .cb-text p th,
.cb-text p p, .cb-text p li,
.cb-text td p, .cb-text td th,
.cb-text td li, .cb-text td td,
.cb-text li td, .cb-text li li,
.cb-text li th, .cb-text li p,
.cb-text th td, .cb-text th th,
.cb-text th li, .cb-text th p {
  font-size:  1em;
}
.icon-more {
  display: block;
  width: 27px;
  height: 27px;
  margin-top: 10px;
  background: url('images/non-formal-education/icon-more@2x.png') no-repeat center center;
  background-size: contain;
}


/* LINKS */

.content-links {
  overflow: hidden;
}
.content-link {
  display: block;
  float: left;
  width: 32.5%;
  margin-right: 1.25%;
  margin-bottom: 2.5%;
}
.content-link:nth-child(3n+3) {
  margin-right: 0;
}
.cl-text {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 130px; /* temp */
  padding-left: 30px;
  background: #4b016e;
  background: -moz-linear-gradient(left, #4b016e 0%, #012775 100%);
  background: -webkit-linear-gradient(left, #4b016e 0%,#012775 100%);
  background: linear-gradient(to right, #4b016e 0%,#012775 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b016e', endColorstr='#012775',GradientType=1 );
  -webkit-border-top-right-radius: 30px;
  -moz-border-radius-topright: 30px;
  border-top-right-radius: 30px;
}
.cl-text h2 {
  display: table-cell;
  vertical-align: middle;
  color: #FFF;
  font-size: 2.2em;
  font-weight: 400;
}
.cl-image {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 78%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


/* HOME */

.home-row {
  padding: 80px 0;
}
.home-title {
  color: #0085CA;
  font-size: 3.4em;
  font-weight: 600;
  text-align: center;
}
.home-title:after {
  display: block;
  content: '';
  width: 70px;
  height: 10px;
  margin: 15px auto;
  background-color: #0085CA;
}
.home-text {
  max-width: 470px;
  margin: 0 auto;
}
.home-text p {
  color: #171717;
  font-size: 2em;
  line-height: 1.5;
}
.home-blocks {
  margin-bottom: 80px;
  overflow: hidden;
}
.home-block {
  display: block;
  float: left;
  width: 49%;
  height:100%;
  margin: 0 2% 2% 0;
}
.home-block:nth-child(even) {
  margin-right: 0;
}
.hb-text {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 135px;
  padding-left: 30px;
  background: #4b016e;
}
.home-block:nth-child(odd) .hb-text {
  background: -moz-linear-gradient(left, #012275 0%, #4b016e 100%);
  background: -webkit-linear-gradient(left, #012275 0%,#4b016e 100%);
  background: linear-gradient(to right, #012275 0%,#4b016e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#012275', endColorstr='#4b016e',GradientType=1 );
  -webkit-border-top-left-radius: 30px;
  -moz-border-radius-topleft: 30px;
  border-top-left-radius: 30px;
}
.home-block:nth-child(even) .hb-text {
  background: -moz-linear-gradient(left, #4b016e 0%, #012775 100%);
  background: -webkit-linear-gradient(left, #4b016e 0%,#012775 100%);
  background: linear-gradient(to right, #4b016e 0%,#012775 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b016e', endColorstr='#012775',GradientType=1 );
  -webkit-border-top-right-radius: 30px;
  -moz-border-radius-topright: 30px;
  border-top-right-radius: 30px;
}
.hb-text h2 {
  display: table-cell;
  vertical-align: middle;
  color: #FFF;
  font-size: 3em;
  font-weight: 600;
}
.hb-image {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 78%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@media (max-width: 1200px) {
  .page-title h1 {
    top: 12px;
    font-size: 2.6em;
  }
  .home-title {
    font-size: 3em;
  }
  .hb-text h2 {
    font-size: 2.6em;
  }
}
@media (max-width: 1000px) {
  .page-title h1 {
    top: 10px;
    font-size: 2.4em;
  }
  .home-title {
    font-size: 2.7em;
  }
  .hb-text h2 {
    font-size: 2.4em;
  }
}
@media (max-width: 900px) {
  .content-block {
    float: none;
    width: 100%;
    margin: 0 0 30px 0;
  }
  .content-block .cb-top,
  .content-block:nth-child(odd) .cb-top,
  .content-block:nth-child(even) .cb-top,
  .content-block.col-odd:nth-child(even) .cb-top,
  .content-block.col-even:nth-child(odd) .cb-top {
    -webkit-border-top-left-radius: 30px;
    -moz-border-radius-topleft: 30px;
    border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topright: 30px;
    border-top-right-radius: 30px;
  }
  .cb-title h2 {
    font-size: 2.2em;
  }
}
@media (max-width: 768px) {
  .page-title {
    padding-top: 30px;
    margin-bottom: 45px;
  }
  .page-title h1 {
    top: 10px;
    font-size: 2em;
  }
  .home-title {
    font-size: 2.4em;
  }
  .hb-text h2 {
    font-size: 2.2em;
  }
  .main-menu-button {
    background-color: #631e9a;
  }
  .cl-text {
    height: 120px;
  }
  .content-link {
    width: 48.5%;
    margin: 0 3% 3% 0;
  }
  .content-link:nth-child(3n+3) {
    margin-right: 3%;
  }
  .content-link:nth-child(even) {
    margin-right: 0;
  }
  .home-row {
    padding: 40px 0;
  }
  .home-title {
    font-size: 2.6em;
  }
  .home-blocks {
    margin-bottom: 30px;
  }
  .home-block {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
  }
  .home-block:nth-child(even) {
    margin-right: auto;
  }
  .home-block:nth-child(odd) .hb-text,
  .home-block:nth-child(even) .hb-text {
    -webkit-border-top-left-radius: 30px;
    -moz-border-radius-topleft: 30px;
    border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topright: 30px;
    border-top-right-radius: 30px;
  }
  .home-text p {
    font-size: 1.6em;
  }
  .hb-text {
    height: 100px;
  }
  .hb-text h2 {
    font-size: 2.4em;
  }
}

@media (max-width: 600px) {
  .home-title {
    font-size: 2em;
  }
  .hb-text h2 {
    font-size: 2em;
  }
}

@media (max-width: 500px) {
  .cl-text {
    height: auto;
    padding: 30px;
  }
  .content-link {
    float: none;
    width: 100%;
    margin: 0 0 30px 0;
  }
  .content-link:nth-child(3n+3),
  .content-link:nth-child(even) {
    margin-right: 0;
  }
  .cb-top {
    display: block;
    height: auto;
  }
  .cb-title {
    display: block;
    padding: 30px 40px;
  }
  .cb-title h2 {
    font-size: 2em;
  }
  .cb-bottom {
    padding: 25px 30px 30px 30px;
  }
  .cb-image {
    display: block;
    width: 100%;
    padding-bottom: 58%;
  }
  p {
    font-size: 1.6em;
  }
  .cb-text td, .cb-text th {
    font-size: 1.6em;
  }
  .cb-text p td, .cb-text p th,
  .cb-text p p, .cb-text p li,
  .cb-text td p, .cb-text td th,
  .cb-text td li, .cb-text td td,
  .cb-text li td, .cb-text li li,
  .cb-text li th, .cb-text li p,
  .cb-text th td, .cb-text th th,
  .cb-text th li, .cb-text th p {
    font-size:  1em;
  }
}

@media (max-width: 400px) {
  p {
    font-size: 1.3em;
  }
  .cb-text td, .cb-text th {
    font-size: 1.3em;
    padding: 5px;
  }
  .cb-text p td, .cb-text p th,
  .cb-text p p, .cb-text p li,
  .cb-text td p, .cb-text td th,
  .cb-text td li, .cb-text td td,
  .cb-text li td, .cb-text li li,
  .cb-text li th, .cb-text li p,
  .cb-text th td, .cb-text th th,
  .cb-text th li, .cb-text th p {
    font-size: 1em;
  }
  .cb-bottom {
    padding: 25px 15px;
  }
}
