/* start of screen rules. */

/* Generic pane rules */


:root { 
    --col-advert: #f7621e;
    --col-bck: #FCBD4C;
    --col-blue: #48a5dd;
    --col-blue-c: #a9d7f3;
}

.barriecito-regular {
  font-family: "Barriecito", serif;
  font-weight: 400;
  font-style: normal;
}


html,
body {
    margin: 0;
    font-family: "Raleway", "Roboto", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 100%;
    color: black;
    overflow: hidden;
    background-color: var(--col-bck);
}

a {
    color: inherit;   
}

.holy-grail {
    z-index: 20;
}

* {
    touch-action: manipulation;
}

.grid-container {
    overflow: hidden;
}

.overflow-content {
    overflow-y: auto;
    height: 100%;
}

@media (max-width: 768px) {
    .overflow-content .content {
        margin: 0 0.7em 0 0.7em; 
    }
}

button, .button, input[type="submit"], input[type="reset"], input[type="button"], .file-input {
    cursor: pointer;
    border-radius: 15px;
    text-decoration: none;
    background: var(--col-blue);
    color: white;
}
.modal-header .fas, .modal-header .fa {
    font-size: 150%;
    color: var(--col-blue);
}
.file-input {
  border-color :  var(--col-bck);
}
.button a {
    text-decoration: none;
}

.big-button:hover,  button:hover, .button:hover, button:focus, .button:focus {
    background-color: white;
    color: var(--col-blue);
}
.fa-2x {
    font-size: 1.5em;
}
.btn-primary, .bck-col-bck {
    background-color: var(--col-bck);
}

button .fa, button .fas, .button  .fa, .button  .fas {
    vertical-align: middle;
}
.grid-item-content:focus {
    outline: 3px solid #819fad;
}
/* removed empty rule blocks to satisfy linter */

.btn-accordion {
  color: var(--col-blue);
}

header {
    z-index: 3;
    margin: 0;
    padding: 2vh;
  /*  border-bottom: 2px solid lightgray; */
    max-height: 40px;
}

header div {
    display: inline-flex;
}

header button,  header .button {
    float: right;
    height: 100%;
    font-size: 1.2em;
    min-width: 40px;
}

header button i, header .button i {
    font-size: 1.2em;
    margin-right: 0.5em;
}

header button.small, .button.small {
    padding: 0 1vw;
}

header .btn-group, header input {
    height: 100%;
    float: right;
}

h1 {
    font-size: 1.5em;
    margin: 0;
}

nav h2 {
    font-size: 1.2em;
}

.hg-sidebar button, .hg-sidebar .button {
    padding: 0.5vh 1vh;
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: left;
    color: #266697;
    border: 3px solid transparent;
    background-color: transparent;
    box-shadow: none;
}

nav li button::-moz-focus-inner {
    border: 0;
}

nav li button span {
    margin-left: 0.5em;
}

nav li {
    margin: 0;
}

nav ul {
    list-style-type: none;
}

nav li:hover button, nav li button:focus {
    background-color: #DBF4FF !important;
}

nav li a:focus, nav li a:hover {
    outline: none;
    color: #266697;
}

nav button.selected {
    background-color: #DBF4FF !important;
    border: 3px solid var(--col-bck);
    text-decoration: underline;
    outline: none;
}

nav #helpButton:focus {
    border: none;
    outline: none;
    background-color: transparent;
}

.hg-sidebar h2 {
    margin-left: 0.5em;
}

#jmfcLogo {
    height: 40px;
    margin-right: 0.5em;
    margin-left: 1.1em;
}

[v-cloak] {
    display: none;
}

.box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.bottom-spacer {
    margin-bottom: 200px;
}

.box .srow.header {
    flex: 0 1 auto;
    /* The above is shorthand for:
    flex-grow: 0,
    flex-shrink: 1,
    flex-basis: auto
    */
}

.box .srow.content {
    flex: 1 1 auto;
    position: relative;
}

.menuButtons{
    margin-top: 0.5em;
}

