/* ########## RESET CSS STYLES ########## */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/* ########## CORE STYLES ########## */

html {min-height: 100%;height: 100%;}

body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.4em;	
	font-family: 'Open Sans', sans-serif;
	background: #3d5a72;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	color: #333;
	position: relative;
	min-height: 100%;
	height: 100%;
    -webkit-text-size-adjust: 100%;
} 

hr {
	background: rgba(123,130,141,0.25);
	height: 1px;
	border: none;
	width: 100%;
	margin: 2em auto;
	padding: 0;
	clear: both;
}

.shell {
	display: table;
	width: 100%;
	height: 100%;
}

.wrapper {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
	position: relative;
	display: table-cell;
	padding-bottom: 5em;
	box-sizing: border-box;	
	z-index: 10;
}

.wrapper-inner {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.clear {clear: both;}
a img {border: none;}

a:link, a:visited {color: #ffffff; text-decoration: none;}
a:hover, a:active {color: #166be5; text-decoration: underline;}


/* ########## CONTENT STYLES ########## */

.content-box {
	background: rgba(255,255,255,0.9);
	padding: 0;
	border-radius: 0;
	max-width: 600px;
	margin: 2em auto 0 auto;
	border-bottom: 10px solid #3d5a72;
	font-size: 0.9em !important;
	color: #333;
	box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.content-box a:link, .content-box a:visited {color: #71788f; text-decoration: none; font-size: 1em !important;}
.content-box a:hover, .content-box a:active {color: #166be5; text-decoration: underline;}

.content-box .inner {
    padding: 2em;
}

.subtitle {
	display: block;
	font-size: 1.5em;
	color: #333;
	font-weight: 400;
}

.logo {
	opacity: 1;
	margin: 0;
	width: 100%;
    position: relative;;
    z-index: 2;
    margin-bottom: 0;
}


.overlay {
	position: fixed;
	max-width: 50%;
	bottom: 0;
	display: block;
	width: 500px;
	height: 500px;			
}

.overlay.realestate {
	left: 0;
	background: url('../images/overlay-realestate.png') no-repeat bottom left;
	background-size: contain;
}

.overlay.autos {
	right: 0;
	background: url('../images/overlay-autos.png') no-repeat bottom left;
	background-size: contain;	
}

/* ########## GENERAL STYLES ########## */

.pull {
	display: block;
	text-align: center;
}

.pull img {
	max-width: 100%;	
}

.align-right {
	float: right;
}

.align-left {
	float: left;
}

.align-center {
	text-align: center;
	margin: 0 auto;
}

.clear {
	clear: both;
}

.responsive-block {
	display: block;
}

.shadow {
	box-shadow: 1px 1px 8px rgba(0,0,0,0.1);	
}

.box {
	padding: 1em;
	background: rgba(153,158,177,1);	
	border-radius: 0.25em;
}

/* ########## TYPOGRAPHY STYLES ########## */

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0.5em 0;
	line-height: 1.2em;
}

h1 {
	font-size: 3em;
	font-weight: 300;
	color: #3d5a72;
}

h2 {
	font-size: 1em;
	font-weight: 400;
	text-transform: uppercase;
}

h3 {
	font-size: 1.4em;
}

h4, h5, h6 {
	font-size: 1.2em;
}

p {
	margin:  0.5em 0;
	padding: 0;
}

.text-primary,a.text-primary {
	color: rgb(22,107,229);
}

.text-secondary,a.text-secondary {
	color: rgb(102,72,190);
}

.text-info,a.text-info {
	color: rgb(81,132,158);
}

.text-warning,a.text-warning {
	color: rgb(213,121,13);
}

.text-error,a.text-error {
	color: rgb(226,38,57);
}

.text-success,a.text-success {
	color: rgb(77,153,56);
}

.text-lead {
	font-size: 1.4em;
	line-height: 1.4em;
	font-weight: 100;
}

.text-sm {
	font-size: 0.85em;
}

.text-lg {
	font-size: 1.15em;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}

.text-faded {
	opacity: 0.75;
}

.text-shadow {
	text-shadow: 2px 2px 2px rgba(0,0,0,0.75);
}

.italic {
	font-style: italic;
}

.text-lead.bold {
	font-weight: 400;	
}

.bold {
	font-style: bold;
}

