/*
Theme Name: CityState Wordpress Theme
Description: Child theme for the Cornerstone starter theme
Author: Rare
Author URI: http://citystateproperty.com.au
Template: cornerstone3-foundation5-master
Version: 1.0
*/

@import url(../cornerstone3-foundation5-master/style.css);


/* google webfonts */

/*@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,500,700,300);*/


/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #818181;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #c6c6c3;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Default Child Styles
   ========================================================================== */


.alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.widget_nav_menu ul,.widget_recent_entries ul,.clearing-thumbs {
    list-style: none;
}

.top-bar .title-area .name a {
    font-size: 1.0625em;
    font-weight: bold;
    color: #fff;
    display: block;
    padding: 0 15px;
    line-height: 45px;
}

#content .sticky {
    position: static;
}

.orbit-container {
    background: transparent;
}

#content,.sidebar {
    margin-top: 1em;
}

.entry-content ul:not([class*="block-grid-"]):not(.clearing-thumbs),.widget_archive ul {
    margin-left: 2em;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*
 *  
color guide
Lumex grey #818181  /  129, 129, 129
Body #808285 /  128, 130, 133


Google fonts

font-family: 'Roboto', Arial, sans-serif;
weights: 100, 300, 400, 500, 700;
eg - h1 { font-family: 'Roboto', Arial, serif; font-weight: 100; }

helvetica  http://www.fonts.com/

font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;

 
font-family:'HelveticaNeueW01-65Medi', Arial, "Lucida Grande", sans-serif;




font-family:'ContaxW01-25UltraLight';
font-family:'HelveticaNeueW01-65Medi';
font-family:'HelveticaNeueW01-65Medi 2';
 
*/

* {
  margin: 0;
}

html{
    /*position: relative;*/
   /* min-height: 100%;*/
}

html, body {
    background: #ffffff;
   /* color: #808285;*/
    color: #404142;
    font-style: normal;
    font-weight: normal;

}


body{
    font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
    -webkit-font-smoothing: antialiased;
   /* margin: 0 0 100px;  bottom = footer height */
    font-size: 100%;
    font-style: normal;
}




/*
 * links
 */



a:link, a {
   color: #818181;
}     

a:visited {
    color: #818181;
}  

a:hover {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    /*-webkit-transition: color 500ms ease-out 1s;
    -moz-transition: color 500ms ease-out 1s;
    -o-transition: color 500ms ease-out 1s;
    transition: color 500ms ease-out 1s;
    */
    color: #2d2d2d;
}  

a:active {
    color: #818181;
}  


/*pagination*/

ul.pagination{
  font-family:'HelveticaNeueW01-65Medi', Arial, "Lucida Grande", sans-serif;
}

ul.pagination li.current a {
background: #818181;
color: #fff;
cursor: default;
}


ul.pagination li.current a:hover {
background: #999;
}


/*
 * Icons Sizes
 */

.size-12 { font-size: 12px; }
.size-14 { font-size: 14px; }
.size-16 { font-size: 16px; }
.size-18 { font-size: 18px; }
.size-21 { font-size: 21px; }
.size-24 { font-size: 24px; }
.size-36 { font-size: 36px; }
.size-48 { font-size: 48px; }
.size-60 { font-size: 60px; }
.size-72 { font-size: 72px; }


/*
 * Global button styles
 */


button, .button {
    font-family:'HelveticaNeueW01-65Medi', Arial, "Lucida Grande", sans-serif;
    -webkit-font-smoothing: antialiased;
}


/*
 * Typography
 */



h1, h2, h3, h4, h5, h6{
    font-family:'HelveticaNeueW01-65Medi';
    font-style: normal;
    color: #333434;
}

h2 {
	font-family:'HelveticaNeueW01-55Roma';
}

p, ul, ol, dl {
    font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
    font-size: 16px;
	line-height:20px;
}

p{
    letter-spacing: 1px;
}

article li {margin-bottom:10px;}

/*
 * Images
 */


/* reset to max width - may have to add to javascript on all pages but home as breaks the framework */

img.responsive {
    max-width: 100%;
}


/*
 * Page Structures
 */



 #content {
    /*margin-top: 60px;*/
    margin-bottom: 40px;
    min-height: 200px;
   /* background: #000;*/
}



