/* General */

body {
	margin: 0;
	background: #3a70b6;
}

h1, h2, h3, h4 {
	margin: 0;
}

img {
	border: 0;
}

.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}


/* Page */

#page {
	margin: 0 auto;
	width: 1004px;
	background: url("/wp-content/themes/airplane-theme/images/page.jpg") no-repeat;
}


/* Header */

#header {
	width: 1004px;
	height: 450px;
	position: relative;
}

	/* Header - Info */

	#header #header-info {
		position: absolute;
		top: 45px;
		left: 40px;
	}

	#header #header-info h1 {
		color: #c8d3e4;
		font: normal 32px Times New Roman;
		padding-bottom: 60px;
	}

	#header #header-info h1 a {
		color: #c8d3e4;
		text-decoration: none;
	}

	#header #header-info .description {
		color: #c8d3e4;
		font: normal 20px Times New Roman;
		width : 900px;
	}


/* Main */

#main {
	width: 1004px;
}

	/* Main - Content */

	#content {
		float: left;
		width: 770px;
		padding-left: 10px;
	}

	/* Main - Content - Post */

	#content .post {
		float: left;
		margin-bottom: 30px;
		width: 760px;
		padding: 10px;
		background: url("/wp-content/themes/airplane-theme/images/background.png");
		border: 1px solid #173980;
	}

		/* Post - Title */

		#content .post .post-title {
			width: 700px;
			padding-right: 60px;
			height: 50px;
			background: url("/wp-content/themes/airplane-theme/images/post-title.png") no-repeat right top;
			color: #c8d3e4;
			font: normal 11px Verdana;
		}

		#content .post .post-title a {
			color: #c8d3e4;
			text-decoration: none;
		}

		#content .post .post-title a:hover {
			text-decoration: underline;
		}

		#content .post .post-title .post-date {
			float: left;
			background: #173980;
			color: #c8d3e4;
			text-align: center;
			text-transform: lowercase;
			height: 0px;
			margin-right: 10px;
			width: 0px;
			font: bold 13px Verdana;
			border: 1px solid #3a70b6;
		}

		#content .post .post-title .post-date span {
			margin: 3px 0 1px 0;
			display: block;
			font-size: 17px;
		}

		#content .post .post-title h2 {
			padding-bottom: 3px;
			color: #c8d3e4;
			font: bold 18px Times New Roman;
		}

		#content .post .post-title h2 a {
			color: #98c3fb;
			text-decoration: none;
		}

		#content .post .post-title h2 a:hover {
			text-decoration: underline;
		}
			.view {
	float:  left;
	text-align: left;
	padding: 0px 0px 0px 28px;
}

		/* Post - Entry */

		#content .post .post-entry {
			font: normal 11px/18px Verdana;
			color: #ffffff;
			padding: 0 5px;
			width: 728px;
			text-align: justify;
		}

		#content .post .post-entry a {
			color: #4e97f4;
			text-decoration: none;
		}

		#content .post .post-entry a:hover {
			text-decoration: underline;
		}

		#content .post .post-entry .picture {
			margin: 0 10px 10px 0;
			float: left;
		}

		#content .post .post-entry .more-link {
			font: bold 14px/14px Verdana;
			color: #a9c4e7;
			float: right;
			margin-bottom: 5px;
		}

		#content .post .post-entry .more-link a {
			color: #a9c4e7
			text-decoration: none;
		}

		#content .post .post-entry .more-link a:hover {
			text-decoration: underline;
		}

		/* Post - Info */

		#content .post .post-info {
			padding: 10px 5px 0 5px;
			width: 570px;
			clear: both;
			font: bold 11px Verdana;
			color: #c8d3e4;
		}

		#content .post .post-info a {
			color: #c8d3e4;
			text-decoration: none;
		}

		#content .post .post-info a:hover {
			text-decoration: underline;
		}

		/* Post - Comments */

		#content .post h3 {
			color: #c8d3e4;
			font: normal 17px Verdana;
			margin: 20px 5px 10px 5px;

		}

		#content .post .comments {
			margin: 0 5px;
			font: normal 11px/18px Verdana;
			color: #ffffff;
		}

		#content .post .comments ol {
			margin: 10px 0;
			padding-left: 25px;
		}

		#content .post .comments ol li {
			padding: 5px;
		}

		#content .post .comments ol li a {
			color: #4e97f4;
			text-decoration: none;
		}

		#content .post .comments ol li a:hover {
			text-decoration: underline;
		}

		#content .post .comments ol li.alt {
			background: #173980;
		}

		#content .post .comments ol li cite {
			color: #4e97f4;
			font-style: normal;
			font-weight: bold;
		}

		#content .post .comments ol li cite a {
			color: #4e97f4;
			text-decoration: none;
		}

		#content .post .comments ol li cite a:hover {
			text-decoration: underline;
		}

		#content .post .comments ol li .commentmetadata a {
			color: #4e97f4;
			text-decoration: none;
		}

		#content .post .comments ol li .commentmetadata a:hover {
			text-decoration: underline;
		}

		#content .post #commentform {
			margin: 0 5px;
			font: normal 11px/18px Verdana;
			color: #ffffff;
		}

		#content .post #commentform a {
			color: #4e97f4;
			text-decoration: none;
		}

		#content .post #commentform a:hover {
			text-decoration: underline;
		}

	/* Main - Content - Navigation */

	#content .navigation {
		font: bold 11px/25px Verdana;
		color: #ffffff;
		float: left;
		margin-bottom: 30px;
		width: 600px;
	}

	#content .navigation a {
		width: 150px;
		background: url("/wp-content/themes/airplane-theme/images/background.png");
		border: 1px solid #173980;
		text-align: center;
		display: block;
		color: #ffffff;
		text-decoration: none;
	}

	#content .navigation a:hover {
		text-decoration: underline;
	}

		#content .navigation .navigation-previous {
			float: left;
		}

		#content .navigation .navigation-next {
			float: right;
		}

	/* Main - Sidebar */

	#sidebar {
		float: left;
		width: 200px;
		font: normal 11px/18px Verdana;
		color: #ffffff;
		padding-left: 14px;
		margin-bottom: 20px;
	}

	#sidebar a {
		color: #4e97f4;
		text-decoration: none;
	}

	#sidebar a:hover {
		text-decoration: underline;
	}

	#sidebar #sidebar-left {
		float: left;
		width: 180px;
	}

	#sidebar #sidebar-right {
		float: right;
		width: 180px;
	}

	#sidebar .sidebar-box {
		background: url("/wp-content/themes/airplane-theme/images/background.png");
		border: 1px solid #173980;
		margin-bottom: 10px;
	}

		/* Sidebar - Titles */

		#sidebar h3 {
			padding-left: 29px;
			font: bold 15px/28px Verdana;
			color: #c8d3e4;
			background: #173980 url("/wp-content/themes/airplane-theme/images/sidebar-title.png") no-repeat 5px center;
			border-bottom: 1px solid #173980;
		}

		/* Sidebar - Menus */

		#sidebar ul {
			margin: 0;
			padding: 0;
			list-style-type: none;
		}

		#sidebar ul li {
			color: #c8d3e4;
			padding: 5px 5px 3px 15px;
			font: bold 11px/18px Verdana;
			border-top: 1px solid #4e97f4;
		}

		#sidebar ul li a {
			color: #c8d3e4;
			text-decoration: none;
		}

		#sidebar ul li a:hover {
			text-decoration: underline;
		}

		#sidebar ul li ul {
			display: none;
		}

		/* Sidebar - Forms */

		#sidebar #searchform {
			margin: 0 auto;
			padding: 15px 10px;
			text-align: center;
		}

		#sidebar #searchform #s {
            width: calc(100% - 36px);
            box-sizing:border-box;
            height: 28px;
            vertical-align:middle;
			/* width: 145px; */
		}

        #searchsubmit {
            width: 36px;
            box-sizing:border-box;
            height: 28px;
            vertical-align:middle;
        }

		/* Sidebar - Texts */

		#sidebar .textwidget {
			padding: 5px;
		}



