body {
	overflow-x:hidden;
	overflow-y:scroll;
}

#editor-toolbar {
	position: fixed;
	display: block;
	top: 45px;
	width: 100%;
	/*padding: 2px;*/
	/*height: 64px;*/
	border-bottom: 1px solid #ccc;
	background: white;
	z-index: 999;
}
#editor-toolbar #editor-visible-toggle {
	position:absolute;
	bottom: -20px;
	/*right:10px;*/
	cursor:pointer;
	display:block;
	width:100%;
	background: yellow;
	text-align:center;
	border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	-webkit-border-radius: 0px 0px 8px 8px;
}
#editor-toolbar #editor-toolbar-top-row{
	border-bottom: 1px solid black;
}
#editor-toolbar #editor-toolbar-top-row .priority_warning {
	color:red;
	display:inline-block;
	font-size: 15px;
}
#editor-toolbar #editor-toolbar-top-row button.tab-button{
	border-radius: 10px 10px 0px 0px;
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	background: lightGray;
	border-bottom: 1px solid black;
}
#editor-toolbar #editor-toolbar-top-row button.tab-button.active{
	background: white;
	border-bottom: none;
}
#editor-toolbar #editor-toolbar-container {
	display:block;
}
#editor-toolbar #editor-toolbar-container #editor-toolbar-tabs.toolbar-hidden {
	height: 0px;
	overflow:hidden;
}
#editor-toolbar #page_settings_tab .page_settings {
	width:32%;
	display:inline-block;
	vertical-align:top;
}
#editor-toolbar #page_settings_tab .page_buttons {
	/*width:15%;*/
	display:block;
}
#editor-toolbar #page_settings_tab .page_buttons button {
}
#editor-toolbar #page_settings_tab .page-list-menu a {
	padding-left:5px;
	/*border-bottom: 1px solid black;*/
}
#editor-toolbar #page_settings_tab .page-list-menu ul {
	padding-left:10px;
	/*border-bottom: 1px solid black;*/
}
#editor-toolbar #template_settings_tab .template_settings {
	width:32%;
	display:inline-block;
	vertical-align:top;
}
#editor-toolbar #template_settings_tab .template_settings h3{
	margin-top:0px;
}
#editor-toolbar #template_settings_tab .template_settings.template_enablers .row{
	margin-bottom: 6px;
}
#editor-toolbar #template_settings_tab .template_buttons {
	/*width:10%;*/
	display:block;
}
#editor-toolbar #template_settings_tab .template_buttons button{
}
#editor-toolbar #template_settings_tab #template-style-settings td {
	padding: 4px;
}
#editor-toolbar #template-background-settings input[type="color"].btn {
	width: 70px;
	height:70px;
	padding: 0;
}
#editor-toolbar #template-background-settings .background-image-preview {
	max-width: 200px;
	max-height: 200px;
	width: auto;
	height:200px;
}
#editor-toolbar .background-image-placeholder {
	position: relative;
	cursor: pointer;
	border: 1px dashed #c7c7c7;
	padding-top: 100%;
	width: 100%;
	max-width: 200px;
	background: #ececec;
	font-size: 60px;
	color: #aaa;
	border-radius: 4px;
	-webkit-transition: background .2s linear;
	     -o-transition: background .2s linear;
	        transition: background .2s linear;
}
#editor-toolbar .background-image-placeholder > .glyphicon {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
#editor-toolbar .background-image-placeholder:hover {
	background: #c7c7c7 !important;
	-webkit-transition: background .2s linear;
	     -o-transition: background .2s linear;
	        transition: background .2s linear;
}
#editor-toolbar #module_settings_tab .module_settings {
	width:32%;
	display:inline-block;
	vertical-align:top;
}
#editor-toolbar #module_settings_tab .module_buttons {
	/*width:15%;*/
	display:block;
}
#editor-toolbar #module_settings_tab .module_buttons button {

}
#editor-toolbar #other_settings_tab .other_settings {
	width:40%;
	display:inline-block;
}
#editor-toolbar #other_settings_tab .other_buttons {
	/*width:15%;*/
	display:block;
}
#editor-toolbar #other_settings_tab .other_buttons button {

}
#editor-toolbar .template-background-settings-tabs > ul.nav {
	float: left;
	width: 25%;
}
#editor-toolbar .template-background-settings-tabs > div.tab-content {
	float: left;
	padding-left: 10px;
	width: 75%;
}
#editor-toolbar-bottom-row {
	margin-top: 10px;
}
#editor-toolbar-bottom-row .editable-block {
	display: inline-block;
	margin-right: 20px;
}
#editor-toolbar-tabs .editable-block > * {
	display: inline;
}



