/*
    0.  HTML5 Boilerplate defaults
    1.  Document Setup (body, common classes, vertical rhythm, structure etc)
    2.  Header Styles
    3.  Navigation & Menus
    4.  Main Content Styles
    5.  Footer Styles
    6.  Page Styles
    7.  Form Styles
    8.  Helpers classes
    9.  Media Queries
    10. Print Styles
----------------------------------------------- ------------------------------------*/

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * 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: #acacac;
    text-shadow: none;
}

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

/*
 * Modifications to the placeholder text.
 */
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #cccccc;
    text-transform: uppercase;
    font-size: .85em;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #cccccc;
    text-transform: uppercase;
    font-size: .85em;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #cccccc;
    text-transform: uppercase;
    font-size: .85em;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #cccccc;
    text-transform: uppercase;
    font-size: .85em;
}

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

/* http://www.responsivegridsystem.com/ */
/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

.col { margin: 0 0 2em; }
.content section.first .col { margin: 0;}

/* generic floats */
.left { float: left }
.right { float: right }

.disabled {
    opacity: .5;
}
.required {
    color: #330000;
}

/*-----------------------------------------------------------------------------------*/
/*  1.  Document Setup (body, common classes, vertical rhythm, structure etc)
/*-----------------------------------------------------------------------------------*/
.page, .nav-primary {
    position: relative;
    margin: auto;
}
.page {
    padding-left: 20px;
    padding-right: 20px;
}

header, .wrapper {
    background-color: #ffffff;
}

img {
    max-width: 100%;
}
.ie6 img {
    width: 100%;
}

.ui-state-hover {
    color: #fff !important;
}
.ui-widget {
    font-size: inherit !important;
}

.text-error { 
    color: #d44950;
    line-height: 1.5em;
}
.text-success {
    color: #3c763d;
    line-height: 1.5em;
}
.text-primary {
    color: #428bca;
}
.text-info {
    color: #31708f;
}
.text-warning {
    color: #8a6d3b;
}
.text-muted {
    color: #999;
}

.message {
    background-position: 25px center;
    background-repeat: no-repeat;
    font-size: 80%;
    padding: 15px 15px 15px 70px;
    position: absolute;
}
.message.success, .message.error, .message.notice {
    position: inherit;
}
.message.success {
    background-color: #e9ffca;
    background-image: url(/assets/images/layout/i_msg-success.png);
    color: #296a23;
}
.message.error {
    background-color:#F5DAD3;
    background-image:url(/assets/images/layout/i_msg-error.png);
    color:#c02230;
}
.message.notice {
    background-color:#FDEDA4;
    background-image:url(/assets/images/layout/i_msg-note.png);
    color:#7c622a;
}
.animate {
    -webkit-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
}

/*-----------------------------------------------------------------------------------*/
/*  2.  Header Styles
/*-----------------------------------------------------------------------------------*/
header {
    border-top: 8px solid #333333;
    border-bottom: 1px solid #333333;;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    clear: both;
    padding: 0 20px;
}
header .logo {
    display: inline-block;
    position: relative;
    top: 2px;
    width: 83%;
    height: 62px;
    margin-right: -4px;
    vertical-align: middle;
}
header .logo img {
    max-width: auto;
    max-height: 100%;
}
.mobile.menu {
    display: inline-block;
    width: 15%;
    margin-left: 2%;
    margin-right: -4px;
    vertical-align: middle;
}

.mobile.menu .nav-right {
    float: right;
}
.mobile.menu .nav-right #navToggle span { vertical-align: middle; }
.mobile.menu .nav-right .glyph-icon {
    width: 23px;
    height: 32px;
}
.mobile.menu .nav-right .glyph-icon:before { 
    color: #333333; 
    font-size: 1.4em;
}
.mobile.menu .chevronL:before {
    position: relative;
    top: 1px;
    left: 11px;
    font-size: 1.6em;
}

/*-----------------------------------------------------------------------------------*/
/*  3.  Navigation & Menus
/*-----------------------------------------------------------------------------------*/
#menu {
    background-color: #222;
    padding: 0 0 20px;
    font-size: 90%;
    text-align: left;
    border: 0;
    z-index: 0;
    position: fixed;
    top: 0;
    right: -270px;
    width: 270px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
#menu {
    -webkit-transform: translate3d(0,-100%,0);
    transform: translate3d(0,-100%,0); 
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}
header .logo, .mobile.menu, #page, #menu, footer {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
}
.showSidenav #menu {
    position: fixed;
    overflow: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}