/* Footer */

#footer {
	width: 984px;
	background: url("/wp-content/themes/airplane-theme/images/background.png");
	border: 1px solid #173980;
	color: #ffffff;
	font: normal 11px/35px Verdana;
	text-align: center;
	margin: 0 10px 20px 10px;
    clear: both;
    line-height:2;
}

#footer a {
	color: #4e97f4;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}


#wp_page_numbers ul, #wp_page_numbers li, #wp_page_numbers a {
    background: url('/wp-content/plugins/wp-page-numbers/stylish/img/bkg.gif') center left repeat-x;
    padding: 0;
    margin: 0;
    border: none;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    list-style: none;
    text-transform: none;
    text-indent: 0px;
    font-variant: normal;
    text-align: left;
    line-height: 12px;
    letter-spacing: 0px;
    word-spacing: 0px;
    font-size: 12px;
    font-family: Arial;
    color: white;
    font-weight: bold;
}

#wp_page_numbers {
    float: left;
    margin: 0 0 30px 0;
    width: 100%;
    border: 1px solid #3e89a2;
    background: url('/wp-content/plugins/wp-page-numbers/stylish/img/bkg.gif') center left repeat-x;
}
#wp_page_numbers ul {
    width: 100%;
}
#wp_page_numbers li {
    float: left;
    display: block;
}