.big-button {
    background-color: var(--col-blue);
    color: white;
    padding: 0.6em;
    border-radius: 10px;
    font-size: 1.3em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.scanFocus {
    outline: 10px solid red !important;
}

.text-content {
    margin-left: 1em;
}

.grid-mask {
    background-color: white;
    z-index: 99;
}

.grid-mask i {
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -30px;
    transform: translate(-50%, -50%);
}

.grid-item-content {
    overflow: hidden;
    background: var(--col-bck);
    border: 1px solid gray;
    display: flex;
    flex-flow: column;
}

.grid-item-content .img-container {
    flex: 1;
    display: flex;
    overflow: hidden;
    justify-content: center;
}

.grid-item-content .text-container {
    flex: 0 1 auto;
}

.grid, .grid-item-content .text-container span {
    /* make non-selectable */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.selected.grid-item-content {
    -webkit-animation: background 0.5s cubic-bezier(1,0,0,1);
    animation: background 0.5s cubic-bezier(1,0,0,1);
}

.highlight.grid-item-content {
    animation: background 1s steps(20, end) infinite;
    -webkit-animation: background 1s steps(20, end) infinite;
}

.noanimation {
    -webkit-animation: none !important;
    animation: none !important;
}

@-webkit-keyframes background {
    0% { filter: brightness(50%); }
}

@keyframes background {
    0% { filter: brightness(50%); }
}

.mouseentered.grid-item-content {
    outline: thick solid green !important;
    background: lightgreen;
}

.scanInactive.grid-item-content, .scanInactive.grid-item-content span {
    background: lightgray !important;
    color: darkgray !important;
    opacity: 0.4;
}

.inactive span {
    background-color: whitesmoke !important;
    color: darkgray !important;
}

.scanInactive .img-container {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}

.spaced {
    margin-left: 1.5vw;
    margin-right: 1.5vw;
}

.inline {
    display: inline-block;
}

#menuExpandedInputOpts input[type=range] {
    width: 5em;
}

#menuExpandedInputOpts input[type=number] {
    width: 2.5em;
}

.break-word {
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.left {
    float: left !important;
}

.right {
    float: right;
}


#syncVisualization {
    margin: -0.3em 1em 0 0;
}

#syncVisualization .fa-stack-1x {
    left: 10%;
    top: 30%;
    line-height: 1;
}

#syncVisualizationWrapper {
    padding: 1.5vh 0.5em 1.5vh 0.7em;
}

.boldFont {
    font-weight: bold;
}

.multiselect__tag {
    color: black !important;
}
.alignRight {
    text-align: right;
}

.alignCenter {
    text-align: center;
}
/* .container custom margin was commented; rule removed to satisfy linter */
.floatNone {
    float:none;
}
.info_bottom {
    position: absolute;
    bottom: 20px;
    z-index: 20;
    width: 100%;
    text-align: center;
}
h2.alignCenter, h3 {
  color: white;
  text-shadow: -1px -1px 1px #c0c0c0;
}

h2.alignCenter {
  font-family: 'Barriecito', sans-serif;
  font-size: 250%;
  width: 100%;
  text-align: center;
}
.kids_jmfc {
    z-index: 18;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50vw;
    height: 50vh;
    background: url(/app/img/kids_jmfc_bt.svg);
    background-repeat: no-repeat;
    background-position: right bottom; 
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20vh;
  background: url(/app/img/wave.png);
  background-size: 100vw 20vh;
}
.wave1 {
  animation: animate 20s linear infinite;
  z-index: 15;
  opacity: 0.9;
  animation-delay: 0s;
  bottom: 0;
}
.wave2 {
  animation: animate2 15s linear infinite;
  z-index: 10;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: 10px;
}
.wave3 {
  animation: animate 10s linear infinite;
  z-index: 5;
  opacity: 0.4;
  animation-delay: -2s;
  bottom: 15px;
}
.wave4 {
  animation: animate2 5s linear infinite;
  z-index: 1;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 20px;
}
@keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 100vw;
  }
}
@keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -100vw;
  }
}
.context-menu-list, .modal-container, .borderRadius {
    border-radius: 30px;
}
.context-menu-list {
    padding: 15px;
    font-size: 125%;
}
.whiteBck {
    background-color: rgba(255,255,255,0.4);
    padding: 15px 20px;
}
/** queries **/
@media (max-height: 355px) {
    #syncVisualization {
        display: none;
    }
    #syncVisualizationWrapper {
        display: none;
    }
}

@media (max-width: 850px) {
    #syncVisualization {
        margin: -0.3em 0.4em 0 0;
    }
}

@media (max-width: 1300px) and (min-width: 850px) {
    header button {
        font-size: 1.2vw;
    }

}

@media print {
    .no-print, .no-print *, header {
        display: none !important;
    }
    * {
        print-color-adjust: exact !important; /* Standard */
        -webkit-print-color-adjust: exact !important; /* Chrome, Safari */
    }
}

/* Prevent iOS auto-zoom on form controls by ensuring minimum 16px font size */
input,
textarea,
select {
  font-size: 16px !important;
}