/*!
 Theme Name: Rubrum
 Theme URI:
 Author: Dev Team
 Author URI:
 Description: Rubrum is a blank canvas for your ideas and it makes the block editor your best brush.
 Requires at least: 6.6
 Tested up to: 6.8.3
 Requires PHP: 8.0
 Version: 6.8
 Text Domain: rubrum
*/


/** Add your custom styles here **/

/* General */
.hr-clamped {
	width: clamp(6.25rem, 18vw, 11.875rem) !important;
}

/* Home */

ul.leadership-query-loop {
    row-gap: 60px !important;
    column-gap: 125px !important;
}

div#mission img,
div#veterans-services img,
div#leadership-council img {
    width: auto;
}
.diff-bkg .wp-block-cover__inner-container {
    z-index: 2;
}
.diff-bkg img,
div#juvenile-justice img {
    width: auto !important;
    z-index: 1;
    margin-right: 0px !important;
    margin-left: auto !important;
}
.wp-block-button.is-style-btn-accent:hover,
.wp-block-button.is-style-btn-accent a:hover {
    background: #F1B737 !important;
}
.wp-block-button.is-style-btn-secondary:hover,
.wp-block-button.is-style-btn-secondary a:hover {
    background: #95CCF0 !important;
}
.wp-block-button.is-style-btn-primary:hover,
.wp-block-button.is-style-btn-primary a:hover {
	background: #E0F3FF !important;
}
.wp-block-button.is-style-outline:hover,
.wp-block-button.is-style-outline a:hover  {
    color: #153243 !important;
    border-color: #153243 !important;
}
/* Home Carousel */
.carousel-control-next, .carousel-control-prev {
	width:auto !important;
	filter: invert(67%) sepia(16%) saturate(1026%) hue-rotate(163deg) brightness(91%) contrast(85%);
}
.carousel-control-next-icon, .carousel-control-prev-icon {
	border: 2px solid #6EA2C4;
	background-size: 70% 65% !important;
}

.block-carousel-wrapper {
    padding-left: 60px !important;
    padding-right: 60px !important;
    overflow: visible !important;
}

.block-carousel-wrapper .carousel-control-prev {
    left: 0;
    width: 60px; 
}

.block-carousel-wrapper .carousel-control-next {
    right: 0;
    width: 60px; 
}

.policy-grid li {
    display: grid;
}

/* Forms */
#gform_7 input:not([type=submit]) {
    border: 1px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
}
#gform_7 input::placeholder {
	color:#ffffff73 !important;
}
form#gform_9 input:not([type=submit]) {
    border: 1px solid #1532434 !important;
    background: transparent !important;
}
#gform_9 input::placeholder {
	color:#1532434D !important;
	font-weight:500 !important;
}
form#gform_9 label {
	color:#1532434D !important;
	font-weight:500 !important;
}
form#gform_9 label {
    font-weight: 500 !important;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.7px;
}
span.gfield_required.gfield_required_asterisk {
    color: #1532434D !important;
}
#gform_submit_button_7, 
#gform_submit_button_9 {
    background-color: #c9e8fc !important;
    border: 1px solid #c9e8fc !important;
    color: #153243 !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
}
#gform_submit_button_7:hover, 
#gform_submit_button_9:hover {
    background-color: #153243 !important;
    border: 1px solid #c9e8fc !important;
    color: #c9e8fc !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
}
body .gform_wrapper form input:not([type=submit]):hover, 
body .gform_wrapper form input:not([type=submit]):focus {
	color:#153243 !important;
}

/* Logo Carousel */
.icon-carousel .splide__list {
	align-items: center;
}

/* Reviews Carousel */
.reviews-carousel .carousel-content--container {
    min-height: 250px;
}

/* News Block */

a.wp-block-post-excerpt__more-link {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 3px;
}
.d-grid li {
	display: grid;
}

/* Footer */
.footer-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-items: end;
}
.footer-icon-menu {
    justify-items: end;
}


/* Media Queries */
@media (max-width: 576px) {
    .block-carousel-wrapper {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    .block-carousel-wrapper .carousel-control-prev,
    .block-carousel-wrapper .carousel-control-next {
        width: 40px;
    }
}
@media (min-width: 768.10px) and (max-width: 781.98px) {
  .order-md-1 {
        order: 2 !important;
    }
    .order-md-2 {
        order: 1 !important;
    }
}

@media only screen and (max-width:782px) {
	.footer-menu {
	    flex-direction: row;
	    justify-content: center;
	    flex-wrap: wrap;
	    display: flex;
	}
	.footer-icon-menu {
	    justify-items: center;
	}
	.footer-col-container .wp-block-column:first-child div {
	    justify-content: center;
	    text-align: center;
	}
}

@media only screen and (max-width: 1080px) {
	.footer-menu .wp-block-navigation-item {
		white-space:nowrap !important;
	}
	.footer-col-container .wp-block-column:first-child {
    flex-basis: 60% !important;
	}
	.footer-col-container .wp-block-column:last-child {
    flex-basis: 40% !important;
	}
}

@media only screen and (max-width: 1460px) {
	.p-border {
		display: none;
	}
}

/*@media only screen and (min-width:990px) {
	.leadership-query-loop li:nth-child(4n+1),
	.leadership-query-loop li:nth-child(4n+2){
		padding-left:105px !important;
	}
}*/