
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
    url(../webfonts/open-sans.woff) format('woff'),
    url(../webfonts/open-sans.woff2) format("woff2");
}


/* Styles */
* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  background-color: #213d59;
  min-height: 100%;
  overflow-x: hidden;
}

.icon-button {
  font-size: 2.4em;
  cursor: pointer;
}

.error-text {
	color: red;
}

.error-text:empty {
	display: none;
}

.hide-if-empty:empty {
  display: none;
}

.no-label-group {
  padding-top: 30px;
}

.container {
  width: 500px;
  margin: 5px auto;
  text-align: left;
}

.ui-datepicker-prev {
    background-image: url(img/arrow-circle-left-solid.svg) !important;
    background-position: 0 0 !important;
}

.ui-datepicker-next {
    background-image: url(img/arrow-circle-right-solid.svg) !important;
    background-position: 0 0 !important;
}

.datepicker-holiday a {
  background-color: #ffcc80 !important;
}

.ui-datepicker-week-end a {
  background-color: #cfd8dc !important;
}

.ui-datepicker-today a {
  background-color: #fff59d !important;
}

.modal-title {
  font-size: 16px;
}

#tabs {
  background-color: #FFFAFA;
  color: #444444;
  padding: 16px 8px;
}

#nav-tab .active {
  background-color: #5C6BC0;
  color: #FFFAFA;
}

#formresult:empty {
  display: none;
}

#formresult {
  margin: 16px auto;
  padding: 16px;
  border-radius: 10px;
  background-color: #FFFAFA;
  min-height: 300px;
  max-width: 600px;
  width: 100%;
  position: relative;
}

#formresult .back-to-form-wrapper {
  width: 100%;
}
#formresult .back-to-form-wrapper row{
  margin-left: 0;
  margin-right: 0;
}

#formresult .back-to-form-wrapper .column-2 {
  text-align: right;
  padding-top: 16px;
}
#formresult .back-to-form-wrapper .column-2 span{
  display:inline-block;
  padding-right:30px;
}

#formresult .result-wrapper{
  font-size: 20px;
}
#formresult .result-wrapper a{
  white-space: nowrap;
  display: inline-block;
  padding-bottom: 10px;
}

button.back-to-form {
  cursor: pointer;
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
}

h1, .h1 {
    font-size: 1.65rem;
}
h2, .h2 {
    font-size: 1.55rem;
}
h3, .h3 {
    font-size: 1.45rem;
}
.reslink {
  margin-left: 3px;
}

#tabs-and-nav {
  position: relative;
  background-color: #FFFAFA;
  min-height: 500px;
  padding: 10px;
  border-radius: 10px;
}

#global-info {
  color: #444444;
  background-color: #FFFAFA;

  padding: 6px 10px;

  margin-bottom: 4px;
  border-radius: 10px;
}

#global-info:empty {
  display: none;
}

#sender-data {
  background-color: #FFFAFA;
  color: #444444;
  padding: 10px;
  min-height: 300px;
  border-radius: 10px;
}

.table .selected-row {
  color: #FFFAFA;
  background-color: #5C6BC0;
}

.tt-selected-row {
  color: #FFFAFA;
  background-color: #5C6BC0;
}

.li-selected {
  color: #FFFAFA;
  background-color: #5C6BC0;
}

.list-group {
  overflow: hidden;
  overflow-y: scroll;
}

thead {
  border-bottom: 3px solid #dee2e6
}

tfoot {
  border-top: 3px solid #dee2e6;
}

#bodyheader {
  padding: 10px;
  background-color: #FFFAFA;
}

.no-select {
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.nav-link {
  color: #444444;
}

.bi-image {
  max-height: 150px;
}

.cmenu {
  width: 120px;
  box-shadow: 0 0 5px #444444;
  ;
  background-color: #FFFAFA;
  position: absolute;
  display: none;
}

.menu-options {
  list-style: none;
  padding: 5px 0;
  margin-bottom: 0;
}

.menu-option {
  padding: 10px 10px 10px 10px;
  cursor: pointer;
  margin-bottom: 0;
}

.menu-option:hover {
  background-color: #EFEFEF;
}

.menu-option-disabled {
  color: #bababa;
  cursor: default;
}

.menu-option-disabled:hover {
  background-color: #FFFAFA;
}

#form {
  color: #FFFAFA;
  padding: 10px 16px 20px;

  height: fit-content;
}

#bottom-buttons-main {
  margin-left: 4px;
  margin-top: 4px;
}

#bottom-buttons-bidata {
  margin-left: 4px;
  margin-top: 4px;
}

#videohelp {
  background-color: rgba(0, 0, 255, 0);
  z-index: 10;
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
  height: 390px;
  width: 660px;
}

#videohelpcontent {
  margin: 10px;
  box-shadow: rgb(68, 68, 68) 0 1px 25px -1px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  height: 380px;
  width: 640px;
}

#videohelpplayer {
  height: 360px;
  width: 640px;
  margin-top: 20px
}

.pointer {
  cursor: pointer;
}

.id-button {
  height: 35px;
  border: 0;
  line-height: 30px;
  background: #e67e22;
  color: #FFFAFA;
  margin: 2px;
  cursor: pointer;
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  /*min-width: 100px;*/
  vertical-align: middle;
}

.id-button:disabled {
  background: #bdbdbd;
  cursor: not-allowed;
}

.id-button-bidata, .id-button-help{
  background-color: #F7AB11;
  padding: 0 10px;
}


.button-delete {
  background: #ef5350;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.margin-rl-5 {
  margin-left: 5px;
  margin-right: 5px;
}