.showSidenav header .logo, 
.showSidenav .mobile.menu,
.showSidenav #page,
.showSidenav #menu,
.showSidenav footer {
    -webkit-transform: translate3d(-270px,0,0);
    transform: translate3d(-270px,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#menu ul { padding: 0; }
#menu li {
    display: block;
    border-bottom: 1px solid #000;
    padding: 0;
}
#menu ul a, .board a {
    text-decoration: none;
    font-weight: normal;
}
#menu li,
#menu li a {
    color: #fff;
    font-size: 16px;
}
#menu ul > li a, 
#menu ul > li span {
    display: block;
    text-decoration: none;
    padding: 14px 25px;
    line-height: 1.5em;
}
#menu li a:hover { text-decoration: none; }
#menu ul ul {
    background-color: rgb(68, 68, 68)
}
#menu ul ul a {
    font-size: 14px;
    padding-left: 37px;
    color: white;
}
#menu ul a.selected {
    font-weight: bold;
}

/*-----------------------------------------------------------------------------------*/
/*  4.  Main Content Styles
/*-----------------------------------------------------------------------------------*/
a[href^="tel:"], a[href^="tel:"]:hover { 
    color: inherit; 
    text-decoration: none; 
    cursor: text; 
    font-weight: normal;
}

footer .credits { padding: 0 20px; }
.content {
    background-color: #fff;
    padding-top: 76px;
}
.center {
    text-align: center;
}
.fixed {
    position: fixed;
}
.content-block.bg-fixed {
    background-attachment: fixed;
}
.content-block {
    position: relative;
    background-repeat: no-repeat;
}
.content-block.empty {
    min-height: 300px;
}
.noPad { padding: 0 !important; }
.noMargin { margin: 0 !important; }
.pad-top-small .section { padding-top: 10px; }
.pad-top-medium .section { padding-top: 15px; }
.pad-top-large .section { padding-top: 20px; }
.pad-top-xlarge .section { padding-top: 40px; }
.pad-bot-small .section { padding-bottom: 10px; }
.pad-bot-medium .section { padding-bottom: 15px; }
.pad-bot-large .section { padding-bottom: 20px; }
.pad-bot-xlarge .section { padding-bottom: 40px; }

.overlay {
    width: 100%;
}
.overlay .col {
    background-color: rgba(96, 0, 42, .82);
    width: auto;
    padding: 5px 30px;
}
.overlay, .overlay a, .overlay h2 {
    font-size: 1.6em;
    color: white;
    text-shadow: 1px 1px 0 #000;
}
.overlay.splash {
    text-align: center;
}

.fb-likebox {
    margin: 30px 0;
}
.fb-likebox * {
    width: 100% !important;
}
.embed-container iframe {
    width: 100% !important;
}

.arrow {
    position: fixed;
    bottom: 0;
    cursor: pointer;
    background: url(/assets/images/layout/arrow_down.png) 9px 15px no-repeat;
    background-color: rgb(250,250,250);
    background-color: rgba(250, 250, 250, .3);
    display: none;
    width: 42px;
    height: 42px;
    left: 48%;
    z-index: 230;
}
.no-touch .arrow:hover {
    background-color: rgb(50,50,50);
    background-color: rgba(50,50,50,.9);
}

ul.slideshow li:before {
    content: "";
    padding-right: inherit;
}

.slideshow {
    text-align: center;
}
.slideshow h3 {
    color: #7b0046;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}
.slideshow .caption {
    text-align: center;
    margin-top: 10px;
}
.bx-container li { 
    display: inline-block;
    padding: 0; 
}
.control-wrap {
    width: 10%;
}
.control-wrap a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 150%;
    background-size: 200%;
    background-position: 0 0;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
}
.control-wrap a:hover {
    background-position: 100% 0;
}
.bx-prev a { display: none ;}
#slider-prev {
    background-image: url('/assets/images/layout/controls_prev.png');
}
#slider-next {
    background-image: url('/assets/images/layout/controls_next.png');
}

/* Blog */
.pagination {
    text-align: right;
}
.pagination li {
    display: inline-block;
    padding: 0 9px !important;
}
.pagination span, 
.pagination a {
    font-size: 120%;
}
.pagination .active span {
    font-weight: 600;
    color: #000;
}

section#blog, section#blog .pagination {
    padding-bottom: 20px;
}
#blog .pagination:last-child {
    margin-bottom: 0;
}
#blog .span_1_of_5 {
    width: 17%;
}

#blog .post-summary {
    padding: 0 0 30px;
}
#blog .post-summary.last {
    border-bottom: 0;
    margin: 0;
    padding: 0;
}
#blog .title {
    margin-bottom: 1em;
}
#blog .post-summary p {
    padding: 10px 0;
}
#blog .readmore {
    color: #333333;
    text-transform: uppercase;
}

