body {
    background-color: white;
    font-family: Roboto, Helvetica, sans-serif;
    max-width: 700px;
    overflow-x: hidden;
    margin: 20px auto;
    border: 10px solid #ffffff;
    animation: fadeInAnimation ease .75s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.printOnly {
   display : none;
}

.printNever {
    display : block;
}

@media print {
    .printOnly {
       display : block;
    }
    .printNever {
    display : none;
    }
    
    @page {
        size: auto;
        margin:0mm;
    }
    html {
        margin:0px;
    }
    body {
    -webkit-print-color-adjust: exact !important; /*chrome & webkit browsers*/
    color-adjust: exact !important; /*firefox & IE */
    display: table;
    table-layout: fixed;

    height: auto;
    } 

    .footer,
    #non-printable {
        display: none !important;
    }
    #printable {
        display: block;
    }
    
    .highoption.unchecked {
        display: none !important;
    }
    .unchecked {
        display: none !important;
    }
    .highoption unchecked {
        display: none !important;
    }
    .col6.noprint {
        display: none !important;
    }
    .buttonbox {
        display: none !important;
    }
}

@keyframes autofill {
    0%,100% {
        color: black;
        background: #fafafa;
    }
}

input:-webkit-autofill {
    -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

p {
    font-size: 14px;
    margin: 5px 5px 5px 10px;
}

.small {
    font-size: 12px;
    vertical-align: bottom;
    float: bottom;
}

.small-right {
    text-align: right;
}

.small-top {
    vertical-align: top;
    font-size: 12px;
    margin: 0;
}

.signature-top {
    vertical-align: top;
    height: 15px;
    margin: 0;
    padding: 0;
}
.signature-middle {
    vertical-align: bottom;
    height: 40px;
    margin: 0;
    padding: 0;
    border-top: 1px solid white;
}

table {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%
}

tr {
    border-bottom: 1px solid #eee;
}

td {
    padding: 10px 5px 10px 5px;
    display: table-cell;
    vertical-align: middle;
    font-size: 14px auto;
}

th {
    padding: 10px 2px 10px 2px;
    display: table-cell;
    vertical-align: bottom;
    font-size: 15px;
}

.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 24px;
    cursor: pointer;
    font-size: 22px;
}

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    overflow: hidden;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 5px;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #7DBBF2 !important;
}

.container:hover input ~ .checkmark {
    background-color: #7DBBF2 !important;
}

