.gray-button {
    background-color: #d14836;
    background-image: -moz-linear-gradient(center top , #555555, #505050);
    border: 1px solid transparent;
    border-radius: 2px;
    color: #ffffff;
    cursor: pointer;
    font-family:Arial;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    height: 30px;
    line-height: 29px;
    padding: 0 8px;
    text-align: center;
    vertical-align: top;
	display:inline-block;

}

.gray-button:hover {
    background-color: #c53727;
    background-image: -moz-linear-gradient(center top , #505050,#454545);
    border: 1px solid #b0281a;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    outline: medium none;
	text-decoration:none;
}

.blue-button {
    background-color: #4d90fe;
    background-image: -moz-linear-gradient(center top , #4d90fe, #4787ed);
    border: 1px solid #3079ed;
    border-radius: 2px;
    color: #ffffff;
    cursor: pointer;        
    font-style: normal;
    font-weight: 700;
    height: 30px;
    line-height: 27px;
    padding: 0 8px;
    text-align: center;
    vertical-align: top;
	display:inline-block;
}

.blue-button:hover {
    background-color: #357ae8;
    background-image: -moz-linear-gradient(center top , #4d90fe, #357ae8);
    border: 1px solid #2f5bb7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    outline: medium none;
}

.wx-gallery-editor-thumb{
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 3px 0 #dadada;
    display: inline-block;
    height: 150px;
    margin-right: 10px;
    width: 140px;
	vertical-align:top;
	cursor:pointer;
	text-align: center;
}

.wx-sortable-placeholder{
	background:transparent;
	visibility: visible;
	display:inline-block;
	margin-right: 10px;
	width: 150px;
	height: 150px;
	border:1px dashed #888;
	vertical-align:top;	
	float:left;
}

.wx-gallery-replace{
	margin: auto !important;
	max-width: 50%;
	text-align: center;
}

.wx-gallery-replace .metadata-div{
    text-align:left;
    font-size: 12px;    
}

.wx-gallery-item-placeholder {
    font-size: 24px;
    line-height: 400px;
    min-height: 400px;
    text-align: center;
    vertical-align: middle;
	cursor: pointer;	
}

.wx-gallery-item-placeholder {
    background: none repeat scroll 0 0 #f3f3f3;
    border: 1px solid #dadada;
    box-shadow: 1px 1px 1px #f0f0f0;
    color: #666;
    cursor: pointer;
    font-size: 24px;
    line-height: 400px;
    margin: 30px auto;
    min-height: 400px;
    min-width: 320px;
    text-align: center;
    vertical-align: middle;
    /*width: 50%;*/
    width: 100%;
}

body{	
	background: none repeat scroll 0 0 transparent;
	font-size:12px;
	font-family:Verdana,Arial,Helvetica, Sans-Serif;
	margin:0;
}
	
.wx-gallery-thumbs {
    background: none repeat scroll 0 0 #f3f3f3;
    border: 1px solid #dadada;
    box-shadow: 0 4px 7px -4px #dadada;
    padding: 20px 0;
	transition: all 0.3s ease 0s;
	box-sizing: border-box;
	position: absolute;
    width: calc(100% - 150px);
    margin-left: 75px;    
	top: 0;
	z-index: 10;
}

.wx-gallery-thumbs.hidden {
	top:-200px;
}

.wx-gallery-thumbs .owl-carousel .owl-item{
    padding-right:10px;
    box-sizing:border-box;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.wx-gallery-editor-thumb-img {
    max-width: 95%;
    vertical-align: middle;
	max-height: 95%;
}

.add-image {
    color: #444;
    font-family: Verdana;
    margin-top: 20px;
    vertical-align: middle;
    margin-top: 40px;    
}


.add-thumb {
    display: inline-block;
    font-size: 48px;
    vertical-align: middle;
    margin-bottom: 15px;    
}


/** Gallery view **/
.wx-gallery-view{
	max-width:100%;
	margin: 30px auto;
}

/**Gallery arrow controls **/
.wx-gallery-left, .wx-gallery-right {
	background-image: url("gallery-arrow.png");
	display: inline-block;
	height: 37px;
	pointer-events: auto;
	width: 21px;
	cursor: pointer;
}

.wx-gallery-left {
	background-position: 0 0;
    margin-left: -20px;
}

.wx-gallery-right {
	background-position: 22px 0;
	float: right;
}

.wx-gallery-controls-cont {
	box-sizing: border-box;
	padding-left: calc(25% - 30px);
	padding-right: calc(25% - 30px);
	position: absolute;
	top: calc(50% - 18px);
	width: 100%;
	pointer-events: none;
}

.upload-cont {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    overflow:hidden;
}


.wx-gallery-cont {
    flex: 1 1 0;
    max-height:100%;
    overflow-y:scroll;
}

.file-delete {
    background-image: url("delete96.png");
    cursor: pointer;
    display: inline-block;
    height: 24px;
    width: 24px;
}

.file-delete:active {
    transform: scale(0.9);
}

.file-selected-list {
    display: inline-block;
    height: 24px;
    margin-bottom: -11px;
    padding-right: 10px;
    vertical-align: middle;
}

.file-selected-cont {
    border: 1px solid #dadada;
    box-shadow: 0 0 1px #dadada inset;
    display: inline-block;
    padding: 5px;
    vertical-align: middle;
	display: none;	
	float:right;
    margin-right: 10px;
    margin-top: -10px;
    position:relative;
    z-index:2;
    background:#f8f8f8 none repeat scroll 0 0;
}

.wx-gallery-thumbs.hidden .file-selected-cont{
    display:none !important;
}
.wx-gallery-thumbs.wx-gallery-canedit .gtselected {
	border: 2px solid blue !important;
}

.wx-gallery-thumbs.owl-carousel{
	position:absolute;
}

.wx-gallery-thumbs .owl-next, .wx-gallery-thumbs .owl-prev{
	position: absolute;
	top: 50px;
	height: 38px;
	width: 25px;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
}

.wx-gallery-thumbs .owl-next{
	right: 10px;
	background-image: url("main-carousel-right-gray.png");
}

.wx-gallery-thumbs .owl-prev{
	left: 10px;
	background-image: url("main-carousel-left-gray.png");
}

.owl-carousel .owl-wrapper-outer {
    
}

.wx-gallery-owl-cont {
    box-sizing: border-box;
    padding-left: 35px;
    padding-right: 35px;
    width: 100%;
}


.save-gallery {
    bottom: 10px;
    left: 10px;
    position: fixed;
}



.wx-gallery-close {
    background: #fafafa none repeat scroll 0 0;
    border: 1px solid #dadada;
    cursor: pointer;
    font-size: 40px;
    padding: 10px 5px;
    position: fixed;
    right: 19px;
    top: 10px;
}

