/* ==========================================================================
   Metabox Styles
   ========================================================================== */

.owlabkbs-spinner {
    float: none;
    display: inline-block;
    margin-top: 0;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

#owlabkbs {
    position: relative;
}

#owlabkbs .owlabkbs-clear {
    clear: both;
}

#owlabkbs .owlabkbs-clear:after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    line-height: 0;
    overflow: auto;
    visibility: hidden;
    zoom: 1;
}

#owlabkbs p.description {
    font-size: 13px;
}

#owlabkbs .inside {
    margin: 10px 0;
    padding: 0 10px;
}

#owlabkbs #owlabkbs-tabs {
    position: relative;
}

#owlabkbs #owlabkbs-tabs-nav {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    border-bottom: 1px solid #cecece;
}

#owlabkbs #owlabkbs-tabs-nav li {
    float: left;
    margin: 0 10px -1px 0;
}

#owlabkbs #owlabkbs-tabs-nav li a {
    display: block;
    padding: 7px 10px 5px;
    font-size: 14px;
    color: #aaa;
    font-weight: 300;
    text-decoration: none;
    outline: none;
}

#owlabkbs #owlabkbs-tabs-nav li.owlabkbs-active a {
    border: 1px solid #cecece;
    border-bottom-color: #fff;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    color: #21759b;
    padding-top: 6px;
}

#owlabkbs #owlabkbs-tabs-nav li a:hover {
    color: #21759b;
}

#owlabkbs #owlabkbs-types-nav {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

#owlabkbs #owlabkbs-types-nav li {
    float: left;
    margin: 0 10px 0 0;
}

#owlabkbs #owlabkbs-types-nav li.owlabkbs-type-label {
    margin-right: 20px;
}

#owlabkbs #owlabkbs-types-nav li.owlabkbs-type-label span {
    font-weight: 700;
    font-size: 13px;
    vertical-align: middle;
}

#owlabkbs .owlabkbs-meta-close-text {
    display: none;
    color: #fff;
    font-style: italic;
    font-size: 11px;
    position: absolute;
    z-index: 98;
    top: 6px;
    right: 27px;
}

#owlabkbs .owlabkbs-helper-active .owlabkbs-meta-close-text {
    display: inline;
}

#owlabkbs .owlabkbs-meta-icon {
    position: absolute;
    width: 19px;
    height: 16px;
    top: 6px;
    right: 0;
    background: url(images/meta.png) no-repeat scroll 0 0;
    display: block;
    outline: none;
    z-index: 98;
}

#owlabkbs .owlabkbs-helper-active .owlabkbs-meta-icon {
    background-image: url(images/meta-active.png);
}

#owlabkbs .owlabkbs-meta-information {
    display: none;
    padding: 0 1em 1em;
    position: absolute;
    right: 0;
    top: 30px;
    width: 278px;
    background: #fff;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.7);
    box-shadow: 0 5px 15px rgba(0,0,0,.7);
    z-index: 98;
}

#owlabkbs .owlabkbs-helper-active .owlabkbs-meta-information {
    display: block;
}

#owlabkbs .owlabkbs-meta-helper-overlay {
    position: absolute;
    z-index: 97;
    background: #000;
    opacity: .7;
    filter: alpha(opacity=70);
    width: 100%;
    height: 100%;
}

#owlabkbs .owlabkbs-tab {
    display: none;
}

#owlabkbs .owlabkbs-tab.owlabkbs-active {
    display: block;
}

#owlabkbs  .owlabkbs-tab p.owlabkbs-intro {
    margin: 1.5em 0 .5em;
}

#owlabkbs .owlabkbs-tab th,
#owlabkbs .owlabkbs-tab input[type="text"],
#owlabkbs .owlabkbs-tab input[type="number"],
#owlabkbs .owlabkbs-tab input[type="password"],
#owlabkbs .owlabkbs-tab select {
    min-width: 210px;
    padding-right: 0;
}