#spacer{
    margin-top: 25px;
}



/*make some rows full width*/

.full-width {
    max-width: 100% !important;
    width: 100% !important;
}

.hero {
	position:relative;
	height:auto;
}


/*up to here*/

/*header / nav*/

.top-bar .title-area{
	z-index: 1;
}

.top-bar-section{
	background: #fff;
}


#lang{
	position: absolute;
	z-index: 2;
	/*right: 60px;
    top: 10px;*/
	/*display: inline-block;*/
	/*background: #fff;*/
}

#lang a.active, #lang a:hover{
color: #faa22f;

}

.logo{
    width: 98px;

}

.top-bar {
    z-index: 99999999;
}


.top-bar .name h1 a {
    width: auto;
    padding: 0 5px;
}

.top-bar, .top-bar.expanded .title-area {
    background: #ffffff;
}

.top-bar .name h1 a {
    color: #818181;
}

.top-bar-section .dropdown li.title h5 a {
    color: #818181;
}

.top-bar-section ul li > a {
    font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
}

.top-bar .toggle-topbar.menu-icon a {
    color: #818181;
}


.top-bar-section ul li > a {
    background: #ffffff;
    color: #333434 ;
}

.top-bar-section ul li.active > a {
    background-color: #ffffff;
    color: #333434;
    background: url('img/nav-active-hover.png') no-repeat 12px center;
}


.top-bar-section ul li.active > a:hover {
    background: #ffffff;
    color: #333434 ; 
    background: url('img/nav-active-hover.png') no-repeat 12px center;
}


.top-bar-section ul li:hover > a {
    background-color: #ffffff;
    color: #333434
    ;
    background: url('img/nav-active-hover.png') no-repeat 12px center;
}


.top-bar .toggle-topbar.menu-icon a::after {
    -webkit-box-shadow: 0 10px 0 1px #818181, 0 16px 0 1px #818181, 0 22px 0 1px #818181;
    box-shadow: 0 10px 0 1px #818181, 0 16px 0 1px #818181, 0 22px 0 1px #818181;
}


.top-bar-section ul {
    background: #ffffff;
}


.top-bar-section .has-dropdown > a:after {
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.4);
}

.top-bar-section .divider, .top-bar-section [role="separator"] {
border-top: solid 1px #ccc;
}

.top-bar-section ul li > a {font-size:16px;}

.top-bar-section ul li{
  background: #fff;
}

.top-bar-section li.active:not(.has-form) a:not(.button):hover, .top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li:not(.has-form) a:not(.button):hover{
    color: #000;
    background: url(img/nav-active-hover.png) no-repeat 12px center;
}

.top-bar-section ul li:hover:not(.has-form)>a {
    background-color: #fff;
    color: #000;
    background: #fff;
}

.top-bar-section .dropdown li:not(.has-form):not(.active)>a:not(.button){
    color: #000;
}

.top-bar-section .dropdown li:not(.has-form):not(.active):hover>a:not(.button) {
    background-color: #fff;
    color: #000;
    background: #fff;
    background: url(img/nav-active-hover.png) no-repeat 12px center;
}


/* foundation Overwriting */
.top-bar .toggle-topbar.menu-icon a span::after{
	box-shadow: 0 0 0 1px #818181, 0 7px 0 1px #818181, 0 14px 0 1px #818181;
}

/*
 * footer
 */


/*hide on home page*/

.page-template-template-home #footer{
    display: none;
}


 #footer{
    height: auto;
    line-height: 30px;
    width: 100%;
    /*background: #F0EAD6;*/
    -moz-box-shadow: 1px 1px 0px #c6c6c3 inset, -1px -1px 0px #c6c6c3 inset, 0px 2px 0px #ffffff inset;
    -webkit-box-shadow: 1px 1px 0px #c6c6c3 inset, -1px -1px 0px #c6c6c3 inset, 0px 2px 0px #ffffff inset;
    box-shadow: 1px 1px 0px #c6c6c3 inset, -1px -1px 0px #c6c6c3 inset, 0px 2px 0px #ffffff inset;
}

 #home footer{
    display: none;
}

#inner-footer {
    /*background: #f4f0e7;*/
}