.loading-spinner {
  position: absolute;
  left: 48%;
  top: 45%;
}

.loading-spinner:before {
  width: 10px;
  height: 10px;
  background: transparent;
  display: block;
  content: '';
  border-radius: 50%;
  animation: loading-spinner 1.5s infinite linear;
}

.hidden-for-loading {
  display: none;
}

.transparent-for-loading {
  background-color: transparent;
}

#please-js {
  margin-left: -50px;
  color: black;
  font-size: 18px;
}

.buttons-second-row {
  margin-left: 4px;
  margin-bottom: 5px;
}

@keyframes loading-spinner {
  0% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 0 #5C6BC0;
  }

  5% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 2px #5C6BC0;
  }

  15% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 8px #5C6BC0;
  }

  20% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 2px #5C6BC0, -20px 0 0 10px #5C6BC0;
  }

  25% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 8px #5C6BC0, -20px 0 0 5px #5C6BC0;
  }

  30% {
    box-shadow: 60px 0 0 2px #5C6BC0, 20px 0 0 10px #5C6BC0, -20px 0 0 2px #5C6BC0;
  }

  35% {
    box-shadow: 60px 0 0 8px #5C6BC0, 20px 0 0 5px #5C6BC0, -20px 0 0 0 #5C6BC0;
  }

  40% {
    box-shadow: 60px 0 0 10px #5C6BC0, 20px 0 0 2px #5C6BC0, -20px 0 0 0 #5C6BC0;
  }

  45% {
    box-shadow: 60px 0 0 5px #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 0 #5C6BC0;
  }

  50% {
    box-shadow: 60px 0 0 2px #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 0 #5C6BC0;
  }

  65% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 0 #5C6BC0;
  }

  100% {
    box-shadow: 60px 0 0 0 #5C6BC0, 20px 0 0 0 #5C6BC0, -20px 0 0 0 #5C6BC0;
  }
}

/* This is from editable-select */
input.es-input {
  padding-right: 20px !important;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAICAYAAADJEc7MAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA4DIAAIM2AAB5CAAAxgwAADT6AAAgbL5TJ5gAAABGSURBVHjaYvz//z8DOYCJgUzA0tnZidPK8vJyRpw24pLEpwnuVHRFhDQxMDAwMPz//x+OOzo6/iPz8WFGuocqAAAA//8DAD/sORHYg7kaAAAAAElFTkSuQmCC) right center no-repeat;
}

input.es-input.open {
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-bottomleft: 0;
  border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
}

.es-list {
  position: absolute;
  padding: 0;
  margin: 0;
  border: 1px solid #d1d1d1;
  display: none;
  z-index: 1000;
  background: #fff;
  max-height: 160px;
  overflow-y: auto;
  box-shadow: 0 2px 3px #ccc;
}

.form-check.check-as-label {
  margin-bottom: 8px;
}

.form-check.with-margin {
  margin-top: 24px;
}


.form-check-input {
  cursor: pointer;
}

.es-list li {
  display: block;
  padding: 5px 10px;
  margin: 0;
}

.es-list li.selected {
  background: #f3f3f3;
}

.es-list li[disabled] {
  opacity: .5;
}

.table td {
  padding: 0.35rem;
}

label[for] {
  user-select: none;
}

.tab-invalid-icon-w {
  display: none;
}

#deps-div .list-group-item {
  cursor: pointer;
}

.tab-invalid .tab-invalid-icon-w {
  display: inline-block;
}

.tab-done-icon-w {
  display: none;
}

.tab-done-icon-w i {
  margin-left: 2px;
}

#nav-tab .nav-link.is-dirty:not(.tab-invalid) .tab-done-icon-w {
  display: inline-block;
}

.display-none {
  display: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .list-group {
    display: block;
  }
}

.hidden {
  display: none;
}

#error-list {
  margin-bottom: 8px;
}

#error-list ul {
  margin: 0;
  padding: 0 16px;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  text-decoration: underline;
}

/* WebKit, Blink, Edge */ .form-control::-webkit-input-placeholder { color: #bfbfbf; }
/* Mozilla Firefox 19+ */ .form-control::-moz-placeholder { color: #ababab; }
/* Internet Explorer 10-11 */ .form-control:-ms-input-placeholder { color: #adadad; }
/* Microsoft Edge */ .form-control::-ms-input-placeholder { color: #adadad; }

.form-control{
	font-size: 1.0em;
}

#skiplinks {
  margin: 0;
  padding: 0;
  list-style: none
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  background: #08294A;
  color: white;
  padding: 0.25em;
  transform: translateY(-100%);
  transition: 0.2s transform;
}

.skip-link:focus {
  transform: translateY(0);
}

.fontsize-container{
  text-align: center;
}

@media (min-width: 1500px) {
  .fontsize-container{
    text-align: right;
    position: absolute;
    top: 4px;
    right: 0;
  }
}

.fontsize-container {
  user-select: none;
}

.form-title {
  width: calc(100% - 225px);
  padding-top: 19px;
  padding-left: 10%;
  font-weight: bold;
}

#language-btn {
  width: 100px;
}

.popup-iframe {
  height: 100%;
  width: 100%;
  border: none;
}

.iframe-popup-dialog {
  width: 90%;
  height: 80%;
}

.small-spinner {
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
  margin-bottom: -3px;
  width: 1em;
  height: 1em;
  border: 0.25rem solid #e67e22;
  border-bottom: 0.25rem solid rgba(0,0,0,0);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Do not group those 3 selectors together or it will break */
input::file-selector-button {
  display: none;
}

input::-webkit-file-upload-button {
  display: none;
}

input::-ms-browse {
  display: none;
}