#owlabkbs .owlabkbs-tab {
    min-height: 320px;
}

#owlabkbs #owlabkbs-output {
    margin: 20px 0 10px;
    padding: 0;
    list-style: none;
}

#owlabkbs #owlabkbs-output li {
    background: #fff;
    display: block;
    float: left;
    margin: 0 10px 10px 0;
    padding: 4px;
    list-style: none;
    border: 1px solid #cecece;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.06);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.06);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    cursor: move;
    position: relative;
    width: 150px;
    height: 150px;
}

#owlabkbs #owlabkbs-output li.owlabkbs-status-pending {
    background-color: #faebcc;
    border-color: #8a6d3b;
}

#owlabkbs #owlabkbs-output li.owlabkbs-status-active {
    background-color: #fff;
    border-color: #D5D5D5;
}

#owlabkbs #owlabkbs-output li.dropzone {
    background: transparent;
    border: 1px dashed #d5d5d5;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#owlabkbs #owlabkbs-output li img {
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 150px;
    max-height: 150px;
}


#owlabkbs #owlabkbs-output li .owlabkbs-remove-slide,
#owlabkbs #owlabkbs-output li .owlabkbs-modify-slide{
    background-size: contain;
    position: absolute;
    display: block;
    height: 20px;
    width: 20px;
    z-index: 20;
    outline: none;
}
#owlabkbs #owlabkbs-output li .owlabkbs-remove-slide {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAABRFBMVEW+WVn///++WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVm+WVmXVJdUAAAAa3RSTlMAAAIDBAUGCAkKDg8SExQVFhcZGiMkKCkqLDQ5Ojs8V1laW1xdXl9gYWJkZWZnanFyc3V2fH1/jY6QkZKTlJWWmJmjpKatr7CxsrPHyMnK0NHS09TV1tfe3+Dh4ubn6Ors7e7y8/T1+/z9/i/17OwAAAF8SURBVHgBjdRX09JAFMbxJ3bfV8CCXSwSQlHUKBYQi4JFAXsxKAqIIDzf/16jbDjJpuR3xQz/IcPZzYFP9qzdHQyn0+GgaxeycBlrEE423lF42zgVGubu/WDAz0dH9LD8hSG+lgLhzjYjtHbJcP8zRnq5bxPu0Tvh+V4vvMtYLRWeZ4KL/8ND35lglPsXPmSi+2544hfXVjP6zFbep2MGcIvKPF+lUMnPqTQMbH+isijBoseCtaDyYQsFCmWYv9XvwaRwBjco1dTXFmqUbHTpU0aFf13GBfo8xiv6VVB0c3NJnz4cBlio12ExwMGYQVeASwwah4c1PUz/aP3PmHKeSl8fTzViPNepyEDN02NrR7iU85RHuP0xzaV4vwXcjLpm1aO+a4bjaS8uHjBR23DDgyMm+JZL+bqeUwugyVi3NyvlKWM82S2WVEz5QiwpYEfk0++otaeUPjPEsKiv5gPNkNV8OGLZv6HwWl/2nkzhWqfnTCZOr3P1dAYQ4R+uc++5Ve4X9wAAAABJRU5ErkJggg==);
    right: 15px;
    top:15px;   
}
#owlabkbs #owlabkbs-output li .owlabkbs-modify-slide {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAABLFBMVEVGRkb///9GRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZjBtIIAAAAY3RSTlMAAAIDBAUGCAkKDg8SExQVFhcZGh0nKCkqLDQ5Ojs8QVdZW1xeYHFyc3V2fH5/jY6QkZKTlJaYmZ6jpKatr7CxsrO3ubrHyMnO0NHS09TV197f4OHi5Obn6Ors7e7y8/T1+/20rstnAAABVUlEQVR42o2U+z/CUBiH3wiJLijXJhLGXEqiGppumzubhEJ1/v//ASMd79lZ5/nx+Tz7nF/efeEfwWVZ1a1Wy9JVWQrayvMLnS0o14TiSll0DEOHLwTxdjzDhusPxIHHJAqHM4RD2kuH42eEy7mvH45SHUtx7C88IK6ke+EqGUDiJ5x6HhQ2wnZ4hLSRSBhIZb/D+Q9kcwA5pN5nv8JdgihHImXsFA9M3GHZqdc72N36QSJCxGCbcd12u8tIGVTG1aLRGiPzoDOuBFBivwaLcRWACiNNaIqFr8Kh+NO6WFgDVSzMw5ZYKIMkFsbQUfDCGz/ADifEZwZz+HA1AM3pcCGLrBGPG0hl7H8m3CADeAoJ/q4rvQFIuXd7/Uk5detORqiRcik1Hz17Q9zX971oSJP3Tpm1xk7zZMphmqc5Y39JZxdo7GkC0mahajabZrWwsRQAoMJPUeHTmmSZ/dEAAAAASUVORK5CYII=);
    right: 15px;
    bottom:15px;
}

