/* ########## CORE STYLES ########## */

html {min-height: 100%;height: 100%;}

body {
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.2em;	
	font-family: 'Open Sans', sans-serif;
	/*background-image: linear-gradient(to bottom right,#0083ca,#00527d);*/
    background: url('../images/bg-main.jpg') no-repeat center bottom;
    background-size: cover;    
	color: #184C7F;
	position: relative;
	min-height: 100%;
	height: 100%;
    -webkit-text-size-adjust: 100%;
}


html,
body {
    overflow-x: hidden;
    position: relative;
} 

hr {
	background: rgba(52,52,52,0.25);
	height: 1px;
	border: none;
	width: 50%;
	margin: 2em auto;
	padding: 0;
	clear: both;
}

.shell {
	display: table;
	width: 100%;
    position: relative;
}

.shell.top {
    color: #184C7F;
    text-align: left;
	padding-bottom: 2rem;
}

.shell.bottom {
}

.wrapper {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
	position: relative;
	display: table-cell;
	box-sizing: border-box;	
	z-index: 10;
    padding: 0;
}

.shell.top .wrapper-inner p {
    font-size: 1.2em;
}

.shell.bottom .wrapper {
    vertical-align: top;
    display: block;
}

.shell.bottom .wrapper-inner {
    position: relative;
    display: block;
}

.wrapper-inner {
	width: 80%;
	max-width: 800px;
	margin: 0 auto;
}

.clear {clear: both;}
a img {border: none;}

