body {
    background: url("../images/tiny_grid.png");
    color: #333;
}

a:focus {
    outline: none;
}

/* fix compatibility issue between tinymce & bootstrap 3 */
.mce-container, .mce-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.mce-container button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#login {
    background-color: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 4px 4px 4px 4px;
    margin: 40px auto 20px;
    padding: 15px;
    position: relative;
    width: 350px;
    box-shadow: 0 4px 10px -1px rgba(200, 200, 200, 0.7);
}

#header {
    border-radius: 0;
}

#header .navbar-brand {
    color: #ccc;
}

#wrapper {
    margin: 20px;
}

#nav {
    float: left;
    width: 240px;
    margin-bottom: 20px;
}

#nav ul {
    list-style-type: none;
    margin: 0;
    background: #444;
    border-radius: 0px;
    padding-left: 0;
}

#nav ul li {
    border-bottom: 1px solid #393939;
    border-top: 1px solid #4E4E4E;
}

#nav ul li:first-child {
    border-top: none;
    border-radius: 5px 5px 0 0;
}

#nav ul li:last-child {
    border-bottom: none;
    border-radius: 0 0 5px 5px;
}

#nav ul li:hover {
    background: #4a4a4a;
}

#nav ul li.active {
    background: #333;
}

#nav ul li a {
    display: block;
    color: #eee;
    font-size: 14px;
    padding: 10px 15px;
    text-decoration: none;
}

#content {
    min-height: 1px;
    margin-left: 260px;
    overflow: hidden;
}

#content > .alert {
    margin-bottom: 10px;
}

#content > h2.page-title {
    margin: 0 0 15px;
}

#content > .breadcrumb {
    border: 1px solid #EEEEEE;
    border-radius: 0px;
    background-color: #FFFFFF;
}

.widget {
    border-radius: 0;
    border: 1px solid #EEEEEE;
    background: #fff;
}

.widget .widget-header {
    border-bottom: 1px solid #EEEEEE;
    padding: 0 15px;
    border-radius: 4px 4px 0 0;

    background: #fafafa; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOWU5ZTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fafafa 0%, #e9e9e9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#e9e9e9', GradientType=0); /* IE6-8 */
}

.widget .widget-header h3 {
    color: #444;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.widget .widget-content {
    padding: 15px;
}

.widget .widget-content > *:last-child {
    margin-bottom: 0;
}

form ul.errors {
    list-style-type: none;
    color: #ee0000;
    margin: 5px 0 10px 0;
    font-size: 12px;
    padding-left: 0;
}

form .form-group label span.required {
    color: #ee0000;
}

.table th .icon-arrow-up,
.table th .icon-arrow-down {
    display: none;
}

.table th.sorted .asc .icon-arrow-up {
    display: inline-block;
}

.table th.sorted .desc .icon-arrow-down {
    display: inline-block;
}

#file_manager .modal-dialog {
    width: 800px;
}

#file_manager .modal-body {
    padding: 0;
}

#file_manager .navbar {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    background: #fff;
}

#file_manager .breadcrumb {
    border-top: 1px solid #D4D4D4;
    border-bottom: 1px solid #D4D4D4;
    border-radius: 0;
    margin-bottom: 0;
}

#file_manager .files {
    padding: 15px;
    height: 330px;
    overflow: auto;
}

#file_manager .files > .item {
    border: 1px solid #D4D4D4;
    border-radius: 5px;
    background: #f0f0f0;
    float: left;
    padding: 5px;
    position: relative;
    margin: 0 10px 10px 0;
    width: 112px;
}

#file_manager .files > .item input[type="checkbox"] {
    position: absolute;
    left: 10px;
    top: 10px;
    margin: 0;
}

#file_manager .files > .item .label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

#file_manager .files > .item .preview {
    width: 100px;
    height: 100px;
    display: block;
    margin-bottom: 5px;
    line-height: 100px;
    vertical-align: middle;
    text-align: center;
    border-radius: 5px;
    background: #fff;
}

#file_manager .files > .item.dir .preview {
    cursor: pointer;
}

#file_manager .files > .item .preview img {
    display: block;
    border-radius: 5px;
}

#file_manager .files > div .preview .glyphicon {
    font-size: 64px;
}

form .nav-tabs {
    margin-bottom: 15px;
}

#tabs {
    border: none;
    padding: 0;
    margin-bottom: 1em;
}

#tabs .ui-widget-header {
    background: none;
    border-bottom: 1px solid #aaaaaa;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

#tabs .ui-tabs-panel {
    border: 1px solid #aaaaaa;
    border-top: 0;
    border-radius: 0;
}

#tabs ul li {
    border-radius: 0;
}

form .tab-content {
    margin-bottom: 15px;
}

.form-image .preview {
    border: 1px solid #EEEEEE;
    border-radius: 5px 5px 5px 5px;
    background: #fff;
    margin-bottom: 10px;
    height: 130px;
    width: 130px;
    padding: 5px;
    position: relative;
    text-align: center;
    line-height: 118px;
}

