/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */
html,
button,
input,
select,
textarea {
    font-family: sans-serif;
    font-family: Georgia, sans-serif;
}

body {
/*    font: 16px/26px; Helvetica, Helvetica Neue, Arial;*/
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Golden Theme
   =================== */

.header-container {
    border-bottom: 10px solid #fff;
}

.footer-container,
.main aside {
    border-top: 20px solid #CDB57A;
}

.header-container,
.footer-container,
.main aside {
    background: #2D2D2F;
}
.header-container{
    background: #fff;
}

.title {
    color: white;
    margin: 15px 0 10px;
    font-size: 2em;
}
.title a {
	display: block;
}
.title a:hover {
/*	text-decoration: underline;*/
/*    border-bottom: 1px solid #CDB57A;*/
}


/* ==============
    MOBILE: Menu
   ============== */
header nav ul {
    margin: 0;
    padding: 0;
}

header nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #444444;
}

header nav li.current a {
	background-color: #CDB57A;
}

header nav a:hover,
header nav a:visited {
    color: white;
}

header nav a:hover {
    text-decoration:none;
    color: #ffffff;
    background-color: #CDB57A;
}


/*

header nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

}
*/

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 1.9em;
	font-weight: normal;
}

.main aside {
    color: white;
    padding: 0px 2% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
	text-align: center;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


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

a {
    color: #000;
    text-decoration:underline;
}

a:hover, a:active{
    text-decoration:none;
    -moz-transition: all 0.5s ease-in-out 0s;
    color: #686868;
}
a.button, a.button:visited {
    background-color: #CDB57A;
    color: #FFFFFF;
    margin-right: 15px;
    margin: 25px;
    padding: 14px 20px 10px;
    text-decoration: none;
}
a.button:active, a.button:hover {
    box-shadow: 1px 1px 10px #000;
}


h1,h2,h3 {
    color: #404144;
/*    font: 26px/1.2em "Georgia", "Signika","sans-serif";*/
}
h2,h3 {
    margin-bottom: 0.53em;
}

p {
    color: #404144;
/*    font: 14px/1.3em "Geneva","Tahoma","sans-serif";*/
}

.buttons {
	display: block;
}

.main aside h3,
.main aside p {
	color: #fff;
}
.main aside ul {
	list-style-image: url('../img/sqorange.gif');
	margin: 0;
	padding: 0;
	margin-left: 20px;
}
.main aside li {
	margin-top: 10px;
}
.main aside a {
	color: #fff;
}


.flexslider .intro {
	font-size: .5em;
}

.home-banner {
    padding: 0;
	background: none repeat scroll 0 0 #2A2A2A;
	display: none;
}

#home .main {
    padding-top: 5px;
}

#home .main article h1 {
	margin-top: 0;
}
#home .main article a.button {
	margin: 10px 0;
}


#divisions .main article,
#privacy .main article {
	float: left;
	width: 100%;
}
#divisions .main article,
#privacy .main article {
	float: left;
	width: 100%;
}

#privacy {
	font-size: 90%;
}

#corporate .main aside {
	text-align: center;
	padding: 0;
}

#home aside,
#corporate aside {
    border-top: none;
    background: none;
    padding: 0;
	box-shadow: none;
	text-align: right;
}
#home aside img,
#corporate aside img {
    border-top: 20px solid #CDB57A;
	box-shadow: 0 15px 15px #AAAAAA
}


.contact-details dt {
	margin: 20px 0 5px;
}

.contact-details .gmap span {
    display:inline-block;
    width: 25px;
    height: 25px;
	background: url('../img/gmap_ico.jpg') no-repeat left center;
	padding-left: 15px;
	margin-top: 20px;
}

/*footer ul {
	margin: 0 0 0 20px;
	padding: 0;
	font-size: .9em;
}
footer ul li {
  background: url(../img/sqorange.gif) no-repeat left top;
  padding: 3px 0px 3px 10px;

	  margin: 0;
    text-align: center;
    text-decoration: none;
	float: left;
}*/


footer ul {
	list-style-image: url('../img/sqorange.gif');
	margin: 0;
	padding: 0;
	font-size: .9em;
}
footer ul li {
	margin: 5px 0 0 20px;
	padding-left:2px;
    text-decoration: none;
	float: left;
}
footer h2 {
	color: #868686;
	font-size: 1.1em;
	font-weight: normal;
	margin: 0 0 10px;
	padding: 0;
}

footer #globaloffices {
	float: left;
	width: 30%;
	text-align: left;
}
footer #globaloffices ul li {
	width: 100px;
}


footer #copyright {
	text-align: right;
	float: right;
	width: 50%;
}
footer #copyright ul {
	list-style-image: none;
	margin-top: 20px;
}
footer #copyright li {
    margin-left: 15px;
    padding: 0px;
    text-align: center;
    text-decoration: none;
	float: right;
}
footer #copyright li a {
	color: #fff;
	float: right;
}



.widget { width: 250px; padding: 15px; border: 1px solid #999;
          margin: 0 10px 10px 0; float: left; position: relative;
}
.overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    text-align: center;
}
.innerlink {
	width:200px;
}

