/* source-sans-pro-300 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/source-sans-pro-v21-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/source-sans-pro-v21-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-600 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/source-sans-pro-v21-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/source-sans-pro-v21-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/source-sans-pro-v21-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v34-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v34-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v34-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v34-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v34-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* Tag styles and bootstrap adjustements */

html,
body {
  width: 100%;
  float: left;
  height: 100%;
  font-weight: 300;
}

h1 {
  margin-top: 0;
}

tr td:first-child {
  width: 20%;
}

.container {
  padding: 0;
}

.row {
  margin: 0;
}

/******************
*** Download File
******************/

.media-heading {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.uploads-filesize {
    font-size: 0.75em;
    float: right;
}

li.media {
  border-bottom: 1px solid #ccc;
}

li.media .glyphicon {
  font-size: 0.75em;
}

/* Background image slideshow */

.cycle-slideshow {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -1;
}

.background-image {
  width: 100%;
  height: 100%;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  box-sizing: content-box;
  position: fixed;
  z-index: -1;
}

/* Header with logo and navigation */

#header-wrapper {
  background: rgba(255, 255, 255, 1);
  position: fixed;
  z-index: 1000;
  left: 0;
  transition: all 0.4s ease;
  width: 100%;
}

#header-wrapper .container {
  height: 145px;
  margin-left: 400px;
}

#logo {
  padding: 19px 30px 19px 30px;
  transition: all 0.4s ease;
  position: absolute;
}

#logo img {
  transition: all 0.4s ease;
  width:250px;
}

#navigation {
  margin-top: 74px;
  padding-left: 30px;
  padding-right: 30px;
}

.nav-arrow {
    position: absolute;
    display: none;
    width: 30px;
    height: 30px;
    right: 0;
    margin-top: -38px;
}

.nav-arrow span{
  color: #559ca5;
  font-size: 22px;
  font-weight: lighter;
}

.nav-arrow.open span {
    transform: rotate(180deg);
}

.frame-ruler-after {
  border: none;
}

#navigation ul ul {
  visibility: hidden;
  position: absolute;
  transition: all 200ms ease;
  transform: translate3d(0,-20px,0);
  opacity: 0;
  z-index: 10;
  background: #559ca5;
  min-width: 220px;
}

#navigation ul li:hover ul {
  visibility: visible;
  transform: translate3d(0,1px,0);
  opacity: 1;
}

#navigation a {
  text-transform: uppercase;
  transition: border 300ms ease;
  border-bottom: 1px solid transparent;
}

#navigation > ul > li > a:hover {
  background: transparent;
  border-bottom: 1px solid #559ca5;
}

#navigation ul ul li {
  width: 100%;
}

#navigation ul ul a {
  text-transform: capitalize;
  color: #fff;
  white-space: nowrap;
}

#navigation ul ul a:hover {
  background-color: #51bac7;
}

#navigation li.current-active a {
  border-bottom: 1px solid #559ca5;
}

.gallery-item {
    float: none;
    padding-left: 0.05em;
    padding-right: 0.05em;
}

.gallery-controls {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 50%;
  margin-top: -50px;
}

.gallery-controls > div {
  width: 140px;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.gallery-controls div.cycle-prev {
  float: left;
  background-image: url(../Images/Frontend/prev-arrow.png);
  background-repeat: no-repeat;
  margin-left: 30px;
}

.gallery-controls div.cycle-next {
  float: right;
  background-image: url(../Images/Frontend/next-arrow.png);
  background-repeat: no-repeat;
  background-position-x: right;
  margin-right: 30px;
}

.gallery-controls div.cycle-next div {
  float: right;
}

.gallery-controls div div {
    margin: 34px 0;
    background: #fff;
    line-height: 2em;
    width: 100px;
    text-align: center;
    transform: translate3d(-20px,0,0);
    transition: all 0.5s ease;
    position: relative;
    z-index: -1;
    opacity: 0;
}

.gallery-controls > div:last-child div {
  transform: translate3d(20px,0,0);
}

.gallery-controls div:hover div {
  transform: translate3d(35px, 0,0);
  opacity: 1;
}

.gallery-controls > div:last-child:hover div {
  transform: translate3d(-35px, 0,0);
  opacity: 1;
}

/* Sidebar */

#sidebar {
  padding: 0 15px;
  position: fixed;
  bottom: 0;
}

