/* ------------------------------------------------------
   Variables for easy find and replace


	$link:					#3655fd;
	$link-hover:			#1a2560;
	
	$second-bg-color: #F6F6F6;
	$second-font-color: #707070;
	$table-border-color: #D6D6D6;

	$body-font:				'myriad-pro', Arial, sans-serif;
	$heading-font:			'proxima-nova', Helvetica, sans-serif;


	Table of Contents for search based navigation


BASE STYLES

**** Box Model Reset

**** Typography
---- Lists
---- Quotations
---- Text level elements
---- Links

**** Content Design Patterns
---- Buttons

**** Images

**** Forms
---- Form Help
---- Form Errors

**** Tables
---- No Styles Table

**** Logo Gallery

**** Helper classes
---- Clearfix
---- Floats and positioning
---- Visually Hidden

GLOBAL TEMPLATE

**** Template Layout
---- Header
---- footer

**** Media Queries

**** Print styles

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

/* ------------------------------------------------------
**** Box Model Reset
------------------------------------------------------ */

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ------------------------------------------------------
**** Typography
------------------------------------------------------ */

html {
	font-size: 62.5%;
	-ms-text-size-adjust: 100%; /* These two prevent iOS text size adjust after orientation change, without disabling user zoom. */
	-webkit-text-size-adjust: 100%; 
}

body {
	margin: 0;
	line-height: 22px;
	line-height: 2.2rem;
	font-size: 16px;
	font-size: 1.6rem;
	color: #222;
	font-family: 'myriad-pro', Arial, sans-serif;
}


/* ---- Headings ---- */

h1, 
.h1, 
h2, 
.h2, 
h3, 
.h3, 
h4, 
.h4, 
h5, 
.h5, 
h6, 
.h6 {
	margin: 0 0 15px 0; 
	margin: 0 0 1.5rem 0;
	text-rendering: optimizelegibility;
	font-family: 'proxima-nova', Helvetica, sans-serif;
	font-weight: bold;
}
	h1 small,
	h2 small,
	h3 small,
	h4 small,
	h5 small,
	h6 small {
		font-weight: normal;
		line-height: 1;
		color: #8a7b7b;
	}

	p + h1,
	p + h2,
	p + h3,
	p + h4,
	p + h5,
	p + h6 {
		margin-top: 30px;
		margin-top: 3rem;
	}


h1, .h1 {
	line-height: 36px;
	line-height: 3.6rem;
	font-size: 28px;
	font-size: 2.8rem;
}

h2, .h2 {
	font-size: 20px;
	font-size: 2.0rem;
	font-family: 'myriad-pro', Arial, sans-serif;
	font-weight: 600;
}

h3, .h3 {
	font-size: 19px;
	font-size: 1.9rem;
}

h4, .h4 {
	font-size: 18px;
	font-size: 1.8rem;
}

h5, .h5 {
	font-size: 17px;
	font-size: 1.7rem;
}

.heading-inline {
	display: inline;
	float: left;
	padding: 0;
}

p,
ol,
ul,
dl,
p,
ol,
ul,
dl,
address {
	margin: 0 0 15px;
	margin: 0 0 1.5rem;
}

small {
	font-size: 12.8px;
	font-size: 1.28rem;
}

/* ---- Lists ---- */

ul,
ol {
	padding: 0 0 0 20px;
	padding: 0 0 0 2rem;
}


li ul,
li ol {
	list-style-type: none;
	margin: 1rem 0;
}

ul.inline,
ol.inline {
	list-style-type: none;
	margin-left: 0;
}
	ul.inline > li,
	ol.inline > li {
		display: inline-block;
		padding-left: 12px;
		padding-right: 12px;
	}


/* ---- Quotations ---- */

blockquote {
	margin: 15px 0;
	margin: 1.5rem 0;
	padding: 5px 20px 15px;
	background: #f6f6f6;
	font-style: normal;
}
	blockquote small:before {
		content: '\00A0 \2014';
	}
	blockquote small:after {
		content: '';
	}
	blockquote cite {
		font-style: normal;
	}

q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

dl,
dd {
	margin-bottom: 1.5em;
	}

dt {
	font-weight: bold; }


/* ---- Text level elements ---- */

abbr[title] {
	border-bottom: 1px dotted #c6bfbf;
	cursor: help;
}

b, strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

ins {
	background-color: #f6f6f6;
	color: #473f3f;
	text-decoration: none;
}

mark {
	background-color: #f6f6f6;
	color: #473f3f;
	font-style: italic;
	font-weight: bold;
}

