﻿/*$main-color: #3D7169; $secondary-color: #C6ECAE;*/

footer {
    margin-top: 10px;
}

.modern-ui {
    border: none;
    background-color: #92CF6D;
}

.page .page-header {
    position: fixed;
    background-color: #92CF6D;
    z-index: 1;
}

    .page .page-header .page-header-content {
        background: url("../Images/gras.png") repeat-x scroll white bottom;
    }

        .page .page-header .page-header-content h1 {
            position: relative;
            float: left;
            padding-left: 20px;
            margin: 0;
            line-height: 48px;
            font-size: 32px;
        }

.page .page-region {
    padding-top: 150px;
    position: relative;
    z-index: 0;
}

    .page .page-region .page-region-content {
        /*background: url("../Images/gras.png") repeat-x;*/
        margin-left: 10px;
        margin-right: 10px;
    }

/* Entferne Hintegrund von PageControl Leiste*/
.page-control > ul {
    background-color: transparent;
}

/* Entferne Rahmen von nicht aktiven PageControl Tabs */
.page-control ul -ui-state-default {
    border: none;
}

.ui-state-active A:link {
    color: black;
}

.ui-state-default A:link {
    color: black;
}

.page-control > UL LI {
    background: none !important;
    border: none !important;
}

    .page-control > UL LI.active {
        background: #C6ECAE !important;
        /* Von modern.css repliziert -> bei Änderung nachziehen!*/
        border: 1px #ccc solid !important;
        border-bottom: 0 !important;
    }

.ui-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: .5em 1em;
    background: none;
    overflow: auto;
    zoom: 1;
}

/* Für Wettbewerb Popup und PageControl Elemente */
.ui-widget-header {
    background-color: #C6ECAE !important;
    background: none;
    border: 1px solid #C6ECAE;
    color: black;
    font-weight: bold;
}

.ui-widget-content {
    border: none;
    background: #92cf6d;
    color: #222222 /*{fcContent}*/;
}

div.fixedBottom {
    width: 100%;
    left: 0;
	right: 0;
    bottom: 0px;
    position: fixed;
    background-color: #92CF6D;
    z-index: 1000;
    zoom: 1;
}

table tbody tr {
    background-color: transparent;
}

table.borderless thead tr th {
    border: none;
    border-bottom: solid;
}

table.borderless tbody tr td {
    border: none;
    font-size: 10pt;
}

table.centered thead tr th {
    text-align: center;
}

table.centered tbody tr td {
    text-align: center;
}

/* Hintergrundfarbe für gestreifte Tabelle*/
/*table.striped tbody tr:nth-child(odd) {*/
table.striped tbody tr.odd {
    background-color: #C6ECAE !important;
}
table.striped tbody tr:nth-child(odd) {
/*table.striped tbody tr.even {*/
    background-color: #C6ECAE !important;
}

select {
    background-color: #92CF6D;
    scrollbar-color: forestgreen;
    scrollbar-width: thin;
}
    select::-webkit-scrollbar {
        width: 14px;
        height: 14px;
    }

    select::-webkit-scrollbar-track {
        background-color: #92CF6D;
    }

    select::-webkit-scrollbar-thumb {
        background-color: darkgreen;
    }

.hidden {
    display: none !important;
}

.MatchMobile {
    display: none;
}

/* Rangliste */
span.itsMe
{
    color: #0B0B61;
    font-weight: bold;
}
span.bowedOut
{
    color: red;
}

span.rankFirst {
    font-size: large;
    font-weight: bold;
}
span.rankSecond, span.rankThird {
    font-size: larger;
    font-weight: bold;
}
span.rankChangeUp {
    color: #094606;
    font-size: x-small;
}
span.rankChangeDown {
    color: #9c0b0b;
    font-size: x-small;
}

label {
    font-family: 'Segoe UI', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    font-size: 10pt;
}

ul.menu {
    margin: 0;
}

div.tile-group {
  width: 322px;
}

.tile.half-vertical {
    height: 70px;
}
.tile.half-vertical.icon  > .tile-content  > img {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 60%;
  left: 75%;
  margin-left: -32px;
  margin-top: -32px;
}

#homeTeamImageUrl, #guestTeamImageUrl {
    display: inline-block;
}

@media (max-width: 767px) {
    td.HiddenOnSmallDevices {
        visibility: hidden;
    }

    .page-control > div.menu-pull-bar {
        display: none;
    }

    .page-control > ul {
        display: block !important;
        overflow: visible !important;
        padding: 10px 20px 10px 20px;
        border: none;
    }
    
    ul.menu li.align-right {
        /*float: right !important;*/
        margin-right: 0 !important;
    }
    
    .tile.half-vertical {
        height: 55px;
    }
 
    .tile.half-vertical.icon  > .tile-content  > img {
      top: 80%;
      left: 85%;
      width: 32px;
      height: 32px;
    }
}

/*@media (min-width: 980px) {
    ul.menu li.align-right {
        float: right !important;
        margin-right: 0 !important;
    }
}*/