#owlabkbs #owlabkbs-output li .owlabkbs-video-wrap,
#owlabkbs #owlabkbs-output li .owlabkbs-html-wrap {
	position: relative;
	width: 150px;
	height: 150px;
	box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ), inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
	background: #f5f5f5;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	cursor: move;
}

#owlabkbs #owlabkbs-output li .owlabkbs-video-inside,
#owlabkbs #owlabkbs-output li .owlabkbs-html-inside {
	width: 150px;
	height: 150px;
	display: table;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0 auto;
	overflow: hidden;
	max-width: 100%;
	max-height: 100%;
	cursor: move;
}

#owlabkbs #owlabkbs-output li .owlabkbs-video-table,
#owlabkbs #owlabkbs-output li .owlabkbs-html-table {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	cursor: move;
}

#media-items .media-item .edit-attachment,
.owlabkbs-media-frame .upload-flash-bypass {
    display: none !important;
}

#media-items {
    margin: 0 0 16px;
    overflow: hidden;
    width: 100%;
}

#media-items .media-item {
    width: auto;
    float: left;
    margin: 0 8px 8px 0;
}

#media-items .media-item img {
    max-width: 150px;
    max-height: 150px;
    float: none;
    margin: 4px;
    display: block;
}

.owlabkbs-slider {
    padding-left: 7px;
}

.owlabkbs-slider .attachment {
    margin: 8px;
    max-width: 164px;
}

.owlabkbs-slider .attachment-preview,
.owlabkbs-slider .attachment-preview .thumbnail {
    max-width: 164px;
    max-height: 164px;
}

.owlabkbs-media-frame .max-upload-size {
    display: block;
    margin: 1em 0;
}

.owlabkbs-media-frame .owlabkbs-library-toolbar {
    top: 5px;
}

.owlabkbs-media-frame .attachment.owlabkbs-in-slider {
    box-shadow: 0 0 0 1px #fff, 0 0 0 5px #519e0c;
}

.owlabkbs-media-frame .attachment.owlabkbs-in-slider .attachment-preview,
.owlabkbs-media-frame .attachment.owlabkbs-in-slider .attachment-preview .check {
    cursor: default;
}

