/*   
Theme Name: SCPL - Switzerland County Public Library
Theme URI: http://www.scpl.us
Description: Theme for SCPL
Author: Celsius, llc
Author URI: http://www.celsius.ws
Version: 1.0
*/


/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

body {
    font-family: 'Open Sans';
    line-height: 1.6em;
    font-size: 15px;
}

.align-left {
    float: left;
    margin-right: 10px;
}

.align-right {
    float: right;
    margin-left: 10px;
}

.entry ul {
    list-style: circle;
    padding-left: 20px;
}

.entry ul li {
	margin-bottom: 7px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald';
    color: #0E76BC;
    text-transform: uppercase;
}

div.post h2 {
	padding-top: 20px!important; 
}

.breadcrumbs {
    background-color: #f1f1f1;
    padding: 4px;
}

.breadcrumbs a {
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #777777;
    text-decoration: underline;
}

a {
    color: #0E76BC;
}

header {
    margin: 20px 0;
}

p.tag {
    color: #0E76BC;
    font-style: italic;
    font-size: 18px;
    line-height: 1.7em;
    text-align: right;
    margin-top: 30px;
    font-weight: 300;
}

#main-body-home {
    box-shadow: 40px 0px 70px 0px #dedede;
    padding-top: 40px;
}

a.link-block {
    display: block;
}

div.block-wrapper {
    text-align: center;
    height: 200px;
    margin: 15px 7px;
    border: 1px solid #f1f1f1;
    padding: 5px 10px 5px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0e76bc+0,009ec3+100 */
    background: rgb(14,118,188); /* Old browsers */
    background: -moz-linear-gradient(45deg,  rgba(14,118,188,1) 0%, rgba(0,158,195,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  rgba(14,118,188,1) 0%,rgba(0,158,195,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  rgba(14,118,188,1) 0%,rgba(0,158,195,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e76bc', endColorstr='#009ec3',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

div.block-wrapper:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9e00ad+0,cc37ae+100 */
    background: rgb(158,0,173); /* Old browsers */
    background: -moz-linear-gradient(45deg,  rgba(158,0,173,1) 0%, rgba(204,55,174,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  rgba(158,0,173,1) 0%,rgba(204,55,174,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  rgba(158,0,173,1) 0%,rgba(204,55,174,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e00ad', endColorstr='#cc37ae',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

div.block-wrapper h3 {
    font-family: 'Oswald';
    color: #ffffff;
    text-transform: uppercase;
   
}

div.block-wrapper h3 a {
    text-decoration: none;  
    color: #ffffff
}

section#slider {
    margin: 0px 0;
    padding: 60px 0;
    background-image: url('img/symphony.png');
    background-color: #EFE28F;
    
}

section#slider img {
    box-shadow: 0 0 20px 1px #dddddd;
}

div.contact.triplebox {
   width: 34%;
   padding-top: 35px;
}

section#lower {
    background-color: #444444;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 40px;
}

footer {
   background-color: #444444;
    color: #ffffff; 
}

#your-name2 {display: none;}
#your-name3 {display: none;}
#your-name4 {display: none;}

#google-map { 
    height: 350px; 
    margin: 0; 
    padding: 0; 
    border: 1px solid #aaaaaa;
    
}

div#standard-content {
    background-image: url('img/symphony.png');
    margin: 0 0;
    padding: 0 0;
}

div#default-content {
    min-height: 400px;
    background-color: #ffffff;
    padding: 30px;
}

div.left-body {
    padding-right: 40px;
}

aside.default-side {
    padding: 20px;
    text-align: left;
    padding-top: 40px;
    background-color: #f1f1f1;
}

a#lib-card-button {
    background-color: #ffd503;
    color: #0E76BC;
    padding: 10px 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Oswald';
    text-transform: uppercase;
}

a#lib-card-button:hover {
    color: purple;
}

img#fb-link {
    max-width: 218px;
    margin-top: 40px;
}

div#events-sidebar {
    margin-top: 45px;
}

div#events-sidebar a {
    text-decoration: none;
}

div.side-event {
    
    border-top: 1px solid #cdcdcd;
}

form.wpcf7-form input, form.wpcf7-form textarea {
	padding: 8px;
}

form.wpcf7-form input[type="submit"] {
	padding: 10px 40px;
	background-color: #0e76bc;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: bold;
	outline: 0;
	border: 0;
	border-radius: 3px;
}

form.wpcf7-form span label {
	display: block;
	font-size: 12px
}


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

.border-box, .box-sizing {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
}

.all-transitions {
    transition: all 0.5s ease;
}

.parallax-bg {    
    background-position: 100% 100%;
    background-repeat: repeat;
    background-attachment: fixed;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}
