/*
Theme Name: McMaster Daily News
Theme URI:
Author: iEve Multimedia
Author URI: http://ieve.ca/
Description: DailyNews Default Theme
License: All rights reserved. McMaster Office of Public Relations is the only authorized user.
Tags: mcmaster, mac, dailynews
*/
/*
 * 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.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 * AA EDIT
 */

/*::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
*/

/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

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

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding:0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   Primary styles
   Author: 
   ========================================================================== */
body {font-family: arial, helvetica, sans-serif;background-color:#E6E7E8;}
a, a:visited {color: #991A36;text-decoration: none;}
a:hover {text-decoration: underline;}
#container {
    width: 100%;
    background-color:#E6E7E8;
    border-top: 21px solid #77787B;
    height: auto;
}
.left {float:left;}
.right {float:right;}
.upper {text-transform: uppercase;}
.lower {text-transform: lowercase;}
.clearboth {clear:both;}
#content {width:949px; margin:0 auto;background-color:#fff; }

#masthead {padding: 16px 16px 16px 16px; }

#quick_links {
    position: relative;
    top: 52px;
    white-space: nowrap;
    width: 530px;
}

#quick_links  section {
    font-weight: bold;
    position: relative;
    font-size: 0.9em;
    float: left;
    line-height: 2.1em;
    margin-left: 70px;
}
#quick_links section a {
    text-decoration: none;
    color: #000;
}

#quick_links_form select {width:143px;}
#quick_links form {display:inline;}
#quick_links div {line-height: 2.1em; padding-right: 5px;}
#global_search {width:138px;}
.txt_right {text-align: right;}
#social_media {
    position: relative;
    /*left: 815px;
    top: -125px;*/
    letter-spacing: 0.7em;
    top: -2px;
    overflow: hidden;
    width: 145px;
}

#social_media img {
    height: 17px;
        width: 17px;
}
#logo {position:relative; top:-94px;}

#nav_top {

    position:absolute;
    z-index: 500;
    -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
                -khtml-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
                -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);

    width: 962px;
    background-color: #990033;

}

.triangle-r {
	border-color: transparent transparent transparent #222223;
	border-style:solid;
	border-width:12px;
	height:0;
	width:0;
	position: relative;
	left: 100%;
	top: 21px;
	z-index: 1; /* displayed under bubble */
}

#side_nav{
    background-color: #E0E0E0;
    width: 85px;

    font-family: 'Garamond',sans-serif;
    padding: 5px;

    color:#991A36;
    margin-top: 5px;
    -moz-box-shadow: 0 5px 10px 2px #9EA1A3;
    -webkit-box-shadow: 0 5px 10px 2px #9EA1A3;
    box-shadow: 0 5px 10px 2px #9EA1A3;
}
#side_nav ul {
    position: relative;
    top: 0;
    left: -40px;
}
#side_nav li { display: block; font-size: 0.95em; padding: 3px; width:80px;}

#side_wrapper {
    position: fixed;
    display: block;
    margin-top: -340px;
    top:100px;
    width: 90px;
    left:55px;
    z-index: 155;
    float: left;
}

#sidebar, #sharebar {
    z-index: 155;
    position: absolute;
    left: -100px;
}
#calendar{
    background-color: #fff;
    width: 85px;
    text-align: center;
    font-family: 'Garamond',sans-serif;
    padding: 5px;

    color:#991A36;
    -moz-box-shadow: 0 5px 10px 2px #9EA1A3;
    -webkit-box-shadow: 0 5px 10px 2px #9EA1A3;
    box-shadow: 0 5px 10px 2px #9EA1A3;
}
#calendar article {padding: 3px;}
#calender img, #calendar article {border-bottom: 1px solid #000; margin: 3px;}
#calendar_title {text-transform: uppercase;text-decoration: none; font-family: arial, helvetica, sans-serif;font-size:0.75em;}
#calendar article:last-child {border-bottom: 0px solid #000;}
.calendar_mon {font-size:0.75em;color: #000;text-transform: uppercase;}
.calendar_date {font-size: 1.6em; color: #7C0040;}
#calendar_large {width:624px;}
#calendar_add img{float:left;}
#calendar_add {font-size:0.95em;display:none;}
#calendar_add a {font-family: arial, helvetica, sans-serif;}
#calendar_add a:hover {text-decoration: none;}
#side_nav ul {list-style-type: none;}
#slider {
    position: relative;
    top: -54px;
    width: 949px;
    height: 248px;
}
.nivo-controlNav {
	/*position:absolute;
	left:93%;
    bottom: 1px;
    margin-left:-40px;*/ /* Tweak this to center bullets */

}

.nivo-controlNav a {
	display:block;
	width:22px;
	height:22px;
	background:url('./images/bullets.png') no-repeat;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
    left:89%;
    position: relative;
    bottom: -220px;
}
.nivo-controlNav a.active {
	background-position:0 -22px;
}

#main {
    position:relative;
    top: -62px;
    padding: 12px 0 12px 20px;
    margin:0;
    /*float: left;*/
}

