/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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
   ========================================================================== */

body {
	box-sizing: border-box;
	margin:     0;
}

html {
    color: #222;
    font-size: 1em;
    font-size: 62.5%;
    line-height: 1.4;
	font-family: "myFont_light"
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

@font-face {
    font-family: "myFont_light";
    font-style: normal;
    font-weight: 300;
	text-shadow: 0px 0px 1px rgba(0, 0, 0, .1);
/*    src: url('../font/web/NotoSansCJKjp.eot');
*/    src: local('Noto Sans CJK JP Light'), 
/*         url('../font/web/NotoSansCJKjp.eot?#iefix') format('embedded-opentype'),
*/         url('/wp-content/themes/kan-etsu-hp/assets/entry/font/NotoSansCJKjp_light.woff') format('woff'),
         url('/wp-content/themes/kan-etsu-hp/assets/entry/font/NotoSansCJKjp_light.otf') format('opentype')
}

@font-face {
    font-family: "myFont_regular";
    font-style: normal;
    font-weight: 400;
/*    src: url('../font/web/NotoSansCJKjp.eot');
*/    src: local('Noto Sans CJK JP Regular'), 
/*         url('../font/web/NotoSansCJKjp.eot?#iefix') format('embedded-opentype'),
*/         url('/wp-content/themes/kan-etsu-hp/assets/entry/font/NotoSansCJKjp_regular.woff') format('woff'),
         url('/wp-content/themes/kan-etsu-hp/assets/entry/font/NotoSansCJKjp_regular.otf') format('opentype')
}

@font-face {
    font-family: "myFont_bold";
    font-style: normal;
    font-weight: 700;
	text-shadow: 0px 0px 1px rgba(0, 0, 0, .1);
/*    src: url('../font/web/NotoSansCJKjp.eot');
*/    src: local('Noto Sans CJK JP Bold'), 
/*         url('../font/web/NotoSansCJKjp.eot?#iefix') format('embedded-opentype'),
*/         url('/wp-content/themes/kan-etsu-hp/assets/entry/font/NotoSansCJKjp_bold.woff') format('woff'),
         url('/wp-content/themes/kan-etsu-hp/assets/entry/font/NotoSansCJKjp_bold.otf') format('opentype')
}

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

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

/*
 * A better looking default horizontal rule
 */

hr {
	display: none !important
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body { background: #f6f9fd}
br.br-sp { display: none}

header h1,
header h2,
header h4      { margin: 0; padding: 0}
header h1      { background: #538FD4; text-align: left; position: relative}
header h1 a    { color: #FFF}
header h1 img  { width: 85px; height: 85px}
header h1 img.ttl { display: none}
header h1 span { position: absolute; font-weight: normal; font-family: "myFont_light"}
header h1 span.ttl { top:  2.2rem; top:  2.5rem; left: 110px; font-size: 1.3rem}
header h1 span.name { top: 4.0rem; top:  2.8rem; left: 104px; left: 214px; font-size: 2.0rem}
header h1 span.cat { display: none}
header h1 span i { display: inline-block; text-indent: -0.8rem; font-style: normal}
header h4 { padding: 0.9rem 0; background: #5f5352; text-align: center; font-size: 1.2rem; color: #FFF; font-weight: normal; font-family: "myFont_light"}
header h2 { padding: 2.1rem 0 2.0rem; background: #FFF; text-align: center; font-size: 2.8rem; color: #000; font-weight: normal; font-family: "myFont_regular"}
header h2 span { display: block; font-size: 1.8rem}

#container-inner { padding-bottom: 3.4rem}

body article             { padding: 2.0rem 6% 0}
body h3                  { color: #5F5352; font-family: "myFont_bold"; text-align: center; font-size: 1.8rem}
body p                   { color: #5F5352}
body p.message           { font-family: "myFont_bold"}
body p.message.red       { text-align: center; font-size: 1.4rem; color: #f00}
body section:first-child { background: #FFF; border: 1px solid #cbddf2; padding: 1.9rem 7% 0.1rem; border-radius: 4px}
body section.box         { background: #FFF; border: #fff 1px solid; padding: 1.0rem 7% 2.6rem; border-radius: 4px}
body p.icon              { width: 5.0rem; height: 5.0rem; margin: 0 auto; border-radius: 2.5rem; background: #538FD4; font-family: "myFont_regular"; font-size: 3.3rem; color: #FFF}
body p.icon i            { padding-top: 0.65rem; font-size: 3.6rem}
body p.notice            { font-family: "myFont_light"; font-size: 1.6rem; line-height: 2.4rem}
body section.box a       { text-decoration: none;}
body section.box p       { margin: 0.2rem 0 0; padding-bottom: 2.4rem; font-size: 1.4rem; color: rgba(0,0,0,0.8); font-family: "myFont_regular";}

body section.box a:first-child    { display: block; font-size: 3.4rem; color: #538fd4; text-decoration: none; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal}
body section.box a.link.btn-small { border-radius: 4px; padding: 0.7rem 2.1rem; background:  #538fd4; font-size: 1.2rem; color: #FFF; font-weight: bold }

input, textarea, select {
/*	-webkit-margin-before: 0.7rem;
	-webkit-margin-after: 1.4rem;
*/	margin: 0.7rem 0 1.4rem;
	background: #fff;
    border: none;
    border: #ccc 1px solid;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-size: 1.4rem;
    font-size: 3.3rem !important;
    line-height: 17px;
    line-height: 3.3rem;
    text-align: left;
    padding: 4px 8px;
    width: 100%;
    color: #5F5352;
}

input[type=number],
input[type=email],
input[type=tel],
input[type=text]   { height: 4.0rem;}
input[type=submit] { /*-webkit-margin-before: 2.0rem;*/ margin-top: 2.0rem; height: 6.0rem; background: #538fd4; border-radius: 0; color: #FFF; text-align: center; font-size: 2.2rem !important}
input[type=button] { width: 34.848484%; /*-webkit-margin-before: 4.0rem;*/ margin-top: 4.0rem; height: 5.0rem; margin-left: 32.575757%; border: rgba(90,16,25,0.3) 1px solid; background: #FFF; border-radius: 2.5rem; color: #5F5352; text-align: center; font-size: 1.6rem !important}
select             { height: 4.0rem; font-size: 1.6rem !important; color: #000 !important}
input[type=radio] { width: inherit}

input.red { border: none; background: rgba(255,220,220,1.0) !important}

input {
/*    color: #4797BC;
    font-weight: bold;
    width: 100%;
*/}
input::-webkit-input-placeholder { padding-left: 0.4rem; font-size: 1.54rem; line-height: 4.0rem; color: rgba(0,0,0,0.4); font-weight: normal; opacity: 1;}
input:-ms-input-placeholder      { padding-left: 0.4rem; font-size: 1.54rem; line-height: 4.0rem; color: rgba(0,0,0,0.4); font-weight: normal;}
input::-moz-placeholder          { padding-left: 0.4rem; font-size: 1.54rem; line-height: 4.0rem; color: rgba(0,0,0,0.4); font-weight: normal;}

textarea::-webkit-input-placeholder { padding-left: 0.4rem; font-size: 1.6rem; line-height: 4.8rem; color: rgba(0,0,0,0.4); font-weight: normal; opacity: 1;}
textarea:-ms-input-placeholder      { padding-left: 0.4rem; font-size: 1.6rem; line-height: 4.8rem; color: rgba(0,0,0,0.4); font-weight: normal;}
textarea::-moz-placeholder          { padding-left: 0.4rem; font-size: 1.6rem; line-height: 4.8rem; color: rgba(0,0,0,0.4); font-weight: normal;}

#intro-area { text-align: center}
	#intro-area input             { text-align: center}
	#intro-area input[type=number],
	#intro-area input[type=email],
	#intro-area input[type=tel],
	#intro-area input[type=text]  { height: 6.0rem; /*-webkit-margin-after: 2.0rem !important;*/ margin-bottom: 2.0rem !important; vertical-align: middle}

#input-area { text-align: center}
	#input-area input[type=number],
	#input-area input[type=email],
	#input-area input[type=tel],
	#input-area input[type=text] { font-size: 2.0rem !important}
	#input-area h3               { margin-top: 2.0rem}
	#input-area h3:first-child   { margin-bottom: 0}
	#input-area p:first-child    { text-align: center}
	#input-area p a.link         { font-size: 1.2rem; font-size: 1.4rem; font-family: "myFont_regular"; color: #538fd4}
	#input-area p a.link img     { padding-right: 0.6rem}
	#input-area p a.link:hover   { text-decoration: none}

	ul.select-item               { width: 100%; margin: 0; padding: 0.6rem 0 0;}
	ul.select-item.purpose       { padding-top: 2.2rem}
	ul.select-item li            { list-style: none; width: 160px; width: 48.4848%; min-height: 80px; min-height: 58px; margin: 0; border-top: 1px solid #000; border: 0; padding: 0 3.0304% 10px 0; position: relative; float: left}
	ul.select-item li:nth-child(2n) { padding: 0 0 10px;}

	ul.select-item li input[type="checkbox"],
	ul.select-item li input[type="radio"] { margin: 0; padding: 0; width: 15px; height: 15px; position: absolute; top: 12px; left: 12px; z-index: 10000;
		-webkit-appearance: button !important;
		appearance: button !important;
		background-color: inherit;
		border: 2px solid rgba(0,0,0,0.4);
		border-radius: 15px;
	}
	ul.select-item li input[type="checkbox"]           { -webkit-appearance: button !important; appearance: button !important; border-radius: 2px}
	ul.select-item.single li input[type="checkbox"],
	ul.select-item.single li input[type="radio"]       { top: 22px}
	ul.select-item li > input[type="checkbox"]:checked,
	ul.select-item li > input[type="radio"]:checked    { border: 3px solid #FFF;}
	ul.select-item li > input[type="checkbox"]:checked { background: #FFF}

	ul.select-item li label,
	ul.select-item li input[type="checkbox"]:checked + label,
	ul.select-item li input[type="radio"]:checked + label { padding: 8px 0 0 35px; padding: 8px 0 0 20.58823529%; width: 125px; width: 94.11764706%; width: 73.5294118%; min-height: 72px; min-height: 50px; border-radius: 5px; position: absolute; top: 0; left: 0; font-size: 1.7rem; text-align: left; line-height: 2.1rem}
	ul.select-item.single li label,
	ul.select-item.single li input[type="checkbox"]:checked + label,
	ul.select-item.single li input[type="radio"]:checked + label  { padding-top: 18px !important; min-height: 40px !important}
	ul.select-item li:nth-child(2n) label,
	ul.select-item li:nth-child(2n) input[type="checkbox"]:checked + label,
	ul.select-item li:nth-child(2n) input[type="radio"]:checked + label { width: 78.125%; width: 73.5294118%; padding: 8px 0 0 21.875%}
	ul.select-item li label                               { background: #dde9f7; color: #5F5352; color: #000}
	ul.select-item li input[type="checkbox"]:checked + label,
	ul.select-item li input[type="radio"]:checked + label { background: #538fd4; color: #FFF}
	ul.select-item li label span                          { display: block; padding-top: 0.2rem; font-family: "myFont_bold"; font-size: 1.2rem; color: rgba(0,0,0,0.75)}
	ul.select-item li input[type="checkbox"]:checked + label span,
	ul.select-item li input[type="radio"]:checked + label span { color: #FFF}

	ul.select-item li.col2 { width: 330px; width: 100%; border-top: 1px solid #000; border: 0; padding: 0 0 10px 0;}
	ul.select-item li.col2 label,
	ul.select-item li.col2 input[type="checkbox"]:checked + label,
	ul.select-item li.col2 input[type="radio"]:checked + label { padding: 8px 0 0 35px; padding: 8px 0 0 10.606060%; width: 125px; width: 295px; width: 330px; width: 100%; width: 89.39393939%}

	ul.select-item li label em { display: inline-block; margin: 0 -0.75rem 0 -1.0rem; font-style: normal}

#input-area section,
#input-area ol.accordion li { text-align: left}
#input-area section label,
#input-area ol.accordion li label { padding-left: 1.0rem; font-size: 1.3rem; font-size: 1.5rem; font-family: "myFont_regular"}
	.require-item { color: #f00}

body #input-area p.message.red { margin: 0; padding: 0.5rem 1.0rem 0.2rem; text-align: left; font-size: 1.3rem; color: #f00}
i.select-mark {
    position: absolute;
    right: 20px;
    top: 2.5rem;
    display: block;
    margin-top: -4px;
    border-right: solid 2px #999;
    border-bottom: solid 2px #999;
    width: 7px;
    height: 7px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    z-index: 100001
}

section div { margin-top: -1.0rem; position: relative; height: 6.0rem}
select.half-size { position: absolute; top: 0; width: 48.4848%}
select.half-size:first-child { left: 0}
select.half-size:last-child  { right: 0}

select#address,
input#address_a { margin-bottom: 0rem}
input#license_more { margin-top: -0.2rem}

p.note { margin-top: -0.6rem; padding-bottom: 1.0rem; font-size: 1.1rem; font-size: 1.4rem; line-height: 1.6rem; line-height: 2.1rem; color: #000 !important}

section.policy            { margin-top: 2.0rem; height: 12.0rem; border-top: rgba(0,0,0,0.3) 1px solid; position: relative}
section.policy p,
section.policy blockquote,
section.policy input,
section.policy label      { position: absolute; top: 1.0rem; left: 20px}

section.policy p          { padding: 0 0 0 1.0rem; text-align: left !important}
section.policy a.link     {}
section.policy blockquote { margin: 0; padding: 0; top: 7.0rem; width: 290px; height: 32px; border-radius: 5px}
section.policy input      { top: 0.2rem; left: 10px; width: 1.5rem; height: 1.5rem; z-index: 50000}
section.policy label      { width: 258px; top: 0; left: 0; margin: 0; border: #c5e7f1 1px solid; padding: 7px 0 8px 30px !important; border-radius: 4px; background: #FFF; font-size: 1.1rem !important}
.select-item li i.select-mark,
section.policy i.select-mark {
	visibility: hidden;
    left: 14px;
    top: 10px;
    border-right: solid 2px #5F5352;
    border-bottom: solid 2px #5F5352;
    width: 5px;
    height: 11px;
    z-index: 100001
}
.select-item        li i.select-mark { left: 16px; top: 14px}
.select-item.single li i.select-mark { top: 24px}

section.policy input[type="checkbox"] { -webkit-appearance: button !important; appearance: button !important; background: #c5e7f1; border-radius: 2px}
section.policy label.button_on        { border: #5F5352 1px solid; color: #FFF; background: #5F5352}
section.policy input[type="checkbox"]:checked { background: #FFF}
.select-item li input[type="checkbox"]:checked + label i.select-mark,
section.policy input[type="checkbox"]:checked + label i.select-mark { visibility: visible}

div.submit-area { position: relative; height: 7.5rem;}
div.submit-area p,
div.submit-area input { top: 0; left: 0; position: absolute;}
div.submit-area p { /*-webkit-margin-before: 2.0rem; -webkit-margin-after: 1.4rem;*/ margin: 2.0rem 0 1.4rem; padding: 2.2rem 0; background: #538fd4; border-radius: 0; color: #FFF !important; text-align: center; font-size: 2.2rem; line-height: 17px; width: 100%; opacity: 0.3}
div.submit-area input { visibility: hidden}
div.submit-area input.button_on { visibility: visible}

#confirm-area dl,
#confirm-area dt,
#confirm-area dd { margin: 0; padding: 0}
#confirm-area dl { border-top: 1px solid rgba(90,16,25,1.0); background: #FFF}
#confirm-area dt { padding: 1.4rem 0 0 1.0rem; float: left; position: relative; color: rgba(0,0,0,0.5); font-size: 1.3rem; font-family: "myFont_bold"}
#confirm-area dd { border-bottom: 1px solid rgba(90,16,25,0.3); padding: 1.0rem 0 1.2rem 108px; font-size: 1.8rem}
#confirm-area dt.col2 { position: inherit; float: inherit}

#comp-area section:last-child   { background: #FFF; border: #fff 1px solid; padding: 1.0rem 7% 2.6rem; border-radius: 4px; text-align: center;}
#comp-area p.notice { font-family: "myFont_light" !important; font-size: 1.5rem !important; line-height: 2.4rem}

footer { margin: 0; padding: 3.2rem 0; background: #5f5352; text-align: center}
footer p { text-align: center; color: rgba(255,255,255,0.7)}

#pagetop { display: none}

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

/*
 * Hide visually and from screen readers
 */

.text-hide { overflow:hidden; text-indent:200%; white-space:nowrap; }

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

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

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

body { background: url(/wp-content/themes/kan-etsu-hp/assets/common/img/bg.png) center top fixed repeat-x}
#container { margin:0 auto; width: 1024px; background: #FFF}
#container-inner { width: 870px; padding-bottom: 3.4rem; background: #f6f9fd; border-radius: 10px; margin: 0 auto}
.complete #container-inner { background: #fff}

header h1 { position: relative}
header h1 img { width: 64px; height: 64px; margin-left: -64px}
header h1 img.ttl { display: inherit; width: 322px; margin-left: 18px}

header h1 span.ttl  { display: none}
header h1 span.name { display: none}
header h1 span.cat  { position: absolute; top: 0; right: 0; padding-top: 24px; width: 128px; height: 40px; display: block; background: #5F5352; color: #fff; text-align: center; vertical-align: middle; font-size: 1.4rem; font-weight: normal; font-family: "myFont_light"}
header h4 { width: 1003px; margin: 0 auto; padding: 2.5rem 0 0 21px; background: #FFF; text-align: left; font-size: 1.6rem; color: #5f5352; font-weight: bold; font-family: "myFont_bold"}
header h2 { padding: 2.1rem 0 4.2rem}

body article { width: 670px; margin: 0 auto; padding: 4.0rem 0 0}

ul.select-item li { width: 160px; padding: 0 10px 10px 0}
ul.select-item li:nth-child(2n) { padding: 0 10px 0 0}
ul.select-item li:nth-child(4n) { padding: 0 0 10px}
ul.select-item li label,
ul.select-item li input[type="radio"]:checked + label { padding: 8px 0 0 35px; width: 125px}

ul.select-item li:nth-child(2n) label,
ul.select-item li:nth-child(2n) input[type="radio"]:checked + label { width: 125px; padding: 8px 0 0 35px}

ul.select-item li.col2 { width: 330px; padding: 0 10px 10px 0}
ul.select-item li.col2:nth-child(2n) { padding: 0 0 10px 0}
ul.select-item li.col2 label,
ul.select-item li.col2:nth-child(2n) label,
ul.select-item li.col2 input[type="radio"]:checked + label,
ul.select-item li.col2:nth-child(2n) input[type="radio"]:checked + label
{ width: 295px; padding: 8px 0 0 35px}

input.half-size { width: 330px}

section.policy input[type="checkbox"]:checked + label { color: #5F5352; font-family: "myFont_bold" }
section.policy label.button_on { color: #FFF !important}

#confirm-area dt { padding: 1.4rem 0 0 3.0rem}
#confirm-area dd { padding: 1.0rem 6.0rem 1.2rem 250px}
#confirm-area dt.col2 { position: relative; float: left}

br.br-pc { display: block}

footer { width: 1024px; margin: 0 auto; padding: 7.0rem 0; background: #FFF; text-align: right; color: rgba(0,0,0,1.0); font-size: 1.2rem}
footer p { text-align: right; color: rgba(0,0,0,1.0); font-size: 1.1rem;}

#pagetop { display: inherit; visibility:hidden; position:fixed; z-index:1001; left:0; right:0; bottom:-128px; margin:0 auto; max-width:1366px; }
#pagetop:before,
#pagetop a { position:absolute; right:0; bottom:0; width:64px; height:128px; }
#pagetop:before { content:""; background:#fff; }
#pagetop a {
  display:block; background:#538FD4;
  -webkit-transition:none;
  -moz-transition:none;
  -ms-transition:none;
}
#pagetop a:before { content:""; position:absolute; left:50%; top:27px; margin-left:-7px; width:14px; height:26px; background:url(/wp-content/themes/kan-etsu-hp/assets/common/img/icon-arw.png) no-repeat -132px -10px; }
#pagetop a:hover { opacity:1; }

}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
