
html {

}
body {
    margin:0;
    width:100%;
}

div {
    box-sizing: border-box;
}



.main-wrapper {
    position: absolute;
    width: 100%;
    height:100%;
    overflow: hidden;
    float:left;
}

.center {
    width: 60%;
    height:100%;
    display:inline-block;
    float:left;
}

/**
Select Panels
**/
.select.base {
    width: 20%;
    height:100%;
    display:inline-block;
    float:left;
    overflow-y: scroll;
}
.select.overlay {
    direction: ltr;
    width: 20%;
    height:100%;
    display:inline-block;
    overflow-y: scroll;
	background-color: #333;
}
.rtl_scroll{
    unicode-bidi:bidi-override;
    direction: rtl;
    overflow: scroll;
    overflow-x: hidden!important;
    height:100%;
	background-color: #333;
}
.rtl_scroll .select {
    width:100%;
    height:100%;
    direction: ltr;
    overflow-y: initial;
}
.select img {
    width: 100%;
}

.select .el {
    width:100%;
    height:auto;
/*    border: 5px white solid;*/
}
/*
.base .el.active {
    border: red solid 5px;
}
.overlay .el.active {
    border: #8ebebc solid 5px;
}
*/

/**
Controls
**/

.control-box {
    height: 50%;
    width: 100%;
	padding: 10px;
	 display: flex;
  align-items: center;
  justify-content: center;
}
.base-control, .overlay-control {
    width:30%;
    float:left;
    display:inline-block;
}
button#save-btn {
    width:30%;
    float:left;
}

.overlay-control button {
    float:right;
    margin-left: 5px;
}

.control-box button {
	margin: 4px;
    position: relative;
    display: inline-block;
    border-radius: 0.35em;
    color: #fff !important;
    text-decoration: none;
    padding: 0.75em 2.5em 0.75em 2.5em;
    background-color: #333;
    border: 1 px solid;
    cursor: pointer;
    background-image: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15)), url(img/overlay.png);
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15)), url(img/overlay.png);
    background-image: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15)), url(img/overlay.png);
    background-image: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15)), url(img/overlay.png);
    background-image: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15)), url(img/overlay.png);
    -moz-transition: background-color 0.35s ease-in-out;
    -webkit-transition: background-color 0.35s ease-in-out;
    -o-transition: background-color 0.35s ease-in-out;
    -ms-transition: background-color 0.35s ease-in-out;
    transition: background-color 0.35s ease-in-out;
}

/**
Preview Pane
**/
#preview-box {
    height: 70%;
    width: 100%;
    position: relative;
		 display: flex;
  align-items: center;
  justify-content: center;
	z-index: 0;

}
img.preview#preview-base, img.preview#preview-overlay {
    display:none;
    position: absolute;
    transition: all 2s;
    object-fit: cover;

    margin:auto;
}


img#preview-overlay {
/*    mix-blend-mode: multiply;*/
}

img.preview.active {
    display: block !important;
	outline: 1px solid grey;
}

.mask {
    display:none;
    opacity:0.5;
    position: absolute;
    z-index: 500;
    height:100%;
    width:100%;
    background-color: green;
}
.confirm {
    display:none;
    z-index: 1000;
    position:absolute;
    height:400px;
    width:400px;
    top:10%;
    left:50%;
    transform: translateX(-50%);
    margin:auto;
}
.confirm.active, .mask.active {
    display: block;
}

#preview-wrap {
}

/*/ Jen changes /*/

.main-wrapper {
    background-color: white;
}

.select.base {
    background-color: #333;
    padding: 4px;
}

.rtl_scroll .select {
    padding: 4px;
}

.select .el {
    border: 5px transparent solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.el_in {
	background-color: white;
}

img {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

#preview-box {
    /*padding-top: 100px;*/
}


.control-box {
    height: 20%;
    width: 80%;
    padding-left: 20%;
}
.base .el.active img {
    opacity: 0.5
}
.overlay .el.active {
    opacity: 0.5
}
