/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13.2.2018, 18:40:27
    Author     : akseli.sajaniemi
*/

.dataTables_wrapper {
 position: initial;  
}

#leader_title {
    background: #5a5877;
      
}

#leader_title h1 {
    color: white;
    margin: 0;
    padding: 10px 0;
    font-family: 'Julius Sans One', sans-serif;
}

#leader_title p {
    font-family: 'Julius Sans One', sans-serif;
}

.leaderboard {
    margin: auto;
    width: 100%;
    max-width: 940px;
}

table {
    width:100%;
}


table, th, td {
    border: 0px solid black;
    border-collapse:collapse;
}
th, td {
    text-align: left;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 0.6em;
    height: 30px;
    word-wrap: break-word;
    color: black;
    font-weight: bold;
    padding: 10px 20px 10px 5px !important;
}

td.name {
    word-break: break-all;
}

td img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
}

table.leaderboard tr:nth-child(even) {
    background-color: #4c478f33;
}
table.leaderboard tr:nth-child(odd) {
   background-color:#fff;
}
table.leaderboard th {
    background-color: #5a5877;;
    color: white;
}

#myProfileButtons {
    text-align: center;
}
#leaderPageButtons {
    text-align: center;
}


.pickPageButton {

    display: inline-block;
    vertical-align: bottom;
    cursor: pointer;
    margin: 0;
    padding: 0;
    font-size: 15px;
    width: 25%;
    height: 50px;
    border: 0px;
    font-family: 'Julius Sans One', sans-serif;
    color: #FFF;
}

.leaderPageButton {

    display: inline-block;
    vertical-align: bottom;
    cursor: pointer;
    margin: 5px;
    padding: 0;
    font-size: 15px;
    height: 50px;
    border: 0px;
    font-family: 'Julius Sans One', sans-serif;
    color: #FFF;
    background-color: #3983e5;
}

#all {
    background-color: #d98be5;
}

#backToLeaderBoard, #deleteInfo {
    background-color: #3983e5;
}

#changeInfo {
    background-color: #d98be5;
}

#groups {
   background-color:#4a8df5;
}

@media screen and (min-width: 620px) {

    table, th, td {
        font-size: 1em;
        height: 40px;
        color: black;
        font-weight: bold;
    }
}  

#changeFormDiv {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    text-align: center;
    top: 50px;
    width: 100%;
    max-width: 940px;
    overflow: auto; /* Enable scroll if needed */
    margin: auto;
    text-align: center;
}

#changeForm {
    padding: 10px 5%;
    color: #fff;
    text-align: left;
    width: 80%;
    background-color: #5a5877;
    margin: auto;
}

#changeForm input, #joinedGroups {
    display: block;
    margin: 10px 5%;
    width: 90%;
    max-width: 400px;
}

#changeForm label {
    display: block;
    margin: 10px 5%;
    width: 90%;
    max-width: 400px;
    color: #fff;
}

#changeForm button {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 20px 5%;
    height: 50px;
    background-color: #3983e5;
    color: #fff;
    border: 0px;
    box-shadow: 0;
        
}


#joinedGroups h2  {
    text-align: left;
    font-size: 0.8em;
    padding: 0;
    margin: 0;
}

#joinedGroups p  {
    text-align: left;
    font-size: 0.6em;
    padding: 0;
    margin: 0;
}


#joinedGroups ul {
   
}

#joinedGroups ul li {
    padding: 5px 0 5px 0;
    cursor: pointer;
}

.primary {
    font-size: 1.2em;
    font-weight: bolder;
}

.normal {
    font-size: 0.8em;
}

/*Detailed Picture Page*/

#picture_page {
    background: #5a5877;
    width: 100%;
    max-width: 940px;
    color: #fff;
    margin: auto;
}
#pictureContainer {
    background: #5a5877;
    margin: auto;
    columns: 1;
    width: 100%;
    margin-bottom: 50px;
}

.pictureWrapper {
    
    display: inline-block;
    padding: 5px 2.5% 5px 2.5%;
    background-color: #5a5877;
    font-size: 0.6em;
}

.pictureWrapper img {
    width: 100%;
}

#picture_page h1 {
    margin: 0;
    padding: 20px;
}


@media screen and (min-width: 620px) {
    
    .pictureWrapper {
        padding: 5px 1.66% 5px 1.66%;
        font-size: 1em;
    }
    #pictureContainer {
        columns: 2;
    }
    

}
