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

html {
    height: 100%;
}

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

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

a, a:active, a:focus {
    text-decoration: none;
    outline: 0;
    outline-style:none;
    outline-width:0;
}
:focus, :active {  
    outline: 0;  
} 
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    border: 0;
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* iphone < 5 */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) 
and (orientation : portrait) {
    #wrapper {
        min-height: 1850px;
    }
}

/* iphone 5 */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) {
    #wrapper {
        min-height: 1850px;
    }
}

/* ipad */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 980px) 
and (orientation : portrait) {
    #wrapper {
        min-height: 1850px;
    }
}


@font-face {
	font-family: 'DIN';
	src: url('../fonts/DIN-Medium.eot?#iefix') format('embedded-opentype'),
	     url('../fonts/DIN-Medium.woff') format('woff'), 
             url('../fonts/DIN-Medium.ttf') format('truetype'), 
             url('../fonts/DIN-Medium.svg') format('svg');
}
@font-face {
	font-family: 'GoodVibrationsROB';
	src: url('../fonts/GoodVibrationsROBScript.eot?#iefix') format('embedded-opentype'),
             url('../fonts/GoodVibrationsROBScript.woff') format('woff'), 
             url('../fonts/GoodVibrationsROBScript.ttf') format('truetype'), 
             url('../fonts/GoodVibrationsROBScript.svg') format('svg');
}

.DINfont {
    font-family: "DIN", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
}

.Arial {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
}
.fs14px {
    font-size: 14px;
}
.fs18px {
    font-size: 18px;
}
.pointer {
    cursor: pointer;
}
.floatleft {
    float: left;
}
.floatright {
    float: right;
}

.cellphone {
    display: none;
}

.offwhite {color: #FCF9F4;}
.bgoffwhite {background-color: #FCF9F4;}
.red {color: #8E564A;}
.bgred {background-color: #8E564A;}
.tan {color: #D9B975;}
.bgtan {background-color: #D9B975;}
.darkgrey {color: #707171;}
.bgdarkgrey {background-color: #707171;}
.medgrey {color: #666666;}
.bgmedgrey {background-color: #666666;}
.lightgrey {color: #919190;}
.bglightgrey {background-color: #919190;}
.green {color: #8E794C;}
.bggreen {background-color: #8E794C;}
.pink {color: #D78272;}
.bgpink {background-color: #D78272;}
.teal {color: #6C7F79;}
.bgteal {background-color: #6C7F79;}
.beige {color: #E0C3A7;}
.bgbeige {background-color: #E0C3A7}
.brown {color: #988472;}
.bgbrown {background-color: #988472;}
.bgdeepred {background-color: #B80900;}

.row {
    width: 100%;
}
.mb16px {
    margin-bottom: 16px;
}
.mb8px {
    margin-bottom: 8px;
}
.br7px {
    border-radius: 7px;
}
.colmain {
    width: 891px;
    float: left;
}
.colright {
    width: 279px;
    float: left;
}
.col1-2 {
    width: 50%;
    float: left;
}
.col1-3 {
    width: 33.33%;
    float: left;
}
.col2-3 {
    width: 66.66%;
    float: left;
}
.textright {text-align: right}
.textcenter {text-align: center}

input, select, textarea {
    background-color: #FCF9F4;
    border: 0;
    padding: 4px;
}

/* wrapper */
#wrapper {
  width: 1170px;
  margin: auto;
  padding-bottom: 20px;
}

/* header */
#headerleft {
    width: 66.66%;
    height: 133px;
    float: left;
    text-align: left;
    padding-top: 12px;
    padding-left: 2px;
}
#headerright {
    width: 33.33%;
    height: 133px;
    float: left;
    text-align: right;
}
#headerrighttop {
    width: 100%;
    height: 50px;
    text-align: center;
    margin-top: 10px;
}
#headerrightbottom {
    width: 100%;
    height: 83px;
    text-align: center;
    font-size: 26px;
}

.bgredred {background-color: red;}
.covidbutton {
    width: 380px;
    height: 42px;
    margin: 0 auto;
    border-radius: 7px;
}
.covidbutton a {
    text-decoration: none;
}
.covidbutton a:hover {
    color: #D9B975;
}
.covidbutton div {
    width: 100%;
    height: 100%;
    margin-top: 12px;
    text-align: center;
    vertical-align: middle;
    line-height: 42px;
    font-size: 22px;    
}

.covidsmallbutton {
    width: 192px;
    height: 42px;
    margin: 0 auto;
    border-radius: 7px;
}
.covidsmallbutton a {
    text-decoration: none;
}
.covidsmallbutton a:hover {
    color: #D9B975;
}
.covidsmallbutton div {
    width: 100%;
    height: 100%;
    margin-top: 12px;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    font-size: 18px;    
}

.covidstateleftbox {
    float: left;
    width: 40%;
    margin-bottom: 20px;
}

.covidstaterighttbox {
    float: right;
    width: 60%;
    margin-bottom: 20px;
}

.covidstatebutton {
    width: 280px;
    height: 38px;
    margin: 0 auto;
    border-radius: 7px;
}
.covidstatebutton a {
    text-decoration: none;
}
.covidstatebutton a:hover {
    color: #D9B975;
}
.covidstatebutton div {
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    line-height: 38px;
    font-size: 18px;    
}

/* menu */
#menubar {
    width: 1170px;
    height: 44px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url('../img/menubar.jpg');
    background-repeat: no-repeat;
}
#menulinks {
    position: absolute;
    top: 0px;
    left: 10px;
}
#menulinks div {
    display: inline-block;
    padding-top: 7px;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
}
#menulinks div a {
    text-decoration: none;
    font-size: 18px;
}
#menulinks div a:hover {
    color: #D9B975;
}

#splashwrapper {
    position: relative;
    height: 390px;
}
#splashimages {
    position: absolute;
    top: 0;
    left: 0;
    width: 878px;
    z-index: 1;
}
#splashtext {
    position: absolute;
    top: 0;
    left: 0;
    width: 878px;
    z-index: 2;
}
.splashtextdiv {
    position: absolute;
    top: 250px;
    left: 0;
    width: 878px;
    margin: 0 auto;
    color: #FCF9F4;
    line-height: 56px;
    text-align: center;
    font-size: 62px;
    font-family: "GoodVibrationsROB", Georgia, serif;
    text-shadow: 1px 1px #707171;
    z-index: 2;
}
#emailbutton {
    position: absolute;
    top: 295px;
    left: 530px;
}
#calendarbutton {
    position: absolute;
    top: 295px;
    left: 530px;
}
#nursedaybutton {
    position: absolute;
    top: 295px;
    left: 530px;
}

/* quick form */
#quickform {
    position: relative;
    height: 390px;
}
#quickformtop {
    width: 100%;
    height: 390px;
    padding: 8px;
}
#quickformheader {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 8px;
}
#quickformbody {
    font-size: 12px;
    margin-bottom: 10px;
}
#quickformform {
    text-align: center;
}
#quickformform input {
    width: 98%;
    height: 24px;
    font-size: 13px;
    margin-bottom: 8px;
}
#quickformform textarea {
    background-color: #FCF9F4;
    width: 98%;
    font-size: 13px;
    margin-bottom: 8px;
}
#submitcurve {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 279px;
    height: 33px;
    background-image: url('../img/submitcurve.jpg');
}
#submittext {
    position: absolute;
    left: 118px;
    bottom: 8px;
    font-size: 13px;
}
#formresponse {
    margin: 6px 0;
    font-size: 13px;
}

