/* COLORS */

:root {
    --black: #000000;
    --dark-grey: #585858;
    --ghost-white: #F8F8FF;
    --grey: #F5F5F5;
    --grey-two: #CECECE;
    --dark-red: #D80916;
    --red: #FF0000;
    --white: #FFFFFF;
}

/* Basics */

html, body {
    background-color: var(--grey);
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

h2, h3, h4, h5 {
    color: var(--dark-red);
    font-weight: bold;
}

h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover {
    text-decoration: none;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid var(--grey-two);
}

hr.no-bottom-spacing {
    margin-bottom: 0px;
}

.upper-spacing {
    min-height: 50px;
}

.upper-spacing-big {
    min-height: 100px;
}

#body-container {
    min-height: 400px;
    padding-top: 15px;
}

a {
    color: var(--dark-red);
    text-decoration: none;
}

a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.subtitle {
    color: var(--red);
}

.subtitle-two {
    color: var(--dark-red);
}

.shadow-border {
    -webkit-box-shadow: 0px 1px 2px rgba(100, 100, 100, 0.49);
    -moz-box-shadow:    0px 1px 2px rgba(100, 100, 100, 0.49);
    box-shadow:         0px 1px 2px rgba(100, 100, 100, 0.49);
}

.bottom-margin {
    margin-bottom: 15px;
}

.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover > img {
    overflow: hidden;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.zoom-on-hover:hover > img,
.zoom-on-hover:focus > img {
    transform: scale(1.2);
}

.red-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: inherit;
    background-color: var(--dark-red);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.overlay-text {
    position: absolute;
    width: 100%;
    padding: 2px 0px 2px 20px;
    bottom: 10px;
    color: var(--white);
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.overlay-date {
    position: absolute;
    width: 100%;
    padding: 2px 20px 2px 0px;
    top: 10px;
    color: var(--white);
    background: linear-gradient(to left, rgba(0,0,0,0.6), transparent);
    text-align: right;
}

/* Navigation */

#header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 50;
}

#header.shrink > #menu {
    min-height: 60px;
    padding-top: 5px;
}

#header.shrink > #homelogo {
  margin-top: 15px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#header.shrink > #homelogo img {
    width: 40px;
}

#header.shrink > #headlogo {
  margin-top: 5px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#header.shrink > #headlogo img {
    width: 80px;
}

#header-sm {
    position: fixed;
    top: 0;
    width: 100%;
    max-height: 50px;
    z-index: 50;
}

#homelogo {
    float: left;
    margin-left: 20px;
    margin-top: 20px;
}

#homelogo img {
    width: 50px;
    height: auto;
    z-index: 100;
    position: relative;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#headlogo {
    float: left;
    margin-left: 25px;
    margin-top: 10px;
}

#headlogo img {
    width: 125px;
    height: auto;
    z-index: 100;
    position: relative;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#headlogo-sm {
    float: left;
    margin-left: 25px;
    margin-top: 5px;
}

#headlogo-sm img.logo {
    width: 75px;
    height: auto;
    z-index: 100;
    position: relative;
}

#headlogo-sm img.hamburger {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: auto;
}

#menu {
    min-height: 80px;
    background: linear-gradient(to right bottom, var(--black), 15%, var(--dark-red), 85%, var(--black));
    font-size: 18px;
    padding-left: 22%;
    padding-top: 14px;
    -webkit-box-shadow: 0px 2px 5px rgba(100, 100, 100, 0.49);
    -moz-box-shadow:    0px 2px 5px rgba(100, 100, 100, 0.49);
    box-shadow:         0px 2px 5px rgba(100, 100, 100, 0.49);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 50;
}

#menu ul {
    padding: 0;
}

#menu > li {
    list-style-type: none;
    float: left;
    padding: 15px 20px 15px 20px;
    color: var(--white);
    text-transform: uppercase;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#menu > li a {
    text-decoration:  none;
    color: var(--white);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#menu-sm {
    height: 0px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

