From 156481ffc2c05eb8930bbc840be2280decf808d1 Mon Sep 17 00:00:00 2001 From: Sebastian Schulz Date: Tue, 18 Dec 2018 16:58:39 +0100 Subject: [PATCH] SlicewOw/webSPELL_Cups#8 - Gameaccounts can be active automatically --- admin/games.php | 83 ++++++++++++------- cup/ajax/admin/admin_games.php | 15 ++-- cup/css/layout.css | 8 ++ cup/dist/css/styles.css | 7 ++ cup/dist/css/styles.min.css | 2 +- install-cup-addon.php | 8 +- languages/de/admin/games.php | 1 + languages/en/admin/games.php | 1 + src/classes/gameaccounts.php | 59 ++++++++++--- templates/{game_add.html => game_action.html} | 9 ++ templates/games_home.html | 50 ++++++++++- templates/games_list.html | 9 ++ 12 files changed, 202 insertions(+), 50 deletions(-) rename templates/{game_add.html => game_action.html} (85%) diff --git a/admin/games.php b/admin/games.php index 038e480..95df05c 100644 --- a/admin/games.php +++ b/admin/games.php @@ -20,27 +20,32 @@ $status = FALSE; - $name = getinput($_POST[ "name" ]); - $short = getinput($_POST[ "short" ]); - $tag = getinput($_POST[ "tag" ]); + $name = getinput($_POST[ "name" ]); + $short = getinput($_POST[ "short" ]); + $tag = getinput($_POST[ "tag" ]); + + $cup_auto_active = (isset($_POST[ "cup_auto_active" ]) && ($_POST[ "cup_auto_active" ] == '1')) ? + 1 : 0; if (!checkforempty(array('name', 'short', 'tag'))) { throw new \Exception($_language->module['fill_correctly']); } - if(isset($_POST[ 'save' ])) { + if (isset($_POST[ 'save' ])) { $saveQuery = mysqli_query( $_database, "INSERT INTO `" . PREFIX . "games` ( - name, - short, - tag + `name`, + `short`, + `tag`, + `cup_auto_active` ) VALUES ( '" . $name . "', '" . $short . "', - '" . $tag ."' + '" . $tag ."', + " . $cup_auto_active . " )" ); @@ -61,9 +66,10 @@ $saveQuery = mysqli_query( $_database, "UPDATE `" . PREFIX . "games` - SET `name` = '" . $name . "', + SET `name` = '" . $name . "', `tag` = '" . $tag ."', - `short` = '" . $short . "' + `short` = '" . $short . "', + `cup_auto_active` = " . $cup_auto_active . " WHERE `gameID` = " . $game_id ); @@ -140,26 +146,38 @@ $ds = mysqli_fetch_array( mysqli_query( $_database, - "SELECT - `name`, - `tag` - FROM `" . PREFIX . "games` + "SELECT + `name`, + `tag` + FROM `" . PREFIX . "games` WHERE `gameID` = " . $game_id ) ); - $saveQuery = mysqli_query( + $game_tag = $ds['tag']; + + $deleteQuery = mysqli_query( $_database, - "DELETE FROM " . PREFIX . "games + "DELETE FROM `" . PREFIX . "games` WHERE `gameID` = " . $game_id ); - if (file_exists($filepath.$ds['tag'].".gif")) { - unlink($filepath.$ds['tag'].".gif"); + if (file_exists($filepath . $game_tag . ".gif")) { + unlink($filepath . $game_tag . ".gif"); } - if (!$saveQuery) { - throw new \Exception($_language->module['query_delete_failed']); + if (!$deleteQuery) { + throw new \Exception($_language->module['query_delete_failed'] . ' (`games`)'); + } + + $deleteQuery = mysqli_query( + $_database, + "DELETE FROM `" . PREFIX . "cups_gameaccounts` + WHERE `category` = '" . $game_tag . "'" + ); + + if (!$deleteQuery) { + throw new \Exception($_language->module['query_delete_failed'] . ' (`cups_gameaccounts`)'); } header("Location: admincenter.php?site=games"); @@ -173,8 +191,8 @@ $ds = mysqli_fetch_array( mysqli_query( $_database, - "SELECT * FROM " . PREFIX . "games - WHERE gameID='" . $game_id . "'" + "SELECT * FROM `" . PREFIX . "games` + WHERE gameID = " . $game_id ) ); @@ -184,17 +202,18 @@ $data_array['$name'] = getinput($ds['name']); $data_array['$short'] = getinput($ds['short']); $data_array['$tag'] = getinput($ds['tag']); + $data_array['$cup_auto_active'] = $ds['cup_auto_active']; $data_array['$icon'] = $pic; $data_array['$game_id'] = $game_id; $data_array['$postName'] = 'saveedit'; - $game_edit = $GLOBALS["_template"]->replaceTemplate("game_add", $data_array); + $game_edit = $GLOBALS["_template"]->replaceTemplate("game_action", $data_array); echo $game_edit; } else { $ergebnis = mysqli_query( $_database, - "SELECT * FROM `" . PREFIX . "games` + "SELECT * FROM `" . PREFIX . "games` ORDER BY `active` DESC, `name` ASC" ); @@ -216,6 +235,12 @@ $active_txt = ($ds['active']) ? $_language->module[ 'active' ] : $_language->module[ 'inactive' ]; + $auto_active_class = ($ds['cup_auto_active']) ? + 'btn btn-success btn-xs' : 'btn btn-danger btn-xs'; + + $auto_active_txt = ($ds['cup_auto_active']) ? + $_language->module[ 'yes' ] : $_language->module[ 'no' ]; + $edit_url = 'admincenter.php?site=games&action=edit&id=' . $game_id; $delete_url = 'admincenter.php?site=games&delete=true&id=' . $game_id; @@ -227,6 +252,8 @@ $data_array['$tag'] = $game_tag; $data_array['$active_class'] = $active_class; $data_array['$active_txt'] = $active_txt; + $data_array['$auto_active_class'] = $auto_active_class; + $data_array['$auto_active_txt'] = $auto_active_txt; $data_array['$edit_url'] = $edit_url; $data_array['$delete_url'] = $delete_url; @@ -240,7 +267,7 @@ } - $no_entries = '' . $_language->module[ 'no_entries' ] . ''; + $no_entries = '' . $_language->module[ 'no_entries' ] . ''; if (empty($active_games)) { $active_games = $no_entries; @@ -254,13 +281,11 @@ $data_array['$name'] = ''; $data_array['$short'] = ''; $data_array['$tag'] = ''; + $data_array['$cup_auto_active'] = ''; $data_array['$game_id'] = 0; $data_array['$icon'] = ''; - $data_array['$image'] = ''; - $data_array['$ts_tab'] = ''; - $data_array['$ts_bg'] = ''; $data_array['$postName'] = 'save'; - $add_game = $GLOBALS["_template"]->replaceTemplate("game_add", $data_array); + $add_game = $GLOBALS["_template"]->replaceTemplate("game_action", $data_array); $data_array = array(); $data_array['$active_games'] = $active_games; diff --git a/cup/ajax/admin/admin_games.php b/cup/ajax/admin/admin_games.php index d83a8be..5c5eefc 100644 --- a/cup/ajax/admin/admin_games.php +++ b/cup/ajax/admin/admin_games.php @@ -17,32 +17,35 @@ throw new \Exception($_language->module['unknown_action']); } - $game_id = (isset($_GET['game_id']) && validate_int($_GET['game_id'])) ? + $game_id = (isset($_GET['game_id']) && validate_int($_GET['game_id'], true)) ? (int)$_GET['game_id'] : 0; if ($game_id < 1) { throw new \Exception($_language->module['unknown_game']); } - if ($getAction == 'setActiveMode') { + if ($getAction == 'setActiveMode' || $getAction == 'setAutoActiveMode') { + + $activeColumn = ($getAction == 'setActiveMode') ? + 'active' : 'cup_auto_active'; $get = mysqli_fetch_array( mysqli_query( $_database, "SELECT - `active` + `" . $activeColumn . "` FROM `" . PREFIX . "games` WHERE `gameID` = " . $game_id ) ); - $new_value = (!empty($get['active']) && ($get['active'] == 1)) ? + $new_value = (!empty($get[$activeColumn]) && ($get[$activeColumn] == 1)) ? 0 : 1; $query = mysqli_query( $_database, - "UPDATE `".PREFIX."games` - SET active = " . $new_value . " + "UPDATE `" . PREFIX . "games` + SET " . $activeColumn . " = " . $new_value . " WHERE gameID = " . $game_id ); diff --git a/cup/css/layout.css b/cup/css/layout.css index 18ac272..3927fca 100644 --- a/cup/css/layout.css +++ b/cup/css/layout.css @@ -317,3 +317,11 @@ body { background: rgba(19, 19, 19, 0.2); border: 1px rgba(19, 19, 19, 0.5) solid; } + +/** + * Custom Bootstrap + */ +.input-group > span.form-control { + height: 39px; + line-height: 25px; +} \ No newline at end of file diff --git a/cup/dist/css/styles.css b/cup/dist/css/styles.css index eb93678..9b6731a 100644 --- a/cup/dist/css/styles.css +++ b/cup/dist/css/styles.css @@ -1423,6 +1423,13 @@ body { border: 1px rgba(19, 19, 19, 0.5) solid; } +/** + * Custom Bootstrap + */ +.input-group > span.form-control { + height: 39px; + line-height: 25px; +} /* MAIN */ body, html, diff --git a/cup/dist/css/styles.min.css b/cup/dist/css/styles.min.css index 34aee6e..0ca838b 100644 --- a/cup/dist/css/styles.min.css +++ b/cup/dist/css/styles.min.css @@ -3,4 +3,4 @@ * * Copyright 2013-2017 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) - */select.bs-select-hidden,select.selectpicker{display:none!important}.bootstrap-select>.dropdown-toggle{width:100%;padding-right:25px;z-index:1}.bootstrap-select>.dropdown-toggle.bs-placeholder,.bootstrap-select>.dropdown-toggle.bs-placeholder:active,.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder:hover{color:#999}.bootstrap-select>select{position:absolute!important;bottom:0;left:50%;display:block!important;width:.5px!important;height:100%!important;padding:0!important;opacity:0!important;border:none}.bootstrap-select>select.mobile-device{top:0;left:0;display:block!important;width:100%!important;z-index:2}.error .bootstrap-select .dropdown-toggle,.has-error .bootstrap-select .dropdown-toggle{border-color:#b94a48}.bootstrap-select.fit-width{width:auto!important}.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){width:220px}.bootstrap-select .dropdown-toggle:focus{outline:thin dotted #333!important;outline:5px auto -webkit-focus-ring-color!important;outline-offset:-2px}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:none}.bootstrap-select.form-control:not([class*=col-]){width:100%}.bootstrap-select.form-control.input-group-btn{z-index:auto}.bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child)>.btn{border-radius:0}.bootstrap-select.btn-group:not(.input-group-btn),.bootstrap-select.btn-group[class*=col-]{float:none;display:inline-block;margin-left:0}.bootstrap-select.btn-group.dropdown-menu-right,.bootstrap-select.btn-group[class*=col-].dropdown-menu-right,.row .bootstrap-select.btn-group[class*=col-].dropdown-menu-right{float:right}.form-group .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group{margin-bottom:0}.form-group-lg .bootstrap-select.btn-group.form-control,.form-group-sm .bootstrap-select.btn-group.form-control{padding:0}.form-group-lg .bootstrap-select.btn-group.form-control .dropdown-toggle,.form-group-sm .bootstrap-select.btn-group.form-control .dropdown-toggle{height:100%;font-size:inherit;line-height:inherit;border-radius:inherit}.form-inline .bootstrap-select.btn-group .form-control{width:100%}.bootstrap-select.btn-group.disabled,.bootstrap-select.btn-group>.disabled{cursor:not-allowed}.bootstrap-select.btn-group.disabled:focus,.bootstrap-select.btn-group>.disabled:focus{outline:0!important}.bootstrap-select.btn-group.bs-container{position:absolute;height:0!important;padding:0!important}.bootstrap-select.btn-group.bs-container .dropdown-menu{z-index:1060}.bootstrap-select.btn-group .dropdown-toggle .filter-option{display:inline-block;overflow:hidden;width:100%;text-align:left}.bootstrap-select.btn-group .dropdown-toggle .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.bootstrap-select.btn-group[class*=col-] .dropdown-toggle{width:100%}.bootstrap-select.btn-group .dropdown-menu{min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .dropdown-menu.inner{position:static;float:none;border:0;padding:0;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.bootstrap-select.btn-group .dropdown-menu li{position:relative}.bootstrap-select.btn-group .dropdown-menu li.active small{color:#fff}.bootstrap-select.btn-group .dropdown-menu li.disabled a{cursor:not-allowed}.bootstrap-select.btn-group .dropdown-menu li a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bootstrap-select.btn-group .dropdown-menu li a.opt{position:relative;padding-left:2.25em}.bootstrap-select.btn-group .dropdown-menu li a span.check-mark{display:none}.bootstrap-select.btn-group .dropdown-menu li a span.text{display:inline-block}.bootstrap-select.btn-group .dropdown-menu li small{padding-left:.5em}.bootstrap-select.btn-group .dropdown-menu .notify{position:absolute;bottom:5px;width:96%;margin:0 2%;min-height:26px;padding:3px 5px;background:#f5f5f5;border:1px solid #e3e3e3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05);pointer-events:none;opacity:.9;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .no-results{padding:3px;background:#f5f5f5;margin:0 5px;white-space:nowrap}.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option{position:static}.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret{position:static;top:auto;margin-top:-1px}.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark{position:absolute;display:inline-block;right:15px;margin-top:5px}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle{z-index:1061}.bootstrap-select.show-menu-arrow .dropdown-toggle:before{content:'';border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(204,204,204,.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle:after{content:'';border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before{bottom:auto;top:-3px;border-top:7px solid rgba(204,204,204,.2);border-bottom:0}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after{bottom:auto;top:-3px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before{display:block}.bs-actionsbox,.bs-donebutton,.bs-searchbox{padding:4px 8px}.bs-actionsbox{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-actionsbox .btn-group button{width:50%}.bs-donebutton{float:left;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-donebutton .btn-group button{width:100%}.bs-searchbox+.bs-actionsbox{padding:0 8px 4px}.bs-searchbox .form-control{margin-bottom:0;width:100%;float:none}.bootstrap-select>.dropdown-menu.open{background:#fff;border:1px #ccc solid;border-radius:5px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.flip-clock-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}.flip-clock-wrapper a{cursor:pointer;text-decoration:none;color:#ccc}.flip-clock-wrapper a:hover{color:#fff}.flip-clock-wrapper ul{list-style:none}.flip-clock-wrapper.clearfix:after,.flip-clock-wrapper.clearfix:before{content:" ";display:table}.flip-clock-wrapper.clearfix:after{clear:both}.flip-clock-wrapper{font:normal 11px "Helvetica Neue",Helvetica,sans-serif;-webkit-user-select:none}.flip-clock-meridium{background:0 0!important;box-shadow:0 0 0!important;font-size:36px!important}.flip-clock-meridium a{color:#313333}.flip-clock-wrapper{text-align:center;position:relative;width:auto;margin:1em}.flip-clock-wrapper:after,.flip-clock-wrapper:before{content:" ";display:table}.flip-clock-wrapper:after{clear:both}.flip-clock-wrapper ul{position:relative;float:left;margin:5px;width:45px;height:70px;font-size:50px;font-weight:700;line-height:65px;border-radius:6px;background:#000}.flip-clock-wrapper ul li{z-index:1;position:absolute;left:0;top:0;width:100%;height:100%;line-height:65px;text-decoration:none!important}.flip-clock-wrapper ul li:first-child{z-index:2}.flip-clock-wrapper ul li a{display:block;height:100%;-webkit-perspective:200px;-moz-perspective:200px;perspective:200px;margin:0!important;overflow:visible!important;cursor:default!important}.flip-clock-wrapper ul li a div{z-index:1;position:absolute;left:0;width:100%;height:50%;font-size:50px;overflow:hidden;outline:1px solid transparent}.flip-clock-wrapper ul li a div .shadow{position:absolute;width:100%;height:100%;z-index:2}.flip-clock-wrapper ul li a div.up{-webkit-transform-origin:50% 100%;-moz-transform-origin:50% 100%;-ms-transform-origin:50% 100%;-o-transform-origin:50% 100%;transform-origin:50% 100%;top:0}.flip-clock-wrapper ul li a div.up:after{content:"";position:absolute;top:44px;left:0;z-index:5;width:100%;height:3px;background-color:#000;background-color:rgba(0,0,0,.4)}.flip-clock-wrapper ul li a div.down{-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;-o-transform-origin:50% 0;transform-origin:50% 0;bottom:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.flip-clock-wrapper ul li a div div.inn{position:absolute;left:0;z-index:1;width:100%;height:200%;color:#ccc;text-shadow:0 1px 2px #000;text-align:center;background-color:#333;border-radius:6px;font-size:50px}.flip-clock-wrapper ul li a div.up div.inn{top:0}.flip-clock-wrapper ul li a div.down div.inn{bottom:0}.flip-clock-wrapper ul.play li.flip-clock-before{z-index:3}.flip-clock-wrapper .flip{box-shadow:0 2px 5px rgba(0,0,0,.7)}.flip-clock-wrapper ul.play li.flip-clock-active{-webkit-animation:asd .5s .5s linear both;-moz-animation:asd .5s .5s linear both;animation:asd .5s .5s linear both;z-index:5}.flip-clock-divider{float:left;display:inline-block;position:relative;width:20px;height:100px}.flip-clock-divider:first-child{width:0}.flip-clock-dot{display:block;background:#323434;width:10px;height:10px;position:absolute;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.5);left:5px}.flip-clock-divider .flip-clock-label{position:absolute;top:-1.2em;right:-70px;color:#000;text-shadow:none}.flip-clock-divider.minutes .flip-clock-label{right:-75px}.flip-clock-divider.seconds .flip-clock-label{right:-76px}.flip-clock-dot.top{top:20px}.flip-clock-dot.bottom{bottom:40px}@-webkit-keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}@-moz-keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}@-o-keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}@keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}.flip-clock-wrapper ul.play li.flip-clock-active .down{z-index:2;-webkit-animation:turn .5s .5s linear both;-moz-animation:turn .5s .5s linear both;animation:turn .5s .5s linear both}@-webkit-keyframes turn{0%{-webkit-transform:rotateX(90deg)}100%{-webkit-transform:rotateX(0)}}@-moz-keyframes turn{0%{-moz-transform:rotateX(90deg)}100%{-moz-transform:rotateX(0)}}@-o-keyframes turn{0%{-o-transform:rotateX(90deg)}100%{-o-transform:rotateX(0)}}@keyframes turn{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}.flip-clock-wrapper ul.play li.flip-clock-before .up{z-index:2;-webkit-animation:turn2 .5s linear both;-moz-animation:turn2 .5s linear both;animation:turn2 .5s linear both}@-webkit-keyframes turn2{0%{-webkit-transform:rotateX(0)}100%{-webkit-transform:rotateX(-90deg)}}@-moz-keyframes turn2{0%{-moz-transform:rotateX(0)}100%{-moz-transform:rotateX(-90deg)}}@-o-keyframes turn2{0%{-o-transform:rotateX(0)}100%{-o-transform:rotateX(-90deg)}}@keyframes turn2{0%{transform:rotateX(0)}100%{transform:rotateX(-90deg)}}.flip-clock-wrapper ul li.flip-clock-active{z-index:3}.flip-clock-wrapper ul.play li.flip-clock-before .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}.flip-clock-wrapper ul.play li.flip-clock-active .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .3s linear both}.flip-clock-wrapper ul.play li.flip-clock-before .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}.flip-clock-wrapper ul.play li.flip-clock-active .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .2s linear both}@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@-moz-keyframes show{0%{opacity:0}100%{opacity:1}}@-o-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hide{0%{opacity:1}100%{opacity:0}}@-moz-keyframes hide{0%{opacity:1}100%{opacity:0}}@-o-keyframes hide{0%{opacity:1}100%{opacity:0}}@keyframes hide{0%{opacity:1}100%{opacity:0}}.ui-pnotify{top:36px;right:36px;position:absolute;height:auto;z-index:2}body>.ui-pnotify{position:fixed;z-index:100040}.ui-pnotify-modal-overlay{background-color:rgba(0,0,0,.4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:1}body>.ui-pnotify-modal-overlay{position:fixed;z-index:100039}.ui-pnotify.ui-pnotify-in{display:block!important}.ui-pnotify.ui-pnotify-move{transition:left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .6s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .6s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .2s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .2s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0 6px 28px 0 rgba(0,0,0,.1);-moz-box-shadow:0 6px 28px 0 rgba(0,0,0,.1);box-shadow:0 6px 28px 0 rgba(0,0,0,.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:" ";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;margin-bottom:.4em;margin-top:0}.ui-pnotify-text{display:block}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left;margin-right:.2em}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-topleft{left:25px;right:auto}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-bottomright{bottom:25px;top:auto}.ui-pnotify.stack-modal{left:50%;right:auto;margin-left:-150px}.brighttheme{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.brighttheme.ui-pnotify-container{padding:18px}.brighttheme .ui-pnotify-title{margin-bottom:12px}.brighttheme-notice{background-color:#ffffa2;border:0 solid #ff0;color:#4f4f00}.brighttheme-info{background-color:#8fcedd;border:0 solid #0286a5;color:#012831}.brighttheme-success{background-color:#aff29a;border:0 solid #35db00;color:#104300}.brighttheme-error{background-color:#ffaba2;background-image:repeating-linear-gradient(135deg,transparent,transparent 35px,rgba(255,255,255,.3) 35px,rgba(255,255,255,.3) 70px);border:0 solid #ff1800;color:#4f0800}.brighttheme-icon-closer,.brighttheme-icon-info,.brighttheme-icon-notice,.brighttheme-icon-sticker,.brighttheme-icon-success{position:relative;width:16px;height:16px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;border-radius:50%}.brighttheme-icon-closer:after,.brighttheme-icon-info:after,.brighttheme-icon-notice:after,.brighttheme-icon-sticker:after,.brighttheme-icon-success:after{position:absolute;top:0;left:4px}.brighttheme-icon-notice{background-color:#2e2e00;color:#ffffa2;margin-top:2px}.brighttheme-icon-notice:after{content:"!"}.brighttheme-icon-info{background-color:#012831;color:#8fcedd;margin-top:2px}.brighttheme-icon-info:after{content:"i"}.brighttheme-icon-success{background-color:#104300;color:#aff29a;margin-top:2px}.brighttheme-icon-success:after{content:"\002713"}.brighttheme-icon-error{position:relative;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:16px solid #2e0400;font-size:0;line-height:0;color:#ffaba2;margin-top:1px}.brighttheme-icon-error:after{position:absolute;top:1px;left:-4px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;content:"!"}.brighttheme-icon-closer,.brighttheme-icon-sticker{display:inline-block}.brighttheme-icon-closer:after{top:-4px;content:"\002715"}.brighttheme-icon-sticker:after{top:-5px;content:"\01D1BC";-moz-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.brighttheme-icon-sticker.brighttheme-icon-stuck:after{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.brighttheme .ui-pnotify-action-bar{padding-top:12px}.brighttheme .ui-pnotify-action-bar input,.brighttheme .ui-pnotify-action-bar textarea{display:block;width:100%;margin-bottom:12px!important}.brighttheme .ui-pnotify-action-button{text-transform:uppercase;font-weight:700;padding:4px 8px;border:none;background:0 0}.brighttheme .ui-pnotify-action-button.btn-primary{border:none;border-radius:0}.brighttheme-notice .ui-pnotify-action-button.btn-primary{background-color:#ff0;color:#4f4f00}.brighttheme-info .ui-pnotify-action-button.btn-primary{background-color:#0286a5;color:#012831}.brighttheme-success .ui-pnotify-action-button.btn-primary{background-color:#35db00;color:#104300}.brighttheme-error .ui-pnotify-action-button.btn-primary{background-color:#ff1800;color:#4f0800}.ui-pnotify-closer,.ui-pnotify-sticker{float:right;margin-left:.2em}.ui-pnotify-container{position:relative;left:0}@media (max-width:480px){.ui-pnotify-mobile-able.ui-pnotify{position:fixed;top:0;right:0;left:0;width:auto!important;font-size:1.2em;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;-ms-font-smoothing:antialiased;font-smoothing:antialiased}.ui-pnotify-mobile-able.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-bottom-width:5px}.ui-pnotify-mobile-able .ui-pnotify-container{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,.ui-pnotify-mobile-able.ui-pnotify.stack-topleft{left:0;right:0}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,.ui-pnotify-mobile-able.ui-pnotify.stack-bottomright{left:0;right:0;bottom:0;top:auto}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft .ui-pnotify-shadow,.ui-pnotify-mobile-able.ui-pnotify.stack-bottomright .ui-pnotify-shadow{border-top-width:5px;border-bottom-width:1px}}#cup-team-logotype>img{max-width:180px;max-height:180px}.content_full_container{width:100%;height:auto}.content_full_container_float{float:left;width:100%;height:auto}.content_full_space{width:100%;height:20px}.content_full_space_float{float:left;width:100%;height:20px}.content_full_break{background:#ccc;width:100%;height:1px}.content_full_break_float{float:left;background:#ccc;width:100%;height:1px}@media (min-device-width:481px){#content_home_left{float:left;width:66%;height:auto;min-height:100px}#content_home_right{float:left;width:33%;height:auto;min-height:100px;margin:0 0 0 1%}}@media (max-device-width:480px){#content_home_left{width:98%;height:auto;min-height:100px;margin:0 1%}#content_home_right{width:98%;height:auto;min-height:100px;margin:0 1%}}.content_home_right_title{background:#265da5;width:100%;height:30px;margin:10px 0 0 0;padding:0 0 0 4%;border:#999 1px solid;border-radius:4px}.content_home_right_container{background:#f3f3f3;width:100%;height:auto;min-height:30px;margin:5px 0 0 0;padding:0 2%;border-radius:4px}.content_blue_container{background:#265da5;width:100%;height:auto;margin:0 0 5px 0;padding:0 0 0 2%;border-radius:4px}#cupSliderContainer>.list-group{margin:0;border-radius:0}#cupSliderContainer>.list-group>.list-group-item:first-child{border-radius:0}#cupSliderContainer>.list-group>.list-group-item:last-child{border-radius:0 0 0 3px}#cupSliderMenu{padding:15px 30px 0 0}.form_container{width:100%;height:auto}.form_input_container{width:100%;height:auto;margin:5px 0 0 0}.form_input_info{float:left;width:18%;height:40px;margin:0 2% 0 0}.form_input_input{float:left;width:80%;height:auto;min-height:40px}.form_input_input select{height:40px}.form_input_input textarea{width:400px;min-width:400px;max-width:400px;height:auto;min-height:40px}input.input_checkbox{width:30px;height:30px;margin:5px 0}input.input_submit_button{background:#265da5;width:200px;height:30px;margin:0;padding:0;border:#999 1px solid;border-radius:4px;cursor:pointer}.form_input_space{float:left;width:100%;height:20px}.content_button{float:left;background:#265da5;width:auto;height:38px;margin:0 10px 0 0;border:#999 1px solid;border-radius:4px}.content_button a{width:auto;height:38px;padding:5px 10px;display:block}.cup-main-navigation{margin:0;padding:10px 0;border-radius:0}.cup-main-navigation>div>div>ul>li{font-size:12px}.cup_container{background:#f3f3f3;width:100%;height:auto;margin:0 0 10px 0;padding:1%;border-radius:5px}.cup_container ul{width:95%;height:auto;margin:0 0 0 5%;padding:0}.cup_container ul li{width:100%;height:20px;margin:0;padding:0;list-style-type:square}.cup_container_menu{width:100%;height:40px}.cup_container_menu ul{width:100%;height:40px;margin:0;padding:0}.cup_container_menu ul li{float:left;background:#265da5;width:18%;height:40px;margin:0 1%;padding:0;list-style:none;border-radius:4px;cursor:pointer}.cup_container_menu ul li span{width:100%;height:40px;display:block}.cup_container_left{float:left;width:70%;height:auto}.cup_container_left ul{width:92%;height:auto;margin:0 4%;padding:0}.cup_container_left ul li{width:100%;height:20px;margin:0;padding:0;list-style-type:square}.cup_container_title{width:100%;height:30px;overflow:hidden}.cup_container_info{width:100%;height:20px;overflow:hidden}.cup_container_right{float:left;width:30%;height:auto;min-height:50px}.cup_container_tab{width:100%;height:auto;display:none}.cup_details_rules{width:100%;height:auto}.cup_details_rules h1{width:100%;height:auto;margin:10px 0}.cup_details_rules h2{width:95%;height:auto;margin:10px 0 0 5%}.cup_details_rules h3{width:90%;height:auto;margin:10px 0 0 10%}.cup_details_rules h4{width:85%;height:auto;margin:10px 0 0 15%}.cup_bracket_64{float:left;width:15%;height:auto}.cup_bracket_64_break{float:left;width:2%;height:100%}#cup_bracket_64_line_32-16{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_32-16.png) repeat-y;min-height:2850px}#cup_bracket_64_line_16-8{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_16-8.png) repeat-y;margin:45px 0 0 0;min-height:2805px}#cup_bracket_64_line_8-4{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_8-4.png) repeat-y;margin:135px 0 0 0;min-height:2715px}#cup_bracket_64_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_4-2.png) repeat-y;margin:315px 0 0 0;min-height:2535px}#cup_bracket_64_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_2-1.png) no-repeat;margin:675px 0 0 0;min-height:2175px}.cup_bracket_64_break_32{width:100%;height:30px}.cup_bracket_64_break_16_start{width:100%;height:45px}.cup_bracket_64_break_16{width:100%;height:120px}.cup_bracket_64_break_8_start{width:100%;height:135px}.cup_bracket_64_break_8{width:100%;height:300px}.cup_bracket_64_break_4_start{width:100%;height:315px}.cup_bracket_64_break_4{width:100%;height:660px}.cup_bracket_64_break_2_start{width:100%;height:675px}.cup_bracket_64_break_2{width:100%;height:1380px}.cup_bracket_64_break_1_start{width:100%;height:1405px}.cup_bracket_match{background:rgba(0,0,0,.01);width:100%;height:60px;border-radius:4px}.cup_bracket_64_match{width:144px;height:60px}.cup_bracket_64_match a{width:144px;height:60px;display:block}.cup_bracket_32{float:left;width:15%;height:auto}.cup_bracket_32_break{float:left;width:6%}#cup_bracket_32_line_16-8{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_16-8.png) repeat-y;margin:0;height:100%;min-height:1410px}#cup_bracket_32_line_8-4{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_8-4.png) repeat-y;margin:45px 0 0 0;height:100%;min-height:1320px}#cup_bracket_32_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_4-2.png) repeat-y;margin:135px 0 0 0;height:100%;min-height:1140px}#cup_bracket_32_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_2-1.png) no-repeat;margin:315px 0 0 0;height:780px}.cup_bracket_32_break_16{width:100%;height:30px}.cup_bracket_32_break_8_start{width:100%;height:45px}.cup_bracket_32_break_8{width:100%;height:120px}.cup_bracket_32_break_4_start{width:100%;height:135px}.cup_bracket_32_break_4{width:100%;height:300px}.cup_bracket_32_break_2_start{width:100%;height:315px}.cup_bracket_32_break_2{width:100%;height:660px}.cup_bracket_32_break_1_start{width:100%;height:675px}.cup_bracket_32_match{width:144px;height:60px}.cup_bracket_32_match a{width:144px;height:60px;display:block}.cup_bracket_16{float:left;width:22%;height:auto}.cup_bracket_16_break{float:left;width:38px;height:auto}#cup_bracket_16_line_8-4{background:url(https://images.myrisk-ev.de/cup/brackets/break_16_8-4.png) repeat-y;min-height:690px}#cup_bracket_16_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_16_4-2.png) repeat-y;margin:45px 0 0 0;min-height:600px}#cup_bracket_16_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_16_2-1.png) no-repeat;margin:135px 0 0 0;min-height:420px}.cup_bracket_16_break_8{width:100%;height:30px}.cup_bracket_16_break_4{width:100%;height:120px}.cup_bracket_16_break_2{width:100%;height:300px}.cup_bracket_16_break_4_start{width:100%;height:45px}.cup_bracket_16_break_2_start{width:100%;height:135px}.cup_bracket_16_break_1_start{width:100%;height:315px}.cup_bracket_16_match{width:212px;height:60px}.cup_bracket_16_match a{width:212px;height:60px;display:block}.cup_bracket_8{float:left;width:22%;height:auto}.cup_bracket_8_break{float:left;width:38px;height:auto}#cup_bracket_8_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_8_4-2.png) repeat-y;min-height:330px}#cup_bracket_8_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_8_2-1.png) no-repeat;margin:45px 0 0 0;min-height:285px}.cup_bracket_8_break_4{width:100%;height:30px}.cup_bracket_8_break_2{width:100%;height:120px}.cup_bracket_8_break_2_start{width:100%;height:45px}.cup_bracket_8_break_1_start{width:100%;height:135px}.cup_bracket_8_match{width:212px;height:60px}.cup_bracket_8_match a{width:212px;height:60px;display:block}.cup_bracket_4{float:left;width:22%;height:auto}.cup_bracket_4_break{float:left;width:38px;height:30px}#cup_bracket_4_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_8_2-1.png) no-repeat;margin:0;min-height:240px}.cup_bracket_4_break_2{width:100%;height:120px}.cup_bracket_4_break_sup3{width:100%;height:30px}.cup_bracket_4_break_1_start{width:100%;height:90px}.cup_bracket_4_match{width:212px;height:60px}.cup_bracket_4_match a{width:212px;height:60px;display:block}.cup_bracket_2{float:left;width:22%;height:auto;margin:20px 0 20px 20px}.cup_bracket_2_match{width:212px;height:60px}.cup_bracket_2_match>a{width:212px;height:60px;display:block}.cup_bracket_2_match>a>.cup_bracket_match_team_id,.cup_bracket_4_match>a>.cup_bracket_match_team_id{margin-left:158px}.cup_bracket_2_match>a>.cup_bracket_match_score_home,.cup_bracket_2_match>a>.cup_bracket_match_score_oppo,.cup_bracket_4_match>a>.cup_bracket_match_score_home,.cup_bracket_4_match>a>.cup_bracket_match_score_oppo{margin-left:178px}.cup_bracket_match:hover{background:rgba(38,93,165,.1)}span.cup_bracket_match_team_home{position:absolute;width:100px;height:20px;margin:0 0 0 10px;overflow:hidden;display:block}span.cup_bracket_match_score_home{position:absolute;width:34px;height:20px;margin:0 0 0 110px;display:block}span.cup_bracket_match_team_vs{position:absolute;width:100px;height:20px;margin:20px 0 0 10px;display:block}span.cup_bracket_match_team_id{position:absolute;width:54px;height:20px;margin:20px 0 0 90px;display:block}span.cup_bracket_match_team_oppo{position:absolute;width:100px;height:20px;margin:40px 0 0 10px;overflow:hidden;display:block}span.cup_bracket_match_score_oppo{position:absolute;width:34px;height:20px;margin:40px 0 0 110px;display:block}.cup_match_container{float:left;background:#f3f3f3;width:100%;height:auto;margin:0 0 10px 0;padding:1%;border-radius:5px}.cup_match_left{float:left;width:60%;height:auto;padding:1%;border-radius:5px}.cup_match_container_left{float:left;width:40%;height:180px}.cup_match_container_center{float:left;width:20%;height:40px;margin:70px 0}.cup_match_container_right{float:left;width:40%;height:180px}.cup_match_right{float:left;width:39%;height:auto;margin:0 0 0 1%;border-radius:5px}.teams_spacer{width:100%;height:20px}.team_container{float:left;background:#ccc;width:200px;height:220px;margin:10px 25px 10px 20px;border-radius:3px}.team_container a{width:200px;height:220px;display:block}img.teams_list_logo{position:absolute;width:180px;height:180px;margin:10px 0 0 10px}span.teams_list_name{position:absolute;width:200px;height:30px;margin:190px 0 0 0}.teams_panel_container{background:#f3f3f3;width:100%;height:90px;padding:5px 0;border-radius:5px}.teams_panel_name{float:left;width:66%;height:40px;margin:0 0 0 2%}.teams_panel_admin{float:left;width:30%;height:40px;margin:0 2% 0 0}.teams_panel_join_txt{float:left;width:8%;height:40px;margin:0 2% 0 0}.teams_panel_join{float:left;width:90%;height:40px}.teams_panel_join input{width:95%;height:30px;margin:5px 5% 0 0;padding:0}.teams_details_head{background:#f3f3f3;width:100%;height:60px;padding:5px 2%;border-radius:5px}.teams_details_head_title{width:100%;height:30px}.teams_details_head_info{width:100%;height:20px}.teams_details_container{width:100%;height:auto}.teams_details_left{float:left;background:#f3f3f3;width:28%;height:auto;margin:0 2% 0 0;padding:5px 0;border-radius:5px}.teams_details_logo{width:180px;height:180px;margin:0 auto}.teams_details_logo img{width:180px;height:180px}.teams_details_right{float:left;background:#f3f3f3;width:70%;height:auto;padding:5px 0;border-radius:5px}.teams_details_member{width:90%;height:30px;margin:0 5%}.teams_details_member_info{float:left;width:60%;height:30px}.teams_details_member_admin{float:left;width:40%;height:30px}.profile_container{width:100%;height:auto}.profile_title{width:100%;height:40px;margin:0 0 10px 0}.profile_container ul{float:left;width:33%;height:auto;margin:0;padding:0}.profile_container ul li{width:99%;margin:0 1% 10px 0;padding:0 0 0 2%;list-style:none}li.profile_list_title{background:#265da5;height:30px;border:#999 1px solid;border-radius:4px}li.profile_list_menu{background:#f3f3f3;height:30px;border-radius:4px}.profile_container_left{float:left;width:49%;height:auto;margin:0 1% 0 0}.profile_container_right{float:left;width:49%;height:auto;margin:0 0 0 1%}.profile_container_title{background:#265da5;width:100%;height:40px;margin:0 0 10px 0;padding:0 3%;border:#999 1px solid;border-radius:4px}.profile_info_container{background:#f3f3f3;width:100%;height:40px;margin:0 0 10px 0;border-radius:3px}.profile_info_container_game{float:left;width:50%;height:40px;margin:0 0 0 2%}.profile_info_container_value{float:left;width:47%;height:40px;margin:0 0 0 1%}.news_container_small{background:#f3f3f3;width:100%;height:auto;margin:10px 0;padding:10px 0;border-radius:4px}.news_title_small{width:94%;height:auto;min-height:40px;margin:0 3%}.news_content_small{width:94%;height:180px;margin:0 3% 10px 3%;overflow:hidden}.news_content_small p{float:left}@media (min-device-width:481px){.news_info_small{width:94%;height:30px;margin:0 3%}.news_info_poster_small{float:left;width:50%;height:30px}.news_info_social_small{float:left;width:30%;height:30px}.news_info_more_small{float:left;width:20%;height:30px}}@media (max-device-width:480px){.news_info_small{width:94%;height:auto;min-height:90px;margin:0 3%}.news_info_poster_small{width:100%;height:auto;min-height:30px}.news_info_social_small{width:100%;height:auto;min-height:30px}.news_info_more_small{width:100%;height:30px}}.news_info_more_small a{background:#265da5;width:100%;height:28px;margin:0;padding:0;border:#999 1px solid;border-radius:4px;display:block}.ticket_list{background:#f3f3f3;width:100%;height:auto;padding:2%;border-radius:5px}.ticket_list ul{width:100%;height:auto;margin:0;padding:0}.ticket_list ul li{float:left;background:#265da5;width:32%;height:40px;margin:0 1% 0 0;padding:0;border:#999 1px solid;border-radius:4px;list-style:none;cursor:pointer}.ticket_list_left{float:left;width:70%;height:auto}.ticket_list_title{width:100%;height:20px}.ticket_list_info{width:100%;height:16px}.ticket_list_right{float:left;width:30%;height:auto}.ticket_list_text{float:left;width:100%;height:auto;margin:10px 0 0 0}.ticket_space{width:100%;height:10px}.ticket_list_archive{background:#f3f3f3;width:98%;height:16px;margin:0 0 5px 0;padding:1%;border-radius:5px}.ticket_list_left_archive{float:left;width:70%;height:16px;overflow:hidden}.ticket_list_right_archive{float:left;width:30%;height:16px}select.ticket_form_invisble{display:none}select.ticket_form_visble{margin:0 0 20px 0}ul.cup_admin_menu{width:90%;height:auto;margin:0 10% 0 0;padding:0}li.cup_admin_menu_list{width:100%;height:auto;margin:0 0 5px 0;padding:0;list-style:none}li.cup_admin_menu_list span{width:100%;height:30px;margin:0;padding:0}li.cup_admin_menu_list span a{background:#265da5;width:100%;height:30px;margin:0 0 5px 0;padding:0 0 0 5%;border-radius:4px;display:block}ul.cup_admin_submenu{width:100%;height:auto;margin:0;padding:0}li.cup_admin_submenu_list{background:#eee;width:100%;height:30px;margin:0 0 5px 0;padding:0;border-radius:4px;list-style:none}li.cup_admin_submenu_list a{width:95%;height:30px;padding:0 0 0 5%;display:block}#footer_navigation>.list-group{margin:0}#footer_navigation>.list-group>.list-group-item{float:left;background:0 0;padding:0;border:none}#footer_navigation>.list-group>.list-group-item>a>img{max-height:106px}textarea{width:100%;max-width:100%;height:auto;min-height:200px}body,html{background:#000;height:100%}.clear{clear:both}.td1{background:#fff}.td2{background:#e9e9e9}.red_border{border:red 1px solid}.orange_border{border:orange 1px solid}.green_border{border:#0f0 1px solid}.black_border{border:#000 1px solid}.grey_border{border:#ccc 1px solid}.linie_1{background:#2c2e30;width:100%;height:3px}.linie_2{background:#556b2f;width:100%;height:3px}.linie_3{background:#556b2f;width:100%;height:1px}.teamStyle{margin:20px 0 0 0;padding:20px 0 0 0;display:block}#content_top_login>a.flag{margin:0 5px 0 0}#content_top_login>a.flag:last-child{margin:0}#content_top_login>a.flag>img{opacity:.3}#content_top_login>a.flag.active>img{opacity:1}.cup-match-score{max-width:120px}@media (min-device-width:481px){.globalSocials{position:fixed;left:0;top:360px}#page{width:100%;height:auto}#header{width:1000px;height:280px;margin:0 auto}#wrapper{background:#969696;width:100%;height:auto;padding:0 0 10px 0}#content_wrapper{width:1000px;height:auto;min-height:500px;margin:0 auto;padding:0 0 10px 0}#content_top{width:1000px;height:40px}#content_top_where{float:left;width:50%;height:40px;overflow:hidden}#content_top_login{float:left;width:50%;height:40px}#content{background:#fff;width:1000px;height:auto;min-height:276px;padding:10px;border-radius:6px}#footer_navigation_body{background:#bcee68;width:100%;height:120px}#footer_navigation{width:1000px;height:100px;margin:0 auto;padding:10px 0}#footer_navigation>a{float:left;width:200px;height:100px;margin:0 25px;padding:0;list-style:none}#footer_navigation>a>img{max-width:200px;max-height:100px}#copyright{background:#2e8b57;width:100%;height:auto;min-height:40px;margin:0 auto}}@media (max-device-width:1100px){.globalSocials{display:none}}@media (max-device-width:480px){.globalSocials{display:none}#page{width:100%;height:auto}#header{width:100%;height:100px;margin:0 auto}#wrapper{background:#969696;width:100%;height:auto;padding:0 0 10px 0}#content_wrapper{width:100%;height:auto;min-height:100px;margin:0 auto;padding:0 0 10px 0}#content_top{width:100%;height:auto;min-height:40px}#content_top_where{width:80%;height:auto;min-height:40px;margin:0 10%}#content_top_login{width:80%;height:auto;min-height:40px;margin:0 10%}#content{background:#fff;width:100%;height:auto;min-height:276px;padding:10px;border-radius:6px}#footer_navigation{background:#1e90ff;width:100%;height:auto;min-height:120px}#footer_navigation ul{width:100%;height:auto;margin:0;padding:10px 0}#footer_navigation ul li{width:100%;height:100px;margin:0;padding:0;list-style:none}#copyright{background:#87cefa;width:100%;height:auto;min-height:40px;padding:0 5%}}.hof_image_container{display:table-cell;vertical-align:middle;text-align:center;margin:10px 0}.hof_image_container>a>img{max-height:140px;max-width:140px}.globalSocialsContainer{background:rgba(255,255,255,.8);width:40px;height:auto;padding:10px 10px 10px 5px}.globalSocialsContainer>a{margin:0 0 5px 0}.globalSocialsContainer>a:last-of-type{margin:0}.status-ok{background:rgba(0,255,0,.2);border:1px #0f0 solid}.status-error{background:rgba(255,0,0,.2);border:1px red solid}.status-disable{background:rgba(19,19,19,.2);border:1px rgba(19,19,19,.5) solid}a,a:hover,a:visited,body,html,small{font-family:Verdana,Arial,Helvetica,sans-serif;font-weight:400;color:#000;font-size-adjust:none}body,html,small{font-size:12px}#notifyContainer>li>a,.ten,.ten a,.ten a:hover{font-size:10px}.eleven,.eleven a,.eleven a:hover{font-size:11px}.twelve,.twelve a,.twelve a:hover{font-size:12px}.thirteen,.thirteen a,.thirteen a:hover{font-size:13px}.fourteen,.fourteen a,.fourteen a:hover{font-size:14px}.fifteen,.fifteen a,.fifteen a:hover{font-size:15px}.sixteen,.sixteen a,.sixteen a:hover{font-size:16px}.twentty a:hover,.twenty,.twenty a{font-size:20px}.twentyfive,.twentyfive a,.twentyfive a:hover{font-size:25px}.twentysix,.twentysix a,.twentysix a:hover{font-size:26px}.href_italic,.href_italic a,.italic{font-style:italic}.bold,.bold a,.bold a:hover,.bold:hover,.href_bold,.href_bold a,.href_bold a:hover,.href_bold:hover{font-weight:700}.href_normal,.href_normal a,.normal{font-weight:400}.btn-primary,.btn-primary:hover,.href_white,.href_white a,.result_container>.upcoming,.white,.white a,.white a:hover,a.white{color:#fff}.grey,.grey a,.grey a:hover{color:#ccc}.red,.red a,.red a:hover{color:red}.black,.black a,.black a:hover,.upcoming{color:#000}.green,.green a,.green a:hover{color:#00ff06}.darkblue,.darkblue a,.darkblue a:hover{color:#2161ac}.lightblue,.lightblue a,.lightblue a:hover{color:#78d9ed}.blue,.blue a,.blue a:active,.blue a:link,.blue a:visited,.blue:hover,.blue:visited,.blue_hover a:hover{color:#64abef}.title_blue,.title_blue a,.title_blue a:hover{color:#1e91ac}.win{color:#51e199}.lose{color:#e15556}.draw{color:#dc771c}.lh_seventy,.lh_seventy a{line-height:70px}.lh_sixty,.lh_sixty a{line-height:60px}.lh_fiftyfive,.lh_fiftyfive a{line-height:55px}.lh_fifty,.lh_fifty a{line-height:50px}.lh_fourtyeight,.lh_fourtyeight a{line-height:48px}.lh_fourtyseven,.lh_fourtyseven a{line-height:47px}.lh_fourtytwo,.lh_fourtytwo a{line-height:42px}.lh_fourtyone,.lh_fourtyone a{line-height:41px}.lh_fourty,.lh_fourty a{line-height:40px}.lh_thirtynine,.lh_thirtynine a{line-height:39px}.lh_thirtyfive,.lh_thirtyfive a{line-height:35px}.lh_thirtyfour,.lh_thirtyfour a{line-height:34px}.lh_thirtythree,.lh_thirtythree a{line-height:33px}.lh_thirtytwo,.lh_thirtytwo a{line-height:32px}.lh_thirty,.lh_thirty a{line-height:30px}.lh_twentyeight,.lh_twentyeight a{line-height:28px}.lh_twentysix,.lh_twentysix a{line-height:26px}.lh_twentyfive,.lh_twentyfive a{line-height:25px}.lh_twentyfour,.lh_twentyfour a{line-height:24px}.lh_twentythree,.lh_twentythree a{line-height:23px}.lh_twentytwo,.lh_twentytwo a{line-height:22px}.lh_twenty,.lh_twenty a{line-height:20px}.lh_sixteen,.lh_sixteen a{line-height:16px}.lh_twelve,.lh_twelve a{line-height:12px}.lh_ten,.lh_ten a{line-height:10px}.center,.center a,.center a:hover,.href_center,.href_center:hover{text-align:center}.right,.right a{text-align:right}.left,.left a{text-align:left}.none-decoration,.none-decoration a,.none-decoration a:hover,a,a:hover{text-decoration:none}.href_underline a:hover,.td_underline,.td_underline a{text-decoration:underline}.href_indent,.href_indent a,.indent{text-indent:-9999px}.btn-primary,.darkshadow,.darkshadow a,.href_darkshadow,.href_darkshadow a{text-shadow:#000 1px 1px 1px}.darkshadow2,.href_darkshadow2,.href_darkshadow2 a{text-shadow:#000 1px 2px 3px}.rrep{text-shadow:#000 2px 2px 2px}.whiteshadow,.whiteshadow a{text-shadow:#fff 1px 1px 1px}.greyshadow,.greyshadow a{text-shadow:rgba(0,0,0,.7) 1px 1px 0}.href_uppercase,.href_uppercase a,.uppercase{text-transform:uppercase}.middle,.middle a{vertical-align:middle} \ No newline at end of file + */select.bs-select-hidden,select.selectpicker{display:none!important}.bootstrap-select>.dropdown-toggle{width:100%;padding-right:25px;z-index:1}.bootstrap-select>.dropdown-toggle.bs-placeholder,.bootstrap-select>.dropdown-toggle.bs-placeholder:active,.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder:hover{color:#999}.bootstrap-select>select{position:absolute!important;bottom:0;left:50%;display:block!important;width:.5px!important;height:100%!important;padding:0!important;opacity:0!important;border:none}.bootstrap-select>select.mobile-device{top:0;left:0;display:block!important;width:100%!important;z-index:2}.error .bootstrap-select .dropdown-toggle,.has-error .bootstrap-select .dropdown-toggle{border-color:#b94a48}.bootstrap-select.fit-width{width:auto!important}.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){width:220px}.bootstrap-select .dropdown-toggle:focus{outline:thin dotted #333!important;outline:5px auto -webkit-focus-ring-color!important;outline-offset:-2px}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:none}.bootstrap-select.form-control:not([class*=col-]){width:100%}.bootstrap-select.form-control.input-group-btn{z-index:auto}.bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child)>.btn{border-radius:0}.bootstrap-select.btn-group:not(.input-group-btn),.bootstrap-select.btn-group[class*=col-]{float:none;display:inline-block;margin-left:0}.bootstrap-select.btn-group.dropdown-menu-right,.bootstrap-select.btn-group[class*=col-].dropdown-menu-right,.row .bootstrap-select.btn-group[class*=col-].dropdown-menu-right{float:right}.form-group .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group{margin-bottom:0}.form-group-lg .bootstrap-select.btn-group.form-control,.form-group-sm .bootstrap-select.btn-group.form-control{padding:0}.form-group-lg .bootstrap-select.btn-group.form-control .dropdown-toggle,.form-group-sm .bootstrap-select.btn-group.form-control .dropdown-toggle{height:100%;font-size:inherit;line-height:inherit;border-radius:inherit}.form-inline .bootstrap-select.btn-group .form-control{width:100%}.bootstrap-select.btn-group.disabled,.bootstrap-select.btn-group>.disabled{cursor:not-allowed}.bootstrap-select.btn-group.disabled:focus,.bootstrap-select.btn-group>.disabled:focus{outline:0!important}.bootstrap-select.btn-group.bs-container{position:absolute;height:0!important;padding:0!important}.bootstrap-select.btn-group.bs-container .dropdown-menu{z-index:1060}.bootstrap-select.btn-group .dropdown-toggle .filter-option{display:inline-block;overflow:hidden;width:100%;text-align:left}.bootstrap-select.btn-group .dropdown-toggle .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.bootstrap-select.btn-group[class*=col-] .dropdown-toggle{width:100%}.bootstrap-select.btn-group .dropdown-menu{min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .dropdown-menu.inner{position:static;float:none;border:0;padding:0;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.bootstrap-select.btn-group .dropdown-menu li{position:relative}.bootstrap-select.btn-group .dropdown-menu li.active small{color:#fff}.bootstrap-select.btn-group .dropdown-menu li.disabled a{cursor:not-allowed}.bootstrap-select.btn-group .dropdown-menu li a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bootstrap-select.btn-group .dropdown-menu li a.opt{position:relative;padding-left:2.25em}.bootstrap-select.btn-group .dropdown-menu li a span.check-mark{display:none}.bootstrap-select.btn-group .dropdown-menu li a span.text{display:inline-block}.bootstrap-select.btn-group .dropdown-menu li small{padding-left:.5em}.bootstrap-select.btn-group .dropdown-menu .notify{position:absolute;bottom:5px;width:96%;margin:0 2%;min-height:26px;padding:3px 5px;background:#f5f5f5;border:1px solid #e3e3e3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05);pointer-events:none;opacity:.9;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .no-results{padding:3px;background:#f5f5f5;margin:0 5px;white-space:nowrap}.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option{position:static}.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret{position:static;top:auto;margin-top:-1px}.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark{position:absolute;display:inline-block;right:15px;margin-top:5px}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle{z-index:1061}.bootstrap-select.show-menu-arrow .dropdown-toggle:before{content:'';border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(204,204,204,.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle:after{content:'';border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before{bottom:auto;top:-3px;border-top:7px solid rgba(204,204,204,.2);border-bottom:0}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after{bottom:auto;top:-3px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before{display:block}.bs-actionsbox,.bs-donebutton,.bs-searchbox{padding:4px 8px}.bs-actionsbox{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-actionsbox .btn-group button{width:50%}.bs-donebutton{float:left;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-donebutton .btn-group button{width:100%}.bs-searchbox+.bs-actionsbox{padding:0 8px 4px}.bs-searchbox .form-control{margin-bottom:0;width:100%;float:none}.bootstrap-select>.dropdown-menu.open{background:#fff;border:1px #ccc solid;border-radius:5px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.flip-clock-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}.flip-clock-wrapper a{cursor:pointer;text-decoration:none;color:#ccc}.flip-clock-wrapper a:hover{color:#fff}.flip-clock-wrapper ul{list-style:none}.flip-clock-wrapper.clearfix:after,.flip-clock-wrapper.clearfix:before{content:" ";display:table}.flip-clock-wrapper.clearfix:after{clear:both}.flip-clock-wrapper{font:normal 11px "Helvetica Neue",Helvetica,sans-serif;-webkit-user-select:none}.flip-clock-meridium{background:0 0!important;box-shadow:0 0 0!important;font-size:36px!important}.flip-clock-meridium a{color:#313333}.flip-clock-wrapper{text-align:center;position:relative;width:auto;margin:1em}.flip-clock-wrapper:after,.flip-clock-wrapper:before{content:" ";display:table}.flip-clock-wrapper:after{clear:both}.flip-clock-wrapper ul{position:relative;float:left;margin:5px;width:45px;height:70px;font-size:50px;font-weight:700;line-height:65px;border-radius:6px;background:#000}.flip-clock-wrapper ul li{z-index:1;position:absolute;left:0;top:0;width:100%;height:100%;line-height:65px;text-decoration:none!important}.flip-clock-wrapper ul li:first-child{z-index:2}.flip-clock-wrapper ul li a{display:block;height:100%;-webkit-perspective:200px;-moz-perspective:200px;perspective:200px;margin:0!important;overflow:visible!important;cursor:default!important}.flip-clock-wrapper ul li a div{z-index:1;position:absolute;left:0;width:100%;height:50%;font-size:50px;overflow:hidden;outline:1px solid transparent}.flip-clock-wrapper ul li a div .shadow{position:absolute;width:100%;height:100%;z-index:2}.flip-clock-wrapper ul li a div.up{-webkit-transform-origin:50% 100%;-moz-transform-origin:50% 100%;-ms-transform-origin:50% 100%;-o-transform-origin:50% 100%;transform-origin:50% 100%;top:0}.flip-clock-wrapper ul li a div.up:after{content:"";position:absolute;top:44px;left:0;z-index:5;width:100%;height:3px;background-color:#000;background-color:rgba(0,0,0,.4)}.flip-clock-wrapper ul li a div.down{-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;-o-transform-origin:50% 0;transform-origin:50% 0;bottom:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.flip-clock-wrapper ul li a div div.inn{position:absolute;left:0;z-index:1;width:100%;height:200%;color:#ccc;text-shadow:0 1px 2px #000;text-align:center;background-color:#333;border-radius:6px;font-size:50px}.flip-clock-wrapper ul li a div.up div.inn{top:0}.flip-clock-wrapper ul li a div.down div.inn{bottom:0}.flip-clock-wrapper ul.play li.flip-clock-before{z-index:3}.flip-clock-wrapper .flip{box-shadow:0 2px 5px rgba(0,0,0,.7)}.flip-clock-wrapper ul.play li.flip-clock-active{-webkit-animation:asd .5s .5s linear both;-moz-animation:asd .5s .5s linear both;animation:asd .5s .5s linear both;z-index:5}.flip-clock-divider{float:left;display:inline-block;position:relative;width:20px;height:100px}.flip-clock-divider:first-child{width:0}.flip-clock-dot{display:block;background:#323434;width:10px;height:10px;position:absolute;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.5);left:5px}.flip-clock-divider .flip-clock-label{position:absolute;top:-1.2em;right:-70px;color:#000;text-shadow:none}.flip-clock-divider.minutes .flip-clock-label{right:-75px}.flip-clock-divider.seconds .flip-clock-label{right:-76px}.flip-clock-dot.top{top:20px}.flip-clock-dot.bottom{bottom:40px}@-webkit-keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}@-moz-keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}@-o-keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}@keyframes asd{0%{z-index:2}20%{z-index:4}100%{z-index:4}}.flip-clock-wrapper ul.play li.flip-clock-active .down{z-index:2;-webkit-animation:turn .5s .5s linear both;-moz-animation:turn .5s .5s linear both;animation:turn .5s .5s linear both}@-webkit-keyframes turn{0%{-webkit-transform:rotateX(90deg)}100%{-webkit-transform:rotateX(0)}}@-moz-keyframes turn{0%{-moz-transform:rotateX(90deg)}100%{-moz-transform:rotateX(0)}}@-o-keyframes turn{0%{-o-transform:rotateX(90deg)}100%{-o-transform:rotateX(0)}}@keyframes turn{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}.flip-clock-wrapper ul.play li.flip-clock-before .up{z-index:2;-webkit-animation:turn2 .5s linear both;-moz-animation:turn2 .5s linear both;animation:turn2 .5s linear both}@-webkit-keyframes turn2{0%{-webkit-transform:rotateX(0)}100%{-webkit-transform:rotateX(-90deg)}}@-moz-keyframes turn2{0%{-moz-transform:rotateX(0)}100%{-moz-transform:rotateX(-90deg)}}@-o-keyframes turn2{0%{-o-transform:rotateX(0)}100%{-o-transform:rotateX(-90deg)}}@keyframes turn2{0%{transform:rotateX(0)}100%{transform:rotateX(-90deg)}}.flip-clock-wrapper ul li.flip-clock-active{z-index:3}.flip-clock-wrapper ul.play li.flip-clock-before .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}.flip-clock-wrapper ul.play li.flip-clock-active .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .3s linear both}.flip-clock-wrapper ul.play li.flip-clock-before .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}.flip-clock-wrapper ul.play li.flip-clock-active .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .2s linear both}@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@-moz-keyframes show{0%{opacity:0}100%{opacity:1}}@-o-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hide{0%{opacity:1}100%{opacity:0}}@-moz-keyframes hide{0%{opacity:1}100%{opacity:0}}@-o-keyframes hide{0%{opacity:1}100%{opacity:0}}@keyframes hide{0%{opacity:1}100%{opacity:0}}.ui-pnotify{top:36px;right:36px;position:absolute;height:auto;z-index:2}body>.ui-pnotify{position:fixed;z-index:100040}.ui-pnotify-modal-overlay{background-color:rgba(0,0,0,.4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:1}body>.ui-pnotify-modal-overlay{position:fixed;z-index:100039}.ui-pnotify.ui-pnotify-in{display:block!important}.ui-pnotify.ui-pnotify-move{transition:left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .6s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .6s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .2s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .2s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0 6px 28px 0 rgba(0,0,0,.1);-moz-box-shadow:0 6px 28px 0 rgba(0,0,0,.1);box-shadow:0 6px 28px 0 rgba(0,0,0,.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:" ";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;margin-bottom:.4em;margin-top:0}.ui-pnotify-text{display:block}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left;margin-right:.2em}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-topleft{left:25px;right:auto}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-bottomright{bottom:25px;top:auto}.ui-pnotify.stack-modal{left:50%;right:auto;margin-left:-150px}.brighttheme{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.brighttheme.ui-pnotify-container{padding:18px}.brighttheme .ui-pnotify-title{margin-bottom:12px}.brighttheme-notice{background-color:#ffffa2;border:0 solid #ff0;color:#4f4f00}.brighttheme-info{background-color:#8fcedd;border:0 solid #0286a5;color:#012831}.brighttheme-success{background-color:#aff29a;border:0 solid #35db00;color:#104300}.brighttheme-error{background-color:#ffaba2;background-image:repeating-linear-gradient(135deg,transparent,transparent 35px,rgba(255,255,255,.3) 35px,rgba(255,255,255,.3) 70px);border:0 solid #ff1800;color:#4f0800}.brighttheme-icon-closer,.brighttheme-icon-info,.brighttheme-icon-notice,.brighttheme-icon-sticker,.brighttheme-icon-success{position:relative;width:16px;height:16px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;border-radius:50%}.brighttheme-icon-closer:after,.brighttheme-icon-info:after,.brighttheme-icon-notice:after,.brighttheme-icon-sticker:after,.brighttheme-icon-success:after{position:absolute;top:0;left:4px}.brighttheme-icon-notice{background-color:#2e2e00;color:#ffffa2;margin-top:2px}.brighttheme-icon-notice:after{content:"!"}.brighttheme-icon-info{background-color:#012831;color:#8fcedd;margin-top:2px}.brighttheme-icon-info:after{content:"i"}.brighttheme-icon-success{background-color:#104300;color:#aff29a;margin-top:2px}.brighttheme-icon-success:after{content:"\002713"}.brighttheme-icon-error{position:relative;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:16px solid #2e0400;font-size:0;line-height:0;color:#ffaba2;margin-top:1px}.brighttheme-icon-error:after{position:absolute;top:1px;left:-4px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;content:"!"}.brighttheme-icon-closer,.brighttheme-icon-sticker{display:inline-block}.brighttheme-icon-closer:after{top:-4px;content:"\002715"}.brighttheme-icon-sticker:after{top:-5px;content:"\01D1BC";-moz-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.brighttheme-icon-sticker.brighttheme-icon-stuck:after{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.brighttheme .ui-pnotify-action-bar{padding-top:12px}.brighttheme .ui-pnotify-action-bar input,.brighttheme .ui-pnotify-action-bar textarea{display:block;width:100%;margin-bottom:12px!important}.brighttheme .ui-pnotify-action-button{text-transform:uppercase;font-weight:700;padding:4px 8px;border:none;background:0 0}.brighttheme .ui-pnotify-action-button.btn-primary{border:none;border-radius:0}.brighttheme-notice .ui-pnotify-action-button.btn-primary{background-color:#ff0;color:#4f4f00}.brighttheme-info .ui-pnotify-action-button.btn-primary{background-color:#0286a5;color:#012831}.brighttheme-success .ui-pnotify-action-button.btn-primary{background-color:#35db00;color:#104300}.brighttheme-error .ui-pnotify-action-button.btn-primary{background-color:#ff1800;color:#4f0800}.ui-pnotify-closer,.ui-pnotify-sticker{float:right;margin-left:.2em}.ui-pnotify-container{position:relative;left:0}@media (max-width:480px){.ui-pnotify-mobile-able.ui-pnotify{position:fixed;top:0;right:0;left:0;width:auto!important;font-size:1.2em;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;-ms-font-smoothing:antialiased;font-smoothing:antialiased}.ui-pnotify-mobile-able.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-bottom-width:5px}.ui-pnotify-mobile-able .ui-pnotify-container{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,.ui-pnotify-mobile-able.ui-pnotify.stack-topleft{left:0;right:0}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,.ui-pnotify-mobile-able.ui-pnotify.stack-bottomright{left:0;right:0;bottom:0;top:auto}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft .ui-pnotify-shadow,.ui-pnotify-mobile-able.ui-pnotify.stack-bottomright .ui-pnotify-shadow{border-top-width:5px;border-bottom-width:1px}}#cup-team-logotype>img{max-width:180px;max-height:180px}.content_full_container{width:100%;height:auto}.content_full_container_float{float:left;width:100%;height:auto}.content_full_space{width:100%;height:20px}.content_full_space_float{float:left;width:100%;height:20px}.content_full_break{background:#ccc;width:100%;height:1px}.content_full_break_float{float:left;background:#ccc;width:100%;height:1px}@media (min-device-width:481px){#content_home_left{float:left;width:66%;height:auto;min-height:100px}#content_home_right{float:left;width:33%;height:auto;min-height:100px;margin:0 0 0 1%}}@media (max-device-width:480px){#content_home_left{width:98%;height:auto;min-height:100px;margin:0 1%}#content_home_right{width:98%;height:auto;min-height:100px;margin:0 1%}}.content_home_right_title{background:#265da5;width:100%;height:30px;margin:10px 0 0 0;padding:0 0 0 4%;border:#999 1px solid;border-radius:4px}.content_home_right_container{background:#f3f3f3;width:100%;height:auto;min-height:30px;margin:5px 0 0 0;padding:0 2%;border-radius:4px}.content_blue_container{background:#265da5;width:100%;height:auto;margin:0 0 5px 0;padding:0 0 0 2%;border-radius:4px}#cupSliderContainer>.list-group{margin:0;border-radius:0}#cupSliderContainer>.list-group>.list-group-item:first-child{border-radius:0}#cupSliderContainer>.list-group>.list-group-item:last-child{border-radius:0 0 0 3px}#cupSliderMenu{padding:15px 30px 0 0}.form_container{width:100%;height:auto}.form_input_container{width:100%;height:auto;margin:5px 0 0 0}.form_input_info{float:left;width:18%;height:40px;margin:0 2% 0 0}.form_input_input{float:left;width:80%;height:auto;min-height:40px}.form_input_input select{height:40px}.form_input_input textarea{width:400px;min-width:400px;max-width:400px;height:auto;min-height:40px}input.input_checkbox{width:30px;height:30px;margin:5px 0}input.input_submit_button{background:#265da5;width:200px;height:30px;margin:0;padding:0;border:#999 1px solid;border-radius:4px;cursor:pointer}.form_input_space{float:left;width:100%;height:20px}.content_button{float:left;background:#265da5;width:auto;height:38px;margin:0 10px 0 0;border:#999 1px solid;border-radius:4px}.content_button a{width:auto;height:38px;padding:5px 10px;display:block}.cup-main-navigation{margin:0;padding:10px 0;border-radius:0}.cup-main-navigation>div>div>ul>li{font-size:12px}.cup_container{background:#f3f3f3;width:100%;height:auto;margin:0 0 10px 0;padding:1%;border-radius:5px}.cup_container ul{width:95%;height:auto;margin:0 0 0 5%;padding:0}.cup_container ul li{width:100%;height:20px;margin:0;padding:0;list-style-type:square}.cup_container_menu{width:100%;height:40px}.cup_container_menu ul{width:100%;height:40px;margin:0;padding:0}.cup_container_menu ul li{float:left;background:#265da5;width:18%;height:40px;margin:0 1%;padding:0;list-style:none;border-radius:4px;cursor:pointer}.cup_container_menu ul li span{width:100%;height:40px;display:block}.cup_container_left{float:left;width:70%;height:auto}.cup_container_left ul{width:92%;height:auto;margin:0 4%;padding:0}.cup_container_left ul li{width:100%;height:20px;margin:0;padding:0;list-style-type:square}.cup_container_title{width:100%;height:30px;overflow:hidden}.cup_container_info{width:100%;height:20px;overflow:hidden}.cup_container_right{float:left;width:30%;height:auto;min-height:50px}.cup_container_tab{width:100%;height:auto;display:none}.cup_details_rules{width:100%;height:auto}.cup_details_rules h1{width:100%;height:auto;margin:10px 0}.cup_details_rules h2{width:95%;height:auto;margin:10px 0 0 5%}.cup_details_rules h3{width:90%;height:auto;margin:10px 0 0 10%}.cup_details_rules h4{width:85%;height:auto;margin:10px 0 0 15%}.cup_bracket_64{float:left;width:15%;height:auto}.cup_bracket_64_break{float:left;width:2%;height:100%}#cup_bracket_64_line_32-16{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_32-16.png) repeat-y;min-height:2850px}#cup_bracket_64_line_16-8{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_16-8.png) repeat-y;margin:45px 0 0 0;min-height:2805px}#cup_bracket_64_line_8-4{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_8-4.png) repeat-y;margin:135px 0 0 0;min-height:2715px}#cup_bracket_64_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_4-2.png) repeat-y;margin:315px 0 0 0;min-height:2535px}#cup_bracket_64_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_64_2-1.png) no-repeat;margin:675px 0 0 0;min-height:2175px}.cup_bracket_64_break_32{width:100%;height:30px}.cup_bracket_64_break_16_start{width:100%;height:45px}.cup_bracket_64_break_16{width:100%;height:120px}.cup_bracket_64_break_8_start{width:100%;height:135px}.cup_bracket_64_break_8{width:100%;height:300px}.cup_bracket_64_break_4_start{width:100%;height:315px}.cup_bracket_64_break_4{width:100%;height:660px}.cup_bracket_64_break_2_start{width:100%;height:675px}.cup_bracket_64_break_2{width:100%;height:1380px}.cup_bracket_64_break_1_start{width:100%;height:1405px}.cup_bracket_match{background:rgba(0,0,0,.01);width:100%;height:60px;border-radius:4px}.cup_bracket_64_match{width:144px;height:60px}.cup_bracket_64_match a{width:144px;height:60px;display:block}.cup_bracket_32{float:left;width:15%;height:auto}.cup_bracket_32_break{float:left;width:6%}#cup_bracket_32_line_16-8{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_16-8.png) repeat-y;margin:0;height:100%;min-height:1410px}#cup_bracket_32_line_8-4{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_8-4.png) repeat-y;margin:45px 0 0 0;height:100%;min-height:1320px}#cup_bracket_32_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_4-2.png) repeat-y;margin:135px 0 0 0;height:100%;min-height:1140px}#cup_bracket_32_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_32_2-1.png) no-repeat;margin:315px 0 0 0;height:780px}.cup_bracket_32_break_16{width:100%;height:30px}.cup_bracket_32_break_8_start{width:100%;height:45px}.cup_bracket_32_break_8{width:100%;height:120px}.cup_bracket_32_break_4_start{width:100%;height:135px}.cup_bracket_32_break_4{width:100%;height:300px}.cup_bracket_32_break_2_start{width:100%;height:315px}.cup_bracket_32_break_2{width:100%;height:660px}.cup_bracket_32_break_1_start{width:100%;height:675px}.cup_bracket_32_match{width:144px;height:60px}.cup_bracket_32_match a{width:144px;height:60px;display:block}.cup_bracket_16{float:left;width:22%;height:auto}.cup_bracket_16_break{float:left;width:38px;height:auto}#cup_bracket_16_line_8-4{background:url(https://images.myrisk-ev.de/cup/brackets/break_16_8-4.png) repeat-y;min-height:690px}#cup_bracket_16_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_16_4-2.png) repeat-y;margin:45px 0 0 0;min-height:600px}#cup_bracket_16_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_16_2-1.png) no-repeat;margin:135px 0 0 0;min-height:420px}.cup_bracket_16_break_8{width:100%;height:30px}.cup_bracket_16_break_4{width:100%;height:120px}.cup_bracket_16_break_2{width:100%;height:300px}.cup_bracket_16_break_4_start{width:100%;height:45px}.cup_bracket_16_break_2_start{width:100%;height:135px}.cup_bracket_16_break_1_start{width:100%;height:315px}.cup_bracket_16_match{width:212px;height:60px}.cup_bracket_16_match a{width:212px;height:60px;display:block}.cup_bracket_8{float:left;width:22%;height:auto}.cup_bracket_8_break{float:left;width:38px;height:auto}#cup_bracket_8_line_4-2{background:url(https://images.myrisk-ev.de/cup/brackets/break_8_4-2.png) repeat-y;min-height:330px}#cup_bracket_8_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_8_2-1.png) no-repeat;margin:45px 0 0 0;min-height:285px}.cup_bracket_8_break_4{width:100%;height:30px}.cup_bracket_8_break_2{width:100%;height:120px}.cup_bracket_8_break_2_start{width:100%;height:45px}.cup_bracket_8_break_1_start{width:100%;height:135px}.cup_bracket_8_match{width:212px;height:60px}.cup_bracket_8_match a{width:212px;height:60px;display:block}.cup_bracket_4{float:left;width:22%;height:auto}.cup_bracket_4_break{float:left;width:38px;height:30px}#cup_bracket_4_line_2-1{background:url(https://images.myrisk-ev.de/cup/brackets/break_8_2-1.png) no-repeat;margin:0;min-height:240px}.cup_bracket_4_break_2{width:100%;height:120px}.cup_bracket_4_break_sup3{width:100%;height:30px}.cup_bracket_4_break_1_start{width:100%;height:90px}.cup_bracket_4_match{width:212px;height:60px}.cup_bracket_4_match a{width:212px;height:60px;display:block}.cup_bracket_2{float:left;width:22%;height:auto;margin:20px 0 20px 20px}.cup_bracket_2_match{width:212px;height:60px}.cup_bracket_2_match>a{width:212px;height:60px;display:block}.cup_bracket_2_match>a>.cup_bracket_match_team_id,.cup_bracket_4_match>a>.cup_bracket_match_team_id{margin-left:158px}.cup_bracket_2_match>a>.cup_bracket_match_score_home,.cup_bracket_2_match>a>.cup_bracket_match_score_oppo,.cup_bracket_4_match>a>.cup_bracket_match_score_home,.cup_bracket_4_match>a>.cup_bracket_match_score_oppo{margin-left:178px}.cup_bracket_match:hover{background:rgba(38,93,165,.1)}span.cup_bracket_match_team_home{position:absolute;width:100px;height:20px;margin:0 0 0 10px;overflow:hidden;display:block}span.cup_bracket_match_score_home{position:absolute;width:34px;height:20px;margin:0 0 0 110px;display:block}span.cup_bracket_match_team_vs{position:absolute;width:100px;height:20px;margin:20px 0 0 10px;display:block}span.cup_bracket_match_team_id{position:absolute;width:54px;height:20px;margin:20px 0 0 90px;display:block}span.cup_bracket_match_team_oppo{position:absolute;width:100px;height:20px;margin:40px 0 0 10px;overflow:hidden;display:block}span.cup_bracket_match_score_oppo{position:absolute;width:34px;height:20px;margin:40px 0 0 110px;display:block}.cup_match_container{float:left;background:#f3f3f3;width:100%;height:auto;margin:0 0 10px 0;padding:1%;border-radius:5px}.cup_match_left{float:left;width:60%;height:auto;padding:1%;border-radius:5px}.cup_match_container_left{float:left;width:40%;height:180px}.cup_match_container_center{float:left;width:20%;height:40px;margin:70px 0}.cup_match_container_right{float:left;width:40%;height:180px}.cup_match_right{float:left;width:39%;height:auto;margin:0 0 0 1%;border-radius:5px}.teams_spacer{width:100%;height:20px}.team_container{float:left;background:#ccc;width:200px;height:220px;margin:10px 25px 10px 20px;border-radius:3px}.team_container a{width:200px;height:220px;display:block}img.teams_list_logo{position:absolute;width:180px;height:180px;margin:10px 0 0 10px}span.teams_list_name{position:absolute;width:200px;height:30px;margin:190px 0 0 0}.teams_panel_container{background:#f3f3f3;width:100%;height:90px;padding:5px 0;border-radius:5px}.teams_panel_name{float:left;width:66%;height:40px;margin:0 0 0 2%}.teams_panel_admin{float:left;width:30%;height:40px;margin:0 2% 0 0}.teams_panel_join_txt{float:left;width:8%;height:40px;margin:0 2% 0 0}.teams_panel_join{float:left;width:90%;height:40px}.teams_panel_join input{width:95%;height:30px;margin:5px 5% 0 0;padding:0}.teams_details_head{background:#f3f3f3;width:100%;height:60px;padding:5px 2%;border-radius:5px}.teams_details_head_title{width:100%;height:30px}.teams_details_head_info{width:100%;height:20px}.teams_details_container{width:100%;height:auto}.teams_details_left{float:left;background:#f3f3f3;width:28%;height:auto;margin:0 2% 0 0;padding:5px 0;border-radius:5px}.teams_details_logo{width:180px;height:180px;margin:0 auto}.teams_details_logo img{width:180px;height:180px}.teams_details_right{float:left;background:#f3f3f3;width:70%;height:auto;padding:5px 0;border-radius:5px}.teams_details_member{width:90%;height:30px;margin:0 5%}.teams_details_member_info{float:left;width:60%;height:30px}.teams_details_member_admin{float:left;width:40%;height:30px}.profile_container{width:100%;height:auto}.profile_title{width:100%;height:40px;margin:0 0 10px 0}.profile_container ul{float:left;width:33%;height:auto;margin:0;padding:0}.profile_container ul li{width:99%;margin:0 1% 10px 0;padding:0 0 0 2%;list-style:none}li.profile_list_title{background:#265da5;height:30px;border:#999 1px solid;border-radius:4px}li.profile_list_menu{background:#f3f3f3;height:30px;border-radius:4px}.profile_container_left{float:left;width:49%;height:auto;margin:0 1% 0 0}.profile_container_right{float:left;width:49%;height:auto;margin:0 0 0 1%}.profile_container_title{background:#265da5;width:100%;height:40px;margin:0 0 10px 0;padding:0 3%;border:#999 1px solid;border-radius:4px}.profile_info_container{background:#f3f3f3;width:100%;height:40px;margin:0 0 10px 0;border-radius:3px}.profile_info_container_game{float:left;width:50%;height:40px;margin:0 0 0 2%}.profile_info_container_value{float:left;width:47%;height:40px;margin:0 0 0 1%}.news_container_small{background:#f3f3f3;width:100%;height:auto;margin:10px 0;padding:10px 0;border-radius:4px}.news_title_small{width:94%;height:auto;min-height:40px;margin:0 3%}.news_content_small{width:94%;height:180px;margin:0 3% 10px 3%;overflow:hidden}.news_content_small p{float:left}@media (min-device-width:481px){.news_info_small{width:94%;height:30px;margin:0 3%}.news_info_poster_small{float:left;width:50%;height:30px}.news_info_social_small{float:left;width:30%;height:30px}.news_info_more_small{float:left;width:20%;height:30px}}@media (max-device-width:480px){.news_info_small{width:94%;height:auto;min-height:90px;margin:0 3%}.news_info_poster_small{width:100%;height:auto;min-height:30px}.news_info_social_small{width:100%;height:auto;min-height:30px}.news_info_more_small{width:100%;height:30px}}.news_info_more_small a{background:#265da5;width:100%;height:28px;margin:0;padding:0;border:#999 1px solid;border-radius:4px;display:block}.ticket_list{background:#f3f3f3;width:100%;height:auto;padding:2%;border-radius:5px}.ticket_list ul{width:100%;height:auto;margin:0;padding:0}.ticket_list ul li{float:left;background:#265da5;width:32%;height:40px;margin:0 1% 0 0;padding:0;border:#999 1px solid;border-radius:4px;list-style:none;cursor:pointer}.ticket_list_left{float:left;width:70%;height:auto}.ticket_list_title{width:100%;height:20px}.ticket_list_info{width:100%;height:16px}.ticket_list_right{float:left;width:30%;height:auto}.ticket_list_text{float:left;width:100%;height:auto;margin:10px 0 0 0}.ticket_space{width:100%;height:10px}.ticket_list_archive{background:#f3f3f3;width:98%;height:16px;margin:0 0 5px 0;padding:1%;border-radius:5px}.ticket_list_left_archive{float:left;width:70%;height:16px;overflow:hidden}.ticket_list_right_archive{float:left;width:30%;height:16px}select.ticket_form_invisble{display:none}select.ticket_form_visble{margin:0 0 20px 0}ul.cup_admin_menu{width:90%;height:auto;margin:0 10% 0 0;padding:0}li.cup_admin_menu_list{width:100%;height:auto;margin:0 0 5px 0;padding:0;list-style:none}li.cup_admin_menu_list span{width:100%;height:30px;margin:0;padding:0}li.cup_admin_menu_list span a{background:#265da5;width:100%;height:30px;margin:0 0 5px 0;padding:0 0 0 5%;border-radius:4px;display:block}ul.cup_admin_submenu{width:100%;height:auto;margin:0;padding:0}li.cup_admin_submenu_list{background:#eee;width:100%;height:30px;margin:0 0 5px 0;padding:0;border-radius:4px;list-style:none}li.cup_admin_submenu_list a{width:95%;height:30px;padding:0 0 0 5%;display:block}#footer_navigation>.list-group{margin:0}#footer_navigation>.list-group>.list-group-item{float:left;background:0 0;padding:0;border:none}#footer_navigation>.list-group>.list-group-item>a>img{max-height:106px}textarea{width:100%;max-width:100%;height:auto;min-height:200px}body,html{background:#000;height:100%}.clear{clear:both}.td1{background:#fff}.td2{background:#e9e9e9}.red_border{border:red 1px solid}.orange_border{border:orange 1px solid}.green_border{border:#0f0 1px solid}.black_border{border:#000 1px solid}.grey_border{border:#ccc 1px solid}.linie_1{background:#2c2e30;width:100%;height:3px}.linie_2{background:#556b2f;width:100%;height:3px}.linie_3{background:#556b2f;width:100%;height:1px}.teamStyle{margin:20px 0 0 0;padding:20px 0 0 0;display:block}#content_top_login>a.flag{margin:0 5px 0 0}#content_top_login>a.flag:last-child{margin:0}#content_top_login>a.flag>img{opacity:.3}#content_top_login>a.flag.active>img{opacity:1}.cup-match-score{max-width:120px}@media (min-device-width:481px){.globalSocials{position:fixed;left:0;top:360px}#page{width:100%;height:auto}#header{width:1000px;height:280px;margin:0 auto}#wrapper{background:#969696;width:100%;height:auto;padding:0 0 10px 0}#content_wrapper{width:1000px;height:auto;min-height:500px;margin:0 auto;padding:0 0 10px 0}#content_top{width:1000px;height:40px}#content_top_where{float:left;width:50%;height:40px;overflow:hidden}#content_top_login{float:left;width:50%;height:40px}#content{background:#fff;width:1000px;height:auto;min-height:276px;padding:10px;border-radius:6px}#footer_navigation_body{background:#bcee68;width:100%;height:120px}#footer_navigation{width:1000px;height:100px;margin:0 auto;padding:10px 0}#footer_navigation>a{float:left;width:200px;height:100px;margin:0 25px;padding:0;list-style:none}#footer_navigation>a>img{max-width:200px;max-height:100px}#copyright{background:#2e8b57;width:100%;height:auto;min-height:40px;margin:0 auto}}@media (max-device-width:1100px){.globalSocials{display:none}}@media (max-device-width:480px){.globalSocials{display:none}#page{width:100%;height:auto}#header{width:100%;height:100px;margin:0 auto}#wrapper{background:#969696;width:100%;height:auto;padding:0 0 10px 0}#content_wrapper{width:100%;height:auto;min-height:100px;margin:0 auto;padding:0 0 10px 0}#content_top{width:100%;height:auto;min-height:40px}#content_top_where{width:80%;height:auto;min-height:40px;margin:0 10%}#content_top_login{width:80%;height:auto;min-height:40px;margin:0 10%}#content{background:#fff;width:100%;height:auto;min-height:276px;padding:10px;border-radius:6px}#footer_navigation{background:#1e90ff;width:100%;height:auto;min-height:120px}#footer_navigation ul{width:100%;height:auto;margin:0;padding:10px 0}#footer_navigation ul li{width:100%;height:100px;margin:0;padding:0;list-style:none}#copyright{background:#87cefa;width:100%;height:auto;min-height:40px;padding:0 5%}}.hof_image_container{display:table-cell;vertical-align:middle;text-align:center;margin:10px 0}.hof_image_container>a>img{max-height:140px;max-width:140px}.globalSocialsContainer{background:rgba(255,255,255,.8);width:40px;height:auto;padding:10px 10px 10px 5px}.globalSocialsContainer>a{margin:0 0 5px 0}.globalSocialsContainer>a:last-of-type{margin:0}.status-ok{background:rgba(0,255,0,.2);border:1px #0f0 solid}.status-error{background:rgba(255,0,0,.2);border:1px red solid}.status-disable{background:rgba(19,19,19,.2);border:1px rgba(19,19,19,.5) solid}.input-group>span.form-control{height:39px;line-height:25px}a,a:hover,a:visited,body,html,small{font-family:Verdana,Arial,Helvetica,sans-serif;font-weight:400;color:#000;font-size-adjust:none}body,html,small{font-size:12px}#notifyContainer>li>a,.ten,.ten a,.ten a:hover{font-size:10px}.eleven,.eleven a,.eleven a:hover{font-size:11px}.twelve,.twelve a,.twelve a:hover{font-size:12px}.thirteen,.thirteen a,.thirteen a:hover{font-size:13px}.fourteen,.fourteen a,.fourteen a:hover{font-size:14px}.fifteen,.fifteen a,.fifteen a:hover{font-size:15px}.sixteen,.sixteen a,.sixteen a:hover{font-size:16px}.twentty a:hover,.twenty,.twenty a{font-size:20px}.twentyfive,.twentyfive a,.twentyfive a:hover{font-size:25px}.twentysix,.twentysix a,.twentysix a:hover{font-size:26px}.href_italic,.href_italic a,.italic{font-style:italic}.bold,.bold a,.bold a:hover,.bold:hover,.href_bold,.href_bold a,.href_bold a:hover,.href_bold:hover{font-weight:700}.href_normal,.href_normal a,.normal{font-weight:400}.btn-primary,.btn-primary:hover,.href_white,.href_white a,.result_container>.upcoming,.white,.white a,.white a:hover,a.white{color:#fff}.grey,.grey a,.grey a:hover{color:#ccc}.red,.red a,.red a:hover{color:red}.black,.black a,.black a:hover,.upcoming{color:#000}.green,.green a,.green a:hover{color:#00ff06}.darkblue,.darkblue a,.darkblue a:hover{color:#2161ac}.lightblue,.lightblue a,.lightblue a:hover{color:#78d9ed}.blue,.blue a,.blue a:active,.blue a:link,.blue a:visited,.blue:hover,.blue:visited,.blue_hover a:hover{color:#64abef}.title_blue,.title_blue a,.title_blue a:hover{color:#1e91ac}.win{color:#51e199}.lose{color:#e15556}.draw{color:#dc771c}.lh_seventy,.lh_seventy a{line-height:70px}.lh_sixty,.lh_sixty a{line-height:60px}.lh_fiftyfive,.lh_fiftyfive a{line-height:55px}.lh_fifty,.lh_fifty a{line-height:50px}.lh_fourtyeight,.lh_fourtyeight a{line-height:48px}.lh_fourtyseven,.lh_fourtyseven a{line-height:47px}.lh_fourtytwo,.lh_fourtytwo a{line-height:42px}.lh_fourtyone,.lh_fourtyone a{line-height:41px}.lh_fourty,.lh_fourty a{line-height:40px}.lh_thirtynine,.lh_thirtynine a{line-height:39px}.lh_thirtyfive,.lh_thirtyfive a{line-height:35px}.lh_thirtyfour,.lh_thirtyfour a{line-height:34px}.lh_thirtythree,.lh_thirtythree a{line-height:33px}.lh_thirtytwo,.lh_thirtytwo a{line-height:32px}.lh_thirty,.lh_thirty a{line-height:30px}.lh_twentyeight,.lh_twentyeight a{line-height:28px}.lh_twentysix,.lh_twentysix a{line-height:26px}.lh_twentyfive,.lh_twentyfive a{line-height:25px}.lh_twentyfour,.lh_twentyfour a{line-height:24px}.lh_twentythree,.lh_twentythree a{line-height:23px}.lh_twentytwo,.lh_twentytwo a{line-height:22px}.lh_twenty,.lh_twenty a{line-height:20px}.lh_sixteen,.lh_sixteen a{line-height:16px}.lh_twelve,.lh_twelve a{line-height:12px}.lh_ten,.lh_ten a{line-height:10px}.center,.center a,.center a:hover,.href_center,.href_center:hover{text-align:center}.right,.right a{text-align:right}.left,.left a{text-align:left}.none-decoration,.none-decoration a,.none-decoration a:hover,a,a:hover{text-decoration:none}.href_underline a:hover,.td_underline,.td_underline a{text-decoration:underline}.href_indent,.href_indent a,.indent{text-indent:-9999px}.btn-primary,.darkshadow,.darkshadow a,.href_darkshadow,.href_darkshadow a{text-shadow:#000 1px 1px 1px}.darkshadow2,.href_darkshadow2,.href_darkshadow2 a{text-shadow:#000 1px 2px 3px}.rrep{text-shadow:#000 2px 2px 2px}.whiteshadow,.whiteshadow a{text-shadow:#fff 1px 1px 1px}.greyshadow,.greyshadow a{text-shadow:rgba(0,0,0,.7) 1px 1px 0}.href_uppercase,.href_uppercase a,.uppercase{text-transform:uppercase}.middle,.middle a{vertical-align:middle} \ No newline at end of file diff --git a/install-cup-addon.php b/install-cup-addon.php index 18bc6df..52e2553 100644 --- a/install-cup-addon.php +++ b/install-cup-addon.php @@ -913,12 +913,18 @@ ) ENGINE=MyISAM;" ); - $alterTabelQuery = mysqli_query( + $alterTableQuery = mysqli_query( $_database, "ALTER TABLE `" . PREFIX . "cups_settings` ADD UNIQUE KEY `cup_id` (`cup_id`,`round`);" ); + $alterTableQuery = mysqli_query( + $_database, + "ALTER TABLE `" . PREFIX . "games` + ADD `cup_auto_active` INT(1) NOT NULL DEFAULT '0' AFTER `short`;" + ); + echo "Delete this file!"; $sendmail = \webspell\Email::sendEmail( diff --git a/languages/de/admin/games.php b/languages/de/admin/games.php index 90884a0..4b7f7d7 100644 --- a/languages/de/admin/games.php +++ b/languages/de/admin/games.php @@ -28,6 +28,7 @@ $language_array = Array( 'active_games'=>'aktive Spiele', + 'cup_auto_active'=>'Cup Gameaccounts automatisch aktiviert?', 'game_short'=>'Abkürzung', 'inactive_games'=>'inaktive Spiele', 'unknown_game'=>'unbekanntes Spiel', diff --git a/languages/en/admin/games.php b/languages/en/admin/games.php index 69c136d..4c34dff 100644 --- a/languages/en/admin/games.php +++ b/languages/en/admin/games.php @@ -28,6 +28,7 @@ $language_array = Array( 'active_games'=>'active games', + 'cup_auto_active'=>'Cup gameaccounts are active automatically?', 'game_short'=>'Shortcut', 'inactive_games'=>'inactive games', 'unknown_game'=>'unknown games', diff --git a/src/classes/gameaccounts.php b/src/classes/gameaccounts.php index 039718d..09b1d73 100644 --- a/src/classes/gameaccounts.php +++ b/src/classes/gameaccounts.php @@ -484,7 +484,7 @@ public function checkGameaccount() { global $_database, $userID; - if(is_null($this->game_tag)) { + if (is_null($this->game_tag)) { throw new \Exception($this->lang->module['error_gameaccount_game_tag']); } @@ -628,6 +628,47 @@ public function deleteGameaccount() { } + private function getActivateStateByGame() { + + global $userID; + + if (isanyadmin($userID)) { + $this->isActive = 1; + return; + } + + if (is_null($this->game_tag)) { + return; + } + + global $_database; + + $getGame = mysqli_query( + $_database, + "SELECT + `cup_auto_active` + FROM `" . PREFIX . "games` + WHERE `tag` = '" . $this->game_tag . "'" + ); + + if (!$getGame) { + return; + } + + $get = mysqli_fetch_array($getGame); + + if (empty($get['cup_auto_active'])) { + return; + } + + if ($get['cup_auto_active'] != 1) { + return; + } + + $this->isActive = 1; + + } + public function saveGameaccount($gameaccount_id = null, $redirect = TRUE) { if (is_null($this->game_id) || !validate_int($this->game_id)) { @@ -663,10 +704,8 @@ public function saveGameaccount($gameaccount_id = null, $redirect = TRUE) { global $_database, $userID; // - // Gameaccount aktiv? - if(isanyadmin($userID)) { - $this->isActive = 1; - } + // Gameaccount automatisch aktiv? + $this->getActivateStateByGame(); // // Neuer Gameaccount @@ -682,11 +721,11 @@ public function saveGameaccount($gameaccount_id = null, $redirect = TRUE) { ) VALUES ( - ".$userID.", - ".time().", - '".$this->game_tag."', - '".$this->value."', - ".$this->isActive." + " . $userID . ", + " . time() . ", + '" . $this->game_tag . "', + '" . $this->value . "', + " . $this->isActive . " )" ); diff --git a/templates/game_add.html b/templates/game_action.html similarity index 85% rename from templates/game_add.html rename to templates/game_action.html index 85917b1..a099f64 100644 --- a/templates/game_add.html +++ b/templates/game_action.html @@ -28,6 +28,15 @@ maxlength="3" /> +
+
+ + + + %cup_auto_active% +
+

diff --git a/templates/games_home.html b/templates/games_home.html index f0e2f05..419eeee 100644 --- a/templates/games_home.html +++ b/templates/games_home.html @@ -1,6 +1,6 @@
@@ -10,14 +10,14 @@