html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-size: 16px;
}

.main-container {
    max-width: 100%;
    /*margin-top: 60px;*/
}

a {
    color: #1A5575;
}

.navbar {
    overflow: hidden;
    /*position: fixed;*/
    top: 0;
    width: 100%;
    z-index: 1000;
}
.navbar-brand {
    display: block;
    padding-top: 5px;
}
#home-sub-header {
    margin-top: 25px;
}


@media (min-width: 1400px) {
    #home-sub-header {
        max-width: 90%;
        margin: 25px auto;
    }
}

/*Helpers*/
.full-width {
    width: 100%;
    min-width: 100%;
}
.link-style {
    text-decoration: underline;
    color:#1A5575;
}
    .link-style:hover {
        cursor: pointer;
    }

.spacer {
    height: 35px;
    border-top: 1px solid #bebebe;
    margin-top: 35px;
    width: 275px;
}

#hidden-link {
    display: none;
}

.pl-4 {
    padding-left: 1.5em;
}
.alert p {
    margin: 0;
}
@media screen and (max-width: 768px) {
    #hidden-link {
        display: block;
        margin-bottom: 15px;
    }
    #calendar-block {
        height: 35px;
    }
}

/*Sidebar menu*/
/* The sidebar menu */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */

    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.2s; /* 0.5 second transition effect to slide in the sidebar */
    z-index: 1001;
}

    /* The sidebar links */
    .sidebar a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 18px;
        color: #FFF !important;
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        .sidebar a:hover {
            color: #135B64 !important;
        }

    /* Position and style the close button (top right corner) */
    .sidebar .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

/* The button used to open the sidebar */
.openbtn {
    font-size: 18px;
    cursor: pointer;
    border: 1px solid #15364E;
    outline: 1px solid #FFF;
    outline-offset: -3px;
    color: #FFF;
    padding: 8px 20px;
    background-color: #135B64;
    border-radius: 5px;
}

    .openbtn:hover {
        background-color: #FFF;
        color: #15364E;
        outline-color: #15364E;
    }

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s; /* If you want a transition effect */
    padding: 20px;
}

.main-container {
    padding: 0;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

        .sidebar a {
            font-size: 18px;
        }
}

/*Home*/
#calendar-block {
    height: 15px;
}
#home-header {
    background-color: #D3E4ED;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo-figure {
    text-align: center;
}

#logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    padding-right: 20px;
}

#logo-figure figcaption {
    padding-top: 10px;
}

.welcome {
    font-family: Garamond;
    font-size: 2.6rem;
}

/*Search box*/
#example_filter label {
    margin-right: 10px;
}

.search-box-help {
    color: #135B64;
    font-weight: 600;
}

/*Download buttons*/
.dt-buttons {
    margin-right: 15px;
}

/*Pagination*/
a.paginate_button {
    padding: 5px;
}

/*Tables*/
.table-wrapper {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 20px;
}

.page-header {
    padding-top: 20px;
}

table {
    caption-side: top;
    max-width: 90%;
    margin: 0 auto;
}

    table.dataTable {
        margin-top: 35px !important;
    }

tr > td:first-child {
    max-width: 250px;
}

/*
.start-time {
    min-width: 100px;
}
*/

#example > thead > tr > th:nth-child(1) {
    width: 90px;
}

.def-div {
    max-width: 350px;
}

.case-div {
    min-width: 8vw;
}

.court-div {
    max-width: 130px
}

.judge-div {
    max-width: 230px
}

.attorney-items {
    line-height: 18px;
    margin: 0;
}

/*Scroll to top*/
#topScrollBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #135B64;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#example_paginate a:hover {
    cursor: pointer;
}

/*Loader*/
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid blue;
    border-bottom: 16px solid blue;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 45%;
    left: 45%;
    font-size: 50px;
    transform: translate(-45%,-45%);
    -ms-transform: translate(-45%,-45%);
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*Mobile fixes*/
@media screen and (max-width: 1364px) {
    .welcome {
        font-size: 2rem;
    }
    .navbar-brand {
        display: none;
    }
}
@media screen and (max-width: 834px) {
    .welcome {
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 768px) {
    .openbtn {
        display: block;
        margin: 0 auto;
        background: #FFF;
        border: 1px solid #15364E;
        color: #15364E;
    }
    .main-container {
        margin-top: 70px;
    }
    #home-header {
        text-align: center;
    }
}
@media screen and (max-width: 576px) {
    .navbar-toggler {
        display: none;
    }
    .main-container {
        margin-top: 90px;
    }
    .openbtn {
        width: 45vw;
        font-size: 16px;
    }
}

@media screen and (max-width: 330px) {
    .welcome {
        font-size: 1.5rem;
    }
    .openbtn {
        font-size: 14px;
        width: 45vw;
    }
}