footer.sticky-footer{
    position: absolute;
    left: 0;
    bottom: 0;
    color: #ffffff;
   /* background: #000;*/
}



#rare {
margin: 0;
line-height: 70px;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
color: #aaa;
}

#rare a {
 display: inline-block;
 width: 33px;
 height: 11px;
 overflow: hidden;
}

#rare a img {
 display: block;
 margin-top: 0;
}

#rare a:hover img {
 margin-top: -11px;
}


#menu-footer-menu {
    font-size: 90%;
    line-height: 5;
    margin: 0 ;
}

#copyright{
    margin: 0;
    padding-bottom: 10px;
    font-size: 90%;
    color: #818181;
    line-height: 70px;
}






/*
 * Index page
 */
.home {
    
}

/* full screen background image */



#background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: #fff;
    position: relative;
}



#background-image img {
    position: absolute;
    top: 0;
    left: 0;
   /* width: 100% !important;*/
}


/*hide elements for fadeins*/
/*#background-image img{
    display: none;
}*/


#centered {
   width: 100%;
   height: 150px;
   position: absolute;
   margin-left: auto;
   margin-right: auto;
   /*display: none;*/
   /*background: #000;*/
   top: 50%; 
   margin-top: -75px;
   z-index: 999;
}

.home #centered {display:none;}


#intro {
    width: 98%;
    margin: auto;
    text-align: center;
}



h2#home-heading {
    color: #fff;
    letter-spacing: 2px;
    word-spacing: 6px;
    font-size: 30px;
    font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
    text-transform: uppercase;
	text-shadow: 0px 5px 5px rgba(0,0,0,0.90);
}

/*home page button*/

a.button-white {
    padding: 10px 15px;
    color: #000;
    text-transform: uppercase;
    background: #fff;
    border: 1px solid #000;
    font-size: 80%;
}


/* static full page header */


#banner {
    width:auto;
    max-height: 455px;
    overflow:hidden;
}

#banner img{
    position: relative; 
    width: 100%;
    z-index: 9;
}




h2#main-image-heading, h2#main-image-heading-project {
   position: absolute; 
   width: 100%; 
   z-index: 10;
   text-align: center;
   color: #ffffff;
   padding: 10% 2%;
   text-shadow: 1px 1px 7px rgba(0,0,0,0.70);
   font-family:'HelveticaNeueW01-55Roma';
   /*font-size: 40px;
   font-size: 2.875rem;
   height: 507px;*/
}

h2#main-image-heading-project{
    font-size: 40px;
    font-size: 2.875rem;
	line-height:80px;
}


/*slider for full page headers*/


.caption {
	position: absolute;
	height: 124px;
	top: 50%;
	margin-top: -62px;
	font-family:'HelveticaNeueW01-65Medi';
	text-align: center;
	background: none !important;
	color: #ffffff;
	width: 100%;
	padding: 0;
	font-size: 40px;
	font-size: 2.875rem;
	text-shadow: 1px 1px 1px #000;
	z-index: 999999;
}

/* slider button*/

.button-white-projects {
color: #000;
text-transform: uppercase;
background: #fff;
border: 1px solid #000;
text-shadow: none;
position: absolute;
left: 50%;
top: 50%;
}



/*projects pages*/

.dev-thumb {
    width:140px;
	margin:5px;
	float:left;
	display:block;
}

#project-thumbs ul.large-block-grid-4 {
    display: inline-block;
}

#project-thumbs ul.large-block-grid-4 li{
   /* background: #999;*/
    padding: 0;
    width:247.5px;
}


#project-thumbs ul.large-block-grid-4 li img{
   z-index: 12;
   width:100%;
}

.flxmap-container {
    margin-top: 2px;
}


.bwWrapper {
    position:relative;
    display:block;
    width: 100%;
    height: 100%;
}


.project-thumb-overlay {
    position: absolute;
    padding: 10px;
    background-color: #000 !important;
    background-color: rgb(0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    width: 100%;
    margin-top: -70px;
    z-index: 20;
}

.project-thumb-overlay .project-name { 
    font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
    display: block;
    width: 100%;
    color: #ffffff;
}

.project-thumb-overlay .suburb { 
    color: #c6c6c3;
}




/*project pages*/

#project-logo img {
    width: 200px;
}

