* {
  box-sizing: border-box; }
  *:after, *:before {
    box-sizing: border-box; }

html {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased; 
}

body {
  margin: 0;
  padding: 0;
  background: white;
  overflow-x: hidden;
  height: 100%;
  color: #454546;
  font-size: 15px;
  line-height: 1.5;
}

.wc {
  max-width: 1260px;
  padding: 0 20px;
  margin: 0 auto;
}

.cf:after {
  content: "";
  display: table;
  clear: both;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  color: #153341;
  margin: 0;
  padding: 0 0 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 30px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

ul {
  margin: 0;
}

p {
  margin: 0;
  padding-bottom: 1.5rem;
}

p:empty {
  display: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  background: #d1cfcf;
  margin-bottom: 1.5rem;
  clear: left; 
}

a {
  -webkit-transition: .3s color, .3s background;
  transition: .3s color, .3s background;
  text-decoration: none;
  outline: 0;
  color: #296c7d;
}

img {
  max-width: 100%;
  height: auto;
}


a:hover {
  color: #153341;
}

a:focus {
  outline: 0; 
}

.main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding-top: 2rem;
}

.logged-in .main-header {
  top: 64px;
}

.main-header .wc {
  max-width: 100%;
  padding: 0 50px;
}

.logo {
  float: left;
  max-width: 217px;
}

html[lang="en"] .logo{
  max-width: 230px;
}

.main-menu {
  float: right;
  margin-top: 10px;
}

.main-menu ul {
  list-style-type: none;
  padding-left: 0;
}

.main-menu ul li {
  display: inline-block;
  padding: 0 16px 0 0;
  vertical-align: middle;
  margin: 0;
  list-style-type: none;
  position: relative;
}

.main-menu ul li:last-child {
  padding-right: 0;
}

.main-menu ul li a {
  text-transform: uppercase;
  font-size: 15px;
  display: block;
  text-decoration: none;
  text-shadow: 0 0 2px rgba(0,0,0,.5);
  color: white;
  font-weight: 600;
  letter-spacing: .5px;
  transition: .3s opacity, .3s background;
}

.main-menu ul li > a:hover, .main-menu ul li a.active {
  opacity: .6;
}

.main-menu ul li:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
  z-index: 1;
}

.main-menu ul li:last-child a{
  padding: 8px 20px;
  border: 2px solid #7fcfd0;
  border-radius: 30px;
  position: relative;
  top: -12px;
}

.main-menu ul > li:last-child a:hover{
  background: rgba(255,255,255,.1);
  opacity: 1;
}

.main-menu ul ul {
  position: absolute;
  top: calc(100% + 25px);
  left: -16px;
  visibility: hidden;
  opacity: 0;
  background: rgba(255,255,255,.2);
  transition: .3s top, .3s opacity, .3s visibility;
  z-index: 2;
  border-radius: 3px;
  width: 200px;
}

.main-menu ul li:hover > ul {
  visibility: visible;
  opacity: 1;
  top: calc(100% + 12px);
  transition-delay: 0s;
}

.main-menu ul ul li {
  display: block;
  padding: 0;
  border-bottom: 1px solid rgba(22, 51, 65, 0.3);
}

.main-menu ul ul li a{
  display: block;
  padding: 10px 15px;
  transition: .3s background;
  font-size: 14px;
}

.main-menu ul ul li > a:hover, .main-menu ul ul li a.active{
  background: rgba(255,255,255,.2);
  opacity: 1;
}

.main-menu ul ul li:last-child a{
  padding: 10px 15px;
  border: 0;
  border-radius: 0;
  position: static;
}


.lang-menu {
  position: absolute;
  top: 27px;
  right: 180px;
}

.lang-menu h2 {
  display: none;
}

.lang-menu ul {
  list-style-type: none;
  padding-left: 0;
}