.container input:checked ~ .checkmark {
    background-color: #3695e9 !important;
    border: 2px solid #3695e9 !important;
    opacity: 1;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container input:disabled ~ .checkmark {
    height: 18px;
    width: 18px;
    cursor: default;
    background-color: #f5f5f5 !important;
    border: 2px solid #f5f5f5 !important;
}

.container:hover input:disabled ~ .checkmark {
    cursor: not-allowed;
}

.container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

label {
    display: block;
    float: left;
    padding-left: 10px;
    margin-bottom: 8px;
    font-size: 16px;
}

input {
    width: 13px;
    height: 15px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    position: relative;
    top: -1px;
    *overflow: hidden;
    
}

input[type=text]:focus {
    border-radius: 4px !important;
  }

input[type=text] {
    border: none;
    border-bottom: 2px solid #3695e9 !important;
    border-radius: 5px;
    padding: 0 4px 0 4px;
    width: 95%;
    word-wrap: break-word;
    text-align: left;
    height: 22px;
    background-color: #f1f1f1;
    font-family: Roboto, Helvetica, sans-serif;
    vertical-align: bottom;
    font-size: 14px;
    color: black;
}

input[type=email] {
    border: none;
    border-radius: 4px;
    padding: 0 4px 0 4px;
    width: 95%;
    word-wrap: break-word;
    text-align: left;
    height: 22px;
    background-color: #f1f1f1;
    font-family: Roboto, Helvetica, sans-serif;
    vertical-align: bottom;
    font-size: 14px;
}

input[type=number] {
    border: none;
    width: 50px;
    word-wrap: break-word;
    text-align: center;
    height: 18px;
    background-color: #fafafa !important;
    text-align: center;
    font-family: Roboto, Helvetica, sans-serif;
    vertical-align: bottom;
    font-size: 14px;
}

input[type=answer] {
    border: none;
    cursor: default;
    height: auto;
    word-wrap: break-word;
    text-align: left;
    background-color: white;
    font-family: Roboto, Helvetica, sans-serif;
    vertical-align: bottom;
    font-size: 14px;
    padding: 0 5px 0 0 ;
}

input[type="answer"]:disabled {
    color: black;
}

textarea {
    border: none;
    margin: auto;
    word-wrap: break-word;
    overflow: hidden;
    resize: none;
    text-align: center;
    background-color: white;
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 14px;
}

input[type=hidden] {
    border: none;
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.divider {
    height: 1px;
    overflow: hidden;
    background-color: #e0e0e0 !important;
}

.elementToFadeIn {
    opacity: 1;
    transition: opacity 2s linear;
}

.pie {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #243c8e !important;
    position: relative;
    border: solid 2px white;
  }
  
.checked {
    background-color: #f2f2f2 !important;
}

.checked2 {
    background-color: #f2f2f2 !important;
}

.textbutton {
    width: auto;
    height: 40px;
    background-color: #7DBBF2 !important;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-style: italic;
    font-size: 16px;
    text-align: right;
    padding-right: 15px;
    text-indent: 5px;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 20px;
    float: right;
}

.textbutton:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid white;
    border-bottom: 20px solid white;
    border-left: 16px solid transparent;
    border-right: 20px solid white;
    position: absolute;
    opacity: 1;
    right: 0;
    top: 0;
    float: right;
}

.textbutton:focus {
    outline: 0;
    background-color: #3695e9 !important;
}

.textbutton:hover {
    outline: 0;
    background-color: #3695e9 !important;
}

.astext {
    font-size: 18px;
    background: none;
    border: none;
    text-align: center;
    padding: 20px;
    width: auto;
    height: 20px;
    transition: all 0.5s;
    cursor: pointer;
    float: right;
}

.astext:focus {
    outline: 0;
}

.btngroup {
    max-width: 600px;
    float: right;
    padding: 0 0 20px 0;
    margin: auto;
}

.button {
    height: 28px;
    width: 28px;
    background-color: #eee !important;
    border-radius: 50%;
    border: 2px solid #eee !important;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    transition: all 0.5s;
    margin: 0 10px 0 10px;
}

.button:focus {
    outline: 0;
}

.button:disabled,
.button[disabled] {
    border: 2px solid #f1f1f1 !important;
    background-color: #f1f1f1 !important;
    color: #ccc;
}

.header {
    background: white;
    right: 0;
    left: 0;
    top: 0;
    height: 4px;
    margin: 0 0 20px 0;
}

.slidecontainer {
    width: 100%;
    cursor: default;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 1.9em;
    border-radius: 5px;
    /*background: #d3d3d3 !important;*/
    outline: none;
    border: 2px solid white;
    opacity: 0.8;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-runnable-track {
    box-sizing: border-box;
    border: none;
    width: 12.5em;
    height: 0.5em;
    background: #ccc;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    z-index: 99;
    margin-top: -0.900em;
    appearance: none;
    box-sizing: border-box;
    border: none;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #037BE4 !important;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #037BE4 !important;
    cursor: pointer;
    outline: none;
    border: none;
}

.slider::-moz-range-track {
  box-sizing: border-box;
  border: none;
  height: 0.5em;
  background: #ccc;
}

.slider::-ms-thumb {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #037BE4 !important;
    cursor: pointer;
    transform: scale(1) !important;
}

input[type=range]::-moz-focus-outer {
    border: 0;
    }

input[type="range"]::-ms-track {
    height: 7px;
    border: 1px solid #bdc3c7;
    background-color: #ccc;
  }
  
  input[type="range"]::-ms-thumb {
    position: relative;
    z-index: 99;
    margin-top: 0;
    box-sizing: border-box;
    border: none;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: #7b1c1a;
  }
  
  input[type="range"]::-ms-tooltip {
    display: none;
  }

#chart {
    height: 300px;
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    cursor: default;
}

.form-inline label {
    margin: 5px 5px 5px 0;
    text-align: right;
    width: 18%;
    cursor: default;
}

.form-inline input {
    vertical-align: middle;
    margin: 5px 5px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #3695e9 !important;
    text-align: center;
}

.form-inline input:hover {
    border: 2px solid #3695e9 !important;
}

.form-inline button {
    padding: 10px 20px;
    background-color: #3695e9 !important;
    border: 1px solid #ddd;
    color: white;
    cursor: pointer;
}

.form-inline button:hover {
    background-color: #037BE4 !important;
}

@media (max-width: 600px) {
    .form-inline input {
        margin: 10px 0;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: default;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #808080 !important;
    color: #fff;
    text-align: center;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -95px;
    font-size: 14px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #808080 transparent transparent transparent !important;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.info {
    color: #3695e9;
    vertical-align: middle;
    padding-right: 3px;
}

input:focus::placeholder {
    opacity: 0.4;
}

.longtext{
    font-size: 14px;
    vertical-align: middle;
    padding: 0;
}

.togglebutton {
    display: inline-block;
    white-space: nowrap;
    width: 50px;
    height: 22px;
    background-color: #fff;
    border: solid 2px #3695e9 !important;
    color: #3695e9;
    font-style: italic;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    margin: 0 -2px 0 -2px;
    vertical-align: middle;
    font-weight: normal;
}

.togglebutton:hover {
    color: #037BE4;
    font-weight: bold;
}

.togglebutton.yes { 
    background-color: #3695e9 !important;
    color: #fff;
    border:solid 2px #3695e9 !important;
    font-weight: bold;
}

.togglebutton.no { 
    background-color: #3695e9 !important;
    color: #fff;
    border:solid 2px #3695e9 !important;
    font-weight: bold;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  transition: all 1000ms;
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(255,255,255); /* Fallback color */
  background-color: rgba(255,255,255,0.8); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background: #fff;
  border-radius: 10px;
  margin: 70px auto;
  padding: 30px;
  border: 3px solid #ccc;
  width: 80%;
  max-width: 580px;
  margin: 70px auto;
  padding: 30px;
  position: relative;
  transition: all 0.5s ease-in-out;
}

/* The Close Button */
.closer {
  position: absolute;
  top: 0px;
  right: 12px;
  transition: all 1000ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333 !important;
  cursor: pointer;
}

.close:hover,

img {
  width:160px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-large{
  width:300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-largest{
  width:300px;
  display: none;
  margin-left: auto;
  margin-right: auto;
}

.CurrencyInput {

    text-align: right !important;
}

.CurrencyInput::placeholder { 

    text-align: left !important;
}

.CurrencyInput:-ms-input-placeholder {

    text-align: left !important;
}

.CurrencyInput:disabled {
    font-weight: bold;
    text-align: right !important;
}

.CurrencyInput:disabled::placeholder { 
    font-weight: bold;
    text-align: left !important;
}

.CurrencyInput:disabled:-ms-input-placeholder {
    font-weight: bold;
    text-align: left !important;
}



.xbutton {
    width: auto;
    height: 20px;
    background-color: #3695e9 !important;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-style: strong;
    font-size: 14px;
    text-align: right;
    padding-right: 5px;
    text-indent: 5px;
    cursor: pointer;
    margin: 0 2px 0 8px;
    float: left;
    font-weight: bold;
}

.xbutton:hover {
    outline: 0;
    background-color: #037BE4 !important;
}

.xbutton:focus {
    outline: 0;
    background-color: #037BE4 !important;
}

.textlink {
    width: auto;
    height: 20px;
    background-color: transparent !important;
    border: none;
    text-decoration: underline;
    color: #037BE4;
    font-style: italic;
    font-size: 16px;
    text-align: right;
    padding-right: 15px;
    text-indent: 5px;
    cursor: pointer;
    margin: 0 auto;
    float: right;
}

.textlink:focus {
    outline: 0;
    background-color: transparent !important;
    color: #037BE4;
}

.textlink:hover {
    outline: 0;
    background-color: transparent !important;
    color: #037BE4;
}

.col6 {
    display: none;
}

h3 {
    text-align: left !important;
    margin: 5px 5px 5px 10px;
  }

  a:focus { 
    outline: none; 
}

button:focus { 
    outline: none; 
}

.confirm2 {
    top: 5px;
    left: 5px;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #7DBBF2 !important;
    
}

/* Create a custom checkbox */
.confirm {
    position: absolute;
    top: 5px;
    left: 5px;
    height: 16px;
    width: 16px;
    border-radius: 4px;
    background-color: #fff;
    border: 2px solid #7DBBF2 !important;
    margin: 4px 2px 0 8px;
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .confirm {
    background-color: white;
    border: 2px solid #2196F3 !important;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .confirm {
    background-color: #2196F3;
    border: 2px solid #2196F3 !important;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .confirm:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .confirm:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .confirm:after {
    left: 5px;
    top: 1px;
    width: 3px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .hideme {

    display: none !important;

  }

  .validate {
    background: rgba(255, 166, 0, 0.26);
    padding: 5px 10px 5px 10px;
    border-radius:5px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    width: 90%;
    display: none;
    text-align: center;
    float: left;
    margin-left: 5%;
  }

  .valid {
    background: rgba(255, 166, 0, 0.26);
    padding: 5px 10px 5px 10px;
    border-radius:5px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    width: 90%;
    display: none;
    text-align: center;
    float: left;
    margin-left: 5%;
  }

  .material-icons.tb {
    font-size: 24px;
    color: #2196F3;
    margin: 0 0 0 2px;
    float: right;
  }

  .target-button {
    visibility: hidden;
  }
  
  .target-button:hover .material-icons.tb{
    color: #3695e9;
    cursor: pointer;
  }

  .buttonbox {
    border:1px solid white;
  }

  /* This is to remove annoying chrome outline */
  *:focus {
    outline: none;
  }