#blog h2 a {
    font-size: 1.1em;
}
#blog h2 a:hover {
    color: #000;
    text-decoration: none;
}
#blog .date {
    font-size: .8em;
    color: #333333;
    text-transform: uppercase;
}

#blog .popularity {
    padding: 0;
    overflow: hidden;
}
#blog .popularity li {
    display: inline-block;
    padding: 0;
    width: 30px;
}
#blog .popularity li:before {
    content: '';
}
#blog .popularity .icon {
    display: inline-block;
    /*background-image: url(/assets/images/layout/popularity_splats.png);*/
    background-position: top left;
    width: 30px;
    height: 26px;
}
#blog .popularity .icon.active {
    background-position: top right;
}

#blog .no-posts {
    margin-bottom: 30px;
}
#blog .post-navigation {
    margin-bottom: 15px;
}
#blog .post-navigation .col {
    width: 49%;
    margin: 0;
}
#blog .post .primary-img {
    margin: 10px 0 25px;
    text-align: center;
}
#blog .post-share {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.fb-share-button span { vertical-align: inherit !important; }
.twitter-share-button { 
    width: 0 !important;
    min-width: 78px !important;
}

/*-----------------------------------------------------------------------------------*/
/*  5.  Footer Styles
/*-----------------------------------------------------------------------------------*/
footer {
    border-top: 8px solid #333333;
}
footer .widgets {
    background: url('/assets/images/layout/wood_bg.jpg');
    background-size: cover;
    padding: 40px 0;
}
footer .widgets .span_2_of_5 {
    text-align: center;
}
footer nav {
    font-size: 1.5em;
    text-transform: uppercase;
    text-shadow: 0 1px rgba(0, 0, 0, .3);
    letter-spacing: .04em;
}
footer nav a:hover {
    color: #760235;
    text-shadow: 0 0 1px rgba(50, 50, 50, 0.4);
}
footer nav li { padding-bottom: .4em; }
footer, footer a {
    text-decoration: none
}
footer .credits {
    color: #333333;
    font-weight: 300;
    font-size: .75em;
    text-transform: uppercase;
    padding-top: 10px;
    text-align: center;
}
footer .text-right { text-align: center; }
footer .copyright { font-weight: 400; margin-bottom: 5px; }
footer p:last-child { padding: 0; }
footer h3 {
    text-transform: uppercase;
}
footer input[type="text"] {
    background-color: white;
    border: 1px solid #ccc;
}

/*-----------------------------------------------------------------------------------*/
/*  6.  Page Styles
/*-----------------------------------------------------------------------------------*/
button, .btn-primary {
    font-size: 1.2em;
    padding: .7em 3em;
}
.empty h2 { margin-bottom: .5em; }
.home .bx-container {
    margin: 0 -20px;
}

blockquote {
    color: #333333;
    margin: 1em 0;
    padding: 0;
    quotes: "\201C""\201D""\2018""\2019";
    text-align: justify;
}
blockquote:before {
    color: #333333;
    content: open-quote;
    font-size: 1.2em;
    line-height: 0.1em;
    margin-right: 0.25em;
    margin-left: 0.45em;
    vertical-align: 0em;
}
blockquote:after {
    color: #333333;
    content: close-quote;
    font-size: 1.2em;
    line-height: 0.1em;
    margin-left: 0.25em;
    margin-right: 0.45em;
    vertical-align: -0.1em;
}
blockquote p {
    display: inline;
    padding: 0;
    font-size: .95em;
}

.social span{
    display: none;
}

.social .glyph {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    padding-right: 2px;
}
.social .glyph:last-child { padding-right: 0; }
.social .glyph .glyph-icon {
    padding: 5px;
    display: block;
    font-family: "Socialicon";
    font-size: 24px;
    line-height: 1;
    background-color: #333333;
}
.social .glyph .glyph-icon:before {
    font-size: 24px;
    color: #fff;
    margin-left: 0;
    font-style: normal;
}
.social a { text-decoration: none; }
.social a:hover .glyph-icon:before {
    opacity: .6;
}

.social .fb:before      { content: "\e00b"; }
.social .twt:before     { content: "\e001"; }
.social .gp:before      { content: "\e00d"; }
.social .inst:before    { content: "\e00f"; }
.social .youtube:before { content: "\e037"; }
.social .li:before      { content: "\e014"; }
.social .flickr:before  { content: "\e022"; }
.social .pint:before    { content: "\e017"; }

