button:focus, input:focus{ 	
    border: none;
    outline:none;
}
.map_wrap .btn_bar {
    display: flex;
    align-items: center;
    min-height: 70px;
    position: relative;
}
.map_wrap .btn_bar .inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    justify-content: start;
}
.map_wrap .btn_bar .inner  .map_logo{
    display: flex;
    height: 100%;
    min-width: 280px;
    align-items: center;
    justify-content: right;
}

legend, caption {
    height: 0;
    width: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
.map_wrap .btn_bar .inner  .top_search_box{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: right;
    min-width: 500px;
}
.top_search_bar {
    position: relative;
    width: 420px;
    height: 46px;
    background-color: #fff;
    border-radius: 100px;
    padding: 0px 60px 5px 30px;
}
.top_search_bar fieldset{
    display: flex;
    height: 100%;
    align-items: center;
}
.top_search_bar .map_sch_txt {
    width: 100%;
    height: 28px;
    padding: 0;
    border: 0;
    font-size: 16px;
    background-color: transparent;
}
.top_search_bar .map_sch_btn {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 38px;
    height: 38px;
    border-radius: 100px;
    background-color: #669df0;
    background-image: url(../../images/ico_search.png);
    background-repeat: no-repeat;
    background-position: center center;
    transition: background-color 0.3s;
}
.top_search_bar .map_sch_btn:hover{ 
    background-color: #0b68f4; 
}

.top_tool_box{
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: right;
    flex: 1 1 100%;
    padding: 0 20px;
    gap: 10px;
}

.top_basemapbox{
    position: unset;
    display: flex;
    min-width: 140px;
    height: 40px;
}
.top_basemapbox .select_box{
    position: unset;
    display: flex;
    min-width: 140px;
}
.top_tool_box .legendbox{
    position: unset;
    display: flex;
    min-width: 120px;
}

.top_tool_box .legendbox > p {
    width: 90px;
}
.top_tool_box .btn-legend{
    position: unset;
}
.legendbox > .btn-legend.on {
	z-index: 3;	
}
.legendbox .optionlist {
	position: absolute;
    width: 600px;
    right: 165px;
    top: 12px;
    background-color: #fff;
    border: 1px solid #b9b9b9;
    box-shadow: 0px 0px 6px 0px #adadad;
}

/*rimgisMap 범례*/
#custom-handle, #custom-handle2,#custom-handle3,#custom-handle4,#custom-handle5,#custom-handle6 {
    width: 3.5em;
    height: 1.6em;
    top: 50%;
    margin-top: -.8em;
    text-align: center;
    line-height: 1.4em;
    margin-left: -2.3em;
    background-color: #05286a;
    color: #fff;
    font-weight: 200;
    font-size: 13px;
}


.legendbox .optionlist > ul > li > ul > li label {
    padding-left: 28px;
    margin: 0
}

