  .jcnavbar{
    background-color:#282828;
    border-bottom:1px solid white;
}
.jcsubnavbar{
    padding:20px;
}
.jccenter{
   padding-right:15px;
}
.jcnavbartext{
    font-size:10px;
    color:white !important;
    padding:5px;
    padding: 5px 20px; /* Add more padding to create space */
    font-family: 'Poppins', sans-serif; /* Add this line */
}
.jcnavbartext a {
    font-size:18px;
    color:rgb(255, 209, 2) !important;
}
.jcnavbartext:hover{
    background-color:#d6d8d9;
    color:#A8203A !important;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("https://www.jcjc.edu/images/hamburger-icon.png");
}
.dropdown-toggle::after{
    display:none;
}



.jcsearch-box{
        width:20%;
        border-radius: 20px;
        padding:5px;
        transform: translate(-20%,-20%);
    }
    .jcsearch-submit{
        display:none;
    }
    .jcsearch input[type=text] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	font-family: inherit;
	font-size: 100%;
}
.jcsearch input::-webkit-search-decoration,
.jcsearch input::-webkit-search-cancel-button {
	display: none; 
}

.jcsearch input[type=text] {
	background: #ededed url(https://static.tumblr.com/ftv85bp/MIXmud4tx/search-icon.png) no-repeat 9px center;
	border: solid 1px #ccc;
	padding: 9px 13px 9px 32px;
	width: 55px;
	
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
.jcsearch input[type=text]:focus {
	width: 130px;
	background-color: #fff;
	border-color: #A8203A;
	
	-webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
	-moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
	box-shadow: 0 0 5px rgba(109,207,246,.5);
}


.jcsearch input:-moz-placeholder {
	color: #111 ;
}
.jcsearch input::-webkit-input-placeholder {
	color: #111 ;
}
.jcsearch input[type=text] {
	width: 15px;
	padding-left: 13px;
	color: transparent;
	cursor: pointer;
}
.jcsearch input[type=text]:hover {
	background-color: #fff;
}
.jcsearch input[type=text]:focus {
	width: 130px;
	padding-left: 32px;
	color: #000;
	background-color: #fff;
	cursor: auto;
}
.jcsearch input:-moz-placeholder {
	color: transparent;
}
.jcsearch input::-webkit-input-placeholder {
	color: transparent;
}
.jcwhite{
    color:#fff;
}
.jcdark{
    background-color:black;
    padding: 10px;
    margin-bottom:0;
}
.jcmaroon{
    color:#ffffff;
    font-size:calc(14px + .5rem);
}
.jcsocial{
    width:100%;
}
.jccur{
    padding-top:35px;
    padding-bottom:35px;
}
.jcnotice{
    display: flex; 
    justify-content: center;
}
.noticetext {
   font-size:calc(12px + .75vw);
   font-family: Baskerville; 
}
.jcbutton{
    background-color:#A8203A;
    padding:5px;
    padding-right:10px;
    padding-left:10px;
    color:#fff;
    font-size:calc(12px + .5vw);
}
.jcgray{
    background-color:#f1efeb;
}
.jcalign{
    align-items: center;

   justify-content: center;
}
.jcgold{
    color:#a31f37;
    background-color:#D1C476;
    align-items: center;
}

/* Insterted new homepage styles */
.jcnavbar1{
    background-color:#A91E36;
}
.jcnavbartext1 {
    color:white!important;
    font-size: calc(10px + (22 - 14) * ((100vw - 300px) / (1600 - 300)));
    font-family: 'Poppins', sans-serif; /* Add this line */
    padding-left: 25px; /* Add padding to the left to increase spacing */
    padding-right: 25px; /* Add padding to the right to increase spacing */
}
.jcnavbartext1 a {
    font-size:22px;
    color:white !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}
.jcnavbartext1:hover{
    font-weight:500;
    color:#D1C476 !important;
}
.jcnavbartext2:hover{
    overflow:hidden;
}
.jcnavbartext1 li{
    padding: 5px 25px; /* Adjust padding to increase space between items */
}
.navdivide {
    padding-left:7px;
}







.jcsubnavbar{
    padding:20px;
}
.jccenter{
   padding-right:15px;
}

.jcnavbartext a {
    font-size:18px;
    color:rgb(255, 209, 2) !important;
}
.jcnavbartext:hover{
    background-color:#d6d8d9;
    color:#A8203A !important;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("https://www.jcjc.edu/images/hamburger-icon.png");
}
.dropdown-toggle::after{
    display:none;
}


.jcsearch{
        padding-top: 5px;
	    float: right !important;
        
    }
    .jcsearch-box{
        width:20%;
        border-radius: 20px;
        padding:5px;
        transform: translate(-20%,-20%);
    }
    .jcsearch-submit{
        display:none;
    }
    .jcsearch input[type=text] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	font-family: inherit;
	font-size: 100%;
}
.jcsearch input::-webkit-search-decoration,
.jcsearch input::-webkit-search-cancel-button {
	display: none; 
}