div#trendValues {
    display: none;
    position: absolute;
    background-color: #e1e1e1;
    border-style: solid;
    border-width: 1px;
    width: 260px;
    height: 110px;
    overflow: hidden;
    z-index: 1005;
    text-align: center;
}

    div#trendValues P {
        margin: 0.7em;
    }

        div#trendValues P A {
            font-size: .85em;
        }

        div#trendValues P Img {
            height: 20px;
            vertical-align: middle;
        }

span.bet {
  background: #cccccc;
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: black;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin-right: 10px;
  margin-left: 10px;
  text-align: center;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
}

img.team-image {
    height: 20px;
}

ul#userstats {
    list-style-image: url(/Images/football_16.png);
    padding-top: 10px;
}

.ical-div-dist {
    margin-bottom: 20px;
}

div#create-ical-div {
    margin-top: 30px;
}

div.rankingtable-mobile {
    display: none;
}

@media only screen and (max-width: 767px) {

    .page-heading-default {
        display: none;
    }

    .page-heading-mobile {
        display: inline !important;
    }   

    body {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    div.tile-group {
      width: 260px;
      margin-right: 40px;
    }
    
    /* Force table to not be like tables anymore */
	table#tippsTable, table#tippsTable thead, table#tippsTable tbody, table#tippsTable th, table#tippsTable td, table#tippsTable tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table#tippsTable thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table#tippsTable tr { border: 1px solid #ccc; }
	
	table#tippsTable td { 
		/* Behave  like a "row" */
		border: none !important;
        vertical-align: top;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 100px !important; 
        text-align: left !important;
        height: 30px;
	}
	
	table#tippsTable td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 3px;
		left: 6px;
		/*width: 80%;*/ 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	table#tippsTable td:nth-of-type(1):before { content: "Runde"; }
	table#tippsTable td:nth-of-type(2):before { content: "Anstoß"; }
	table#tippsTable td:nth-of-type(3):before { content: "Heim"; }
	table#tippsTable td:nth-of-type(4):before { content: "Gast"; }
	table#tippsTable td:nth-of-type(5):before { content: "Abgabe"; }
	table#tippsTable td:nth-of-type(6):before { content: "Tipp"; }
	table#tippsTable td:nth-of-type(7):before { content: "Ergebnis"; }
	table#tippsTable td:nth-of-type(8):before { content: "Punkte"; }

    table#tippsTable.resultbet td:nth-of-type(6):before { content: "Tore Heim"; }
    table#tippsTable.resultbet td:nth-of-type(7):before { content: "Tore Gast"; }
    table#tippsTable.resultbet td:nth-of-type(8):before { content: "Ergebnis"; }
    table#tippsTable.resultbet td:nth-of-type(9):before { content: "Punkte"; }

    table#tippsTable.penaltybet td:nth-of-type(8):before { content: "Elfmetertipp"; }
    table#tippsTable.penaltybet td:nth-of-type(9):before { content: "Ergebnis"; }
    table#tippsTable.penaltybet td:nth-of-type(10):before { content: "Punkte"; }

    .idCell, .MatchDesktop, #trendValues, #homeTeamImageUrl, #homeTeamNameDesktop, #guestTeamNameDesktop, div#tipps-filter-desktop {
        display: none;
    }

        #homeTeamImageUrlMobile, #homeTeamNameMobile, #guestTeamImageUrl, #guestTeamNameMobile, span.bet {
            display: inline !important;
        }

    .MatchMobile {
        display: table-cell;
    }

    div.page-header-content h1 {
        font-size: 18px !important;
    }

    div#tipps-filter-mobile {
        display:inline !important;
    }

    img.team-image {
        width: 20px;
        height: auto !important;
    }

    div.rankingtable-mobile {
        display: block;
        font-size: small;
    }

        div.rankingtable-mobile div.rank-area-mobile {
            padding: 5px;
            border-bottom-style: dashed;
            border-bottom-width: 1px;
        }

        div.rankingtable-mobile div.itsMe {
            background-color: forestgreen;
        }

        div.rankingtable-mobile span.rankoverall-mobile {
            font-weight: bold;
            font-size: large;
            min-width: 25px;
            display: inline-block;
        }

        div.rankingtable-mobile span.tippername-mobile {
            padding-left: 5px;
            font-weight: bold;
            font-size: larger;
        }

        div.rankingtable-mobile div.rank-trophy-mobile {
            float: left;
            margin-top: 10px;
            margin-right: 10px;
        }

        div.rankingtable-mobile div.rank-stake-mobile {
            float: right;
            margin-top: 10px;
        }

    table#rankingtableoverall, table#rankingtablebettinground {
        display: none;
    }
}

@media only screen and (max-width: 479px) {
    /* Grasnarbe auf kleinen Bildschirmen nicht zeigen, festen Bereich verkleinern.*/
    .page .page-header .page-header-content {
        display: none;
    }

    .page .page-region {
        padding-top: 50px;
    }
}


