/*
Theme Name: Farmers National Bank
Description: Farmers National Bank is a child theme of Hello Elementor, created by Elementor team
Author: Streamline
Author URI: https://www.streamline.us
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
Colors:

Green - var( --e-global-color-primary )
Dark Blue - var( --e-global-color-secondary )
NOTE: More colors are available, can add here as needed.
*/

/* Global */

* {
	font-variant-ligatures: none;
}

p {
	margin-bottom: 16px;
}

ul {
	padding-left: 16px;
}

.fdic-header-text {
	line-height: 16px;
}

.menu-header.scrolled {
	box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

.page-numbers.current {
	border-color: var(--e-global-color-primary);
	background: var(--e-global-color-primary);
}

.page-numbers.current:hover {
	background: var(--e-global-color-primary);
	box-shadow: 0 0 20px 0 var(--e-global-color-primary);
}

/* Elementor */

.elementor iframe {
	width: 1120px;
}

.elementor-forms-admin-errors {
	display: none;
}

.elementor-nav-menu .sub-arrow {
	display: none;
}

.elementor-nav-menu--main .elementor-nav-menu .elementor-item-active:not(.highlighted):after {
	display: none;
}

ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover {
	border: none;
}

.elementor-nav-menu--main .elementor-nav-menu .elementor-nav-menu--dropdown {
	padding-top: 20px;
	padding-bottom: 20px;
}

#sign-in-button {
	white-space: nowrap;
}

.elementor-post__meta-data a {
	color: var(--e-global-color-secondary);
}

.sign-in-popup,
.search-popup {
	width: 100%;
	padding-left: 60px;
	padding-right: 60px;
}

/* Counter the Cloudflare Turnstile plugin's submit-disable styles on the
   sign-in popup form, where we intentionally strip the Turnstile widget. */
.sign-in-popup .elementor-form button[type="submit"] {
	pointer-events: auto !important;
	opacity: 1 !important;
}

.search-popup .dialog-widget-content {
	right: 270px;
}

.sign-in-widget .password-input-wrapper {
	width: 100%;
	position: relative;
}

.sign-in-widget .password-input-wrapper input {
	padding-right: 50px;
}

.sign-in-widget .password-input-wrapper .password-visibility {
	position: absolute;
	content: '';
	width: 24px;
	height: 20px;
	top: 10px;
	right: 15px;
}

.sign-in-widget .password-input-wrapper .password-visibility[data-visible=false] {
	background: url('/app/uploads/2025/10/Farmers-National-Bank-Graphic-Eye-Closed.svg');
}

.sign-in-widget .password-input-wrapper .password-visibility[data-visible=true] {
	background: url('/app/uploads/2025/10/Farmers-National-Bank-Graphic-Eye-Open.svg');
}

.sign-in-widget .elementor-field-type-submit {
	margin-top: 5px;
	margin-bottom: 18px !important;
}

.sign-in-widget .sign-in-links {
	flex-direction: column;
	align-items: flex-start;
}

.sign-in-widget .sign-in-links a {
	color: var(--e-global-color-secondary);
	font-size: 16px;
	font-weight: 700;
	line-height: 100%;
}

.sign-in-widget .sign-in-links a:first-child {
	margin-bottom: 10px;
}

.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.location-tabs .e-n-tabs-heading {
	align-self: flex-start;
	max-width: 100%;
	padding: 2px;
	background-color: var(--e-global-color-5fd1e69);
	border-radius: 5px;
}

.location-tabs .e-n-tabs-heading button {
	padding: 12px 20px;
	border-radius: 4px;
}

.lenders-tabs .e-n-tabs-heading button:hover,
.lenders-tabs .e-n-tabs-heading button:focus,
.location-tabs .e-n-tabs-heading button:hover,
.location-tabs .e-n-tabs-heading button:focus {
	box-shadow: inherit;
	border-radius: inherit;
	border: inherit;
	color: inherit !important;
}

.lenders-tabs .e-n-tabs-heading button[aria-selected=false]:hover,
.lenders-tabs .e-n-tabs-heading button[aria-selected=false]:focus,
.location-tabs .e-n-tabs-heading button[aria-selected=false]:hover,
.location-tabs .e-n-tabs-heading button[aria-selected=false]:focus {
	background: inherit !important;
}

.elementor-field-type-signature {
	flex-direction: column;
	align-items: flex-start;
}

.elementor-field-type-signature label {
	font-size: 16px;
	font-weight: 700;
	padding-bottom: 0 !important;
}

.elementor-field-type-signature .signature-field {
	width: 100%;
}

.elementor-field-type-signature .signature-field .canvas-wrapper {
	position: relative;
}

.elementor-field-type-signature .signature-field .canvas-wrapper .signature-canvas {
	width: 100%;
	height: 160px;
	border-radius: 5px;
}

.elementor-field-type-signature .signature-field .canvas-wrapper .signature-reset {
	position: absolute;
	font-size: 16px;
	line-height: 26px;
	right: 0;
	padding: 10px 20px;
	border: none;
	background: transparent;
}