#page-view.editor-active .container-info-container {
	position: absolute;
	user-select: none;
}
#page-view.editor-active .container-info-container p {
	margin-bottom: 0px;
	font-size:10px;
}




#page-view .gridster > .gridster-item-resizable-handler {
	display: none;
}



#page-view.editor-preview-mode .gridster > .gridster-item-resizable-handler {
	display: none;
}
#page-view.editor-active.editor-preview-mode .container-info-container {
	display: none;
}


#containers {
	position: relative;
	clear:both;
}
.gridster {
	margin: 0 !important;
	position: absolute !important;
}
#page-view {
	margin: 50px auto 0px;
	width: 100%;
}

.no-pages > h4#page-view {
	text-align: center;
} 

#fullPage-container {
	position: relative;
	width: 100%;
	height: 100%;
}
.gridster > p {
	position: relative;
	margin: 0 5px;
}
.gridster .gridster-item {
	z-index: 10;
}
#toolbarLeft {
	position: fixed;
	top: 100px;
	display:inline-block;
	top: 100px;
	height: 200px;
	padding: 4px;
	border-radius: 3px;
	background: #777;
	border: 1px solid #333;
	box-shadow: 0 0 5px #333;
	opacity: .2;
	transition: opacity .3s;
}
#editor-sidebar {
	position: fixed;
	background: #eee;
	float: left;
	display: block;
	padding: 10px;
	width: 200px;
	border-radius: 5px;
	z-index: -1;
}
#toolbarLeft:hover {
	opacity: 1;
	transition: opacity .3s;
}
.module-dropdown {
	overflow-y: scroll;
	user-select: none;
	max-height: 70vh !important;
}
.mmodule-selection {
	border: 5px solid red;
}
.module-preview {
	margin-bottom: 5px;
	padding: 4px;
}
.module-preview:hover {
	background: white;
	cursor: -webkit-grab;
	cursor: grab;
}
.module-base {
	display: block;
	position: inherit;
	width: 100%;
	height: 100%;
}
.module {
	display: block;
	position: inherit;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.show-hidden-module {
	opacity:0.5;

}
.module-wrapper.full-size-module-wrapper {
	width: 100%;
	height: 100%;
}


#page-view:not(.editor-preview-mode) .module-base > .gridster-item-resizable-handler {
	z-index:1050;
	display:block;
}
#page-view:not(.editor-preview-mode) .module-base > .gridster-item-resizable-handler {
	z-index:1050;
	display:block;
}
#page-view:not(.editor-preview-mode) .module-base > .module-option-buttons {
	outline-color: #ff0000;
}
#page-view:not(.editor-preview-mode) .module-base.dynamic-sizing > .module-option-buttons {
	outline-color: #ff00ff;
}
.modal-dialog .module-base .gridster-item-resizable-handler{
	z-index:1050;
	display:block;
}
.module-base .gridster-item-resizable-handler{
	display:none;
}
#module-editor-settings-wrapper {
	padding: 5px;
	width: 100%;
	float: left;
	/*border-right: 1px solid #eee;*/
}
#module-editor-preview-wrapper {
	width: 90%;
	height:400px;
	padding: 5px;
	display:inline-block;
	position: relative;
	/*float: left;*/
}
.selected-dropdown-item, .selected-dropdown-item:hover {
	background: #ace !important;
}
.modal-dialog.modal-full-width {
	width: 100%;
	margin: 0 !important;
}
.modal-dialog.modal-full-width .modal-content {
	height:100% !important;
}
.clearfix:after {
	clear: both;
}
.line-through {
	text-decoration: line-through;
}
#template_css_editor_button {
	cursor: pointer;
}
.template_css_editor_save{
	cursor:pointer;
}
#page_css_editor_button {
	cursor:pointer;
}
.page_css_editor_save {
	cursor:pointer;
}
#sidebarLeftDynamic{
	display:block;
	overflow-y:hidden;
	visibility: visible;
}
#sidebarLeftDynamic.sidebar-invisible {
	visibility: hidden;
}
#sidebarRightDynamic{
	display:block;
	overflow-x:hidden;
	visibility: visible;
}
#sidebarRightDynamic.sidebar-invisible {
	visibility: hidden;
}
.editor-active #sidebarRightDynamic, .editor-active #sidebarLeftDynamic {
	display:block;
	overflow-x:hidden;
	visibility: visible;
	-moz-transition: none;
	-webkit-transition: none;
	transition: none;
	-o-transition: none;

}
.editor-active #sidebarRightDynamic.sidebar-invisible, .editor-active #sidebarLeftDynamic.sidebar-invisible {
	visibility: hidden;
	/*width:0px !important;*/
	-moz-transition: none;
	-webkit-transition: none;
	transition: none;
	-o-transition: none;
}
.newpage-page-list-menu {
	cursor:default;
	padding-left:5px;
}
.newpage-page-list-menu li a {
	padding-left:5px;
}
.newpage-page-list-menu a {
	padding-left:5px;
}
.newpage-page-list-menu ul {
	padding-left:10px;
}

