	@font-face {
    font-family: "Open Sans";
    /*src: url(KeyCapsFLF.ttf);*/
    src: url(OpenSans-Regular.ttf);
}


*   {
    padding: 0;
    margin: 0;
    border: 0;
}
html, body  {
    width: 100%;
    height: 100%;
}
body    {
    overflow: auto;
    font-family: "Open Sans";
    /*background-color: black;*/
    /*cursor: none;*/
    /*border: 1px solid red;*/
}
.blackout {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25,25,25,0.4);
    z-index: 80;
}
select  {
    font-family: 'Open Sans', sans-serif;
    /*font-size: 25px;*/
    /*padding: 10px;*/
    /*margin: 5px 20px;*/
    background-color: #fafafa;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    text-align: center;
}

img {
    position: absolute;
    left: 80px;
    top: 80px;
}

.keywatcher {
    width: 100%;
    height: 100%;
}

:root {
  --main-border-color: black;
  --mainmenu_bg: #EEE;
  
}

/*################ SIDE MAIN MENU ##############*/
.navopener   {
    position: absolute;
    transition: 0.5s;
    left: 0px;
    z-index: 50;
    background-color: var(--mainmenu_bg);
}

.version    {
    color: #aaa;
    font-size: 12px;
    text-align: right;
}

.mainmenu {
    height: 100%; /* 100% Full-height */
    width: 450px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 49; /* Stay on top */
    top: 0;
    left: -450px;
    background-color: var(--mainmenu_bg); 
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 10px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    padding: 15px 5px 5px 5px;;
    box-sizing: border-box;
}

section {
    position: relative;
    line-height: 2em;
    padding: 5px;
    margin-bottom: 15px;
}

.sect_head  {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 1em;
    position: absolute;
    top: -.6em;
    left: 15px;
    background-color: #EEE;
    padding: 0 0.5em 0 0.5em;
}

.ligaselect, .teamselect {
    /*width: 450px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.ligaselect label   {
    max-width: 200px;
    min-width: 163px;
}
.teamselect {
    padding: 15px 0 15px 0;
}
.teamselect div {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: bold;
}
.ligaselect input   {
    margin: 0 8px 0 0;
}


.logo_home, .logo_away  {
    width: 70px;
    height: 70px;
    overflow: hidden;
}
.logo_home select, .logo_away select  {
    width: 150px;
}


.fullscreen_setup   {
    padding: 10px;
}

.fullscreen_setup input[type=range]   {
    width: 320px;
}
.fullscreen_setup input[type=color]   {
    vertical-align: middle;
    width: 92px;
}

.bttn   {
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    line-height: 2em;
    vertical-align: middle;
}

.btta   {
    cursor: pointer;
}

.bttm   {
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
	text-align: center;
	margin: 2px;
}

.standalone    {
    margin: 0 0 15px 0;
}
/*############################################*/


.strafe{
	text-align: left;
	font-size: 12px;
}



.maincenter {
    max-width: 1900px;
    min-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fafafa;
    margin: 0 auto;
    padding: 25px 60px 25px 60px;
    box-sizing: border-box;
    text-align: center;
    /*border: 1px solid red;*/
}
.flex_header, .flex_footer   {
    display: flex;
    flex-direction: row;
    width: 968px;
    align-items: stretch;
    /*border: 1px solid red;*/
    padding: 5px;
    /*flex-wrap: wrap;*/
}

.homescore, .awayscore, .timerbox, #selectthird, .logo_h, .logo_a, #selectlogos  {
    margin: 5px;
}

.logo_h, .logo_a {
    background-repeat: no-repeat;
    background-position: center;
}

.homescore, .awayscore  {
    position: relative;
    width: 100px;
}
.timerbox  {
    position: relative;
    width: 250px;
    font-family: "Open Sans";
}

.running    {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3Cpattern%20id%3D%22a%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%225%22%20height%3D%225%22%20patternTransform%3D%22rotate(45)%22%3E%3Cpath%20stroke%3D%22%235C5%22%20d%3D%22M1%200v5%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%23a)%22%2F%3E%3C%2Fsvg%3E");
    /* background-color: #fdc1bc; */
    opacity: 1;
}

.reset_overlay  {
    display: none;
    background-color: rgba(256,256,256,0.6);
    position: absolute;
    font-size: 18px;
    width: 50px;
    top: 0px;
    right: 0px;
    cursor: pointer;
    z-index: 5;
}
#selectthird    {
    font-size: 44px;
    width: 250px;
}

#selectlogos    {
    font-size: 14px;
    width: 100px;
}


.homescore, .awayscore, .timerbox  {
    font-size: 65px;
}

.addOly, .remOly {
    position: absolute;
    width: 100px;
    height: 28px;
    opacity: 0;
    background-color: #fff;
    cursor: pointer;
}
.addOly img, .remOly img {
    display: block;
    top: 5px;
    left: 40px;
}
.addOly:hover, .remOly:hover {
    opacity: .8;
}

.remOly {
    bottom: 0px !important;
}

.logo_h, .logo_a    {
    width: 100px;
}

.settimer    {
    width: 100px;
	 margin: 5px;
}

.flex_wrapper {
    width: 223px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    /*border: 1px solid red;*/
}

.flex_stafen {
    width: 240px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    /*border: 1px solid red;*/
}

.toggle_goal_home, .toggle_goal_away  {
    font-size: 25px;
    margin: 5px;
    flex-basis: 100%;
}

.toggle_time_button{
    font-size: 1.5em;
    margin: 5px;
    flex-basis: 100%;
}

.toggle_timeset_button{
    margin: 5px;
    
}

.flex_wrapper .bttn:not(:first-child) {
    flex-basis: calc(50% - 10px);
    box-sizing: border-box;
}

