/* CSS Document */

.spamschutz { display:none; }

@font-face {
    font-family: Greco;
    src: url("../font/Greco.eot") /* EOT file for IE */
}

@font-face {
    font-family: Greco;
    src: url("../font/Greco.ttf") /* TTF file for CSS3 browsers */
}

@font-face {
    font-family: Zyprian;
    src: url("../font/Zyprian.ttf") /* TTF file for CSS3 browsers */
}

@font-face {
    font-family: Cleopatra;
    src: url("../font/Cleopatra.ttf") /* TTF file for CSS3 browsers */
}

@font-face {
    font-family: Dalek;
    src: url("../font/Dalek.ttf") /* TTF file for CSS3 browsers */
}

@font-face {
    font-family: Dalek;
    src: url("../font/Dalek.eot") /* EOT file for IE */
}


/* new@2018 */

/* normalize design.css */
body {
    background-color: #eeeeee !important;
    background-image: url("/boinc_pentathlon/img/wine-cork.png") !important;
}

.page_design#main-page_design {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    float: none;
    margin: 0;
    min-height: 200px;
    padding: 0;
    width: 100%;
}

.page_design#main-page_design #main_design{
    padding: 0;
    margin: 0;
    background: transparent;
}

/* penta styles */
#penta_content_header {
    text-align: center;
    margin: 0;
    padding: 20px 10px 0px;
    background: transparent;
}

#penta_content_header_img_wrapper {
    width: 98%;
    max-width: 1600px;
    margin: 0 auto;
}

#penta_content_header_img {
    margin-bottom: 15px;
    width: calc( 100% - 6px );
}



div#pentasidebar{
    width: 250px;
    float: left;
}

div#pentamenu, div#pentashout{
    width: 250px;
    float: left;
    border-radius: 0px;
    background-color: rgba(255,255,255,0.5);
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 4px solid #810080;
}

div#pentamenu{
    background-image: url('/boinc_pentathlon/img/menu_pillar2.jpeg');
    background-size: cover;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
}

div#pentashout{
    border-radius: 0 0 4px 4px;
}

#untermenu {
    font-family: Cleopatra;
    font-size: 1.0em;
}

#untermenu p {
    line-height: 1.5em;
}

#untermenu, #untermenu ul {
    list-style-type:none;
    margin: 0;
    padding: 0;
    width: 245px;
    background: rgba(255,255,255,0.6);
}

#untermenu a {
    display: block;
    text-decoration: none;
}

#untermenu li {
    margin-top: 1px;
}

#untermenu li a, div.pentamenutitle {
    padding: 0.5em;
    color:#333;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px #fff;
    font-size: 1.3rem;
}

div.pentamenutitle {
    text-align: center;
    padding: 0.3em;
}

div.pentamenutitle a{
    display: inline !important;
}

#untermenu li a:hover,
#untermenu li.current-cat-parent a {
    padding-left: calc( 0.5em + 5px);
    background-color: #e0b8df;
}

#untermenu li ul li a,
#untermenu li ul li a:hover {
    color: #666666 ;
    padding-left: calc( 0.5em +  20px ) !important;
}


div#pentacontent{
    width: calc(100% - 300px);
    float: right;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
    border-radius: 4px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.startbox{
    text-align: center;
    padding: 0px;
    width: 100%;
}

.startbox .ueberschrift{
    font-family: Cleopatra;
    font-weight: bold;
    text-decoration: none;
    text-align: left;
    margin: 0;
    padding: 5px 10px;
    color: #fff;
    text-shadow: -1px -1px 2px #666, 1px 1px 2px #666;
    letter-spacing: 3px;
    background: #810080 url("https://www.transparenttextures.com/patterns/ravenna.png");
    border-bottom: 1px solid #aaa;
    border-radius: 4px 4px 0 0;
}

.startbox .inhalt {
    text-align:left;
    margin:0px;
    padding:0;
    width:100%;
    color:#000000;
}

.badge-pill {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.6);
}

.badge-pill,
.badge-pill-placeholder {
    font-size: 60%;
    line-height: 0.75;
    min-width: 25px;
}

.pill-gesamt {
	min-width: 30px;
}

#teamsListgroup,
#registrationForm,
#registrationAdminForm,
#registeredTeamsListgroup {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

#pentaStartCard *,
#pentaStartCarousel * {
    text-align: center;
}

#pentaStartCarousel .carousel-inner .carousel-caption p,
#pentaStartCarousel .carousel-inner .carousel-caption h5 {
    text-align: center;
}

#pentaStartCard,
#pentaStartCarousel,
#pentaStartListgroup {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-item {
    height: 200px;
    background-position: 50% 50%;
    background-size: cover;
}
.carousel-caption {
    text-shadow: 3px 3px 3px rgba(0,0,0,1),
                 -3px -3px 3px rgba(0,0,0,1),
                 3px -3px 3px rgba(0,0,0,1),
                 -3px 3px 3px rgba(0,0,0,1);
}


a:link{
    text-decoration: none;
    color: #810080;
}

a:visited{
    text-decoration: none;
    color: #810080;
}

a:active {
    text-decoration: none;
    color: #810080;
}

a:hover {
    text-decoration: underline;
    color: #810080;
}

.right{
    float:right;
}

.left{
    float:left;
}

h1{
    text-align:center;
    margin-bottom:5px;
}

