html,
body {
    height: 100%;
}

/*body {
    min-height: 100vh !important;
}
*/
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.nkosys-info{
    font-size: 12px;
    color: grey;
    font-style: italic;
}

/*.wrapper {
    height: auto !important;
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.wrapper .content-wrapper {
    flex-grow: 1;
    display: flex;
}

.wrapper .content-wrapper .content {
    flex-grow: 1;
    height: auto;
}
*/
.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}


/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.disabled-glyphicon{
	color: lightgrey;
}

.pagination{
    margin: 0;
}

.move-down-button{
    color: black;
    text-align: center;
    position: fixed;
    top: 215px;
    right: 25px;
    z-index: 5000;
}

.move-up-button{
    color: black;
    text-align: center;
    position: fixed;
    top: 170px;
    right: 25px;
    z-index: 5000;
}

.move-up-button span,
.move-down-button span{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(102, 102, 102, 0.43);
    border: 1px solid rgba(53, 52, 52, 0.21);
}

fieldset .form-group{
    padding: 0 10px;
}

.tree-row{
    background-color: #ffffff;
    -webkit-transition:  300ms;
    -moz-transition:  300ms;
    -ms-transition:  300ms;
    -o-transition:  300ms;
    transition:  300ms;
}

.tree-row:hover{
    background-color: #eee !important;
}

.primary-checkbox{
    margin-left:15px;
}

.sortable-item{
    padding:5px;
    margin:3px;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border: 1px solid rgba(172, 172, 172, 0.522);
    cursor:move;
}

.article-sort-spin{
    font-size: 18px;
    padding: 10px;
    display:none;
}

