/*
Theme Name: Little Havana
Version: 1.0
Author: Sizeable Interactive
Author URI: http://sizeableinteractive.com
Description: Custom WordPress theme
*/
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

@import url(css/icons.css);
@import url(https://fonts.googleapis.com/css?family=Arbutus+Slab|Port+Lligat+Slab|Amatic+SC:400,700);

html, body, button, input, select, textarea { color: #4d402c; font: 22px/1.5 'Arbutus Slab', sans-serif; }
body { margin: 0; padding: 0; background-color: #f4e9cd; }
::-moz-selection { background: #FF8; text-shadow: none; }
::selection { background: #FF8; text-shadow: none; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
audio, canvas, img, video { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }
img { border: 0; }

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }


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


/* =General
------------------------------------------------------------------- */
h1 { margin: 0 0 20px; font: 52px/1.0 'Port Lligat Slab', Georgia, serif; }
h2 { margin: 30px 0 12px; font: 42px/1.0 'Port Lligat Slab', Georgia, serif; }
h3 { margin: 0 0 4px; }
h4 { margin: 0 0 4px; }
h5 { margin: 0 0 4px; }
p { margin: 0 0 20px; }

a { color: #396791; text-decoration: none; -webkit-transition: color .2s, background-color .2s, opacity .2s; transition: color .2s, background-color .2s, opacity .2s; -moz-transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: #3b8cd6; -webkit-transition: color .2s, background-color .2s, opacity .2s; transition: color .2s, background-color .2s, opacity .2s; -moz-transition: color .2s, background-color .2s, opacity .2s; }

/*lists*/
nav ul { margin: 0; padding: 0; }
nav ul li { margin: 0; padding: 0; list-style: none; }

.centered-list { float: left; width: 100%; overflow: hidden; position: relative; }
.centered-list ul { clear: left; float: left; position: relative; left: 50%; text-align: center; }
.centered-list ul li { float: left; position: relative; right: 50%; list-style: none; }

.hr { border-top: 1px solid #ccc; margin: 20px 0; }
.nowrap { white-space: nowrap; }

/*(gravity) forms*/
input[type=text], input[type=email], input[type=url], textarea, select,
.gform_wrapper input[type=text], .gform_wrapper textarea, .gform_wrapper select { border: 1px solid #ccc; padding: 6px 8px; max-width: 92% !important; }
input[type=submit]:hover, .gform_wrapper input[type=submit]:hover, input[type=button]:hover, a.button:hover { cursor: pointer; }
body .gform_wrapper .gfield_description { padding: 2px 0 0 0; font-size: 13px; }
body .gform_wrapper ul li.gfield { margin-bottom: 5px; }
#gforms_confirmation_message { padding: 8px 10px; margin-bottom: 20px; background-color: #2ba6cb; border: 1px solid #2284a1; border-radius: 4px; color: #fff; font-weight: bold; }
.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password], .gform_wrapper textarea { font-size: 13px; }
.gform_confirmation_message { padding: 20px; margin: 0 15px 15px; background-color: #ffb; }

.button { display: inline-block; margin: 0; padding: 8px 25px; border: 0; color: #f7f0de !important; background-color: #396791; border-radius: 4px; font-family: 'Port Lligat Slab', Georgia, serif; text-transform: none; -webkit-appearance: none; }
.button:hover { color: #fff !important; background-color: #457aac; }

/* =Container
------------------------------------------------------------------- */
.wrap { max-width: 1140px; margin: 0 auto; }


/* =Header
------------------------------------------------------------------- */
header.main { height: 175px; }
header.main .wrap { position: relative; }
header.main a { color: #4d402c; }
header.main a:hover { color: #8b744f; }

header.main .top { padding: 16px 0 0; height: 50px; font: 14px/1.1 'Helvetica Neue', sans-serif; text-transform: uppercase; border-bottom: 1px solid #d3c7ad; }
header.main .top .button { display: inline; font-size: 18px; }

header.main .top .location { float: left; padding-left: 20px; }
header.main .top .location a { text-decoration: underline; font-weight: bold; margin-left: 10px; }
header.main .top .location .sep { margin: 0 5px; }

header.main .top .contact { float: right; padding-right: 20px; }
header.main .top .contact .phone { font-size: 18px; margin-right: 15px; }

header.main .logo { position: absolute; top: 20px; left: 50%; margin-left: -140px; }
header.main nav ul.left { right: 63.1578947%; }
header.main nav ul.right { left: 63.1578947%; }

header.main nav ul { position: absolute; top: 48px; }
header.main nav ul li { float: left; position: relative; }
header.main nav ul li a { display: block; padding: 10px 16px; float: left; font: 22px/1.0 'Port Lligat Slab', Georgia, serif; text-transform: uppercase; }

header.main .menu-trigger { display: none; }

/* dropdown */
header.main nav ul li:hover ul { visibility: visible; opacity: 1.0; }
header.main nav ul li ul { visibility: hidden; opacity: 0; padding: 10px 0; position: absolute; top: 40px; left: -50%; width: 210px; background-color: #fff; border-radius: 3px; -webkit-transition: opacity .3s; transition: opacity .3s; -moz-transition: opacity .3s; box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.25); z-index: 500;  }

header.main nav ul li ul:after { bottom: 100%; left: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(255, 255, 255, 0); border-bottom-color: #fff; border-width: 6px; margin-left: -6px; } /* arrow */
header.main nav ul li ul li { float: none; }
header.main nav ul li ul li a:after { content: ''; }
header.main nav ul li ul li a, header.main nav ul li.current-menu-ancestor ul li a, header.main nav ul li.current-menu-item ul li a { padding: 8px 15px; display: block; float: none; font-size: 18px; text-indent: 0; text-transform: none; text-align: center; border-bottom: 1px solid #d3c7ad; }
header.main nav ul li ul li:last-child a { border: none; }
header.main nav ul li ul li a:hover { color: #8b744f; }
header.main nav ul li ul li.last a { border: 0; }

/* slide out */
#jPanelMenu-menu { background-color: #4d402c; box-shadow: inset 6px 0 6px rgba(0,0,0,.15); padding-top: 15px;}
#jPanelMenu-menu ul li a { color: #fff; display: block; padding: 10px 20px; font: 20px/1.0 'Port Lligat Slab', Georgia, serif; border-bottom: 1px solid #5e4e36; }
#jPanelMenu-menu ul li a:hover { background-color: #5e4e36; }
#jPanelMenu-menu ul li ul li a { padding-left: 40px; font-size: 16px; }


/* =Banner
------------------------------------------------------------------- */
#banner { padding: 50px 0 80px; background-color: #15140f; color: #fef0d8; text-align: center; position: relative; font-size: 26px; text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4); }
#banner.map { background-color: #443827; }
#banner .wrap { padding: 30px; max-width: 900px; z-index: 200; position: relative; }
#banner h1 { color: #fff; font: 700 80px/1.0 'Amatic SC', serif; margin-bottom: 40px; }
#banner .bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: 0.5; z-index: 100; }


/* =Content
------------------------------------------------------------------- */
#content { padding: 50px 100px; margin: -50px 0 0; background-color: #fff; box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.25); z-index: 300; position: relative; }
#content .alignleft { margin-left: -60px; }
#content .alignright { margin-right: -60px; }


/* =Template: Home
------------------------------------------------------------------- */
.home header.main { background: transparent; position: absolute; top: 0; left: 0; z-index: 500; width: 100%; color: #f4e9cd; }
.home header.main a { color: #fff; }
.home header.main a:hover { color: #fee4b9; }
.home header.main .top, .home header.main .top a { color: #f4e9cd; }
.home header.main .top { border-bottom: 0; }
.home header.main nav ul li ul li a { color: #4d402c; }
.home header.main nav ul li ul li a { color: #4d402c; }
.home header.main nav ul li ul li a:hover { color: #8b744f; }

.home #banner { padding: 220px 0 400px; }
.home #banner .wrap { max-width: 916px; padding: 0; }
.home #banner p { font: 700 52px/1.0 'Amatic SC', serif; color: #fee4b9; margin-bottom: 0; padding: 0 10px; text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4); }
.home #banner .bg { opacity: 1.0; background-position: center top; }

#block-nav { min-height: 72px; }
#block-nav .menu { background-color: #396791; color: #fff; padding: 20px 0; position: absolute; width: 100%; z-index: 999; }
#block-nav .menu a { color: #fff; font: 22px/1.0 'Port Lligat Slab', Georgia, serif; padding: 0 25px; }
#block-nav .menu a:hover { color: #fee4b9; }

.block { padding: 90px 0 120px; background-position: center center; background-size: cover; background-repeat: no-repeat; border-bottom: 1px solid #eae3c5; position: relative; }
.block aside.box { background-color: #f4e9cd; padding: 8px 10px; margin: 0 0 0 15px; border: 5px solid #d5392c; width: 445px; font-size: 16px; float: left; z-index: 300; position: relative; }
.block aside.box.alt { float: right; margin: 0 15px 0 0; }
.block aside.box h3 { padding: 12px 10px; margin: 0; text-align: center; border-top: 6px double #f4e9cd; border-bottom: 6px double #f4e9cd; margin: 0; background-color: #d5392c; color: #f4e9cd; font: 700 52px/1.0 'Amatic SC', serif; }

/*info*/
#bg-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: 0.45; z-index: 100; background-color: #baa685; }

.block#go-info { background-color: #7c6747; }
.block#go-info aside.box { width: 550px; padding: 0; }
	
.block#go-info aside.box .info { padding: 15px 20px; }
.block#go-info aside.box .info article { width: 45%; }
.block#go-info aside.box .info article p { margin-bottom: 10px; line-height: 1.4; }
.block#go-info aside.box .info article.hours { float: right; }
.block#go-info aside.box .info article.address a { border-bottom: 1px dotted #ccc; color: inherit; text-decoration: none; }
.block#go-info aside.box .info article.address a:hover { border-bottom: 1px solid #999; }
.block#go-info aside.box .info article.address p { padding-left: 45px; }
.block#go-info aside.box .info article.phone p { padding-left: 45px; }
.block#go-info aside.box .events { border-top: 4px solid #d5392c; padding: 15px 20px; }
.block#go-info aside.box .events .tribe-events-list-widget ol { margin: 0; padding: 0; }
.block#go-info aside.box .events .tribe-events-list-widget ol li { display: inline-block; width: 48%; margin: 0; padding: 0 20px 0 0; vertical-align: top; }
.block#go-info aside.box .events .tribe-events-list-widget ol li .duration { font-size: 14px; color: #777; }
.block#go-info aside.box .events .tribe-events-list-widget .tribe-events-widget-link { margin: 15px 0 0; font-size: 14px; }
.block#go-info aside.box h3 { margin: 0; padding: 0; background: none; color: #d5392c; text-align: left; font-size: 40px; }

.block#go-info aside.box h3:before { font-family: 'icomoon'; margin-right: 8px; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 36px; }
.block#go-info aside.box .info article.hours h3:before { content: "\e603"; }
.block#go-info aside.box .info article.address h3:before { content: "\e602"; }
.block#go-info aside.box .info article.phone h3:before { content: "\e606"; font-size: 28px; }
.block#go-info aside.box .events h3:before { content: "\e601"; font-size: 30px; }

/*menu*/
.block aside.box ul.menu { margin: 0; padding: 20px; }
.block aside.box ul.menu li { margin: 0 0 5px; padding: 0; list-style: none; }
.block aside.box ul.menu li a { font: 40px/1.0 'Amatic SC', serif; display: block; padding: 10px; position: relative; }
.block aside.box ul.menu li a .sub { font: 13px 'Helvetica Neue', sans-serif; color: #d5392c; text-transform: uppercase; position: absolute; top: -2px; left: 55px; }
.block aside.box a .icon-hand-right { color: #756143; }
.block aside.box a:hover .icon-hand-right { color: #a0855c; }
 
 /*form*/
.block aside.box .gform_wrapper { padding: 0; margin: 0; max-width: 100%; }
.block aside.box .gform_wrapper .gform_heading { width: 100%; }
.block aside.box .gform_wrapper h2.gsection_title, .block aside.box .gform_wrapper .gsection_description, .block aside.box .gform_wrapper h3.gform_title{ width: 100%; }

/* =Template: Menus
------------------------------------------------------------------- */
#menu-accordion .group h2 { margin: 0; padding: 0; border-top: 2px solid #47423f; }
#menu-accordion .group h2 a { display: block; padding: 12px 0; font: 700 52px/1.0 'Amatic SC', serif; }
#menu-accordion .group h2 a:after { content: ' (+)'; font-size: 32px; color: #554631; }
#menu-accordion .group .items { display: none; }
#menu-accordion .group .items .item { display: inline-block; width: 48%; padding: 15px; margin-bottom: 20px; vertical-align: top; cursor: default; position: relative; font-size: 18px; transition: all .2s; -webkit-transition: all .2s; -moz-transition: all .2s; }
#menu-accordion .group .items .item:hover { background-color: #f4e9cd; transition: all .2s; -webkit-transition: all .2s; -moz-transition: all .2s; }
#menu-accordion .group .items .item h3 { font-size: 22px; }
#menu-accordion .group .items .item h3 .price { font-size: 18px; font-weight: normal; }

/* expanded */
#menu-accordion .group.toggled h2 a:after { content: ' (-)'; }


/* photo "tooltip" */
#menu-accordion .group .items .item.has-photo h3:before { content: "\e607"; 	font-family: 'icomoon'; margin-right: 8px; font-size: 20px; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
#menu-accordion .group .items .item.has-photo:hover .phototip { visibility: visible; opacity: 1.0; transition: all .2s; -webkit-transition: all .2s; -moz-transition: all .2s; }
#menu-accordion .group .items .item.has-photo .phototip { visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 50%; margin-left: -224px; box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.35); padding: 10px; background-color: #fff; z-index: 400; transition: all .2s; -webkit-transition: all .2s; -moz-transition: all .2s; }
#menu-accordion .group .items .item.has-photo .phototip:after { width: 100%; bottom: 100%; left: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(255, 255, 255, 0); border-bottom-color: #fff; border-width: 8px; margin-left: -8px; } /* arrow */

/* =Footer
------------------------------------------------------------------- */
footer.social { background-color: #47423f; padding: 16px 0; }
footer.social a { display: inline-block; margin: 0 6px; background-color: #f4e9cd; color: #47423f; border-radius: 50%; width: 56px; height: 56px; text-align: center; font-size: 36px; line-height: 1.8; }
footer.social a:hover { background-color: #fff; color: #3b8cd6; }

footer.main { padding: 30px; font-size: 18px; text-align: center; }
footer.main a { color: #4d402c; border-bottom: 1px dotted #4d402c; }
footer.main a:hover { border-bottom: 1px solid #4d402c; }


/* ==WordPress
------------------------------------------------------------------- */

embed, iframe, object, video { max-width: 100%; }

/* Images */
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; }
img.size-full, img.size-large, img.header-image, img.wp-post-image { max-width: 100%; height: auto; }

.alignleft { float: left; margin: 0 25px 5px 0; }
.alignright { float: right; margin: 0 0 5px 25px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin: 15px 0; }
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image { border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.wp-caption { max-width: 100%; padding: 4px; }
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption { font-style: italic; font-size: 12px; font-size: 0.857142857rem; line-height: 2; color: #757575; }
img.wp-smiley, .rsswidget img { border: 0; border-radius: 0; box-shadow: none; margin-bottom: 0; margin-top: 0; padding: 0; }
.entry-content dl.gallery-item { margin: 0; }
.gallery-item a, .gallery-caption { width: 90%; }
.gallery-item a { display: block; }
.gallery-caption a { display: inline; }
.gallery-columns-1 .gallery-item a { max-width: 100%; width: auto; }
.gallery .gallery-icon img { height: auto; max-width: 90%; padding: 5%; border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.gallery-columns-1 .gallery-icon img { padding: 3%; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

img { max-width: 100%; height: auto; -ms-interpolation-mode: bicubic; }
.only-mobile { display: none; }

/* =Desktop (small) */
@media only screen and (max-width: 1130px) {

	/* =Header
	------------------------------------------------------------------- */
	header.main nav ul.left { right: 65%; }
	header.main nav ul.right { left: 65%; }
	header.main nav ul li a { padding-left: 9px; padding-right: 9px; font-size: 18px; }
header.main nav ul li ul { margin-left: -30px; }


}

/* =Tablet (Portrait) */
@media only screen and (max-width: 959px) {

	/* =Header
	------------------------------------------------------------------- */
	header.main nav { display: none; }
	header.main .location .address { display: none; }
	header.main .menu-trigger { display: block; position: absolute; top: 25px; right: 30px; font-size: 52px; color: #756143; }
	header.main .logo { left: 30px; margin: 0; }


	/* =Content
	------------------------------------------------------------------- */
	#content { padding: 20px 40px; margin: -50px 0 0; }


	/* ==WordPress
	------------------------------------------------------------------- */
	#content .alignright,img.alignright { max-width: 60%; margin-right: -40px; }
	#content .alignleft,img.alignleft { max-width: 60%; margin-left: -40px; }
}

/* Mobile */
@media only screen and (max-width: 650px) {

	/* =General
	------------------------------------------------------------------- */
	.only-mobile { display: block; }

	/* =Header
	------------------------------------------------------------------- */
	header.main { height: 125px; }
	header.main .top { padding-top: 10px; height: 40px; }
	header.main .top .location { padding-left: 0; }
	header.main .top .location a { font-size: 12px; }
	header.main .top .contact { padding-right: 0; }
	header.main .top .contact .phone { font-size: 15px; padding-right: 0; text-align: right; }
	header.main .menu-trigger { top: 15px; right: 20px; font-size: 42px; }
	header.main .logo { height: 60px; left: 20px; top: 12px; margin: 0; }
	header.main .contact .reservation { display: none; }
	header.main .contact .order-online { display: none; }


	/* =Banner
	------------------------------------------------------------------- */
	#banner { padding: 40px 0 30px; font-size: 20px; }
	#banner .wrap { padding: 20px; }
	#banner h1 { font-size: 52px; margin-bottom: 30px; }


	/* =Content
	------------------------------------------------------------------- */
	#content { padding: 30px 20px; margin: -50px 0 0; }


	/* =Template: Home
	------------------------------------------------------------------- */
	.home #banner { padding: 150px 0 100px; }
	.home #banner p { font-size: 42px; }
	.home #banner .bg { opacity: 0.6;}

	#block-nav { min-height: 52px; }
	#block-nav .menu { padding: 8px 0; }
	#block-nav .menu .centered-list ul { position: static; float: none; left: auto; }
	#block-nav .menu .centered-list ul li { position: static; float: none; right: auto; display: inline; }
	#block-nav .menu a { display: inline-block; width: auto; padding: 6px 12px; background-color: #2c4d6d; border-radius: 4px; font-size: 16px; margin-bottom: 3px; }

	.block { padding: 60px 0; }
	.block#go-info aside.box, .block aside.box { width: 90%; margin: 0 auto; float: none; }
	.block#go-info aside.box .info article { width: 100%; margin-bottom: 18px; }
	.block#go-info aside.box .info article.hours { float: none; }
	.block#go-info aside.box .info article.hours p { padding-left: 45px; }
	.block#go-info aside.box .events .tribe-events-list-widget ol li { display: block; width: 100%; margin: 0 0 18px; padding: 0; }

	.block aside.box h3 { font-size: 42px; }
	.block aside.box ul.menu { padding-left: 0; padding-right: 0; }
	.block aside.box ul.menu li a { font-size: 32px; }
	

	/* =Template: Menus
	------------------------------------------------------------------- */
	#menu-accordion .group h2 a { font-size: 48px; }
	#menu-accordion .group h2 a:after { font-size: 28px; }
	#menu-accordion .group .items .item { width: 100%; padding: 10px; margin-bottom: 20px; }
	#menu-accordion .group .items .item:hover { background-color: #f4e9cd; transition: all .2s; -webkit-transition: all .2s; -moz-transition: all .2s; }
	#menu-accordion .group .items .item h3 { font-size: 18px; }
	#menu-accordion .group .items .item h3 .price { font-size: 16px; }

	#menu-accordion .group .items .item.has-photo .phototip { margin-left: -180px; }
	
	/* =Footer
	------------------------------------------------------------------- */
	footer.social a {  width: 32px; height: 32px; font-size: 22px; line-height: 1.8; }

	/* =WordPress
	------------------------------------------------------------------- */
	#content .alignright,img.alignright,
	#content .alignleft,img.alignleft { max-width: 100%; float: none; margin: 0 0 20px; }


}


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

.ir { background-color: transparent; border: 0; overflow: hidden; display:block; width: 0; height: 0; }

.hidden { display: none !important; visibility: hidden; }

.visuallyhidden {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {clip: auto;height: auto;margin: 0;overflow: visible;position: static;width: auto;}

.invisible {visibility: hidden;}

.clearfix:before,
.clearfix:after {content: " "; /* 1 */display: table; /* 2 */}
.clearfix:after {clear: both;}
.clearfix { *zoom: 1; }

.clear { clear: both; }

/* Bootstrap Errors */
.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; }
.alert h4 { margin-top: 0; color: inherit; }
.alert a { font-weight: 700; }
.alert>p, .alert>ul { margin-bottom: 0; }
.alert>p+p { margin-top: 5px; }
.alert.success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }
.alert.success hr { border-top-color: #c9e2b3; }
.alert.success a { color: #2b542c; }
.alert.info { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; }
.alert.info a { color: #245269; }
.alert.warning { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }
.alert.warning a { color: #66512c; }
.alert.danger { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
.alert.danger a { color: #843534; }


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * { background: transparent !important; color: #000 !important; 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) ")"; }
	*/
    .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; }
    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.page div.timeselect { width: 250px !important; }
body.page div.timeselect a { padding: 10px 20px; height: auto; border-bottom: 1px solid #eee; }