.gallery-row img {
    float: left;
    margin-right: 4px;
    margin-bottom: 4px;
}

#project-images {
    margin-bottom: 10px;
}



ul#projects-details{
     list-style-type: none;
     margin-left: 0;
     margin-top: 20px;
     /*font-size: 100%;*/
}

ul#projects-details a{
     color: #808285;
}


#project-description{
    line-height: 2;
}



#galleryImages{
  margin-top: 30px;
}

#galleryImages a{
  display: inline-block;
  margin: 0 5px 10px 0;
}

/*carousel*/

.jp-carousel-titleanddesc-title, .jp-carousel-image-meta {
    display: none;
}



/*about us pages*/



h1.entry-title{
    border-bottom: 1px ridge #002a5c;
    font-size: 190%;
    color: #002a5c;
    margin-bottom: 20px;
}

h2.about-header{
    font-size: 150%;
}

.teamMember{
  margin-top: 30px;
}

.teamImage{
    max-width: 297px;
    margin-bottom: 1.625em;
}

/*news page*/

.readMore{
 display: inline-block;
 /*background: #002a5c;
 padding: 10px 20px;
 color: #ffffff !important;
 font-family: 'HelveticaNeueW01-65Medi', Arial, "Lucida Grande", sans-serif;
 border: none;
 -webkit-border-radius: 3px;
 border-radius: 3px;
 font-style: normal;
 margin-left: -5px;*/
}

.date {
    width: 100%;
    min-height: 50px;
    /*border-top: 1px solid #333434;*/
    border-top: 1px ridge #002a5c;
}

.date-heading {
    background: #002a5c;
    color: #ffffff;
    position: absolute;
    padding: 10px 15px;
    font-size: 125%;
}

.news-item {
    margin-bottom: 40px;
}

.alignleft.newsThumb{
  margin:  0.625em 1.625em 0.625em 0;
}

h3.news-heading {
     font-size: 175%;
     margin-top: 20px;
}

img.news-thumb{
    margin: 0 10px 10px 0;
}

i.read-more{
    font-family:'HelveticaNeueW01-55Roma', Arial, "Lucida Grande", sans-serif;
}

i.read-more a{
    color: #333434;
}


.previous{
    float: right;
}

.next{
    float: left;
}

.single-post figure{
    margin: 0;
}

/*search*/ 

/*#search-bar{
    margin-right: 18px;
}*/

input#s {
    float: left;
    max-width: 228px;
    background-color: #ffffff;
    font-style: italic;
    color: #ccc;
    /*margin-right: 15px;*/
}

/*search button*/


input#searchsubmit{
    padding: 8px 15px;
    width: 54px !important;
}

input#searchsubmit:focus{
    padding: 8px 15px;
    width: 54px !important;
    outline:none;
}
 


/*Previous Next post links*/

.columns .prev-next {
    margin-top: 20px;
    padding-left: 0;
    
}


/*news article page*/

ul.meta {
    list-style-type: none;
    margin-left: 0;
}

#news-image img {
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 100%;
}

#news-single-content {
margin-top: 60px;
/* background: #000; */
}

h1.single-news-title {
    font-size: 190%;
}

/*news sidebar*/

ul.single_category_posts_widget, .widget_wp-category-archive ul{
    list-style-type:none;
    margin-left: 0;
}

/*search page*/

.entry-summary{
    margin-bottom: 40px;
}

h2.entry-title {
    font-size: 190%;
}

a.view-page{
    background: #808285;
    padding: 8px 15px;
    color: #ffffff;
}

/* Developments */
.development {
	float:left;
	width:310px;
	height:320px;
	margin: 0 5px;
	overflow:hidden;
	position:relative;
}

