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

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #363637;
}

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 easeout;
    transition:all 0.2s ease-out;
}

ul {
    list-style-type: none;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.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;
}

/* Main */
body {
    background: #fff;
}
/*.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;
}
.actions a:first-child {
    padding-left: 0;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 2rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    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;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* 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: #d3b800;
}
.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;
}

button,
input[type='submit'] {
    background: #c24410;
    border-color: #c24410;
}

button:hover,
input[type='submit']:hover {
    background: #e84400;
    border-color: #e84400;
}

/* 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";
}

.active {
    font-weight: bold;
}

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

.search-wrapper input[type='text'] {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    margin-right: -3px;
}

.minisites.content h1 {
    text-align: center;
}

.minisites.content .main-bio-birth {
    font-style: italic;
    margin-bottom: 10px;
}

.btn-link {
    display: block;
    width: max-content;
    padding: 4px 10px;
    background: #2f85ae;
    color: white;
    border-radius: 0.4rem;
    text-decoration: none;
    transform: all 0.3s;
}

.btn-link:hover {
    background: #2f85ae30;
    color: #606c76;
}

body .row {
    margin: 0;
    width: 100%;
}

.main_menu a {
    color: #c24410;
    font-weight: bold;
}

.main_menu li:hover a,
.main_menu li.active a {
text-decoration: underline;
}

.main .menu {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.main .slider {
    margin-bottom: 30px;
}

.main .slider h1 {
    margin-top: 16px;
}

.main .items-list-wrapper .item-title {
    font-weight: bold;
    font-size: 18px;
}

.footer {
    background: #2f85ae;
    color: white;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.footer h2 {
    color: white;
}

.slideshow-page .bx-wrapper {
    box-shadow: none;
}

.slideshow-page .bx-wrapper .bx-pager.bx-default-pager a {
    background: #2f85ae;
}

.slideshow-page  .bx-wrapper .bx-pager.bx-default-pager a.active,
.slideshow-page  .bx-wrapper .bx-pager.bx-default-pager a:focus,
.slideshow-page  .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #005a85;
}

.sitemap-content  .image-wrapper,
.sitemap-content .image-description {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sitemap-content h2 {
    font-size: 24px;
}

.sitemap-content .image-title{
    font-size: 22px;

}

.sitemap-content .image-title a {
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@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;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}

@media screen and (min-width: 640px) {
    .links-content .links-wrapper {
        display: block;
        top: 0;
        margin: 0;
        width: 100%;
        text-align: left;
        -moz-column-count: 2;
        column-count: 2;
        -moz-column-gap: 50px;
        column-gap: 50px;
        -moz-column-break-inside: avoid;
        break-inside: avoid-column;
        page-break-inside: avoid;
        position: relative;
        -moz-column-rule: 1px solid #eee;
        column-rule: 1px solid #eee;
        height: 100%;
        padding: 0;
    }
}

@media screen and (min-width: 768px) {
    .links-content .links-wrapper {
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media screen and (min-width: 1024px) {
    .links-content .links-wrapper {
        -moz-column-count: 4;
        column-count: 4;
    }
}

.portrait {
    max-width:300px;
}