.legendbox .optionlist > ul > li > ul > li em {
    border-radius: 3px;
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.legendbox .optionlist > ul > li > ul > li em.op_fac00 {
    width: 19px;
    background: url('/images/icon/op_rf270.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac01 {
    width: 19px;
    background: url('/images/icon/op_rf271.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac02 {
    width: 19px;
    background: url('/images/icon/op_rf510.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac03 {
    background: url('/images/content/fac_03.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac04 {
    background: #be22ce
}

.legendbox .optionlist > ul > li > ul > li em.op_fac05 {
    background: #de1b11
}

.legendbox .optionlist > ul > li > ul > li em.op_fac06 {
    background: #ababab
}

.legendbox .optionlist > ul > li > ul > li em.op_fac07 {
    background: #FF99CA
}

.legendbox .optionlist > ul > li > ul > li em.op_fac08 {
    background: #be22ce
}

.legendbox .optionlist > ul > li > ul > li em.op_fac09 {
    background: url('/images/content/fac_09.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac10 {
    background: url('/images/content/fac_10.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac11 {
    background: #be22ce
}

.legendbox .optionlist > ul > li > ul > li em.op_fac12 {
    background: #95c3fb
}

.legendbox .optionlist > ul > li > ul > li em.op_fac13 {
    background: #205eab
}

.legendbox .optionlist > ul > li > ul > li em.op_fac14 {
    background: #fac090
}

.legendbox .optionlist > ul > li > ul > li em.op_fac15 {
    background: #c0504d
}

.legendbox .optionlist > ul > li > ul > li em.op_fac16 {
    background: #00b050
}

.legendbox .optionlist > ul > li > ul > li em.op_fac160 {
    background: #0c7c3f
}
.legendbox .optionlist > ul > li > ul > li em.op_fac161 {
    background: #07ac00
}
.legendbox .optionlist > ul > li > ul > li em.op_fac162 {
    background: #11d1ae
}
.legendbox .optionlist > ul > li > ul > li em.op_fac163 {
    background: #f09f23
}
.legendbox .optionlist > ul > li > ul > li em.op_fac164 {
    background: #f0ea23
}
.legendbox .optionlist > ul > li > ul > li em.op_fac165 {
    background: #f023ea
}

.legendbox .optionlist > ul > li > ul > li em.op_fac17 {
    background: #a12bad
}

.legendbox .optionlist > ul > li > ul > li em.op_fac18 {
    background: #ddd9c3
}

.legendbox .optionlist > ul > li > ul > li em.op_fac19 {
    background: #7d754a
}

.legendbox .optionlist > ul > li > ul > li em.op_fac20 {
    background: #be22ce
}

.legendbox .optionlist > ul > li > ul > li em.op_fac21 {
    background: url('/images/content/fac_21.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_fac22 {
    background: url('/images/content/fac_22.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_rf260 {
    width: 19px;
    background: url('/images/icon/op_rf260.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_rf520 {
    width: 19px;
    background: url('/images/icon/op_rf520.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.op_rf590 {
    width: 19px;
    background: url('/images/icon/op_rf590.png') no-repeat
}

.legendbox .optionlist > ul > li > ul > li em.riverlist_1 {
    background: #00E0FF
}

.legendbox .optionlist > ul > li > ul > li em.riverlist_2 {
    background: #0027FF
}

.legendbox .optionlist > ul > li > ul > li em.op_banksafe {
    height: 20px;
    background: url('/images/icon/banksafe.png') no-repeat 0 50%
}

.legendbox em {
    width: 19px;
    height: 19px;
    display: inline-block;
    vertical-align: middle;
}

.legendbox input[type="checkbox"] {
    width: 17px;
    height: 17px;
    vertical-align: middle;
}

.legendbox input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 3px;
    cursor: pointer;
    opacity: 0;
}

.legendbox input[type="checkbox"] + label {
    display: block;
    position: relative;
    padding-left: 24px;
}

.legendbox input[type="checkbox"]:not(:checked) + label:before, .legendbox input[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    top: 45%;
    left: 0;
    width: 19px;
    height: 19px;
    line-height: 19px;
    margin-top: -9px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.legendbox input[type="checkbox"]:disabled + label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 19px;
    height: 19px;
    line-height: 19px;
    margin-top: -9px;
    background: #51bbe2
}

.legendbox input[type="checkbox"]:checked:disabled + label:before {
    background: #fff
}

.legendbox input[type="checkbox"]:checked + label:before {
    background: url('/images/common/icon_check.png') no-repeat;
    border: none
}

.legendbox input[type="checkbox"]:not(:checked):focus + label:before, .legendbox input[type="checkbox"]:checked:focus + label:before {
    outline: 1px dotted #000;
}

/*범례추가*/
.legendbox .ui-state-default {
    border-radius: 50px !important;
    top: -5px !important;
    background: #fff;
}

.legendbox .ui-state-active, .legendbox .ui-widget-content .ui-state-active, .legendbox .ui-widget-header .ui-state-active, .legendbox a.ui-button:active, .legendbox .ui-button:active, .legendbox .ui-button.ui-state-active:hover {
    border: 2px solid #aeaeae;
    background: #fff;
    font-weight: normal;
    color: #ffffff;
}