.region-header-drop-navigation {
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    top:0;
    right: 0;
}
.mobile-open .region-header-drop-navigation {
    display: block;
}
.dropmenu.mobile-open li a {
    border-bottom: 1px solid #fff;
    color: #fff;
    line-height: 3em;
    font-size: 1.2em;
    padding-left: 1em;
    font-weight: 500;
}

.dropmenu .block-mainmenu > ul > li > a {
    font-weight: 700;
    padding-left: 0;
}

.region-header-drop-navigation::after {
    background: linear-gradient(to right, #58CAF4 0%, #BE0F34 100%);
    content: ' ';
    width: 100%;
    height: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
}


.region-header-drop-navigation .menu-item a + ul::before {
    content: "\f054";
    font-family: 'FontAwesome';
    position: absolute;
    padding-left: 10px;
    cursor: pointer;
    top: 1em;
    right: 0;
    color: #fff;
}
.region-header-drop-navigation .menu-item.menu-selected > a + ul::before {
    content: "";
}
.dropmenu ul ul li {
    display: none;
}
.mobile-close i::after {
    content: "\f057";
}
.dropmenu.mobile-open li a:hover, .dropmenu.mobile-open li a:hover + ul::before {
    color: #58CAF4;
}
a.mobile-close {
    display: none;
}
.mobile-open a.mobile-back {
    color: #fff;
    z-index: 999;
    position: relative;
    height: 3em;
    font-size: .89rem;
    margin-right: 2em;
    border-bottom: 0;
    line-height: 3em;
    border-radius: 5px;
    bottom: 1em;
    left: 2em;
    top: 2em;
}

.mobile-open a.mobile-close {
    color: #fff;
    z-index: 999;
    display: block;
    min-width: 100px;
    right: 75px;
    position: relative;
    height: 3em;
    font-size: .89rem;
    margin-right: 2em;
    border-bottom: 0;
    background-color: #900;
    text-align: center;
    line-height: 3em;
    border-radius: 5px;
    position: absolute;
    bottom: 1em;
    right: 0;
    top: 3.5em;
    cursor: pointer;
}

.fa.mobile-menu-button {
    position: relative;
    width: 1em;
    margin-left: 1em;
    cursor: pointer;
}

.fa.mobile-menu-button:hover {
    color: #58CAF4;
}
.dropmenu {
    width: unset;
}

.mobile-open.dropmenu {
    position: absolute;
    top: -44px;
    width: 572px;
    right: 0;
    left: unset;
}
.dropmenu .rf-nav-search {
    display: none;
}

@media (max-width: 572px){
    .mobile-open.dropmenu {
        max-width: 100%;
        top: 80px;
    }
    .region-header-drop-navigation {
        width: 100%;
    }
    .mobile-open a.mobile-back {
        left: 0;
    }
    .mobile-open a.mobile-close {
        right: -1em;
        top: -4em;
    }
    .region-header-drop-navigation {
        padding-left: 33px;
        padding-right: 33px;
    }
    .mobile-open.dropmenu .rf-nav-search {
        display: block;
        z-index: 9;
        max-width: unset;
        margin: 2em;
    }
    .mobile-open.dropmenu.menu-selected  .rf-nav-search{
        display: none;
    }
    .dropmenu .menu {
        border-top: 1px solid #fff;
    }
}
.block-overheadernavigation .menu-item--expanded > a::after {
    content: "\f078";
    font-family: 'FontAwesome';
    line-height: 1em;
    padding: 0 2px;
    transition: transform .2s;
    display: inline-block;
}
.rf-resources-open.block-studentappsandresources h2::after, .rf-resources-open > a::after{
    transform: rotate(180deg);
}

.block-overheadernavigation .menu-item--expanded:last-child ul {
    position: absolute;
    background-color: #707070;
    min-width: 200px;
    z-index: 9;
    margin-left: .5em;
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s, display 0s;
    padding-bottom: 0px;
    border-radius: 0 0 5px 5px;
}

.block-overheadernavigation .menu-item--expanded.rf-resources-open:last-child ul {
    display: block;
    max-height: 100vh;
    padding-bottom: 10px;
}
.block-overheadernavigation .menu-item--expanded.rf-resources-open:last-child > a {
    color: #58CAF4;
}

.block-overheadernavigation .menu-item--expanded:last-child ul::before {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #8f010a;
    content: '';
    top: 0;
    position: absolute;
    left: calc(50% - 5px);
}

.block-overheadernavigation .menu-item--expanded:last-child ul::after {
    background: linear-gradient(to right, #58CAF4 0%, #BE0F34 100%);
    content: ' ';
    width: 100%;
    height: 10px;
    position: absolute;
    left: 0;
}
.block-overheadernavigation .menu-item--expanded:last-child ul li{
    display: block;
    border-bottom: 1px solid #fff;
}
.block-overheadernavigation .menu-item--expanded:last-child ul li a{
    display: block;
    line-height: 3em;
    font-weight: 500;
}
.block-overheadernavigation .menu-item--expanded:last-child ul li a::after {
    content: "\f054";
    font-family: 'FontAwesome';
    line-height: 3em;
    padding: 0 2px;
    right: 10px;
    position: absolute;
}
.block-overheadernavigation .menu-item--expanded:last-child ul li:last-child {
    border-bottom: 0;
}

.overheader a:hover {
    color: #58CAF4;
}

.block-studentappsandresources ul li a:hover {
    color: #58CAF4;
}


.align-center img,  .rf-accordion-body > .paragraph--type--simple-image img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}


@media(max-width: 600px) {
	#modal-container.gritter {
		max-width: 90%;
		right: auto;
		margin: 0 5%;
		top: 70px;
	}
	.rf-content-table {
		font-size: 12px;
	}
}



.lbp-controls input.cta-button, div.paragraph--type--cta-button .lbp-controls a {
    flex: unset;
}
a[href~="/tbd"]::after, a[href~="/TBD"]::after, a[href^="http://"]::after, a[href^="/www"]::after, a[href^="/uwrf/"]::after {
    background-color: #be0f34;
    content: '*';
    color: #fff;
}

.paragraph--type--simple-image picture, .paragraph--type--simple-image img {
    height: unset !important;
}

#rf-privacy {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 5%;
    background-color: #ccc;
    z-index: 999;
}
#rf-privacy > div {
}
#rf-privacy > div:first-child {
    padding-right: 40px;
}
#rf-privacy > div:first-child > a {
    color: inherit;
}
#rf-privacy > div:last-child {
    vertical-align: middle;
}
#rf-privacy > div:last-child > a {
    padding: 10px 20px;
    background-color: #be0f34;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    display: block;
}

@media (max-width: 620px){
    #rf-privacy {
        flex-flow: column;
    }
    #rf-privacy > div:last-child > a {
        margin-top: 1em;
    }
}

.user-logged-in {
    a[href*=".cfm"]::after, a[href*="www.uwrf.edu"][href$="/"]::after, a[href*="-auth.uwrf.edu"]::after, a[href*="-edit.uwrf.edu"]::after, a[href*="safelink"]::after,a[href*="www.uwrf.edu"][href*="/upload/"]::after {
        background-color: #be0f34;
        color: #fff;
        content: '*';
    }
}