/*
Theme Name: SHP Default (Blankslate) (PCS)
Author: SHP
Description: Based on blankslate by tidythemes. 
Version: 4.0.3
*/

@-ms-viewport{
  width: device-width;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{float:right}.alignleft{float:left;}.aligncenter{margin: 0 auto;display: block;}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

/* restyling default font/paragraph stuff for the copy only */
#page-inner{
	font-size: 16px;
}
body{font-family: 'Helvetica Neue', Helvetica,Arial,  “Lucida Grande”, sans-serif;}
@font-face{
	font-family:'font-awesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'),
    url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
	url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}


h1, h2, h3, h4, h5, p {
	line-height: 1.25em;
	margin:0 0 .4em;
}
h1{font-size: 30px;font-weight: bold;}
h2{font-size: 24px;font-weight: bold;    color: #3f4e92;}
h3{font-size: 18px;font-weight: bold;  color: #3f4e92;}
h4{font-size: 18px; color: #3f4e92;}
h5{font-size: 16px;}
p{margin:1em 0;}

/* play nice with padding */
#page-inner h1:first-child, #page-inner h2:first-child, #page-inner h3:first-child, #page-inner h4:first-child, #page-inner h5:first-child, #page-inner p:first-child { margin-top:0; }
#page-inner h1:last-child, #page-inner h2:last-child, #page-inner h3:last-child, #page-inner h4:last-child, #page-inner h5:last-child, #page-inner p:last-child { margin-bottom:0; }

 strong,b{font-weight:bold;}
 i, cite, em, var, address, dfn{font-style:italic;}
 ul li{list-style: disc inside;line-height:1.3em;    margin-bottom: 1em;}
 ol li{list-style:decimal inside;line-height:1.3em;    margin-bottom: 1em;}
 iframe{max-width: 100%;}
 hr {    margin-bottom: 1.5em;}
-wp{max-width:100%;height:auto;}
 p.wp-caption-text {    color: #333;    font-size: 17px;    margin: 0;    text-align: center;}
 div.wp-caption{width:auto !important;}
 img{max-width:100%;height:auto;}
a{color: #3f4e92;}
a:hover{color: #008fd2;}


/* Columns */
.half{
	width:46%;
	display:inline-block;
	margin:0 1%;
	vertical-align: top;
}
.third{
	width:30%;
	display:inline-block;
	margin:0 2%;
	vertical-align: top;
}
.half img, .third img{width:100%}
 .half p, .third p{font-size:12px;margin-top: 0;}
.row div:first-child{margin-left:0;}
.row div:last-child{margin-right:0;}
.row{    margin-bottom: 1.5em;}

a.post-edit-link {
    display: block;
    margin: 1em 0;
    position: fixed;
    left: 0;
    text-decoration: none;
    color: #B1B1B1;
}
.button{
    background: #f9f9f9;
    color: #fff;
    font-weight: 500;
    cursor:pointer;
    box-sizing:border-box;
    border:2px solid transparent;
    font-size: 18px;
    padding:6px;
}
.button:hover{
    color:#312043;
    border-color:#312043;
    background: #fff;
}
.button:active{
    outline:none;
}

html,body,#wrapper{min-height:100vh;}

/* Element stuff, above 1000px wide, normal desktop display */

/* header */
#header{

    background: #f5f5f5;
}
header section *{
    font-size: inherit;
    text-decoration: inherit;
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
}
#branding {
    padding: 15px;
    padding-left: 0;
    max-width: 900px;
    display: inline-block;
    vertical-align: top;
}
#logo img {
    float: left;
    width: 32%;
}
#logo:hover {
    -webkit-filter: saturate(150%);
    filter: saturate(150%);
}
#site-title {
    font-size: 40px;
    text-decoration: none;
    color: #3f4e92;
    margin-bottom: 12px;    
    font-family:'Merriweather Sans', 'Helvetica Neue', Helvetica,Arial,  “Lucida Grande”, sans-serif;
}
#site-title a {
    padding-bottom: 3px;
    border-bottom: 2px solid #3f4e92;
}
#headerInfo {
    font-size: 22px;
    font-weight: 300;
    line-height: 34px;
    padding-top: 8px;
    
    font-family:'Merriweather Sans', 'Helvetica Neue', Helvetica,Arial,  “Lucida Grande”, sans-serif;
}
#social{
    width:100px;
    display: inline-block;
    vertical-align: top;
    text-align: right;  
    margin-top: 10px;
    font-family: font-awesome;
}
#social a {
    text-decoration: none;
    font-size: 50px;
    display: inline-block;
    vertical-align: top;
    max-width: 50px;
}
#social a:hover {
    -webkit-filter: brightness(1.1);
    filter: brightness(1.1);
}
#social .red{
    color: #E23F0A;
}
span.subsocial {
    font-size: 11px;
    line-height: 1em;
    max-width: 44px;
    display: block;
    margin-left: auto;
    margin-right: 0;
    text-align: center;
}
/* navmenu */
#menu {
    vertical-align: middle;
    text-align: center;
    background: #0d7bae;
    clear: both;
    z-index: 10;
    position: relative;
    transition:.8s ease-out;
}
#menu:hover{    
    transform: scale(1.02);
    box-shadow: 0 2px 12px -3px;
}