.development h3 {
	font-size:18px;
	line-height:18px;
	display:block;
	position:relative;
	padding:10px;
	color:#fff;
	margin:0;
}
.development h3 a {color:#fff;}
.development h3 a:hover {color:#faa22f;}
.dev-heading {
	position:absolute;
	bottom:10px;
	left:0;
	right:0;
}
.overlay {
	background:#012A5D;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	opacity:0.8;
}
/*contact us page*/


.parsley-errors-list{
  list-style-type: none;
  margin-left: 0;
  margin-top: -5px;
  color: #f04124;

}

.parsley-errors-list {
  list-style:none;
}
.parsley-required, .parsley-type, .parsley-pattern, .parsley-minlength, .parsley-minlength{
  color:#f04124;
  font-size: 12px;
}


.page-template-page-templatestemplate-contact-us-php .sidebar {
margin-top: 0;
}

form#enquiry{
    margin-top: 20px;
}


input.error, textarea.error {
    margin-bottom: 1rem;
    -webkit-box-shadow: 0 0 5px #A52A2A;
    -moz-box-shadow: 0 0 5px #A52A2A;
    box-shadow: 0 0 5px #A52A2A;
    border-color: #A52A2A;
}

input[type="text"], input[type="password"], input[type="date"],
input[type="datetime"], input[type="datetime-local"],
input[type="month"], input[type="week"], input[type="email"],
input[type="number"], input[type="search"], input[type="tel"],
input[type="time"], input[type="url"], textarea { 
    background-color: #ffffff;
}


.placeholder {
    color: #666;
}

.placeholderFocus {
    color: #000;
}


textarea {
    height: auto;
}

#response{
    float: left;
    margin-top: 18px;
}


input[type="submit"], #submit {
    background: #002a5c;
    padding: 10px 20px;
    color: #ffffff;
    font-family:'HelveticaNeueW01-65Medi', Arial, "Lucida Grande", sans-serif;
	border:none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}



/*contact details*/


ul.contact-details {
    list-style-type: none;
    margin-top: 15px;
    font-size: 110%;
}

.bolder{
   
   font-style: normal;
   font-family:'HelveticaNeueW01-65Medi', Arial, "Lucida Grande", sans-serif;
   color: #808285;
 }


 /*!
 * baguetteBox.js
 * @author  feimosi
 * @version 1.8.2
 * @url https://github.com/feimosi/baguetteBox.js
 */
#baguetteBox-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000000;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-transition: opacity .5s ease;
  transition: opacity .5s ease; }
  #baguetteBox-overlay.visible {
    opacity: 1; }
  #baguetteBox-overlay .full-image {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center; }
    #baguetteBox-overlay .full-image figure {
      display: inline;
      margin: 0;
      height: 100%; }
    #baguetteBox-overlay .full-image img {
      display: inline-block;
      width: auto;
      height: auto;
      max-height: 100%;
      max-width: 100%;
      vertical-align: middle;
      -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
           box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }
    #baguetteBox-overlay .full-image figcaption {
      display: block;
      position: absolute;
      bottom: 0;
      width: 100%;
      text-align: center;
      line-height: 1.8;
      white-space: normal;
      color: #ccc;
      background-color: #000;
      background-color: rgba(0, 0, 0, 0.6);
      font-family: sans-serif; }
    #baguetteBox-overlay .full-image:before {
      content: "";
      display: inline-block;
      height: 50%;
      width: 1px;
      margin-right: -1px; }

#baguetteBox-slider {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  white-space: nowrap;
  -webkit-transition: left .4s ease, -webkit-transform .4s ease;
  transition: left .4s ease, -webkit-transform .4s ease;
  transition: left .4s ease, transform .4s ease;
  transition: left .4s ease, transform .4s ease, -webkit-transform .4s ease, -moz-transform .4s ease; }
  #baguetteBox-slider.bounce-from-right {
    -webkit-animation: bounceFromRight .4s ease-out;
            animation: bounceFromRight .4s ease-out; }
  #baguetteBox-slider.bounce-from-left {
    -webkit-animation: bounceFromLeft .4s ease-out;
            animation: bounceFromLeft .4s ease-out; }

@-webkit-keyframes bounceFromRight {
  0% {
    margin-left: 0; }
  50% {
    margin-left: -30px; }
  100% {
    margin-left: 0; } }

@keyframes bounceFromRight {
  0% {
    margin-left: 0; }
  50% {
    margin-left: -30px; }
  100% {
    margin-left: 0; } }

@-webkit-keyframes bounceFromLeft {
  0% {
    margin-left: 0; }
  50% {
    margin-left: 30px; }
  100% {
    margin-left: 0; } }

