*{
    margin:0;
    padding:0;
}

.fl{
    float:left;
}

.fr{
    float:right;
}

.clear{
    clear:both;
    display: block;
}

.pointer{
    cursor:pointer
}

.absolute{
    position:absolute;
}

.fixed{
    position:fixed;
}

.relative{
    position:relative;
}

.align-center{
    display:block;
    margin:auto;
}

.align-left{
    display:block;
    float:left;
}

.align-right{
    display:block;
    float:right;
}

.transition{
     transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

.bold{
    font-weight:bold;
}

.none{
    display:none!important;
}

body{
    padding: 10px;
    background: #fff;
    padding-top: 45px;
    font-family: verdana, arial;
    font-size: 14px;
}

.box img {
}

.box .img-url {
    height: 70px;
}
.box {
}

.box.active {
    /* border: 3px solid #5bc0de!important; */
}

.box img{
    max-width:100%;
    max-height:100%;
    display:block;
    margin:auto;
}

.box .handle {
    padding: 5px;
    right: 0;
    /* top: 0px; */
    border-radius: 2px;
    opacity:0;
}
.box .handle:hover {
    /* background: #563d7c; */  
    color:#fff;  
}
.box:hover .handle{
    opacity:1;
}

.box .delete, .delete-in-dir,  .delete-dir{
    bottom: 5px;
    right: 2px;
}




.box .attribute {
    color:#fff;
    background: rgba(7, 191, 188, 0.93);
    padding: 10px;
    z-index: 10;
    font-family: verdana;
    width: 244px;
    left: 125px;
    display:none;
    top: -10px;
    border-radius: 2px;
    box-shadow: 0 0 1px 1px #34cac7;
    -webkit-box-shadow: 0 0 1px 1px #34cac7;
}

.box .attribute:before {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    border-right: 10px solid rgb(23, 195, 192);
    position: absolute;
    top: 15px;
    left: -20px;
    content: "";
}

.box .action{
    margin-top:10px;
}

.box .noti{
    top: 10px;
    left:10px;
    opacity:1;
}


section#sidebar {
    background: url(tpl/mu.png);
    padding: 0 15px;
    line-height: 35px;
    position: fixed;
    width: 100%;
    top: 0;
    height: 35px;
    left: 0;
    z-index: 12;
    font-size: 12px;
    font-family: Open Sans, arial;
}

section#sidebar li {
    list-style: none;
    margin: 0 20px;
}
section#sidebar a {
    color: #fff;
    font-weight: bold;
    font-family: Open sans, arial;
}

form.uploadform {
    margin: 50px auto;
    width: 96%;
    text-align: center;
    position: relative;
    /* height: 160px; */
    margin-bottom: 10px;
}
h1.title {
    margin-top: 54px;
}

#load-more-point{
    bottom:0px;
    right: 130px;
    top: auto;
}

.opacity-frame {
    width: 100%;
    height: 100%;
    z-index: 22;
    background: rgb(0, 0, 0);
    opacity: 0.5;
    display:none;
}

div#media-frame {
    z-index: 333;
    background: #fff;
    border: 5px solid #333;
}

section#sidebar li.active a,     section#sidebar a:hover {
    background: #fff;
    color: #333;
    border-radius: 2px;
}

section#sidebar li a {
    padding: 3px 10px;
}

#button-load-more  {
    position: fixed;
    bottom: 30px;
    color: #333;
    right: 2px;
    background: url(icon-more.gif) 0 no-repeat;
    border: 0;
    font-size: 11px;
    background-size: 15px;
    padding-left: 16px;
    font-family: verdana, arial;
}
#button-load-more:hover, #virtual_select_file:hover {
    /* background: rgb(43, 120, 200); */
    text-decoration: underline;
}

#virtual_select_file
{
    background: rgb(66, 148, 232);
}

.form-item {
    margin: 20px;
}

input.text {
    padding: 3px 10px;
    width: 300px;
    border: 1px solid rgb(207, 204, 204);
    display: block;
    float: left;
}

