html {
    --purple: #6706a5;
    --orange: #ef7625;
    --dark-gray: #7a7a7a;
    --text: #54595f;
    --light-gray: #f1f1f1;
    font-size: 18px;
    overflow-x: hidden;
}

@media (max-width: 500px) {
    html {
        font-size: 16px;
    }
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/*This changes the box model of everything in the website and can be overwriten per component if needed. To read more about box-sizing and why you'd want to overwrite it see https://css-tricks.com/international-box-sizing-awareness-day/ or https://www.w3schools.com/cssref/css3_pr_box-sizing.asp*/


/*--------------------------------------------------------
	Font Assignments
--------------------------------------------------------*/

body {
    font-size: inherit;
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

p {
    margin-bottom: .75rem;
}

#subpage-main p:empty {
    display: none;
}


/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .5em;
    padding: 0;
    color: var(--orange);
    font-weight: bold;
}

h1 {
    font-size: 2.1rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.1rem;
}

h1.title {
    color: white;
}

h1.title:empty {
    display: none;
}


/*^^Hides the extra margin that is added on pages without a title*/

#subpage-main p:not(:empty)+h2,
#subpage-main p:not(:empty)+h3,
#subpage-main p:not(:empty)+h4,
#subpage-main ul+h2,
#subpage-main ul+h3,
#subpage-main ul+h4,
#subpage-main table+h2,
#subpage-main table+h3,
#subpage-main table+h4 {
    margin-top: 1.5em;
}

#subpage-main h2+ul,
#subpage-main h3+ul,
#subpage-main h4+ul {
    margin-top: -.75rem;
    /*Adjusts for the margin-bottom placed on these headings to make the ul's look like they belong to that heading*/
}


/*--------------------------------------------------------
	LINKS
--------------------------------------------------------*/

a {
    color: var(--orange);
    transition: .125s ease-in-out opacity;
}

a:hover,
a:focus {
    opacity: .8;
}

a.button {
    background: var(--orange);
    font-weight: bold;
    font-size: 16px;
    padding: 0.6em 1.6em;
    border-radius: 3px;
    color: white;
    display: inline-block;
    margin-top: 1em;
}

a.button:hover,
a.button:focus {
    text-decoration: none;
}

a.button+* {
    padding-top: 1.5em;
}


/*--------------------------------------------------------
	Backgrounds
--------------------------------------------------------*/

[class $="-background"] {
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 2;
}

[class $="-background"]::before {
    content: '';
    margin-left: -50vw;
    margin-right: -50vw;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    width: 100vw;
    background: inherit;
    z-index: -1;
}

#homepage-main [class $="-background"] {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 767px) {
    [class $="-background"] {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    #homepage-main [class $="-background"] {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

[class $="-background"]:not(.light-gray-background):not(.white-background) {
    color: white;
}

#v_contain+.container [class $="-background"] {
    background: white;
    color: var(--text);
    padding-top: 0;
    padding-bottom: 0;
}

#v_contain+.container [class $="-background"]::before,
#v_contain+.container [class $="-background"]::after {
    content: none;
}

.photo-background::before {
    background-image: url(../images/WIT-home-background-2.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.photo-background::after {
    content: '';
    background-color: rgba(0, 0, 0, .5);
    margin-left: -50vw;
    margin-right: -50vw;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    width: 100vw;
    z-index: -1;
}

.purple-background {
    background: var(--purple);
}

.orange-background {
    background: var(--orange);
}

.dark-gray-background {
    background: var(--dark-gray);
}

.orange-background *:not(.button),
.purple-background *:not(.button),
.photo-background *:not(.button) {
    color: currentColor;
}

.light-gray-background {
    background: var(--light-gray);
}

.orange-background .highlight {
    color: var(--purple);
}

.purple-background .highlight {
    color: var(--orange);
}

.photo-background a.button,
.orange-background a.button {
    background: var(--purple);
}


/*--------------------------------------------------------
	Objects
--------------------------------------------------------*/

grammarly-extension {
    display: none;
}


/*----------------------Wrappers----------------------*/


/* .wrapper acts as a more symantic stand in for <container><row><col-md-12></col-md-12></row></container> in sections of this build that don't require stacking columns */

.wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    height: inherit;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width:768px) {
    .wrapper {
        width: 750px;
    }
}

@media (min-width:992px) {
    .wrapper {
        width: 970px;
    }
}

@media (min-width:1200px) {
    .wrapper {
        width: 1170px;
    }
}

@media (min-width:1280px) {
    .wrapper {
        width: 1250px;
    }
}

#subpage-main img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.card {
    border: 1px solid var(--dark-gray);
    border-radius: 3px;
    padding: 2.5rem;
    font-size: 16px;
    background: transparent;
    transition: .125s ease-in-out background;
    margin-bottom: 2rem;
}

