/* https://moderncss.dev/pure-css-custom-styled-radio-buttons/ */
/* https://moderncss.dev/pure-css-custom-checkbox-style/*/
/* https://www.w3schools.com/howto/howto_css_custom_checkbox.asp*/
/* https://iamkate.com/code/checkboxes-and-radio-buttons/*/


html { overflow-y: scroll; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
* { padding: 0; margin: 0; }

body { font-family: "Open Sans", Verdana, sans-serif; top: 0px; position: relative; margin: 0; padding-top: 120px; background: #fff;}
header, footer, nav, article, section, main { display: block; }
main { text-align: left; max-width: 1240px; margin: auto; }
main.default { max-width: 1080px; margin-top: 50px;}

.teal { color: #027da6; }
.light-blue { color: #47b1e5; }
.dark-blue { color: #07577f; }
. { color: #0078d7; }
/***  Misc definitions ***/
.color-primary {  }
.color-secondary {  }
.color-red { color: #f00; }
.color-blue { color: #00f; }
.color-light-blue { background-color: #f8f8ff }

i.info-small { font-size: small; vertical-align: middle; display: inline-block; margin-top: -4px; color: #444; }

.logo { position: absolute; width: 190px; right: 15px; top: 0px; }
.version { position: absolute; left: 20px; top: 20px; text-align: left; color: #AAA; font-size: small;}

/***  Navigation ***/
nav { padding: 20px 0 60px; text-align: center; background: #fff; position: fixed; width: 100%; top: 0px; z-index: 10000; box-shadow: 0 0 15px #fff; border-bottom: 1px solid #eee; }
nav a { display: inline-block; margin: 0 20px; font-weight: bold; background: #07577f; color: #fff !important; padding: 8px 16px; }
nav a:hover, nav a.active { text-decoration: underline; }

/*nav span.sub { position: relative; cursor: pointer;  }*/
/*nav span.sub .sub-menu { display: none; position: absolute; z-index: 100000; background: #fff; left: -4px; padding: 18px 10px 5px 10px; }*/
/*nav span.sub:hover .sub-menu { display: block; }*/

.sub-menu { position: fixed; width: 100%; top: 70px; z-index: 100000; text-align: center; }
.sub-menu a { display: inline-block; margin: 0 10px; font-size: 15px; background: #fff; color: #07577f !important; padding: 4px 8px; border: 1px solid #07577f; }
.sub-menu a.active, .sub-menu a:hover { background: #07577f; color: #fff !important;; }


small { font-size: 15px; }

/*** Default HTML elements ***/
a, a:link, a:visited, a:active { text-decoration: none; color: #000; }
img { border: 0; }

h1, h2, h3, h4 { margin: 10px 0;}
h1 {  font-size: 32px; }
h2 { color: #07577f; font-size: 17px; font-weight: bold; border-bottom: 1px solid #07577f; margin-left: 0px; }
h2 b { display: inline-block; background: #07577f; padding: 3px 12px; color: #fff; font-weight: normal; }
h2.sub-header b  { background: #fff; color: #000; border: 1px solid #07577f; border-bottom: none; font-weight: bold; }
h2.sub-header { max-width: 1200px;  }
h2.sub-header.search { max-width: 100%;  }
h3 { font-size: 24px; }
h4 { font-size: 16px; }

.title { display: inline-block; margin-bottom: 5px; font-weight: bold;}

p { margin: 10px 0;}

pre { font-size: 16px; }
hr { border: none; border-bottom: 1px solid #000; margin: 20px 0;}
hr.coronary { border-bottom: 1px solid #aaa; width: 1185px; margin: 15px 0 20px;}

ul.bullet-none { list-style: none; }
li { margin-bottom: 5px; }


/*** Form elements ***/
input, button, select, textarea { padding: 8px 16px; display: inline-block; width: 320px; font-family: "Open Sans",Verdana, sans-serif; font-size: 15px;
     border: 1px solid #ddd; margin: 2px 0; font-weight: 500; }
select, button { background: #fff; }
button { width: initial; cursor: pointer; font-weight: bold; }
button:hover {  }
input[type="checkbox"] { margin-right: 5px; vertical-align: middle; margin-bottom: 7px; border: 1px solid #000;  height: 17px; width: 17px;}
/*input[type="checkbox"]:checked ~ label { background-color: #FFFEEF; }*/

input[type="radio"] { margin: 10px 0px 0px 10px; height: 16px; width: 16px; }
input[type="text"], input[type="number"] { max-width: 200px; margin: 3px 0 10px; display: inline-block; background: #FFFEEF;}
input[type="password"] { background: #FFFEEF; }
select { background: #FFFEEF; }

input:focus, textarea:focus { outline: none !important; border:1px solid #4A4ADD; }

.sub-checkbox { margin-left: 20px; }
.sub-sub-checkbox { margin-left: 40px; }



.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

.nowrap { white-space: nowrap; }
.clear { clear: both; }
.inline { display: inline-block; vertical-align: top; }
.relative { position: relative; }

.box-20 { display: inline-block; vertical-align: top; width: 20%; padding-right: 20px; position: relative; }
.box-25 { display: inline-block; vertical-align: top; width: 25%; padding-right: 20px; }
.box-50 { display: inline-block; vertical-align: top; width: 50%; padding-right: 20px; }
.box-75 { display: inline-block; vertical-align: top; width: 75%; padding-right: 20px; }
.box-100 { display: inline-block; vertical-align: top; width: 100%; padding-right: 20px; }

.icd label { display: inline-block; margin-left: 30px; max-width: 90%; margin-bottom: 5px; }
.icd input[type="checkbox"] { position: absolute; }
.tici-label { font-size: 14px;}
.switch-button { position: absolute; top: 2px; right: 5px; color: #999; font-size: 18px; cursor: pointer;}
.hide-page, .checkbox-block.hide, .hide { display: none; }
.copied { display: inline-block; font-size: 13px; padding: 0px 6px; border: 1px solid #000; margin-left: 5px; margin-right: 5px;}

.h-space, .space-after { margin-bottom: 50px; }


.link-icon { cursor: pointer;  color: #777; }
.link-icon:hover { color: #000; }


footer { margin-top: 200px; line-height: 25px; border-top: 1px solid #000; text-align: center; padding: 10px 0; }
footer a { }




/*** Modal ***/
.modal {position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity .25s 0s, transform .25s; z-index: 9999998; }
.modal-container {position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; padding: 20px; min-width: 900px; box-shadow: 0 0 50px #000; border-radius: 8px; }
.modal .close-button { position: absolute; top: 0px; right: 10px; cursor: pointer; padding: 5px; }
.modal .close-button:hover {color: #04aa6d}
.show-modal {opacity: 1; visibility: visible; transform: scale(1.0); transition: visibility 0s linear 0s, opacity .25s 0s, transform .25s; }
.modal-container h2 { font-size: 20px; font-weight: bold; margin-top: 0;margin-bottom: 20px}
.modal hr { border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.modal button { border: 0; }
.modal-header { padding-top: 10px; }
.modal-content { text-align: left; padding: 10px 0; max-height: 400px; overflow-y: auto; }
.modal-footer { padding-top: 10px; text-align: center; }



.data-container { margin-bottom: 30px; width: 1270px; }
/*.heart-data{background-color: #fafafa;  margin: 0 auto; padding-left: 30px; box-shadow: 0 0 10px #ccc; }*/

.questions{font-size: 15px; font-weight: bold;}
.sub-questions{font-size: 12px; font-weight: normal;}
.dates{width: 170px;}
.numbers{width: 80px; background: #FFFEEF;}
.plus { color: #888; border-left: none; }
.minus { color: #888; border-left: none; }
.plus:hover { color: #000; }
.minus:hover { color: #000; }
.button-save-patient { border: 1px solid #07577f; color: #07577f; }
.button-save-patient:hover {  background: #07577f; color: #fff; }

.distances{width: 80px;}
.box{display: inline-block; padding: 0px 30px 10px 0px; vertical-align: top;}
.checkboxes{ margin-top: 7px; }

.checkbox-block{display: inline-block; text-align: left; background-color: #fff; padding: 15px; border-radius: 5px; line-height: 1.5; margin: 5px; border: 1px solid #ccc;
    vertical-align: top; max-width: 220px;}
.textfields{width: 1130px; height: 120px;}


.unit-text{position: absolute; bottom: 10px; right:65px; color: #ccc; font-size: 14px; } /* right: 5px; */
.unit-padding{padding-right: 40px; text-align: right;}

/*h4{background-color: #fafafa; width: 400px; margin: 0px; padding: 5px 0px 5px 30px; border-radius: 10px 10px 0px 0px; position: relative; z-index: 1000; }*/
/*h1{padding-left: 30px}*/

/*** Table ***/
table {  border-spacing: 10px; border-collapse: collapse; }
table.full-width { width: 100%; }
th { background: #fff; }
th.rotate {  width: 48px; font-size: small; font-weight: bold; } /* border-bottom: 1px solid #bbb; */
th.rotate span { margin-bottom: 15px; position: absolute; transform: rotate( -35deg );  white-space: nowrap; transform-origin: center left; padding: 3px; display: inline-block; margin-left: 5px; margin-top: -5px;}
td, th { padding: 5px 10px; text-align: left; }
td, tr { border-bottom: 1px solid #bbb; }
td.left-border { border-left: 1px solid #ccc; }
td.right-border { border-right: 1px solid #ccc; }

/*
.heart-data-even { background: #fdfdfd; padding: 10px; margin: 0 -10px; }
.heart-data-odd { padding: 10px; margin: 0 -10px; }
*/

tr:nth-child(even) { background: #eee; }
tr:hover { background: #ccc; }

.second-cardiac{display: none;}

table.overview th { vertical-align: top; }
table.export th { vertical-align: top; }
table tr.sticky-header { position: fixed; z-index: 12000; }
/*table tr.sticky-header th.rotate span { position: sticky; top: 0; background: red; }*/
/*https://css-tricks.com/position-sticky-and-table-headers/*/
/*https://www.codingwithjesse.com/blog/use-arrays-with-html-form-inputs/*/


.smart-tag {  width: initial; padding: 4px 8px; display: inline-block;  font-size: 12px; border: 1px solid #ccc; margin: 3px 3px; background: #eee; }
.hemorrhage-questions{ margin-bottom: 10px; display: inline-block }
.hemorrhage-answers{ margin-left: 30px;}
.hemorrhage-answers-40{ margin-left: 40px;}
.hemorrhage-labels{display: inline-block; max-width: 85%}


@media print {
    nav { display: none; }
    .tab { display: none; }
    body { padding-top: 0px; }
}