#theme-container-overlay {
    display: none;
    position: fixed;
    text-align: center;
    color: #FFF;
    z-index: 1500;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0,0,0,0.8);
}
#theme-container-overlay .inner-content {
    position: fixed;
    margin-left: -110px;
    margin-top: -29px;
    top: 50%;
    left: 50%;
    font-size: 20px;
    text-shadow: 1px 1px 2px #000;
}
#theme-container-overlay .inner-content .success-message {
    display: none;
}

#theme-container-overlay .inner-content .success-message { color: #239E76; }

#theme-container-overlay.complete .inner-content .success-message { display: block; }
#theme-container-overlay.complete .inner-content .loading-message { display: none; }

#theme-container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
    position: relative;
}
#theme-container * {
    box-sizing: border-box;
}

#theme-modal .modal-loading {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.4);
    z-index: 20;
    color: #FFF;
}
#theme-modal.loading .modal-loading {
    display: block;
}
#theme-modal .modal-loading i {
    font-size: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    z-index: 21;
}

#theme-control-bar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 210px;
    z-index: 10;
}
#theme-control-bar.fixed {
    position: fixed;
    top: 5px;
    left: initial;
}

#theme-control-bar .box-header,
#theme-control-bar .box-body {
    padding: 10px;
}

#theme-styles .form-group {
    overflow: hidden;
}
#theme-styles .form-group label {
    float: left;
    font-weight: normal;
    margin-top: 3px;
}
#theme-styles .form-group .color-input {
    border: 1px solid #CCC;
    float: right;
    padding: 5px;
    cursor: pointer;
}
#theme-styles .form-group .color-input i {
    display: block;
    width: 16px;
    height: 16px;
    background-color: rgb(0, 0, 0);
    box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.2);
}
#theme-container .theme-body {
    width: 100%;
    padding: 0px 10px;
    overflow: auto;
}
#theme-modules .nav li {
    z-index: 10;
    position: relative;
}
.theme-container .theme-container-placeholder {
    display: none;
}
.theme-container.empty .theme-container-placeholder {
    display: block !important;
    color: rgba(236,240,245,0.4);
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    font-size: 23px;
    height: 24px;
    line-height: 24px;
    margin-top: -12px;
    cursor: default;
    z-index: 1;
}

.theme-container .theme-container-module-placeholder {
    clear: both;
    background: rgba(255,255,255,0.7);
    margin: 5px 0px;
    color: #444;
    text-align: center;
    font-size: 18px;
    z-index: 998;
    padding: 20px 0px;
    cursor: default;
    border-radius: 3px;
}

.theme-container {
    border: 1px dashed rgba(255,255,255,0.5);
}

.theme-container .module {
    min-height: 45px;
    max-height: 100%;
    position: relative;
    z-index: 2;
    cursor: move;
}
.theme-container .module .module-actions {
    position: absolute;
    display: none;
    top: 0px;
    right: 0px;
    border-bottom-left-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
    z-index: 3;
}
.theme-container .module .edit-size-module {
    display: none;
    float: left;
    background: #F0F0F0;
    color: #555;
    border: 1px solid #EEE;
    padding: 4px;
    cursor: pointer;
}
.theme-container .module.resizable .edit-size-module {
    display: block;
}

.theme-container .module .edit-module {
    float: left;
    background: rgb(35,158,118);
    color: #FFF;
    border: 1px solid #239e76;
    padding: 4px;
    cursor: pointer;
}

.theme-container .module .move-button{
    float: left;
    background: rgb(223, 182, 0);
    color: #FFF;
    border: 1px solid rgb(223, 182, 0);
    padding: 4px;
    cursor: pointer; 
}

.theme-container .module .ok-move{
    float: left;
    background: rgb(35,158,118);
    color: #FFF;
    border: 1px solid rgb(35,158,118);
    padding: 4px;
    cursor: pointer; 
}

