/*
 *File: IDFPR Forms CSS
 *Author: Kate Garner
 *Version: 1.0.0
 *Date: 2026-02-03
 *
 *ChangeLog:
 *1.0.0: Initial releae with ChangeLog tracking in header
 */

/************************Standard CSS Across All Forms for SOI************************/
/* Apply weight/color to text when set in RTE*/
.guideContainerNode .red {
	color: #E21121;
}
.guideContainerNode .bold {
	font-weight: bold;
}

/******************ReCATPCHA*****************************/
/* Move recaptcha badge to the left side */
.grecaptcha-badge {
	width: 70px !important;
	overflow: hidden !important;
	transition: all 0.3s ease !important;
	left: 4px !important;
}
.grecaptcha-badge:hover {
	width: 256px !important;
}

/******************************** Header/Footer Override **********************************/

/** Remove the "X" from the searchbar that displays when it shouldn't (temporary) **/
@media only screen and (max-width : 768px) {
	button.cmp-agency-header__mobile-nav {
		width: 25px;
		height: 20px;
		overflow: hidden;
	}
}

@media only screen and (min-width : 769px) {
	.container--padding-left-right .cmp-container {
		padding: 0px;
	}
	.header-navigation .container--header-navigation {
		border-top: 0px !important;
	}
	.header-navigation {
		border-top: solid 1px #FFFFFF;
	}
	.container--header-navigation {
		width: 1200px;
	}
	.fa-times.cmp-search-input__search-icon__close {
		display: none !important;
	}
	/*** Fix the page width on forms pages (header/footer) ***/
	.container--padding-left-right {
		width: 1170px;
	}
}

/****************************** Button Control ***************************/

/*round the corners of the all buttons*/
.guideContainerNode button:not(.af-icon-button), .guideContainerNode input[type='button'] {
	border-radius: 5px;
}

/*set color of text & bckground of Reset button*/
.guideFieldNode.resetBtn button.reset {
	color:#005180;
	background:#DDDDDD;
	border: 2px solid #005180
}

.guideFieldNode.resetBtn button.reset:hover{
	color:#FFFFFF;
	background:#0839AD;
	border: 2px solid #FFFFFF
}

/*set color of text/bckground/border of Submit button*/
.guideFieldNode.submitBtn button.submit:hover {
	color:#FFFFFF;
	background:#26AD27;
	border: 2px solid #FFFFFF
}

/******************************** Tab Control ******************************/

/*make top level nav text bold*/
.tab-navigators > li > a.guideTopNavIcon{
	font-weight:bold;
}

/*Tab Font Color*/
.guideVerticalTabbedPanelLayout .tab-navigators>li>a.guideTopNavIcon{
	color: #595959;
}

/*SELECTED Tab Font Color and Underline Color*/
.guideVerticalTabbedPanelLayout .tab-navigators>li.active>a.guideTopNavIcon, 
.guideVerticalTabbedPanelLayout .tab-navigators-vertical .tab-navigators-vertical li.active>a.guideTopNavIcon, 
.guideVerticalTabbedPanelLayout .tab-navigators>li.stepped.active>a.guideTopNavIcon, 
.guideVerticalTabbedPanelLayout .tab-navigators-vertical .tab-navigators-vertical li.stepped.active>a.guideTopNavIcon, 
.guideVerticalTabbedPanelLayout .tab-navigators>li.active>a.guideTopNavIcon:hover, 
.guideVerticalTabbedPanelLayout .tab-navigators-vertical .tab-navigators-vertical li.active>a.guideTopNavIcon:hover{
	color: #111111;
	border-color: #111111;
}

/****************************** Mobile Controls ********************************/

/***************** Toolbar Buttons ***********/

@media (max-width: 767px) {
	.afToolbarButton .guidebutton button .iconButton-icon {
		display: none!important;
	}
	.afToolbarButton .guidebutton button .iconButton-label {
		display: block!important;
	}
	.afToolbarButton .guidebutton button.submit {
		margin-right: 1!important;
	}
}

/*Keep toolbar at bottom of form in mobile view*/
@media (max-width: 767px) {
	.guideToolbarNode {
		position: inherit;
	}
}

/******************Form Fields*****************************/
/*Make font-weight bold for all form labels*/
.guideFieldLabel label {
	font-weight: bold;
	font-size: 17px;
	margin-bottom: 2px;
}

/*italicize and resize all short descriptions*/
.guideFieldDescription.short p {
	font-size: 16.5px;
	color: #595959;
	font-style: italic;
	margin-top: 1px;
	margin-bottom: 2px;
}

/* wrap long text for checkbox and radio options */
.guideCheckBoxGroupItems .afCheckBoxItem {
	width: auto;
}

/*set spacing between radio button options*/
.guideRadioButtonGroupItems .afRadioButtonItem {
	width: auto;
}

/*increase visability of agreement text for terms & conditions components*/
.guide-tnc-checkbox .guideWidgetLabel label {
	color: black;
	font-weight: bold;
}

/*align check box and agreement text for terms & conditions components*/
.guideWidgetLabel.right label, .guideWidgetLabel.left label {
	line-height: 3rem;
	margin-top: 0.25rem;
	margin-bottom: 0;
}

/*Make text white on Description Pop-up*/
.tooltip P {
	color: white !important;
}

/*Form Dropdown Field Area Size Control*/
.dropDownList select{
    height: 3.1rem;
}

/* Override multi-select dropdown field widget height on forms to automatically fit all items*/
.guideFieldWidget.listBoxWidget>ol {
	max-height: 200px;
	height: auto;
}

/*attachment validation error message*/
.attachment-error-message input {
	display: none;
}

.validation-success {
	border-color: white !important;
}

.submission-note {
	color: red;
}

/************************Standard CSS Across All Forms for SOI************************/

/************************All Agency/Site Specific CSS After this Line************************/

/*** Consumer Complaint Form ***/
.consumer-complaint-form .guide-tab-scroller.guide-tab-scroller-previous.hidden-xs.hide-tab-scroll {display: none;}
.consumer-complaint-form .afTabTopPanel {padding-left: 0px;}
.consumer-complaint-form ol li {font-size: 16px; line-height: 25px;}
.consumer-complaint-form h3 {color: #005180; font-size: 21px; font-weight: bold;}
.consumer-complaint-form .guideFieldNode.guideTextDraw.guideformtitle {width: auto;	margin-top: 20px;}
.consumer-complaint-form .guideWidgetLabel.right label {line-height: 2rem;}
.consumer-complaint-form .guidecheckbox.guidefield {margin: 15px;}
.consumer-complaint-form p {font-size: 16px}

@media only screen and (min-width : 769px) {
	.consumer-complaint-form .guidedatepicker.guidefield .dateOfOccurrence {margin-top: 28px; !important;}
	.consumer-complaint-form .guidetelephone {height: 90px;}
}

@media only screen and (max-width : 768px) {
	.consumer-complaint-form .guideFieldNode.guideTextDraw.guideformtitle {display: block; margin: 0px 0px 20px 0px;}
}