html,
body {
    height: 100%;
    overflow: hidden;
}
.f-right {
    float: right;
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* 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";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.breadcrumb{
    margin-top: 50px;
    margin-bottom: 0;
    border-radius: 0;
}
#toogle_menu{
    cursor: pointer;
}

#show_left_menu{
    display: none;
    width: 10px;
    height: 100%;
    background: #ccc;
    position: fixed;
    left: 0px;
    top: 60px;
    cursor: pointer;
}

#content_part{
    width: 100%;
    position: relative;
}
#content_part.xs {
    height: 87vh;
}

#content_part.hide_menu #show_left_menu{
    display: block;
}

#pjax_container{
    display: none;
    background-color: #fff;
    left:0 !important;
    padding-top: 10px;
}

.pjax-container-close {
    border-radius: 50%;
    font-size: 20px;
    position: absolute;
    right: 15px;
    padding: 7px;
    top: 15px;
    border: #bb3300 solid 1px;
    cursor: pointer;
    color: #bb3300;
    transition: 0.3s;
}
.pjax-container-close:hover {
    background-color: #bb3300;
    color: #fff;
}

#main_container {
    display: flex;
}

.ui-resizable-handle {
    background: #eee;
}

.toggle-panel {
    cursor: pointer;
}
.client-name,
.client-name:hover,
.client-name:active {
    color: #555555;
    text-decoration: none;
}
.project-view {
    height: calc(100vh - 252px);
    overflow: auto;
}
h1.project-name {
    margin-top: 5px;
    margin-bottom: 3px;
}
h1.project-name .label {
    font-size: 52%;
}
h1 .project-icon img {
    max-height: 40px;
    width: auto;
}
.project-name {
    font-weight: bold;
    color: #222222;
}
.block-link {
    display: block;
    padding: 5px;
    transition: background-color 0.4s ease-in-out;
}
.block-link:hover {
    text-decoration: none;
    background: #ffe0b3;
}

.panel .alert {
    padding: 7px 15px;
    margin-bottom: 5px;
}
/* Content table on resize */
#content_part .projects-grid tr td:nth-child(1),
#content_part .projects-grid tr th:nth-child(1) {
    display: none;
}

#content_part.sm .projects-grid tr td:nth-child(3),
#content_part.sm .projects-grid tr th:nth-child(3),
#content_part.sm .projects-grid tr td:nth-child(n+7),
#content_part.sm .projects-grid tr th:nth-child(n+7) {
    display: none;
}
#content_part.xs .projects-grid thead,
#content_part.xs .projects-grid tr td:nth-child(n+1),
#content_part.xs h1,
#content_part.xs .summary {
    display: none;
}
#content_part.xs .projects-grid tr td:nth-child(1) {
    display: block;
    padding: 0;
    border-top: 0;
}
.history-table td{
    max-width: 150px;
    max-height: 100px;
    overflow: hidden;
}

.relative{
    position: relative;
}

#search_block{
    padding-top: 8px;
}

.blocked{
    opacity: 0.4;
}

.note {
    font-weight: bold;
    font-size: smaller;
    color: #555555;
    padding: 1px 5px;
}
.field-row {
    margin: 3px 0;
}
.field-label {
    font-weight: bold;
    color: #333333;
    padding: 1px 3px;
}
.copy-on-click {
    cursor: pointer;
    position: relative;
    border: 1px dashed transparent;
    border-radius: 1px;
    padding: 1px 3px;
}
.copy-on-click:hover {
    border: 1px dashed #323232;
}
.copy-on-click:after {
    -webkit-transition:opacity .15s;
    transition:opacity .15s;
    content:attr(data-copy);
    position:absolute;
    top:50%;
    left:105%;
    padding:1px 3px;
    color:#fff;
    -webkit-transform:translateY(-50%);
    transform:translateY(-50%);
    background-color: #55575a;
    border-radius:3px;
    visibility:hidden;
    opacity:0;
    font-size: 0.8em;
    font-weight:bold;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
}
.copy-on-click:hover:after {
    visibility:visible;
    opacity:1
}
.copy-on-click.copying:after {
    content:attr(data-copied);
    visibility:visible;
    opacity:1;
    background-color:#8cdd92;
    color:#fff;
    -webkit-animation:hide .5s ease-in-out;
    animation:hide .5s ease-in-out;
}
.ssh-key {
    line-height: 1;
    overflow: hidden;
    max-width: 80%;
    max-height: 100px;
    overflow-y: scroll;
}
.ssh-key {
    width: 0;
    height: 0;
    display: inline-block;
}
.access_item{
    display: flex;
    margin-bottom: 3px;
}