#menu-sm > li {
    list-style-type: none;
    text-align: center;
    font-size: 32px;
    padding: 15px 20px 15px 20px;
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
}

#menu-sm > li > a {
    list-style-type: none;
    text-align: center;
    font-size: 32px;
    padding: 15px 20px 15px 20px;
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
}

#menu-sm.open {
    margin-top: 125px;
    visibility: visible;
    opacity: 1;
}

#topbar-sm {
    min-height: 50px;
    width: 100%;
    background: linear-gradient(to right bottom, var(--black), 15%, var(--dark-red), 85%, var(--black));
    color: #B22222;
    -webkit-box-shadow: 0px 2px 5px rgba(100, 100, 100, 0.49);
    -moz-box-shadow:    0px 2px 5px rgba(100, 100, 100, 0.49);
    box-shadow:         0px 2px 5px rgba(100, 100, 100, 0.49);
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    position: fixed;
    z-index: 10;
}

#topbar-sm.open {
    min-height: 1000px;
    color: var(--white);
}

#left-menu {
    background: linear-gradient(to right, var(--black), 1%, var(--grey));
    position: fixed;
    top: 0;
    height: 100%;
    padding-top: 150px;
    padding-left: 5%;
    font-size: 14px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#left-menu > h3 {
    color: var(--dark-grey);
    padding-bottom: 12px;
}

#left-menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#left-menu li {
    padding-bottom: 10px;
}

#left-menu i {
    color: var(--dark-grey);
}

#left-menu.shrink {
    padding-top: 100px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#left-menu.bottom {
    top: -100px;
    padding-top: 0px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#bottom-menu {
    font-size: 12px;
    padding-left: 5%;
}

#bottom-menu > h4 {
    color: var(--dark-grey);
}

#bottom-menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

/* #bottom-menu li {
    padding-bottom: 5px;
} */

/* Pagination */

.pagination > li > a {
    background-color: white;
    color: var(--dark-red);
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: var(--dark-red);
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a {
    color: white;
    background-color: var(--dark-red) !Important;
    border: solid 1px var(--dark-red) !Important;
}

.pagination > .active > a:hover {
    background-color: var(--dark-red) !Important;
    border: solid 1px var(--dark-red);
}

/* Page banners */

.page-banner {
    height: 300px !important;
    position: relative;
}

.page-banner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.page-banner .overlay-text {
    padding: 5px 0px 5px 25px;
}

/* Homepage */

.home-tile, .sponsor-tile {
    height: 200px !important;
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.home-tile > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.sponsor-tile > img {
    width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.home-tile .overlay-text {
    font-size: 20px;
}

.home-tile .overlay-date {
    font-size: 14px;
}

.home-tile:hover .red-overlay, .sponsor-tile:hover .red-overlay {
    visibility: visible;
    opacity: 0.4;
}

/* News */

.news {
    background-color: var(--white);
}

.news-highlight-image {
    height: 300px !important;
    overflow: hidden;
}

.news-highlight-image > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.news-highlight-image.empty {
    height: 50px !important;
    overflow: hidden;
    /* background-color: var(--grey); */
}

.news-highlight-text {
    position: relative;
    background-color: var(--white);
    width: 98%;
    margin-top: -40px;
    padding: 1px 20px 1px 20px;
    z-index: 5;
}

.news-other {
    padding: 1px 20px 1px 20px;
}

.news-other-image {
    height: 100px !important;
    padding: 15px;
}

.news-other-image > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.news-archive {
    padding: 10px 20px 1px 20px;
}

/* Hamburger menu */

#hamburger {
    width: 30px;
    height: 45px;
    top: 15px;
    right: 10px;
    position: absolute;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#hamburger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--white);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#hamburger span:nth-child(1) {
    top: 0px;
}

#hamburger span:nth-child(2) {
    top: 9px;
}

#hamburger span:nth-child(3) {
    top: 18px;
}

#hamburger.open span {
    background: var(--white);
}

#hamburger.open span:nth-child(1) {
    top: 9px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
    left: 60px;
}

