.hr{
    color: #e4322b;
    background-color: #e4322b;
}

@media only screen and (min-width: 768px) {
    .main_logo{
        width: 15%;
    }
    .navbar-mytime-backend {
        top: 0;
        width: 100%;
        color: white;
        height: 51px;
        z-index: 1000;
        position: fixed;
        min-width: 100%;
        min-height: 51px;
        border-radius: 0px;
        background-color: #3C3A3A;
    }
    .navbar-mytime-frontend{
        color: #ffffff;
        height: 75px;
        min-height: 75px;
        line-height: 75px;
        font-size: 22px;
        font-weight: 500;
        border-radius: 0px;
        white-space: nowrap;
        background-color: #3C3A3A;
    }
    .next-event-mytime{
        text-align: center;
        font-size: 20px;
        font-weight: 500;
    }
    .event-selector{
        margin-top: 15px;
        min-height: 30px;
        background-color: white;
    }
    .event-selector-list{
        line-height: 75px;
        white-space: nowrap;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
    }
    .navbar-nav > li > a {
        color: white;
    }

    .navbar-nav > li > a:hover {
        color: white;
        background-color: #605e5e;
    }

    .footer-mytime-backend {
        bottom: 0;
        width: 100%;
        color: white;
        height: 51px;
        position: fixed;
        min-width: 100%;
        min-height: 51px;
        padding-top: 13px;
        border-radius: 0px;
        vertical-align: middle;
        background-color: #3C3A3A;
    }
    .footer-mytime-frontend {
        bottom: 0;
        width: 100%;
        color: white;
        height: 40px;
        display: block;
        position: fixed;
        min-width: 100%;
        border-radius: 0;
        min-height: 40px;
        line-height: 40px;
        padding-top: 10px;
        white-space: nowrap;
        background-color: #3C3A3A;
    }

    a {
        color: #53b8ff;
    }

    a:hover {
        color: #457fd6;
    }

    a#mytime-logo {
        color: #53b8ff;
    }

    a#mytime-logo:hover {
        color: #457fd6;
    }

    .caret.caret-up {
        border-top-width: 0;
        border-bottom: 4px solid #fff;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a {
        color: white;
        background-color: #3C3A3A;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
        color: white;
        background-color: #3C3A3A;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:focus {
        color: white;
        background-color: #3C3A3A;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:active {
        color: white;
        background-color: #3C3A3A;
    }

    .navbar-nav > li > .dropdown-menu {
        color: black;
    }

    .dropdown-menu > li > a {
        padding-left: 10px;
    }

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background-image: none !important;
    }

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background-color: rgba(156, 217, 255, 0.68);
    }

    .nav > li > a:focus {
        background-color: #3C3A3A;
    }

    .mytime-body {
        width: 99.5%;
        margin-left: 0.25%;
        margin-right: 0.25%;
        margin-top: 50px;
        -webkit-box-shadow: 0px -5px 7px #333;
        -moz-box-shadow: 0px -5px 7px #333;
        box-shadow: 0px -5px 7px #333;
        min-height: 90vh;
    }

    .form-control{
        height: 40px;
    }

    .form-table{
        display: block;
        width: 50%;
        height: 30px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .form-horizontal .control-label {
        height: 40px;
    }

    .btn-primary {
        height: 40px;
        font-weight: 400;
    }

    .btn-primary:hover {
        height: 40px;
        font-weight: 500;
    }

    .btn-default {
        height: 40px;
        font-weight: 400;
    }

    .btn-default:hover {
        height: 40px;
        font-weight: 500;
    }

    .error {
        color: red;
    }

    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        margin-top: 7px;
        background-color: rgb(0, 0, 0); /* Fallback color */
        background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    }

    .modal-content {
        background-color: #fefefe;
        margin: 45px auto; /* 15% from the top and centered */
        padding: 20px;
        border: 1px solid #888;
        width: 60%; /* Could be more or less, depending on screen size */
    }

    .close {
        color: black;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close:hover, .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    .footer {
        position: fixed;
    }

    .event_management_table {
        width: 100%;
        border-width: 0;
    }

    .no_table_border {
        border-width: 0;
    }

    .button_add_event {
        background-color: #4CAF50;
        border: 1px solid green;
        color: white;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        cursor: pointer;
        float: left;
        border-radius: 4px;
        height: 40px;
        padding-top: 9px;
    }

    .modal-title {
        margin-top: 0;
        text-align: center;
    }

    .button_add_event:hover {
        background-color: #4CAF50;
        color: black;
    }

    .button_add_event:focus {
        background-color: #4CAF50;
        border: 1px solid green;
        color: black;
    }

    .button_add_event span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
        background-color: #4CAF50;
    }

    .button_add_event span:after {
        content: '>';
        position: absolute;
        opacity: 0;
        top: 0;
        right: -40px;
        transition: 0.5s;
        background-color: #4CAF50;
        padding-left: -20px;
    }

    .button_add_event:hover span {
        padding-right: 15px;
        background-color: #4CAF50;
    }

    .button_add_event:hover span:after {
        opacity: 1;
        right: 0;
        background-color: #4CAF50;
    }

    .modal-form {
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -webkit-transition: border-color ease-in-out 2s, -webkit-box-shadow ease-in-out 2s;
        -o-transition: border-color ease-in-out 2s, box-shadow ease-in-out 2s;
        transition: border-color ease-in-out 2s, box-shadow ease-in-out 2s;
    }

    .modal-title {
        margin-top: 0;
        text-align: left;
        font-size: xx-large;
        font-weight: 900;
    }

    .modal-close {
        margin-top: 0;
    }

    .form-row {
        margin-top: 35px;
    }

    .form-labels {
        color: rgba(41, 43, 40, 0.8);
        margin-top: 8px;
        font-size: large;
        font-weight: 600;
        text-align: right;
    }

    .btn-forms {
        margin-left: 6px;
    }

    .popover {
        max-width: none;
    }

    .popover-content {
        padding: 0;
        height: 250px;
        width: 500px;
    }

    #countryScroll {
        padding: 0;
        overflow-y: scroll;
        white-space: nowrap;
        width: auto;
        height: 320px;
    }
    #carScroll {
        padding: 0;
        overflow-y: scroll;
        white-space: nowrap;
        min-width: 400px;
        width: auto;
        height: 320px;
    }
    .popover-footer {
        margin: 0;
        padding: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        background-color: #ffffff;
        border-bottom: 1px solid #EBEBEB;
        border-radius: 5px 5px 0 0;
    }
}

