/* SECURe live */

/* Accessibility fixes*/

:root {
  --brand_blue: #045ca6;
}

span.form-required {
  color: #8F0000;
}

li.pager-current {
  color: black !important;
}

span.tab {
  color: black;
}

a.active>span.tab {
  color: white !important;
}

.view-home-page-advert a, .view-footer a {
  background-color: var(--brand_blue) !important;
}

#backtotop {
  color: white !important;
  background-color: #474747 !important;
}

#skip_content, #skip_menu {
  background-color: black;
  color: white;
}

/*footer {*/

/*  background-color: black;*/

/*}*/

#block-block-5>div>div:nth-child(1) {
  color: white;
}

.btn a {
  background-color: var(--brand_blue);
  color: white;
}

/* End fixes */

/*HOME PAGE*/

#body {
  color: #747474;
}

.header-section-1 {
  background: #045ca6;
}

.header-section-1 .col1 {
  padding: 0;
}

#slider_content_wrapper {
  display: none;
}

.views-row.last {
  margin-bottom: 30px;
}

#block-views-courses-block .courses-wrap:hover .courses-caption, #block-views-courses-block .courses-wrap:hover .emp-caption, #block-views-courses-block .emp-wrap:hover .courses-caption, #block-views-courses-block .emp-wrap:hover .emp-caption, #block-views-our-team-block-1 .courses-wrap:hover .courses-caption, #block-views-our-team-block-1 .courses-wrap:hover .emp-caption, #block-views-our-team-block-1 .emp-wrap:hover .courses-caption, #block-views-our-team-block-1 .emp-wrap:hover .emp-caption {
  background: rgba(43, 93, 166, 0.85);
  color: #fff;
}

#block-views-courses-block .courses-wrap:hover .courses-caption h4 a:hover, #block-views-courses-block .courses-wrap:hover .emp-caption h4 a:hover, #block-views-courses-block .emp-wrap:hover .courses-caption h4 a:hover, #block-views-courses-block .emp-wrap:hover .emp-caption h4 a:hover, #block-views-our-team-block-1 .courses-wrap:hover .courses-caption h4 a:hover, #block-views-our-team-block-1 .courses-wrap:hover .emp-caption h4 a:hover, #block-views-our-team-block-1 .emp-wrap:hover .courses-caption h4 a:hover, #block-views-our-team-block-1 .emp-wrap:hover .emp-caption h4 a:hover {
  color: #eca400;
}

#block-views-courses-block .courses-wrap .courses-caption, #block-views-courses-block .courses-wrap .emp-caption, #block-views-courses-block .emp-wrap .courses-caption, #block-views-courses-block .emp-wrap .emp-caption, #block-views-our-team-block-1 .courses-wrap .courses-caption, #block-views-our-team-block-1 .courses-wrap .emp-caption, #block-views-our-team-block-1 .emp-wrap .courses-caption, #block-views-our-team-block-1 .emp-wrap .emp-caption {
  height: 100px;
}

.container-12 .home-about .grid-2 {
  width: 270px;
}

/*.view-about .last .views-field-title {
	display: none;
}*/

#mini-panel-homepage .courses-wrap .courses-caption {
  transition: all 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 20px 20px 28px;
  color: #777;
  height: 100px;
}

#mini-panel-homepage .courses-wrap:hover .courses-caption {
  background: rgba(43, 93, 166, 0.85);
  color: #fff;
}

#mini-panel-homepage .courses-wrap:hover .courses-caption h4 {
  color: #fff;
}

#mini-panel-homepage .courses-wrap {
  position: relative;
  /*box-shadow: 0 4px 4px;*/
}

#backtotop:hover {
  background-color: #eca400;
  opacity: 1;
}

/*homepage advert*/

.view-home-page-advert h2 {
  display: none;
}

.view-home-page-advert a {
  color: #fff;
  background: #5990b0;
  font-size: 2em;
  padding: 20px;
  bottom: 40px;
  position: relative;
}

.view-home-page-advert a:hover {
  color: #fff;
}

.view-homepage-a h2 {
  display: none;
}

#block-views-home-page-advert-block h2 {
  background-color: rgba(12, 93, 172, 0.7);
  color: #fff;
  padding: 10px;
  margin-bottom: 200px;
}

/* end */

/*TEXT*/

.list-1 ul li a {
  /*color: #427aa1;*/
  color: #1d3461;
}

h4 {
  color: #1d3461;
  font: 700 21px/26px 'Lato', sans-serif;
  margin-bottom: 12px;
}

h4 a:hover {
  color: #e8b44c;
  text-decoration: none;
}

.btn a {
  font-style: normal;
}

.btn a:hover {
  background: #e8b44c;
}

ul.links li a {
  background: var(--brand_blue);
  font-style: normal;
}

ul.links li a:hover {
  background: #e8b44c;
}

input[type="submit"] {
  background: #5990b0;
  font-style: normal;
}

input[type="submit"]:hover {
  background: #e8b44c;
}

a {
  color: #2b5da6;
}

a:hover {
  color: #427aa1;
}

.node-readmore {
  float: right;
}

.contextual-links-region .node-title a:hover {
  color: #427aa1;
}

/*SUPERFISH MENU*/

#superfish-1>li>a:hover, #superfish-1>li.active-trail>a, #superfish-1>li.sfHover>a {
  background: #eca400;
  color: #1d3461;
}

#superfish-1 .sf-megamenu>li>ol>li a {
  color: #1d3461;
}

#superfish-1>li ul {
  background: #e8b44c;
  width: auto !important;
  min-width: 150px;
}

#superfish-1>li {
  font: 700 17px/21px 'Lato', sans-serif;
}

#superfish-1 .sf-megamenu {
  width: auto !important;
  float: left;
}

