/* ====  Fix the date picker graphics -- JT ==== */
div.guidedatepicker div.datepicker-calendar-icon {
    background-image: url(/content/dam/soi/en/web/tax/resources/images/calendar.png) !important;
    margin: 1px !important;
}
div.guidedatepicker div.datepicker-calendar-icon:hover {
    background-image: url(/content/dam/soi/en/web/tax/resources/images/calendar_hover.png) !important;
    cursor: pointer;
}


/* ====  Fix label text color to meet accessibility requirements -- JT ==== */
.afCheckBoxItem .guideWidgetLabel label { color: #666 !important; }


/* ====  Fix form buttons on mobile -- JT --- commenting out to allow DoIT Web Services to use their 12/03/2024 fix ==== 
@media (max-width: 767px) {
  .afToolbarButton .guidebutton button .iconButton-label { display: inline; } 
  .afToolbarButton .guidebutton button .iconButton-icon { display: none; }
} */


/*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;
}


/*round the corners of the all buttons*/
.guideContainerNode button:not(.af-icon-button), .guideContainerNode input[type='button'] {
    border-radius: 5px;
}

/* hide the toooltip */
.guideContainerWrapperNode .tooltip.fade { 
    display: none!important;
}
.guideContainerNode .tooltip.fade {
    display: none!important;
}

/******************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;
  }


/****************************** Added Lines 10/24/2023 *************************/
/* wrap long text for checkbox and radio options */
.guideCheckBoxGroupItems .afCheckBoxItem {
    width: auto;
}
.guideRadioButtonGroupItems .afRadioButtonItem {
    width: auto;
}

/*add decoration before top level nav. list items*/
.tab-navigators > li > a.guideTopNavIcon::before {
	content: '>>';
	font-weight:bold;
}

/*make top level nav text bold*/
.tab-navigators > li > a.guideTopNavIcon{
	font-weight:bold;
}


/*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;
}

/*Keep toolbar at bottom of form in mobile view*/
@media (max-width: 767px) {
    .guideToolbarNode {
        position: inherit;
    }

    .grecaptcha-badge {
        position: inherit !important;
    }
}

/****************************** Added Lines from soi-form 5.css 12/03/2024 *************************/

/* Apply weight/color to text when set in RTE*/
.guideContainerNode .red {
	color: #E21121;
}
.guideContainerNode .bold {
	font-weight: bold;
}

/*highlight text blurb
.guideTextDraw.guideStaticText {
	background-color: #FFFFAA;
}*/


/*Form Field Bottom Border Color
.dropDownList select, input, select, textarea, .guideScribble img, .afTermsAndConditions
{
    border-bottom: 3px solid #515151;
}*/

/*Form Dropdown Field Area Size Control*/
.dropDownList select{
    height: 3.1rem;
    /* border-bottom: 3px solid #515151; */
}

/*Make text white on Description Pop-up*/
.tooltip P {
	color: white !important;
}

/** Remove the "X" from the searchbar that displays when it shouldn't (temporary) **/
/* ====  Changed the max-width from 768 to 1200 after testing showed that the X was still showing at those screen widths  -- JT ==== */
@media only screen and (max-width : 1200px) {
	button.cmp-agency-header__mobile-nav {
		width: 25px;
		height: 20px;
		overflow: hidden;
	}
}

/* ====  Added this after testing showed that the drop-down arrows weren't showing up properly at certain resolutions  -- JT ==== */
@media only screen and (min-width : 768px) {
	.container {width: auto;}
}
@media only screen and (min-width : 992px) {
	.container {width: auto;}
}

@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;
	}
        /* ====  Removed this after testing showed that the drop-down arrows were pushed off screen at certain resolutions  -- JT ==== 
	.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) ***/
	/* ====  Removed this after testing showed that stuff in header and footer were getting cut off at certain resolutions  -- JT ==== 
	.container--padding-left-right {
		width: 1170px;
	} */
}

/*set color of text & bckground of Reset button*/
.resetBtn:hover{
	color:#FFFFFF;
	background:#0839AD;
}
.resetBtn{
	color:#005180;
	background:#FFDC00;
}

/*Tab Font Color*/
.guideVerticalTabbedPanelLayout .tab-navigators>li>a.guideTopNavIcon{
	color: #757575;
}

/*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;
}

@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;
	}
}