.card:hover {
    background: white;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card p {
    text-align: center;
}

.card img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
}

.card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 990px) {
    .card h1,
    .card h2,
    .card h3,
    .card h4,
    .card p {
        text-align: left;
    }
}

@media (min-width: 767px) {
    .card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .card:last-child {
        margin-bottom: 0;
    }
}

figcaption {
    font-style: italic;
    font-size: .9em;
    padding-top: 5px;
}

@media (max-width: 767px) {
    figcaption {
        font-size: 1em;
    }
}

@media (min-width: 767px) {
    /*The following styles are meant to give more space to the label column in contact forms that are too narrow for the entire label to be read normally*/
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-2 {
        width: 25%;
        padding-right: 1em;
    }
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-10 {
        width: 75%;
        padding-left: 0;
    }
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-offset-2 {
        margin-left: 25%;
    }
    /*^^Adjusts the form-group placement of the reCAPTCHA iframe and submit buttom to match the new widths from the styles above*/
}

blockquote {
    font-size: inherit;
}


/*Styles below are taken from Bootstrap's table style to ensure that tables on content pages are responsive and neat whether Bootstrap classes are added or not*/

#subpage-main table {
    max-width: 100%;
    border-collapse: collapse;
    color: #212529;
    margin-bottom: 1em;
}

#subpage-main table td,
#subpage-main table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: inherit;
}

#subpage-main table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    border-top: none;
}

#subpage-main table caption {
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #6c757d;
    text-align: left;
    caption-side: bottom;
}

#subpage-main table tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, .075);
}

grammarly-btn {
    display: none;
    /*If someone copy/pastes text from Grammarly it will add this invisible button and cause the page to scroll horizontally. This style hides that.*/
}

.large-text {
    font-size: 1.3em;
}

.checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 1em;
}

.checklist li::before {
    content: '☑';
    margin-right: 0.6ch;
    display: inline-block;
    color: var(--purple);
}

[class $="-background"]:not(.light-gray-background):not(.white-background) .checklist li::before {
    color: white;
}


/*-Non-homepage main -Slideshows----------*/

.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    /*Overwrite BS defaults*/
    background-image: none;
    z-index: 2;
}

.carousel-indicators {
    bottom: -20px;
}

.carousel-indicators li {
    border-color: var(--orange);
    background: white;
}

.carousel-indicators li.active {
    background: var(--purple);
    border-color: white;
}

.carousel .col-sm-2 img {
    max-width: 100%;
    display: block;
    height: auto;
    margin: auto;
}


/*-end Non-homepage main -Slideshows----------*/

code {
    padding: .125rem .5rem;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0;
    color: lime !important;
    display: inline-block;
    white-space: pre;
}


/*--------------------------------------------------------
	Top of Site Announcements
--------------------------------------------------------*/

#top-announcements:empty {
    display: none;
}

#top-announcements {
    background: var(--orange);
    color: white;
    text-align: center;
    padding: 2.5px;
}


/*--------------------------------------------------------
	Header
--------------------------------------------------------*/

header {
    /* border-top: 5px solid var(--orange); */
}

