
body {
	font-size: 21px;	
	overflow-x: hidden;
}

body,button,.form-control {
	color: #606368;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif; 
	font-weight: 400;	
}

button { cursor: pointer; }
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.container-fluid { 
	padding-left: 0; 
	padding-right: 0;
	overflow-x: hidden;
}

.flex { display: flex; }

.section {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

button:focus { outline: none; }

p { 
	line-height: 1.8;
	margin-bottom: 50px;
}

.section-title {
	font-size: 2.6rem;
    margin-bottom: 2rem;	
}

.site-title-wrap {
	padding-top: 80px;
	padding-bottom: 100px;
}

.site-title { 
	border: 2px solid #FFFFFF;
	color: #FFFFFF;
	display: inline-block;
	font-size: 3rem; 
	padding: 30px 40px;
}

.textbox {
	max-width: 600px;
	width: 100%;
	padding: 50px;
	overflow: auto;
	background-image:url(../img/gridtile_white.png); background-repeat: repeat;
}

.textbox-full-height { min-height: 950px;}

.white-bg {
	 background-color: rgba(255,255,255,0.58);
background-image:url(../img/gridtile_white.png); background-repeat: repeat;
	color: #676362;
}

.translucent-white-bg { background-color: rgba(255,255,255,0.58);
background-image:url(../img/gridtile_white.png); background-repeat: repeat;}

.btn,.btn:visited {
	display: block;
	float: right;
	font-size: 1.2rem;
	font-weight: 300;
	color: white;
	background-color: #D3530F;
	padding: 15px 20px;
	cursor: pointer;
	border: none;
}

.btn:hover,.btn:focus {
	color: white;
	background-color: #D77700;
}

.green-text { color: #1C836F; }
.orange-text { color: #D77700; }
.red-text { color: #D3530F; }

.content-box {
	overflow: auto;
	height: 40%;
	max-width: 600px;
	width:  100%;
	padding: 60px 60px 60px ;	
	display: -ms-flexbox;	
	display: -webkit-flex;	
	display: flex;   
	-webkit-flex-direction: column;   
	    -ms-flex-direction: column;   
	        flex-direction: column;
}

.gallery-content { padding-top: 60px; }

.content-box-right {
	margin-left: auto;
	margin-right: 0;
}

.small-font { font-size: 1rem; }

.page-content-width {
	max-width: 1200px;
	margin: 0 auto;	
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;	
}

.padding-b {	padding-bottom: 80px; }
.page-content-width,.content-box { min-height: 950px; }

.flex-col {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
    -ms-flex-direction: column;
        -webkit-flex-direction: column;
            flex-direction: column;    
}

.media-icon {
	margin-right: 30px;
	margin-bottom: 0;
}

/* IE fix */
.media-body { 
	flex: 1 1 auto; 
	width: 100%; 
}

/* Gallery */
.section-gallery { min-height: 400px; }
.filter-wrapper { padding-left: 0; }
.filter-wrapper li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.filter-wrapper li:last-child { margin-right: 0; }

.filter-wrapper li a {
	background-color: white;
    color: #666;
    font-weight: 400;
    padding: 6px 20px;    
    display: block;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.filter-wrapper li a.selected { 
	background-color: #666666; 
	color: white;
}
.iso-box {
    position: relative;
    min-height: 25px;
    float: left;
    overflow: hidden;
    margin-bottom: 15px;
    padding-left: 8px;
    padding-right: 8px;
}
.iso-box-section {
	margin-left: -8px;
    margin-right: -8px;
}

/* Contact */
.form-control {
	background-color: transparent;
	border-radius: 0;
	font-size: 1.15rem;
	padding: .9rem 1.25rem;
}

.form-control:focus {
	background-color: transparent;
	border-color: #983333;
}

.form-group { margin-bottom: 1.2rem; }
.section-contact { position: relative; }

.copyright-div {	
	color: white;
	display: inline-block;
	padding: 0px 35px 0 70%;
	position:relative;
    bottom: 0;
    right: 0;    
}

.copyright-text { 
	font-size: 1.18rem;
    margin-bottom: 0;
    font-weight: 300;
}

.copyright-text a {
	color: #fff;
}

/* Media Queries */
@media screen and (max-width: 791px) {
	.gallery-content { padding-top: 150px; }
	.section-gallery { min-height: 900px; }
	.page-content-width,.content-box { min-height: 700px;	}
}

@media screen and (max-width: 767px) {
	.gallery-content { padding-top: 100px; }
	.content-box { padding: 100px 60px 60px; }
	.section-gallery { min-height: 900px; }	
	.page-content-width,.content-box { min-height: 700px;	}
	.site-title-wrap {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

@media screen and (max-height: 639px) {
	.section-home { min-height: 100%; }
}

@media screen and (max-width: 575px) {
	.gallery-content {padding-bottom: 150px;}	
}

@media screen and (max-width: 420px) {
	.media {
		flex-direction: column;
		align-items: center;
	}

	.media-icon {
		margin-right: 0;
		margin-bottom: 30px;
	}
}

.team-item {
  position: relative;
  text-align: center;
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 75%;
}

.team-image:after {
  position: absolute;
  background: transparent;
  content: " ";
  display: block;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.team-detail {
  position: absolute;
  width: 100%;
  opacity: 0;
  bottom: 100%;
  left: 0;
  z-index: 2;
  text-align: center;
  font-size: 11px;
  color: #aaa;
  padding: 20px;
}

.team-detail h5 {
  font-size: 16px;
}

.team-detail p {
  font-size: 12px;
}

.team-social a {
  display: inline-block;
  color: #aaa;
  padding: 5px 6px;
}

.team-social a:hover {
  color: #FFF;
}

.team-descr {
  margin: 20px 0 0;
}

.team-name {
  font-size: 14px;
  color: #111;
}

.team-role {
  font-size: 11px;
  color: #aaa;
}

.team-item:hover .team-image:after {
  background: rgba(0, 0, 0, 0.6);
}

.team-item:hover .team-detail {
  opacity: 1;
  bottom: 50%;
  -webkit-transform: translateY(50%);
  -ms-transform: translateY(50%);
  transform: translateY(50%);
}


/* -------------------------------- 

1. Auto-Hiding Navigation - Simple

-------------------------------- */
.cd-auto-hide-header {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
}
.cd-auto-hide-header::after {
  clear: both;
  content: "";
  display: block;
}
.cd-auto-hide-header.is-hidden {
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}
@media only screen and (min-width: 1024px) {
  .cd-auto-hide-header {
    height: 80px;
  }
}

.cd-auto-hide-header .logo,
.cd-auto-hide-header .nav-trigger {
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.cd-auto-hide-header .logo {
  left: 5%;
}
.cd-auto-hide-header .logo a, .cd-auto-hide-header .logo img {
  display: block;
}

.cd-auto-hide-header .nav-trigger {
  /* vertically align its content */
  display: table;
  height: 100%;
  padding: 0 1em;
  font-size: 1rem;
  text-transform: uppercase;
  color: #25283D;
  font-weight: bold;
  right: 0;
  border-left: 1px solid #f2f2f2;
}
.cd-auto-hide-header .nav-trigger span {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
}
.cd-auto-hide-header .nav-trigger em, .cd-auto-hide-header .nav-trigger em::after, .cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon */
  display: block;
  position: relative;
  height: 2px;
  width: 22px;
  background-color: #25283D;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.cd-auto-hide-header .nav-trigger em {
  /* this is the menu central line */
  margin: 6px auto 14px;
  -webkit-transition: background-color .2s;
  transition: background-color .2s;
}
.cd-auto-hide-header .nav-trigger em::before, .cd-auto-hide-header .nav-trigger em::after {
  position: absolute;
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform .2s;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon top line */
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
}
.cd-auto-hide-header .nav-trigger em::after {
  /* this is the menu icon bottom line */
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
}
@media only screen and (min-width: 1024px) {
  .cd-auto-hide-header .nav-trigger {
    display: none;
  }
}

.cd-auto-hide-header.nav-open .nav-trigger em {
  /* transform menu icon into a 'X' icon */
  background-color: rgba(255, 255, 255, 0);
}
.cd-auto-hide-header.nav-open .nav-trigger em::before {
  /* rotate top line */
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.cd-auto-hide-header.nav-open .nav-trigger em::after {
  /* rotate bottom line */
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.cd-primary-nav {
  display: inline-block;
  float: right;
  height: 100%;
  padding-right: 5%;
}
.cd-primary-nav > ul {
  position: absolute;
  z-index: 2;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: none;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.2);
}
.cd-primary-nav > ul a {
  /* target primary-nav links */
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  color: #25283D;
  font-size: 1rem;
  border-top: 1px solid #f2f2f2;
}
.cd-primary-nav > ul a:hover, .cd-primary-nav > ul a.active {
  color: #8F3985;
}
@media only screen and (min-width: 1024px) {
  .cd-primary-nav {
    /* vertically align its content */
    display: table;
  }
  .cd-primary-nav > ul {
    /* vertically align inside parent element */
    display: table-cell;
    vertical-align: middle;
    /* reset mobile style */
    position: relative;
    width: auto;
    top: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .cd-primary-nav > ul::after {
    clear: both;
    content: "";
    display: block;
  }
  .cd-primary-nav > ul li {
    display: inline-block;
    float: left;
    margin-right: 1.5em;
  }
  .cd-primary-nav > ul li:last-of-type {
    margin-right: 0;
  }
  .cd-primary-nav > ul a {
    /* reset mobile style */
    height: auto;
    line-height: normal;
    padding: 0;
    border: none;
  }
}

.nav-open .cd-primary-nav ul,
.cd-primary-nav ul:target {
  /* 
  	show primary nav - mobile only 
  	:target is used to show navigation on no-js devices
  */
  display: block;
}
@media only screen and (min-width: 1024px) {
  .nav-open .cd-primary-nav ul,
  .cd-primary-nav ul:target {
    display: table-cell;
  }
}

.animationload {
		position: fixed;
		top:0;
		left:0;
		right:0;
		bottom:0;
		background-color:white; /* change if the mask should have another color then white */
		z-index:999999; /* makes sure it stays on top */
	}
	.loader {
		width:200px;
		text-indent:-99999;
		height:200px;
		font-size:0;
		position:absolute;
		left:50%; /* centers the loading animation horizontally one the screen */
		top:50%; /* centers the loading animation vertically one the screen */
		background-image:url("../img/loading.gif"); /* path to your loading animation */
		background-repeat:no-repeat;
		background-position:center;
		margin:-100px 0 0 -100px; /* is width and height divided by two */
	}