/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700);

html,
button,
input,
select,
textarea {
    color: #4d4d4d;
    font-family: Helvetica, Arial, sans-serif
    font-weight: 400;
}




html {
    font-size: 62.5%;
    height: 100%;
    -webkit-font-smoothing: subpixel-antialiased;
	background: #FFF; 
}


h4 {
	font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size:25px;
	margin-top:6px;
	margin-bottom:0px;
	color:#1174bb;
}

.team {
	margin-right:20px;
	float:left;
}

.icon-side {
	margin-right:15px;
	float:left;	
	width:55px;
	height:62px;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

input {
    -webkit-border-radius:0; 
    border-radius:0;
}

/*
 * Make html5 elements display correctly.
 */

header, footer, nav, section, article { display: block; }


strong{
	font-weight: 700;
	}

a{
	text-decoration:none;
}

		
.fade a,
.fade a i,
.fade button i{
	-webkit-transition: color 200ms linear;
	-moz-transition: color 200ms linear;
	-o-transition: color 200ms linear;
	transition: color 200ms linear;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	z-index: 1;	
}


.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
	


/* ==========================================================================
   IVY - Oct 15 - SJM
   ========================================================================== */

.row{
	float: left;
	width: 95%;
	text-align: center;
	position: relative;	
	padding: 0 2.5%;
	}
	
.row .inner{
	max-width: 970px;
	text-align: left;
	margin: 0 auto;
	position: relative;
	}

.row .inner:before,
.row .inner:after{
    content: " "; /* 1 */
    display: table; /* 2 */
}

.row .inner:after{
    clear: both;
}



#title{
	float: left;
	width: 100%;
	color: #ed5b27;
	font-size: 40px;
	font-weight: 600;
	padding: 40px 0 0 0;
	}
	
#title img{
	float: left;
	margin: -20px 10px 0 0;
	}	


#maincontent{
	float: left;
	width: 63%;
	padding: 30px 0 30px 0;
	position: relative;
	z-index: 100;
	}
	
	
#maincontent h2{
	display: block;
	padding: 10px 20px;
	font-size: 46px;	
	color: #FFF;
	background: #005484;
	}	


#maincontent .working{
	display: block;
	position: relative;
	margin: 10px 0 40px -1px;
	padding: 0 20px;
	height: 60px;
	line-height: 60px;
	font-size: 38px;	
	color: #FFF;
	background: #EF5A16;
	border: 1px solid #FFF;
}
#maincontent .working:after, #maincontent .working:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

#maincontent .working:after {
	border-color: rgba(239, 90, 22, 0);
	border-left-color: #EF5A16;
	border-width: 30px;
	margin-top: -30px;
}

#maincontent .working:before {
	border-color: rgba(0, 0, 0, 0);
	border-left-color: #FFF;
	border-width: 31px;
	margin-top: -31px;
}	

#maincontent .text p{
	font-size: 14px;
	line-height: 1.6em;
	padding: 0 0 15px 0;
	}

#maincontent .text .top p{
	font-size: 17px;
	}

#maincontent .text p.larger{
	font-size: 20px;
	}

#maincontent .text h4{
	font-size: 17px;
	font-weight: 700;
	padding: 20px 0 10px 0;
	color: #EF5A16;
	}
	

#maincontent .block{
	display: block;
	padding: 20px;
	margin: 30px 0 0 0;
	border-bottom: 3px solid #005484;
	background: #FDEEE9;
	}	
	
#maincontent .block h6{
	font-size: 17px;
	font-weight: 700;
	color: #EF5A16;
	padding: 0 0 3px 0;	
	}	
	
#maincontent .block li{
	font-size: 16px;
	font-weight: 700;
	color: #4d4d4d;
	padding: 3px 0 3px 25px;
	background: url("../img/tick-small.png") no-repeat 0 8px;
	}
		

/*-- sidebar --*/
	
#sidebar{
	float: right;
	width: 35%;
	padding: 0px 0 30px 0;	
	position: relative;
	z-index: 99;	
	}	

#sidebar .box,
#sidebar .form,
.form2{
	display: block;
	background: #1174bb;
	}
	
.grey {
	background:#f2f2f2 !important;
	background-color:#f2f2f2 !important;
}

.turqoise {
	background:#1174bb !important;
	background-color:#1174bb !important;
}
	
.white {
	color:#FFFFFF !important;
}
	
	
.form2{
	margin-bottom: 30px;
	display: none;
	}	

#sidebar .box h4,
#sidebar .form h3,
.form2 h3{
	display: block;
	font-size: 18px;
	padding-left: 15px;
	padding-top: 15px;
	color: #1a1a1a;
	background: #1174bb;
	position: relative;
	}
	
#p-form-wrapper {
	padding-left:15px;
	padding-right:15px;
	margin-top:0px;
}

#sidebar .box h5{
	font-size: 20px;
	color: #2A7198;
	}

#sidebar .box span,
#sidebar .form span,
.form2 span{
	display: block;
	padding-left: 15px;
	padding-bottom:20px;
	}
	
#sidebar .box span p{
	font-size: 14px;
	font-weight: 700;
	}
	
			
#sidebar .box span ul li{
	font-size: 16px;
	padding: 18px 0 0 35px;
	background: url("../img/qualico_13.jpg") no-repeat 0 16px;	
	}
	
#sidebar .box span li strong{
	font-weight: 600;
	}	
	
