/*
 * 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
   ========================================================================== */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
 .ttttt{
	
	/* apply a natural box layout model to all elements */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	 
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	
	-webkit-text-size-adjust: 100%;
	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
   ==========================================================================*/

/* ==========================================================================
    NAVIGATION SKIP STYLE
   ==========================================================================*/

/* ==========================================================================
    COLUMN STYLES
   ==========================================================================*/

.container{
	width:100%;
	max-width:600px;
	margin:0 auto;
	}
.box{
	padding: 2%;
	}
section.box{
	padding:0 2%;
	}
.half,
.one-third{
	margin:0;
	float:left;
	
	}
.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:29.2%;
	}


/* ==========================================================================
	CUSTOM CONTENT STYLES
   ========================================================================== */
section{
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
	border-bottom: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);
	}

.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:85%;
		}
	.overlay .wrapper{
		padding:5%;
	}
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
   .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;
    }

  
}
/********************************/
/* Firefox fix for Font Weight */
/******************************/