#logo-row img {
    padding: 1rem 1rem 2rem;
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (min-width: 991px) {
    #logo-row img {
        width: 60%;
    }
}


/*--------------------------------------------------------
	Desktop Navigation
--------------------------------------------------------*/

nav#menu {
    background: var(--light-gray);
    font-family: 'Roboto', sans-serif;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

nav#menu>ul {
    /*Top level menu*/
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    nav#menu>ul {
        /*Top level menu*/
        display: none;
    }
}

nav#menu>ul>li {
    position: relative;
    flex-grow: 1;
    overflow-wrap: break-word;
    height: inherit;
}

#menu a {
    /*Any level navigation link*/
    color: var(--dark-gray);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

#menu>ul>li>a {
    /*Top level navigation link*/
    text-decoration: none;
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    height: inherit;
}

#menu>ul>li>a:hover,
#menu>ul>li>a:focus {
    background: var(--orange);
    color: black;
    text-decoration: none;
}

#menu>ul>li>a:not(.login-link)::before {
    content: '';
    position: absolute;
    bottom: -12px;
    height: 5px;
    background: var(--red);
    transition: width .125s ease-in;
    width: 0;
    left: -.25em;
    right: -.25em;
}

#menu>ul>li>a:not(.login-link):hover::before,
#menu>ul>li>a:not(.login-link):focus::before {
    width: calc(100% + .5em);
}


/*Carats*/

#menu a.submenu-parent:after {
    content: "\25BE";
    font-size: .9em;
    padding-left: .25em;
    display: inline-block;
}

#menu .submenu-parent+ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 230px;
    margin: 0px;
    font-size: inherit;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 0px;
    box-shadow: none;
    padding: .5em 1em;
    background: var(--light-gray);
}


/* ^^ Dropdown submenus*/

#menu ul ul .submenu-parent+ul {
    left: calc(100% + 15px);
    top: 0;
}


/*^^ Submenus of submenus*/

#menu .submenu-parent+ul li {
    display: block;
    float: none;
    /*padding-right: .5em;*/
    position: relative;
}


/* ^^ Dropdown submenu list items*/

#menu .submenu-parent+ul a {
    width: auto;
    padding: .5em 0;
    display: inline-block;
    text-decoration: none;
    color: var(--blue);
}

#menu .submenu-parent+ul a.submenu-parent:active,
#menu .submenu-parent+ul a.submenu-parent:focus {
    font-weight: bold;
}

#menu ul li a.submenu-parent.active+ul {
    display: block;
}

@media (min-width: 767px) {
    #mobileMenuWrapper {
        display: none;
    }
}

@media (max-width: 767px) {
    #mobileMenuWrapper {
        width: 250px;
        position: fixed;
        top: 0;
        left: -120%;
        bottom: 0;
        background: var(--light-gray);
        box-shadow: 0px 0.86px 0.43px rgba(0, 0, 0, 0.5);
        z-index: 200;
        max-width: 90vw;
        overflow: auto;
        padding: 1.5em;
        transition: all 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    }
    #mobileMenuWrapper.open {
        left: 0;
    }
    #mobile-menu,
    #mobile-menu ul {
        list-style-type: none;
        margin-left: 0;
        padding-left: 0;
    }
    #mobile-menu li {
        display: block;
        margin-left: 0;
        padding-left: 0;
    }
    #mobile-menu a {
        display: inline-block;
        width: 100%;
        text-decoration: none;
        color: var(--dark-gray);
        font-weight: bold;
        margin-bottom: .75rem;
    }
    #mobile-menu .mDropdown {
        color: var(--text);
        border-left: .5em solid var(--light-gray);
        padding-left: .5em;
        display: none;
    }
    #mobile-menu .mDropdown.open {
        display: block;
    }
}

@media (max-width: 990px) and (min-width: 900px) {
    .home-link {
        display: none;
    }
}

#mobileMenuWrapper .mobileMenuTrigger {
    text-align: right;
}

#menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    border: none;
    background: none;
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
}

@media (min-width: 768px) {
    #menu-button {
        display: none;
    }
}

#menu_toggle {
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-top: .8rem;
    margin-bottom: .8rem;
}

#menu_toggle rect {
    fill: transparent;
}

#menu_toggle line {
    stroke-width: 3px;
    stroke-linecap: round;
    stroke: var(--orange);
}


/*--------------------------------------------------------
					Mobile Menu
--------------------------------------------------------*/

@media (min-width: 990px) {
    #header-links-mobile {
        display: none;
    }
}

@media (max-width: 990px) {
    header {
        box-shadow: 4px 7px 20px rgba(0, 0, 0, .2);
    }
    header::before {
        content: '';
        filter: drop-shadow(4px 7px 20px rgba(0, 0, 0, .2));
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--cyan);
    }
    /*	.navbar::before, .navbar::after {
		content: none;
	}*/
    /* .navbar {
        max-width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    } */
    /* .navbar-collapse.collapse {
        position: absolute;
        top: 100%;
        z-index: 1;
        transition: .5s ease-in top;
        top: -100vh;
        left: calc(50% - 9px);
        margin-left: -50vw;
        right: 0;
        padding: 0;
        width: 100vw;
    } */
    /* .navbar-collapse.collapsing {
        overflow: hidden !important;
        top: -100vh;
    } */
    .navbar-collapse.collapse.in {
        /*	    opacity: 1;
	    max-height: unset;*/
        /* top: 100%; */
        /*overflow: visible !important;*/
    }
    .navbar-collapse.collapse>ul {
        /* display: block;
        background: var(--cyan);
        float: none; */
        /*overflow: hidden;*/
    }
    #header-links-mobile {
        display: flex;
        font-size: 14px;
        justify-content: space-around;
        max-width: 200px;
        margin: 1em auto;
    }
    /* .navbar-nav.nav {
        margin: 0;
    } */
    /* .navbar-nav::before {
        content: '';
        filter: drop-shadow(4px 7px 20px rgba(0, 0, 0, 0.75));
        top: 100%;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--cyan);
        display: block;
    } */
    /* .nav li {
        float: none;
        display: block;
        border-top: 1px solid #66C3EB;
        transition: .125s ease-in border-color;
    }
    .nav>li>a,
    .nav a {
        font-size: 17px;
        padding: 1rem 2rem;
    } */
    #header-links-mobile li,
    #header-links-mobile a {
        display: inline-block;
        font-size: inherit;
        border: none;
    }
    #header-links-mobile a:hover,
    #header-links-mobile a:focus {
        text-decoration: none;
    }
    /* .nav a.dropdown-toggle:not(.search-button)::after {
        position: absolute;
        right: 2rem;
    } */
    /* .nav .dropdown-menu {
        position: relative;
        float: none;
        background: inherit;
        box-shadow: none;
    } */
    .nav .dropdown-menu li:first-child {
        /*border-color: var(--dark-blue);*/
    }
    .nav .dropdown-menu a,
    .navbar-nav .open .dropdown-menu>li>a {
        /*Second selector added to overwrite Bootstrap style for same elements at smaller sizes*/
        /* font-weight: normal;
        padding: 1rem 2.5rem;
        color: white; */
    }
    /* .nav .dropdown-menu a::before {
        content: '';
        display: inline-block;
        width: 0.4em;
        height: 0.4em;
        background: white;
        border-radius: 50%;
        margin-right: .5ch;
        position: relative;
        top: -.25em;
        left: -.75ch;
    }
    .nav .dropdown-menu>li>a:hover,
    .nav .dropdown-menu>li>a:focus {
        color: var(--dark-blue);
    }
    .navbar-toggle.collapsed,
    .navbar-toggle {
        background: var(--light-blue);
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 0;
        display: flex !important;
        align-items: center;
        order: 3;
        float: none;
        margin: 0;
        margin-left: 2ch;
        z-index: 4;
    } */
}


