@CHARSET "UTF-8";

/* External resources */

@import url(https://fonts.googleapis.com/css?family=Roboto:400,300|Abril+Fatface|Questrial);

/** Default styles */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 13pt;
  padding: 0;
  margin: 0;
  background: #fff;
  color: #000;
  overflow-x:hidden;
}

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

a img {
  border: none;
}

div.clearfix {
  clear: both;
}

.button {
	padding: 10px 12px;
	text-decoration: none;
	display: inline-block;
	transition: all 0.2s ease-in;
	background-color: #1f4c7d;
	color: #fff;
}

.button:hover {
	background-color: #4fc0d3;
	color: #07293d;
}

a {
	color: #4fc0d3;
	text-decoration: none;
	transition: color 0.2s ease-in;
}

a:hover {
	color: #1f4c7d;
}

h1 {
	font-family: 'Abril Fatface', serif;
	font-weight: normal;
}

h2, h3 {
	font-family: 'Questrial', sans-serif;
	font-weight: normal;
	letter-spacing: 6px;
	line-height: 150%;
}

/* Wrapper */

.wrapper {
  width: 1000px;
  margin: 0 auto;
}

/* Header */

.header {
  padding: 30px 0px;
}

.header-left {
	width: 40%;
	float: left;
}

.header-right {
	width: 60%;
	float: left;
}

/* Menu bar */

.navbar{
	width:100%;
	height:auto;
	background-color:transparent;
	margin-top: 20px;
}

.navbar ul {
  margin: auto;
  padding: 0;
  list-style-type: none;
  display: table;
  text-align:right;
  width:100%;
}

.navbar li {
  display: table-cell;
  position:relative;
  text-align:center;
}

.navbar ul li a {
  cursor: pointer;
  font-size:11pt;
  text-decoration:none;
  display:block;
  padding: 10px 10px;
  transition:all 0.2s ease-in;
  color:#000;
  font-family:'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  font-style: italic;
  text-transform:uppercase;
  border-right: 1px solid #d6d6d6;
}

.navbar ul li:last-child a {
	border-right: none;
}

.navbar ul li a:hover, .selectedanchor, .navbar ul li a.current {
	color: #1f4c7d;
}

.css-menu-panel{
	border-top: 10px solid #fff;
  position: absolute;
  width:100%;
  top: 100%;
  height:auto;
  margin: 0px;
  padding: 0px;
  z-index: 1000000;
  transform: scaleY(0);
  -webkit-transform: scaleY(0);
  -o-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -moz-transform: scaleY(0);
  transition: transform 0.3s;
  -o-transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
}

.navbar li:hover .css-menu-panel{
	transform: scale(1);
}

.navbar ul li .css-menu-panel a {
  background-color: #4fc0d3;
	color: #07293d;
	border:none;
}

.navbar ul li .css-menu-panel a:hover {
	background-color: #1f4c7d;
	color: #fff;
}

.navbar ul li .css-menu-panel a:after {
	content: none;
}

/* Banner */

.banner {
  height: 516px;
}

.banner .wrapper {
	position: relative;
}

.banner-overlay {
	position: absolute;
	right: 0;
	top: 0;
	height: 516px;
	width: 60%;
	z-index:999;
	text-align:right;
}

.banner-overlay h1 {
	font-size: 275%;
	margin: 0;
}

.banner-overlay h2 {
	text-transform: uppercase;
	font-size: 120%;
}

.banner-overlay .button {
	font-size:120%;
	text-transform: uppercase;
	letter-spacing: 4px;
	border-radius: 4px;
	font-weight: bold;
	padding: 14px 20px;
}

#page-slideshow img {
	max-width: none;
	position: absolute;
	left:50%;
	margin-left: -1000px;
}

/* Main */

div.main {
  
}

.contentblock {
	padding: 20px 0px;
}

.contentblock-strap {
	text-align: right;
}

.contentblock-strap h1 {
	font-size: 300%;
	text-transform: uppercase;
}

.contentblock-box {
	width: 45%;
	height: 300px;
	padding: 60px 10px;
	background-color: #4fc0d3;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	transition: all 0.2s ease-in-out;
	text-align: center;
	float:left;
	margin: 20px 0px;
}

.contentblock-box:nth-child(odd){
	margin-right: 6%;
}

.contentblock-box h2 {
	font-style: normal;
	font-size: 90%;
	letter-spacing: 4px;
	font-weight: bold;
	text-transform:uppercase;
}

.contentblock-box a{
	color:inherit;
	font-family: 'Questrial', sans-serif;
	font-style: normal;
	letter-spacing: 3px;
}