@media only screen and (max-width: 768px) {
    .main_logo{
        width: 50%;
    }
    .main_text{
        font-size: 20px !important;
    }
    #eventListAll{
        text-align: center;
    }
    .modal-title {
        margin-top: 0;
        padding-top: 0;
        text-align: center;
    }

    .modal-close {
        min-height: 30px;
        margin-right: 5px;
    }

    .form-row {
        margin-top: 10px;
    }

    .close {
        margin-left: 5px;
        margin-top: 5px;
        color: black;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .form-labels {
        text-align: right;
        font-size: large;
        font-weight: 600;
    }

    .page-title {
        font-size: xx-large;
        font-weight: 800;
    }
    .navbar-mytime-backend {
        top: 0;
        width: 100%;
        color: white;
        height: 51px;
        z-index: 1000;
        position: fixed;
        min-width: 100%;
        min-height: 51px;
        border-radius: 0px;
        background-color: #3C3A3A;
    }
    .navbar-mytime-frontend{
        color: #ffffff;
        height: 75px;
        min-height: 75px;
        line-height: 75px;
        font-size: 22px;
        font-weight: 500;
        border-radius: 0px;
        white-space: nowrap;
        background-color: #3C3A3A;
    }
    .next-event-mytime{
        text-align: center;
        font-size: 20px;
        font-weight: 500;
    }
    .event-selector{
        margin-top: 15px;
        min-height: 30px;
        background-color: white;
    }
    .event-selector-list{
        line-height: 75px;
        white-space: nowrap;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
    }
    .navbar-nav > li > a {
        color: white;
    }

    .navbar-nav > li > a:hover {
        color: white;
        background-color: #605e5e;
    }

    .footer-mytime-backend {
        bottom: 0;
        width: 100%;
        color: white;
        height: 51px;
        position: fixed;
        min-width: 100%;
        min-height: 51px;
        padding-top: 13px;
        border-radius: 0px;
        vertical-align: middle;
        background-color: #3C3A3A;
    }
    .footer-mytime-frontend {
        bottom: 0;
        width: 100%;
        color: white;
        height: 75px;
        display: block;
        position: fixed;
        min-width: 100%;
        font-size: 10px;
        border-radius: 0;
        min-height: 75px;
        line-height: 75px;
        white-space: nowrap;
        background-color: #3C3A3A;
    }

    a {
        color: #53b8ff;
    }

    a:hover {
        color: #457fd6;
    }

    a#mytime-logo {
        color: #53b8ff;
    }

    a#mytime-logo:hover {
        color: #457fd6;
    }

    .caret.caret-up {
        border-top-width: 0;
        border-bottom: 4px solid #fff;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a {
        color: white;
        background-color: #3C3A3A;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
        color: white;
        background-color: #3C3A3A;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:focus {
        color: white;
        background-color: #3C3A3A;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:active {
        color: white;
        background-color: #3C3A3A;
    }

    .navbar-nav > li > .dropdown-menu {
        color: black;
    }

    .dropdown-menu > li > a {
        padding-left: 10px;
    }

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background-image: none !important;
    }

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background-color: rgba(156, 217, 255, 0.68);
    }

    .nav > li > a:focus {
        background-color: #3C3A3A;
    }
}

#stages_menu_penalties{
    right:0;
    width: auto;
}

.table-striped > tbody > tr:nth-child(even) > td,
.table-striped > tbody > tr:nth-child(even) > th {
    background-color: #eaeaea;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: white;
}

table, thead, th, td, tr {
    vertical-align: middle;
}
.table-responsive{
    padding-bottom:0px;
}

tr:hover > td {
  background-color: rgba(156, 217, 255, 0.68);
}

tr:hover > td {
  background-color: rgba(156, 217, 255, 0.68);
}

.outline {
    background-color: transparent;
    color: inherit;
    transition: all .25s;
}

body {
	font-family: 'Rubik', sans-serif;
}

#overall_table{
    margin-bottom: 80px;
}