#hamburger.open span:nth-child(3) {
    top: 9px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

#hamburger-menu-text {
    position: absolute;
    top: 16px;
    left: 50px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    color: var(--black);
    font-family: Helvetica, sans-serif;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    visibility: visible;
}

#hamburger-menu-text.open {
    visibility: hidden;
}

/* Footer */

#footer {
    background-color: var(--white);
    min-height: 200px;
    padding-bottom: 50px;
    bottom: 0px;
    position: relative;
}

.footer-sponsor {
    text-align: center;
}

.footer-sponsor img {
    width: 100%;
    position: relative;
}

.footer-part {
    padding: 15px 25px 0px 50px;
}

.footer-header {
    font-size: 24px;
    font-weight: bold;
}

.footer-part ul {
    padding: 10px 0px 0px 5px;
    list-style: none;
}

.footer-part ul.footer-contact {
    color: darkgrey;
}

.footer-part ul.footer-contact a {
    font-size: 14px;
    color: var(--dark-red);
}

.footer-part ul.footer-contact a:hover {
    text-decoration: underline;
    color: var(--dark-red);
}

.footer-part ul li a {
    color: var(--dark-grey);
    text-decoration: none;
    font-size: 16px;
}

.footer-part ul li a:hover {
    color: var(--dark-red);
}

/* De meer general containers */

.demeer-div-title {
    background: var(--black);
    color: var(--white);
    text-transform: uppercase;
    font-size: 20px;
    padding: 10px 10px 10px 20px;
    border-top: solid 7px var(--dark-red);
    border-left: solid 4px var(--dark-red);
    -webkit-box-shadow: 5px 0px 10px rgba(100, 100, 100, 0.49);
    -moz-box-shadow:    5px 0px 10px rgba(100, 100, 100, 0.49);
    box-shadow:         5px 0px 10px rgba(100, 100, 100, 0.49);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.demeer-div-container {
    border-left: solid 10px var(--dark-red);
    -webkit-box-shadow: 5px 5px 10px rgba(100, 100, 100, 0.49);
    -moz-box-shadow:    5px 5px 10px rgba(100, 100, 100, 0.49);
    box-shadow:         5px 5px 10px rgba(100, 100, 100, 0.49);
    margin-bottom: 25px;
    border-bottom-left-radius: 5px;
}

.padded-container {
    padding: 15px;
}

.padded-container ul {
    list-style-type: none;
}

.remove-container-margins {
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

/* Pages */

#page-content {
    margin: 40px 15px 15px 15px;
    min-height: 500px;
}

/* Carousels */

#sponsor-carousel .carousel-inner > .item {
    height: 250px !important;
}

#sponsor-carousel .carousel-inner > .item > a > img {
    width: 100%;
    object-fit: contain;
}

#news-carousel .carousel-inner > .item {
    height: 350px !important;
}

.carousel-inner > .item > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.carousel-inner > .item > .carousel-caption > a {
    color: var(--white);
    text-decoration: none;
}

.carousel-caption {
    text-shadow: 0 3px 5px var(--black);
}

/* Sponsors */

#main-sponsor img {
    width: 100%;
}

.sponsor-on-page {
  height: 300px;
  overflow: hidden;
  padding-bottom: 10px;
  padding-top: 10px;
}

.sponsor-on-page > a > img {
  max-width: 100%;
  max-height: 100%;
}

/* News */

.other-news-container {
    padding: 15px;
}

.other-news-container a {
    font-weight: bold;
    font-size: 18px;
}

.news-image > img {
    width: 100%;
}

/* Teams */

.team {
    min-height: 350px;
}

.team p {
    word-wrap: break-word;
}

/* Programme */

#programme li {
    list-style-type: none;
}

.game_details {
    cursor: pointer;
}

/* Cookie */

#cookie-message {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 25px;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 15px;
    z-index: 100000;
    font-size: 12px;
}

/* Signup forms */

#id_volunteering > li {
    list-style-type: none;
}

#id_volunteering > li > label {
    font-weight: normal;
}