.parentpage-page-list-menu {
	cursor:default;
	padding-left:5px;
}
.parentpage-page-list-menu li a {
	padding-left:5px;
}
.parentpage-page-list-menu a {
	padding-left:5px;
}
.parentpage-page-list-menu ul {
	padding-left:10px;
}


/****************************/
/*   MODULE SETTINGS FORMS  */
/****************************/

/*** Social media icons ***/
.form-some-buttons-item {
  display: inline-block;
  width: 250px;
  height: 250px;
  vertical-align: top;
}

/*** Image Grid ***/
.artest-image-module-field {
  display: inline-block;
  position: relative;
  width: 240px;
  margin-top: 5px;
  vertical-align: top;
}

.artest-image-module-field .form-image-wrapper {
  width: 200px;
  height: 300px;
  position: relative;
}

.artest-image-module-field img {
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 200px;
  height: auto;
  max-height: 300px;
}
.artest-image-module-field .none-selected {
  display: inline-block;
  width: 200px;
  height: 300px;
/*  line-height: 300px;
  font-size: 70px;*/
  font-size: 25px;
  text-align: center;
  border: 1px dashed #ccc;
  background: #eee;
  vertical-align: middle;
  color: #aaa;
}
.artest-image-module-field .none-selected:hover {
  background: #bbb;
  transition: background .3s linear;
}

/*** Navigation Box ***/
.form-navibox-field {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}

/*** Navigation Menu Bar ***/
.form-navisettings-root > ol {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.form-navisettings-root-field {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;

  position: relative;
}

.form-navisettings-sub-root {
  position:	relative;
}
.form-navisettings-sub-field {
  margin-left: 20px;
  background: rgba(100,100, 100, .1);
  border-radius: 0;
  border-left: 5px solid rgba(0,0,0,.1);
  border-bottom: none;
  border-top: 1px dashed rgba(0,0,0,.2);
}
.form-navisettings-sub-field:first-child {
  border-top: none;
}
.form-navisettings-sub-field:last-child {
  border-bottom: 5px solid rgba(0,0,0,.1);
}
/*** End of module settings form styles ***/

/**********************/
/*   GENERAL MODALS   */
/**********************/

/*** Image module modal ***/
.image-module-modal-content {
  width: 100%;
  height: 100%;
}

.image-module-modal-content h3 {
  max-height: 10%;
}

.image-module-modal-content img {
  width: 100%;
  height: auto;
  max-height: 90%;
}

/*** Oeuvre modal ***/

.modal.oeuvre-view-modal .image-wrapper {
  position: relative;
  margin: 20px auto;
}

.modal.oeuvre-view-modal .arrows {
  position: absolute;
  left: 0px;
  right: 0px;
  height: 100%;
}

.modal.oeuvre-view-modal .arrows a {
  width: 45%;
  height: 100%;
  position: absolute;
  font-size: 10em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.2);
}

.modal.oeuvre-view-modal .arrows a:hover {
  	/* background-color: rgba(0,0,0,0.1); */
  color: rgba(0, 0, 0, 0.5);
}

.modal.oeuvre-view-modal .arrows a.prev {
  left: 0px;
}