/* lines */
.greyline {
    display: block;
    border: 0;
    border-top: 4px solid #D5CFC4;
}
.greylinethin {
    display: block;
    border: 0;
    border-top: 1px solid #D5CFC4;
}

/* content */
#guidance:hover, #guidance:hover div {
    background-color: #707171;
    color: #FCF9F4;
}
#guidance:hover div:last-child {
    background-color: #FCF9F4;
    color: #707171;
    border-radius: 7px;
}
#guidanceimg {
    width: 61px;
    height: 61px;
    margin: auto;
    background-image: url('../img/guidancebutton.jpg');
}
#guidance:hover #guidanceimg {
    width: 62px;
    height: 61px;
    background-color: #707171;
    background-image: url('../img/guidancebutton.png');
}

#newsevents:hover, #newsevents:hover > div {
    background-color: #8E564A;
    color: #FCF9F4;
}
#newsevents:hover div:last-child {
    background-color: #FCF9F4;
    color: #8E564A;
    border-radius: 7px;
}
#newseventsimg {
    width: 61px;
    height: 61px;
    margin: auto;
    background-image: url('../img/news-eventsbutton.jpg');
}
#newsevents:hover #newseventsimg {
    width: 62px;
    height: 61px;
    background-color: #8E564A;
    background-image: url('../img/news-eventsbutton.png');
}

#rehabilitation:hover, #rehabilitation:hover > div {
    background-color: #8E794C;
    color: #FCF9F4;
}
#rehabilitation:hover div:last-child {
    background-color: #FCF9F4;
    color: #8E794C;
    border-radius: 7px;
}
#rehabilitationimg {
    width: 61px;
    height: 61px;
    margin: auto;
    background-image: url('../img/rehabilitationbutton.jpg');
}
#rehabilitation:hover #rehabilitationimg {
    width: 62px;
    height: 61px;
    background-color: #8E794C;
    background-image: url('../img/rehabilitationbutton.png');
}