.form-item label {
    display: block;
    float: left;
    width: 130px;
}

div#ajaxloading {
    text-align: center;
    margin-top: 100px;
	display:none;
}

.handle.setting_attribute {
    background: #fff url(setting.png) 0 no-repeat;
    background-size: 10px;
    top: 2px;
    right: 2px;
}

.handle.delete, .handle.delete-in-dir, .delete-dir {
    background: #fff url(delete.png) 0 no-repeat;
    background-size: 10px;
    /* padding: 5px; */
    display: block;
}


.dir:hover .delete-dir{
    display:block;
}

.attribute_input {
    border: 0;
    padding: 2px 5px;
    width: 140px;
}

select {
    border: 0;
	
    width: 150px;
}

label {
    display: block;
    float: left;
    width: 92px;
}

.save-attribute, .close_attribute_form {
    background: rgb(39, 112, 192);
    padding: 3px 10px;
    color: #fff;
    font-family: verdana, arial;
    font-size: 12px;
}

.close_attribute_form{
    background: #969595;
}

.save-attribute:hover {
    background: rgb(6, 77, 155);
}

.close_attribute_form:hover {
    background: rgb(94, 93, 93);
}

#inner-gallery {
    width: 85%;
    position: relative;
}

#loading-image{
	margin:10px;
	text-align:center;
	display:none;
	position: absolute;
	bottom: -69px;
	left: 0;
	z-index: 2;
	width: 100%;
}
textarea.description {
    width: 167px;
    min-width: 10px;
    width: 140px;
}

.setting-item {
    margin-bottom: 10px;
}

#search-attachments-value {
    padding: 3px 5px;
    border: 1px solid rgb(224, 224, 224);
    width: 250px;
}

#search-attachments-button {
    padding: 3px 15px;
    background:#fff url(search.png) 5px 5px no-repeat;
    background-size:17px;
    cursor:pointer;
	border:0;
}

#display{
	display:none;
}

.box img.uploading {
    width: 40%;
    height: 40%;
    display: block;
    position: absolute;
    left: 30%;
    top: 20%;
}

.wrap-progress {
    bottom: 5px;
    height: 12px;
    width: 125px;
    left: 4px;
    border: 1px solid rgb(144, 191, 240);
    font-size: 9px;
    border-radius: 2px;
    text-align: center;
    line-height: 12px;
}

.progress {
    height: 12px;
    background-color: rgb(60, 137, 221);
    width: 0%;
    text-align: center;
    line-height: 10px;
    position: absolute;
    top: 0;
    z-index: 2;
}

.wrap-progress .percent {
    position: absolute;
    z-index: 3;
    left: 0;
    width: 100%;
    text-align: center;
}

input#hcv_upload_button {
    display: block!important;
    position: absolute;
    width: 100%;
    height: 150px;
    margin: auto;
    opacity:0;
    /* padding: 20px 0; */
    top: 0;
}

#upload-drop-area {
    border: 2px dotted rgb(211, 207, 207);
    padding: 20px 0;
    /* margin: 10px; */
    height: 100px;
    background: #d8f5f2;
}

p.image-name {
    bottom: 23px;
    left: 5px;
    /* background: rgba(0, 0, 0, 0.65); */
    width: 78%;
    padding: 2px 5px;
    font-size: 11px;
    border-radius: 2px;
    color: #fff;
    word-wrap: break-word;
    /* display: none; */
}

.box:hover p.image-name {
    display: block;
}

a.dir-inner {
    /* position: absolute; */
    /* top: 0; */
    /* width: 100%; */
    /* left: 0; */
    /* height: 100%; */
    /* z-index: 2; */
}

.delete-dir {
    z-index: 3;
}

.description-to-view {
    position: absolute;
    top: 0;
    left: -0px;
    z-index: 22;
    background: #212121;
    opacity: 0.9;
    color: #fff;
    text-align: justify;
    width: 0px;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    overflow:hidden;
}

.hover-to-view-description:hover .description-to-view {
    width: 300px;
    padding: 10px 20px;
    left: -350px;
}

