/*
 * 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.
 */

/* ==========================================================================
   NORMALIZE.css
   ========================================================================== */
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline;zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{background:#fff;color:#000;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-size:1em}pre{white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}menu,ol,ul{padding:0}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}fieldset{border:0;margin:0;padding:0}legend{border:0;white-space:normal;margin-left:-7px;padding:0}button,input,select,textarea{font-size:100%;vertical-align:middle;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],/* 1 */
input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;height:13px;width:13px;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}.chromeframe{background:#ccc;color:#000;margin:.2em 0;padding:.2em 0}.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}.visuallyhidden{border:0;clip:rect(0000);height:1px;overflow:hidden;position:absolute;width:1px;margin:-1px;padding:0}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;overflow:visible;position:static;width:auto;margin:0}.invisible{visibility:hidden}body,dl,menu,ol,ul,dd,figure,form{margin:0}::-moz-selection,::selection{background:#b3d4fc;text-shadow:none}
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
 * {
	padding: 0;
	margin: 0;
	outline: 0;
	/* apply a natural box layout model to all elements */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	}
*, body, button, input, textarea, select {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	}
html,
body {
   margin:0;
   padding:0;
   height:100%;
   }
html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	}
body {
	min-height: 100%;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing: grayscale;/* For FIREFOX Bold weight issue*/
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	font-family: Helvetica, Helvetica Neue, Arial; /* Default Body Font */
	font-size:1em; /* 1em = 16px */
	line-height: 1.4em;
	}

/* ==========================================================================
   DEFAULT IMAGE STYLES
   ==========================================================================*/
img {
    vertical-align: middle;
	}
img, object, embed, video {
	max-width: 100%;
	_width: 100%;
	}
/* ==========================================================================
	CLEARFIX
   ========================================================================== */
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
	}
.clearfix:after {
    clear: both;
	}
.clearfix {
    *zoom: 1;
	}
/* ==========================================================================
   LINK STYLES
   ==========================================================================*/
a{
    -ms-word-break: break-all;
    word-break: break-all;
    /* Non standard for webkit */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
	}
a,
a:visited,
a:active{
	text-decoration: none;
	-webkit-transition: color 300ms ease-in-out;
	-moz-transition: color 300ms ease-in-out;
	-ms-transition: color 300ms ease-in-out;
	-o-transition: color 300ms ease-in-out;
	transition: color 300ms ease-in-out;
	color:#207cb5;
	}
a:hover {
	text-decoration: none;
	color:#3399fe;
	}
a:focus {
	outline: thin dotted;
	}
a:hover, a:active {
	outline: none;
	}
/* ==========================================================================
    NAVIGATION SKIP STYLE
   ==========================================================================*/
.chromeframe{
	background: #cd8b33;
	padding:30px;
	color:#333;
	font-size: 2em;
	text-align: center;
	}
.chromeframe a{
	color: #fff;
	}
.chromeframe a:hover{
	color:#333;
	}
a#skip {
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
	}

a#skip:focus {
	position:static;
	width:auto;
	height:auto;
	}
/* ==========================================================================
    COLUMN STYLES
   ==========================================================================*/

.container{
	width:100%;
	max-width:740px;
	margin:0 auto;
	}
.box{
	padding: 2%;
	}
section.box{
	padding:0 2%;
	}
.half,
.one-third{
	margin:0;
	float:left;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	}
.one-third:nth-child(3n+2){
	border-right:none;
	margin-top:-1px;

	}
.one-third:nth-child(3n+1){
	clear: both;
	}
.single{
	width:100%;
	}
.half{
	width:50%;
	}
.one-third{
	width:33.333333%;
	}


/* ==========================================================================
	CUSTOM CONTENT STYLES
   ========================================================================== */
section{
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
	}
section img{
	width: 100%;
	}
h1{
	line-height:1;
	color:#333;
	margin-top:40px;
	}
h2.title{
	text-align: center;
	color: #00366c;
	font-family: arial,helvetica,'lucida grande',sans-serif;
	font-style: normal;
	font-weight: 300;
	margin: 10px 0;
	font-size: 1.2em;
	}
h3{
	color: #4E8BB8;
	font-size:1.8em;
	line-height:1;
	font-family: arial,helvetica,'lucida grande',sans-serif;
	font-style: normal;
	font-weight: 300;
	padding: 0 0 20px;
	border-bottom: 1px solid #4e8bb8;

	}
.one-third{
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	}
.one-third:hover{
	background: #e6edf2;
	cursor: pointer;
	}
.overlay{
	width: 100%;
	overflow: auto;
	position: absolute;
	background: #f4f4f4;
	border: 1px solid #b7b7b7;
	padding: 2% 2% 4%;
	z-index: 1001;
	max-width: 740px;
	margin: -1px;
	}
.overlay img{
	width: 60%;
	margin: 0 auto;
	margin-bottom:20px;
	display: block;
	padding:10px;
	border:1px solid #ccc;
	}
.overlay .wrapper .close{
	position: absolute;
	right: 0;
	top: 0;
	padding: 16px;
	background: #990000;
	background: rgba(192,0,0,0.5);
	color: #fff;
	font-size: 2em;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	cursor: pointer;
	}
.overlay .wrapper .close:hover{
	background: #ef4c11;
	background: rgba(192,0,0,0.8);
	}
p{
	margin:0 0 20px;
	color:#333;
	font-size:0.9em;
	}
.nextbtn{
	position: relative;
	float:right;
	margin:20px 0;
	cursor: pointer;
	color:#3999df;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	padding: 5px 20px;
	border: 1px solid #ccc;
	background: #fff;
	}
.prevbtn{
	position: relative;
	float:left;
	margin:20px 0;
	cursor: pointer;
	color:#3999df;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	padding: 5px 20px;
	border: 1px solid #ccc;
	background: #fff;
	}
.nextbtn:hover,
.prevbtn:hover{
	color:#348dce;
	background: #e3f0f7;
	}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



/*ANDROID PORTRAIT/ iPHONE LANDSCAPE 510px*/
@media screen and (max-width:31.875em){
	.half,
	.one-third{
		width:100%;
		}
	.overlay .wrapper .close{
		font-size:1em;
		padding:5px 10px;
		}
	h3{
		margin-top:20px;
		}
	.overlay .wrapper img{
		width:95%;
		}
	.overlay .wrapper{
		padding:5%;
	}
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
	.overlay{
		display: block !important;
		position: relative !important;
	}
	.one-third,
	.half{
		float:none !important;
		height:100% !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: "";
    }

    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;
    }
}
/********************************/
/* Firefox fix for Font Weight */
/******************************/

@-moz-document url-prefix() {
    body, p, h1, h2, h3, h4, h5, h6, nav, strong, li, a, span{
        font-weight:normal !important;
        opacity:0.99;
        }
}