.infobox {
    height: 372px;
    width: 279px;
    margin-right: 18px;
    border: 1px solid #D5CFC4;
    border-radius: 7px;
    float: left;
}
.infoimages {
    width: 100%;
    margin: 16px 0;
    text-align: center;
}
.infotitle {
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
    font-size: 26px;  
}
.infotext {
    width: 100%;
    height: 160px;
    margin-bottom: 12px;
    padding: 0 30px;
    text-align: center;
    font-size: 13px;
    overflow: hidden; 
    text-overflow: ellipsis;
}
.infobutton {
    width: 112px;
    height: 34px;
    margin: 0 auto;
    border-radius: 7px;
}
.infobutton a {
    text-decoration: none;
}
.infobutton a:hover {
    color: #D9B975;
}
.infobutton div {
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    line-height: 34px;
    font-size: 14px;    
}

.contentboxfull {
    width: 1170px;
    padding: 7px 11px;
    font-size: 13px;
}
.contentbox {
    width: 878px;
    padding: 7px 11px;
    font-size: 13px;
}
.contentbox100 {
    width: 100%;
    padding: 7px 11px;
    font-size: 13px;
}
.greybox {
    height: 64px;
    padding: 7px 10px;
    border: 1px solid #D5CFC4;
}
.titlebox {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    padding-left: 10px;
    vertical-align: middle;
    line-height: 44px;
    font-size: 28px; 
}
.sectionbox {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 11px;
}
.articlebox {
    margin-bottom: 20px;
}
.articlebox ul {
    list-style-type: square;
    margin-left: 5px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 0px;
}
.articlebox li {
    padding-bottom: 11px;
}
.articlebox li:last-child{
    padding-bottom: 0;
}
.articlebox .imgleft {
    float: left;
    padding: 2px 10px 6px 0;
}
.articlebox .imgright {
    float: right;
    padding: 2px 0 6px 10px;
}
.articlebox a {
    text-decoration: underline;
    color: #666666;
}
.pl18px {
    padding-left: 18px;
}
.pr18px {
    padding-right: 18px;
}
.articlebox input {
    width: 400px;
    height: 24px;
    font-size: 13px;
    margin-bottom: 10px;
}
.articlebox textarea {
    background-color: #FCF9F4;
    width: 400px;
    font-size: 13px;
    margin-bottom: 10px;
}
.articlebox input[type=button] {
    width: 100px;
    height: 24px;
    color: #FCF9F4;
    background-color: #6C7F79;;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 15px;
    vertical-align: middle;
}
#spanEmailBusy {
    height: 24px;
    vertical-align: middle;
}

/* guidance */
.guidcolpic {
    width: 217px;
    float: left;
}
.guidcoltext {
    width: 639px;
    float: left;
}

/* picture links */
#testimonials:hover, #testimonials:hover > div {
    background-color: #FCF9F4;
    color: #D9B975;
}
#emailresident:hover, #emailresident:hover > div {
    background-color: #FCF9F4;
    color: #D78272;
}
#newsletter:hover, #newsletter:hover > div {
    background-color: #FCF9F4;
    color: #D9B975;
}
#newsletterbanner {
    width: 240px;
    font-size: 19px;
}
.piclinks {
    position: relative;
}
.piclinks img {
    border-radius: 10px;
}
.piclinksbutton {
    position: absolute;
    left: 0px;
    bottom: 20px;
    height: 37px;
    width: 180px;
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
    text-align: left;
    padding-left: 8px;
    vertical-align: middle;
    line-height: 37px;
    font-size: 22px;
}
.piclinks a {
    text-decoration: none;
}
.piclinks div:hover {
    color: #8E794C;
}
#emailpic {
    margin-top: 34px;
    margin-right: 85px;
}
#emailpic img {
    border-radius: 10px;
}
#heartpic {
    margin-top: 33px;
    margin-right: 10px;
}
#heartpic img {
    border-radius: 10px;
}

/* footer */
#footermenu {
    width: 100%;
    height: 34px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#footermenuleftdiv {
    float: left;
    font-size: 12px;
    padding-top: 8px;
    padding-left: 6px;
}
#footermenurightdiv {
    float: right;
    text-align: right;
    font-size: 12px;
    padding-top: 9px;
    padding-right: 6px;
}
#footermenurightdiv a {
    text-decoration: none;
}
#footermenurightdiv a:hover {
    color: #D9B975;
}
#medialinks div {
    padding: 4px;
    padding-bottom: 2px;
    font-size: 11px;
}
#medialinks span {
    color: #6C7F79;
}
#footerbottom div {
    padding: 4px;
    padding-bottom: 0;
    font-size: 11px;
}

/* News and Events */
#calendarwrapper {
    width: 878px;
    position: relative
}

