/* new crud styles*/
.ui-tooltip {
	font-family: "GalanoGrotesque-SemiBold";
	background: pink;
}



#edit_title {
	position: relative;
	font-size: 28px;
	line-height: 30px;
	text-align: center;
	width: 100%;
	color: #000000;
	margin-top: 100px;
	padding: 5px 0px;
	/* margin-bottom: 30px; */
	border-bottom: 2px solid black;
	border-top: 2px solid black;
	/* top: 55px; */
	z-index: 1;
	background: #fff;
	-webkit-appearance: none;
	font-family: 'galano_grotesqueregular';
}

#edit_title_text {
	max-width: calc(100% - 200px);
}

#crud_editor {
	position: relative;
	width: 46%;
	margin-top: 50px;
	padding-left: 5px;
	float: right;
	/*border-left:2px solid black;*/
	height: calc(100vh - 220px);
	overflow-y: scroll;

	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* Internet Explorer 10+ */
}

#crud_editor::-webkit-scrollbar {
	display: none;
	/* Safari and Chrome */
}

#crud_edit {
	width: 45%;
	margin-top: 0px;
	float: right;
	border-left: 2px solid black;
	padding-left: 5px;

}

.popup_edit_container span {
	/*display:block;
	margin-bottom: 5px;
    margin-top: 10px;*/
}

#button_container_main {
	position: absolute;
	right: 25px;
	top: 5px;
	font-size: 18px;
	line-height: 30px;
}

#button_container_main span {
	margin-left: 40px;
	cursor: pointer;
}

#module_editor {
	width: 53%;
	float: left;
	background: #f5f5f5;
	/* height: calc(100vh - 160px);
    overflow-y: scroll;	
*/
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* Internet Explorer 10+ */
}


#module_editor::-webkit-scrollbar {
	display: none;
	/* Safari and Chrome */
}


.module {
	background: #fff;
	padding: 10px;
	border: 1px solid #d9d9d9;
}

.module_html_overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1000;
	left: 0px;
	top: 0px;
}

#crud_tabs {
	width: 96%;
	overflow: hidden;
	margin: 10px 0px 10px 15px;

}

.crud_tab {
	position: relative;
	display: none;
}

.crud_tab_item {
	font-size: 20px;
	color: #aaa;
	margin-right: 30px;
	cursor: pointer;
	float: left;
	font-family: "GalanoGrotesque-SemiBold";
}

.crud_tab_item.active {
	color: #000;
	padding-bottom: 5px;
	border-bottom: 2px solid black;

}

.mosaic_tools {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100px;
	height: 24px;
	display: none;
	background-color: #000;
	z-index: 10000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}

.mosaic_tool {
	position: absolute;
	width: 24px;
	height: 24px;
	padding: 1px;
	cursor: pointer;
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

.mosaic_tool.edit {
	background-image: url('../img/module_edit_icon.png');
	background-size: 20px 20px;
	left: 10px;
	top: 10px;
}

.mosaic_tool.delete {
	background-image: url('../img/module_delete.png');
	background-size: 20px 20px;
	left: 50px;
	top: 10px;
}

.mosaic_tool.up {
	background-image: url('../img/module_arrow_up.png');
	background-size: 20px 20px;
	right: 10px;
	top: 10px;
}

.mosaic_tool.down {
	background-image: url('../img/module_arrow_down.png');
	background-size: 20px 20px;
	margin-left: 5px;
	right: 50px;
	top: 10px;
}

.popup_upload_button,
.popup_remove_image_button,
#pdf_upload_button {
	padding: 5px 20px;
	cursor: pointer;
	background: #f5f5f5;
	width: 140px;
	text-align: center;
	margin: 10px 0px;

}

.crud_button {
	padding: 5px 20px;
	background: #f5f5f5;
}

#popup_edit_gallery_holder {
	width: 100%;
}

.gallery_popup_item {
	border: 1px dotted black;
	padding: 5px;
}

.item_data_holder {
	margin-left: 10px;
	width: calc(100% - 140px);
}

.gallery_item_description,
.gallery_item_link {
	background: #f5f5f5;
	width: calc(100% - 10px);
	border: 0;
	margin-top: 3px;
}

