/* organization (용인시청 조직도)*/
.chart01 .organization {
    width: 1020px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0;
    line-height: 0;
    text-align: center;
}

.chart01 .organization a {
    display: block;
}

.chart01 .organization a:hover {
    text-decoration: underline;
}

.chart01 .organization .titbox {
    position: relative;
    display: inline-block;
    width: 246px;
    margin-bottom: 26px;
    padding: 24px 0;
    border-radius: 10px 0 20px 0;
    background-color:#445ABD;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
}

.chart01 .organization .titbox:before {
    display: block;
    z-index: -1;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    width: 1px;
    height: 95px;
    margin-left: auto;
    margin-right: auto;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organization .depth1 .titbox {
    margin-bottom: 60px;
    padding: 0;
    background-color: #5a1825;
}

.chart01 .organization .depth1 .titbox.no_link {
    padding: 24px 0;
}

.chart01 .organization .depth1 .titbox a {
    padding: 24px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
}
.chart01 .organization .depth1 .titbox a:hover {
	color:#fed76f;
}
.chart01 .organization .depth1 .titbox.type2 {
    margin-bottom: 90px;
    background-color: #87a670;
}

.chart01 .organization .tit_list > li > .titbox {
    padding: 24px 0;
}

.chart01 .organization .tit_list > li > .titbox:before {
    height: 650px;
}

.chart01 .organization .tit_list > li:nth-child(n+2) > .titbox:before {
    display: none;
}

.chart01 .organization .depth2.divide2 {
    position: relative;
    margin-right: -2.6%;
}

.chart01 .organization .depth2.divide2:before {
    display: block;
    z-index: -1;
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    width: 400px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organization .depth2.divide2 > li {
    float: left;
    width: 47.4%;
    margin-right: 2.6%;
}

.chart01 .organization .depth2 .titbox {
    background-color: #bd445b;
    margin-bottom: 28px;
}

.chart01 .organization .depth2 .titbox:before {
    height: 159px;
}

.chart01 .organization .depth2 .titbox.no_list:before {
    display: none;
}

.chart01 .organization .depth2_list {
    width: 431px;
    margin-left: auto;
    margin-right: auto;
}

.chart01 .organization .depth2_list > ul > li {
    position: relative;
	width:161px;
}

.chart01 .organization .depth2_list > ul > li:nth-child(odd) {
    float: none;
}

.chart01 .organization .depth2_list > ul > li:nth-child(even) {
    float: none;
}

.chart01 .organization .depth2_list > ul > li:before {
    display: block;
    position: absolute;
    top: 22px;
    width: 54px;
    height: 1px;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organization .depth2_list > ul > li:nth-child(odd):before {
    right: -54px;
}

.chart01 .organization .depth2_list > ul > li:nth-child(even):before {
    right: -54px;
}

.chart01 .organization .depth1 > li > .depth2_list > ul > li > .list_box {
    width: 178px;
}

.chart01 .organization .depth2_list > ul > li > .list_box {
    position: relative;
    display: inline-block;
    width: 161px;
    margin-bottom: 12px;
    padding: 12px 0;
    background-color: #f8e6ea;
    color: #4f4e4e;
    font-size: 16px;
    line-height: 18px;
}
.chart01 .organization .depth2_list > ul > li > .list_box:hover{
	color: #bd445b;
}

.chart01 .organization .depth2_list.type2 {
    width: 570px;
    margin-bottom: 22px;
}

.chart01 .organization .depth2_list.type2 > ul > li:nth-child(odd) {
    float: none;
}

.chart01 .organization .depth2_list.type2 > ul > li:nth-child(even) {
    float: none;
}

.chart01 .organization .depth2_list.type2 .l_style {
    float: left;
}

.chart01 .organization .depth2_list.type2 .l_style > li:before, .organization .depth2_list.type2 .l_style > li:nth-child(even):before {
    left: auto;
    right: -125px;
    width: 125px;
}
.chart01 .organization ul.depth2.divide2 li:nth-child(2) .depth2_list ul{
	padding-left:270px;
}
.chart01 .organization ul.depth2.divide2 li:nth-child(2) .depth2_list > ul > li:before{
	left:-54px;
}
.chart01 .organization .depth2_list.type2 .r_style {
    float: right;
}

.chart01 .organization .depth2 .depth2_list.type2 {
    width: 431px;
    margin-bottom: 0;
}

.chart01 .organization .depth2_list.type2 .r_style > li:before, .organization .depth2_list.type2 .r_style > li:nth-child(even):before {
    right: auto;
    left: -54px;
    width: 54px;
}

.chart01 .organization .depth_z_bg {
    padding: 9px 28px 2px;
    background-color: #f9f9f9;
}

.chart01 .organization .depth_z {
    position: relative;
    margin-right: -4%;
}

.chart01 .organization .depth_z > li {
    float: left;
    width: 16%;
    margin-right: 4%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.chart01 .organization .depth_z.divide4 > li {
    width: 21%;
}

.chart01 .organization .depth_z.divide3 {
    margin-right: -1.8%;
}

.chart01 .organization .depth_z.divide3 > li {
    width: 31.53%;
    margin-right: 1.8%;
}

.chart01 .organization .depth_z > li:last-child {
    margin-right: 0;
}

.chart01 .organization .depth_z > li > .listbox {
    width: 100%;
    margin-bottom: 5px;
    background-color: #3d3536;
}

.chart01 .organization .depth_z > li > .listbox a {
    padding: 11px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
}


.chart01 .organization .depth_z > li > .depth_z_list {
    width: 100%;
    padding: 10px 16px 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #444;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
}

.chart01 .organization .depth_z > li > .depth_z_list ul.bu {
    padding:0;
	position:relative;
}

.chart01 .organization .depth_z > li > .depth_z_list ul.bu > li {
	margin-left:-5px;
    margin-top: 0;
    text-align: left;
	white-space: nowrap;
}

.chart01 .organization .depth_z > li > .depth_z_list ul.bu > li:before {
	display:inline-block;
	overflow:hidden;
    width:4px;
    height:4px;
	border:3px solid #bd445b;
	border-radius:10px;
	margin-right:7px;
	vertical-align:middle;
	box-sizing:border-box;
	content:' ';
	margin-bottom:1.5px;
}

.chart01 .organization .depth_z > li > .depth_z_list ul.bu > li a {
    display: inline;
    color: #444;
    font-size: 15px;
    line-height: 22px;
}

.chart01 .organ_tab_container.n0 .depth1 .titbox {
    margin-bottom: 35px;
}

.chart01 .organ_tab_container.n0 .depth1 .titbox:before {
    height: 146px;
}

.chart01 .organ_tab_container.n0 .depth2.divide2 .titbox:before {
    height: 300px;
}

.chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z:before {
    display: block;
    z-index: -1;
    position: absolute;
    top: -47px;
    left: 0;
    right: 2%;
    width: 299px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z > li {
    position: relative;
}

.chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z > li:nth-child(1):before {
    display: block;
    z-index: -1;
    position: absolute;
    top: -47px;
    left: 0;
    right: 0;
    width: 1px;
    height: 47px;
    margin-left: auto;
    margin-right: auto;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z > li:nth-child(3):before {
    display: block;
    z-index: -1;
    position: absolute;
    top: -47px;
    left: 0;
    right: 0;
    width: 1px;
    height: 47px;
    margin-left: auto;
    margin-right: auto;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organ_tab_container.n0 .depth2 .depth2_list.type2 {
    min-height: 108px;
}

.chart01 .organ_tab_container.n0 .depth2 .depth2_list.type3 {
    min-height: 162px;
}

.chart01 .organ_tab_container.n0 .depth_z_bg {
    margin-top: 60px;
    min-height: 836px;
}

.chart01 .organ_tab_container.n0 .depth_z_list {
    min-height: 220px;
}

.chart01 .organ_tab_container.n2 .depth1 .depth2 > li > .titbox:before {
    display: block;
    z-index: -1;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    width: 1px;
    height: 159px;
    margin-left: auto;
    margin-right: auto;
    background-color: #9e9e9e;
    content: '';
}

.chart01 .organ_tab_container.n2 .depth_z_list {
    min-height: 120px;
}

.chart01 .organ_tab_container.n3 .depth_z_list {
    min-height: 150px;
}

.chart01 .organ_tab_container.n3 .depth_z_bg {
    min-height: 480px;
}

.chart01 .organ_tab_container.n4 .depth_z_list {
    min-height: 600px;
}

.chart01 .dept_maintask .table tbody th {
    font-size: 15px;
    color: #1e4697;
    background-color: #f2f4f7;
}

.chart01 .dept_maintask .table tbody td {
    font-size: 15px;
}

/* .main_task_box{display:none;} */
.chart01 .main_task_list_ul {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.chart01 .main_task_list_ul li {
    flex: 1 0 calc((100% / 2) - 20px);
    margin-right: 20px;
    box-sizing: border-box;
}

/* organization */
@media screen and (max-width: 1200px) {
    .chart01 .organization {
        width:100%;
    }

    .chart01 .organization .depth2 .titbox:before {
        height: 260px;
    }
	.chart01 .organization .depth2_list > ul > li{
		width:auto;
	}
    .chart01 .organization .depth2_list > ul > li:nth-child(2n+1) {
        float: none;
    }

    .chart01 .organization .depth2_list > ul > li:nth-child(2n) {
        float: none;
    }

    .chart01 .organization .depth2 .depth2_list {
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .chart01 .organization .depth2 .depth2_list > ul > li:before {
        display: none;
    }
	.chart01 .organization .depth2_list.type2 {
		width: 604px;
	}
	.chart01 .organization ul.depth2.divide2 li:nth-child(2) .depth2_list ul{
		padding-left:0;
	}
    .chart01 .organization .depth2 .depth2_list.type2 {
        width: auto;
    }

    .chart01 .organization .depth2 .depth2_list.type2 .r_style {
        float: none;
    }

    .chart01 .organization .depth_z > li > .depth_z_list {
        padding: 4px 5%;
    }

    .chart01 .organization .depth_z > li > .depth_z_list ul > li br {
        display: none;
    }

    .chart01 .organization .depth_z.divide3 > li {
        margin-right: 0;
    }

    .chart01 .organization .depth_z.divide3 > li {
        float: none;
        width: auto;
        margin-right: 0;
    }

    .chart01 .organization .depth_z.divide5 {
        margin-right: -1.8%;
    }

    .chart01 .organization .depth_z.divide5 > li {
        width: 31.53%;
        margin-right: 1.8%;
    }

    .chart01 .organization .depth_z > li > .depth_z_list ul.bu > li {
        float: left;
        width: 50%;
        padding-right: 5%;
        box-sizing: border-box;
    }

    .chart01 .organ_tab_container.n0 .depth_z_bg {
        margin-top: 20px;
        min-height: auto;
    }

    .chart01 .organ_tab_container.n0 .depth2.divide2 .titbox:before {
        height: 350px
    }

    .chart01 .organ_tab_container.n0 .depth2 .depth2_list.type2 {
        min-height: auto;
    }

    .chart01 .organ_tab_container.n0 .depth2 .depth2_list.type3 {
        min-height: auto;
    }

    .chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z:before {
        display: none;
    }

    .chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z > li:nth-child(1):before {
        display: none;
    }

    .chart01 .organ_tab_container.n0 .depth2.divide2 .depth_z > li:nth-child(3):before {
        display: none;
    }

    .chart01 .organ_tab_container.n0 .depth_z_list {
        min-height: auto;
    }

    .chart01 .organ_tab_container.n2 .depth_z > li > .depth_z_list ul.bu > li {
        float: none;
        width: auto;
    }

    .chart01 .organ_tab_container.n3 .depth_z_list {
        min-height: auto;
    }

    .chart01 .organ_tab_container.n4 .depth_z > li > .depth_z_list ul.bu > li {
        float: none;
        width: auto;
    }
}

@media screen and (max-width: 640px) {
    .chart01 .organization .titbox {
        width:100%;
    }

    .chart01 .organization .titbox:before, .organization .depth2 .titbox:before {
        height: 30px;
    }

    .chart01 .organization .depth1 .titbox {
        margin-bottom: 15px;
    }

    .chart01 .organization .depth1 .titbox.type2 {
        margin-bottom: 15px;
    }

    .chart01 .organization .depth2 .titbox {
        margin-top: 15px;
    }

    .chart01 .organization .depth2.divide2 {
        margin-right: 0;
    }

    .chart01 .organization .depth2.divide2:before {
        display: none;
    }

    .chart01 .organization .depth2.divide2 > li {
        float: none;
        width: auto;
        margin-right: 0;
    }

    .chart01 .organization .depth2_list.type2 {
        width: 100%;
        margin-bottom: 0;
    }

    .chart01 .organization .depth2_list.type2 .l_style {
        float: none;
    }

    .chart01 .organization .depth2_list.type2 .l_style > li::before, .organization .depth2_list.type2 .l_style > li:nth-child(2n)::before {
        display: none;
    }

    .chart01 .organization .depth2_list > ul > li > .list_box {
        width: 100%;
    }

    .chart01 .organization .depth1 > li > .depth2_list > ul > li > .list_box {
        width: 100%;
    }

    .chart01 .organization .depth_z_bg {
        padding: 0;
        background-color: transparent;
    }

    .chart01 .organization .depth_z {
        margin-right: 0;
    }

    .chart01 .organization .depth_z > li {
        float: none;
        margin-right: 0;
    }

    .chart01 .organization .depth_z.divide3 {
        margin-right: 0;
    }

    .chart01 .organization .depth_z.divide4 > li {
        width: auto;
    }

    .chart01 .organization .depth_z.divide5 {
        margin-right: 0;
    }

    .chart01 .organization .depth_z.divide5 > li {
        width: auto;
        margin-right: 0;
    }

    .chart01 .organ_tab_container.n0 .organization > .titbox:before {
        display: none;
    }

    .chart01 .organ_tab_container.n0 .depth1 .titbox {
        margin-bottom: 15px;
    }

    .chart01 .organ_tab_container.n0 .depth1 .titbox:before {
        height: 100px;
    }

    .chart01 .organ_tab_container.n0 .depth2.divide2 .titbox:before {
        height: 320px;
    }

    .chart01 .organ_tab_container.n0 .depth2.divide2 li:nth-child(2) .titbox:before {
        height: 150px;
    }

    .chart01 .organ_tab_container.n0 .depth_z_bg {
        margin-top: 0;
    }

    .chart01 .organ_tab_container.n1 .titbox:before {
        display: none;
    }

    .chart01 .organ_tab_container.n1 .depth2 .titbox:before {
        display: none;
    }

    .chart01 .organ_tab_container.n2 .depth_z_list {
        min-height: auto;
    }

    .chart01 .organ_tab_container.n2 .depth1 .depth2 > li > .titbox:before {
        height: 30px;
    }

    .chart01 .organ_tab_container.n4 .depth_z_list {
        min-height: auto;
    }

    .chart01 .organ_tab_container.n4 .depth_z > li > .depth_z_list ul.bu > li {
        float: left;
        width: 50%;
    }
}

@media screen and (max-width: 800px) {
    .chart01 .dept_maintask .table.responsive tbody tr {
        padding:0 10px;
    }

    .chart01 .dept_maintask .table.responsive tbody th {
        color: #555;
        border-bottom: 1px dashed #aaaaaa;
    }

    .chart01 .main_task_list_ul {
        display: block;
    }

    .chart01 .main_task_list_ul li {
        margin-right: 0;
    }
}

@media screen and (max-width: 640px) {
    .chart01 .scroll_table.dept_person {
        overflow:hidden !important;
    }

    .chart01 .scroll_table.dept_person table {
        width: 100% !important;
    }

    .chart01 .dept_person table.table thead {
        display: none;
    }

    .chart01 .dept_person table.table:after {
        display: none;
    }

    .chart01 .dept_person table.table, .dept_person table.table tbody, .dept_person table.table tr, .dept_person table.table th, .dept_person table.table td {
        display: block;
        box-sizing: border-box;
        border: 0 none;
    }

    .chart01 .dept_person table.table tr {
        width: 100%;
        padding: 0 10px;
        border-bottom: 1px solid #a6a6a6;
    }

    .chart01 .dept_person table.table tr:after {
        display: block;
        content: '';
        clear: both;
    }

    .chart01 .dept_person table.table tbody {
        width: 100%;
        border-top: 1px solid #a6a6a6;
    }

    .chart01 .dept_person table.table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .chart01 .dept_person table.table td {
        float: left;
        padding: 5px;
    }

    .chart01 .dept_person table.table td:first-child {
        text-align: left;
        font-size: 13px;
        color: #6d6d6d;
    }

    .chart01 .dept_person table.table td:last-child {
        width: 100%;
        /* white-space:pre-line; */
        font-size: 13px;
        line-height: 1.5;
        color: #6d6d6d;
        border-top: 1px dashed #aaaaaa;
    }

    .chart01 .inbadge {
        margin-left: -5px !important;
    }

    .chart01 .badgecon {
        left: -50px !important;
    }
}

@media screen and (max-width: 375px) {
    .chart01 .dept_person table.table td:first-child {
        width:100%;
        margin-bottom: -15px;
    }

    .chart01 .dept_person.type2 table.table td:first-child {
        width: 100%;
        margin-bottom: 0;
    }

    .chart01 .inbadge {
        margin-left: 0 !important;
    }

    .chart01 .badgecon {
        left: 0 !important;
    }
}

.chart01 .gov_orginfo {
    max-width: 1160px;
    margin: 0 auto;
    text-align: right;
}

.chart01 .gov_orginfo a {
    display: inline-block;
    position: relative;
    padding: 5px 20px 5px 60px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.chart01 .gov_orginfo a:before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -12px;
    width: 26px;
    height: 25px;
    background: url('') 0 0 no-repeat;
    background-size: 100% 100%;
}
