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: 5px;
    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 #D3D3D3;
}

.widget {
    border-radius: 5px;
    border: 1px solid #D3D3D3;
    background: #fff;
}

.widget .widget-header {
    border-bottom: 1px solid #D3D3D3;
    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;
}

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

.form-image .preview {
    border: 1px solid #D3D3D3;
    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 #D3D3D3;
    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;
}
.order_list td {
	padding-right: 40px;
}
.quantity {
	text-align: center;
}
.btn_res {
	margin-top: 60px;
}
a.btn_res {
	display: inline-block;
}
.space_prace {
	padding-top: 15px;
	font-weight: bold;
}
p.promo_remove {
	margin: 0;
}
@media print{ 
	.promo_remove,
	.status,
	.btn_res,
	.breadcrumb,
	#nav {
		display: none;
	}
	#content {
		margin-left: 0;
	}
	a[href]:after {
		content: none !important;
	}
}