
.wpdevart_org_chart {
	position: relative;
	max-width: 100% !important;
}

.wpdevart_org_chart_container {
	text-align: center;
	display: inline-block;
	max-width: initial !important;
	position: relative;
}

.wpdevart_org_chart_container_parent {
	max-width: initial !important;
	text-align: center;
	margin-top: 0px !important;
	overflow: auto;
	width: 100%;
}

.wpdevart_org_chart_container li .wpda_tree_item_container {
	line-height: 0px;
}

.wpdevart_org_chart_container li > ul {
	line-height: 0px;
}

.wpdevart_org_chart_container li .wpda_tree_item_container > div {
	border: 1px solid #ccc;
	padding: 0px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	min-height: 120px;
	min-width: 102px;
	overflow: hidden;
	line-height: normal;
}

.wpdevart_org_chart_container .wpda_tree_item_container > div {
	position: relative;
}

.wpdevart_org_chart_container_parent .wpdevart_org_chart_container ul {
	padding-top: 20px;
	position: relative;
	white-space: nowrap;
	margin: 0;
	padding-left: 0;
}

.wpdevart_org_chart_container ul:first-child {
	padding-top: 0px;
}

.wpdevart_org_chart_container li {
	vertical-align: top;
	display: inline-block;
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	line-height: 0px;
	margin: 0px;
}

.wpdevart_org_chart_container ul li {
	padding: 20px 5px 0 5px;
	margin: 0px;
}

.wpdevart_org_chart_container li::before, .wpdevart_org_chart_container li::after {
	content: "";
	position: absolute;
	top: 0;
	right: 50%;
	border-top: 1px solid #ccc;
	width: 50%;
	height: 20px;
	box-sizing: border-box;
}

.wpdevart_org_chart_container li:after {
	right: auto;
	left: 50%;
	border-left: 1px solid #ccc;
}

.wpdevart_org_chart_container li:only-child::after, .wpdevart_org_chart_container li:only-child::before {
	display: none;
}

.wpdevart_org_chart_container li:only-child {
	padding-top: 0;
}

.wpdevart_org_chart_container li:first-child::before, .wpdevart_org_chart_container li:last-child::after {
	border: 0 none;
}

.wpdevart_org_chart_container li:last-child::before {
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}

.wpdevart_org_chart_container li:first-child::after {
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

.wpdevart_org_chart_container ul ul::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	border-left: 1px solid #ccc;
	width: 0;
	height: 20px;
}

.wpdevart_org_chart_container .wpda_tree_item_img_cont {
	width: 100px;
	height: 100px;
	margin: 0 auto 0px;
	display: inline-block;
}

.wpdevart_org_chart_container li .wpda_tree_item_container img {
	max-width: 100%;
	max-height: 100%;
}

.first_child_hidden.wpdevart_org_chart_container > ul > li > ul::before {
	display: none !important;
}

.wpda_tree_item_title, .wpda_tree_item_desc, .wpda_tree_item_img_cont {
	position: relative;
}

.wpda_tree_item_title, .wpda_tree_item_desc {
	white-space: pre-line;
	word-break: break-all;
}

.wpdevart_org_chart_container .wpda_tree_node_link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.wpdevart_org_chart_container .wpda_tree_node_link:focus {
	background: none !important;
}

/*
* Mobile
*/
.wpda_mobile.wpdevart_org_chart_container ul, .wpdevart_org_chart_container .chart_wpda_mobile_after ul {
	padding-top: 0;
	padding-left: 20px;
	margin: 0px;
}