.owlabkbs-media-frame .attachment.owlabkbs-in-slider .check {
    box-shadow: 0 0 0 1px #519e0c;
    background: #519e0c;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#519e0c), to(#519e0c));
    background-image: -webkit-linear-gradient(top, #519e0c, #407f08);
    background-image: -moz-linear-gradient(top, #519e0c, #407f08);
    background-image: -o-linear-gradient(top, #519e0c, #407f08);
    background-image: linear-gradient(to bottom, #519e0c, #407f08);
}

.owlabkbs-media-frame .attachment.owlabkbs-in-slider .check div,
.owlabkbs-media-frame .attachment.owlabkbs-in-slider .check:hover div {
    background-position: -21px 0;
}

.owlabkbs-meta-wrap .owlabkbs-meta-sidebar {
    overflow: auto;
    position: relative;
}

.owlabkbs-media-frame .media-sidebar h3 {
    margin: 1.1em 0 1em;
}

.owlabkbs-media-frame .media-sidebar p {
    margin: 0 0 1.5em;
}

.owlabkbs-meta {
    overflow: auto;
    padding: 0 16px;
}

.media-frame.owlabkbs-media-frame input:focus,
.media-frame.owlabkbs-media-frame textarea:focus,
.media-frame.owlabkbs-media-frame select:focus {
    border-color: #aaa;
}

.owlabkbs-meta-wrap .owlabkbs-meta.attachments {
    top: 0;
}

.owlabkbs-ui-content {
    top: 16px !important;
}

.owlabkbs-meta-wrap .form-table {
    margin: 0;
}

.owlabkbs-meta-wrap .form-table input[type=text],
.owlabkbs-meta-wrap .form-table textarea {
    width: 100%;
}

#owlabkbs .owlabkbs-import-form {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

#owlabkbs .owlabkbs-unit {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
}

#owlabkbs textarea {
    width: 100%;
}

#owlabkbs-html-slides .owlabkbs-html-slide-code {
    width: 100%;
    position: relative;
    height: 300px;
}

.owlabkbs-video-thumbnail,
.owlabkbs-html-thumbnail {
    vertical-align: baseline !important;
}

/* ==========================================================================
   Plupload Styles
   ========================================================================== */

#owlabkbs-plupload-upload-ui {
    position: relative;
}

#owlabkbs-drag-drop-area {
    border: 4px dashed #bbb;
    height: 200px;
}

#owlabkbs-plupload-upload-ui.drag-over #owlabkbs-drag-drop-area {
    border-color: #83b4d8;
}

#owlabkbs .owlabkbs-progress-bar {
    display: none;
    width: 100%;
    position: relative;
    height: 10px;
    width: 100%;
    margin: 10px auto;
    border-radius: 10px;
    background: #dfdfdf;
    background: rgba(0,0,0,.1);
}

#owlabkbs .owlabkbs-progress-bar div {
    height: 10px;
    min-width: 20px;
    width: 0;
    background: #aaa;
    background: rgba(0,0,0,.2);
    border-radius: 10px;
    -webkit-transition: width 300ms;
    -moz-transition: width 300ms;
    -ms-transition: width 300ms;
    -o-transition: width 300ms;
    transition: width 300ms;
}

#owlabkbs .upload-flash-bypass {
    display: none;
}

#owlabkbs .max-upload-size {
    display: block;
    margin: 10px 0;
}

.owlabkbs-media-frame .owlabkbs-accepted-urls {
	clear: both;
	overflow: hidden;
}

.owlabkbs-media-frame .owlabkbs-accepted-urls span {
	display: block;
}

.owlabkbs-media-frame .owlabkbs-column {
	float: left;
	width: 32%;
	margin-right: 2%;
}

.owlabkbs-media-frame .owlabkbs-column.owlabkbs-last {
    margin-right: 0;
}

.owlabkbs-media-frame .owlabkbs-video-info {
	background-color: #ffffe0;
	border: 1px solid #e6db55;
	padding: 15px;
	margin-bottom: 16px;
}

.owlabkbs-media-frame .owlabkbs-video-info p {
    margin-top: 0;
}

.owlabkbs-html-slide-holder,
.owlabkbs-video-slide-holder {
	border: 5px dashed #eee;
	padding: 10px;
	margin-bottom: 1em;
}

#owlabkbs-html-slides .owlabkbs-delete-html-slide,
#owlabkbs-video-slides .owlabkbs-delete-video-slide {
	float: right;
}

#owlabkbs-video-slides input,
#owlabkbs-video-slides textarea,
#owlabkbs-html-slides input,
#owlabkbs-html-slides textarea {
    width: 450px;
}

.owlabkbs-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #faebcc;
    border-radius: 4px;
    background-color: #fcf8e3;
    color: #8a6d3b;
}