.lang-menu ul li {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lang-menu ul li a, .lang-menu ul li span{
  color: white;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: .3s opacity;
}

.lang-menu ul li.active a , .lang-menu ul li.active span{
  opacity: .8;
}

.lang-menu ul li a:hover , .lang-menu ul li span:hover{
  opacity: .8;
}

.lang-menu ul li a:after{
  content: '/';
  padding-left: 10px;
  margin-right: 5px;
}

.lang-menu ul li:last-child a:after{
  display: none;
 }

.mobile-menu-toggle {
  display: none;
  float: right;
  width: 35px;
  transition: .3s opacity;
  margin-top: 22px;
  padding-top: 8px;
  height: 27px;
}

.mobile-menu-toggle span {
  display: block;
  height: 4px;
  position: relative;
  background: white;
  border-radius: 3px;
}

.mobile-menu-toggle:hover {
  opacity: .8
}

.mobile-menu-toggle span:after {
  background: white;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: -8px;
  width: 100%;
  border-radius: 3px;
}

.mobile-menu-toggle span:before {
  background: white;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 8px;
  width: 100%;
  border-radius: 3px;
}

.logged-in .mobile-menu {
  top: 64px;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 98;
  display: none;
  background:rgba(0,0,0,.5);
}

.mobile-menu {
  display: none;
  background: #296c7d;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 250px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  -webkit-transition: .3s transform;
  -moz-transition: .3s transform;
  transition: .3s transform;
  -ms-transform: translateX(calc(100% + 50px));
  -webkit-transform: translateX(calc(100% + 50px));
  -moz-transform: translateX(calc(100% + 50px));
  transform: translateX(calc(100% + 50px));
}

.mobile-menu-is-active .mobile-menu {
   -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  transform: translateX(0);
}

.mobile-main-menu ul {
  list-style-type: none;
  padding: 0;
  overflow-y:auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.mobile-main-menu ul ul {
  list-style-type: none;
  position: static;
}

.mobile-menu ul li {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  list-style-type: none;
  padding: 0;
}

.mobile-main-menu ul ul li:last-of-type {
  border-bottom: 0;
  margin: 0;
} 

.mobile-main-menu ul ul li:first-of-type {
  border-top: 1px solid rgba(255,255,255,.2);
}

.mobile-main-menu ul ul li a{
  list-style-type: none;
  padding: 10px 15px 10px 25px;
  font-size: 14px;
}

.mobile-main-menu ul li a{
  display: block;
  padding: 10px 15px;
  color: white;
  text-transform: uppercase;
}

.mobile-main-menu ul li > a:hover, .mobile-main-menu ul li a.active {
  background: rgba(255,255,255,.2);
}

.mobile-close-btn {
  position: absolute;
  right: 100%;
  top: 0;
  background: #231f20 url('../images/mobile-close-btn.png') no-repeat center center / 15px 15px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  transition: .3s background;
}

.mobile-close-btn:hover {
  background: #153341  url('../images/mobile-close-btn.png') no-repeat center center / 15px 15px;
}

.mobile-menu .block-locale {
  display: none;
  background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  height: 74px;
}


.mobile-menu .block-locale h2{
  display: none;
}

.mobile-menu .block-locale ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .block-locale ul li{
  list-style-type: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.mobile-menu .block-locale ul li a, .mobile-menu .block-locale ul li span{
  display: block;
  padding: 0 15px;
  color: white;
  text-transform: uppercase;
  height: 37px;
  line-height: 37px;
  font-size: 12px;
  text-decoration: none;
  transition: .3s background;
}

.mobile-menu .block-locale ul li a.active, .mobile-menu .block-locale ul li a:hover, .mobile-menu .block-locale ul li span.active, .mobile-menu .block-locale ul li span:hover{
  background: rgba(0,0,0,.2);
}

.mobile-menu .block-locale ul li:first-child a, .mobile-menu .block-locale ul li:first-child span {
  border-bottom: 1px solid rgba(255,255,255,.2);
}


/*Hiding for now*/
.contextual-links-wrapper {
  display: none;
}

/*ul.primary {
  display: none;
}*/


/*Inside Page Banner*/

.inner-banner {
  position: relative;
  text-align: center;
  height: 520px;
  background-color: #163341;
  background-position: center center;
  background-size: cover;
  margin-bottom: 4rem;
}

.front .inner-banner {
  margin-bottom: 2rem;
}

/*.inner-banner:after {
  content: '';
  position: absolute;
  background:rgba(22,51,65,.6);
  top: 0;
  right:0;
  bottom: 0;
  left: 0;
  z-index: 1;
}*/

.banner-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.banner-content .wc {
  max-width: 590px;
  margin: 0 auto;
}

.inner-banner h1 {
  font-size: 40px;
  color: white;
  text-shadow: 0 0 2px rgba(0,0,0,.5);
  z-index: 2;
  position: relative;
  text-transform: uppercase;
  padding-bottom: 1rem;
}

.inner-banner .banner-text {
  position: relative;
  z-index: 2;
}

.inner-banner .banner-text p{
  font-size: 22px;
  font-style: italic;
  padding-bottom: 1.5rem;
  color: white;
  text-shadow: 0 0 2px rgba(0,0,0,.5);
}

.inner-banner .banner-text a {
  display: inline-block;
  border-radius: 40px;
  font-size: 15px;
  text-transform: uppercase;
  color: #163341;
  background: #09acc7;
  padding: 12px 30px;
  font-style: normal;
  text-shadow: none;
}

.inner-banner .banner-text a:hover {
  background: white;
}

.inner-banner .banner-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px 15px;
  background: rgba(20,47,61,.66);
  z-index: 2;
  color: white;
}

.inner-banner .banner-caption p{
  color: white;
  font-size: 14px;
  padding: 0;
  text-transform: uppercase;
}

/*Page layouts*/

.layout-full .main-content {
  margin: 0 auto;
}

.layout-left .left-sidebar{
  float: left;
  width: 15%;
  margin-right: 5%;
}

.layout-left .main-content {
  float: left;
  width: 80%;
}

.layout-both .left-sidebar{
  float: left;
  width: 15%;
  margin-right: 5%;
}

.layout-both .main-content {
  float: left;
  width: 45%;
  margin-right: 5%;
}

.layout-both .right-sidebar{
  float: left;
  width: 30%;
}

.layout-right .main-content {
  float: left;
  width: 65%;
  margin-right: 5%;
}

.layout-right .right-sidebar{
  float: left;
  width: 30%;
}

.sophisticated {
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 4rem;
  color: #153341;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 4rem;
  font-weight: 300;
}

.layout-threeboxes .content-box {
  float: left;
  width: 30%;
  margin-right: 5%;
}


.layout-boxes .content-box {
  float: left;
  width: calc((100% - 5%) / 2);
  margin-right: 5%;
}

.content-box:last-of-type {
  margin-right: 0;
}


/*Special Styles*/

.sophisticated {
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 4rem;
  color: #153341;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 4rem;
  font-weight: 300;
}

.left-sidebar .menu {
  list-style-type: none;
  padding-left: 0;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.left-sidebar .menu li {
  display: none;
  padding: 0;
  margin-left: 0;
}

.left-sidebar .menu > li > a{
  font-size: 22px;
  color: #00746b;
  display: block;
  margin-bottom: 1rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding-bottom: .3rem;
}

.left-sidebar .menu li li {
  padding-left: 0;
  margin-left: 0;
}

.left-sidebar .menu li li a {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.4);
  text-transform: uppercase;
  line-height: 1.3;
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  border-bottom: 0;
  padding-bottom: 0;
}


.left-sidebar .menu li li.active a.active,
.left-sidebar .menu li li a:hover{
  color: rgba(26, 26, 26, 1);
}

.left-sidebar .menu li.active-trail {
  display: block;
}

.left-sidebar .menu li.active-trail li {
  display: block;
}

.right-sidebar iframe {
  border: 2px solid #ececec !important;
  border-radius: 3px;
  background: #ececec !important;
}

.content-box img {
  margin-bottom: 1rem;
}

.content-box h1 a {
  color: #1e376d;
}

/*Footer*/

.main-footer {
  background: #333a42;
  margin-top: 4rem;
  color: white;
  font-size: 13px;
}

.main-footer .wc {
  padding-top: 10px;
  padding-bottom: 10px;
  background:url('../images/footer_seal.jpg') no-repeat 150px center;
  min-height: 100px;
  max-width: 1260px;
}

.main-footer h2 {
  display: none;
}

.main-footer p {
  padding-bottom: 0;
  line-height: 1.3;
}

.top-footer-block {
  border-bottom: 1px solid white;
  padding-bottom: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.footer-raic-logo {
  float: left;
  max-width:163px;
  width: 100%;
  display: block;
  margin-right: 40px;
  background: url('../images/footer-logo.png') no-repeat center center / 163px auto;
  height: 48px;
  font-size: 0;
  margin-top: 7px;
}

.footer-raic-foundation-logo {
  float: left;
  max-width:168px;
  width: 100%;
  display: block;
  background: url('../images/raic-foundation.png') no-repeat center center / 167px auto;
  height: 64px;
  font-size: 0;
}

.main-footer .left-footer-block{
  float: left;
}

.main-footer .left-footer-block .contact-block {
  float: left;
  margin-right: 30px;
  font-size: 14px;
}

.main-footer .left-footer-block .contact-block:nth-of-type(2) {
  padding-left: 20px;
}

.main-footer .left-footer-block .contact-block a {
  color: white;
}

.main-footer .right-footer-block{
  float: right;
  text-align: right;
}

.main-footer .social-block h6 {
  font-size: 15px;
  font-weight: 400;
  padding-bottom: 8px;
  text-transform: none;
  color: white;
  margin-top: 15px;
  letter-spacing: normal;
  font-weight: 700;
}

.main-footer .social-block ul {
  list-style-type: none;
  padding-left: 0;
  font-size: 0;
  margin-bottom: 15px;
}

.main-footer .social-block li{
  list-style-type: none;
  padding: 0;
  margin: 0 15px 0 0;
  display: inline-block;
}

.main-footer .social-block li:last-of-type{
  margin-right: 0;
}

.main-footer .social-block li a {
  font-size: 0;
  background: rgba(0, 0, 0, 0) url("../images/social-media-sprites.png") no-repeat scroll 0 0;
  display: block;
  height: 30px;
  width: 30px;
}

.main-footer .social-block li a.twitter-icon {
   background-position: 0 -160px;
}

.main-footer .social-block li a.linkedin-icon{
   background-position: 0 -80px;
}

.main-footer .social-block li a.facebook-icon {
   background-position: 0 0;
}

.main-footer .social-block li a.instagram-icon{
   background-position: 0 -40px;
}

.main-footer .social-block li a.youtube-icon {
   background-position: 0 -120px;
}

.main-footer .footer-menu {
  list-style-type: none;
  padding-left: 0;
  font-size: 0;
  margin-bottom: 3px;
}

.main-footer .footer-menu li{
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.main-footer .footer-menu li:last-child a {
  border-right: 0;
  padding-right: 0;
}

.main-footer .footer-menu li a {
  display: block;
  padding: 2px 5px 4px;
  border-right: 1px solid white;
  line-height: 1;
  color: white;
  font-size: 13px;
}

.main-footer .copyright-text {
  font-size: 12px;
}

/*Drupal Stuff*/

.page-user form {
  margin: 10rem auto;
  padding: 50px;
  border: 1px solid rgba(0,0,0,.2);
  max-width: 400px;
  border-radius: 3px;
}

.page-user form input[type="text"],
.page-user form input[type="password"] {
  display: block;
  width: 100%;
}

.page-user.not-logged-in header,
.page-user.not-logged-in footer {
  display: none;
}


@media screen and (max-width: 1100px){
  
  .main-header {
    padding-top: 1.5rem;
  }

  .main-header .wc {
    padding: 0 20px;
  }

  .lang-menu {
    right: 20px;
    top: 15px;
  }

  .main-menu {
    display: none;
  }

  .mobile-menu-toggle, .mobile-menu {
    display: block;
  }

  .inner-banner {
    height: 360px;
  }

}

@media screen and (max-width: 960px){

  .main-footer {
    text-align: center;
  }

  .main-footer .wc {
    padding-bottom: 3rem;
    padding-top: 3rem;
    background: none;
  }

  .main-footer .left-footer-block {
    float: none;
    width: 100%;
  }

  .main-footer .right-footer-block {
    float: none;
    width: 100%;
    text-align: center;
  }

  .main-footer .left-footer-block .contact-block {
    float: none;
    width: 100%;
  }

  .main-footer .left-footer-block .contact-block:nth-of-type(2){
    padding-left: 0;
  }

  .footer-raic-logo {
    margin: 0 auto 1.5rem;
    float: none;
  }

  .footer-raic-foundation-logo {
    margin: 0 auto 1.5rem;
    float: none;
  }

  .top-footer-block {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .main-footer .left-footer-block .contact-block p {
    line-height: 1.5;
  }

  .main-footer .left-footer-block .contact-block:last-of-type {
    margin-bottom: 1.5rem;
  }

}

@media screen and (max-width: 800px) {


  .layout-threeboxes .content-box {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .layout-boxes .content-box {
      width: 100%;
      margin-right: 0;
      margin-bottom: 1rem;
  }

  .layout-threeboxes .content-box:last-of-type, .layout-boxes .content-box:last-of-type {
    margin-bottom: 0;
  } 

  .layout-left .left-sidebar{
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .layout-left .main-content {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .layout-both .left-sidebar{
     float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .layout-both .main-content {
     float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .layout-both .right-sidebar{
     float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .layout-right .main-content {
     float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .layout-right .right-sidebar{
     float: none;
    width: 100%;
   max-width: 100%;
    margin: 0 auto;
  }

  .home-img {
    display: block;
    float: none !important;
    margin: 0 auto;
  }


}

@media screen and (max-width: 480px){

  html[lang="en"] .logo, .logo {
    max-width: 150px;
  }

  .lang-menu {
    display: none;
  }

  .mobile-menu-toggle {
    width: 30px;
    height: 20px;
    margin-top: 4px;
  }

  .mobile-menu-toggle span:before {
    height: 3px;
    top: 7px;
  }

  .mobile-menu-toggle span:after { 
    height: 3px;
    top: -7px;
  }

  .mobile-menu-toggle span {
    height: 3px;
  }

  .inner-banner {
    height: 280px;
  }

  .inner-banner h1 {
    font-size: 30px;
  }

  .inner-banner .banner-text p{
    font-size: 18px;
  }

  .inner-banner .banner-text a {
    font-size: 13px;
    padding: 8px 20px;
  }

  .sophisticated {
    font-size: 23px;
  }

  .mobile-menu .block-locale {
    display: block;
  }

  .mobile-main-menu ul{
    top: 75px;
  }


}