/* Mobile button and overlay */

#mobile-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 400ms ease;
    background: rgba(0,0,0,0);
}

#mobile-btn {
  cursor: pointer;
  display: none;
  position: absolute;
  right: 4%;
  top: 35px;
  width: 54px;
  height: 74px;
  padding: 20px 0 20px 20px;
  z-index: 1000;
}

.inner {
    width: 100%;
    height: 100%;
    position: relative;
}

#mobile-btn .icon-bar {
    width: 34px;
    height: 2px;
    background: #559ca5;
    position: absolute;
    left: 0;
    transition: all 400ms ease;
}

.icon-bar1 {
    top: 4px;
    transform-origin: left top;
}

#mobile-btn.open .icon-bar1 {
    transform: rotate(45deg);
    left: 5px;
}

.icon-bar2 {
    top: 16px;
    opacity: 1;
}

.open .icon-bar2 {
    opacity: 0;
}

.icon-bar3 {
    bottom: 4px;
    transform-origin: left bottom;
}

#mobile-btn.open .icon-bar3 {
    transform: rotate(-45deg);
    left: 5px;
}

/* Content styles */

.content-wrapper {
  background: rgba(255, 255, 255, 0.9);
  padding-top: 145px;
  margin-left: 400px;
}

.content-wrapper.closed {
  transform: translate3d(0,calc(-100% + 145px),0);
}

.content-wrapper > .row {
  margin: 60px 0 20px 0;
}

.content-wrapper b,
.content-wrapper strong {
  font-weight: 500;
}

#normal-content a {
  color: #559ca5;
  text-decoration: underline;
}

#normal-content a:hover {
  text-decoration: none;
}

.modal-caption {
  opacity: 0;
}

/* Footer with copyright and navigation */

#footer {
  color: #fff;
  padding: 10px 0;
  background: #6cad9c;
  position: absolute;
  margin-top: 1px;
  min-height: 45px;
}

#footer address  {
    padding-top: 30px;
    padding-bottom: 5px;
}

#copyright {
  float: left;
}

#footer h2 {
  color: #fff;
  font-size: 32px;
  line-height: 1.1;
  margin-top: 0;
}

#footer p {
  font-size: 16px;
}

#footer a {
  color: #fff;
}

#footernav {
  float: right;
}

#footernav > ul {
  float: right;
  margin: 0;
}

#footernav a {
  color: #fff;
  padding: 0;
  font-size: 14px;
}

#footernav a:hover {
  background: transparent;
}

/* Powermail  */

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    margin-left: 0;
}

.radio label,
.checkbox label {
    margin-left: 10px;
}

.powermail_file {
    float: left;
    width: calc(100% - 41px);
}

.powermail_fieldwrap_file_inner > span {
    height: 38px;
}

.parsley-errors-list {
    margin-top: 7px;
    display: inline-block;
    width: 100%;
}

li.parsley-required,
li.parsley-custom-error-message {
    list-style-position: inside;
    float: left;
}

.parsley-errors-list .glyphicon-remove {
    float: right;
    cursor: pointer;
}

.tx-powermail h3 {
    display: none;
}


.tx-powermail h3,
.tx-powermail legend {
    display: none;
}

/* Modal Gallery */

.row.controls {
  position: absolute;
  transform: translateY(-50%);
  width: 100%;
  top: 50%;
  font-size: 3em;
}

.row.controls div {
  cursor: pointer;
  height: 1em;
}

.row.controls span {
  display: block;
  color: #fff;
}

.row.controls .prev span {
  text-shadow: 4px -0px 0px rgba(96, 187, 69, 1);
}

.row.controls .next {
  text-align: right;
}

.row.controls .next span {
  text-shadow: -4px -0px 0px rgba(96, 187, 69, 1);
}

.modal-gallery {
  margin-top: 145px;
}

.modal-gallery > .frame {
  margin: 0;
}

.modal-gallery .image-row {
  padding-top: 145px;
  margin-left: 0;
  margin-right: 0;
}

.modal-gallery .image-column {
  padding-left: 0;
  padding-right: 0;
}

.modal-gallery .image-wrap .image {
  width: 25%;
  height: auto;
  float: left;
  margin: 0;
  overflow: hidden;
}

.modal-gallery .image {
  margin-bottom: 2px;
}