.contentblock-box a:hover {
	text-decoration: underline;
}

#dark-blue {
	background-color: #1f4c7d;
	color:#fff;
}

#darker-blue {
	background-color: #07293d;
	color: #fff;
}

#green {
	background-color: #98edc4;
}

#green-img{
	padding-top:15px;
}

/* Portfolio */

.portfolio-tile {
	position: relative;
	width: 450px;
	margin: 10px 0px;
	float: left;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.portfolio-tile:nth-child(odd){
	margin-right: 70px;
}

.portfolio-tile h4{
	position: absolute;
	top: 0px;
	left: 0;
	padding: 20px 0px;
	margin: 0;
	background-color: rgba(172, 234, 222, 1);
	display: block;
	width:95%;
	padding-left:5%;
	font-family: 'Abril Fatface', serif;
	font-size: 150%;
}

.portfolio-tile a {
	padding: 20px 0px 20px 20px;
	display: block;
}

.portfolio-tile img {
	max-height: 300px;
	width: 100%;
	margin-top:75px;
}

/* Content */

.content {
  padding: 20px 0px;
}

.content script+link+h1 {
  display:none;
}

.content>*:first-child,div.gallery-header>*:first-child {
  margin-top: 0;
}

.content td>*:first-child {
  margin-top: 0;
}

.content td>*:last-child {
  margin-bottom: 0;
}

.content h1,.content h2,.content h3,.content h4,.content h5,.content h6 {
  
}

/** Footer */

.footer-top {
	background-color: #d6d6d6;
	text-align: center;
	padding: 10px 0px;
}

.footer-bottom {
	padding: 20px 0px;
	text-align: center;
}

.footer-bottom .social-box {
	display: inline-block;
	margin: 0px 35px;
}

.footer-bottom img {
	vertical-align: -7px;
}

.footer-bottom h3 {
	display: inline-block;
	letter-spacing: 3px;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 100%;
	margin-left: 10px;
}

/** gallery styles */

div.slideshow#image-gallery {
  
}

div#image-gallery a.slides-next, div#image-gallery a.slides-prev {
  background:#333;
  background: rgba(51,51,51,0.6);
  text-decoration: none;
  transition:padding 0.2s, background 0.2s;
  -o-transition:padding 0.2s, background 0.2s;
  -ms-transition:padding 0.2s, background 0.2s;
  -moz-transition:padding 0.2s, background 0.2s;
  -webkit-transition:padding 0.2s, background 0.2s;
  padding:0 5px;
}

div#image-gallery a.slides-next:hover, div#image-gallery a.slides-prev:hover {
  background: #333;
  padding:0 10px;
}

div#image-gallery * {
	padding:0;
	list-style:0;
}

div#image-gallery *:after, div#image-gallery *:before {
	display:none;
}

/*******************************************************************************
 ** Utility: 3-col responsive grid */

.col1,.col2,.col3 {
  padding: 4px 0;
  margin: 0;
}

.col1 {
  width: 24%;
  padding-left: 1%;
  float: left;
}

.col1.gapless {
  width: 25%;
  padding-left: 0;
}

.col2 {
  width: 49%;
  padding-left: 1%;
  float: left;
}

.col2.gapless {
  width: 50%;
  padding-left: 0;
}

.col3 {
  width: 74%;
  padding-left: 1%;
  float: left;
}

.col3.gapless {
  width: 75%;
  padding-left: 0;
}


.col4 {
  width: 100%;
  padding-left: 0;
}

.colthumb {
  float: left;  
  width: 160px;
}

.colall {
  float: left;
  padding-left: 1%;
  width: calc(99% - 160px);
}

.col1:first-child, .col2:first-child {
  padding-left: 0;
}

/** Clears */

.clear:before,
.clear:after {
  display: table;
  content: ' ';
  clear: both;
}

/** Remove background in editor */

body.content {
  float: none;
  border-right: 1px solid #ddd;
  background: #fff;
}

/** Responsive 2, 3 and 4 column tables */

.content table.responsive3, .content table.responsive2, .content table.responsive4, .content table.responsive3 tbody, .content table.responsive2 tbody, .content table.responsive4 tbody {
  border: 0;
  border-spacing: 0;
  width: 100% !important;  
}

.content table.responsive3 td {
  width: 32%;
  padding-left: 2%;
  border: 0;
  vertical-align: top;
}

.content table.responsive3 td:first-child {
  padding-left: 0;
}

.content table.responsive2 td {
  width: 48%;
  padding-left: 4%;
  border: 0;
  vertical-align: top;
}

