html { overflow-y: scroll; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
* { padding: 0; margin: 0; }

body { font-family: Arial, sans-serif; }
header, footer, nav, article, section, main { display: block; }

/*** Custom ***/
nav a { font-style: normal; font-size: 18px; border-bottom: 2px solid transparent; padding-bottom: 4px; }
nav a:hover, nav a.active { text-decoration: none; border-bottom: 1px solid #444; }
.color-red { color: #b51f1f; }
.color-red-hp { color: #9b1d26; }
.color-gray-light { color: #e1e1e6; }
.color-gray-middle { color: #b5b8bf; }
.color-gray-dark { color: #6c6e74; }

.space-radio-buttons { height: 10px; }
.space-text { height: 0px; }
.space-text-end { height: 30px; }

.dashboard .box { transition: background 0.25s; cursor: pointer; width: 350px;min-height: 260px; padding-top: 10px; } /*  background: #e1e1e6;  */
.dashboard .box .stats { position: absolute; right: 15px; bottom: 15px; font-weight: bold; text-align: right; color: #444; }
.dashboard .box .stats small {  font-weight: normal; }
.dashboard .box b { font-size: 28px; }
.dashboard .box img { position: absolute; bottom: 55px; left: 125px; width: 100px; opacity: 0.75; }
.dashboard .box:hover { background: #f1f1f6; }
.dashboard .box h2 { font-size: 18px; }

.overview { text-align: center; margin-bottom: 20px; }
.metrics { width: 153px; padding: 25px 10px; color: #b51f1f;; display: inline-block; position: relative; margin: 8px;
    cursor: pointer; vertical-align: top; transition: filter 0.25s; text-align: center; }
.metrics:hover { filter: brightness(1.25); }
.metrics i.fa-info-circle { position: absolute; right: 10px; top: 5px; display: none; }
.metrics b {  font-size: 14px; display: inline-block; margin-top: 5px; }
.metrics span { text-align: center; font-weight: bold; font-size: 15px; display: none; }
.metrics .ranking { position: relative; width: 85%; height: 5px; border: 1px solid #b51f1f; margin: 5px auto;  }
.metrics .ranking .progress{ background: #b51f1f; height: 3px; position: absolute; }
.metrics img { width: 100px; display: block; margin: 10px auto; position: relative; }

.answers { margin-left: 25px; }
.answers small { display: inline-block; padding: 1px 10px; font-weight: bold; }
.question { line-height: 24px; }
.result-check { color: #008a00; }
.result-check.result-not-selected { color: #b51f1f; }
.data-collection { background: lightgoldenrodyellow;  padding: 10px 20px; margin-top: 40px; max-width: 1000px; border-radius: 5px;}
.data-collection small { display: inline-block; margin-bottom: 5px; }

button.reverse { width: initial; cursor: pointer; font-weight: bold; border: 1px solid #b51f1f; color: #b51f1f; background: #fff; ;}
button.reverse:hover { background: #b51f1f; color: #fff; }
button.reverse i { color: #b51f1f; }
button.reverse:hover i {  color: #fff; }


/***  Misc definitions ***/
.color-primary {  }
.color-secondary {  }

.radio {  display: inline-block; vertical-align: top;}
.radio-text { display: inline-block; max-width: 80%; vertical-align: top;  margin-bottom: 10px; margin-top: 4px; line-height: 1.4; }
.info { max-width: 750px; margin: auto; line-height: 22px; text-align: left; }
.info h4 { margin-top: 30px; }
.info ul { margin-left: 20px; list-style-type: square; }
.info ol { margin-left: 20px; }
.info ol li { padding-left: 10px; margin-bottom: 15px; }

/*** Default HTML elements ***/
body{ max-width: 1200px; margin: auto; }
main { }

a, a:link, a:visited, a:active { text-decoration: none; color: #000; }
a { transition: border 1.00s; border-bottom: solid 1px transparent; font-style: italic; }
a:hover { border-bottom: solid 1px #000; }

a {}
img { border: 0; }

nav { padding: 60px 0 30px; text-align: center; border-bottom: 1px solid #000; margin-bottom: 5px; position: relative; }
nav a { display: inline-block; margin: 0 20px; font-weight: bold; }
nav img.logo-left { position: absolute; left: 0px; margin-top: -20px; width: 105px; }
nav img.logo-right { position: absolute; right: 0px; margin-top: -25px; width: 210px; }
.nav-spacer { height: 35px; }
.nav-company-header { margin-bottom: 30px; color: #000;}

h1, h2, h3, h4 { margin: 10px 0; }
h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p { margin: 10px 0;}

table {  border-spacing: 10px; border-collapse: collapse; }
table.full-width { width: 100%; }
th.rotate {  width: 50px; 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; background: #eee;}
td, th { padding: 5px 10px; text-align: left; vertical-align: top; }
th { background: #eee; }
td, tr { border-bottom: 1px solid #bbb; }

.survey th.rotate { width: initial; }
.survey td.small  { padding: 5px 0px; text-align: center;}

tr:nth-child(odd) { background: #eee; }
tr.highlight:hover { background: #f9fafd; }

pre { font-size: 16px; }
hr { border: none; border-bottom: 1px solid #000; margin: 10px 0;}

ul.bullet-none { list-style: none; }
li { margin-bottom: 5px; }


/*** Form elements ***/
input, button, select, textarea, a.button { padding: 8px 16px; display: inline-block; width: 320px; font-family: Verdana, sans-serif; font-size: 16px;
    border-radius: 5px; border: 1px solid #ccc; margin: 6px 0; font-weight: 500; }
select, button { background: #fff; }
button, a.button { width: initial; cursor: pointer; font-weight: bold; border: 1px solid #ccc; font-style: normal; }
button:hover, button:hover i, a.button:hover { background: #eee; }
input[type="checkbox"] {  width: initial; }
/* input[type="checkbox"]:checked{ background-color: #0d6efd; border-color: #0d6efd;} */
input[type="radio"] {  width: initial; }
/* input[type="radio"]:checked{ background-color: #0d6efd; border-color: #0d6efd;} */


.bubble-chart { height: 500px; display: inline-block; width: 500px; margin-bottom: 60px; margin-left: 20px; margin-right: 20px; background: #fff; }
.spider-chart { height: 450px; width: 510px; margin-bottom: 80px; margin-left: 15px; margin-right: 15px; background: #fff; }



.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

.nowrap { white-space: nowrap; }
.clear { clear: both; }
.inline { display: inline-block; }
.relative { position: relative; }
.hidden { display: none; }

.h-space, .space-after { margin-bottom: 50px; }

i.notice { color: #666; }
.header-notice { color: #666; margin-left: 25px; }

.info {  }
.notice {  }
.warning {  }
.error {  }
.tag { padding: 4px 8px; border: 1px solid #777; border-radius: 5px; font-size: small; }
.tag.button { cursor: pointer; background: #eee; }
.tag.button:hover { background: transparent; }

.link-icon { cursor: pointer;  color: #777; }
.link-icon:hover { color: #000; }

.blur { filter: blur(4px); }
.pointer { cursor: pointer; }


footer { margin-top: 200px; line-height: 25px; border-top: 1px solid #000; text-align: center; padding: 25px 0; }
footer a { }


.box { display: inline-block; width: 300px; border: 1px solid #ccc; min-height: 300px; vertical-align: top; padding: 20px; margin: 10px; position: relative;  }
.dashboard { text-align: center; }
.dashboard .completed { position: absolute; bottom: 55px; right: 15px; }
.dashboard .completed i { font-size: 30px; }

.modal.infobox .modal-container { max-width: 660px; }
.modal.infobox h2 { color: #b51f1f; font-weight: 800; }
.modal.infobox .modal-footer button { font-weight: 800; }

.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: 540px; box-shadow: 0 0 50px #000; }
.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; color: #000; background: transparent; }
.modal button:hover { background: none; }
.modal-header { padding-top: 10px; }
.modal-content { text-align: left; padding: 10px 0; }
.modal-footer { padding-top: 10px; text-align: center; }