.widget-button {
    position: relative;
/*    padding: 4px 16px;*/
	padding: 0 6px;
    margin: 20px 0;
/*	background: black;*/
	color: white;
	text-decoration: none;
    text-transform: uppercase;

	-moz-box-shadow: 0 0 20px white;
	-webkit-box-shadow: 0 0 20px white;
	box-shadow: 0 0 20px white;
}
.widget-button:hover { color: #CDB57A; }



/* ==========================================================================
   Contact Form
   ========================================================================== */



#contact-form {
	margin: 0 auto;
	position:relative;
}

#contact-form h2 {
	margin-bottom:15px;
	font-style:italic;
	font-weight:normal;
}

/*#contact-form label, */
#contact-form input,
#contact-form select,
#contact-form textarea {
	font-size:15px;
	margin-bottom:2px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
	width:280px;
	border: 1px solid #CEE1E8;
	margin-bottom:20px;
	padding:4px;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
	border: 1px solid #AFCDD8;
	background-color: #EBF2F4;
}

#contact-form textarea {
	height:150px;
	resize: none;
}

#contact-form label {
	display:block;
}

#contact-form .required {
	font-weight:bold;
	color:#F00;
}

#contact-form #submit-button {
	width:250px;
    background-color: #CDB57A;
    color: #FFFFFF;
    margin-right: 15px;
    padding: 14px 20px 10px;
    text-decoration: none;
	border:none;
	display:block;
    -moz-transition: all 0.5s ease-in-out 0s;
}

#contact-form #submit-button:hover {
    box-shadow: 1px 1px 10px #000;
}

#contact-form #submit-button:active {
    box-shadow: 1px 1px 10px #000;
	position:relative;
	top:1px;
}

#contact-form #loading {
	width:32px;
	height:32px;
	background-image:url('../img/loading.gif');
	display:block;
	position:absolute;
	right:130px;
	bottom:16px;
	display:none;
}

#errors {
	border:solid 1px #E58E8E;
	padding:10px;
	margin:25px 0px;
	display:block;
	width:437px;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	background:#FFE6E6 url('../img/cancel_48.png') no-repeat 405px center;
	display:none;
}

#errors li {
	padding:2px;
	list-style:none;
}

#errors li:before {
	content: ' - ';
}

#errors #info {
	font-weight:bold;
}

#errors #info:before {
	content: '';
}

#success {
	border:solid 1px #83D186;
	padding:25px 10px;
	margin:25px 0px;
	display:block;
	width:437px;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	background:#D3EDD3 url('../img/accepted_48.png') no-repeat 405px center;
	font-weight:bold;
	display:none;
}

#errors.visible, #success.visible {
	display:block;
}

#req-field-desc {
	font-style:italic;
}

/* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
input:required, textarea:required {
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	-o-box-shadow:none;
	box-shadow:none;
}

/* Normalize placeholder styles */

/* chrome, safari */
::-webkit-input-placeholder {
	color:#CCC;
	font-style:italic;
}

/* mozilla */
input:-moz-placeholder, textarea:-moz-placeholder {
	color:#CCC;
	font-style:italic;
}

/* ie (faux placeholder) */
input.placeholder-text, textarea.placeholder-text  {
	color:#CCC;
	font-style:italic;
}








/* ==========================================================================
   ========================================================================== */


/* ==========================================================================
   Media Queries
   ========================================================================== */

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

	/* ====================
		INTERMEDIATE: Menu
	   ==================== */

    header nav a {
        float: left;
        width: 22%;
        margin: 20px .5%;
        padding: 15px 1%;
        margin-bottom: 0;
		font-size: 90%;
    }

    header nav li:first-child a {
        margin-left: 0;
    }

    header nav li:last-child a {
        margin-right: 0;
    }

	.flexslider .intro {
		font-size: .6em
	}
	.flexslider .right {
		right: 6em;
	}


/* ========================
		INTERMEDIATE: IE Fixes
	   ======================== */

    header nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

  .home-banner {
    display: block; }
}


@media only screen and (min-width: 768px) {

	/* ====================
		WIDE: CSS3 Effects
	   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
		-moz-box-shadow: 0 5px 10px #aaa;
		box-shadow: 0 5px 10px #aaa;
    }

	/* ============
		WIDE: Menu
	   ============ */

    .title {
        float: left;
    }

    header nav {
        float: right;
        width: 58%;
    }

	/* ============
		WIDE: Main
	   ============ */

	.flexslider .intro {
		font-size: 1.25em;
	}
	.flexslider .right {
		right: 3.5em;
	}

    .header-container h1 {
		margin: 15px 0 10px;
	}


    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }

	#home .main aside {
		width: 35%;
	}
	#home .main aside dd {
		font-size: .8em;
	}

	#contact-form input,
	#contact-form select,
	#contact-form textarea {
		width:400px;
	}

	.widget {
		padding: 35px;
		margin: 0 20px 20px 0;
	}

	#contact-us .main article {
		float: left;
		width: 55%;
	}
	#contact-us .main aside {
		float: right;
		width: 35%;
	}

	#corporate .main article {
		float: left;
		width: 70%;
	}
	#corporate .main aside {
		float: right;
		width: 25%;
	}
	#corporate .main aside img {
		top: 0; left: 0; right: 0; bottom: 0;
		margin: auto;
	}

}

@media only screen and (min-width: 1140px) {

	/* ===============
		Maximal Width
	   =============== */

	.flexslider .intro {
		font-size: 1.5em;
	}
	.flexslider .right {
		right: 4.5em;
	}

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}