@keyframes bounceFromLeft {
  0% {
    margin-left: 0; }
  50% {
    margin-left: 30px; }
  100% {
    margin-left: 0; } }

.baguetteBox-button#next-button, .baguetteBox-button#previous-button {
  top: 50%;
  top: calc(50% - 30px);
  width: 44px;
  height: 60px; }

.baguetteBox-button {
  position: absolute;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 0;
  border: 0;
  -moz-border-radius: 15%;
       border-radius: 15%;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 1);
  color: #faa22f;
  font: 1.6em sans-serif;
  -webkit-transition: background-color .4s ease;
  transition: background-color .4s ease; }
  .baguetteBox-button:focus, .baguetteBox-button:hover {
    background-color: rgba(255, 255, 255, 1); }
  .baguetteBox-button#next-button {
    right: 2%; }
  .baguetteBox-button#previous-button {
    left: 2%; }
  .baguetteBox-button#close-button {
    top: 20px;
    right: 2%;
    right: calc(2% + 6px);
    width: 30px;
    height: 30px; }
  .baguetteBox-button svg {
    position: absolute;
    left: 0;
    top: 0; }

/*
    Preloader
    Borrowed from http://tobiasahlin.com/spinkit/
*/
.baguetteBox-spinner {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px; }

.baguetteBox-double-bounce1,
.baguetteBox-double-bounce2 {
  width: 100%;
  height: 100%;
  -moz-border-radius: 50%;
       border-radius: 50%;
  background-color: #fff;
  opacity: .6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: bounce 2s infinite ease-in-out;
          animation: bounce 2s infinite ease-in-out; }

.baguetteBox-double-bounce2 {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; }

@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1); } }

@keyframes bounce {
  0%, 100% {
    -webkit-transform: scale(0);
       -moz-transform: scale(0);
            transform: scale(0); }
  50% {
    -webkit-transform: scale(1);
       -moz-transform: scale(1);
            transform: scale(1); } }



/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Custom helpers
 */

footer .align-left,  footer .align-right,  footer .align-center{
    text-align: center;
}

footer .align-left {
    margin-top: 20px;
}

/*.align-left{
    text-align: left;
}

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

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

.fl-left{
    float: left;
}

.fl-right{
    float: right;
}*/



/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/*Small screens Define mobile styles */

@media only screen { } 


/* max-width 640px, mobile-only styles, use when QAing mobile issues */
@media only screen and (max-width: 40em) { 


/*index page*/

#intro{
    top: 80px;
}


#home-heading{
    line-height: 1em;

}

.rslides_nav {
    display: none;
}

.button-white-projects {
    display: none !important;
}

.top-bar-section{
	left: 30px;
	top: 30px;
	z-index: 1;

}

#lang{
	left: 150px;
    top: 0px;
}

.top-bar, .top-bar.expanded .title-area{
	background: #fff !important;
	background-color: #fff !important;
}



/*static headers*/

h2#main-image-heading, h2#main-image-heading-project {
    display: none;
}

/*projects page*/

.caption {
font-size: 20px;
font-size: 1.2rem;
top: 50%;
margin-top: -15px;
z-index: 99999;
}

/*font-size: 4.875rem;*/

#project-thumbs{
    margin-left: 30px;
}


} 





/*Medium screens min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) {


/*page structure*/

#spacer{
    margin-top: 20px;
}

/*footer*/

#copyright{
/*padding: 50px 20px 10px 0;*/
}

#rare {
/*float: left;*/
margin: 0;
/*padding: 50px 0 10px 15px;*/
}
/*header / nav*/

.top-bar .toggle-topbar.menu-icon a {
    color: #002a5c !important;
}

.top-bar .toggle-topbar.menu-icon a span:after{
   box-shadow: 0 0 0 1px #002a5c, 0 7px 0 1px #002a5c, 0 14px 0 1px #002a5c;
}

.top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] {
display: none;
}

.top-bar-section li:not(.has-form) a:not(.button) {
    background-color: #ffffff;
}

.top-bar-section .has-dropdown > a:after {
    display: none;
}


.top-bar-section li.active:not(.has-form) a:not(.button) { 
    color: #333434;
    background: #ffffff;
   
}