.content table.responsive2 td:first-child {
  padding-left: 0;
}

.content table.responsive4 td {
  width: 24%;
  padding-left: 1.33333%;
  border: 0;
  vertical-align: top; 
}

.content table.responsive4 td:first-child {
  padding-left: 0;
}

/** Additional styles - delete/uncomment as needed */

/** coloured bullets 

.content ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 40px;
}

.content ul li {
  position: relative;
  text-align: left;
}

.content ul li:before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 15px;
  background: #006837;
}
*/

/** Email form presentation 

.email-form-controls {
  margin-top: 10px;
  background: #e2e2e2;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.email-form-controls .formandu-text,.email-form-controls .formandu-dropdown {
  width: 80%;
  margin: 0 auto;
  border: 1px solid #888;
  font-size: 12pt;
  color: #888;
  padding: 6px !important;
}

.email-form-controls .formandu-container {
  text-align: center !important;  
  padding: 10px 0 0 0;
}

.email-form-controls .formandu-container button.formandu-button {
  font-size: 14pt;
  font-weight: bold;
  padding: 14px 50px;
}

*/

/** Blog presentation 

div.blog-post {
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
  border-bottom: 2px solid #006837;
}

a.permalink[href*="/blog/"] {
  position: relative;
  text-decoration: none;
  background: #262261;
  color: #fff;
  border-radius: 4px;
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

a.permalink[href*="/blog/"]:hover {
  opacity: 0.7;
}

a.permalink[href*="/blog/"]:nth-of-type(1) {
  float: right;
  padding: 8px 25px 8px 8px;
}

a.permalink[href*="/blog/"]:nth-of-type(2), a.permalink[href*="/blog/"]:only-of-type {
  float: left;
  padding: 8px 8px 8px 25px;
}

a.permalink[href*="/blog/"]:nth-of-type(1):after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 0;
  top: 40%;
  top: calc(50% - 5px);
  right: 10px;
  padding: 0;
  position: absolute;
}

a.permalink[href*="/blog/"]:nth-of-type(2):after, a.permalink[href*="/blog/"]:only-of-type:after {
  border-right: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 0;
  right: auto;
  left: 10px;
  content: '';
  width: 0;
  height: 0;
  top: 40%;
  top: calc(50% - 5px);
  right: 10px;
  padding: 0;
  position: absolute;
}

.blog-date {
  font-size: 9pt;
  margin-top: -0.5em;
  margin-bottom: 0.5em;
}

*/

/** Responsive views */

/** Desktop only (need to set width to page width + 1) */

@media (min-width: 1001px) {
  .only-desktop {
    display: auto !important;
  }
  .not-desktop {
    display: none !important;
  }
}

/** Too small for desktop (tablet) - set width to page width */
@media (max-width: 1000px) {
  .not-desktop {
    display: auto !important;
  }
  .only-desktop {
    display: none !important;
  }
  
.wrapper {
	width: 100%;
}

.header-left, .header-right {
	width: 100%;
	text-align: center;
	float:left;
	padding: 10px 0px;
}

.header-left img {
	max-width: 80%;
}

.header {
	padding: 10px 0px;
}

#menu-btn{
	display:block;
	text-align:center;
	margin:20px 0px 0px;
}

.navbar{
	width:100%;
	height:auto;
}

.navbar ul {
  margin: auto;
  padding: 0;
  list-style: none;
  display: none;
}

.navbar li {
  display: block;
  position:relative;
  text-align:center;
}

.navbar ul li a{
	padding:14px 0px;
}

.css-menu-panel {
  display: none;
  transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
   width: 100%;
   position: static;
   opacity: 1;
}

.navbar ul li a::after {
  color: #000 !important;
  content: "";
  margin-left: 0px;
}

#page-slideshow {
	display:none;
}

.banner {
	height: auto;
}

.banner-overlay {
	position: static;
	width: 96%;
	height: auto;
	padding: 10px 2%;
	text-align: center;
}

.banner-overlay .button {
	display: inline-block;
	font-size: 100%;
}

.contentblock-box {
	width: 96%;
	height: auto;
	padding: 50px 2%;
	margin: 0;
}

}

/** Phone */
@media (max-width: 500px) {
  table.responsive3,table.responsive2,table.responsive4 {
    display: block;
  }  
  table.responsive4 td,table.responsive3 td,table.responsive2 td {
    padding: 5px 0 0 0;
    display: block;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }
  .col1 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col2 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col3 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col1.right, .col2.right, .col1.right+.col1 {
    text-align: center;
  }
}