/*--------------------------------------------------------
					Index / Main Body
--------------------------------------------------------*/

main {
    min-height: calc(100vh - 270px - 58px);
    /*The minimum height of the main section of the page should be the height of the screen minus the header and footer*/
    position: relative;
}

#mms-main {
    font-size: 16px;
}

#subpage-main,
#mms-main {
    margin-bottom: 2.5em;
}

@media (max-width: 900px) {
    #subpage-main,
    #mms-main {
        margin-bottom: 2em;
    }
}

@media (min-width: 990px) {
    #homepage-main,
    #subpage-main {
        line-height: 1.7em;
    }
}

@media (min-width: 767px) {
    .row+.row {
        margin-top: 2em;
    }
}

@media (max-width: 767px) {
    [class*="col-md"] {
        margin-bottom: 2em;
    }
}


/*^^These two styles can be tweaked if needed, but they are a handy default for spacing rows (and then columns once the screen hits the col-xs breakpoint on subpages*/


/*----------------Slideshow----------*/

#home-slide-row {
    margin-top: -1rem;
}

#home-slide-row>div {
    margin-bottom: 0;
}

#home-slide-row img {
    object-fit: cover;
    width: 100%;
    object-position: center;
    transform: scale(1.1);
    transition: 3.5s ease-out transform;
}

#home-slide-row .active img {
    transform: scale(1);
}

#home-slide-row .carousel-control {
    opacity: .8;
    font-weight: bolder;
    top: calc(50% - 7vh);
    font-size: 7vh;
}

#home-slide-row .carousel-indicators {
    display: none;
}

#home-slide-row .carousel-caption {
    position: absolute;
    z-index: 1;
    padding: 0;
    left: 0;
    bottom: 0px;
    right: 0px;
    top: 0;
    width: 100%;
    text-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

#home-slide-row .carousel-caption:hover,
#home-slide-row .carousel-caption:focus {
    transition: .5s ease-in-out transform;
    transform: scale(1.1);
}

#home-slide-row .caption-wrapper {
    transform: translateY(100px);
    opacity: 0;
    transition: .5s ease-out opacity, .5s ease-out transform;
}

#home-slide-row .active .caption-wrapper {
    transform: translateY(0px);
    opacity: 1;
}

#home-slide-row .carousel-caption p.caption-text {
    font-size: 35px;
    font-weight: 600;
    line-height: 33px;
    display: block;
    color: white;
    margin-bottom: 10px;
}

#home-slide-row .carousel-caption p.alt-text {
    font-size: 16px;
    color: white;
    margin-top: .5rem;
    font-weight: bold;
    padding: .5em 1em;
    border-radius: 3px;
    border: 1px solid white;
    display: inline-block;
}

#home-slide-row :hover p.alt-text,
#home-slide-row :focus p.alt-text {
    transition: .5s background;
    background: rgba(0, 0, 0, .5);
}

#home-slide-row a:hover,
#home-slide-row a:focus {
    opacity: 1;
}

@media (min-width: 767px) {
    #home-slide-row img {
        max-height: 50vh;
    }
}

@media (max-width: 500px) {
    body {
        overflow-x: inherit;
    }
    #home-slide-row img {
        height: 50vh;
    }
    #home-slide-row .carousel-caption {
        /*Compensates for the weird gap on the left side of the black overlay at these sizes*/
        margin-left: -50px;
        margin-right: -50px;
        width: unset;
    }
    #home-slide-row .caption-wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    #home-slide-row .carousel-caption p.caption-text {
        font-size: 28px;
    }
    #home-slide-row .carousel-caption p.alt-text {
        margin-top: 0;
    }
}

@media (max-width: 400px) {
    #home-slide-row .carousel-caption p.caption-text {
        font-size: 20px;
        line-height: 1.1;
    }
}


/*----------------End Slideshow------*/

#subpage-title {
    margin-top: -1rem;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