#menu > div{
	width: 100%;
    display: table;
    border-collapse: collapse;
    border: none;
}
#menu ul{display:table-row;}
#menu li{
	display:table-cell;
    margin:0 auto;
	vertical-align:middle;
}
#menu a {
    text-decoration: none;
    line-height: 50px;
    display: block;
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    padding: 0 15px;
    line-height: 150%;
}

#menu a:hover{
    background: #008fd2;
}
#menu .current_page_item a{
}

li.menu-item-has-children {position: relative;}

#menu ul.sub-menu {
    display: none;
    position: absolute;
    width:100%;
    z-index: 100;
    background: #0d7bae;
}
#menu .menu-item-has-children:hover > ul.sub-menu{display: block;}

#menu ul.sub-menu li{
    display: block;
    width:100%;
}

/*.*/

#wrapper{
	max-width:1000px;
	margin:0 auto;
    	box-shadow: 1px 0 14px -4px #000;
	border: 20px!important;
	border-image-source: url(http://pcsoneonta.com/wp-content/uploads/2017/12/pcs3.gif)!important;
	border-image-slice:20;
 	border-image-width: 20px !important;
 	border-image-outset: 10 !important;
 	border-image-repeat: repeat !important;
	
}
.copy {
    padding: 2em;
border-image: url(http://pcsoneonta.com/wp-content/uploads/2017/12/pcs3.gif) 30 stretch !important;
}
#gallery-container{
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f6f8f9+0,e5ebee+50,d7dee3+51,f5f7f9+100;White+Gloss */
background: #f6f8f9; /* Old browsers */
background: -moz-linear-gradient(top,  #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=0 ); /* IE6-9 */


}

/* Message of the Day */
#motd {
    position: absolute;
    top: 120px;
    right: 0;
    max-width: 300px;
    text-align: center;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #000;
    margin: 10px;
    z-index: 1000;
    transition: 1s right cubic-bezier(0.49, 2.51, 0.71, 1.03), 1s transform cubic-bezier(0.74, 1.76, 0.71, 1.13);
    transform: scale(1);
/*    animation: 1s dynamic-entry;*/
}
#motd.shy{
    right:-320px;
    transform: scale(.7) rotate(10deg);
}
#motd.shrink{
    transform:scale(0);
    transition:.2s ease-out;
}
#motd .closebutton {
    content: "x";
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 12px 12px 6px;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
    border-bottom-left-radius: 15px;
    padding-left: 14px;
    z-index: -2;
    font-weight: bold;
    z-index: 1;
    cursor: pointer;
}
.motd_text{
    padding: 6px;
}



/* Blog / FB feeds */
.home #lower{
    display: -ms-flexbox;display: flex;
    -ms-flex-pack: distribute;justify-content: space-around;
}
.home #feeds, .home #lower .copy{
    width:49%;
    flex-basis: 50%;
    display: inline-block;
}
#blog {
    display: none;
    padding: 15px;
    background: #b10008;
    border-radius: 5px;
}
#blog hr:last-of-type {
    display: none;
}
section.entry-meta {
    font-weight: 100;
    margin-bottom: 4px;
    font-size: 20px;
}
.subpage-tabs{
	text-align:center;
    padding-top:1em;
	margin-bottom: -4px; /* strange */
}
.tab {
    width: 49%;
    display: inline-block;
    margin: 0;
    border-bottom: 0;
    border-radius: 15px;
    background: #E4E3E3;
    color: black;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    transition: background .2s linear;
    cursor: pointer;
    padding: 10px;
    box-sizing: border-box;
}
.tab span { padding:10px;   display: block;}
.tab.active,.tab:hover{ /* visible as in front of */
	position:relative;
	z-index:2;
	color:black;
	background-color: #F1F1F1;
}
.tab:active{
    background: #fff;
    transition: none;
}