#info {padding-bottom: 10px;}
#general_search{position: relative; top: -25px; right: 110px; bottom: -15px;   }
#search_box {
    background: transparent url('./images/search_dn.jpg') no-repeat;
    border:solid 0 #fff;
    padding: 10px 15px 10px 25px;
    width: 190px;
    max-width: 180px;
    color: #b0b2b3;
    letter-spacing: 0.1em;
    float:right;
    position: relative;

    outline: none;
}
#search_box_internal {
    background: transparent url('./images/search_dn.jpg') no-repeat;
    border:solid 0 #fff;
    padding: 10px 25px 10px 25px;
    width: 190px;
    max-width: 180px;
    color: #b0b2b3;
    letter-spacing: 0.1em;
}
#weather {

    color: #939598;
    font-size: 1.4em;
}

.temp {font-size: 1.5em; padding-left: 10px;}
.temp b {font-size: 0.8em; font-weight: lighter;}

#home_headlines {
    /** new style **/
    width: 550px;
    padding: 0 0 5px 0;
    float: left;
}
#home_headlines article:last-child {
    border-bottom: none;
}
#home_right {float:left; width: 350px;}
h3,h4 {color: #991A36; }
h3 a, h4 a {color: #991A36;}
h3 a:hover,h4 a:hover {text-decoration: none;}
#home_headlines h3, #home_right h3 {font-size: 1.7em; font-weight: lighter; margin-top:2px; margin-bottom: 2px;}
#home_headlines h4, #home_right h4 {font-size: 1.7em; font-weight: lighter; padding-top:2px; margin-bottom: 2px;}
#home_headlines article:first-child h3 {margin-top:0;}
#home_headlines article, #home_right article { padding-bottom: 15px; width: 329px; border-bottom: 1px solid #000;}
#home_headlines .media, #home_right .media {padding-top: 15px;}
#home_headlines article:first-child .media, #home_right article:first-child .media {padding-top:5px;}



.alert {
    background-color: #FDBB2F;
    display: block;
    border-bottom: 0 #fff;
    width: 329px;
    padding: 5px;
}

.alert h3 {font-size: 1.6em; font-weight:lighter; line-height: 0.9em;}

.read-more{padding-right: 15px; padding-top:5px;}

#worth_mentioning {
    background-color: #F2F2F2;
    padding: 10px;
    width:309px;
    margin-bottom: 15px;
}

#worth_mentioning h4 {font-size: 1.9em; font-weight: lighter; padding:0; margin:0;}
#worth_mentioning h4 a {color:#991A36;}
#worth_mentioning ul {color: #808285; position:relative; left: -20px; top: 0; margin-top: 2px;}

#worth_mentioning a {color: #808285; font-size: 1.1em}

#categories h2 {font-size: 2em; font-weight: lighter; margin-top:-8px; margin-bottom: 3px;color:#991A36;}
#categories {
    float:left;
    width: 215px;
    padding: 0 7px 10px 12px;
    display: block;
    position: relative;
}
/** new style **/
#info{padding-right:40px;}
#info img {position: relative; top:5px;}
#home_headlines {width: 530px;}
#main {margin-left: 25px;}
#home_headlines article, #home_headlines article .media img {width: 490px;}