#upload_progress {
	margin: 10px 0px 20px;
}


/****** IMG REPO *****/
#repo_overlay {
	position: sticky;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	/*overflow-y: scroll;*/
	z-index: 10;
	background: #fff;
	padding: 10px;
	display: none;
}

#repo_filters select {
	margin: 10px 0 0 0;
	background: #f5f5f5;
	width: 140px;
	height: 30px;
	border: 0px solid black;
	font-size: 18px;
	outline: none;
	display: inline-block;
}

#repo_filters label {

	display: inline-block;
}

#repo_filters {
	margin-bottom: 60px;
	display: inline-block;
	vertical-align: top;
	margin-left: 0px;
	width: 90%;
	display: flex;
	flex-flow: column;
	align-items: flex-start;
	margin-top: 50px;
	display: none;
}



#artwork_filters {
	margin-bottom: 60px;
	display: inline-block;
	vertical-align: top;
	margin-left: 0px;
	width: 90%;
	display: flex;
	flex-flow: column;
	align-items: flex-start;
	margin-top: 50px;
}

#name_search,
#artwork_name_search {
	position: relative;
	width: 100%;
}

#repo_category,
#artwork_artist {
	float: left;
}



#repo_name_search,
#artwork_name_search {
	width: 170px;
	height: 26px;
	padding-left: 10px;
	padding-right: 30px;
	border: 0px solid black;
	border-bottom: 1px solid black;
	margin-top: 10px;
	width: calc(100% - 40px);
	display: inline-block;
	font-family: 'GalanoGrotesque-Regular';
}

#search_icon,
#artwork_search_icon {
	display: inline-block;
	width: 25px;
	margin-left: 10px;
	cursor: pointer;
	position: absolute;
	top: 5px;
	right: 0px;
}







#name_search {
	position: relative;
	width: 100%;
}

#repo_category {
	float: left;
}

#sort_select {
	display: inline-block;
	float: right;
}

#repo_name_search {
	width: 170px;
	height: 26px;
	padding-left: 10px;
	padding-right: 30px;
	border: 0px solid black;
	border-bottom: 1px solid black;
	margin-top: 10px;
	width: calc(100% - 40px);
	display: inline-block;
	font-family: 'GalanoGrotesque-Regular';
}

#search_icon {
	display: inline-block;
	width: 25px;
	margin-left: 10px;
	cursor: pointer;
	position: absolute;
	top: 5px;
	right: 0px;
}

#repo_upload_overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	background: #000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=92)";
	filter: alpha(opacity=92);
	-moz-opacity: 0.92;
	-khtml-opacity: 0.92;
	opacity: 0.92;
	z-index: 100000000;
	display: none;
}


#repo_upload_holder {

	vertical-align: top;
	width: 400px;
	padding: 30px;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	z-index: 100000001;
	display: none;
}

@media screen and (max-height: 850px) {
	#repo_upload_holder {
		top: 80px;
		transform: translate(-50%, 0%);
		max-height: calc(100vh - 160px);
		overflow: scroll;
	}
}


#close_repo_upload {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 20px;
	cursor: pointer;
}

#show_upload {
	width: 150px;
	border: 1px solid black;
	cursor: pointer;
	text-align: center;
	height: 30px;
	line-height: 30px;
	display: inline-block;
	margin-bottom: 30px;
	padding-left: 30px;
	right: 0px;
	position: absolute;
	margin-top: -5px;
}


#show_upload:before {
	content: "";
	display: inline-block;
	background: url(../img/add2.png) no-repeat;
	width: 20px;
	height: 19px;
	position: relative;
	left: -20px;
	top: 5px;
}



#upload_details {

	vertical-align: top;
	position: relative;
}

#repo_upload_image {
	top: 0px;
	right: 0px;
	width: 150px;
	cursor: pointer;
	text-align: center;
	height: 30px;
	line-height: 30px;
	margin: 20px auto;
	color: #fff;
	background: #000;
	padding-bottom: 5px;
}

#repo_upload_image_holder {
	width: 150px;
	height: 200px;
	line-height: 200px;
	border: 1px dashed #000;
	font-size: 12px;
	margin: 40px 0px 10px;
	text-align: center;
}