.access_item dd{
    max-width: 800px;
    overflow: auto;
    margin-left: 15px;
}

.copy_link{
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
}

#content_part:not(.xs) .projects-grid .table-striped {
    display: block;
    width: 100%;
}
#content_part:not(.xs) .projects-grid .table-striped tbody,
#content_part:not(.xs) .projects-grid .table-striped thead {
    display: block;
}
#content_part:not(.xs) .projects-grid .table-striped thead {
    width: 100%;
}
#content_part:not(.xs) .projects-grid .table-striped tr {
    width: 100%;
    display: flex;
}
#content_part:not(.xs) .projects-grid .table-striped tbody {
    display: block;
    height: calc(100vh - 234px);
    width: 100%;
}
#content_part:not(.xs) .projects-grid .table-striped th,
#content_part:not(.xs) .projects-grid .table-striped td {
    width: 25%;
}
#content_part:not(.xs) .projects-grid .table-striped th:nth-child(2),
#content_part:not(.xs) .projects-grid .table-striped td:nth-child(2),
#content_part:not(.xs) .projects-grid .table-striped th:nth-child(3),
#content_part:not(.xs) .projects-grid .table-striped td:nth-child(3),
#content_part:not(.xs) .projects-grid .table-striped th:last-child,
#content_part:not(.xs) .projects-grid .table-striped td:last-child {
    width: 50px;
    text-align: center;
}
#content_part:not(.xs) .projects-grid .table-striped th:nth-child(7),
#content_part:not(.xs) .projects-grid .table-striped td:nth-child(7),
#content_part:not(.xs) .projects-grid .table-striped th:nth-child(8),
#content_part:not(.xs) .projects-grid .table-striped td:nth-child(8),
#content_part:not(.xs) .projects-grid .table-striped th:nth-child(9),
#content_part:not(.xs) .projects-grid .table-striped td:nth-child(9) {
    width: 10%;
}
#content_part.xs .projects-grid .table-striped tbody {
    display: block;
    height: calc(100vh - 86px);
}
#content_part.xs .projects-grid .table-striped tr {
    display: block;
}
.access-row:hover{
    background-color: #fef0db !important;
}
.group-mass-update {
    position: absolute;
    top: 107px;
    right: 0;
    display: block;
    padding: 6px 12px 6px 35px;
    color: #222;
    background-image: url("../images/ico-refresh.svg");
    background-repeat: no-repeat;
    background-position: 8px center;
    -webkit-background-size: 15px;
    background-size: 20px;
    border-radius: 4px;
    border: #ccc solid 1px;
}
.group-mass-update:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
    text-decoration: none;
}
.project-view .ss-wrapper,
.project-view .ss-content {
    position: static;
}
#pjax_content .group-mass-update {
    right: 15px;
}
.table-bordered th,
.table-bordered td {
    border: #ddd solid 1px;
    border-right: 0 !important;
    border-top: 0 !important;
    padding: 8px;
}
.table-bordered tr{
    background-color: #fff;
}
.table-bordered tbody tr:nth-of-type(odd){
    background-color: #f9f9f9;
}
.table-bordered tbody tr:hover{
    background-color: #fef0db;
}
.table-bordered{
    border-left: 0;
    border-bottom: 0;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td{
    border-bottom-width: 1px;
}
.nav-tabs{
    margin-top: 10px;
}
.project-create{
    height: calc(100vh - 90px);
}
.project-create .ss-content{
    padding-right: 10px;
}
.label-green,
.label-red{
    display: block;
    text-align: center;
    margin: 0;
    color: #fff;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    font-weight: normal;
}
.label-red{
    background-color: #d9534f;
    border-color: #d43f3a;
}
.label-green{
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.projects-grid{
    margin-top: 40px;
}
#content_part.xs .projects-grid{
    margin-top: 0;
}
.top-menu{
    margin-top: 10px;
}
#pjax_container .top-menu{
    margin-top: 0;
}