#sidebar .box ol li{
	font-size: 14px;
	padding: 5px 0 0 2px;	
	margin-left:30px;
/**	background: url("../img/percipience_28.jpg") no-repeat 0 13px;	 **/
	}
	

#sidebar .form .placeholder,
.form2 .placeholder {
	color: #aaa;
	}

	
#sidebar .form label,
.form2 label{
	position: absolute;
	left: -9999px;
	}

#sidebar .form .field,
.form2 .field{
	display: block;
	padding: 0 0 15px 0;
	}
	
#sidebar .form .field .unhappyMessage,
.form2 .field .unhappyMessage{
	padding: 5px 0 0 0;
	font-size: 14px;
	color: #990000;
	}	
	
#sidebar .form .field input,
.form2 .field input{
	background: #FFF;
	border: 2px solid #ECA184;
	width: 77%;
	padding: 10px 15% 10px 5%;
	display: block;
	font-size: 16px;
	color: #333;
	text-align: left;
	}
	
#sidebar .form .field input#name, .form2 .field input#name{background: #FFF url("../img/icon-name.png") no-repeat 95% 50%;}
#sidebar .form .field input#email, .form2 .field input#email{background: #FFF url("../img/icon-email.png") no-repeat 95% 50%;}
#sidebar .form .field input#telephone, .form2 .field input#telephone{background: #FFF url("../img/icon-phone.png") no-repeat 95% 50%;}

#sidebar .form .submit,
.form2 .submit{
	display: block;
	padding: 0;
	}

#sidebar .form .submit input,
.form2 .submit input{
	background: #EF5A16 url("../img/icon-submit.png") no-repeat 95% 50%;
	border: none;
	width: 99%;
	padding: 10px 5%;
	display: block;
	height: 70px;
	font-size: 16px;
	color: #FFF;
	text-align: left;
	}
	
	
#sidebar blockquote{
	display: block;
	padding: 30px 0 30px 0;
	border-bottom: 3px solid #EF5A16;	
	}	


#sidebar blockquote img{
	display: block;
	width: 100%;
	max-width: 304px;
	height: auto;
	margin: 0 0 20px 0;
	}
	
#sidebar blockquote p{
	font-size: 16px;
	padding: 0 0 20px 0;
	}
	
#sidebar blockquote h6{
	font-size: 14px;
	font-weight: 600;
	}		

/*-- footer --*/
	
#footer{
	padding-bottom: 20px;	
	}
	
#footer img{
	float: right;
	}	
	
.detailsshared {
	color:#FFFFFF;
	font-size:12px;
	margin-left:20px;
	padding-bottom:20px;
	margin-top:-20px !important;
}

#sidebrochure {
	padding-top:30px;
}


#blue-strip {
	width:100%;
	height:auto;
	background-image:url(../img/bluebg.jpg);
	background:url(../img/bluebg.jpg);
	background-repeat:repeat-x;
}

h1 {
color:#FFFFFF;
font-family:Helvetica, Arial, sans-serif;
font-weight:bold;
font-size:40px;
padding:34px;
}
	
/* ==========================================================================
   Media Queries
   ========================================================================== */


@media only screen 
and (max-width : 1025px){
	#sidebrochure {display:none !important;}	
}


@media only screen 
and (max-width : 900px){

	#title{line-height: 1.2em;padding: 20px 0 0 0;}	
	#title img{margin: 5px 10px 0 0;}
	#maincontent{width: 58%;}
	#maincontent .arrow-box img{right: -140px;}
	#sidebar{width: 40%;}
	#sidebrochure {display:none !important;}

}

@media only screen 
and (max-width : 800px){

	#title{font-size: 38px;line-height: 1.2em;padding: 20px 0 0 0;}
	#title img{margin: 0px 10px 0 0;}
	
	
h1 {
	font-size:20px !important;
}
}


@media only screen 
and (max-width : 700px){

	.row{width: 90%;padding: 0 5%;}

	#maincontent{width: 100%}

	#title{font-size: 38px;line-height: 1.2em;padding: 20px 0 0 0;}
	#title img{margin: 0px 10px 0 0;}

	#maincontent h2{font-size: 32px;text-align: center;}
	#maincontent .working{font-size: 32px;}	
	#maincontent .arrow-box img{display: none;}
	#sidebar{width: 100%}
	#sidebar .who{width: 100%;position: relative;bottom: auto;right: auto;margin: 40px 0 0 0;}
	#sidebar .who li img{float: none;display: inline-block;width: 70%;max-width: 126px;padding: 0 0 2px 0;}	
	#maincontent .arrow-box:after {display: none;}	
	#footer p{text-align: center;}
	
	#maincontent .working{text-align: center;}
	#maincontent .working:after, #maincontent .working:before {display: none;}
	#maincontent .working:after {display: none;}
	#maincontent .working:before {display: none;}	
	
	.form2{display: block;}	
	#sidebar .form{display:none;}
	#sidebar .box h4,
#sidebar .form h3,
.form2 h3{text-align: center;}
	
}


@media only screen 
and (max-width : 540px){

	#title{font-size: 24px;line-height: 1.1em;padding: 20px 0 0 0;}
	#title img{margin: 0px 10px 20px 0;}
	
	#accreditations {
		display:none !important;
	}
	
	}
	

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


#percipience-header {
	width:1020px;
	margin-right:auto;
	margin-left:auto;
}

#percipience-hero {
	width:100%;
	text-align:center;
}

img {
        max-width: 100% !important;
    }