.top-bar-section li.active:not(.has-form) a:not(.button):hover, .top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li:not(.has-form) a:not(.button):hover {
    background-color: #ffffff; 
    background: url('img/nav-active-hover.png') no-repeat 12px center;
}


.top-bar-section .dropdown li a {
    color: #333434;
   /* width: 150px !important;*/
}



.top-bar-section .dropdown li a:hover, .top-bar-section .dropdown li a {
    background-color: #ffffff !important;
    background-color: rgb(255, 255, 255) !important;
    /*background-color: rgba(255, 255, 255, 0.6) !important;
    background-image: url('img/nav-active-hover.png') no-repeat 12px center;*/
}

 .top-bar-section .right li .dropdown {
      left: 0;
      right: auto;
	}
	
.top-bar-section .dropdown {
      left: 0;
      top: auto;
      background: #fff;
      min-width: 100%;
}

#lang{
right: 60px;
top: 10px;
}

    
.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #818181;
    position: absolute;
    margin-top: -5px;   
}

/*index page*/

h2#home-heading {
    font-size: 40px;
}


/*static headers*/

h2#main-image-heading {
   font-size: 150%;
}

h2#main-image-heading-project{
    /*font-size: 300%;*/
}



/*projects page*/
#project-thumbs{
    margin-left: 25px;
}

/*project page*/

.project-sidebar {
    margin-top: 15px;
}

.button-white-projects {
    display: none;
}


} 


/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {

#spacer{
    margin-top: 20px;
}

/*header / nav*/

.arrow-up {
    margin-left: 110px;
}

.rslides_nav {
    display: none;
}

.logo-white{
    display: none;
}

.button-white-projects {
    padding: 15px 20px;
    font-size: 100%;
    margin-top: 50px;
    margin-left: -79.5px;
}

.top-bar-section{
	left: 30px;
	top: 30px;
	z-index: 1;

}

#lang{
	left: 20px;
	top: 30px;
}


}


@media only screen and (min-width: 40.063em) and (max-width: 64em)  and (orientation:landscape) {

/*.top-bar-section{
	left: 30px;
	top: 30px;
	z-index: 1;

}

#lang{
	left: 20px;
	top: 30px;
}*/

}

/*Large screens min-width 1025px, large screens*/
@media only screen and (min-width: 64.063em) {



/*index page*/

h2#home-heading {
    font-size: 60px;
	line-height:72px;
}

a.button-white {
    padding: 20px 30px;
    font-size: 100%;
}



#centered {
   width: 100%;
   position: absolute;
}


footer .align-left {
    margin-top: 0;
    float: left;
}





footer .align-left{
    text-align: left;
}  

footer .align-right{
    text-align: right;
}  

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

/*static headers*/

h2#main-image-heading {
   font-size: 250%;
}



h2#main-image-heading-project{
    font-size: 80px;
    font-size: 4.875rem;
}



/*orbit slider*/

.caption {
font-size: 80px;
font-size: 4.875rem;
}


/*projects page*/
#project-thumbs{
    margin-left: 0;
}


.align-left{
    text-align: left;
}

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

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

.fl-left{
    float: left;
}

.fl-right{
    float: right;
}

footer{
line-height: 60px;
}

/*news page*/
#search-bar{
    margin-right: 18px;
}



.button-white-projects {
    padding: 15px 20px;
    font-size: 100%;
    margin-top: 50px;
    margin-left: -79.5px;
}


}


/* min-width 1024px and max-width 1440px, use when QAing large screen-only issues */
@media only screen and (min-width: 64.063em) and (max-width: 90em) { 

/*header / nav*/

.arrow-up {
    margin-left: 110px;
}

.logo-white{
    display: none;
}

/*static headers*/


} 

/* XLarge screens min-width 1441px, xlarge screens */
@media only screen and (min-width: 90.063em) { 

.top-bar, .top-bar.expanded .title-area {
    height: 120px;
}

.top-bar-section li {
    padding: 0px 7px;
}

ul.right{
    margin-top: 50px;
    margin-right: 50px;
}

.top-bar-section ul li {
}


.logo {
    width: 270px;
}

/*.top-bar .name {
    height: 100px;
}*/

.top-bar .name h1 {
    margin-top: 30px;
}

.top-bar .name h1 a {
    margin-left: 50px;
}



h2#main-image-heading {
   font-size: 350%;
}

