﻿.ui-widget,
#masterContent .inputField > div,
#masterContent .displayField,
#masterContent .basicText,
#masterContent .cv-clear {
    font-family: "Roboto", sans-serif;
    font-size: 1em;
}

    .ui-widget input,
    .ui-widget select,
    .ui-widget textarea,
    .ui-widget button,
    #masterContent .accordion h4,
    #masterContent #submittalGuidelineAccordion h4,
    #masterContent #appealPeriodCommentsGuidelineAccordion h4 {
        font-family: "Roboto", sans-serif;
    }

#homePageIconTable .cv-homepage-icon svg {
    --cv-homepage-iconcolor-accent: #d14824;
    --cv-homepage-iconcolor-background: #fff;
    --cv-homepage-iconcolor-background-opacity: 1;
    --cv-homepage-iconcolor-main: #052f57;
}

/* Apply default cursor style to labels */
#masterContent label {
    cursor: default;
}

/*#contentPanel {
    float: none;
}*/

/* Update tab title font size */
#masterContent h2.tabTitle {
    font-size: 1.75em;
}

/* Update font color for collapsible section titles to match the color of the tab title*/
#masterContent fieldset > legend > h3 {
    color: #0a2d53;
}

/* Remove extra space under paragraph elements */
#masterContent p {
    margin-bottom: 0px;
}

/* Fix calendar image not showing in date inputs in AFGs */
#masterContent .cv-input-container .ui-datepicker-trigger img {
    max-width: initial;
}

/* Align checkbox and radio buttons with labels in community notification subscriptions */
#masterContent input[type=checkbox],
#masterContent input[type=radio] {
    vertical-align: sub;
    margin: 0.1em 0.2em;
}

/* Fix portal content going outside parent div */
/*.moduleContentNew .cpGrid {
    margin: 0px;
}*/

/* Remove left border on table td elements so that it doesn't look odd on rows with different number of td elements */
#masterContent table.cv-table > tbody > tr > td {
    border-left: none;
}

/* Fix shopping cart borders */
#cv-shoppingcart-summary table.feesTotalTable,
#cv-shoppingcart-summary table.feesTotalTable tr,
#cv-shoppingcart-summary table.feesTotalTable td {
    border: none;
    background-color: initial;
}

#feeTotalContainer table.feesTotalTable,
#feeTotalContainer table.feesTotalTable tr,
#feeTotalContainer table.feesTotalTable td {
    border: none;
    background-color: initial;
}

/* Fix hr border color */
#feeTotalContainer hr {
    border-color: #333;
}

/* Fix table border color */
table.cv-table tr {
    border: 1px solid #548249;
}

/* Fix contact tables being formatted differently */
table#notifyEmailAddresses,
table#notifyEmailAddresses th,
table#notifyEmailAddresses td,
table#notifyContactNumbers,
table#notifyContactNumbers th,
table#notifyContactNumbers td,
table#alternateEmailAddresses,
table#alternateEmailAddresses th,
table#alternateEmailAddresses td,
table#alternateContactNumbers,
table#alternateContactNumbers th,
table#alternateContactNumbers td,
table#alternateAddresses,
table#alternateAddresses th,
table#alternateAddresses td,
table#contacts,
table#contacts th,
table#contacts td {
    border: none;
    background-color: initial;
    color: #222223;
}

table#notifyContactNumbers th,
table#notifyEmailAddresses th {
    font-weight: bold;
}

/* Remove map legend borders*/
#legendContainer table,
#legendContainer table td {
    border: none;
}

/* Add spacing to legend items */
#legendContainer > #legendDiv > #legendDiv_layer0 table td {
    padding: 1px;
}

#legendContainer > #legendDiv > #legendDiv_layer0 > div {
    padding: 0px 5px 5px 5px;
}

#legendContainer > #legendDiv > #legendDiv_layer0 > table {
    margin: 0px 5px 5px 5px;
}

/* Center legend image alignment  */

#legendContainer > #legendDiv > #legendDiv_layer0 > div > table.esriLegendLayer > tbody > tr > td:nth-child(1) {
    text-align: center;
}

/* Fix printing styling */
@media print {
    #gbsContainerTS, #bannerContainerTS, #versionHeadLine, #gbs2ContainerTS, #footerContainerTS, #poweredByContainerTS {
        display: none;
    }

    /* Fix map styling */

    #legendContainer {
        background-color: lightgray !important;
    }
    
    #legendContainer .cv-map-legend-div {
        background-color: white !important;
    }
}