pre,
code,
kbd,
samp {
	font-family: Monaco, Courier New, monospace;
	color: #484040;
	background: #efefef;
	background: rgba(0, 0, 0, .07);
	padding: 0 2px;
	margin: 0 -2px;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}


/* ---- Links ---- */

a {
	color: #3655fd;
	word-break: break-word;
}

a:hover {
	color: #d74c00;
}

/* Address `outline` inconsistency between Chrome and other browsers. */
a:focus {
	outline: thin dotted;
}

/* Improve readability when focused and also mouse hovered in all browsers. */
a:active,
a:hover {
	outline: 0;
}


/* ------------------------------------------------------
**** Design Patterns

Reusable bits of badass code that we probably use a lot

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

/* ---- Buttons ---- */

.button {
	/* Structure */
	display: inline-block;
	*display: inline; /*IE 6/7*/
	zoom: 1;
	margin-bottom: 0;
	white-space: nowrap;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	/* styles */
	font-weight: normal;
	line-height: 1;
	color: #fff;
	background-color: #3655fd;
	text-decoration: none;
	border-radius: 3px;
	border: none;
	font-size: 100%;
	*font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
	*overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
	padding: 10px 15px 8px; /* not the below equiv, dif for ie8 */
	padding: 1.05rem 15px 0.8rem;
}

/* Firefox: Get rid of the inner focus border */
.button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.button-hover,
.button:hover,
.button:focus {
	background-color: #1a2560;
	color: #fff;
}

.button-small {
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 8px;
	line-height: 0.8rem;
	padding: 5px 8px 5px;
	margin: -2px 0
}

.button-large {
	font-size: 20px;
	font-size: 2rem;
	padding: 15px 18px 10px;
}

.button-block {
	display: block;
}

/* Disabled/unavailable button style */

.button[disabled],
.button-disabled,
.button-disabled:hover,
.button-disabled:focus,
.button-disabled:active {
	border: none;
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	filter: alpha(opacity=40);
	-khtml-opacity: 0.40;
	-moz-opacity: 0.40;
	opacity: 0.40;
	cursor: default;
	box-shadow: none;
}

/* Gets the buttons to line up with form inputs when you want them to */

.button.inline {
	margin-bottom: 0.75em;
}

/* ------------------------------------------------------
**** Images
------------------------------------------------------ */


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

/* 

Old school image left and right are more generic now so we can use them on anything

You can find them in the helper classes section

*/

/* ------------------------------------------------------
**** Forms
------------------------------------------------------ */

form {
	margin: 0;
}
	form ul {
		list-style-type: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}

fieldset {
	margin-bottom: 1.5em;
	padding: 0;
	border-width: 0;
}
fieldset:last-of-type {
	margin-bottom: 0;
}

legend {
	display: block;
	width: 100%;
	margin-top: 15px;
	*margin-left: -7px;
	padding: 00;
	border: 0;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.5em;
	white-space: normal;
}
	legend small {
		font-size: 1.125em;
		color: #625757;
	}

label,
input,
button,
select,
textarea {
	font-family: sans-serif;
}

label {
	display: block;
	margin-bottom: 0.375em;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"] {
	display: inline-block;
	margin-bottom: 0.75em;
	padding: 6px 10px 7px; /* not the below equiv, dif for ie8 */
	padding: 0.85rem 10px 0.65rem;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 15px;
	line-height: 1.5rem;
	color: inherit;
	border-radius: 4px;
	vertical-align: middle;
}

textarea {
	height: auto;
	resize-x: none;
}

textarea,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"]{
	width: 100%;
}

textarea,
select,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	background-color: #fff;
	border: 2px solid #d6d6d6;
}
	textarea:hover,
	input[type="text"]:hover,
	input[type="password"]:hover,
	input[type="datetime"]:hover,
	input[type="datetime-local"]:hover,
	input[type="date"]:hover,
	input[type="month"]:hover,
	input[type="time"]:hover,
	input[type="week"]:hover,
	input[type="number"]:hover,
	input[type="email"]:hover,
	input[type="url"]:hover,
	input[type="search"]:hover,
	input[type="tel"]:hover,
	input[type="color"]:hover {
		border-color: #aeaeae;
	}
	textarea:focus,
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="datetime"]:focus,
	input[type="datetime-local"]:focus,
	input[type="date"]:focus,
	input[type="month"]:focus,
	input[type="time"]:focus,
	input[type="week"]:focus,
	input[type="number"]:focus,
	input[type="email"]:focus,
	input[type="url"]:focus,
	input[type="search"]:focus,
	input[type="tel"]:focus,
	input[type="color"]:focus {
		border-color: #828282;
		outline: 0;
		outline: thin dotted \9;
	}