/* newsletter form */
#newsletterform {
    position: relative;
    height: 310px;
}
#newsletterformtop {
    width: 100%;
    height: 310px;
    padding: 8px;
}
#submitcurve2 {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 279px;
    height: 33px;
    background-image: url('../img/submitcurve2.jpg');
}

/* archive */
#archives {
    padding: 8px;
    height: 222px;
}
#archivestitle {
    width: 100%;
    border-radius: 7px;
    padding: 0 3px;
    margin-bottom: 8px;
    vertical-align: middle;
    line-height: 44px;
    font-size: 28px; 
}
#archiveslinks {
    padding: 8px;
    font-size: 14px;
    line-height: 30px;
}
#archiveslinks a {
    color: #FCF9F4;
}
#archiveslinks a:hover {
    color: #D9B975;
}

/*gallery */
#picmainwrapper {
    width: 974px;
    height: 410px;
    margin: 0 auto 0;
}
#picmainwrapper .navlinks {
    width: 48px;
    height: 398px;
    margin: 0 auto;
    border: 0;
    text-align: center;
    line-height: 398px;
    vertical-align: middle;
}
#picwrapper {
    width: 878px;
    height: 398px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}
#picrowwrapper {
    width: 878px;
    height: 79px;
    margin: 0 auto;
}
#picrowwrapper div {
    display: inline-block;
    width: 142px;
    height: 63px;
    margin: 0 5px 0 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}
#picrowwrapper #divlast {
    width: 143px;
    height: 63px;
    margin: 0;
    overflow: hidden;
}

#galleryrowwrapper {
    width: 878px;
    height: 203px;
    margin: 0 auto;
}
#galleryrowwrapper div {
    display: inline-block;
    width: 270px;
    height: 203px;
    margin: 0 34px 0 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}
#galleryrowwrapper #divlastgallery {
    width: 270px;
    height: 203px;
    margin: 0;
    overflow: hidden;
}

#textrowwrapper {
    width: 878px;
    margin: 0 auto;
}
#textrowwrapper div {
    display: inline-block;
    width: 270px;
    margin: 0 34px 0 0;
    text-align: center;
    vertical-align: middle;
}
#textrowwrapper #divlastgallery {
    width: 270px;
    margin: 0;
}
#textrowwrapper a {
    color: #8E794C;
}

/* Accordion */
#accordion {  
    width: 100%; 
    margin: 0 auto;  
}
#accordion .ui-accordion-content {  
    width: 100%; 
    background-color: #FCF9F4;
    color: #666666;;  
    font-size: 13px;  
    font-family: "DIN", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
}  
#accordion .ui-accordion-content > * {  
    margin: 0;  
    padding: 10px 15px 15px;  
} 
#accordion .ui-accordion-header {
    padding: 8px;
    color: #FCF9F4;
    background-color: #8E794C;
    border-radius: 5px;
    margin: 2px 0;  
    font-size: 15px;  
    cursor: pointer;
} 
#accordion .ui-accordion-header:hover {
    background-color: #D9B975;
} 

/* Tooltip */
.ui-tooltip {
    position: absolute;
    border-radius: 5px;
    padding: 6px 10px 8px;
    background-color: #d3d3d3;
}
.ui-tooltip-content {
    color: #707171;
    font-family: "DIN", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
}

/* font control */
#font_control_container {
    margin-left: 910px;
    padding-top: 7px;
}
#font_control_decrease {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    font-weight: bold;
    font-size: 14px;
}
#font_control{
    display: inline-block;
    padding-top: 12px;
    background: transparent; 
    color: white; 
    overflow: hidden; 
}
#font_control_increase {
    display: inline-block;
    padding-top: 2px;
    color: #ffffff;
    vertical-align: middle;
    font-weight: bold;
    font-size: 20px;
}
#font_control_progress_container {
    width: 200px;
    height: 5px;
    background: #ffffff;
    margin-top: 0;
    margin-left: 4px;
    margin-right: 4px;
    max-width: 200px;	
}
#font_control_progress_container #font_control_progress {
    width: 0;
    height: 100%;
    background: #87581c;
    transition: all 0.5s ease-out;
}
#font_control_decrease_action:link, #font_control_decrease_action:hover, #font_control_decrease_action:visited {
    color: #ffffff;
}
#font_control_increase_action:link, #font_control_increase_action:hover, #font_control_increase_action:visited {
    color: #ffffff;
}

/* career div */
#divcareer {
    width: 100%;
    height: 180px;
    padding: 8px;
}
#divcareertop {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 16px;
}
#divcareerbody {
    font-size: 15px;
    margin-bottom: 10px;
}
#divcareerbody a {
    font-size: 17px;
    text-decoration: underline;
}

/* ==========================================================================
   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: 100%;
}

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }

    .no-print, .no-print *
    {
        display: 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;
    }
   
}