.theme-container .module .edit-move {
    float: left;
    background: rgb(223, 182, 0);
    color: #FFF;
    border: 1px solid rgb(223, 182, 0);
    padding: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.theme-container .module .remove-module {
    float: left;
    background: rgb(221,75,57);
    color: #FFF;
    border: 1px solid #C23321;
    padding: 4px 8px;
    cursor: pointer;
}
.theme-container .module .module-move {
    display: none;
    background: rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.theme-container .module .module-loading {
    display: none;
    color: #FFF;
    background: rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}
.theme-container .module .module-loading span {
    position: absolute;
    font-size: 24px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -12px;
}
.theme-container .module .edit-module:hover { background: rgba(35,158,118,0.9); }
.theme-container .module .remove-module:hover { background: rgba(221,75,27,0.9); }
.theme-container .module:last-child { padding-bottom: 0px; }
.theme-container .module:hover .module-actions { display: block; }
.theme-container .module:hover .module-move { display: block; }

.theme-container .module.loading { cursor: default; }
.theme-container .module.loading .module-move,
.theme-container .module.loading .module-actions { display: none !important; }
.theme-container .module.loading .module-loading { display: block; }

.theme-container-placeholder.align-top { top: 45px !important; margin-top: 0px !important; }
#theme-container .nav a { cursor: move; }
#theme-container .nav li.disabled a { opacity: 0.5; cursor: default; }

.lighter .theme-container-placeholder { color: rgba(0,0,0,0.4); }
.lighter .theme-container { border: 1px dashed rgba(0,0,0,0.5); }
.lighter .theme-container.empty .theme-container-placeholder { color: rgba(0,0,0,0.4); }
.lighter .theme-container .theme-container-module-placeholder { background: rgba(0,0,0,0.7); color: #FFF; }

#thumb-image-preview-container {
	position: absolute;
	padding: 0px;
	display: none;
	color: #fff;
	z-index: 9999;
	max-width: 200px;
	max-height: 200px;

	clear: both;
	overflow: hidden;
}
#thumb-image-preview-container .thumb-image-preview-inner {
	position: relative;
	display: block;
	clear: both;
}
#thumb-image-preview-container img {
	max-width: 198px;
	max-height: 198px;
}
.box-item-selector {
    overflow: hidden;
    position: relative;
}
.box-item-selector .overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: default;
    background: rgba(255,255,255,0.6);
    border-radius: 3px;
}

/* DRAGGING INTO THEME CONTAINER */

#theme-container .theme-container .theme-container-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 3;
}
#theme-container .theme-container .theme-container-overlay span {
    color: #FFF;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 14px;
    line-height: 15px;
    width: 90%;
    height: 40px;
    margin-left: -45%;
    margin-top: -30px;
    text-align: center;
}
#theme-container .theme-container .theme-container-overlay span i {
    font-size: 18px;
}


/* INVESTIMENTO APP*/

#theme-control-bar1 {
    position: fixed;
    top: 0px;
    left: -200px;
    width: 200px;
    height: 100%;
    background-color: #fff;
    color: #000;
    transition: left 0.3s ease;
    z-index: 99999;
}

.menu-toggle {
    position: fixed;
    top: 50%;
    margin-left: 200px;
    transform: translateY(-50%);
    border-radius: 0px 7px 7px 0px;
    background-color: #fd7e14;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 9999;
}


.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    padding: 10px;
}

.menu li a {
    color: #cccc;
    text-decoration: none;
}

.menu li a:hover {
    text-decoration: underline;
}

#save-theme{
    position: relative;
    margin: auto;
    border-radius: 7px;
    background-color: #239e76;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 50%;
    display: block;
}


#save-theme:hover{
    background-color: #fd7e14;
}


/* FIM APP*/


#theme-container.dragging-state .theme-container .theme-container-module-placeholder { display: none; }
#theme-container.dragging-state .theme-container.drag-acceptable .theme-container-module-placeholder { display: block; }
#theme-container.dragging-state .theme-container .theme-container-overlay { display: block; }
#theme-container.dragging-state .theme-container.drag-acceptable .theme-container-overlay { display: none; }


.theme-container .module.module-chat.size-2 .placeholder { display: block !important; }
.theme-container .module.module-chat.size-1 .placeholder-small { display: block !important; }
