/*   
Theme Name: NochNoch
Theme URI: http://willmoyer.com
Description: A custom theme built for Enoch Li of NochNoch.com
Author: Will Moyer
Author URI: http://willmoyer.com
Version: 2011
Text Domain: nochwp
*/

/* =============================================================================
   Load Web Fonts
   ========================================================================== */

@font-face {
    font-family: 'Quaver';
    src: url('./fonts/quaverserif-webfont.eot');
    src: url('./fonts/quaverserif-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/quaverserif-webfont.woff') format('woff'),
         url('./fonts/quaverserif-webfont.ttf') format('truetype'),
         url('./fonts/quaverserif-webfont.svg#QuaverSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

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


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

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; height: 100%; }

body { margin: 0; font-size: 1em; line-height: 1.5em; }

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

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


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

a { color: #B21244; border-bottom: transparent 2px solid; text-decoration: none; }
a {
    -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
     -moz-transition: all 0.3s ease-out;  /* FF4+ */
      -ms-transition: all 0.3s ease-out;  /* IE10? */
       -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
          transition: all 0.3s ease-out;
}
a:visited { color: #B21244; }
a:hover { color: #73162F; border-bottom: 2px solid; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


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

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

b, strong { font-weight: bold; }

blockquote { margin: 0 3em; }

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: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _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: h5bp.com/k */
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: 0; padding: 0; }
dd { margin: 0; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content (responsiveness)
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
 */

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

figure {
  position: relative;
}

img,
object,
embed,
video {
  max-width: 100%;
  display: block;
  height: auto;
  font-style: italic;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/*
 * Correct overflow not hidden in IE9
 */

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


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

figure { margin: 0; }


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

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

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

/*
 * 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; }

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

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

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

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

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

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

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


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

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* =============================================================================
   Grid System
   Author: Will Moyer
   Column Size: 100% / 12 = 8.3333%
   Margin Size: Line Height = 1.5em
   ========================================================================== */
    
  .container                                  { position: relative; overflow: hidden;}
  
  .row                                        { max-width: 520px; margin: 0 auto; overflow: hidden;}

  .container .column {  
   -webkit-box-sizing: border-box; 
   -moz-box-sizing: border-box; 
   -o-box-sizing: border-box; 
   box-sizing: border-box;
   padding: 0 1.5em;
   float: left;
   
   /* Small Screens + No Media Queries (IE) */
   width: 100%;
   margin: 0 0 1.5em 0;
  }

  .container .offset-by-one,
  .container .offset-by-two,
  .container .offset-by-three,
  .container .offset-by-four,
  .container .offset-by-five,
  .container .offset-by-six,
  .container .offset-by-seven,
  .container .offset-by-eight,
  .container .offset-by-nine,
  .container .offset-by-ten,
  .container .offset-by-eleven                  { margin-left: 0%; }

  @media only screen and (min-width: 768px) {

    .container, .row                            { max-width: 100%;   }

    .container .column                          { margin: 0;         }

    .container .one.column                      { width: 8.333333%;  }
    .container .two.column                      { width: 16.666666%; }
    .container .three.column                    { width: 24.999999%; }
    .container .four.column                     { width: 33.333332%; }
    .container .five.column                     { width: 41.666665%; }
    .container .six.column                      { width: 49.999998%; }
    .container .seven.column                    { width: 58.333331%; }
    .container .eight.column                    { width: 66.666664%; }
    .container .nine.column                     { width: 74.999997%; }
    .container .ten.column                      { width: 83.333333%; }
    .container .eleven.column                   { width: 91.666663%; }
    .container .twelve.column                   { width: 99.999996%; }

    .container .one-third.column                { width: 33.333333%; }
    .container .two-thirds.column               { width: 66.666666%; }

    .container .offset-by-one                   { margin-left: 8.333333%;  }
    .container .offset-by-two                   { margin-left: 16.666666%; }
    .container .offset-by-three                 { margin-left: 24.999999%; }
    .container .offset-by-four                  { margin-left: 33.333332%; }
    .container .offset-by-five                  { margin-left: 41.666665%; }
    .container .offset-by-six                   { margin-left: 49.999998%; }
    .container .offset-by-seven                 { margin-left: 58.333331%; }
    .container .offset-by-eight                 { margin-left: 66.666664%; }
    .container .offset-by-nine                  { margin-left: 74.999997%; }
    .container .offset-by-ten                   { margin-left: 83.333333%; }
    .container .offset-by-eleven                { margin-left: 91.666663%; }
  
  }

@media only screen and (min-width: 1200px) {

    .container .row                             { max-width: 1320px;   }
 }

/* ============================================================================
   Abstractions 
   ========================================================================== */

/* Nav */
nav {
  list-style:none;
  margin-left:0;
}

nav li {
  display:inline;
  margin-right: 1.5em;
}

nav li:last-child {
  margin-right: 0;
}

nav a{
  display:inline-block;
}


/* ============================================================================
   Primary Styles 
   Primary: #B21244
   Dark: #73162F

   ========================================================================== */

body {
  background: url('./img/bg.jpg');
  font-family: Georgia, Times, “Times New Roman”, serif;
  border-top: 6px solid #73162F;
}

h1,h2,h3,h4,h5,h6,
ul,ol,dl,
p,
table,
form,
pre,
hr, img,
.header,
.source {
  margin: 0;
  padding: 0;
  margin-bottom: 24px;
  margin-bottom: 1.5rem;
}

h1, h2, h3, h4 {
  font-family: Quaver;
  letter-spacing: 1px;
  font-weight: normal;
}

h1, h2 {
  font-size: 4em;
  line-height: 1.125em;
}

h3 {
 font-size: 2em; 
 line-height: 1.125em;
 margin-bottom: 0.375em;
}

h4 {
  font-size: 1.5em;
}

h5 {
  font-size: 1.25em;
  font-weight: normal;
}

h6 {
  text-transform: uppercase;
  font-style: normal;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  border: none;
}

/* Small Screens + No Media Queries (IE) Only - This section overridden with MQs below. */
header, footer {
  text-align: center;
}

#logo {
  margin: 0 auto;
}

header nav {
  display: table;
}

/* End Small Screens */

header {
  padding: 1.5em 0;
  height: 4.5em;
}

.site-nav {
  padding: 1em 0 0 0;
}

.search_icon {
  display: inline;
  height: 1.5em;
  line-height: 1.5em;
}

.search_icon:hover {
  border: none;
}

.search_icon img {
  display: inline;
  margin: 0;
  margin-top: -3px;
}

.row {
  margin-bottom: 3em;
}

.secondary {
  background: #e5e5e5;
  background: rgba(0,0,0,.05);  
  padding-top: 3em;  
  border-top: 1px solid #e5e5e5;
}

.tertiary {
  background: #e5e5e5;
  background: rgba(0,0,0,.1);  
  padding-top: 3em;  
  border-top: 1px solid #ccc;
}

.footer {
  background: #73162F;
  border-top: 1px solid #400A18;
  padding: .75em 0;
  color: #400A18;
  font-family: sans-serif;
  font-size: .75em;
  text-transform: uppercase;
}

.post p:first-child {
  font-size: 1.25em;
}

.post img, .recent img, .photo {
    -webkit-box-sizing: border-box; 
   -moz-box-sizing: border-box; 
   -o-box-sizing: border-box; 
   box-sizing: border-box;
   border: 3px solid #ccc;
}

.archive .post {
  margin-bottom: 1.5em;
}

.archive .post img {
  width: 50%;
  margin-right: auto;
  margin-left: auto;
}

blockquote {
  font-style: italic;
}

.post blockquote p:first-child {
  font-size: 1em;
}

.meta {
  color: #ccc;
  font-size: 0.875em;
}

.meta a, .meta a:hover {
  color: inherit;
}

footer .flourish, .no-photo-frame {
  border: none;
}

article footer, .article-footer {
  margin: 3em 0 0 0;
}

.more-link {
  margin-top: 1.5em;
  text-align: center;
  display: block;
  border:none;
}

.more-link:hover {
  border:none;
}

.more-link span {
  border-bottom: transparent 2px solid;
    -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
     -moz-transition: all 0.3s ease-out;  /* FF4+ */
      -ms-transition: all 0.3s ease-out;  /* IE10? */
       -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
          transition: all 0.3s ease-out;
}

.more-link span:hover {
  border-bottom: 2px solid;
}

.sidebar, .recent {
  list-style: none; list-style-image: none; margin: 0; padding: 0; 
  text-align: center;
}

.sidebar .widget {
  margin-bottom: 1.5em;
}

.sidebar .widget li{
  list-style: none;
}

.affiliate {
float: left;
width: 31%;
padding: 0 1%;
text-decoration: none;
 border: none;
}

.affiliate:hover {
 text-decoration: none;
 border: none;
}

.social-icon {
  float: left;
  margin-right: 1.5em;
  width: 1.5em;
  border: none;
}

.social-icon:hover {
  border: none;
}

.social-icon img {
  margin: 0;  
}

.language {
 display: table;
 margin: 0.75em auto;
} 

.language ul {
 list-style-type: none;
 float: left;
 margin: 0;
}  

.language li {
 margin-right: 1.5em;
 float: left;
}

.language a {
    float: right;
    margin: 0px 15px;
}

.cse .gsc-control-cse, .gsc-control-cse {
  padding: 0 !important;
}

.cse .gsc-control-cse, .gsc-control-cse {
background-color: transparent !important;
border: none !important;
}

img#wpstats{position:absolute;top:0;width:0px;height:0px;overflow:hidden}

.subscribe-to-comments label {
display: inline
}


/* Wordpress
======================================================= */

.post {}

.entry-content {}
.entry-content a {}
.entry-content a:hover {}

#meta {}
.postmetadata {}


.navigation {
  overflow: hidden;
}

.next-posts, .prev-posts {
  color: #B21244;
}

.next-posts:hover, .prev-posts:hover {
  color: #73162F;
}


.next-posts { float: right; }
.prev-posts { float: left; }

#searchform {}
#s {}
#searchsubmt {}

img.alignright {float:right; margin:0 0 1.5em 1.5em}
img.alignleft {float:left; margin:0 1.5em 1.5em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

.comments {
  margin-top: 3em;
}

ol.commentlist {list-style: none; font-size: 0.875em;}
ol.commentlist li {}
ol.commentlist li.alt {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment {}
ol.commentlist li.comment div.comment-author {}
ol.commentlist li.comment div.vcard {}
ol.commentlist li.comment div.vcard cite.fn {font-style: normal;}
ol.commentlist li.comment div.vcard cite.fn a.url {}
ol.commentlist li.comment div.vcard img.avatar {float:right; margin: 0 0 10px 10px;}
ol.commentlist li.comment div.vcard img.avatar-32 {}
ol.commentlist li.comment div.vcard img.photo {}
ol.commentlist li.comment div.vcard span.says {}
ol.commentlist li.comment div.commentmetadata {}
ol.commentlist li.comment div.comment-meta {  color: #ccc; font-size: 0.875em;}
ol.commentlist li.comment div.comment-meta a {color: #ccc;}
ol.commentlist li.comment p {}
ol.commentlist li.comment ul {}
ol.commentlist li.comment div.reply { font-size: 0.875em; }
ol.commentlist li.comment div.reply a {}
ol.commentlist li.comment ul.children {list-style: none; margin: 0;}
ol.commentlist li.comment ul.children li {}
ol.commentlist li.comment ul.children li.alt {}
ol.commentlist li.comment ul.children li.bypostauthor {}
ol.commentlist li.comment ul.children li.byuser {}
ol.commentlist li.comment ul.children li.comment {}
ol.commentlist li.comment ul.children li.comment-author-admin {}
ol.commentlist li.comment ul.children li.depth-2 {}
ol.commentlist li.comment ul.children li.depth-3 {}
ol.commentlist li.comment ul.children li.depth-4 {}
ol.commentlist li.comment ul.children li.depth-5 {}
ol.commentlist li.comment ul.children li.odd {}
ol.commentlist li.even {}
ol.commentlist li.odd {}
ol.commentlist li.parent {}
ol.commentlist li.thread-alt {}
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}

ol.commentlist .comment-body {margin: 0.75em 0; padding: 0.75em 0; border-bottom: 1px solid #ccc;}

ol.commentlist li.bypostauthor .comment-body {
  background: rgba(0, 0, 0, .05);
  padding: 0.75em 1.5em;
}

/* Forms - styles from http://www.getskeleton.com
======================================================= */

  form {
    margin-bottom: 1.5em; }
  fieldset {
    margin-bottom: 1.5em; }
  input[type="text"],
  input[type="password"],
  input[type="email"],
  textarea,
  select {
    border: 1px solid #ccc;
    padding: .42em .3em;
    outline: none;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #777;
    margin: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 1.5em;
    background: #fff;
    font-size: 0.875em; }
  select {
    padding: 0; }
  input[type="text"]:focus,
  input[type="password"]:focus,
  input[type="email"]:focus,
  textarea:focus {
    border: 1px solid #aaa;
    color: #444;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
    box-shadow:  0 0 3px rgba(0,0,0,.2); }
  textarea {
    min-height: 3em; }
  label,
  legend {
    display: block;
    font-size: 0.875em;  }
  select {
    width: 100%; }
  input[type="checkbox"] {
    display: inline; }
  label span,
  legend span {
    font-weight: normal;
    font-size: 0.875em;;
    color: #444; }


/* Buttons - styles from http://www.getskeleton.com
======================================================= */

  a.button,
  button,
  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    background: #eee; /* Old browsers */
    background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
    background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
    background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
    background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
    background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
    background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
    font-size: 0.75em;
    border: 1px solid #aaa;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    padding: 1em 1em;
    width: 100%;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #444;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 1px rgba(255, 255, 255, .75);
    cursor: pointer;
    margin-bottom: 1.5em;
    line-height: 1.5em;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }

  a.button:hover,
  button:hover,
  input[type="submit"]:hover,
  input[type="reset"]:hover,
  input[type="button"]:hover {
    color: #222;
    background: #ddd; /* Old browsers */
    background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
    background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
    background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
    background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
    background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
    background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
    border: 1px solid #888;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa; }

  a.button:active,
  button:active,
  input[type="submit"]:active,
  input[type="reset"]:active,
  input[type="button"]:active {
    border: 1px solid #666;
    background: #ccc; /* Old browsers */
    background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
    background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
    background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
    background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
    background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
    background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }

  .button.full-width,
  button.full-width,
  input[type="submit"].full-width,
  input[type="reset"].full-width,
  input[type="button"].full-width {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center; }

/* Chinese Specific Styles
======================================================= */

body:lang(zh-CN),h1:lang(zh-CN), h2:lang(zh-CN), h3:lang(zh-CN), h4:lang(zh-CN) {
  font-family: BiauKai, SimSum, sans-serif;
}

#esi-slide_in{
  display: none;
}

#esi-slide_in.show{
  display: block;
}

.esi-slide-wrap-16246 .widgettitle{
	display:none;
}


/* ==|== media queries ======================================================
   Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (max-width: 480px) {
    html {font-size: 87.5%;}
  }

@media only screen and (min-width: 768px) {
    html {font-size: 100%;}
    header { text-align: left;}
    #logo { margin: 0;}
    header nav { display: block; }
    .site-nav { text-align: right;}
    a.button,
    button,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
      width: auto;
      padding: 0.5em 1em;
    }     
  }

@media only screen and (min-width: 1200px) {
    html {font-size: 125%;}
  }

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

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

/* 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; }

/* Contain floats: */

.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after {
  clear: both; }
.row,
.clearfix {
  zoom: 1; }

/* You can also use a <br class="clear" /> to clear columns */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}


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

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { 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 { 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; } /* 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; }
}

body .esi-slide-minimal a, body .esi-slide-minimal a:visited, body .esi-slide-minimal a:hover{color: #B21244;}
.esi-slide-right{top:150px!important;margin-top: 0!important;}
.esi-slide-right a img,.esi-slide-right a h6{margin-bottom: 10px!important;}