/*
	New York
	by filfat Studios AB
	--------------------
	
	ACCENT:
		PRIMARY (light): #3498db
		SECONDARY (dark): #2980b9
	BACKGROUND: '../img/title.jpg';
*/
@font-face {
	font-family: 'SegoeMDL2';
	src: url('../font/segmdl2-webfont.woff2') format("woff2"), url("../font/segmdl2-webfont.woff") format("woff"), url('../font/segmdl2-webfont.tff') format('ttf');
	font-weight: normal;
	font-style: normal;
}

body{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #ecf0f1;
    color: black;
    font-family: 'Signika';
}

/* Header
=============================*/
header{
    height: 65px;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
	background: #3498db;
	z-index: 10;
}
header .logo h1{
    float: left;
	font-size:  26px;
	line-height: 32px;
	margin-left: 65px;
	font-weight: 300;
	color: white;
}
header nav{
    float: right;
    margin-right: 65px;
}
header nav .menu-toggle{
    display: none;
}
header nav ul{
    list-style: none;
    line-height: 30px;
}
header nav ul li {
    display: inline;
    list-style-type: none;
    font-size: 18px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    padding-left: 45px;
}
header nav ul li a{
    color: white;
    text-decoration: none;
}
header nav ul li a:hover{
    color: rgba(255, 255, 255, 0.5);
}

/* Main Page
=============================*/
/* Banner */
#title{
	position: absolute;
	width: 100%;
	height: 280px;
	top: 0;
	text-align: left;
	background: #3498db;
}
#title .con{
	padding-left: 65px;
}
#title h1{
	line-height: 110px;
	font-size: 54px;
	font-weight: 100;
	font-family: 'Signika';
	text-transform: capitalize;
	color: white;
}
#title h1 a{
	color: white;
}
#title h2{
	line-height: 0;
	font-size: 24px;
	font-weight: 100;
	font-family: 'Signika';
	color: white;
}

/* Page Container*/
article{
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 295px;
	padding-bottom: 10px;
    width: calc(100% - 30px);
	max-width: 1124px;
	height: 100%;
	margin: 0 auto;
	overflow: hidden;
}

/* Main Content */
#main{
	width: 100%;
	padding-right: 15px;
	height: 100%;
	float: left;
}

/* Blog Entry */
#main .post{
	margin-bottom: 45px;
	padding: 25px;
	padding-top: 45px;
}
#main .post .title{
	font-size: 52px;
	font-family: 'Signika';
	font-weight: 300;
	text-transform: capitalize;
}
#main .post .title a{
	color: black;
	text-decoration: none;
}
#main .post .title a:hover{
	color: rgba(0, 0, 0, 0.65);
}
#main .post .date{
	font-size: 18px;
	line-height: 0;
	font-family: 'Signika';
	font-weight: 300;
	text-transform: uppercase;
}
#main .post:nth-of-type(2n) .title, #main .post:nth-of-type(2n) .date{
	padding-right: 15px;
	text-align: right;
}
#main .post .banner img{
	width: 50%;
	max-width: 470px;
	float: left;
	padding-right: 15px;
	padding-bottom: 15px;
}
#main .post:nth-of-type(2n) .banner img{
	float: right;
}

#main .post .content{
	width: auto;
	padding-top: 5px;
	font-size: 22px;
}

#main .button{
	width: 100%;
	line-height: 80px;
	font-size: 22px;
	border: none;
	background: #3498db;
	text-align: center;
	margin-top: 15px;
}
#main .button:hover{
	background: #2980b9
}
#main .button a{
	color: white;
	text-decoration: none;
}

/* Responsiveness
=============================*/
/* Mobile */
@media screen and (max-width: 845px){
    header nav .menu-toggle{
        display: initial;
        position: fixed;
        left: 20px;
        top: 0;
        font-size: 26px;
        line-height: 65px;
        font-family: 'SegoeMDL2';
        color: #fff;
        -webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
    }
	header .logo h1{
		font-size:  18px;
		line-height: 43px;
	}
	header nav{
		position: fixed;
		top: 65px;
		left: -100%;
		width: 75%;
		max-width: 250px;
		height: 100%;
		margin: 0;
		-webkit-transition: all 200ms ease-in-out;
        -moz-transition: all 200ms ease-in-out;
        -o-transition: all 200ms ease-in-out;
        -ms-transition: all 200ms ease-in-out;
        transition: all 200ms ease-in-out;
		background: #3498db;
	}
	header .open{
		left: 0;
	}
	header nav ul{
		width: 100%;
		padding: 0;
		margin: 0;
	}
	header nav ul li {
		display: block;
		width: 100%;
		height: 24px;
		padding: 0;
		margin: 0;
		padding-left: 25px;
		font-size: 18px;
		text-align: left;
	}
	#title{
		height: 65px;
		visibility: hidden;
	}
	#title h1{
		font-size: 26px;
		line-height: 80px;
	}
	#title h2{
		display: none;
	}
	article{
	    padding-top: 45px;
	}
	#main{
		max-width: 100%;
		padding: none;
		border-right: none;
	}
	#main .post .banner img{
		width: 100%;
		max-width: 100%;
	}
	#main .post:nth-of-type(2n) .title, #main .post:nth-of-type(2n) .date{
		padding-right: 0;
		text-align: left;
	}
	#main .post:nth-of-type(2n) .banner img{
		float: left;
	}
}