html {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Raleway';
    font-size: 1.05rem;
    min-height: 100%;
    position: relative;
    padding-bottom: 10.3rem;
}

.site-heading {
    text-transform: none;
    color: black;
    text-decoration: none;
    font-weight: 100;
    font-size: 5rem;
    margin: 0;
    padding: 5rem 0;
}

.site-heading:hover, .site-heading:active, .site-heading:visited {
    color: black;
    text-decoration: none;
}


@media screen and (max-width: 991px) {
    .site-heading {
        font-size: 4rem;
        padding: 2rem 0;
    }
}

@media screen and (max-width: 767px) {
    .site-heading {
        font-size: 3rem;
        padding: 1rem 0;
        font-weight: 200;
    }
}

@media screen and (max-width: 575px) {
    .site-heading {
        font-size: 2.5rem;
        padding: 0.8rem 0;
    }

    #search-box {
        margin: 0!important;
    }
}

@media screen and (max-width: 450px) {
    .site-heading {
        font-size: 2rem;
        padding: 0.5rem 0;
        font-weight: 300;
    }
}

label {
    margin-bottom: 0;
}

input {
    height: 2rem;
    border: 1px solid #333333;
    border-radius: 0.25rem;
    text-align: center;
}

input[type="submit"] {
    color: white;
    background-color: #333333;
    margin-top: 0.5em;
}

input[type="submit"]:hover {
    cursor: pointer;
}

select {
    height: 2rem;
    border-radius: 0.25rem;
    border: 1px solid #333333;
    text-align: center;
    text-indent: 10px;
}

textarea {
    height: 5rem;
    min-height: 5rem;
    border-radius: 0.25rem;
    border: 1px solid #333333;
    text-align: center;
    padding-left: 10px;
    resize: vertical;
}

button {
    border: none;
    width: 100%;
    border-radius: 0.25rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    background-color: #333333;
    color: white;
    padding: 0 6px;
    text-decoration: none;
    text-indent: 5px;
    text-align: left;
    cursor: pointer;
}

button.inverted {
    border: 1px solid #333333;
    background-color: white;
    color: #333333;
}

button.centered {
    text-align: center!important;
    text-indent: 0!important;
}

#mainNav {
    background-color: #333333;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #333333!important;
    color: #888888;
}

.plain-link, .plain-link:active, .plain-link:visited {
    text-decoration: none;
    color: black;
}

.plain-link:hover {
    text-decoration: underline;
    color:black;
}

.underlined-link, .underlined-link:hover, .underlined-link:active, .underlined-link:visited {
    color: black;
    text-decoration: underline;
}

.no-link, .no-link:active, .no-link:hover, .no-link:visited {
    text-decoration: none;
    color: black;
}


.footer .plain-link {
    color: #888888;
}

.bottom-margin {
    margin-bottom: 0.5rem!important;
}

.bottom-margin-double {
    margin-bottom: 1rem!important;
}

.top-margin-1 {
    margin-top: 0.5rem!important;
}

.top-margin {
    margin-top: 1rem;
}

.top-margin-3 {
    margin-top: 1.5rem!important;
}

.top-margin-4 {
    margin-top: 2rem!important;
}

.full-width {
    width: 100%!important;
}

.full-width-form input, .full-width-form select {
    margin-bottom: 0.5rem;
    text-align: left;
    width: 100%;
    text-indent: 10px;
}

.full-width-form textarea {
    margin-bottom: 0.5rem;
    text-align: left;
    width: 100%;
    padding-left: 10px;
}

.full-width-form.centered input, .full-width-form.centered select {
    text-align: center!important;
    text-indent: 0!important;
}

#specific-search {
    background-color: white;
    margin: 2em 0;
    text-align: center;
}

#specific-search .specific-search-bar {
    padding: 15px;
}

#specific-search input, #specific-search select {
    width: 100%;
    height: 2em;
    border-radius: 0.25rem;
    border: 1px solid #333333;
    text-align: center;
    text-indent: 10px;
}

#specific-search input[type=submit] {
    background-color: #333333;
    border: none;
    color: white;
    border-radius: 0.25rem;
    margin-top: 0.5em;
}


#search-box {
    font-family: 'Raleway';
    border: none;
    padding: 5px;
    width: 100%;
    border-radius: 5px;
    font-size: 1.5rem;
    background: 0;

    margin: 0.5rem;
}

#search-box:focus {
    outline: none;
}

#search-bar {
    margin-top: 0;
    background-color: #333333;
    padding: 5px 0;
}

#search-bar .search-column {
    position: relative;
    border: 0.25rem solid rgba(255, 255, 255, 0.85);
}

#search-bar .search-div {
    padding: 0;

    content: '';
    position: relative;
    padding: 15px;

}

#search-bar .inner-wrap {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
}




#search-site .player {
    background-color: white;
    margin: 2em 0;
}

#search-site .player-bar {
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

#search-site .player-img {
    height: 12em;
    width: 9em;
    object-fit: cover;
    object-position: 50% 0%;
    flex: none;
}