.gallery .photos .group { text-align: center; }
.gallery .photos a,
.gallery .hero img {
    display: inline-block;
    max-width: 100%;
    padding: 4px;
}
#blog .primary-img img,
.gallery .thumb {
    position: relative;
    background-color: #fff;
    -moz-border-radius: 150px;
    -webkit-border-radius: 150px;
    border-radius: 150px;
    border: 3px solid #333333;
    overflow: hidden;
}
#blog .primary-img a:hover img,
.gallery .photos a:hover img { opacity: .8; }
.gallery .caption,
.gallery .view {
    position: absolute;
    top: 50%;
    width: 100%;
    padding: .4em 0;
    color: #fff;
    background: rgb(51, 51, 51);
    background: rgba(51, 51, 51, 1);
    font-size: 1.3em;
    text-shadow: 1px 1px 3px rgba(0,0,0,1);
    text-align: center;
    text-transform: uppercase;
    margin-top: -10px;
}
.gallery .photos a .view {
    opacity: 0;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
}
.gallery .photos a:hover .view {
    opacity: 1;
}
.gallery .hero {
    text-align: center;
}
.gallery .back {
    padding-top: 1em;
    display: block;
}

.mailing_list {
    margin-top: 1em;
    text-align: center;
}
.mailing_list .col {
    margin-bottom: 1em;
}

.bx-wrapper .bx-caption { bottom: 12px !important; }
.bx-wrapper .bx-controls-direction a { bottom: 12px !important; }
.bx-wrapper .bx-caption span {
    font-size: .8em !important;
    padding: 10px 32px !important;
}

/*-----------------------------------------------------------------------------------*/
/*  7.  Form Styles
/*-----------------------------------------------------------------------------------*/
/* Alert Styles */
.alert {
    position: relative;
    color: white;
    background: #66ae48;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    font-size: .9em;
    overflow: hidden;
    -moz-box-shadow: 0 0 10px #888;
    -webkit-box-shadow: 0 0 10px #888;
    box-shadow: 0 0 10px #888;
}
.alert p { padding: 0; }

/* Table Styles */
table {
    margin: 5px 0;
}
table td {
    color: #555;    
    padding: 11px 0;
}
table table {
    margin: 0;
}
table table td {
    padding: 0;
}

label {
    display: block;
    padding-bottom: .5em;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #656667;
    font-style: italic;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #656667;
    font-style: italic;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #656667;
    font-style: italic;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #656667;
    font-style: italic;
}

.selectboxit-option, .selectboxit-optgroup-header {
    text-indent: 5px !important;
}

form .selectboxit-container {
    margin-bottom: 15px !important;
}
form fieldset {
    background-color: #ebebeb;
    padding: 40px !important;
}
form fieldset .span_3_of_4 {
    width: 74.5%;
    padding: 0;
}
form fieldset > .group, form .fields > .group, form > .group {
    padding-bottom: 20px;
}

label, input, button, select, textarea {
    line-height: 20px;
}

label, select, button, input[type="button"], input[type="reset"], input[type="submit"], input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    font-family: inherit;
    background-color: #eeeeee;
    border: 0;
    -webkit-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    border-radius: 0\9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s,box-shadow linear .2s;
    -moz-transition: border linear .2s,box-shadow linear .2s;
    -o-transition: border linear .2s,box-shadow linear .2s;
    transition: border linear .2s,box-shadow linear .2s;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    display: inline-block;
    padding: 7px 8px;
    line-height: 20px;
    color: #555;
    vertical-align: middle;
}

input[type="text"], input[type="password"], input[type="email"], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
}
 
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus {
    box-shadow: 0 0 5px #818181;
    border: 1px solid #333333;
}

input[type="checkbox"] + label, input[type="radio"] + label {
    display:inline-block;
    margin-left: 6px;
}

textarea {
    display: block;
    width: 100%;
    min-height: 30px;
    resize: vertical;
}

form input.tiny,
.tiny {
    width: 25px;
}
form input.xsmall,
.xsmall {
    width: 15%;
}
form input.small,
.small {
    width: 35%;
}
form input.medium,
.medium {
    width: 45%;
}
form input.large,
.large {
    width: 75%;
}
form input.xxlarge,
.xxlarge {
    width: 100% !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*-----------------------------------------------------------------------------------*/
/*  8.  Helper Classes
/*-----------------------------------------------------------------------------------*/

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

/*-----------------------------------------------------------------------------------*/
/*  9.  Media Queries
/*-----------------------------------------------------------------------------------*/

/* Disable iOS/WinMobile font size changes */
@media screen and (max-width: 600px), screen and (max-device-width: 480px) {
    html {
        -ms-text-size-adjust: none;
        -webkit-text-size-adjust: none;
    }
}

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