input[type="color"] {
	padding: 0;
	border-radius: 4px;
	min-height: 38px;
	overflow: hidden;
}

input[type="radio"],
input[type="checkbox"] {
	margin: 2px 0 0;
	margin-top: 6px \9;  /* IE8-9 */
	line-height: normal;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"],
input.timepicker {
	width: auto;
}

input.datepicker.wd {
	margin-left: 0;
}
input.datepicker.wy {
	margin-right: 0;
}
input.datepicker {
	width: 60px;
	margin: 0 4px;
}
input.timepicker {
	width: 135px;
}

select {
	padding: 6px;
	border: 2px solid #d6d6d6;
}

select[multiple],
select[size] {
	height: auto;
}

select.cc-type,
select.cc-exp,
input.cc-cvn {
	width: 30%;
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
	font-size: 14px;
	font-size: 1.4rem;
	color: #ccc;
}

.radio,
.checkbox {
	min-height: 1.5em;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
	float: left;
	margin-right: 10px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
	padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
	display: inline-block;
	padding-top: 5px;
	margin-bottom: 0;
	vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
	margin-left: 12px;
}

.-input-mini {
	width: 60px;
}

.-input-small {
	width: 90px;
}

.-input-medium {
	width: 150px;
}

.-input-large {
	width: 210px;
}

.-input-xlarge {
	width: 270px;
}

.-input-xxlarge {
	width: 530px;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
	opacity: .25;
}

.form-actions {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding: 0.5em 24px 1.5em;
	*zoom: 1;
}
	.form-actions:before, .form-actions:after {
		content: " ";
		display: table;
	}
	.form-actions:after {
		clear: both;
	}

[placeholder]:focus::-webkit-input-placeholder {
	opacity: 0;
	transition: opacity .5s .5s ease;
}


/* Messages */
ul.messages {
	padding: 10px 0 10px 0;
	margin: 10px 0 10px 0;
	list-style-type: none;
	font-family: arial, sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	border: 1px dashed #999;
	background-color: #EEEEDE;
	zoom: 1;
}

ul.messages li {
	display: block;
	vertical-align: bottom;
	margin: 0px;
	margin-left: 10px;
	padding: 5px 20px 4px 30px;
}

ul.messages li.confirm {
	color: #090;
	list-style-type: none;
}

ul.messages li.error {
	color: #900;
	list-style-type: none;
}


/* ---- form help ---- */

.help-block,
.help-inline {
	color: #625757;
	font-size: 12.8px;
	font-size: 1.28rem;
	line-height: 1.4;
}

.help-block {
	display: block;
	margin-bottom: 0.75em;
}

.help-inline {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	vertical-align: middle;
	padding-left: 12px;
}

.help-block,
.help-inline {
	color: #625757;
}

.help-block {
	display: block;
	margin-bottom: 0.75em;
}

.help-inline {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	vertical-align: middle;
	padding-left: 24px;
}

/* ---- Form Errors ---- */

.has-error {

	background: #fae8e7;
	padding: 10px 20px;
	margin: 0 -20px;
}
	.has-error input {
		border-color: #B94A48;
	}

	.has-error .help-block,
	.has-error .help-inline {
		color: #B94A48;
		font-weight: bold;
		font-style: italic;
	}



/* ------------------------------------------------------
**** Tables
------------------------------------------------------ */

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 20px 0;
	margin: 2rem 0;
	max-width: 100%;
	min-width: 100%;
	text-align: left;
}

	table th,
	table td {
		padding: 8px;
		vertical-align: top;
	}
	div:not(.widget) > table th {
		background: #dbdbdb;
	}
	div:not(.widget) > table tr:nth-child(odd) td {
		background: #f6f6f6;
	}

	table th {
		font-weight: bold; 
	}
	table thead th {
		vertical-align: bottom; 
	}

/* ---- No Styles Table ---- */

.table__no-styles {
	border-collapse: separate;
	border: none;
	background: none;
	min-width: 0;
}

	.table__no-styles th,
	div:not(.widget) > table.table__no-styles th,
	.table__no-styles td,
	div:not(.widget) > table.table__no-styles tr:nth-child(odd) td {
		padding: 0;
		border: 0;
		background: none;
	}