#subpage-title::before,
#subpage-title::after {
    content: '';
    margin-left: -50vw;
    margin-right: -50vw;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    width: 100vw;
    z-index: -1;
}

#subpage-title::before {
    background-image: url(../images/memberships-banner.jpg);
    background-size: cover;
    background-position: center;
}


/*#subpage-title::after {
    background-color: rgba(0, 0, 0, .5);
}*/

#subpage-title+[class $="-background"] {
    /*Remove the margin added to the bottom of the #subpage-title section so there is no gap between it and the following area with a background applied to it*/
    margin-top: -4rem;
}

@media (min-width: 767px) {
    #homepage-main .dark-gray-background img {
        margin-bottom: 1rem;
    }
}

@media (max-width: 990px) {
    #homepage-main .dark-gray-background .row>div {
        width: 100%;
    }
}

#home-card-row>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/*--------------------------------------------------------
				CSS Styles for Inner Pages
--------------------------------------------------------*/


/*----------Responsive Nivo*/

div[id^=slider-container-FD],
div[id^=slider_FD],
.nivoSlider img {
    max-width: 100% !important;
    height: auto !important;
}


/*----------Nivo Controls*/

.nivo-prevNav,
.nivo-nextNav {
    background-image: none !important;
    width: 25px !important;
    top: 25% !important;
    /*Fallback for browsers that don't support calc*/
    top: calc( 50% - 50px) !important;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 75px;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

.nivo-prevNav:hover,
.nivo-nextNav:hover {
    text-decoration: none;
    color: #ae0e0d;
    text-shadow: none;
}

.nivo-prevNav {
    left: 10px !important;
}

.nivo-nextNav {
    right: 10px !important;
}

.nivo-prevNav:after {
    content: "‹";
}

.nivo-nextNav:after {
    content: "›";
}


/*--------------------------------------------------------
						Footer
--------------------------------------------------------*/

footer.light-gray-background {
    padding: 1rem;
    font-size: 16px;
    line-height: 1.2;
}

footer p {
    margin-bottom: 0;
}


/*--------------------------------------------------------
	I hate IE11
--------------------------------------------------------*/

@media screen and (min-width:0\0) {
    body {
        color: #54595f;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #ef7625;
    }
    a {
        color: #ef7625;
    }
    #v_contain+.container [class $="-background"] {
        color: #54595f;
    }
    .purple-background {
        background: #6706a5;
    }
    .orange-background {
        background: #ef7625;
    }
    .dark-gray-background {
        background: #7a7a7a;
    }
    .orange-background *:not(.button),
    .purple-background *:not(.button),
    .photo-background *:not(.button) {
        color: currentColor;
    }
    .light-gray-background {
        background: #f1f1f1;
    }
    .orange-background .highlight {
        color: #6706a5;
    }
    .purple-background .highlight {
        color: #ef7625;
    }
    .photo-background a.button,
    .orange-background a.button {
        background: #6706a5;
    }
    .card {
        border: 1px solid #7a7a7a;
    }
    .checklist li::before {
        color: #6706a5;
    }
    .carousel-indicators li {
        border-color: #ef7625;
    }
    .carousel-indicators li.active {
        background: #6706a5;
    }
    header {
        border-top: 5px solid #ef7625;
    }
    nav#menu {
        background: #f1f1f1;
    }
    nav a {
        color: #7a7a7a;
    }
    nav>ul>li>a:hover,
    nav>ul>li>a:focus {
        background: #ef7625;
    }
    .submenu-parent+ul {
        background: #f1f1f1;
    }
    .submenu-parent+ul a {
        color: var(--blue);
    }
    @media (max-width: 767px) {
        #mobileMenuWrapper {
            background: #f1f1f1;
        }
        #mobile-menu a {
            color: #7a7a7a;
        }
        #mobile-menu .mDropdown {
            color: #54595f;
            border-left: .5em solid #f1f1f1;
        }
    }
    #menu_toggle line {
        stroke: #ef7625;
    }
}