/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

   
body{
	font-family: 'Old Standard TT', serif;
}
   
.wrapper{
	max-width:960px;
	margin:0 auto;
}

header{
	min-height: 232px;
	background: #fff;
}

#logo{
	text-align:center;
	padding:30px 0px 0px 0px;
}

#logo img{
	max-width:100%;
	max-height:100%;
}

nav{
	text-align: center;
}

nav ul{
	margin:0px;
	display: inline-block;
	list-style:none;
	text-align:center;
	margin: 20px 0px 0px 0px;
	border-top: 1px solid #909090;
	padding:25px 0px 40px 0px;
}

nav ul li{
	font-size:16px;
	display:inline-block;
	text-transform:uppercase;
	padding:0px 21px;
}

nav ul li:first-child{
	padding:0px 21px 0px 0px;
}

nav ul li:last-child{
	padding:0px 0px 0px 21px;
}

nav ul li a{
	color:#414547;
	text-decoration:none;
}

.js .selectnav { display: none; margin: 0 auto; }


#content{
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
}

/*--------------------------------centre-page-------------------------------*/

#content{
	padding:64px 10px;
}

#content #text{
	max-width:940px;
	padding:14px 18px 12px 18px;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	background:url(../images/white-bg.png);
}

#text h2{
	margin:0px;
	color:#1a1a1a;
	font-size:36px;
	font-weight:normal;
	text-transform:uppercase;
	padding:6px 0px 0px 0px;
}

#text p{
	margin:0px;
	color:#222222;
	font-size:14px;
	line-height:160%;
	padding:12px 0px 12px 0px;
}

#content #small-foot{
	max-width:940px;
	width: 100%;
	display:inline-block;
	margin:13px 0px 0px 0px;
	padding:5px 18px;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	background:url(../images/white-bg.png);
}

#small-foot span{
	float:left;
	color:#222222;
	font-size:12px;
}

#small-foot a{
	color:#222222;
	text-decoration: none;
}

#small-foot span.right{
	float:right;
}


/*--------------------------------left-page------------------------*/

.page-template-page-left-php #text-con, .page-template-page-right-php #text-con, .blog #text-con, .single #text-con{
	max-width:380px;
}

.page-template-page-left-php #content #text, .page-template-page-right-php #content #text, .blog #content #text, .single #content #text {
	width: 100%;
}

.page-template-page-left-php #content #small-foot, .page-template-page-right-php #content #small-foot, .blog #content #small-foot, .single #content #small-foot{
	width: 100%;
	display:inline-block;
	margin:3px 0px 0px 0px;
	padding:5px 12px 5px 7px;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
}

/*--------------------------------right-page------------------------*/


.page-template-page-right-php #text-con{
	float:right;
}

/*--------------------------------single-post-page------------------------*/

#text a{
	color:#0e0e0e;
	font-size:14px;
	display:inline-block;
	margin:0px 0px 8px 0px;
}

#text a.more-padding{
	padding:12px 0px 10px 0px;
}

/*--------------------------------blog-page-------------------------------*/


.blog #text h2{
	text-align: center;
	font-size: 36px;
}


#sub-text ul{
	margin:0px;
	list-style:none;
	text-align:center;
	padding:7px 0px 0px 0px;
}

#sub-text ul li a{
	color:#222222;
	font-size:16px;
	line-height:160%;
	text-decoration:none;
	margin:12px 0px 12px 0px;
}


.navigation .wp-paginate li{
	font-size:15px;
	display:inline-block;
	background: none;
	border: none;
	padding:12px 2px 0px 2px;
}

.navigation .wp-paginate li a{
	color:#222222;
	background: none;
	border: none;
	text-decoration:none;
}

.navigation .wp-paginate li a:hover{
	text-decoration:underline;
}

.navigation .wp-paginate .current{
	border: none;
	margin-right: 0px;
}

.wp-paginate span{
	padding: 0px;
	background: none;
}

.wp-paginate span.current{
	color:#222222;
	background: none;
}








/* ==========================================================================
   Media Queries
   ========================================================================== */
   
@media only screen and (max-width: 1200px) {
	
}

@media only screen and (max-width: 1023px) {
	.wrapper {
		max-width: 768px;
	}
	
	header{
		min-height: 200px;
	}
}

@media only screen and (max-width: 767px) {
	.wrapper {
		max-width: 600px;
	}
	
	nav ul li{
		font-size:15px;
		display:inline-block;
		text-transform:uppercase;
		padding:0px 10px;
	}
	
	nav ul li:first-child{
		padding:0px 10px 0px 0px;
	}
	
	nav ul li:last-child{
		padding:0px 0px 0px 10px;
	}
}

@media only screen and (max-width: 500px) {

	.page-template-page-left-php #text-con, .page-template-page-right-php #text-con, .blog #text-con, .single #text-con{
		max-width: 100%;
		float: none;
	}
}

@media only screen 
and (min-width : 320px) 
and (max-width : 480px) {
	
#logo { 	
	border-bottom: 2px solid #909090;
	padding:30px 0px 25px 0px;
	margin: 0px auto;
	max-width: 300px;
}
 
.js #menu-main-menu { display: none; }
.js .selectnav { display: block; width: 300px; margin: 20px auto 0; }

}

@media only screen and (max-width: 270px) {  

}

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.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(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !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: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    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;
    }
}