#home_headlines article h3, #home_right article h3 {font-size:1.5em;}
/*#home_headlines article:last-child, #home_right article:last-child {border-bottom: 0 #fff;}*/
#home_headlines article, #home_right article {border-bottom:1px solid #B2B2B2;}
#worth_mentioning {background-color: transparent;padding-left:0;}
#worth_mentioning ul li {margin-bottom: 0.45em;}
.social_home {display:block;margin-top:15px;}
#home_section {padding-right:40px;margin-top:60px;}
#home_section h3 {border-bottom:2px solid #E1E1E1; color:#B1B3B6; padding-bottom:5px;font-weight:lighter;}
#social_media {color: #B1B3B6;width:auto;}
#social_media span {letter-spacing:0;}

#social_media img {vertical-align: middle;}
#section_list  {list-style-type: none;
    margin: 0;
    padding: 0;
    font-size:1.3em;
}
#section_list li {display:inline-block;margin-right:1.8em;}
#section_list a {color:#CDA2A9;}
#section_list a:hover {color:#990033;}
#calendar_title {text-transform: none;}
#calendar_title h4 {text-transform: none;display:inline-block;font-size: 2.5em;border-bottom: 1px solid #bcbdbd; padding-bottom: 5px;}
#calendar_title img {vertical-align:middle;margin-right: 25px;
    margin-left: 5px;}
#upcoming_calendar {padding:10px;padding-left:20px; padding-right:0;-webkit-box-shadow: 2px 5px 10px 2px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    2px 5px 10px 2px rgba(50, 50, 50, 0.75);
    box-shadow:         2px 5px 10px 2px rgba(50, 50, 50, 0.75);width:305px;margin-bottom:15px;}
#upcoming_calendar article {margin-top:10px;width:300px; border-bottom:none;}
.calendar_date_container {text-align: center;float:left;margin-right:25px;}
.calendar_event_info {float:left; margin-top:5%;width:200px;}
.calendar_mon {font-family: Garamond;
    letter-spacing: 0.1em;font-size:1em;}
.calendar_time {color:#990033;font-weight:bold;font-size:0.8em;}
.calendar_date{font-size: 2em;
    color: #990033;font-family:none;}

.sharrre .box{
    float:left;
}
.sharrre .count {
    color:#444444;
    display:block;
    font-size:17px;
    line-height:34px;
    height:34px;
    padding:4px 0;
    position:relative;
    text-align:center;
    text-decoration:none;
    width:50px;
    background-color:#eee;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
}
.sharrre .share {
    color:#FFFFFF;
    display:block;
    font-size:11px;
    height:16px;
    line-height:16px;
    margin-top:3px;
    padding:0;
    text-align:center;
    text-decoration:none;
    width:50px;
    background-color:#9CCE39;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
}
.sharrre .buttons {
    display:none;
    position:absolute;
    margin-left:50px;
    z-index:10;
    background-color:#fff;
}
.sharrre .button {
    float:left;
    max-width:50px;
    margin-left:10px;
}

@media only screen and (min-width: 480px) {
    /* Style adjustments for viewports 480px and over go here */

}
p.ask {width: 200px;}
#mobile_nav, #mobile_info {display: none;}
#home_right article .media img {width:100%;}
@media only screen and (max-width: 768px) {
    html {min-height: 100%; position:relative;}
    #slider,#quick_links, #nav_top, #info img, .triangle-r, .social_home, #info, #search_box {display:none;}
    #content {width:100%;}
    #home_headlines article, #home_headlines article .media img, #home_right article, #home_right article .media img {width:100%;}
    #main {margin-left:0; margin-top:20px;}
    .media iframe {max-width:100%;}
    #home_headlines, #home_right, #worth_mentioning, #upcoming_calendar {width:100%;}
    #main {padding-right:20px;}
    #upcoming_calendar{width:95%;}
    p.ask {width:75%;}
    #section_list li {width:40%;margin-bottom: 15px;}
    #social_media {float:none !important;font-size:15px;letter-spacing:2em;}
    #social_media img {height:25px; width:25px;}
    #mobile_nav {display:block;height:100%!important;}
    #mobile_info {
        display:block;
        background-color: #990033;
        color: #ffffff;
        width: 100%;
        height: 20px;
        font-size: 1.6em;
        position:absolute;
        padding-left: 10px;
        padding-bottom: 10px;
        padding-top: 5px;
    }
    #mclick i {margin-right:15px;}
    #mobile_info a {color:#ffffff;display: inline-block;
        position: relative;
        top: -5px;}
    #mobile_info a:hover {text-decoration: none;}
    #search_mobile_form {position:relative; right:0;display:inline-block;width:75%}
    #mobile_search_box {
        opacity: 0.5;
        border-radius: 10px;
        padding-left: 10px;
        width: 170px;
        font-size: 0.7em;float:right;}

    #mobile_search_box::-webkit-input-placeholder::before { font-family: fontAwesome; content:'\f002  '; color: #990033 }
    #mobile_search_box::-moz-placeholder::before  { font-family: fontAwesome; content:'\f002  '; color: #990033 } /* firefox 19+ */
    #mobile_search_box:-ms-input-placeholder::before  { font-family: fontAwesome; content:'\f002  '; color: #990033 } /* ie */
    #mobile_search_box.input:-moz-placeholder::before  { font-family: fontAwesome; content:'\f002  '; color: #990033}

    #body {padding:0 !important; width:100%}
    #article_header img {width:100%;}
    .listing_info {width:65% !important;}
    .listing_img {
        width: 25%;
        height: auto;
    }
}