.modal.oeuvre-view-modal .arrows a.next {
  right: 0px;
  text-align: right;
}
/*** End of general modals ***/

.ui-notification{
	z-index:111111 !important;

}

.gridster-item-resizable-handler.show-size-indicator .gridster_item_size_indicator {
	display:inline-block !important;

}
.gridster_item_size_indicator {
	display:none;
	position:absolute;
	/*width:140px;*/
	/*height:140px;*/
	background:white;
	color:black!important;
	font-size:15px;
	padding:7px;
	z-index:2000;

}


body > scroll-to-top-btn {
    z-index     : 9001;
	right       : 1em;
	bottom      : 1em;
	width       : 1em;
	line-height : 1em;
	font-size   : 2em;
	cursor      : pointer;
}
body > scroll-to-top-btn:before {
	font-family : 'Glyphicons Halflings';
	content     : "\e113"; /* glyphicon-chevron-up */
}


.spinner {
  max-width: 200px;
  max-height: 200px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #aaa;
  border-left: none;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
  margin: 0 auto;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.clickable {
  cursor: pointer;
}

body:not(.pace-done):not(.artestUserBar-available) li.module-base > module {
    opacity: 0 !important;
}





















/* ############# EDITORI ############# */


#page-view:not(.editor-active) .show-if-editor,
#page-view.editor-active.editor-preview-mode .show-if-editor {
	display: none !important;
}

#page-view.editor-active:not(.editor-preview-mode) .gridster {
	outline: 1px dashed #ccc;
	outline-offset: -1px;
}

#page-view.editor-active:not(.editor-preview-mode) .gridster > .gridster-item-resizable-handler {
	z-index: 15;
	display: block;
}


#page-view.editor-active.on-dragging:not(.editor-preview-mode) .gridster:hover {
	outline: 3px solid #00ff00 !important;
}

/* EDITOR MODULE OPTION BUTTONS */

#page-view:not(.editor-preview-mode) .module-option-buttons {
	display:block;
	position: absolute;
	z-index: 1049;
	left: 0;
	width:100%;
	height:100%;
	outline-style:dashed;
	outline-width: 2px;
	outline-offset: -2px;
}

#page-view:not(.editor-preview-mode) .gridster-item-moving .module-option-buttons,
#page-view:not(.editor-preview-mode) .gridster-item-resizing .module-option-buttons,
#page-view:not(.editor-preview-mode) .module-option-buttons:hover {
	outline-style: solid;
	outline-width: 4px;
	outline-offset: -4px;
}


.module-option-buttons > .module-selection-button {
	display:none;
	overflow: visible;
	cursor: pointer;
	font-size: 26px;
	border: 1px solid #aaa;
	padding: 6px 6px 6px 6px;
	line-height: 20px;
	margin: 4px 0px 0px 6px;
	border-radius: 50%;
	color: #d37;
	background: #fff;
	-webkit-box-shadow: 0 0 5px #333;
	   -moz-box-shadow: 0 0 5px #333;
	        box-shadow: 0 0 5px #333;
}
.module-option-buttons > .module-selection-button:hover {
	background: #ddd;
}
.module-selection-button.module-content-warning {
	cursor:default;
	color: orange !important;
}


.module-option-buttons > .module-title {
	display: none;
	background: #fff;
	padding: 7px 4px 3px 7px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
    pointer-events: none;
    border-bottom: 1px solid #aaa;
	-webkit-box-shadow: 0 0 5px #333;
	-moz-box-shadow: 0 0 5px #333;
	box-shadow: 0 0 5px #333;
}

.module-option-buttons:hover > .module-title { display: block !important; }
.module-option-buttons:hover > .module-selection-button { display: inline-block !important; }

.module-selection-button.module-content-warning.hide-content-warning {
	display: none !important;
}
#page-view:not(.editor-preview-mode) .gridster-item-moving .module-option-buttons > .module-title,
#page-view:not(.editor-preview-mode) .gridster-item-resizing .module-option-buttons > .module-title,
#page-view:not(.editor-preview-mode) .gridster-item-moving .module-option-buttons > .module-selection-button,
#page-view:not(.editor-preview-mode) .gridster-item-resizing .module-option-buttons > .module-selection-button {
	opacity: 0.2;
}


/* /MODULE OPTION BUTTONS */