.jcsearch input[type=text] {
	background: #ededed url(https://static.tumblr.com/ftv85bp/MIXmud4tx/search-icon.png) no-repeat 9px center;
	border: solid 1px #ccc;
	padding: 9px 13px 9px 32px;
	width: 55px;
	
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
.jcsearch input[type=text]:focus {
	width: 130px;
	background-color: #fff;
	border-color: #A8203A;
	
	-webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
	-moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
	box-shadow: 0 0 5px rgba(109,207,246,.5);
}


.jcsearch input:-moz-placeholder {
	color: #111;
}
.jcsearch input::-webkit-input-placeholder {
	color: #111;
}
.jcsearch input[type=text] {
	width: 15px;
	padding-left: 13px;
	color: transparent;
	cursor: pointer;
}
.jcsearch input[type=text]:hover {
	background-color: #fff;
}
.jcsearch input[type=text]:focus {
	width: 130px;
	padding-left: 32px;
	color: #000;
	background-color: #fff;
	cursor: auto;
}
.jcsearch input:-moz-placeholder {
	color: transparent;
}
.jcsearch input::-webkit-input-placeholder {
	color: transparent;
}
.jcwhite{
    color:#fff;
}
.jcdark{
    background-color:black;
    padding: 10px;
    margin-bottom:0;
}
.jcmaroon{
    color:#ffffff;
    font-size:calc(14px + .5rem);
}
.jcsocial{
    width:100%;
}
.jccur{
    padding-top:35px;
    padding-bottom:35px;
}
.jcnotice{
    display: flex; 
    justify-content: center;
}
.noticetext {
   font-size:calc(12px + .75vw);
   font-family: Baskerville; 
}
.jcbutton{
    background-color:#A8203A;
    padding:5px;
    padding-right:10px;
    padding-left:10px;
    color:#fff;
    font-size:calc(12px + .5vw);
}
.jcgray{
    background-color:#f1efeb;
}
.jcalign{
    align-items: center;

   justify-content: center;
}
.jcgold{
    color:#a31f37;
    background-color:#D1C476;
    align-items: center;
}

/* Insterted new homepage styles */

.jcnavbartext1 a {
    font-size:22px;
    color:white !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}
.jcnavbartext1:hover{
    font-weight:500;
    color:#D1C476 !important;
}
.jcnavbartext2:hover{
    overflow:hidden;
}
.jcnavbartext1 li{
    padding: 5px 25px; /* Adjust padding to increase space between items */
}
.navdivide {
    padding-left:7px;
}




/* âœ… FINAL MOBILE NAV FIX â€” Âé¶¹Ö±²¥ */
@media screen and (max-width: 991px) {
  #main_menu,
  #top_menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  #main_menu.w--open,
  #top_menu.w--open {
    display: block !important;
    opacity: 1;
    visibility: visible;
    height: auto !important;
    overflow: visible !important;
    background-color: #ae0030;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding-bottom: 10px;
  }

  #top_menu.w--open {
    background-color: #d3c678;
  }

  #main_menu.w--open a,
  #top_menu.w--open a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  #top_menu.w--open a {
    color: #000;
  }

  .menu-button-2,
  .menu-button-3 {
    display: block !important;
    margin: 0 auto;
    position: relative;
    z-index: 2100;
  }
}

 



/* Hero slider override */
.section-3 {
  height: auto !important;
  min-height: 420px;
  overflow: visible !important;
  position: relative;
  z-index: 5; /* Above section-2 */
}


.custom-slider {
  height: 420px;
  min-height: 420px;
  overflow: hidden;
}

.custom-slider .slide {
  height: 100%;
}

.custom-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: none;
}

/* Fix overlapping welcome section */
.section-2 {
  position: relative !important;
  z-index: 1;
  overflow: visible !important;
}

/* ðŸ”§ Flickity visibility fix */
.custom-slider .slide {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.custom-slider .slide img {
  opacity: 1 !important;
  visibility: visible !important;
}


/* âœ… Fix dropdowns only when open (mobile) */
@media screen and (max-width: 991px) {
  .w-dropdown-list {
    display: none;
  }

  .w-dropdown.w--open .w-dropdown-list {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
  }
}