#superfish-1>li ul li {
  float: left !important;
  margin-bottom: 30px;
}

#superfish-1 .sf-megamenu>li>ol>li {
  margin: 0px 0px 20px 0px;
}

.sf-menu.sf-horizontal.sf-shadow ul, .sf-menu.sf-vertical.sf-shadow ul, .sf-menu.sf-navbar.sf-shadow ul ul {
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

#superfish-1>li ul li>a:visited, #superfish-1>li ul li>a {
  color: #1d3461;
}

#superfish-1>li ul li ul {
  float: left !important;
  margin-top: 40px;
}

.header-section-1 .col2 {
  padding-right: 0px;
  width: auto;
}

/*Homepage about*/

.view-about .views-field-field-image {
  display: none;
}

#block-views-our-team-block-1 {
  margin-bottom: 20px;
  height: 500px;
}

#block-views-our-team-block-1 h2 {
  background-color: rgba(12, 93, 172, 0.7);
  color: #fff;
  padding: 10px;
}

#block-views-our-team-block-1 .view-content {
  display: none;
}

.view-footer a {
  color: #fff;
  background: #5990b0;
  font-size: 2em;
  padding: 20px;
  bottom: -300px;
  position: relative;
}

.container-12 .grid-5 {
  width: 200px !important;
}

.view-courses .grid-5 h4 {
  font-size: 1.2em;
  font-weight: bolder;
}

/*FOOTER*/

.footer_top_wrapper {
  background: #045ca6;
}

.region-footer-top a {
  color: #eca400;
}

.block-copyright a {
  color: #ffdc8e;
}

.block-copyright a:hover {
  color: #fff;
}

/*Share - addthis*/

#block-addthis-addthis-block {
  /*width: 10%;*/
  display: -moz-box;
}

#block-addthis-addthis-block .block-title {
  font-size: 1.6em;
  margin-bottom: 0px;
  text-align: left;
  padding-right: 10px;
}

.region-footer-top h2 {
  font: 700 21px/26px 'Lato', sans-serif;
}

/* Follow */

a.tm-follow-link::before {
  font-size: xx-large;
}

/*Events*/

#node-131 .field-name-field-portfolio-image {
  display: none;
}

.node-event .field-type-image img {
  float: left;
  margin-right: 20px;
  box-shadow: 0 4px 4px;
  clear: both;
}

.node-event .field-name-field-when-date {
  /*float:left;*/
  /*clear: right;*/
  display: flex;
  padding-right: 20px;
  font-weight: bolder;
  color: #2b5da6;
  /*width: 100%;*/
}

.node-event .field-name-field-where {
  /*float:left;*/
  /*clear: right;*/
  padding-bottom: 20px;
  padding-right: 20px;
  font-weight: bold;
  display: flex;
  color: #2b5da6;
  /*width:100%;*/
  /*border-bottom: solid 1px green;*/
}

#block-views-events-block-2 .views-field-field-image img {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 4px;
  clear: both;
  width: 300px;
}

#block-views-events-block-2 .node-readmore a {
  background: var(--brand_blue);
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  display: inline-block;
  font: 400 18px/22px 'Lato', sans-serif;
  font-style: normal;
  outline: none;
  padding: 15px 20px 16px;
  text-decoration: none;
  margin-right: 10px;
}

#block-views-events-block-2 .node-readmore a:hover {
  background: #e8b44c;
}

#block-views-events-block-2 .views-row, .node-event .views-row {
  float: left;
}

/*.node-event .field-name-body {
	float:left;
	clear:left;
}*/

/*News*/

.node-news .field-type-image img {
  float: left;
  max-width: 100%;
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 4px;
}

.content ul.pager li a {
  background: #045ca6;
  font-style: normal;
}

.content ul.pager li.pager-current, .content ul.pager li a:hover {
  background: #eca400;
  color: #045ca6;
  font-style: normal;
}
/*.field-name-field-video {
  float: left;
  max-width: 100%;
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 4px;
}*/
.field-name-field-video {
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}
.field-name-field-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Outputs*/

.view-outputs .views-field-nothing {
  float: left;
  clear: right;
  padding: 10px;
  margin-right: 20px;
  box-shadow: 0 4px 4px;
}

.view-outputs .views-row {
  float: left;
}

.view-display-id-block_3 .grid-2 {
  width: 208px;
}

.view-courses h6 a:hover {
  color: #427aa1;
}

/*Work Packages*/

.field-name-field-credit-name {
  float: left;
  clear: left;
  margin-bottom: 20px;
  color: black;
  font-size: 0.8em;
}

.field-name-field-portfolio-image {
  float: left;
  margin: 0 20px 0 0;
  /*box-shadow: 0 4px 4px;
  padding: 10px;*/
}

/*partners*/

#block-views-portfolio-block-2 .block-title {
  display: none;
}

.views-row {
  margin-bottom: 28px;
}

/*Contact page */

.col-1-2-contactform {
  padding-left: 5%;
}

/*funding*/

#node-93 .field-name-field-image img {
  width: 25%;
  float: left;
  margin-right: 20px;
  margin-bottom: 40px;
}

/* Footer*/

#footer p {
  color: white;
  font-size: 0.9em;
}

#footer #block-tm-follow-site {
  float: left;
}

#footer .grid-3 {
  float: right;
}

#footer #block-block-11 {
  float: right;
}

.euflag-margin {
  border: 4px solid #fff;
}

@media (max-width: 1250px) {
  .container-12 .grid-5 {
    width: 250px;
  }
}

@media (max-width: 767px) {
  .header-section-1 {
    background: #045ca6 !important;
  }
  .panels-flexible-region-17-center, .panels-flexible-region-17-righthand_column {
    width: 100%;
  }
	
}