﻿/* pushes the footer down on smallish pages,   */
/* adjust if footer height changes drastically */


main {
    min-height:75vh;
}


/* megamenu styling */
.navbar .megamenu {
    padding: 1rem;
}

@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }
}

@media(max-width: 991px) {
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}

.MNFeatureImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0px 7px 4px 0px;
}

.navbar-brand img{
    margin-right:.5rem;
}

/* image handling in the carousel */
.carousel {
    padding-left:0px;
    padding-right:0px;
}

.carousel-item {
    position: relative;
    overflow: hidden;
}
      
    .carousel-item img {
    object-fit:cover;
    }

/* fixes unwanted padding on card images */
.card {
    padding-right:unset;
    padding-left:unset;
}


.bs-underline {
    text-decoration:none;
}

.bs-underline:before {
    content: "";
    height: .25em;
    width: 0;
    position: absolute;
    bottom: -.35em;
    background: #ff5840;
    overflow: hidden;
    -webkit-transition: width .5s ease-in-out;
    transition: width .5s ease-in-out;
}

.bs-underline:hover:before {
    width: 100%
}



/* for message pop ups from workflows */

.alert-fixed {
    position: absolute;
    width: 100%;
    z-index: 9999;
}

.alert-success, .message-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-warning, .message-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-info, .message-information {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-danger, .message-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.post-title {
    font-size: 4.2rem;
    font-weight: 700 !important;
}

.post-body {
    line-height: 1.6;
}



.img-circular {
    width: 250px;
    height: 250px;
    background-size: cover;
    display: block;
    border-radius: 125px;
    -webkit-border-radius: 125px;
    -moz-border-radius: 125px;
}
.circular--landscape {
    display: inline-block;
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 50%;
}

    .circular--landscape img {
        width: auto;
        height: 100%;
        margin-left: -50px;
    }

.taxonomy-tag-term {
    position: relative;
    margin: 0 5px 0 10px;
    display: inline-block;
    height: 26px;
    padding: 0 20px 0 20px;
    font-size: 12px;
    line-height: 25px;
    cursor: pointer;
    font-weight: 500;
    margin: 20px 25px;
    background: #9db9db;
    transition: background 0.3s;
    border-radius: 15%;
    color: white;
    text-decoration:none;
}
    .taxonomy-tag-term:hover {
        background: #243a56;
        color: #ffffff;
    }

.center-cropped {
    object-fit: cover;
    object-position: center;
    height: 400px;
    width: 200px;
}
.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
.tilt-shift {
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:0 0 1em blue;
    float:left;
    transform: translateX(-60px);
    z-index:9999;
}