@media only screen and (max-width: 400px) {
    #masthead img {width: 100px;}
    #logo {top: -74px;}
    #main {margin-top:50px;}
    #mclick {font-size:0.8em;}
    #mobile_search_box {width: 120px;}
    #search_mobile_form { width: 60%;}
}

.slides_container {
    width: 197px;
    z-index: 100;
  /* display: none;*/
}

.slides_container div.slide {
    width: 197px;
    display: none;
}
.category {
    position: relative;
}
.description {
    position: absolute;
    bottom: 10px;
    left: 0;
    display:none;
    background-color: black;
    font-size:0.8em;
    color: #fff;
    width: 100%;
}
.description_content{padding:10px;}
.description_content a {color:#fff;}
 #categories img {
    padding-bottom: 10px;
}

 .category h3 {
     position: absolute;
     top: -15px;
     left: 0;
     color: #fff;
    font-weight: lighter;
    text-transform: uppercase;
     padding: 5px;
     letter-spacing: 0.1em;
     z-index: 400;
     background:transparent url('./images/section_bg.png') repeat-x;
     width: 187px;
    }
.category h3 a {color:#fff;}
 .category_controls {
     position: absolute;
     top: 50%;
     left: 50%;
     z-index: 200;
 }
 .category_controls a{
     display: block;
     width: 25px;
     height: 25px;
     position: relative;
          left:-118px;
          top: -3px;
     background: url('./images/arrows_sprite.png') no-repeat -23px 0;
     /*background-position: -23px 0;*/

 }
 a.cat_right {
     background-position: 0 0;
     position: relative;
     left: 75px;
     top: -28px;
 }
 .category_controls a:hover {text-decoration: none;}
#breadcrumb {position: relative; top: -15px; left: -15px; bottom: -15px;}
#breadcrumb a{
    color: #9f9fa3;
    font-size: 0.8em;
}

#breadcrumb ul {
    list-style-type: none;
}

#breadcrumb ul li {float: left; padding-right: 4px;}
#breadcrumb  li:after { content: " / ";}
#breadcrumb li:last-child:after { content: "";}
#breadcrumb li:last-child a {color: #bcbdbd; font-weight: bold; text-decoration: none;}
#body {
    padding: 10px 130px 20px 145px;
}
.article_content {width: 624px;}
#body h1.list, #body h3.article {
    color: #991A36;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    font-weight: lighter;
}
.listing_info {
    float:left;
    width: 400px;
    margin-top: 5px;
}

