/**
 * @file
 * Subtheme specific CSS.
 */

/* Makes the test sidebar menu display vertically */

#block-barrio-library2024-testmenu--3 ul {
  display: block;
}

/*Styling for page title*/

.title {

	height: 4vw;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.2;
	font-weight: 700;
	
}
/* Harrison and Amanda wuz here*/
/* Styling to highlight current page in nav menus */

.custom-highlighting .is-active {
  position: relative;      /* Ensure the pseudo-element is positioned relative to .is-active */
  padding-left: 15px;      /* Add space so the text doesn't overlap the bar */
  font-weight: bold;
}

.custom-highlighting .is-active::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;              /* Adjust width as needed for your design */
  background: #004D96;     /* The colored bar */
}

/* Styling for the Mega Menu from The Better Mega Menu */

.navbar-brand {
	color: #fff;
	font-size: 2.5rem;
	display: inline-block;
	margin: 0;
	padding-bottom: 0;
}

#block-barrio-library2024-mainnavigation {
 width: 100%;
}

#block-barrio-library2024-mainnavigation .tbm-nav {
 justify-content: center;
}

#block-barrio-library2024-mainnavigation .tbm-item.level-1 {
 border-right: none;
}

#block-barrio-library2024-mainnavigation .tbm-link {
 text-decoration: none;
}

#header .navbar {
 --bs-navbar-padding-y: 0;
}

/* Styling for Site Branding */

span.site-title-divider {
  display: inline-block;
  color: #fff;
  width:auto;
  font-size: 2rem;
  margin-right: 1rem;
  padding-bottom: 5px;
  margin-left: 0.5rem;
}

div#logo-col {
	align-items: flex-end;
	flex-direction: row;
	display: flex;
	padding-bottom: 8px;
}

img.site-logo {
	max-height: 30px;
}

a.navbar-brand {
        width: auto;
}

a.site-title {
	color: #fff;
	font-size: 2.5rem;
	display: inline-block;
	margin: 0;
	padding-bottom: 0;
	text-decoration: none;
}

/* New overriding rule for .site-title */
a.site-title:hover,
a.site-title:focus {
  /* Use your preferred color or 'inherit' */
  color: #fff !important;
}

nav#navbar-top section.row.region.region-secondary-menu {
  flex-wrap: nowrap;
}

/*Styling Front Page - Blog: Slideshow not working yet - Amanda */

.carousel-indicators {
margin: 10;
color:#000 !important;
}


/* Styling for the footer regions */

.footbar {
  background-color: #f5f5f5 !important;
  bottom: 0;
  width: 100%;
  color:#000000;
}

.footbar a {
  float: right;
  display: block;
  color: #000000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 12px;
}



.site-footer .block {
  border: none !important;
}

@media (min-width: 851px) {
  .site-footer__top .region {
    width: 33%;
  }
}

/* Styling for front page*/

/* Search Section */

.background-search-section {
  height: 400px;
  background: url('/images/CSUSM-fphall21200x400_6.jpg') center center no-repeat;
  background-size: cover;
}

.move-search {
  position: relative;
  top: -100px;
  max-width: 100%;
}


/* Icon links section */
.sixsection { 
  padding-top: 5px;
  padding-right: 15px;
  padding-bottom: 25px;
  padding-left: 15px;
}

/* Bottom three section */

.i-size {
  position: relative;
  max-width: 100%;
  max-height: 300px;
  height: auto;

}


/* Styling for /user/login page */
ul.tabs.primary li a[href="/user/password"] {
  display: none;
}


/* Styling for Header - Ask Us dropdown */



.askustable-container { 
			display: flex; 
			flex-wrap: wrap; 
			justify-content: space-between; 
			margin: 15px; 
			
}

.askustable { 

			border-collapse: collapse; 
			margin-bottom: 10px;
}

th, 
		td { 
			border: 1px solid #ddd; 
			padding: 20px;  
			background-color: #ffffff;
			
			
		} 

		th { 
			background-color: #004D96 !important; 
			width: 100%;
			
		} 

.askusindi { 

 	width: 9rem;

	
		} 


/* Home Page Ask Us section and pull downs */

.askusdownsection { 
  padding-top: 5px;
  padding-right: 15px;
  padding-bottom: 5px;
  padding-left: 15px;
}

.askusexpand { 

 	width: 18rem;

	
		} 

/* Home page Search and Ask Us section */

.hours-col-loc { 

 	display: none;

	
		}