/* footer */
#footer{
	padding:20px;
}
#copyright a{
	font-weight:bold;
	text-decoration:none;
	padding: 10px;
}
#copy-left{
	text-align:left;
}
#copy-middle{
	text-align:middle;
}
#copy-right{
	text-align:right;
	margin-top: -1em;
}



/* Contact Form 7 Plugin */
div.wpcf7-form{    
/*    text-align: center;*/
}
form.wpcf7-form input, form.wpcf7-form textarea {
    max-width: 300px;
    display: block;
}

/* site becomes responsive under 1000px, desktop */
@media (max-width:1000px){
	#facebook-container{
		box-sizing: border-box;
		overflow:hidden;
	}
    
    #site-title {
        font-size: 3.4vw;
    }
    #headerInfo {
        line-height: 4.2vw;
        font-size: 2.5vw;
    }
    #menu:hover{
        transform:none;
    }
}

/* mobile version */
#dropdown-mobile-button{display:none;}

@media (max-width:600px){
	.third {
		width: 100%;
		margin: 0;
		display: block;
		margin:0 1.5%;
	}
	#footer {
        padding: 10px 0;
    }
    
    /* Header scaling */
    #branding {
        padding: 10px;
        padding-left: 0;
        margin: 6px 0;
    }
    #site-title {
        font-size: 6.5vw;
        margin-bottom: 6px;
	text-align:center;
    }
    #site-title a {
        padding-bottom: 1px;
        border-width: 1px;
    }
	#headerInfo {
   	 line-height: 6.4vw;
 	   font-size: 4.2vw;
 	   text-align: center;
	}
    .home #lower {
        flex-wrap: wrap;
    }
    .home #feeds, .home #lower .copy {
        width: auto;
        flex-basis: 100%;
        display: block;
    }
    .home #feeds {
        order: 2;
    }
    .copy {
        padding: 1em;
    }
    h2 {
        font-size: 17px;
    }
    h2 {
        font-size: 15px;
    }
    
    /* Fix submenus */
	#menu ul.sub-menu {
        display: block;
        position: inherit;
    }
	
	/* switch to dropdown */
    #dropdown-mobile-button {
        display: block;
        border: none;
        outline: none;
        margin: 5px 0;
        width: 100%;
        background: #3f4e92;
        margin-top: 0;
        height: 50px;
        padding: 5px;
        margin-bottom: 10px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        box-shadow: 0 0 4px -1px;
    }
	#dropdown-mobile-button:active{
		border:none;
		background:#fbfbfb;
	}
	#dropdown-mobile-button img{
		width: 40px;
		float: right;
	}

    #menu {
        left: 0;
        width: 100%;
        top: 50px;
        height: auto;
        overflow: hidden;
        border-bottom: solid 3px #222;
        position: fixed;
        z-index: 1000;
        display: none;
        max-height: 76%;
        overflow-y: scroll;
    }
	#menu li{
		display:block;
		width:100%;
		border:0;
		background:#2f2f2f;
        margin:0;
	}
	#menu li:nth-child(odd){
		background: #3f3f3f;
	}
	#menu li a{
		color: #ddd;
		font-size: 1.5em;
		color: white;
	}

	
	#menu li a:active{color:#fff;}
	#button-name{   
		color:white;
		float: left;
		font-size: 5vw;
		padding: 0 5vw;
		line-height:40px;
	}
	.current_page_item{}
body {
    margin-top: 50px;
}
}


@media (max-width:300px){
    /* disable Header scaling */
#site-title {
    font-size: 20px;
}
#site-title a{
	border:none;
}
#headerInfo {
    line-height: 1.5em;
    font-size: 14px;
}
}