h1, 
main select,
#form1 dd .smalllabelbold,
#maincontent_rbSearchType input[type="radio"],
#maincontent_radGrdViewlstMember table thead td,
#maincontent_radGrdViewlstMember table thead th, 
#maincontent_radGrdViewlstMember table table tbody td
#maincontent_radGrdViewlstMember > table > tbody > tr {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
}

#form1 dd a, 
#form1 dd .smalllabel, 
main input, main nav, main aside, 
#maincontent_Label14,
#maincontent_lblSearchDesc,
#maincontent_rbSearchType td,
#maincontent_dtlstsic_code, 
#maincontent_dtlstsic_code tr, 
#maincontent_dtlstsic_code td, 
#maincontent_dtlstcategory,
#maincontent_dtlstcategory > span,
#maincontent_radGrdViewlstMember dl, 
#maincontent_radGrdViewlstMember > table > tbody {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

#form1 dd a, 
main nav, 
main input[type="submit"] {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

#maincontent_dtlstsic_code, 
#maincontent_dtlstcategory,
#maincontent_radGrdViewlstMember > table > tbody {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#maincontent_dtlstsic_code, 
#maincontent_dtlstcategory {
    margin-bottom: 48px;
    margin-bottom: 3rem;
}

h1 {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    margin: 48px auto 16px auto;
    margin: 3rem auto 1rem auto;
    font-size: 32px;
    font-size: 2rem;
    color: black;
}
    h1:after {
        display: block;
        content: '';
        width: 100%;
        height: 4px;
        height: 0.25rem;
        background-color: black;
    }

main aside {
    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    margin-bottom: 48px;
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid #ead0d0;
    border-radius: 4px;
    border-radius: 0.25rem;
    background-color: white;
}

[data-clickthrough] {
    cursor: pointer;
}

#maincontent_rbSearchType input[type="radio"], 
main select {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
}

main input[type="text"],
main input[type="tel"], 
main textarea,
main select {
    padding: 8px 14px;
    padding: 0.5rem 0.875rem;
    border: solid 1px #9f9f9f;
    border-radius: 0;
    background-color: white;
}

main input[type="submit"] {
    cursor: pointer;
    padding: 8px 12px;
    padding: 0.5rem 0.75rem;
    background-color: #136796;
    color: white;
    border: none;
    border-radius: 4px;
    border-radius: 0.25rem;
    text-align: center;
}
    main input[type="submit"]:hover {
        background-color: #3eaffc;
    }

main select {
    padding-right: 32px;
    padding-right: 2rem;
    background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjdweCIgdmlld0JveD0iMCAwIDEyIDciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgIDxnIGlkPSJJY29ucyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSWNvbi0vLUNhcmF0LS8tRG93biIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIuMDAwMDAwLCAtNS4wMDAwMDApIiBmaWxsPSIjMDAwMDAwIj4gICAgICAgICAgICA8cG9seWdvbiBpZD0iVHJpYW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguMDAwMDAwLCA4LjUwMDAwMCkgcm90YXRlKC0xODAuMDAwMDAwKSB0cmFuc2xhdGUoLTguMDAwMDAwLCAtOC41MDAwMDApICIgcG9pbnRzPSI4IDUgMTQgMTIgMiAxMiI+PC9wb2x5Z29uPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+) calc(100% - 0.75rem) center no-repeat;
}

#form1 .pb-3 > * {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

#form1 dt {
    font-size: 24px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    margin-bottom: 1rem;
}

#form1 dd a {
    position: relative;
    overflow: hidden;
    padding: 50%;
    border: 1px solid #ead0d0;
    border-radius: 4px;
    border-radius: 0.25rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: white;
}
    #form1 dd a img {
        position: absolute;
        top: 1rem;
        width: auto;
        height: calc(100% - 2rem);
    }

#form1 dd .smalllabel,
#form1 dd .smalllabelbold {
    font-size: 20px;
    font-size: 1.25rem;
    margin-top: 16px;
    margin-top: 1rem;
}

#form1 dd .smalllabel {
    font-weight: 300;
}

#form1 dd .smalllabelbold {
    font-weight: 700;
}

#maincontent_dtlstsic_code, 
#maincontent_txtSearch,
#maincontent_dtlstsic_code tbody {
    width: 100%;
}

#maincontent_suggestive, 
#maincontent_rbSearchType td,
#maincontent_radGrdViewlstMember table thead td,
#maincontent_radGrdViewlstMember table thead th, 
#maincontent_radGrdViewlstMember table table tbody td {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

#maincontent_rbSearchType td {
    margin-bottom: 16px;
    margin-bottom: 0.5rem;
}

#maincontent_rbSearchType label {
    margin-bottom: auto;
}

#maincontent_rbSearchType input[type="radio"] {
    width: 18px;
    width: 1.125rem;
    height: 18px;
    height: 1.125rem;
    border: solid 1px #136796;
    border-radius: 200px;
    background-color: white;
}

    #maincontent_rbSearchType input[type="radio"]:checked {
        background-color: #136796;
    }

        #maincontent_rbSearchType input[type="radio"] + label {
            margin-left: 8px;
            margin-left: 0.5rem;
        }
        
#pnlhotitem {
background: url(images/hotitembg.gif) no-repeat;
}

#maincontent_radGrdViewlstMember table,
#maincontent_radGrdViewlstMember table table {
    width: 100%;
    max-width: 100%;
    background-color: transparent;
}