.elementor-field-type-signature .signature-field .canvas-wrapper .signature-reset:hover,
.elementor-field-type-signature .signature-field .canvas-wrapper .signature-reset:focus,
.elementor-field-type-signature .signature-field .canvas-wrapper .signature-reset:active {
	border: none;
	background: none;
	color: var( --e-global-color-secondary );
	box-shadow: none;
}

#video-contest-form h3 {
	color: var(--e-global-color-text);
	font-size: 24px;
	line-height: 34px;
	margin-top: 0;
	margin-bottom: 25px;
}

#video-contest-form textarea {
	margin-bottom: 25px;
}

#video-contest-form .elementor-widget-divider {
	padding-top: 25px;
	padding-bottom: 25px;
}

#video-contest-form .elementor-field-type-acceptance {
	flex-wrap: nowrap;
	flex-direction: row-reverse;
}

#video-contest-form .elementor-field-type-acceptance label {
	flex: 1 1 100%;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
}

#video-contest-form .elementor-field-type-acceptance .elementor-field-subgroup {
	flex: 1 1 auto;
	margin-right: 20px;
}

#video-contest-form .elementor-field-type-acceptance .elementor-field-subgroup input {
	appearance: none;
	display: inline-block;
	width: 40px;
	height: 40px;
}

#video-contest-form .elementor-field-type-acceptance .elementor-field-subgroup input:checked {
	background: var(--e-global-color-199f57d) url('assets/images/Farmers-National-Bank-Checkmark-Green.svg') no-repeat center center;
	background-size: 21px 14px;
}

#video-contest-form .elementor-field-type-upload {
	margin-bottom: 40px;
}

#video-contest-form .elementor-field-type-upload input {
	background: none;
	flex: 0 1 auto;
}

#video-contest-form .elementor-message {
	margin-top: 40px;
}

.product-video-container h1 {
	font-size: 32px;
	line-height: 100%;
}

.product-video-container h2,
.product-video-container h3,
.product-video-container h4,
.product-video-container h5,
.product-video-container h6 {
	font-size: 24px;
	line-height: 34px;
	font-weight: 700;
	color: var(--e-global-color-text);
}

.admin-bar .bcm_embed_close:after {
	top: 42px;
}

#locations .e-loop-item .e-con {
	height: 100%;
}

#contact-form .elementor-field-type-submit {
	margin-top: 5px;
}

.elementor-widget-sitemap h1 {
	margin-bottom: 80px;
}

/* Location map */

.location-tabs #map {
	height: 750px;
	border-radius: 20px;
}

/* Drilldown */

.drilldown {
	overflow: hidden;
}

.drilldown-sub {
	display: none;
}

.drilldown ul {
	list-style: none;
	padding: 0;
}

.drilldown ul li {
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 100%;
}

.drilldown ul li.menu-item-has-children:after {
	content: '';
	display: inline-block;
	background: url('/app/uploads/2025/10/Farmers-National-Bank-Graphic-Mobile-Nav-More.svg');
	width: 12px;
	height: 12px;
	margin-left: 10px;
}

.drilldown-back {
	position: absolute;
	top: -50px;
}

.drilldown-back a:before {
	content: '';
	display: block;
	background: url('/app/uploads/2025/10/Farmers-National-Bank-Graphic-Mobile-Nav-Back.svg');
	width: 20px;
	height: 20px;
}

/* Slick */

.slick-dotted.slick-slider {
	margin-bottom: 0 !important;
}

.slick-dots {
	bottom: 20px !important;
	line-height: 0;
}

.slick-dots li {
	margin: 0 10px !important;
}

.slick-dots li button {
	padding: 0 !important;
	background: #ffffff !important;
}

.slick-dots li button:hover {
	box-shadow: none;
}

.slick-dots li:not(.slick-active) button:before {
	content: '';
}

.slick-dots li.slick-active button:before {
	content: '';
	opacity: 1 !important;
	background: var( --e-global-color-secondary );
	width: 10px;
	height: 10px;
	border-radius: 50%;
	top: calc(50% - 5px);
	left: calc(50% - 5px);
}

/* Helpers */

.no-margin,
.no-margin-elementor p {
	margin: 0 !important;
}

.no-line-height {
	line-height: 0 !important;
}

.no-flex-shrink .elementor-image-box-img {
	flex-shrink: 0;
}

.name-title p {
	font-size: 18px;
	line-height: 28px;
}

.name-title strong {
	font-size: 24px;
	line-height: 34px;
}

@media screen and (max-width: 1366px) {
	.main-menu nav > ul > li > a {
		font-size: 16px !important;
	}

	.sign-in-popup,
	.search-popup {
		padding-left: 60px;
		padding-right: 60px;
	}

	.form-header {
		font-size: 20px !important;
		line-height: 30px !important;
	}
}

@media screen and (max-width: 1200px) {
	.search-popup .dialog-widget-content {
		width: calc(100% - 120px) !important;
	}

	.search-popup .dialog-widget-content .dialog-message {
		width: 100% !important;
	}
}

@media screen and (max-width: 1024px) {
	.sign-in-popup,
	.search-popup {
		padding-left: 30px;
		padding-right: 30px;
	}

	.search-popup .dialog-widget-content {
		width: calc(100% - 60px) !important;
	}
}

@media screen and (max-width: 767px) {
	.form-header {
		font-size: 18px !important;
		line-height: 28px !important;
	}
}