#repo_upload_image_holder img {
	max-width: 100%;
	max-height: 100%;
}

#repo_upload_image_holder iframe {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
}

#repo_upload_image_holder span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

#repo_select_file {
	position: absolute;
	right: 0px;
	top: 132px;
	border: 1px solid black;
	line-height: 26px;
	padding: 0px 10px 5px;
	font-size: 14px;
	width: 150px;
	text-align: center;
	cursor: pointer;
}

#repo_selected_file {
	position: absolute;
	font-size: 12px;
	right: 0px;
	top: 210px;
	color: #c6c6c6;
	max-width: calc(100% - 160px);
}

#repo_image_form {
	margin-bottom: 20px;
}

#repo_image_form label {
	display: block;
	margin: 5px 0px;
}

#repo_image_form input {
	width: calc(100% - 5px);
	background: #f5f5f5;
	border: 0px;
	line-height: 26px;
	padding: 0px 0px 5px 5px;
	margin-bottom: 10px;
}

#repo_image_input {
	display: none;
}

#image_title,
#repo_fname,
#repo_type {
	height: 26px;
	padding-left: 10px;
	border: 1px solid black;
	margin: 10px 0;
	width: 255px;
	display: inline-block;
}



#image_collection {
	margin: 0 0 10px 6px;
}

#repo_image_form input {
	outline: none;
}

#repo_image_form select {
	width: 100%;
	background: #f5f5f5;
	border: 0px;
	line-height: 26px;
	padding: 0px 0px 5px 5px;
	margin-bottom: 10px;
	outline: none;
	height: 31px;
}

#repo_category {
	height: 30px;
	border: 1px solid black;
}

#repo_sort {
	height: 30px;
	border: 1px solid black;
	margin-top: 10px;
}

#repo_sort_type {
	height: 30px;
	border: 1px solid black;
	margin-left: 10px;
}


#close_repo {
	/* IMAGE */
	/*position: absolute;
	right: 20px;
	top: 20px;
	width: 25px;
	cursor: pointer;*/

	/* TEXT */
	position: absolute;
	right: 20px;
	top: 20px;
	padding: 5px 20px;
	background: #f5f5f5;
	cursor: pointer;
}

#repo_container {
	position: relative;
	top: 15px;
	height: 100%;
	overflow: scroll;
}

#repo_filters_toggle {
	width: 100px;
	position: absolute;
	cursor: pointer;
}

#repo_filters_toggle:after {
	content: "";
	display: inline-block;
	background: url(../img/arrow_back.svg) no-repeat;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	transition: 0.5s all;

	transform: rotate(-90deg);
}

#repo_filters_toggle.active:after {
	content: "";
	display: inline-block;
	background: url(../img/arrow_back.svg) no-repeat;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg) translate(7px);
	transition: 0.5s all;


}

.repo_item {
	width: 200px;
	height: 300px;
	padding: 15px;
	position: relative;
	display: inline-block;
	margin: 5px;
	border: 1px dotted black;
}

.repo_item.selected_item {
	opacity: 0.7;
	background: #b2b2b2;
}

.repo_item.selected_item:after {
	content: "";
	background: url(../img/selected.png);
	background-repeat: no-repeat;
	background-size: cover;
	width: 32px;
	height: 32px;
	position: absolute;
	right: 5px;
	bottom: 5px;
}

.repo_img_holder {
	width: 200px;
	height: 240px;
	text-align: center;
	margin-bottom: 10px;
	white-space: nowrap;
	overflow: hidden;
}

.image_helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.repo_img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}

.repo_item_title {
	text-align: left;
	overflow-wrap: break-word;
}

.repo_item_select {
	margin-top: 10px;
	border: 2px solid black;
	width: calc(100% - 4px);
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
	display: none;
}

.repo_item_select.selected {
	background-color: #33cc00;
	pointer-events: none;
}

.repo_item_crop {
	margin-top: 10px;
	border: 2px solid black;
	width: calc(100% - 4px);
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
}

/****** end IMG REPO *****/


@media screen and (max-width: 1770px) {

	.module {
		width: calc(100% - 30px);
	}

}