/*!
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

 body {
    overflow-x: hidden;
 }

.columns-col {

}

.toggleControlsUp {
    color: white;
    background: #444;
    padding: 5px;
    margin-top: 40px;
    position: fixed;
    left: 96%;
    border-radius: 0 0 6px 6px;
    z-index: 10000;
    cursor: pointer;
}

.toggleControlsDown {
    color: white;
    background: #444;
    padding: 5px;
    margin-top: 40px;
    position: fixed;
    left: 96%;
    border-radius: 0 0 6px 6px;
    z-index: 10000;
    cursor: pointer;
}

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background1: #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	border-right: 1px solid #aaa;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left1: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
		overflow: hidden;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

.mytxt{
	margin-bottom:20px !important;
}

.drag, .no-drag {
    border: 1px solid gray;
	margin: 7px 3px;
    padding: 4px;
    cursor: pointer;
}


.topbar-brand {
	position: fixed;
    width: 100%;
	background: #444;
	z-index: 2;
	height:40px;
}
#topbar-wrapper {
    position: fixed;
    width: 100%;
	background: #848484;
	z-index: 2;
	top: 40px;
    -moz-box-shadow: inset 0 -5px 5px -5px #000000;
    -webkit-box-shadow: inset 0 -5px 5px -5px #000000;
    box-shadow: inset 0 -5px 5px -5px #000000;

}

#topbar-wrapper .drag, #topbar-wrapper .no-drag{
    float: left;
    height: 50px;
    width: 50px;
	background: #fff;
	border-radius: 5px;
    padding: 5px 0px;
}

#topbar-wrapper .drag i, #topbar-wrapper .no-drag i{
	line-height: 10px;
	width: 100%;
}

#topbar-wrapper .columns .drag {
    line-height1: 50px;
    text-align: center;
}

#topbar-wrapper .drag small, #topbar-wrapper .no-drag small {
    font-size: 9px;
    font-weight: bold;
}
#topbar-wrapper .col-xs-6 {
    padding: 0;
    width: auto;
}
#page-content-wrapper {

}

.tools {
    /* float: left; */
    /* height: 100px; */
    overflow: hidden;
    /*width: calc(100% - 70px);*/
}
#topbar-wrapper span.prev, #topbar-wrapper span.next {
	background: #fff;
	color: #000;
	cursor:pointer;
    border: 1px solid #999;
    box-shadow: 0 0 2px 1px #999;
    float:left;
    font-size: 30px;
    height: 40px;
    line-height: 35px;
    margin: 30px 5px;
    text-align: center;
    text-decoration: none;
    width: 20px;
}
#topbar-wrapper span.prev{
	left: 0;
}
#topbar-wrapper span.next{
	float: right;
    margin-top1: -70px;
}

.ms-content-wrapper{
    border: 1px dashed gray;
}

.myhtml {
    /*border: 1px dashed gray;*/
    min-height: 100px;
    padding-bottom: 50px;
}

.myhtml .drag {
	margin: 0;
	padding: 0px;
	border: 0px;
}
.myitem {
	position: relative;
	z-index:0;
}

.myitem .mycontent {
	padding: 16px 0;
	z-index:1 !important;
}

.myitem .row {
	margin: 10px;
}

.myitem .setting, .myitemcontent .setting {
	position: absolute;
    right: 0px;
	top: 0px;
	opacity: 0.5;
    z-index: 10000;
}

.myitem:hover .setting, .myitemcontent:hover .setting {
	opacity: 1;
}

.myitem .setting .btn, .myitemcontent .setting .btn {
	margin-left:3px;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.59);
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.59);
}

.myhtml .myitemcontent {
    background: transparent none repeat scroll 0 0;
    /*padding: 15px 2px;
	border: 1px dashed #aaa;
	border: 1px dotted #00000017;
	*/
    padding: 0;
	position: relative;
}

#audioeditor #audios {
	width:100%;
	min-height: 100px;
    overflow: hidden;
}

#imgeditor #images {
    width:100%;
    min-height: 100px;
    overflow: hidden;
}

#videoeditor #videos {
	width:100%;
	min-height: 100px;
    overflow: hidden;
}

#doceditor #docs {
	width:100%;
	min-height: 100px;
    overflow: hidden;
}

#playlisteditor #playlists {
	width:100%;
    min-height: 100px;
    overflow: hidden;
}

#galleryeditor #gallerys {
	width:100%;
    min-height: 100px;
    overflow: hidden;
}
#audios .col-sm-2 p, #images .col-sm-2 p, #videos .col-sm-2 p, #docs .col-sm-2 p, #playlists .col-sm-2 p, #gallerys .col-sm-2 p{
	display: block;
    height: 40px;
    overflow: hidden;
    word-break: break-all;
    word-wrap: break-word;
}

#docs .col-sm-2, #videos .col-sm-2, #images .col-sm-2, #audios .col-sm-2, #playlists .col-sm-2, #gallerys .col-sm-2 {
	cursor: pointer;
	height: 155px;
	margin-bottom: 0px;
	padding: 10px;
	display: block;
	margin-top: 10px;
}

#docs img, #videos img, #images img, #audios img, #playlists img, #gallerys img {
	max-height: 100px;
}

#docs .col-sm-2:hover, #videos .col-sm-2:hover, #images .col-sm-2:hover, #audios .col-sm-2:hover, #playlists .col-sm-2:hover, #gallerys .col-sm-2:hover, #playlists .col-sm-2.selectpg, #gallerys .col-sm-2.selectpg {
	border: 1px solid #bbb;
	background: #f8f8f8;
	border-radius:3px;
}

#playlists .col-sm-2.selectpg, #gallerys .col-sm-2.selectpg{
	background: #FFF7E0;
}

.boxcontent p {
	margin-bottom: 0;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: transparent;
    border: 1px solid #0000003d;
    border-radius: 5px;
    color: inherit;
}

.mydivider {
	margin:5px -15px;
	border-bottom: 1px solid;
}
.htmleditor {
	z-index:1 !important;
	position: absolute;
}


/* View page */
.viewprojectpage {
	padding: 20px 0;
}
.viewprojectpage .drag {
    border: 0px solid gray;
    margin: 0px;
    padding: 0px;
    cursor: inherit;
}
.viewprojectpage .setting{
	display:none;
}

.viewprojectpage .ui-state-highlight {
    background: none;
    border: 0px;
    color: inherit;
}
.viewprojectpage .myitem {
	border: 0px solid #ddd;
}
.viewprojectpage .myitem .mycontent {
    padding: 0;
}
.viewprojectpage .myhtml {
    border: 0px solid gray;
}
.viewprojectpage .myhtml .myitemcontent {
    background: inherit;
    padding: 0px;
	border: 0px solid #aaa;
	position: relative;
}
.viewprojectpage .htmleditor {
    display: none;
}
.viewprojectpage .myitem .row {
    margin: 0px;
}

@media (min-width: 768px) {
	.modal-dialog{width: 90%;}
}

#playlistorder .item, #galleryorder .item {
    background: #eee none repeat scroll 0 0;
    border-radius: 3px;
    cursor: move;
    display: block;
    margin: 5px;
    padding: 10px;
    text-align: left;
}
#playlistorder .fa-times, #galleryorder .fa-times {
    border: 1px solid #C9302C;
    box-shadow: 0 0 1px 2px #ddd;
    cursor: pointer;
    padding: 3px 5px;
	color: #C9302C;
}

iframe.cke_wysiwyg_frame.cke_reset{
    height: 100% !important;
}