/* Home page Blog featured post and new and update section 

#views-bootstrap-blogs-block-1 { 

 	border-style: solid !important; 

	
		}
.block-views-blockblogs-block-1{ 

 	border: 1px solid blue !important; 

	
		}*/

.order-first {
  display: none;
}

.carousel-indicators [data-bs-target] {
  background-color: #004D96;
  border: 2px solid white;
}




.carousel-control-prev-icon {
  background-color: #004D96;
  border-top: 0px solid #004D96;
  border-radius: 5px 5px 5px 5px;
  position: absolute;
  left: 20px;
}

.carousel-control-next-icon {
  background-color: #004D96;
  border-top: 0px solid #004D96;
  border-radius: 5px 5px 5px 5px;
  position: absolute;
  right: 20px;

}

.carousel-caption {
 /* position: absolute;*/
  left: 10px;
  top: -10px;
  width: 100%;
  text-align: center;

}

.image-style-blog-post-image{
  position: relative;
  top: 50px;
  max-width: 100%;
  max-height: 400px;
  height: auto;

}

.postarea {
  position: relative important!;
  width: 100% important!;

}

.position-relative {
    position: relative !important;
    height: 450px;
}

/* Makery calendar color change on calendar arrows */
[title="Next month"] {
      background-color: #ffffff;

}

[title="Previous month"] {
      background-color: #ffffff;

}

/* Begin: Styling for /user/login page (KV) */

.my-custom-login-message {
  display: none;
}

.nav-link.nav-link--user-password {
  display: none;
}

.nav-link.nav-link--user-login {
  display: none;
}

.miniorange_url {
  display: none;
}
/* End: Styling for /user/login page (KV) */



/* View section styling */

.view-content { 
  padding-top: 5px;
  padding-right: 15px;
  padding-bottom: 25px;
  padding-left: 15px;
}


.vtitle{
  white-space:nowrap;
  max-width: 290px;
}

.vadtitle{
  max-width: 300px;
}

.vlptitle {
  max-width: 300px;
}


.vname {
  white-space:nowrap;
  width: 140px;
}

.vafname {
  white-space:nowrap;
  width: 120px;
}

.valname {
  white-space:nowrap;
  width: 120px;
}


.vlocation {
  white-space:nowrap;
  width: 100px;
}


.vemail {
  white-space:nowrap;
  width: 170px;
}


.vphone {
  white-space:nowrap;
  width: 120px;
}

.vdepartment {
  width: 200px;
}


.vchat {
   width: 120px;
}



/* Mobile changes needed */

@media (max-width: 450px) {
    #block-barrio-library2024-site-branding {
    width: 250px;
    height: auto;
    min-height: 250%;
    display: inline-block;
    margin-top: 10px;
    margin-right: 5px;
    margin-left: 5px;
    text-align: center;    }
}

@media (max-width: 450px) {
[title="Home"] {
       display: none;  }
}

@media (max-width: 450px) {
 span.site-title-divider {
       display: none;  }
}


@media (max-width: 450px) {
 .breadcrumb {
       display: none;  }
}

@media (max-width: 450px) {
 #block-barrio-library2024-askus{
        margin-left: 5px;
      }
}

@media (max-width: 450px) {
 .askustable-container {
        max-width:355px;
      }
}

@media (max-width: 450px) {
 .nolinkicon {
     width: 320px; 
     display: flex;
     flex-wrap: wrap;                   }
}

@media (max-width: 450px) {
 [title="hmovedb"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-left: 5px;
  background-color: green;                  }
}

@media (max-width: 450px) {
 [title="hmovej"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-left: 120px;
  width:200px;                 }
}

@media (max-width: 450px) {
 [title="hmovecys"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-left: -150px;
  margin-top: 100px;
  text-align:center;
  width: 150px;                }
}

@media (max-width: 450px) {
 [title="hmoverg"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-top: 100px;
                   }
}

@media (max-width: 450px) {
 [title="iconmove1"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-top: 100px;
                 }
}

@media (max-width: 450px) {
 [title="iconmove2"] {
  position: relative; 
  margin-top: 500px;
                }
}

@media (max-width: 450px) {
 [title="iconmove3"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-top: 100px;
                  }
}

@media (max-width: 450px) {
 [title="iconmove4"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-top: 100px;
                  }
}

@media (max-width: 450px) {
 [title="iconmove5"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-top: 100px;
                  }
}

@media (max-width: 450px) {
 [title="iconmove6"] {
  flex: 1 0 calc(25% - 10px); /* explanation below */
  margin-top: 200px;
  width: 150px; 
  margin-bottom: -150px;                }
}