.listing_info h2 {color: #991A36; line-height: 1.5em; font-size: 1.5em; font-weight: bolder; position:relative; top: -5px;}
.listing a:hover {text-decoration: none;}
.listing_date, .listing_author {color:#9f9fa3;}
.listing_img {
    float: left;
    padding: 20px 20px 20px 0;
}
#body .listing {display:block; height: 250px; border-bottom: 1px solid #bcbdbd; padding-top: 7px;}
#body .listing:last-child {border-bottom: 0;}
#article_header {
    background-color: #E7E7E8;
    padding-bottom: 5px;
}
#header_caption{
    /*font-size: 0.7em;*/
    display: block;
    padding: 1px 4px 25px 15px;
}
#header_caption span {padding-bottom: 2px;}
.bullet {background: url('./images/dn_bullet.jpg') no-repeat 0 3px;}
#article_info h1{
    font-size: 2.1em;
    margin: 0;
    padding:0;
    color: #991A36;
    line-height: 1.5em;
}
#article_info {padding-top: 10px;}
.info {color:#9f9fa3;}
#article_body .social_beta {
     float:right;
    margin-left: 8px;
    border: #C3CCDB 1px solid;
    width: 250px;
    padding-bottom: 5px;
   text-align: center;
}
.social_beta .social_title {
    display:block;
    text-transform: uppercase;
    font-size: 0.9em;
    border-bottom:  #C3CCDB 1px solid;
    padding: 5px;
    text-align: center;
    background-color: #991A36;;
    color: #fff;
    font-family: sans-serif;
}
#article_body .image {
    background-color: #E7E7E8;
    /*font-size: 0.8em;*/

    margin: 0 15px 15px 15px;
}

.wp-caption {
    background-color: #E7E7E8;
    margin: 0 15px 15px 15px;
}

.wp-caption-text {
    background: url('./images/dn_bullet.jpg') no-repeat 0 3px;
    padding-left: 15px;
    padding-bottom: 5px;
    margin-left: 5px;
}
#article_body .image img {

}

.image_left, .alignleft{float:left;}
.image_right, .alignright {float:right;}
#article_body .image span {padding: 4px;}
#article_info .date {
    font-size: 1.1em;
}

nav.pagination, .wp-pagenavi {
font-family: serif;
font-size:17px;
color:#991A36;
display:block;
    text-align: center;
    margin-top: 6px;
}

nav.pagination ul {
margin:0;
padding:0;
list-style:none;
}

nav.pagination ul li, .wp-pagenavi  {
display:inline-block;
}

nav.pagination ul li + li {
margin-left:3px;
}

nav.pagination ul li a, .wp-pagenavi a, .wp-pagenavi .current {
padding:5px 15px 5px 15px;
color:inherit;
text-decoration:none;

line-height:1;
background:#F7F7F7;

border:#EDEDED solid 1px;
margin-right: 5px;

}
.wp-pagenavi a:hover {
    text-decoration: underline;
}
.wp-pagenavi .current {
    font-weight: bolder;
}
nav.pagination ul li a:active,
nav.pagination ul li a.current {
margin-top:3px;

}

.notification {
    display: none;
}

#add_event label {font-weight: bolder;}
#add_event label.error {color: #991A36;}

footer {
    background-color: #77787B;
    padding:15px;
    text-align: center;
    color: #fff;
    line-height: 1.4em;
    font-weight: bold;
    font-size: 0.9em;
}
blockquote {
    float: right;
    position: relative;
    width: 300px;
    background-color: #F9F9F9;
    margin: 5px 0 20px 20px;
    padding-right: 1em;
}
blockquote h4 {
    margin-left: 20px;
    border-bottom: 1px solid #990033;
    padding-bottom: 0.5em;
}

footer a, footer a:visited {color:#fff;}
/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



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

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}


/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after, #masthead a:after, .media a:after, #worth_mentioning h4 a:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
  h1,h2,h3 {color:#990033 !important;}
   #nav_top *,.sf-menu,.triangle-r,#quick_links, #social_media, #sidebar, #general_search, #article_body .social_beta, #categories *, #search_box, #slider, .pagination {display:none;}
}
