/*
| Higher-contrast borders for form controls across the app.
|
| The components use many soft grey borders in their own stylesheets. Keep the
| field shapes and focus styles intact and only strengthen the resting border
| colour, scoped to the content area and the Bootstrap modals.
*/

html body.app-body #main .theme-scope .app-content #content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html body.app-body #main .theme-scope .app-content #content select,
html body.app-body #main .theme-scope .app-content #content textarea,
html body.app-body #ajaxModal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html body.app-body #ajaxModal .modal-content select,
html body.app-body #ajaxModal .modal-content textarea,
html body.app-body #remoteModal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html body.app-body #remoteModal .modal-content select,
html body.app-body #remoteModal .modal-content textarea,
html body.app-body #mobileFilterModal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html body.app-body #mobileFilterModal .modal-content select,
html body.app-body #mobileFilterModal .modal-content textarea,
html body.app-body #ai-chart-modal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html body.app-body #ai-chart-modal .modal-content select,
html body.app-body #ai-chart-modal .modal-content textarea,
html body .modal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html body .modal .modal-content select,
html body .modal .modal-content textarea,
html body.app-body #main .theme-scope .app-content #content .amount-combo,
html body.app-body #main .theme-scope .app-content #content .chosen-container-single .chosen-single,
html body.app-body #main .theme-scope .app-content #content .ts-control,
html body.app-body #ajaxModal .modal-content .amount-combo,
html body.app-body #ajaxModal .modal-content .chosen-container-single .chosen-single,
html body.app-body #ajaxModal .modal-content .ts-control,
html body.app-body #remoteModal .modal-content .amount-combo,
html body.app-body #remoteModal .modal-content .chosen-container-single .chosen-single,
html body.app-body #remoteModal .modal-content .ts-control,
html body.app-body #mobileFilterModal .modal-content .amount-combo,
html body.app-body #mobileFilterModal .modal-content .chosen-container-single .chosen-single,
html body.app-body #mobileFilterModal .modal-content .ts-control,
html body .modal .modal-content .amount-combo,
html body .modal .modal-content .chosen-container-single .chosen-single,
html body .modal .modal-content .ts-control {
	border-color: #9aa7b4 !important;
}

html.app-theme-dark body.app-body #main .theme-scope .app-content #content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html.app-theme-dark body.app-body #main .theme-scope .app-content #content select,
html.app-theme-dark body.app-body #main .theme-scope .app-content #content textarea,
html.app-theme-dark body.app-body #ajaxModal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html.app-theme-dark body.app-body #ajaxModal .modal-content select,
html.app-theme-dark body.app-body #ajaxModal .modal-content textarea,
html.app-theme-dark body.app-body #remoteModal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html.app-theme-dark body.app-body #remoteModal .modal-content select,
html.app-theme-dark body.app-body #remoteModal .modal-content textarea,
html.app-theme-dark body.app-body #mobileFilterModal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html.app-theme-dark body.app-body #mobileFilterModal .modal-content select,
html.app-theme-dark body.app-body #mobileFilterModal .modal-content textarea,
html.app-theme-dark body.app-body #ai-chart-modal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html.app-theme-dark body.app-body #ai-chart-modal .modal-content select,
html.app-theme-dark body.app-body #ai-chart-modal .modal-content textarea,
html.app-theme-dark body .modal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="hidden"]):not(.amount-combo-sum),
html.app-theme-dark body .modal .modal-content select,
html.app-theme-dark body .modal .modal-content textarea,
html.app-theme-dark body.app-body #main .theme-scope .app-content #content .amount-combo,
html.app-theme-dark body.app-body #main .theme-scope .app-content #content .chosen-container-single .chosen-single,
html.app-theme-dark body.app-body #main .theme-scope .app-content #content .ts-control,
html.app-theme-dark body.app-body #ajaxModal .modal-content .amount-combo,
html.app-theme-dark body.app-body #ajaxModal .modal-content .chosen-container-single .chosen-single,
html.app-theme-dark body.app-body #ajaxModal .modal-content .ts-control,
html.app-theme-dark body.app-body #remoteModal .modal-content .amount-combo,
html.app-theme-dark body.app-body #remoteModal .modal-content .chosen-container-single .chosen-single,
html.app-theme-dark body.app-body #remoteModal .modal-content .ts-control,
html.app-theme-dark body.app-body #mobileFilterModal .modal-content .amount-combo,
html.app-theme-dark body.app-body #mobileFilterModal .modal-content .chosen-container-single .chosen-single,
html.app-theme-dark body.app-body #mobileFilterModal .modal-content .ts-control,
html.app-theme-dark body .modal .modal-content .amount-combo,
html.app-theme-dark body .modal .modal-content .chosen-container-single .chosen-single,
html.app-theme-dark body .modal .modal-content .ts-control {
	border-color: #5b6c80 !important;
}

/* Match the dropdown panels to the stronger field borders. */
html body .ts-dropdown,
html body .chosen-container .chosen-drop {
	border-color: #9aa7b4 !important;
}

html.app-theme-dark body .ts-dropdown,
html.app-theme-dark body .chosen-container .chosen-drop {
	border-color: #5b6c80 !important;
}
