@import url('https://fonts.googleapis.com/css?family=Cabin');
@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Changa+One');
@import url('https://fonts.googleapis.com/css?family=Space+Mono');

html, body {
    height: 100%;
    margin: 0px;
    padding: 0;
}

html {
  background: -webkit-radial-gradient(center ellipse, #ff8300 0%, #000000 100%);
  background: radial-gradient(ellipse at center, #ff8300 0%, #000000 100%);
  overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    font-size: 1.46em;
    overflow: hidden;
    font-family:'roboto',sans-serif,Arial;
}



.timers {
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 2.5em;
    color: #ffffff;
    padding: 0.25em 0 0 0;
    position: absolute;
    width: 100%;
    text-shadow: 1px 1px 1px #434343;
    font-family: 'poppins', sans-serif;
}

.timers span {
    flex-grow: 1;
    text-align: center;
}

span#clock {
    font-family: 'space mono', sans-serif;
}

main {
    display: flex;
    flex-direction: row;
}

.orders-wrapper {
    box-sizing: border-box;
}

.orders {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: absolute;
    top: 4em;
    bottom: 0;
    box-sizing: border-box;
    border-radius: 4px;
    height: 80%;
}

.order {
    margin: 0.3em;
    margin-right: 0.5em;
    margin-left: 0.5em;
    /* background-color: rgb(76, 144, 190); */
    /*max-width: calc(1920px / 2 - 0.3em); /* max-width on the order ticket things so one column doesn't look too stupid */
    /*min-width: calc(1920px / 3 - 0.3em); /* additional orders will just have to fall off the edge of the screen */
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    z-index:999;
    background-image: radial-gradient(ellipse farthest-corner at 10% 20%, rgb(240, 141, 44) 0%, rgb(235, 103, 50) 50%, rgb(219, 73, 54) 100%);
}

.order span {
    vertical-align: top;
    display: inline-block;
}

.order .order-number {
    font-weight: bold;
    font-size: 200%;
    padding: 15px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(56, 105, 138, 0.97);
    width: 1.8em;
    text-align: center;
    padding-top: 15px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    font-family: 'poppins', sans-serif;
    font-weight: 100;
    /* text-decoration: underline; */
}

.order .order-number small {
    font-size: 0.3em;
    line-height: 0em;
    display: none;
}

.order .order-time {
    font-size: 250%;
    margin: 0 0.5em 0 0.5em;
    flex-grow: 1;
}

.order .check-text {
    color: #fff;
    font-size: 100%;
    padding-left: 9px;
    display: none;
}
.order:after {
    content: '';
    flex-grow: 1;
    text-align: center;
}


.status-FINISHED {
    color: #333!important;
    order: 1;
    -webkit-animation: blinker 1.3s linear 10;
    background-image: radial-gradient(ellipse farthest-corner at 10% 20%, #8BC34A 0%, #8BC34A 50%, #4CAF50 100%);
}

.status-FINISHED.order .order-number {}

@-webkit-keyframes blinker {
    0% {opacity: 1;}
    50% {opacity: 1;}
    51% {opacity: 0;}
    100% {opacity: 0;}
}

.status-FINISHED:after {
    content: 'READY';
    color: #fff;
    font-size: 1.5em;
    text-align: left;
    font-family: 'roboto',sans-serif;
}

.status-LIVE {
    order: 2;
    color: #333;
        
}

.status-LIVE.order .order-number {background-color: transparent;}

.status-LIVE:after {
    content: 'COOKING';
    color: #fff;
    font-size: 1.5em;
    text-align: left;
    font-family: 'poppins',sans-serif;
}

.status-RECALLED {
    order: 3;
}

ads {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: -webkit-box;
    max-height: 200px;
    min-height: 108px;
    z-index:9999;
    
}

#ad1 {
    background-image: url(graphics/ad2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    width: 50%;
    height: auto;
    display: inherit;
}

#ad2 {
    background-image: url(graphics/ad1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    width: 50%;
    height: auto;
    display: inherit;
}

#slideshow {
  width: 50%;
  height: auto;
  display: inherit;
  }

#slideshow > div {
  left:0px;
}
/**#slideshow > div {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}**/
#slideshow2 {
  width: 50%;
  height: auto;
  display: inherit;  
  }

#slideshow2 > div {
  right:0px;
  
}

@media (max-width: 1940px){ads {box-shadow: 0px -3px 12px rgba(0, 0, 0, 0.39);}}

@media (max-width: 1900px){ads {box-shadow: 0px -3px 12px rgba(0, 0, 0, 0.0);}}