/* ------------------------------------------------------
**** Helper classes
------------------------------------------------------ */

/* ---- Clearfix ---- */

.clear {
	height: 0;
	clear: both;
	display: block;
}

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

.-clearfix:after {
	clear: both;
}

.-clearfix {
	*zoom: 1;
}

/* Image Replacement */
.-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;
}

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

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

.-invisible {
	visibility: hidden;
}

/* Angle Brackets */
.-r-arrow-after:after {
	content: "\00a0\003e";
}
.-r-arrow-before:before {
	content: "\003e\00a0";
}
.-l-arrow-after:after {
	content: "\00a0\003c";
}
.-l-arrow-before:before {
	content: "\003c\00a0";
}

/* Ellipsis */
.ellipsis-2:after {
	content: "..";
}
.ellipsis-3:after {
	content: "...";
}

/* ---- Floats and positioning ---- */

.left {
	margin: 0 15px 15px 0;
	float: left;
}

.right {
	margin: 0 0 15px 15px;
	float: right;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ---- Clearfix ---- */

.clear {
	height: 0;
	clear: both;
	display: block;
}

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

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}


/* ------------------------------------------------------
**** Template Layout
------------------------------------------------------ */

html,
body {
	background: #ececec;
	height: 100%; /* Req for sticky footer */
	margin: 0;
}

.section {
	max-width: 966px;
	margin: 0 auto;
}

.wrap {
	/* req for sticky footer */
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin-bottom: -85px;  /* the bottom margin is the negative value of the footer's height */
}

@media screen and (max-width: 1006px) {	
	.section {
		margin: 0 20px;
	}
}

/* ---- header ---- */

.header {
	padding: 35px 0 0;
	background: #202020;
	margin-bottom: 50px;
	text-align: left;
}

.header .logo,
.header .gosa-logo {
	margin-bottom: 30px;
}

.header .logo {
	display: block;
}

@media screen and (min-width: 640px) {	
	.header .logo {
		margin-right: 64px;
	}
}

@media screen and (min-width: 880px) {
	.header .logo {
		float: left;
	}

	.header .gosa-logo {
		float: right;
	}
}

.no-svg .logo {
	width: 539px;
	height: 48px;
	background: url('../images/logo.png') no-repeat 0 0;
}

.no-svg .logo img {
	display: none;
}

.intro {
	text-align: center;
	margin-bottom: 30px;
}

.link-list {
	margin: 0 -4px;
	padding: 0;
	list-style: none;
}

.link {
	background: #fff;
	position: relative;
	border: 4px solid #ececec;
	margin-bottom: 20px;
}


@media screen and (min-width: 640px) {		
	.link {
		width: 31.262939958592%;
		float: left;
	}
	
	.link-one {
		margin-right: 3.105590062112%
	}

	.link-three {
		float: right;
	}

}


.link:hover {
	-webkit-box-shadow: 0 0 12px 0 rgba(0,0,0,.45);
	box-shadow: 0 0 12px 0 rgba(0,0,0,.45);
	border: 4px solid #fff;
}

.link p {
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 40px;
}

.link-img {
	margin-bottom: 15px;
}

.cta {
	text-align: center;
	color: #fff;
	padding: 8px 0 5px;
	font-family: 'proxima-nova', Helvetica, sans-serif;
	text-transform: uppercase;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.cta:after {
	content: '\00a0';
	width: 9px;
	height: 24px;
	display: inline-block;
	margin-left: 8px;
	background: url('../images/arrow_white_right.png') no-repeat center right;
}
.no-svg .cta:after {
	background: url('../images/arrow_white_right.png') no-repeat center right;
}


.link-one__header,
.link-two__header,
.link-three__header {
	display: block;
	text-align: center;
}

.link-one__header,
.link-one .cta {
	background: #101d62;
}


.link-two__header,
.link-two .cta {
	background: #233e99;
}


.link-three__header,
.link-three .cta {
	background: #96bc0d;
}


.link a {
	color: #222;
	text-decoration: none;
}

/* ---- footer ---- */

.footer {
	padding: 20px;
	background: #fff;
	min-height: 85px;
	text-align: center;
}

.push {
	height: 85px; /* .push must be the same height as .footer */
}

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

	.foot-col-right {
		width: 43%;
		float: right;
		text-align: right;
	}

	.foot-col-left {
		width: 43%;
		float: left;
		text-align: left;
	}
}


/* ------------------------------------------------------
**** 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;
	}
}




@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

}

