
/*
 Theme Name:     RYNO Child Theme
 Theme URI:      http://rynoss.com/
 Description:    RYNO Child Theme
 Author:         Ryno SS - Jerad Shepherd
 Author URI:     http://www.rynoss.com
 Template:       theme-3
 Text Domain:    ryno-theme-three-child
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
.gform_legacy_markup_wrapper .top_label input.medium, .gform_legacy_markup_wrapper .top_label select.medium {
	width: 100%;
}

.main-navigation a[href="#"]:hover {
	cursor: default;
}

.gform_legacy_markup_wrapper .clear-multi {
	align-items: center;
}

.gform_legacy_markup_wrapper .gfield_time_ampm_shim {
	height: 0;
	margin: 0;
}

.accordion-item .accordion-button::after {
	transform-origin: 29px;
}

.custom-category-posts .post-title {
	font-size: 14px;
}

/* Services Nav - Secondary Nav
------------------------------------------------------- */
.services-nav__sec-nav {
	display: flex;
	flex-direction: column;
	padding: .2em 15px;
}

.services-nav__sec-nav, .services-nav__sec-nav-item {
	position: relative;
}

.services-nav__sec-nav::before {
	width: 100vw;
	height: 100%;
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	background: #ed1c24;
	z-index: 0;
}

.services-nav__sec-nav-item {
	z-index: 1;
	padding: .2em 0;
	font-size: calc(14px + ( 18 - 14 ) * ( ( 100vw - 300px ) / ( 576 - 300 ) ));
	font-weight: 700;
	width: max-content;
}

.services-nav__sec-nav-item, .services-nav__sec-nav-item:hover {
	color: #fff;
}

.services-nav__nav-item-container {
	flex-grow: 0;
	flex-shrink: 0;
}

@media only screen and (min-width: 576px) {
	.services-nav__sec-nav-item {
		font-size: 18px;
	}
}

@media only screen and (min-width: 992px) {
	.services-nav__sec-nav {
		display: none;
	}
}

/* Blog page Search Bar
------------------------------------------------------- */
.search-bar__wrapper .search-form {
	width: 100%;
	max-width: unset;
	height: 40px;
	margin-left: 0px;
}

.search-bar__wrapper .search-no-results .search-input.search-input--hide, .search-bar__wrapper .search-input.search-input--hide, .search-bar__wrapper .search-input {
	padding-left: 10px;
	width: 100%;
	opacity: 1;
	font-size: 20px;
}

/* Blog Category List
------------------------------------------------------- */
.blog-category-list {
	margin: 30px 0 6px;
	gap: 15px;
	display: flex;
	flex-wrap: wrap;
}

.blog-category-list a {
	padding: 5px 10px;
	background-color: #ed1c24;
	color: #fff;
	transition: .3s all ease-in-out;
}

@media only screen and (min-width: 992px) and (hover: hover) {
	.blog-category-list a:hover {
		background-color: #ba1015;
	}
}

/* New Form Styling
------------------------------------------------------- */
.postscript-contact .gform_heading, .main-contact-form .gform_heading, .sidebar-form .gform_heading {
	display: none;
}

.postscript-contact .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: 16px;
}

.postscript-contact .gform_body .ginput_container > input, .postscript-contact .gform_body .ginput_container > input::placeholder {
	color: #fff !important;
	font-size: 16px;
	opacity: 1;
	font-family: "Whitney", Arial, sans-serif;
	font-weight: 500;
	padding-left: 0 !important;
	background: transparent !important;
	border: none;
	border-radius: 0;
}

.postscript-contact .gform_body .ginput_container > input {
	height: 46px;
	line-height: 46px;
	border-bottom: 2px solid #fff;
}

.main-contact-form .gform_wrapper .gform_footer input.button {
	border: none;
	cursor: pointer;
	display: block;
	font-size: 1.25rem;
	font-weight: bold;
	margin-top: .625rem;
	padding: .62522rem 0rem;
	text-align: center;
	transition: all .3s ease;
	width: 100%;
	text-transform: uppercase;
	border-radius: 60px;
	line-height: 1;
}

.main-contact-form .gform_wrapper .gform_footer input.button, .main-contact-form .gform_wrapper .gform_footer input.button:hover {
	background-color: #ed1c24;
	color: #fff;
}

.sidebar-form--gform {
	min-width: 314px;
	padding-bottom: 0px;
}