#player-edit-site .player-img,
#photo-edit-site .player-img {
    width: min(12em, 100%);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 0%;
    display: block;
    margin: 0 auto 1rem;
}

#search-site .player-data {
    height: 12em;
    width: auto;
    margin-left: 1em;
    flex: 1 1 auto;
}

#search-site #search-box {
    font-family: 'Raleway';
    border: none;
    padding: 5px;
    width: 100%;
    border-radius: 5px;
    font-size: 1.5rem;
    background: 0;

    margin: 0.5rem;
}

#search-site #search-box:focus {
    outline: none;
}

#search-site #search-bar {
    margin-top: 0;
    background-color: #333333;
    padding: 5px 0;
}

#search-site .search-column {
    position: relative;
    border: 0.25rem solid rgba(255, 255, 255, 0.85);
}

#search-site .search-div {
    padding: 0;

    content: '';
    position: relative;
    padding: 15px;

}

#search-site .inner-wrap {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
}




#player-site section {
    background-color: white;
    margin: 2em 0;
}

#player-site .general-bar {
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

#player-site .player-img {
    height: 16em;
    width: 12em;
    object-fit: cover;
    object-position: 50% 0%;
    flex: none;
}

#player-site .general-data {
    height: 16em;
    width: auto;
    margin-left: 1.5em;
    flex: 1 1 auto;
}

#player-site .general-data td:first-child {
    width: 9em;
}

#player-site .international-bar {
    padding: 15px;
}

#player-site .yearly-table {
    width: 100%;
}

#player-site .yearly-table thead {
    font-weight: bold;
}

#player-site .yearly-table tr {
    border-bottom: 1px solid black;
}

#player-site #league-table td:nth-child(1) {
    width: 10%;
}

#player-site #league-table td:nth-child(2) {
    width: 25%;
}

#player-site #league-table td:nth-child(3) {
    width: 30%;
}

#player-site #international-table td:nth-child(1) {
    width: 10%;
}

#player-site #international-table td:nth-child(2) {
    width: 40%;
}

#player-site #international-table td:nth-child(3) {
    width: 25%;
}

#player-site #player-box {
    font-family: 'Raleway';
    border: none;
    padding: 5px;
    width: 100%;
    border-radius: 5px;
    font-size: 1.5rem;
    background: 0;

    margin: 0.5rem;
}

#player-site #player-bar {
    margin-top: 0;
    background-color: #333333;
}

#player-site .player-column {
    position: relative;
    border: 0.25rem solid rgba(255, 255, 255, 0.85);
}

#player-site .player-div {
    color: white;
    position: relative;
    padding: 15px;
    font-size: 3rem;
}

#player-site .inner-wrap {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
}

.generic-site section, #generic-site section {
    background-color: white;
    margin: 2em 0;
}

.generic-site .bar, #generic-site .bar {
    padding: 15px;
}

.generic-site #generic-bar, #generic-site #generic-bar {
    margin-top: 0;
    background-color: #333333;
}

.generic-site .generic-div, #generic-site .generic-div {
    color: white;
    position: relative;
    padding: 15px;
    font-size: 3rem;
}

.information-site p {
    line-height: 1.5;
}
/** ALERT BOX SYSTEM **/

.alert-box {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 5px;
    color: white;
    border-radius: 0.25rem;
}

.alert-box.success {
    background-color: rgba(0, 145, 31, 0.5);
}

.alert-box.warning {
    background-color: rgba(255, 242, 0, 0.5);
}

.alert-box.error {
    background-color: rgba(255, 0, 0, 0.5);
}

.success-box {
    background-color: rgba(0, 145, 31, 0.5);
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 5px;
    color: white;
    border-radius: 0.25rem;
}

.error-box {
    background-color: rgba(255, 0, 0, 0.5);
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 5px;
    color: white;
    border-radius: 0.25rem;
}

/** ADMIN **/
#admin-site .bar {
    text-align: center;
}

#admin-site form * {
    width: 100%;
}

.edit-site form > * {
    display: block;
}

.edit-site input, .edit-site select {
    margin-bottom: 0.5rem;
    text-align: left;
    width: 100%;
    text-indent: 5px;
    height: 2rem;
}

.edit-site input[type="text"] {
    text-indent: 10px;
}

.edit-table {
    width: 100%;
    margin-bottom: 0.5rem;
}

.edit-table .fa {
    color: black;
}

.edit-table thead td {
    font-weight: bold;
}

.edit-table tr {
    border-bottom: 1px solid #333333;
}

.edit-table tbody tr:last-child {
    border-bottom: none;
}

.edit-table .fa:first-child {
    margin-right: 0.5rem;
}

.edit-table td:nth-child(1) {
    width: 15%;
}

.edit-table td:nth-child(2) {
    width: 70%;
}

.edit-table td:nth-child(3) {
    width: 15%;
}

#leauge-edit-div,
#player-img-div {
    margin-bottom: 1rem;
}

.btn-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline !important;
    width: auto;
    height: auto;
    margin: 0;
    text-indent: 0;
}

#change-password-form input {
    margin-bottom: 0.5rem;
    text-align: left;
    width: 100%;
    text-indent: 5px;
    height: 2rem;
}