.wpda_mobile.wpdevart_org_chart_container li, .wpdevart_org_chart_container .chart_wpda_mobile_after li {
	display: block;
	text-align: left;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li > ul li, .wpdevart_org_chart_container .chart_wpda_mobile_after > ul li {
	border-left: 1px solid #ccc;
	padding-top: 0;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li > ul li:last-child, .wpdevart_org_chart_container .chart_wpda_mobile_after > ul li:last-child {
	border-left: 0;
	position: relative;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li > ul li:last-child:before, .wpdevart_org_chart_container .chart_wpda_mobile_after > ul li:last-child:before {
	content: "";
	width: 0 !important;
	position: absolute;
	left: 0;
	top: 0 !important;
	height: 50% !important;
	right: auto;
	border-radius: 0;
}

.wpda_mobile.wpdevart_org_chart_container li.has_children > .wpda_tree_item_container:before, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children > .wpda_tree_item_container:before, .wpdevart_org_chart_container .chart_wpda_mobile_after li.has_children > .wpda_tree_item_container:before {
	content: "";
	border-left: 1px solid #ccc;
	width: 0;
	position: absolute;
	top: 50%;
	height: 50%;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li.has_children > .wpda_tree_item_container:before, .wpdevart_org_chart_container:not(.wpda_mobile) .chart_wpda_mobile_after.has_children > .wpda_tree_item_container:before {
	content: "";
	left: 0;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li.has_children > .wpda_tree_item_container, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children > .wpda_tree_item_container {
	padding-bottom: 20px;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li.has_children > .wpda_tree_item_container > div, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children > .wpda_tree_item_container > div {
	position: relative;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li > ul li.next_no_children:before, .wpdevart_org_chart_container .chart_wpda_mobile_after ul li.next_no_children:before {
	content: none;
}

.wpda_mobile.wpdevart_org_chart_container li.has_children li, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children li {
	padding-left: 20px;
	margin-left: -20px;
}

.wpda_mobile.wpdevart_org_chart_container li.has_children li .wpda_tree_item_container, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children li .wpda_tree_item_container {
	padding-left: 20px;
	margin-left: -20px;
	padding-bottom: 10px;
	padding-top: 10px;
	position: relative;
}

.wpda_mobile.wpdevart_org_chart_container li.has_children li .wpda_tree_item_container:after, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children li .wpda_tree_item_container:after {
	content: "";
	border-top: 1px solid #ccc;
	width: 20px;
	position: absolute;
	left: 0;
	top: 50%;
	height: 0;
}

.wpda_mobile.wpdevart_org_chart_container li.has_children li .wpda_tree_item_container > div, .wpdevart_org_chart_container .chart_wpda_mobile_after.has_children .wpda_tree_item_container:after {
	position: relative;
	background: #fff;
}

.wpda_mobile.wpdevart_org_chart_container > ul > li > ul li:last-child > div > span.wpda_tree_line, .wpdevart_org_chart_container .chart_wpda_mobile_after > ul li:last-child > div > span.wpda_tree_line {
	position: absolute;
	height: 50%;
	width: 0;
	border-left: 1px solid #ccc;
	left: 0px;
	top: 0;
}

.wpda_mobile.wpdevart_org_chart_container li .wpda_tree_item_container > div, .wpdevart_org_chart_container .chart_wpda_mobile_after .wpda_tree_item_container > div {
	border-radius: 0;
}

.wpda_mobile.wpdevart_org_chart_container li .wpda_tree_item_container, .wpdevart_org_chart_container .chart_wpda_mobile_after .wpda_tree_item_container {
	text-align: center;
	display: inline-block;
	border-radius: 0;
	position: relative;
}

.wpda_mobile.wpdevart_org_chart_container ul ul::before, .wpda_mobile.wpdevart_org_chart_container li::before, .wpda_mobile.wpdevart_org_chart_container li::after, .wpdevart_org_chart_container .chart_wpda_mobile_after ul::before, .wpdevart_org_chart_container .chart_wpda_mobile_after li::before, .wpdevart_org_chart_container .chart_wpda_mobile_after li::after {
	content: none;
}

.wpdevart_org_chart_container:not(.wpda_mobile) .chart_wpda_mobile_after {
	text-align: left;
}

.wpdevart_org_chart_container:not(.wpda_mobile) li.chart_wpda_mobile_after:after {
	border-left: 0px;
}

.wpdevart_org_chart_container:not(.wpda_mobile) li.chart_wpda_mobile_after > div.wpda_tree_item_container:not(.wpda_tree_item_container_first):after {
	content: "";
	background: #fff;
	width: 2px;
	height: 22px;
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translate(-50%);
}

.wpdevart_org_chart_container:not(.wpda_mobile) li.chart_wpda_mobile_after:first-child > div.wpda_tree_item_container:not(.wpda_tree_item_container_first):after {
	display: none;
}

.wpdevart_org_chart_container:not(.wpda_mobile) li.chart_wpda_mobile_after:last-child > div.wpda_tree_item_container:not(.wpda_tree_item_container_first):after {
	display: none;
}

.wpdevart_org_chart_container:not(.wpda_mobile) li.chart_wpda_mobile_after:only-child > div.wpda_tree_item_container:not(.wpda_tree_item_container_first):after {
	display: none;
}

.wpda_mobile.wpdevart_org_chart_container.first_child_hidden > ul > li > ul > li:first-child {
	border: none !important;
}

.wpda_mobile.wpdevart_org_chart_container.first_child_hidden > ul > li > ul > li:first-child::before {
	content: "";
	border-left: 1px solid #ccc;
	width: 0;
	position: absolute;
	left: 20px;
	top: 80px;
	height: calc(100% - 80px);
}

.wpda_mobile.wpdevart_org_chart_container.first_child_hidden > ul > li > div.wpda_tree_item_container:before {
	border: none;
}

/*Popup*/
.wpda_tree_element_hidden {
	display: none;
}

#wpdaOrgChartOverlay {
	z-index: 9999999;
}

#wpdaOrgChartPopupWindow {
	overflow: hidden;
	z-index: 10000000;
}

#wpdaOrgChartCloseSection {
	padding-right: 10px;
}

.wpda_popup_innerhtml {
	overflow: auto;
}

#wpdaOrgChartCloseSection {
	line-height: 0px;
	padding-top: 3px;
	padding-bottom: 3px;
}

#wpdaOrgChartCloseSection > span, #wpdaOrgChartPopupWindow > span {
	cursor: pointer;
}

/*Zoomable buttons*/
div.wpdevart_org_chart .zoomable_buttons_container {
	line-height: 0px;
	text-align: right;
	padding: 0px;
	padding-top: 5px;
	width: 100%;
	max-width: 100% !important;
	position: relative;
	right: 5px;
	z-index: 999999;
}

div.wpdevart_org_chart .zoomable_buttons_container button {
	background-color: #eaeaea;
	border: 0;
	border-radius: 3px;
	color: #000;
	padding: 8px 14px 8px 14px;
	line-height: 1em;
	font-size: 14px;
	margin-right: 4px;
	font-weight: normal;
	outline: none;
	cursor: pointer;
}

div.wpdevart_org_chart .zoomable_buttons_container button.wpda_fullScreen {
	margin-right: 0;
}

.wpdevart_org_chart.wpda_fullscreen_active {
	overflow: auto;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

div.wpdevart_org_chart .zoomable_buttons_container.wpda_button_theme_dark button {
	background: #000;
	color: #fff;
}

div.wpdevart_org_chart .zoomable_buttons_container.wpda_button_theme_dark button:hover {
	background: #000;
	color: #fff;
	opacity: .8;
}

div.wpdevart_org_chart .wpda_tree_open_button {
	background-color: #eaeaea;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #000;
	padding: 3px 10px 3px 10px !important;
	line-height: 1em;
	font-size: 16px;
	margin-right: 3px;
	font-weight: normal;
	outline: none;
	cursor: pointer;
}

div.wpdevart_org_chart .wpda_tree_open_button:hover {
	background-color: #d4d4d4;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #000;
	padding: 3px 10px 3px 10px !important;
	line-height: 1em;
	font-size: 16px;
	margin-right: 3px;
	cursor: pointer;
}

div.wpdevart_org_chart .wpda_tree_open_button.wpda_open_button_theme_dark {
	background: #000;
	color: #fff;
}

div.wpdevart_org_chart .wpda_tree_open_button.wpda_open_button_theme_dark:hover {
	background: #000;
	color: #fff;
	opacity: .8;
}

div.wpdevart_org_chart .zoomable_buttons_container button:last-child {
	margin-right: 0px;
}

div.wpdevart_org_chart .wpda_tree_open_popup_el {
	cursor: pointer;
}

ul.wpda_chart_hidden {
	display: none;
}

ul.wpda_chart_show {
	display: block;
}

/*fixing line when element is togable and set after this mobile*/
div.wpdevart_org_chart li.wpda_chart_hidden.has_children.chart_wpda_mobile_after:not(.wpda_chart_show) > div::before, div.wpdevart_org_chart li.chart_wpda_mobile_after li.wpda_chart_hidden.has_children:not(.wpda_chart_show) > div:before, div.wpda_mobile li.wpda_chart_hidden.has_children:not(.wpda_chart_show) > div::before, div.wpda_mobile li li.wpda_chart_hidden.has_children:not(.wpda_chart_show) > div:before {
	display: none;
}

div.wpdevart_org_chart .wpdevart_org_chart_container li .wpda_tree_item_container > div {
	position: relative;
	overflow: visible;
}

div.wpda_tree_item_container button {
	position: absolute;
	bottom: -15px;
	transform: translateX(-50%);
	z-index: 99;
	cursor: pointer;
	padding: 3px 10px 3px 10px;
}

div.wpdevart_org_chart .wpdevart_search_bar {
	padding-top: 2px;
	padding-bottom: 2px;
	position: relative;
	display: flex;
	justify-content: flex-end;
	right: 5px;
	z-index: 999999;
}

div.wpdevart_org_chart .wpdevart_search_term {
	border: 1px solid #d3d3d3;
	border-right: none;
	padding: 5px !important;
	height: 20px !important;
	border-radius: 3px 0 0 3px;
	outline: none;
	color: #000;
	font-size: 14px !important;
	box-sizing: content-box;
	width: 195px;
	float: right;
}

div.wpdevart_org_chart .wpdevart_search_term:focus {
	border-color: #000;
}

div.wpdevart_org_chart .wpdevart_search_term:focus {
	color: #000;
}

div.wpdevart_org_chart button.wpdevart_search_button {
	width: 40px;
	height: 32px !important;
	min-height: 10px;
	border: 0;
	background: #000;
	background-color: #000;
	text-align: center;
	color: #fff;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
	font-size: 20px;
	position: relative;
	box-sizing: border-box;
	padding: 0px;
}

div.wpdevart_org_chart .wpdevart_search_button > img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 24px;
}

div.wpdevart_org_chart .wpdevart_search_button:hover {
	opacity: .8;
}

div.wpdevart_org_chart .wpdevart_search_button .fa:before {
	font-size: 14px;
}

.wpda_tree_item_title {
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #000;
	font-size: 14px;
	line-height: normal;
	letter-spacing: normal;
	font-weight: bold;
	font-style: initial;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.wpda_tree_item_desc {
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	font-size: 12px;
	line-height: normal;
	letter-spacing: normal;
	font-weight: initial;
	font-style: initial;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}