a:link:not(.btn), a:visited:not(.btn) {color: #184C7F; text-decoration: none;}
a:hover:not(.btn), a:active:not(.btn) {color: rgba(43,113,3,1); text-decoration: underline;}


/* ########## CONTENT STYLES ########## */

.content-box {
	background: rgba(255,255,255,1);
	padding: 2em 4em 2em 2em;
	border-radius: 0.5em;
	max-width: 100%;
	margin: 0 auto;
	font-size: 1em;
	color: rgba(0,0,0,0.75);
	box-shadow: 0 0 20px rgba(0,0,0,0.25);
    text-align: left;
    position: relative;
    z-index: 2;
    margin-bottom: 2em;
}

.content-box a:link:not(.btn), .content-box a:visited:not(.btn) {color: #71788f; text-decoration: none; font-size: 1em !important;}
.content-box a:hover:not(.btn), .content-box a:active:not(.btn) {color: #166be5; text-decoration: underline;}

.logo {
	opacity: 1;
	width: 90%;
    position: relative;;
    z-index: 2;
    max-width: 250px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.overlay {
	position: fixed;
	max-width: 50%;
	bottom: 0;
	display: block;
	width: 500px;
	height: 500px;			
}

.shell.top p {
    margin: 0;
    font-size: 1.2em;
}

code {
    padding: 1rem;
    font-size: 100%;
    display: block;
}

/* ########## 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 0 0;
	line-height: 1.2em;
	font-weight: 800;
    font-family: 'Open Sans', sans-serif;
}

h1 {
	font-size: 2.5em;
	font-weight: 800;
    font-family: 'Open Sans', sans-serif;
}

h2 {
	font-size: 2.5em;
	font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    color: #184C7F;
    margin: 0 0 0.25em 0;
}

h3 {
    font-weight: 400;
	font-size: 2em;
}

h4, h5, h6 {
	font-size: 1.4em;
}

p {
	margin:  0.5em 0;
	padding: 0;
    font-size: 1.2em;
    line-height: 1.5em !important;
}

.text-primary,a.text-primary {
	color: #184C7F !important;
}

.text-secondary,a.text-secondary {
	color: #2B7103 !important;
}

.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.8em;
	line-height: 1.4em;
	font-weight: 100;
}

.text-lead strong {
    font-weight: 700;
}

.text-sm {
	font-size: 0.9em;
}

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

.slogan {    
	padding: 0;
	margin: 2.5em 0 0 0;
	line-height: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
	font-size: 1.6em;
}

/* ########## BUTTON STYLES ########## */

button,
.button,
a.button {
	border-radius: 0.3em;
	padding: 0 1em;
	color: rgb(255,255,255) !important;	
	background: rgba(72,82,90,1);
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	line-height: 2.5em;
	font-size: 1em;
    font-weight: 400;
    margin: 0.5em;
}

button:hover,
.button:hover,
a.button:hover {
	text-decoration: none;
	background: rgba(72,82,90,0.85);
	color: rgb(255,255,255);	
}

button.responsive,
.button.responsive,
a.button.responsive {
	display: block;
}

button.xs,
.button.xs {	
	font-size: 0.7em;
}

button.sm,
.button.sm {	
	font-size: 0.85em;
}

button.lg,
.button.lg {	
	font-size: 1.15em;
    line-height: 3em;
}

button.primary,
.button.primary {		
	background: rgba(0,82,125,1);
	color: rgb(255,255,255);
}

button.primary:hover,
.button.primary:hover {
	background: rgba(0,82,125,0.85);
	color: rgb(255,255,255);	
}

.btn-primary,
button.secondary,
.button.secondary {
    border: none;
	background: rgba(43,113,3,1);;
	color: rgb(255,255,255);
}

.btn-primary:hover,
button.secondary:hover,
.button.secondary:hover {
    border: none;
	background: rgba(43,113,3,0.85);
	color: rgb(255,255,255);
}

.button.facebook {
    background: rgba(66,103,178,1);
    font-size: 1.2em;
}
.button.facebook:hover {
    background: rgba(66,103,178,0.85);
}

.button.twitter {
    background: rgba(29,161,242,1);
    font-size: 1.2em;
}
.button.twitter:hover {
    background: rgba(29,161,242,0.85);
}

.button.instagram {
    background: rgba(193,53,132,1);
    font-size: 1.2em;
}
.button.instagram:hover {
    background: rgba(193,53,132,0.85);
}

.button.website {
    font-size: 1.2em;
}

.btn-danger {
    border: none;
	background: rgba(226,38,57,1);
	color: rgb(255,255,255);
}

.btn-danger:hover {
    border: none;
	background: rgba(226,38,57,0.85);
	color: rgb(255,255,255);
}

/* ########## OVERRIDES STYLES ########## */

textarea {
    height: 200px;
}

.alert {
    font-size: 1.2em;
    line-height: 1.4em;
    position: relative;
    z-index: 2;
}

code {
    font-size: 1.4em;
    line-height: 1.4em;
    overflow: scroll;
}

pre {
    font-size: 1.4em !important;
    line-height: 1.4em !important;
}

.social {
    margin-bottom: 2rem;
}

.social a {
    margin: 1rem;
    font-size: 1.5rem;
    display: inline-block;
}

/* ########## RESPONSIVE STYLES ########## */

@media (max-height: 900px) {
    
    .shell.bottom .wrapper-inner {
        margin-top: 0;   
    }
   
    .logo {
        margin-bottom: 0;
    }
    
}

@media (min-width: 576px) and (min-height: 700px) {
    
    body {
        font-size: 14px;
        line-height: 1.4em;	
    } 
    
    .content-box {
	    padding: 2em 6em 2em 2em;
    }
}

@media (min-width: 768px){
    
    .logo {
        margin-bottom: 0;
        margin-top: 1em;
    }
    
    .shell.top .wrapper {
        text-align: left;   
    }
    
    .content-box {
	    padding: 2em 4em 2em 2em;
    }
    
    textarea {
        height: 100px;
    }
    
}

@media (min-width: 992px){
    
    .shell.bottom .wrapper-inner:after {
        right: -80%;
    }
   
    .shell.bottom .wrapper-inner:before {
        display: block;
        left: 65%;
    }
}

@media (min-width: 1200px){
    
    .shell.bottom .wrapper-inner:before {
        height: 50%;
        left: 70%;
    }

}