.clear{
    clear: both;
    height: 0;
    visibility: hidden;
    display: block;
}

strong {
    font-weight: bolder;
}

.fehler{
    color:red;
}







.ueberschrift h2{
    font-size:20px;
    font-weight:bold;
    margin:0px;
}

.ueberschrift img{
    float:right;
    margin-right:5px;
}



.innenabstand{
    padding:5px;
}

img.flag{
    padding: 3px;
    background: #810080 none repeat scroll 0% 0%;
    margin-left: 10px;
    margin-right: 10px;
    width: 40px;
}

@media screen and (max-width: 991px) {

    div#pentasidebar{
        width: 100%;
        float: none;
    }


    div#pentamenu{
        width: 250px;
        margin-bottom: 0;
        min-height: 100vh;
    }

    div#pentamenu ul#untermenu {
        min-height: 100vh;
    }



    div#pentashout{
        display:none;
        width: auto;
        float: right;
    }

    div#pentacontent{
        width: 97%;
        float: none;
        margin: 20px auto;
    }

}


.underConstruction{
    background: transparent url('/boinc_pentathlon/img/underconstruction.jpg');
}


.place1{
    background-color:#daa520 !important;
}
.place2{
    background-color:#797b80 !important;
}
.place3{
    background-color:#ae6842 !important;
}
.place1,
.place2,
.place3 {
    background-image: url("https://www.transparenttextures.com/patterns/redox-02.png") !important;
    text-shadow: 0px 1px 2px #333;
}

.place1 *,
.place2 *,
.place3 * {
    color: #fff !important;
}

.container-fluid > .row {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.6);
    background: #eee;
}


/* Schriftgrößen für die Pentathlon-Gesamtübersicht class="container-fluid" id="tablePentathlon" */

/* Extra small devices (portrait phones, less than 576px)
   No media query since this is the default in Bootstrap */
.container-fluid#tablePentathlon .font-size-disz,
.container-fluid#tablePentathlon .font-size-disz-header {
    font-size: 0.7rem;
}
.container-fluid#tablePentathlon .font-size-rank {
    font-size: 1.75rem;
}
.container-fluid#tablePentathlon .font-size-team {
    font-size: 1.5rem;
}
.container-fluid#tablePentathlon .font-size-points {
    font-size: 1.5rem;
}

.container-fluid#tableTeamDailyOutput .font-size-col,
.container-fluid#tableTeamDailyOutput .font-size-head-col {
    font-size: 0.7rem;
    text-align: right;
    padding-left: 5px;
    padding-right: 5px;
}

.container-fluid#tableTeamOverview .font-size-col,
.container-fluid#tableTeamOverview .font-size-head-col {
    font-size: 0.7rem;
    padding-left: 5px;
    padding-right: 5px;    
}

.container-fluid#tableTeamHunterOutput .font-size-col,
.container-fluid#tableTeamHunterOutput .font-size-head-col{
    font-size: 0.7rem;
    padding-left: 5px;
    padding-right: 5px;    
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container-fluid#tablePentathlon .font-size-disz,
    .container-fluid#tablePentathlon .font-size-disz-header {
        font-size: 0.8rem;
    }

    .container-fluid#tablePentathlon .font-size-rank {
        font-size: 1.5rem;
    }

    .container-fluid#tableTeamDailyOutput .font-size-col {
        font-size: 0.9rem;
        padding-left: 15px;
        padding-right: 15px;
    }
    .container-fluid#tableTeamDailyOutput .font-size-head-col {
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-fluid#tableTeamOverview .font-size-col {
        font-size: 0.9rem;
    }

    
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container-fluid#tableTeamDailyOutput .font-size-col {
        font-size: 1rem;
    }

    .container-fluid#tableTeamHunterOutput .font-size-col {
        font-size: 0.8rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container-fluid#tablePentathlon .font-size-rank {
        font-size: 1.1rem;
    }
    .container-fluid#tablePentathlon .font-size-team {
        font-size: 1.1rem;
    }
    .container-fluid#tablePentathlon .font-size-points {
        font-size: 1.1rem;
    }


}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container-fluid#tablePentathlon .font-size-rank {
        font-size: 0.9rem;
    }
    .container-fluid#tablePentathlon .font-size-team {
        font-size: 0.9rem;
    }
    .container-fluid#tablePentathlon .font-size-points {
        font-size: 0.9rem;
    }
    .container-fluid#tablePentathlon .font-size-disz {
        font-size: 0.9rem;
    }
    .container-fluid#tablePentathlon .font-size-disz-header {
        font-size: 0.9rem;
    }
    .container-fluid#tableTeamOverview .font-size-col {
        font-size: 1.0rem;
    }
    .container-fluid#tableTeamHunterOutput .font-size-col {
        font-size: 1.0rem;
    }
}


.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #000 !important;
    text-align: center;
    background-color: #fff !important;
    border-radius: .25rem;
    border: 1px solid #17a2b8
}

/* Css for top arrow: */
.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 5px 5px 0;
    border-top-color: #17a2b8;
}

.nav-tabs .nav-link.active {
    color: #eee !important;
    background-color: #810080 !important;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link img {
    -webkit-filter: contrast(5%); /* Safari */
    filter: contrast(5%);
}
.nav-tabs .nav-link.active img {
    -webkit-filter: contrast(500%); /* Safari */
    filter: contrast(500%);
}
