.radio label input[type=radio], label.radio-inline input[type=radio], .checkbox label input[type=checkbox], label.checkbox-inline input[type=checkbox] {
    left: auto;
    z-index: 10;
    width: auto;
    height: auto;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 1;
}

.rslides img {
    height: auto;
    width: 100%;
}

.rslides {
    max-height: 40rem; /* 70vh */
    min-height: 300px;
    /*box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);*/
}

#ccm-popover-menu-container div.popover ul.dropdown-menu {
    display: inline;
}

div.ccm-panel-content ul.nav li, div.ccm-panel-content menu li {
    width: 100%;
}

.padded {
    margin: 50px 0;
}

body {
	background-color: #fbfbfb;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	color: #363636;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Abril Fatface', cursive;
}

a {
    color: #abcd00;
    font-weight: 700;
}

a:hover, a:focus, a:active {
    color: #abcd00;
}

nav#mainNav {
	font-weight: 600;
    z-index: 100;
    height: 80px;
	background-color: #fbfbfb;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.14), 0 6px 2px -4px rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

nav#mainNav .selected-page {
	color: #363636;
	font-weight: 700;
}

nav#mainNav .navbar-brand img {
    height: 50px;
    width: auto;
}

#navigation ul li a {
    padding: 25px 20px;
    color: #737373;
    transition: all 0.3s ease;
}

#navigation ul li.nav-selected a, #navigation ul li.nav-path-selected a {
    color: #363636;
	font-weight: 700;
}

#navigation ul li:first-child a {
    border-bottom: 5px solid #c2c3c2;
}

#navigation ul li:first-child.nav-selected a {
    border-bottom: 15px solid #c2c3c2;
    padding: 30px 20px 15px 20px;
}

#navigation ul li:nth-child(2) a {
    border-bottom: 5px solid #ffea6e;
}

#navigation ul li:nth-child(2).nav-selected a {
    border-bottom: 15px solid #ffea6e;
    padding: 30px 20px 15px 20px;
}

#navigation ul li:nth-child(3) a {
    border-bottom: 5px solid #7de0ff;
}

#navigation ul li:nth-child(3).nav-selected a {
    border-bottom: 15px solid #7de0ff;
    padding: 30px 20px 15px 20px;
}

#navigation ul li:nth-child(4) a {
    border-bottom: 5px solid #c2d300;
}

#navigation ul li:nth-child(4).nav-selected a {
    border-bottom: 15px solid #c2d300;
    padding: 30px 20px 15px 20px;
}

#navigation ul li:nth-child(5) a {
    border-bottom: 5px solid #ff797a;
}

#navigation ul li:nth-child(5).nav-selected a {
    border-bottom: 15px solid #ff797a;
    padding: 30px 20px 15px 20px;
}

#navigation ul li a:hover {
    border-bottom-width: 10px;
    padding: 30px 20px 20px 20px;
}

section .content {
    background-color: #fbfbfb;
    padding: 50px 0;
}

section#firstContent {
    margin-top: -120px;
    z-index: 50;
    position: relative;
}

#imgCarousel {
    min-height: 200px;
}

#imgCarousel .ccm-image-slider-text {
    top: 25rem;
    left: 100px;
    z-index: 100;    
}

#imgCarousel .ccm-image-slider-text h2 {
    font-size: 3rem;
    color: #fefff5;
}

.topTear, .bottomTear {
    width: 100%;
    height: auto;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

footer {
    padding-bottom: 25px;
}

footer a {
    color: #363636;
}

footer.light-text, footer.light-text a {
    color:#fbfbfb;
}

@media (max-width: 991px){
    .mobileTopBuffer {
        margin-top: 50px;
    }
    
    button.navbar-toggler {
        margin-right: 1rem;
    }
    
    .rslides {
        min-height: auto;
    }
    
    #imgCarousel .ccm-image-slider-text {
        top: 30px;
        left: 0px;
        z-index: 100;
        width: 100%;
        text-align: center;
    }
    
    #imgCarousel .ccm-image-slider-text h2 {
        font-size: 2rem;
    }
    
    #navigation {
        margin-left: -16px;
        z-index: 500;
        border-bottom: 5px solid #c2d300;
    }
    
    #navigation .nav {
        display: block;
        background-color:#fbfbfb;
    }
    
    #navigation ul li {
        text-align: center;
    }
    
    #navigation ul li a {
        width: 100%;
        display: block;
        border-bottom: none !important;
    }
    
    #navigation ul li a:hover {
        padding: 25px 20px;
    }
    
    #navigation ul li.nav-selected a {
        padding: 25px 20px !important;
    }
}