#maincontent_radGrdViewlstMember table thead td,
#maincontent_radGrdViewlstMember table thead th, 
#maincontent_radGrdViewlstMember table table tbody td {
    align-content: center;
    border-top: 0;
}

#maincontent_radGrdViewlstMember table thead td,
#maincontent_radGrdViewlstMember table thead th {
    font-size: 1.25rem;
    padding: 0 0 10px 0;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #9f9f9f;
}

#maincontent_radGrdViewlstMember td,
#maincontent_radGrdViewlstMember th,
#maincontent_radGrdViewlstMember label,
#maincontent_radGrdViewlstMember span {
    vertical-align: middle;
    display: inline-flex;
    margin-bottom: auto;
}

#maincontent_radGrdViewlstMember table table > tbody tr {
    border-bottom: 1px solid #9f9f9f;
}
#maincontent_radGrdViewlstMember > table > tbody > tr > td {
    width: 100%;
}

#maincontent_radGrdViewlstMember > table {
    margin-bottom: 16px;
    margin-bottom: 1rem;
}

#maincontent_radGrdViewlstMember > table > tbody {
    margin-right: -15px;
    margin-right: -0.9375rem;
    margin-left: -15px;
    margin-left: -0.9375rem;
}

#maincontent_radGrdViewlstMember > table > tbody > tr {
    flex: 0 0.33 auto;
    width: calc(33.3333334% - 30px);
    width: calc(33.3333334% - 1.875rem);
    margin: 15px;
    margin: 0.9375rem;
}

#maincontent_radGrdViewlstMember table tfoot {
    display: none;
}

#maincontent_radGrdViewlstMember dl {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    padding: 16px;
    padding: 1rem;
    border: solid 1px #ead0d0;
    border-radius: 4px;
    border-radius: 0.25rem;
    background-color: white;
}


#maincontent_radGrdViewlstMember dt {
    margin-top: 16px;
    margin-top: 1rem;
    margin-bottom: auto;
}

#maincontent_pnlhotitem {
    margin-bottom: 3rem;
}

.RadGrid_Default {
    border: none;
    color: inherit;
    background: transparent;
}

.callout {
    font-size: 28px;
    font-size: 1.75rem;
    font-weight: 300;
    color: white;
    background-color: #126796;
}

@media only screen and (max-width:991px) {
    main aside {
        display: block;
    }
        main aside div.col-12 {
            margin-bottom: 1rem;
        }
}

@media only screen and (min-width:992px) {
    main aside div.row {
        width: 100%;
    }
    
    .callout a {
        margin-left: 8px;
        margin-left: 0.5rem;
        border-bottom: dotted 2px #f3e994;
        font-weight: 700;
        color: #f3e994;
    }

    #maincontent_divcat a {
        font-size: 1.125rem;
    }

    main select:hover,
    main input[type="tel"]:hover,
    main input[type="text"]:hover{
        border-color: #3faffc;
    }
        main select:hover,
        main select:focus {
            background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjdweCIgdmlld0JveD0iMCAwIDEyIDciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+VHJpYW5nbGU8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9Ikljb25zIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJJY29uLS8tQ2FyYXQtLy1Eb3duIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMi4wMDAwMDAsIC01LjAwMDAwMCkiIGZpbGw9IiMxMzY3OTYiPiAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJUcmlhbmdsZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOC4wMDAwMDAsIDguNTAwMDAwKSByb3RhdGUoLTE4MC4wMDAwMDApIHRyYW5zbGF0ZSgtOC4wMDAwMDAsIC04LjUwMDAwMCkgIiBwb2ludHM9IjggNSAxNCAxMiAyIDEyIj48L3BvbHlnb24+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
        }

        main select:focus,
        main input[type="tel"]:focus,
        main input[type="text"]:focus {
            border-color: #136796;
            outline: none;
        }

        main select:hover {
            cursor: pointer;
        }
        
    #form1 dd a { 
        padding: 33.3334%;
    }

    #form1 dd a:hover {
        background-color: #3eaffc;
    }

    #maincontent_dtlstcategory > span {
        width: 25%;
        flex: 0 0.25 auto;
    }

    #maincontent_dtlstsic_code td {
        width: 33.33333334%;
        flex: 0 0.33 auto;
    }

    #maincontent_dtlstcategory a {
        display: block;
    }

    #maincontent_dtlstcategory br {
        display: none;
    }

    #maincontent_radGrdViewlstMember dl[data-clickthrough]:hover {
        border-color: #3eaffc;
        background-color: #3eaffc;
    }

    #maincontent_radGrdViewlstMember dl[data-clickthrough] a:hover {
        text-decoration: none;
    }
        #maincontent_radGrdViewlstMember dl[data-clickthrough]:hover a, 
        #maincontent_radGrdViewlstMember dl[data-clickthrough]:hover dt,
        #maincontent_radGrdViewlstMember dl[data-clickthrough]:hover dd {
            color: white;
            text-decoration: none;
        }

    .callout a:hover {
        text-decoration: none;
        color: #ffe400;
    }

    .callout[data-clickthrough]:hover {
        color: black;
        background-color: #fcf5b8;
    }

        .callout[data-clickthrough]:hover a {
            color: #136796;
            border-bottom-color: transparent;
        }
}