.sidebar-form .gform_footer input[type=submit] {
	margin: 0 auto;
}

.sidebar-form .gform_footer input[type=submit], .sidebar-form .gform_footer input[type=submit]:hover {
	background-color: #ed1c24;
	color: #fff;
}

.sidebar-form .gform_body .ginput_container > input, .sidebar-form .gform_body .select2-container--default .select2-selection--single {
	padding-left: 15px !important;
	margin-bottom: 0;
}

.sidebar-form .gform_body .ginput_container > input, .sidebar-form .gform_body .select2-container--default .select2-selection--single, .sidebar-form .gform_body .select2-container--default .select2-selection--single .select2-selection__rendered {
	background: #fff !important;
	border: none;
	border-radius: 5px;
}

.sidebar-form .gform_body .ginput_container > input, .sidebar-form .gform_body .select2-container--default .select2-selection--single, .sidebar-form .gform_body .select2-container--default .select2-selection--single .select2-selection__rendered, .sidebar-form .gform_body .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px;
	line-height: 40px;
}

.sidebar-form .gform_body .ginput_container > input, .sidebar-form .gform_body .ginput_container > input::placeholder, .sidebar-form .gform_body .select2-container--default .select2-selection--single, .sidebar-form .gform_body .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #000 !important;
	font-size: 15px;
	opacity: 1;
	font-weight: 600;
	font-family: "Whitney Book", Arial, sans-serif;
}

@media only screen and (min-width: 576px) {
	.postscript-contact .gform_body .ginput_container > input, .postscript-contact .gform_body .ginput_container > input::placeholder {
		font-size: 18px;
	}
}

@media only screen and (min-width: 992px) and (hover: hover) {
	.main-contact-form .gform_wrapper .gform_footer input.button:hover {
		background-color: #ba1015;
	}
	
	.sidebar-form .gform_footer input[type=submit]:hover {
		background-color: #ba1015;
	}
}

.portal-main__modal {
	background: #fff;
}

/* =Custom Blog Posts starts here
------------------------------------------------------- */
.custom-category-posts .post-item {
	margin-bottom: 20px;
}

.custom-category-posts h3 {
	font-size: 1.2em;
}

.custom-category-posts .post-meta {
	color: #777;
	font-style: italic;
}

.custom-category-posts p {
	font-size: 1em;
}

.custom-category-posts h3.post-title {
	font-size: 1.2em;
}

.custom-category-posts-images .post-item {
	margin-bottom: 20px;
}

.custom-category-posts-images .post-title {
	font-size: 1em;
}

.custom-category-posts-images img {
	width: 100%;
	/* Adjust as needed */
	height: auto;
}

.custom-category-titles {
	list-style-type: disc;
	/* Or none if you don't want any bullet points */
	padding-left: 20px;
}

.custom-category-titles .title-item {
	margin-bottom: 10px;
}

.custom-category-titles .title-item a {
	text-decoration: none;
	/* Adjust as per your design */
	color: #000;
}

/* Completely override any before or after pseudo-elements on the tabs */
ul.custom-tabs li:before, ul.custom-tabs li:after {
	content: none !important;
	display: none !important;
	background: none !important;
	height: 0 !important;
	width: 0 !important;
}

/* Custom Card Styles */
.custom-card {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease;
}

.custom-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
}

.custom-card img {
	max-width: 100%;
	height: auto;
	display: block;
	border-bottom: 1px solid #e0e0e0;
}

.custom-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.custom-card-title {
	font-size: 1.25em;
	font-weight: bold;
	margin-bottom: 10px;
	color: #333;
}

.custom-card-text {
	font-size: 1em;
	color: #666;
	margin-bottom: 15px;
	line-height: 1.5;
}

.custom-card-footer {
	padding: 15px;
	background-color: #f8f8f8;
	text-align: center;
	border-top: 1px solid #e0e0e0;
}

.custom-card-footer a {
	color: #ed1c24;
	text-decoration: none;
	font-weight: bold;
	transition: color .3s ease;
}

.custom-card-footer a:hover {
	color: #ba1015;
}

/* Grid for Cards */
.custom-card-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	padding: 20px;
}

@media (min-width: 768px) {
	.custom-card {
		flex-direction: row;
	}
	
	.custom-card img {
		width: 40%;
		height: auto;
		border-right: 1px solid #e0e0e0;
		border-bottom: none;
	}
	
	.custom-card-body {
		width: 60%;
	}
}