.new-gallery-upload-form {
    width: 35%;
    margin-left: 0%;
    position: fixed;
    right: 10px;
    top: 45px;
    overflow: auto;
    height: calc( 100% - 80px );
}

div#gallery {
    width: calc( 60% - 1px );
    border-right: 1px solid #e4e4e4;
    overflow: auto;
    position: fixed;
    top: 45px;
    height: calc( 100% - 80px );
}

 

#gallery::-webkit-scrollbar, .new-gallery-upload-form::-webkit-scrollbar{
    width: 8px;
}

div#gallery::-webkit-scrollbar-track, .new-gallery-upload-form::-webkit-scrollbar {
    background: #E8E8E8;
    border-radius: 0;
}

div#gallery::-webkit-scrollbar-thumb, .new-gallery-upload-form::-webkit-scrollbar {
    border-radius: 0;
    background: #6C6A6B;
}

a.gallery-folder {
    color: #246ab9;
    text-decoration: none;
}

a.gallery-folder:hover {
    color: #9c3e6d;
}

h1.title-font {
    height: 35px;
    line-height: 35px;
}

 a.form-link {
    display: block;
    text-align: center;
    color: white;
    font-size: 13px;
    width: 100px;
    margin: auto;
}

*{
    margin:0;
    padding:0;
}

.fl{
    float:left;
}

.fr{
    float:right;
}

.clear{
    clear:both;
    display: block;
}

.pointer{
    cursor:pointer
}

.absolute{
    position:absolute;
}

.fixed{
    position:fixed;
}

.relative{
    position:relative;
}

.align-center{
    display:block;
    margin:auto;
}

.align-left{
    display:block;
    float:left;
}

.align-right{
    display:block;
    float:right;
}

.transition{
     transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

.bold{
    font-weight:bold;
}

.none{
    display:none!important;
}

body{
    padding: 10px;
    background: #fff;
    padding-top: 45px;
    font-family: verdana, arial;
    font-size: 14px;
}

.box img {
}

.box .img-url {
    height: 70px;
}
.box {
    margin: 1%;
    /* border: 3px solid #E2E2E2!important; */
    width: 14%;
    height: auto;
    float: left;
    box-sizing: border-box;
    padding: 0;
    padding: 5px;
}

.box.active {
    /* border: 3px solid #5bc0de!important; */
    background: #cdf3ef!important;
}

.box img{
    max-width:100%;
    max-height:100%;
    display:block;
    margin:auto;
}

.box .handle {
    padding: 5px;
    right: 0;
    /* top: 0px; */
    border-radius: 2px;
    opacity:0;
}
.box .handle:hover {
    /* background: #563d7c; */  
    color:#fff;  
}
.box:hover .handle{
    opacity:1;
}

.box .delete, .delete-in-dir,  .delete-dir{
    bottom: -10px;
    right: -10px;
}




.box .attribute {
    color:#fff;
    background: rgba(7, 191, 188, 0.93);
    padding: 10px;
    z-index: 10;
    font-family: verdana;
    width: 245px;
    left: 0!important;
    display:none;
    top: 30px!important;
    border-radius: 2px;
    box-shadow: 0 0 1px 1px #34cac7;
    -webkit-box-shadow: 0 0 1px 1px #34cac7;
    max-width: 1000px;
    right: auto!important;
    bottom: auto!important;
}

.box.stt-2 .attribute{
    left: calc( 50% - 140px );
    top: calc( 50% + 20px );
}

.box.stt-3 .attribute{
    left: calc( 50% - 140px );
    top: 70px;
}

.box.stt-0 .attribute{
    left:auto;
    right: calc( 50% + 20px );
    /* top: 25px; */
}

.box .attribute:before {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    border-right: 10px solid rgb(23, 195, 192);
    position: absolute;
    top: 15px;
    left: 30px!important;
    content: "";
}


.box.stt-2 .attribute:before {
     border-left: 10px solid transparent;
     border-right: 10px solid transparent;
     border-top: 10px solid transparent;
     border-bottom: 10px solid rgb(23, 195, 192);
     top: -20px;
     left: 127px;
}

.box.stt-0 .attribute:before {
     border-bottom: 10px solid transparent;
     border-right: 10px solid transparent;
     border-top: 10px solid transparent;
     border-left: 10px solid rgb(23, 195, 192);
     /* top: 30px; */
     left: auto;
     right: -20px;
}

.box.stt-3 .attribute:before {
     border-left: 10px solid transparent;
     border-right: 10px solid transparent;
     border-top: 10px solid transparent;
     border-bottom: 10px solid rgb(23, 195, 192);
     top: -20px;
     left: 50%;
     right: auto;
}

.box .action{
    margin-top:10px;
}

.box .noti{
    top: 10px;
    left:10px;
    opacity:1;
}


section#sidebar {
    background: url(tpl/mu.png);
    padding: 0 15px;
    line-height: 35px;
    position: fixed;
    width: 100%;
    top: 0;
    height: 35px;
    left: 0;
    z-index: 12;
    font-size: 12px;
    font-family: Open Sans, arial;
}