.select2-results__options {
    max-height: 225px;
    overflow: auto;
}
li.select2-results__option{
    height:100%;
}
.select2-results__options--nested{
    height:100%;
    max-height:100%;
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dashboard-widget {
    padding: 0;
    margin: 0 0 10px 10px;
}
.dashboard-widget .widget-box {
    height: 90px;
    width: 100%;
    display: table;
    background: white;
}
.dashboard-widget .widget-box-icon {
    width: 90px;
    display: table-cell;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    position: relative;
}
.dashboard-widget .widget-box-icon > .fa {
    width: 52px;
    text-align: center;
    line-height: 45px;
}
.dashboard-widget .widget-box-icon > img {
    width: 52px;
    height: 45px;
}
.dashboard-widget .widget-box-icon .widget-box-subicon {
    font-size: 20px;
    position: absolute;
    top: 8px;
    right: 8px;
    line-height: 20px;
}
.dashboard-widget .widget-box-content {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
}
.dashboard-widget .widget-box-text {
    font-size: 18px;
}
.dashboard-widget .widget-remove {
    position: absolute;
    width: 20px;
    height: 20px;
    top: -12px;
    right: -5px;
    text-align: center;
    background: #db2828;
    border-radius: 50%;
    color: white;
    line-height: 20px;
    font-size: 18px;
    opacity: 0;
    transition: opacity .5s;
}
.dashboard-widget:hover .widget-remove {
    opacity: 1;
}
.dashboard-widget-placeholder {
    background: white;
    border: 1px solid #ddd;
    padding: 0;
}

.inline-block{
    display: inline-block;
}
.vtop{
    vertical-align: top;
}
.pagination > li > a,
.pagination > li > span{
    padding: 2px 8px;
}
.list-sizer select{
    padding: 2px 8px;
    height: 26px;
}
.btn-admin,
.btn.btn-admin,
.box-header .btn-primary,
.box-header .btn-danger,
.box-header .btn-warning,
.box-header .btn-success,
.box-header .btn-default,
.box-footer .btn-primary,
.box-footer .btn-danger,
.box-footer .btn-warning,
.box-footer .btn-success,
.box-footer .btn-default{
    padding: 2px 8px;
}

.box-success .box-header.with-background{
    background: rgba(0, 166, 90, 0.3);
}

.box-warning .box-header.with-background{
    background: rgba(243, 156, 18, 0.3);
}

.box-danger .box-header.with-background{
    background: rgba(221, 75, 57, 0.3);
}

footer.main-footer .footer-nko-logo{
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: -10px 5px -10px -5px;
    vertical-align: top;
    background-image: url(/backend/web/img/Netkorzo_logo.png);
    background-size: 40px;
}

/* breadcrumbs */

.header-breadcrumbs > .breadcrumb {
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    padding: 10px 5px;
    border-radius: 2px;
	color: white;
    padding-top: 5px;
}

.header-breadcrumbs > .breadcrumb > .active {
    color: white;
	font-weight: bold;
    font-size: 22px;
    padding-top: 4px;
}

.header-breadcrumbs > .breadcrumb > li {
    padding-top: 10px;
    vertical-align: top;
}

.header-breadcrumbs > .breadcrumb > li > a {
    color: white;
    text-decoration: none;
    display: inline-block;
}

.header-breadcrumbs > .breadcrumb > li+li:before {
    content: '>\00a0';
}

.header-breadcrumbs > .breadcrumb > .active:before {
    font-size: 14px;
    position: relative;
    top: -2px;
}

@media (max-width: 499px){
	.header-breadcrumbs > .breadcrumb{
		display: none;
	}
}

@media (min-width: 500px){
	.content-header>.breadcrumb {
		display: none;
	}
}

/* /breadcrumbs */

.content-header{
    padding: 0 0 15px 0;
}

.grid-view tr.row-selected{
    background-color: #c2e5f9 !important;
}

.navbar-nav>.user-menu>.dropdown-menu{
    width: auto;
}
.navbar-nav>.user-menu>.dropdown-menu>.user-footer,
.navbar-nav>.user-menu>.dropdown-menu>.user-body{
    padding: 0;
    border-top: 0;
}
.navbar-nav>.user-menu>.dropdown-menu>.user-body a,
.navbar-nav>.user-menu>.dropdown-menu>.user-footer a{
    color: #444 !important;
    padding: 10px 15px;
    line-height: 1.5;
}

.sidebar-mini.sidebar-hidden.sidebar-collapse .main-sidebar{
    -webkit-transform: translate(-230px, 0);
    -ms-transform: translate(-230px, 0);
    -o-transform: translate(-230px, 0);
    transform: translate(-230px, 0);
}
.sidebar-mini.sidebar-hidden .content-wrapper{
    margin-left: 0px !important;
}

.sidebar-type-hidden .content-wrapper{
    margin-left: 0;
}

.sidebar-type-hidden.sidebar-hidden .main-header .navbar{
    margin-left: 0;
}

.sidebar-type-hidden.sidebar-mini.sidebar-hidden .main-header .logo {
    width: 0;
    padding: 0;
}

.sidebar-mini.sidebar-hidden.sidebar-collapse .main-footer{
    margin-left: 0 !important;
}

.export-menu {
    display: inline-block;
    border-left: 1px solid #dedede;
    padding-left: 5px;
    margin-left: 4px;
}

.navbar-nav .dev-label{
    padding: 15px 0;
}

.navbar-nav .dev-label .label{
    position: relative;
    top: -2px;
}

.gbac-widget .dropdown-menu > li > a {
    padding: 3px 5px;
}

.gbac-widget .dropdown-menu > li > a .fa {
    line-height: 1.42857143;
    width: 10px;
    text-align: center;
    float: right;
    margin-right: 0;
}

.gbac-widget .context-header {
    padding: 0 5px 5px;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    color: #777;
    font-weight: bold;
}

.btn-default.text-primary {
    color: #337ab7;
}

.font-awesome-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 21px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.font-awesome-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.font-awesome-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 21px;
    width: 21px;
    padding: 2px;
    font-size: 15px;
    background: #fcfff4;
    background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    border: 1px solid #a6a6a6;
    border-radius: 2px;
}

.font-awesome-checkbox:hover input ~ .checkmark {
    background: #ccc;
}

.font-awesome-checkbox input:checked ~ .checkmark {
    background: #337ab7;
    color: white;
}

.font-awesome-checkbox input ~ .checkmark:before {
    display: none;
}
.font-awesome-checkbox:hover input ~ .checkmark:before {
    display: block;
    color: #efefef;
}
.font-awesome-checkbox input:checked ~ .checkmark:before {
    display: block;
}

.grid-summary {
    display: inline-block;
    vertical-align: middle;
}
.grid-pagination .pagination {
    vertical-align: middle;
}

.dropdown-btn-group-right .dropdown-menu {
    right: 0;
    left: auto;
}

.grid-setting-list-sizer {
    padding: 2px;
    vertical-align: middle;
}

.permanent-delete-page h3{
    font-size: 22px;
    line-height: 25px;
    padding-left: 10px;
}

.permanent-delete-page .btn-danger{
    padding: 10px 16px;
}