.form-image .preview a.remove {
    position: absolute;
    right: 5px;
    top: 5px;
    display: none;
}

.form-image .preview a.crop {
    position: absolute;
    left: 5px;
    bottom: 5px;
    display: none;
}

.form-image .preview img {
    max-width: 118px;
    max-height: 118px;
    vertical-align: middle;
}

.form-collection-entry {
    margin-bottom: 15px;
    padding: 15px;
    background: #fbfbfb;
    border: 1px solid #EEEEEE;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.form-collection-entry.sortable-placeholder {
    border-style: dashed;
    box-shadow: none;

}

.form-collection-entry .sortable-handle {
    margin-bottom: 10px;
    cursor: move;
}

.item-list {
    max-width: 800px;
}

.item-list .item-row {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
}

.item-list .item-row .sortable-handle {
    margin: 5px 0 0 5px;
    display: inline-block;
    cursor: move;
    float: left;
}

.item-list .item-row .name {
    display: inline-block;
    width: 50%;
    padding: 3px;
    float: left;
    margin-left: 5px;
}

.item-list ul {
    margin: -5px 0;
    padding: 5px 0;
    list-style-type: none;
    position: relative;
}

.item-list ul li.sortable-placeholder {
    border: 1px dashed #ccc;
    border-radius: 5px;
    height: 2px;
}

.item-list ul li {
    margin: 10px 0 0 0;
    border: 1px solid transparent;
}

.item-list ul ul {
    margin-left: 30px;
}

#crop_dialog .modal-dialog {
    width: 800px;
}

.jcrop-keymgr {
    display: none !important;
}

.breadcrumb > .breadcrumb-button {
    float: right
}

.breadcrumb > .breadcrumb-button::before {
    content: "";
    padding: 0;
}

/***
Bootstrap Line Tabs by @keenthemes
A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme
Licensed under MIT
***/

/* Tabs panel */
.tabbable-panel {
    border: 1px solid #EEEEEE;
    padding: 10px;
}

/* Default mode */
.tabbable-line > .nav-tabs {
    border: none;
    margin: 0px;
}

.tabbable-line > .nav-tabs > li {
    margin-right: 2px;
}

.tabbable-line > .nav-tabs > li > a {
    border: 0;
    margin-right: 0;
    color: #737373;
}

.tabbable-line > .nav-tabs > li > a > i {
    color: #a6a6a6;
}

.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
    border-bottom: 4px solid #fbcdcf;
}

.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
    border: 0;
    background: none !important;
    color: #333333;
}

.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
    color: #a6a6a6;
}

.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
    margin-top: 0px;
}

.tabbable-line > .nav-tabs > li.active {
    border-bottom: 4px solid #f3565d;
    position: relative;
}

.tabbable-line > .nav-tabs > li.active > a {
    border: 0;
    color: #333333;
}

.tabbable-line > .nav-tabs > li.active > a > i {
    color: #404040;
}

.tabbable-line > .tab-content {
    margin-top: -3px;
    background-color: #fff;
    border: 0;
    border-top: 1px solid #EEEEEE;
    padding: 15px 0;
}

.portlet .tabbable-line > .tab-content {
    padding-bottom: 0;
}

/* Below tabs mode */

.tabbable-line.tabs-below > .nav-tabs > li {
    border-top: 4px solid transparent;
}

.tabbable-line.tabs-below > .nav-tabs > li > a {
    margin-top: 0;
}

.tabbable-line.tabs-below > .nav-tabs > li:hover {
    border-bottom: 0;
    border-top: 4px solid #fbcdcf;
}

.tabbable-line.tabs-below > .nav-tabs > li.active {
    margin-bottom: -2px;
    border-bottom: 0;
    border-top: 4px solid #f3565d;
}

.tabbable-line.tabs-below > .tab-content {
    margin-top: -10px;
    border-top: 0;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 15px;
}

.btn {
    border-radius: 0px;
}

input, textarea, select {
    border-radius: 0px !important;
}

.alert {
    border-radius: 0;
}

input[type='radion'], input[type='checkbox'] {
    margin-right: 5px;
    vertical-align: -1px;
}

.choice label {
    margin-left: 5px;
    vertical-align: -1px;
}

.bootstrap-switch {
    border-radius: 0;
    margin-bottom: 1px;
}

.bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-handle-on {
    border-radius: 0;
}

.ms-container .ms-list {
    border-radius: 0;
}

input[type='file'] {
    box-shadow: unset;
    height: 28px;
    padding: 0;
    margin: 4px auto;
    border: 0
}

#nav .caret {
    border-top: 4px solid #ffffff;
    float: right;
    top: 9px;
    position: relative;
}

.dropdown-nav ul li {
    padding-left: 10px
}

.dropdown-nav ul li a:before {
    content: "\2014";
    padding-right: 10px
}