h2#main-image-heading-project{
    
}


.button-white-projects {
    padding: 15px 20px;
    font-size: 100%;
    margin-top: 50px;
    margin-left: -79.5px;
}

/*hide logo on all pages except home*/

.logo-white{
    display: none;
}

/*transparent home menu*/

.home .top-bar {
    background: transparent;
    background: #ffffff;
}

.home .top-bar.white {
    background: #ffffff;
}

.top-bar-section li:not(.has-form) a:not(.button) {
    background-color: transparent;
}

/*.home #nav .top-bar .white, .home #nav .top-bar.expanded .white .title-area{
 background: #ffffff;   
}*/


.home .white .top-bar-section li:not(.has-form) a:not(.button) {
    background-color: #ffffff;
}

.home .top-bar-section ul {
    background: transparent;
}

.home .top-bar-section li.active:not(.has-form) a:not(.button), .home .top-bar-section li.active:not(.has-form) .dropdown .current-menu-item a:not(.button) {
    /*color: #333434;*/
    color: #faa22f;
}

.home .white .top-bar-section li.active:not(.has-form) a:not(.button), .home .white .top-bar-section li.active:not(.has-form) .dropdown .current-menu-item a:not(.button) {
    color: #faa22f; 
}

.top-bar-section li.current-menu-item:not(.has-form) a:not(.button), .top-bar-section li.current-menu-item:not(.has-form) .dropdown .current-menu-item a:not(.button) {
    color: #faa22f;
    
}

.white .top-bar-section li.active:not(.has-form) a:not(.button), .white .top-bar-section li.active:not(.has-form) .dropdown .current-menu-item a:not(.button) {
    color: #faa22f; 
}





.home .top-bar-section li.active:not(.has-form) .dropdown a {
    /*color: #333434;*/
    color: #000;
}

.home .white .top-bar-section li.active:not(.has-form) .dropdown a {
    color: #000; 
}

.top-bar-section li.current-menu-item:not(.has-form) .dropdown a {
    color: #000;
    
}

.white .top-bar-section li.active:not(.has-form) .dropdown a {
    color: #000; 
}





.home .top-bar-section ul li > a {
    color: #333434;
}

.home .white .top-bar-section ul li > a {
    color: #333434;
}


.home .logo-black{
   display: block;
}

.home .logo-white{
    display: none !important; 
}

.home .white .logo-black{
   display: block !important;    
}

.home .white .logo-white{
    display: none !important;
}



} 


/* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */
@media only screen and (min-width: 90.063em) and (max-width: 120em) { 


.button-white-projects { /*test this*/
    /*padding: 15px 20px;
    font-size: 100%;
    margin-top: 420px;
    margin-left: 1190px;*/
}

/*header / nav*/

.arrow-up {
    margin-left: 150px;
    margin-top: 0px;
}




}

/*Theme queries*/
/* We use this media query to add styles to any device that supports media queries 
@media only screen { }*/

/* Used to alter styles for screens at least 768px wide. This is where the grid changes. 
@media only screen and (min-width: 768px) {}*/

/* Used to alter styles for screens at least 1280px wide. 
@media only screen and (min-width: 1280px) {}*/

/* Used to alter styles for screens at least 1440px wide. 
@media only screen and (min-width: 1440px) {}*/

/* Apply styles to screens in landscape orientation 
@media only screen and (orientation: landscape) {}*/

/* Apply styles to screens in portrait orientation 
@media only screen and (orientation: portrait) {}*/



/* We also use Modernizr to add a .touch class to the body when applicable */
/* You can prepend this class to anything and it will style only for touch devices */
.touch .your-element {} 



/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

.ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
    content: "";
}

pre,
    blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
}

thead {
    display: table-header-group;
 /* h5bp.com/t */;
}

tr,
    img {
    page-break-inside: avoid;
}

   /* img {
        max-width: 100% !important;
    }*/

@page {
    margin: 0.5cm;
}

p,
    h2,
    h3 {
    orphans: 3;
    widows: 3;
}

h2,
    h3 {
    page-break-after: avoid;
}
}


