@charset "utf-8";

/*...............................................header top ...............................................*/
.top_menu .top_link a {
    color: #000;
    font-weight: bold;
    padding-left: 5px;
}

.top_link .tnr {
    margin-right: 3px;
}

.top_link a:focus .tnr {
    margin-right: 0px !important;
}

.top_link a:focus {
    padding: 3px 0px 3px 3px !important;
    /*    margin: 3px;*/
    margin-top: -5px;
    margin-bottom: -5px;
}

.new_top {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 1000px;
}

.key_text {
    color: #000;
    margin-right: 10px;
    font-size: 0.9375rem !important;
    font-family: "微軟正黑體";
    letter-spacing: 2px !important;
}


/*無障礙*/
.accessibilitylink:not(:focus) {
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    position: absolute;
    padding: 0;
}

.accessibilitylink {
    position: fixed;
    z-index: 9999;
    top: 0;
    margin: 10;
    padding: 10;
    background-color: #FFFFD9;
    text-decoration: underline;
    -webkit-box-shadow: 0 2px 4px #000;
    box-shadow: 0 2px 4px #000;
    left: 0px;
    border: 2px dotted #F90;
}

.logo .navbar-brand {
    position: absolute;
    top: 8px;
    margin-top: 0px;
}

.logo .navbar-brand {
    background-position: 0px -10px;
}

.logo .navbar-brand:focus {
    top: 0px;
    margin-left: -2px;
    margin-top: 6px;
}

/*************** focus效果 **************************************/
:root {
    --focus-color: #1a73e8;
    --focus-color: #F90;
    --focus-ring: rgba(26, 115, 232, .35);
    --focus-ring: #fff;
    --focus-offset: -2px;
    --focus-width: 1px;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[role="button"]:focus,
[role="link"]:focus {
    outline-offset: var(--focus-offset) !important;
    border-radius: 3px;
    border: 2px dotted #F90;
    outline: 5px auto -webkit-focus-ring-color !important;
}

*:focus {
    outline: var(--focus-width) dashed var(--focus-color);
    outline-offset: var(--focus-offset);
    border-radius: 3px;
    border: 2px dotted #F90;
    outline: 5px auto -webkit-focus-ring-color !important;
}