#wp_page_numbers a {
    padding: 6px;
    padding-left: 4px;
    padding-right: 4px;
    display: block;
}

#wp_page_numbers li a:hover {
    text-decoration: underline;
    background: #95c9da;
    color: #000;
}

#wp_page_numbers li.space {
    padding: 6px;
}

#wp_page_numbers li.active_page a {
    padding: 6px;
    padding-left: 8px;
    padding-right: 8px;
    color: white;
}
#wp_page_numbers li.active_page a:hover  {
    color: #fff; /* IE fix */
}

#wp_page_numbers li.page_info {
    float: left;
    display: block;
    padding: 6px;
    padding-right: 8px;
    font-size: 11px;
}

.ngg-galleryoverview{overflow:hidden;margin-top:10px;width:100%;clear:both;display:block!important}.ngg-galleryoverview .desc{margin:0 10px 10px 0;padding:5px}.ngg-gallery-thumbnail-box{float:left;max-width:100%!important}.ngg-template-caption .ngg-gallery-thumbnail-box{margin-right:0}.ngg-gallery-thumbnail{text-align:center;max-width:100%!important;background-color:#FFF;border:1px solid #A9A9A9;margin:5px}.ngg-template-caption .ngg-gallery-thumbnail{margin-right:0}.ngg-gallery-thumbnail a{display:block;margin:4px;border:none;box-shadow:none}.ngg-gallery-thumbnail img{display:block;margin:0;padding:0;position:relative;max-width:100%!important;height:auto}.ngg-gallery-thumbnail img:hover{background-color:#A9A9A9}.ngg-gallery-thumbnail span{font-size:90%;padding-left:5px;display:block}.ngg-galleryoverview ul li:before{content:''!important}.ngg-gallery-list{list-style-type:none;padding:0!important;text-indent:0!important}.ngg-galleryoverview div.pic img{width:100%;border:0;border-radius:0}.ngg-gallery-list li{float:left;margin:0 2px!important;overflow:hidden}.ngg-gallery-list li a{border:1px solid #CCC;display:block;padding:2px}.ngg-gallery-list li.selected a{-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#000}.ngg-gallery-list li img{height:40px;width:40px}li.ngg-next,li.ngg-prev{height:40px;width:40px;font-size:3.5em}li.ngg-next a,li.ngg-prev a{padding-top:10px;border:none;text-decoration:none}

.post-entry a[href$=".jpg"], .post-entry a[href$=".jpeg"], .post-entry a[href$=".png"], .post-entry a[href$=".gif"] {
    cursor: zoom-in;
}

.l a { text-decoration: underline !important; word-wrap: break-word; }

#content .alist {
    border: none;
    padding: 0;
    background: none;
}

@media (max-width:1003px) {
    #page {
        width: 100%;
        background-size: 100%;
        background-position: top right;
    }

    #header {
        width: 100%;
        height: auto;
    }

    #header #header-info {
        position: relative;
        top: 0; left: 0;
        padding: 30px 20px;
    }

    #header #header-info{background:rgba(0,0,0,0.7);}

    #header #header-info .description{width:100%;}

    #main{box-sizing: border-box;width:100%;background-color:#4471B8;}
    #content{box-sizing: border-box;width:100%;float:none;padding-left:0}
    #content .post{box-sizing: border-box;width:100%;float:none;border:none;}
    #content .post .post-title{width:100%;box-sizing: border-box; height:auto;}
    #content .post .post-entry{box-sizing: border-box;width:100%}

    #sidebar{float:none;box-sizing: border-box;width:100%}
    #sidebar ul li{font-size:14px;line-height:24px;}
    #sidebar ul li {padding: 8px 8px 5px 15px}

    #content .post .post-entry {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    #content .post .post-title h2 {
        font-size: 24px;
        line-height: 36px;
    }

    #wp_page_numbers {float:none;box-sizing: border-box}
    #wp_page_numbers li.page_info, #wp_page_numbers ul, #wp_page_numbers li, #wp_page_numbers a{font-size:14px}

    table, img{
        max-width:100%;
        height: auto;
    }

    #sidebar{padding:0 15px}
    #sidebar #sidebar-right{float:none;box-sizing: border-box;width:100%}

    #footer{float:none;box-sizing: border-box;width:auto;margin: 0 10px 20px 10px;}
}