.modal-gallery figcaption {
  display: none;
}

.modal-gallery .image img {
  opacity: 1;
}

.close {
  font-size: 36px;
}

.modal-gallery,
.modal-gallery > div,
.modal-gallery .image-center,
.modal-gallery .image-wrap,
.modal-gallery .image-center-outer,
.modal-gallery .image-center-inner,
.modal-gallery .image-row,
.modal-gallery .image-column {
  min-height: 100%;
}

.modal-gallery > .frame > div > div.row > div {
  padding: 0 1px;
}

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

  .container {
    width: 96%;
    margin: 0 2%;
  }

  .col-md-4,
  .col-md-8 {
    padding-left: 30px;
    padding-right: 30px;
  }

  #header-wrapper {
    left: 0;
    margin-left: 0;
    width: 100%;
  }

  #navigation {
    padding-left: 30px;
    padding-right: 30px;
  }

  #logo {
    padding: 19px 0 19px 0;
    padding-left: calc(2% + 30px);
  }

  .content-wrapper {
    background: transparent;
  }

  .content-wrapper > .row {
    padding: 60px 0 20px 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
  }

  #sidebar {
    bottom: 0;
    position: static;
  }

  #footer {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    position: static;
  }

  #close-content {
    margin-bottom: 30px;
  }

  .gallery-controls {
    margin-top: 22px;
  }

  iframe {
    width: 100%;
  }

}

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

  .content-wrapper > .row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column-reverse;
    flex-flow: column-reverse;
  }

  .content-wrapper > .row > * {
    width: 100%;
  }

  .content-wrapper > .row aside {
    margin-top: 60px;
  }

  #navigation ul ul a {
    white-space: normal;
  }

  #navigation > ul > li.active > a {
    border-bottom: 1px solid #6cad9c;
  }

  .background-image {background-attachment: fixed;}

}

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

  #mobile-btn {
    display: block;
  }

  #mobile-overlay {
    opacity: 1;
  }

  #header-wrapper {
    background: #fff;
  }

  #header-wrapper .container {
    margin: 0;
    width: 100%;
  }

  #logo {
    padding: 19px 0 19px 0;
    padding-left: calc(2% + 30px);
  }

  #header-wrapper.open,
  #header-wrapper.open .container,
  #header-wrapper .row {
    height: 100%;
  }

  #navigation {
    height: calc(100% - 120px);
    padding: 30px 4% 30px 0;
    padding-left: calc(2% + 15px);
    margin-top: 120px;
  }

  #navigation > ul {
    height: 100%;
    margin: 0;
  }

  .nav-arrow {
    display: block;
  }

  #navigation a {
    font-size: 1.4em;
  }

  #navigation ul ul {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: translate3d(0,0,0);
    display: none;
    width: 100%;
    margin: 0;
    padding-left: 30px;
    transition: none;
  }

}

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

  #mobile-btn {
    top: 23px;
  }

  #navigation {
    height: calc(100% - 160px);
    padding-left: 4%;
  }

  #header-wrapper .container {
    height: 120px;
  }

  #logo {
    padding: 19px 0 19px 4%;
  }

  #logo img {
    width: 192px;
    height: auto;
  }

  .content-wrapper {
    padding-top: 120px;
  }

  .content-wrapper.closed {
      transform: translate3d(0,calc(-100% + 122px),0);
  }

  .content-wrapper > .row {
    margin: 40px 0 0 0;
  }

  .content-wrapper > .row > * {
    width: 100%;
    padding: 0 2%;
  }

  #copyright {
    padding: 0 0 0 2%;
  }

  #footernav {
    padding: 0 2% 0 0;
  }

  .gallery-controls {
    margin-top: 10px;
  }

}

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

  h1,
  #sidebar h2 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  #header-wrapper .container {
    height: 99px;
  }

  #mobile-btn {
    top: 12px;
  }

  #logo img {
    width: 192px;
    height: auto;
  }

  .content-wrapper {
    padding-top: 120px;
  }

  .content-wrapper > .row {
    margin: 15px 0 0 0;
  }

  .content-wrapper.closed {
      transform: translate3d(0,calc(-100% + 100px),0);
  }

  .gallery-controls > div {
    width: 44px;
  }

  .gallery-controls div div {
    display: none;
  }

  .row.controls {
    font-size: 2em;
  }

}