section#sidebar li {
    list-style: none;
    margin: 0 20px;
}
section#sidebar a {
    color: #fff;
    font-weight: bold;
    font-family: Open sans, arial;
}

form.uploadform {
    margin: 50px auto;
    width: 96%;
    text-align: center;
    position: relative;
    /* height: 160px; */
    margin-bottom: 10px;
}
h1.title {
    margin-top: 54px;
}

#load-more-point{
    bottom:0px;
    right: 130px;
    top: auto;
}

.opacity-frame {
    width: 100%;
    height: 100%;
    z-index: 22;
    background: rgb(0, 0, 0);
    opacity: 0.5;
    display:none;
}

div#media-frame {
    z-index: 333;
    background: #fff;
    border: 5px solid #333;
}

section#sidebar li.active a,     section#sidebar a:hover {
    background: #fff;
    color: #333;
    border-radius: 2px;
}

section#sidebar li a {
    padding: 3px 10px;
}

#button-load-more  {
    position: fixed;
    bottom: 30px;
    color: #333;
    right: 2px;
    background: url(icon-more.gif) 0 no-repeat;
    border: 0;
    font-size: 11px;
    background-size: 15px;
    padding-left: 16px;
    font-family: verdana, arial;
}
#button-load-more:hover, #virtual_select_file:hover {
    /* background: rgb(43, 120, 200); */
    text-decoration: underline;
}

#virtual_select_file
{
    background: rgb(66, 148, 232);
    margin:  auto;
}

.form-item {
    margin: 20px;
}

input.text {
    padding: 3px 10px;
    width: 300px;
    border: 1px solid rgb(207, 204, 204);
    display: block;
    float: left;
}

.form-item label {
    display: block;
    float: left;
    width: 130px;
}

div#ajaxloading {
    text-align: center;
    margin-top: 100px;
	display:none;
}

.handle.setting_attribute {
    background: #fff url(setting.png) 0 no-repeat;
    background-size: 10px;
    top: 2px;
    right: 2px;
}

.handle.delete, .handle.delete-in-dir, .delete-dir {
    background: #fff url(delete.png) 0 no-repeat;
    background-size: 10px;
    /* padding: 5px; */
    display: block;
    z-index: 2;
    width: 10px;
    height: 10px;
}


.dir:hover .delete-dir{
    display:block;
}

.attribute_input {
    border: 0;
    padding: 2px 5px;
    width: 140px;
}

select {
    border: 0;
	
    width: 150px;
}

label {
    display: block;
    float: left;
    width: 92px;
}

.save-attribute, .close_attribute_form {
    background: rgb(39, 112, 192);
    padding: 3px 10px;
    color: #fff;
    font-family: verdana, arial;
    font-size: 12px;
}

.close_attribute_form{
    background: #969595;
}

.save-attribute:hover {
    background: rgb(6, 77, 155);
}

.close_attribute_form:hover {
    background: rgb(94, 93, 93);
}

#inner-gallery {
    width: 100%;
    position: relative;
}

