body{-webkit-print-color-adjust: exact !important; font-size:10px;}
a[href]:after{content:'';}

h1{}
h2{font-size:2.4em;}
h3{font-size:20px;}
h4{font-size:16px;}
h5{font-size:12px;}
h6{}
h4.font-oversize{font-size:50px; font-weight:bold; text-align:center; margin:4cm 0 2cm 0;}

hr{width:100%; margin:0;}

code{color:#c7254e !important;}

.font-standard-printsize{font-size:13px;}

header.tools-header{border:none; margin:0;}
header.tools-header>div {margin:0; padding:0;}
header.tools-header form, header.tools-header>ul.nav{display:none;}

div#footer-print{position:fixed; bottom:-2px; right:0;}

div.container>header, div.container aside.col-md-3{display:none;}
div.container>main {margin:0; min-height:0; padding:0; display:block;}
ul.tools-hz-bar {display:none;}
.nav-tabs>li:not(.active)>a{display:none;}

div.container main>div.row section{margin:0; border:0; padding:0;}

div.container>main>h3{position:absolute; top:0; right:0; border-bottom:1px solid #000;}
div.container main>header>div.title_left{width:auto;}

div.container main>div.row section.profile>header>h2{float:none; font-size:1.3em; border-bottom:1px solid #ddd; padding:3px 0; margin:0;}
div.container main>div.row section.profile>header>h2 a{float:left; display:block;}
div.container main>div.row section.profile>header>h2 small{font-size:0.8em; float:left;}

div#crop-avatar{margin:0}
div#crop-avatar figure{width:130px; margin:10px 0; height:auto;}
div#crop-avatar figure img{width:auto; width:2cm;}
div#crop-avatar span{display:none;}
div.space footer{display:none;}

ul.nav.nav-tabs{display:none;}

ul.user_data{display:flex; flex-wrap:wrap;}
ul.user_data li{margin:10px 20px 10px 0}
ul.diary li div.content h4{font-size:12px;}
ul.diary li div.content blockquote, ul.user_data li blockquote{font-size:10px;}
.label {border:1px solid #888; color:#000;}

header.tools-header.topfixedbar{position:static;}

div.date{white-space: nowrap}
div.date h3{font-size:22px; margin-right:5px; display:block;}
div.date p {font-size:12px; display:inline; white-space:nowrap;}
div.date br {display:none;}
ul.diary li div.content{margin-left:66px;}

.well-popover {display: inline; text-align: inherit; border:none; padding:0;}

.tools{display:none;}
main.tools{display:block;}
.alert{display:none;}
header + .alert{display:block;}
.hidden-screen{display: block;}
.print_hide{display:none;}

.btn{display:none;}

blockquote{border:0; padding:10px 20px;}

table.table{width:100%;}
table.table tr th{border-top:1px solid #888 !important;}
table.table tr th,
table.table tr td{line-height:1.5; padding:2px 8px;}
table.table-print-filled tr th,
table.table-print-filled tr td{border-left: 1px solid #ddd; line-height:2.95;}
.table-bordered td.today{border-left:2px solid #888 !important; border-right:2px solid #888 !important;}
.table-bordered td.we{background-color:#eee !important;}
th.border-bottom,
td.border-bottom{border-bottom: 1px solid #555 !important;}
tr.cell-h1>td{}
table .cell-h1 th {font-style:italic; font-size:12px; color:#000;}
td[data-action="active"], 
td[data-action="update"], 
td[data-action="delete"], 
table:not(.grid) td[data-toggle="modal"]{display:none;}

/*div.cardprint{width:40.47619047619048%; min-height:16.83501683501684vh;}*/
div.cardprint{width:8.5cm; height:5.5cm;}
div.cardprint figure{margin:4px 0 3px -5px;}
div.cardprint p input{border:0px;}
div.cardprint figure img{height:50px;}
div.cardprint sticker{height:2.5cm;}

body.modal-open > div.container > aside, 
body.modal-open > div.container > header, 
body.modal-open > div.container > main > *:not(.modal),
body.modal-open > div.container > main .modal-header button {display:none;}

body.modal-open > div.container > main .modal-header,
body.modal-open > div.container > main .modal-body{padding-left: 0; padding-right: 0;}

body.modal-open > div.container > main > .modal div.modal-content{border:0; box-shadow:none; max-width:none; width:auto;}

.page-break{break-after: page; break-before: page;}
hr.page-break{border-top:0;}

.print_horizontal{transform:rotate(90deg) translate(50%, -50%) scale(1.25); transform-origin:50% 50%; width:75%; height:75%; margin-top:25%;}