/* Miligram overrides */
body {
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 400;
}

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: Tahoma, Arial, sans-serif;
    text-transform: capitalize;
}

.top-nav-links a {
    white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #363637;
    font-family: Tahoma, Arial, sans-serif;
    text-transform: capitalize;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

a:hover,
a:focus,
a:active  {
    color:#2a6496;
    -webkit-transition:all 0.2s ease-out;
    transition:all 0.2s ease-out;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #AAA1A1;
}
.actions a:hover {
    text-decoration: underline;
}
.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: Tahoma, Arial, sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);

}
.table-responsive td {
    overflow: hidden;
    max-width: 300px;
    text-overflow: ellipsis;
}
.table-responsive tr{
    background-color: #f8f6f6;
    text-align: left;
    border-bottom: 1px solid #dddddd;
}



/* Main */
body {
    background: #f5f7fa;
}
.content {
    padding: 2rem;
    /*background: #ffffff;
    border-radius: 0.4rem;
    Thanks Stripe
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
    0 3px 6px 0 rgba(0, 0, 0, 0.07);*/
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    background-color: #7CAEE1FF;
}

/* Nav bar */
.top-nav {
    max-width: 120rem;
    padding: 2rem;
    margin: 0 auto 1rem;
}
.top-nav-title a {
    font-size: 2.8rem;
    /*color: #d33c43;*/
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
    font-size: 2rem;
    color: #74afec;
}
.top-nav-links a:hover {
    text-decoration: underline;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
    font-size: 3rem;
}
.side-nav-item:hover {
    text-decoration-line: underline;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d0e8f5;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

/* Main content container */
@media screen and (min-width: 1280px) {
    .container {
        min-width: 132.0rem;
    }
}
@media screen and (min-width: 1000px) {
    .container {
        min-width: 88.0rem;
    }
}
@media screen and (min-width: 800px) {
    .container {
        min-width: 44.0rem;
    }
}

.column-responsive table {
    table-layout:fixed;
}

.column-responsive table th {
    /*white-space: nowrap;*/
    width: 160px;
}

.column-responsive table td {
    overflow: hidden;
    /*max-width: 500px;*/
    text-overflow: ellipsis;
}

blockquote {
    overflow: hidden;
}

/* Breadcrumbs for navigation */
.breadcrumbs {
    margin-top: 15px;
    margin-bottom: 18px;
    font-size: 2rem;
    color: #ddd;
    text-transform: capitalize;
    padding-bottom: 12px;
}
.breadcrumbs a {
    color: #74afec;
    font-weight: bold;
}
/*.breadcrumbs a:first-child:before {
    content: ' ';
}*/
.breadcrumbs a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    /*.side-nav {
        margin-bottom: 1rem;
    }*/
    /*.heading {
        margin-bottom: 1rem;
    }*/
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
        font-size: 3rem;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}

.img-thumb {
    max-width: 300px;
    max-height: 300px;
    border-radius: 12px;
}
.img-img-thumb {
    max-width: 300px;
    max-height: 300px;
    border-radius: 12px;
    /*margin-right: 15rem;
    margin-left: 15rem;
    margin-top: 7rem;
    margin-bottom: 7rem;*/
}
.profile-image-container {
    margin-right: 20px;
}
.profile-info-container {
    display: flex;
    align-items: center;
}

/* Begin state tile-related styles */
.state-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;

    width: calc(33% - 20px);
    height: calc(240px + 3rem);

    float: left;

    border-radius: 0.4rem;
    font-size: 2.18rem;
    column-gap: 0.875rem;
    margin: 10px;
    color: black;

    transition: box-shadow 0.1s;
}
.state-tile img {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.25));
}
@media screen and (max-width: 1280px) {
    .state-tile {
        width: calc(50% - 20px);
    }
}
@media screen and (max-width: 1000px) {
    .state-tile {
        width: calc(100% - 20px);
        height: 170px;
    }
    .state-tile img {
        max-height: 100px !important;
    }
}
@media screen and (max-width: 500px) {
    .mobile-hide {
        display: none;
    }
}

.state-tile:hover {
    font-weight: bold;
    box-shadow: 0 7px 14px 0 rgb(129, 136, 136), 0 3px 6px 0 rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s;
    background: #c3cece;

}
.card-grid:hover > .card:not(:hover) .card__background{
    filter: brightness(0.5) saturate(0) contrast(1.2) blur(20px);
}
.state-tile:active:hover {
    background: #f8f6f6;
}
.state-tile img {
    width: 200px;
    height: 200px;
}
.txt:hover {
    text-decoration: underline;
}
/* End state tile-related styles */

.capitalize-text {
    text-transform: capitalize;
}