#loading-image{
	margin:10px;
	text-align:center;
	display:none;
	position: absolute;
	bottom: -69px;
	left: 0;
	z-index: 2;
	width: 100%;
}
textarea.description {
    width: 167px;
    min-width: 10px;
    width: 140px;
}

.setting-item {
    margin-bottom: 10px;
}

#search-attachments-value {
    padding: 3px 5px;
    border: 1px solid rgb(224, 224, 224);
    width: 250px;
}

#search-attachments-button {
    padding: 3px 15px;
    background:#fff url(search.png) 5px 5px no-repeat;
    background-size:17px;
    cursor:pointer;
	border:0;
}

#display{
	display:none;
}

.box img.uploading {
    width: 40%;
    height: 40%;
    display: block;
    position: absolute;
    left: 30%;
    top: 20%;
}

.wrap-progress {
    bottom: 5px;
    height: 12px;
    width: 125px;
    left: 4px;
    border: 1px solid rgb(144, 191, 240);
    font-size: 9px;
    border-radius: 2px;
    text-align: center;
    line-height: 12px;
}

.progress {
    height: 12px;
    background-color: rgb(60, 137, 221);
    width: 0%;
    text-align: center;
    line-height: 10px;
    position: absolute;
    top: 0;
    z-index: 2;
}

.wrap-progress .percent {
    position: absolute;
    z-index: 3;
    left: 0;
    width: 100%;
    text-align: center;
}

input#hcv_upload_button {
    display: block!important;
    position: absolute;
    width: 100%;
    height: 115px;
    margin: auto;
    opacity:0;
    /* padding: 20px 0; */
    /* top: 50px; */
}

#upload-drop-area {
    border: 2px dotted rgb(211, 207, 207);
    padding: 20px 0;
    /* margin: 10px; */
    height: 115px;
    background: #d8f5f2;
    top: 20px;
    position:  relative;
    box-sizing:  border-box;
}

p.image-name {
    bottom: 0;
    left: 0;
    /* background: rgba(0, 0, 0, 0.65); */
    width: 100%;
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 2px;
    color: #1f1e1e;
    word-wrap: break-word;
    display: block!important;
    box-sizing: border-box;
    height: 35px;
    overflow: hidden;
    line-height: 35px;
    z-index: 1;
    position: relative;
    text-align: center;
}

.box:hover p.image-name {
    display: block;
}

a.dir-inner {
    /* position: absolute; */
    /* top: 0; */
    /* width: 100%; */
    /* left: 0; */
    /* height: 100%; */
    /* z-index: 2; */
}

.delete-dir {
    z-index: 3;
}

.description-to-view {
    position: absolute;
    top: 0;
    left: -0px;
    z-index: 22;
    background: #212121;
    opacity: 0.9;
    color: #fff;
    text-align: justify;
    width: 0px;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    overflow:hidden;
}

.hover-to-view-description:hover .description-to-view {
    width: 300px;
    padding: 10px 20px;
    left: -350px;
}

.new-gallery-upload-form {
    width: 40%;
    margin-left: 0%;
    position: fixed;
    left: 10px;
    top: 35px;
    overflow: auto;
    box-sizing:  border-box;
    height: calc( 100% - 0px );
}

div#gallery {
    width: calc( 60% );
    border-left: 1px solid #e4e4e4;
    overflow: auto;
    position: fixed;
    top: 45px;
    right: 0;
    height: calc( 100% - 80px );
    box-sizing:  border-box;
}

 

#gallery::-webkit-scrollbar, .new-gallery-upload-form::-webkit-scrollbar{
    width: 8px;
}

div#gallery::-webkit-scrollbar-track, .new-gallery-upload-form::-webkit-scrollbar {
    background: #E8E8E8;
    border-radius: 0;
}

div#gallery::-webkit-scrollbar-thumb, .new-gallery-upload-form::-webkit-scrollbar {
    border-radius: 0;
    background: #6C6A6B;
}

a.gallery-folder {
    color: #246ab9;
    text-decoration: none;
}

