﻿/*
    SportsPoint Main Site CSS
    ----------------------------
    Powered by Bootstrap 4
    Author: Pedro Blanco Suárez
*/

/* General */
body {
    font-family: 'Heebo', sans-serif;
}

/* Links */

a {
    color: #0366d6;
}

/* Buttons */

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Badges */
.badge-primary {
    color: #fff;
    background-color: #1b6ec2;
}

/* Borders */

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Navbar */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a.nav-link {
    color: #28a745;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

/* Home Jumbotron */

:root {
    --jumbotron-padding-y: 3rem;
}

.jumbo-main {
    padding-top: var(--jumbotron-padding-y);
    padding-bottom: var(--jumbotron-padding-y);
    margin-bottom: 0;
    background-color: #fff;
}

@media (min-width: 768px) {
    .jumbo-main {
        padding-top: calc(var(--jumbotron-padding-y) * 2);
        padding-bottom: calc(var(--jumbotron-padding-y) * 2);
    }
}

.jumbo-main p:last-child {
    margin-bottom: 0;
}

.jumbo-main-heading {
    font-weight: 300;
}

.jumbo-main .container {
    max-width: 40rem;
}

/* Lead Jumbotron */

.jumbo-lead {
    padding-top: var(--jumbotron-padding-y);
    padding-bottom: var(--jumbotron-padding-y);
    margin-bottom: 0;
    background-color: #f8f9fa;
}

.jumbo-lead-heading {
    font-weight: 300;
}

/* Card Images - Same Height */
@media (max-width: 768px) {
    .card-img-top-same-height {
        width: 100%;
        height: 30vw;
        object-fit: cover;
        border-top-left-radius: calc(.25rem - 1px);
        border-top-right-radius: calc(.25rem - 1px);
    }
}
@media (min-width: 768px) {
    .card-img-top-same-height {
        width: 100%;
        height: 10vw;
        object-fit: cover;
        border-top-left-radius: calc(.25rem - 1px);
        border-top-right-radius: calc(.25rem - 1px);
    }
}

/* Progress Bar */
.progress {
    background-color: #878d94;
}

.progress span {
    position: absolute;
    display: block;
    width: 90%;
}

/* Mapbox carrera detail container */
.leaflet-container {
    width: inherit;
    height: 350px;
}

/* Main-Page Video */
@media(min-width: 820px) {
    .video-jumbo {
        padding-top: 100px;
        padding-bottom: 100px;
        color: #ffffff;
        text-shadow: 0 0 10px black;
        background-color: #212529;
        overflow: hidden;
        position: relative;
    }

    .video-background {
        position: absolute;
        top: -30%;
        left: 0;
        width: 100%;
        height: auto;
    }

    .video-overlay {
        position: relative;
    }
}

@media(max-width: 820px) {
    .video-jumbo {
        color: #212529;
        background-color: #ffffff;
        background-position: center;
        background-size: cover;
    }

    .video-background {
        display: none;
    }

    .video-overlay {
        position: relative;
    }
}

/* Popovers */
.popover {
    max-width: 800px;
}