/*
 * HTML5 Boilerplate
 *
 * 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
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

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

body{
	font-family: 'Open Sans', sans-serif;
	text-align:justify;
}

a{color:#333;}
a:hover{text-decoration:none;}

img{}

h2{
  text-align:center;
  color:#101072;
  font-size: 2em;
}

/*header,*/
section,
footer{
	overflow:hidden;
}

header{}

header h1{
	margin:0;
  line-height: 100px;
}

nav{}
nav ul{
	padding:0;
	margin:0;
	font-size:1.2em;
  text-align: right;
}
nav ul li{
	display: inline-block;
  line-height: 100px;
}
nav ul li a{
	text-decoration: none;
	text-transform: uppercase;
	padding:15px;
  font-weight: bold;
  color:#101072;
}
nav ul li a:hover{
  background:#101072; /*#1F2430;*/
  color:#fff;
}
nav ul li ul{
  display:none;
  position:absolute;
  z-index: 10000000000;
  background:#101072;
  text-align: center;
}
nav ul li ul li{
  display:block;
  line-height: normal;
}
nav ul li ul li a{
  color:#fff;
  font-size:0.8em;
  padding:10px;
  border-top:#fff solid 1px;
  display:block;
}
nav ul li:hover ul{
  display:block;
}
nav ul li:hover ul li a:hover{
  background:#1F2430;
}

section.content,
section.content-2{
	padding:10px 0 20px;
}
section.content-2{
  background:#1F2430;
  color:#fff;
}
section.content-2 h2{
  color:#fff;
}
section.content-2 p{
  font-size: 1.3em;
}
section.content-2 a{
  color: #fff;
  text-decoration: none;
}
section.content-2 a:hover{
  text-decoration:underline;
}

a.tumb-box{
  display:block;
  width:100%;
  background:#1F2430;
  line-height: 100px;
  text-align: center;
  color:#fff;
  text-decoration: none;
  font-size: 1.2em;

  position:relative;
  margin-top:-100px;
  opacity: 0.9;
}
a.tumb-box:hover{
  background:#101072;
}

footer{
  background:#1F2430;
  color:#fff;
}
footer p{
	line-height: 50px;
	text-transform: uppercase;
}

label,
input[type=text],
textarea,
select{
	display:block;
}

input,
textarea,
select{
	padding: 15px;
	width: 100%;
	margin: 0 0 10px;
	border: 1px solid #1F2430;
  box-sizing:border-box;
}

textarea{
	height:225px;
}

input.bt{
	display:inline-block;
	width:130px;
	padding:15px;
  background:#1F2430;
  color:#fff;
  border:none;
  font-weight: bold;
}
input.bt:hover{
	background:#1C1C1C;
	color:#FFF;
}