a.gallery-folder:hover {
    color: #9c3e6d;
}

h1.title-font {
    height: 35px;
    line-height: 35px;
}

 a.form-link {
    display: block;
    text-align: center;
    color: white;
    font-size: 13px;
    width: 100px;
    margin: auto;
}

.file-type {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: none;
}

.file-type.docx {
    background: url(images/docx.png) center no-repeat;
    display:block;
    background-size:60px;
}

.file-type.doc {
    background: url(images/doc.png) center no-repeat;
    display:block;
    background-size:60px;
}

.box * {
    max-width: 100%;
}




#hcv-upload #hcv-upload-head {
    position: fixed;
    left: 0;
    top: 0;
    width: 96%;
    height: 5%;
    padding: 1% 2%;
    background: #fff;
}

#hcv-upload #hcv-upload .mce-foot * {
    max-width: 100%;
}

#hcv-upload .mce-abs-layout-item, .mce-abs-end {
    position: relative;
    width: auto!important;
    height: auto!important;
    left: 0!important;
    top: 0!important;
    border: 0;
    display: block;
    float: left;
}

div#hcv-upload .mce-foot .mce-abs-layout {
    height: 100%!important;
    width: 100%!important;
}

#hcv-upload .mce-abs-layout-item button{
    width: 100px!important;
    height: auto!important;
    line-height: 35px;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    margin: 10px;
}

#hcv-upload .mce-abs-end {
    display: none;
}

#hcv-upload div#mce-modal-block {
    background: #fff;
}

#hcv-upload .mce-abs-layout-item.mce-first button {
    background: #2b7aca;
    transition:all 0.4s;
    -webkit-transition:all 0.4s;
}

#hcv-upload .mce-abs-layout-item.mce-first button:hover {
    background: #023f7d;
}

#hcv-upload .mce-abs-layout-item.mce-last button {
    background: #2b7aca;
    transition:all 0.4s;
    -webkit-transition:all 0.4s;
}

#hcv-upload .mce-abs-layout-item.mce-last button:hover {
    background: #023f7d;
}

form.fr.media-search0 {}

form.fr.media-search .text {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #dedbdb;
}

form.fr.media-search .submit {
    width: 20px;
    border: 0;
    height: 20px;
    background: url(images/search.png) 0 no-repeat;
    position: relative;
    left: -25px;
    top: 4px;
    cursor: pointer;
    display: inline-block;
}

form#insert_by_link_form {
    margin: 50px 20px;
}

form#insert_by_link_form label {
    display: block;
    width: 160px;
    float: left;
}

form#insert_by_link_form input {
    display: block;
    float: left;
    width: 300px;
    padding: 5px 10px;
    border: 1px solid silver;
}

.insert-by-link-item{
    margin:15px 0;
}

.full-noti {
    padding: 30px 10px;
    background: rgba(246, 122, 32, 0.88);
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: #171616;
    font-size: 13px;
}

.full-noti span {
    font-weight: bold;
    color: red;
    font-size: 14px;
}

.dir-inner-new {
    margin: 15px;
    position: relative;
}

.dir-inner-new img {
    width: 100%;
}

.dir-inner-new .delete-dir {
    display: none;
}

.dir-inner-new:hover .delete-dir {
    display: block;
}

.box:hover {
    background: rgba(216, 245, 242, 0.54);
}

.flex-item {
    flex-direction: column;
}

label#quality select {
    border: 1px solid #e2dbdb;
    width:70px;
    padding: 2px;
}

label#quality {
    width:  100%;
    box-sizing:  border-box;
    text-align:  left;
    float:  none;
}

.upload-form-meta-item input {
    float:  none;
}

.upload-form-meta-item{
    text-align:  left;
    border-bottom:  1px dotted silver;
    padding: 3px;
    line-height:  20px;
    font-size: 12px;
}
 

.upload-form-meta-item input.number {
    width: 150px;
    padding: 2px 10px;
    box-sizing:  border-box;
    border: 1px solid #dcd7d7;
}

div#display-upload-item {
    margin-top: 30px;
}