.flex_wrapper .bttnsecond {
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    line-height: 2em;
    vertical-align: middle;
}

.flex_wrapper .bttn {
    margin: 5px;
}

.powerplay_box  {
    margin: 5px;
    /*width: 512px;*/
    padding: 5px;
    flex-grow: 2;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.pp_times_wrap  {
    padding-left: 8px;
    justify-content: center;
}
.pp_times  {
    display: flex;
}
.pp_times:hover > div {
    visibility: visible;
}
.pp_times div  {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    justify-content: center;
    visibility: hidden;
}
.pp_times div span  {
    cursor: pointer;
}
.pp_times div:first-child   {
    font-size: 18px;
    line-height: 0.8em;
}
.pp_bttn_wrap   {
    display: flex;
    font-size: 28px;
    flex-grow: 2;
    justify-content: center;
}
.pp_t   {
    border: 1px solid var(--main-border-color);
    margin: 5px;
    height: 34px;
    width: 115px;
    text-align: center;
    font-size: 1.3em;
}

.gametime   {
    border: 1px solid var(--main-border-color);
    margin: 5px;
    height: 30px;
    width: 70px;
    text-align: center;
}

/*################ GLOBAL SETUP ##############*/
.grad {
  background: -webkit-linear-gradient(#fff, #efefef, #fff, #fff, #eee, #ddd); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#fff, #efefef, #fff, #fff, #eee, #ddd); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#fff, #efefef, #fff, #fff, #eee, #ddd); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#fff, #efefef, #fff, #fff, #eee, #ddd); /* Standard syntax */
}

.transition {
    -webkit-transition:all .2s ease-in-out;
    -moz-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
    -ms-transition:all .2s ease-in-out;
    transition:all .2s ease-in-out;
}

.border {
    border: 1px solid var(--main-border-color);
}

/*.inline {
    display: inline-block;
    clear: both;
}*/
/*###########################################*/

.reset  {
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    background-color: #ccc;
    margin: 5px;
    flex: 1;
    cursor: pointer;
}

.on     {
    background: linear-gradient(to bottom, #acd363 0%,#a1d54f 50%,#90c141 51%,#94ba4e 100%);
}

.off    {
    background: #07112A;
	color: #ffffff;
}

.disabled   {
    background: grey;
    cursor: wait;
    pointer-events: none;
}


input[type="number"]    {
    border: 1px solid grey;
}


.bttn_wrapper   {
    display: flex;
    width: 968px;
    padding: 10px;
}

.flex_chyron   {
    display: flex;
    flex-direction: row;
    width: 968px;
    align-items: stretch;
    /*border: 1px solid red;*/
    padding: 5px;
    /*flex-wrap: wrap;*/
}
.flex_chyron_home, .flex_chyron_away    {
    flex-grow: 1;
    display: flex;
    padding: 5px;
    /*border: 1px solid red;*/
    /*flex-wrap: wrap;*/
    flex-direction: column;
    border-top: 1px solid var(--main-border-color);
}
.player_search input {
    width: 100%;
    margin: 5px 0 5px 0;
    text-align: center;
    position: relative;
}
.goal_home_chyron, .penalty_home_chyron, .goal_away_chyron, .penalty_away_chyron   {
    display: flex;
    flex-direction: column;
    /*flex-grow: 1;*/
    padding: 5px 0 5px 0;
}
.goal_home_player, .penalty_home_player, .goal_away_player, .penalty_away_player, .search_home_player, .search_away_player   {
    /*flex-grow: 1;*/
    width: 237px;
    border: 1px solid var(--main-border-color);
    font-size: 18px;
}

.upfront    {
    z-index: 99;
}


table.hltable, tr.hltable, td.hltable {
  border: 1px solid black;
  padding: 2px;
  border-collapse: collapse;
}

.label_chyron   {
    display: block;
    cursor: pointer;
    width: 100%;
}

.toggle_chance{
    margin: 1px;
    flex-basis: 100%;
	font-size: 12px;
}

.chyron_header  {
    font-size: 16px;
    padding: 5px;
    text-transform: uppercase;
}

/*#################### SHOOTOUT ######################*/
.shootout    {
    font-size: 25px;
    position: relative;
    margin: 15px 5px;
    cursor: pointer;
    width: 50%;
    flex-grow: 1;
    line-height: 47px;
}

.shootout_setup {
    display: none;
    width: 955px;
}



.so_setup_home, .so_setup_away  {
    display: flex;
    align-content: center;
    flex-grow: 2;
    /*border: 1px solid red;*/
}

.so_setup_home div, .so_setup_away div {
    flex-grow: 2;
    border: 1px solid var(--main-border-color);
    width: 40px;
    margin: 5px;
}

.shootout_setup input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
    background-color: #fff;
}

.shootout_setup label {
    float: left;
    cursor: pointer;
    width: 100%;
}

.shootout_setup input:checked  + label {
    background-color: #ccc;
}

.showflex   {
    display: flex !important;
}

/*#################### INFO GRAFIKEN ######################*/
.setup_infos    {
    width: 955px;
    display: flex;
}

.setup_infos div    {
    flex-grow: 1;
    /*border: 1px solid red;*/
}

.setup_infos input  {
    font-size: 12px;
}

.label_infos   {
    display: block;
    margin: 4px 0 0 40px;
    cursor: pointer;
    width: 220px;
}

/*#################### EINGABEMASKE ######################*/
/*#wrapper_mask {
    width: 100%;
    display: none;
    position: fixed;
    bottom: 0px;
    background: white;
    border: 1px solid black;
    padding: 20px;
    /*z-index: -3;*/
/*}*/