html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

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

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

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

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


/* GarrySeldon */

/* Схема изделия */

.board { border: 1px solid #000; position: relative; height: 500px; page-break-inside : avoid; overflow: hidden;}
.map_element { position: absolute; background-color: #ccc; border: 2px solid #333; text-align: center; font-size: 0; cursor: move; box-sizing: border-box; -webkit-box-sizing: border-box; }
.map_element span { display: block; position: absolute; height: 14px; margin: auto 0; top: 0; left: 0; bottom: 0; text-align: center; line-height: 14px; font-size: 14px; color: #333; font-weight: bold; width: 100%; }
.mapLabel { position: absolute; color: #333; bottom: 0; right: 0;}
.mapWidth { width: 100%; height: 20px; }
.mapHeight { height: 100%; width: 20px; }
.mapO4.mapWidth { right: 100%; width: 90px; }
.mapO2.mapWidth { left: 100%; width: 90px; right: auto; }
.mapO1.mapHeight { bottom: 100%;  height: 90px; }
.mapO3.mapHeight { top: 100%; height: 90px; bottom: auto; }
.mapLabel div {  font-size: 14px; font-style: italic; display: inline-block; background-color: #ccc; padding: 0 6px;  }
.mapHeight div { -webkit-transform: rotate(-90deg); transform: rotate(-90deg); position: absolute; top:50%; right: -7px; margin-top: -10px; }
.mapWidth div { position: relative;}
.mapLabel::before, .mapLabel::after { content: '';  display: block; position: absolute;  background-repeat: no-repeat; background-position: 50%;  height: 20px; width: 20px; 
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAMAAAD0SU6vAAAAbFBMVEWZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmrLg70AAAAI3RSTlMAC64eNuEqUfSecP6PYePJSGyLqKd9ZM1LRb37eCLmBabkxnmcgusAAABNSURBVHheVcxHDoAgEAXQkSqggL3Xuf8dNWogvu0vUJFSS5HAz4C3iTuS5YyGrMAgtV3dtF4A9AYjY0c1e1jWt8Sd0pLR7Vnvx/ndRReyJgcAleqoIgAAAABJRU5ErkJggg==');
}
.mapWidth::before { bottom: 0; left: 0; transform: rotate(-180deg); -webkit-transform: rotate(-180deg);  }
.mapWidth::after { right: 0; bottom: 0;  }
.mapHeight::before {  right: 0; top: 0; transform: rotate(-90deg); -webkit-transform: rotate(-90deg); }
.mapHeight::after {  right: 0; bottom: 0; transform: rotate(90deg); -webkit-transform: rotate(90deg);   }
.mapLabel i { display: block;  position: absolute; background-color: #999;}
.mapWidth i { width: 100%; height: 1px; bottom: 10px; left: 0; }
.mapHeight i { width: 1px; height: 100%; right: 10px; top: 0; }
.mapO1 div, .mapO2 div, .mapO3 div, .mapO4 div { background-color: #fff;}

/* endСхема изделия */


.inputHide > input { display: none;}
.falseLabel { font-weight: 700; }
.groupElement { display: inline-block; margin-right: 16px; margin-bottom: 5px; }
.nameImg { font-size: 1.3rem; display: block;}
.d-inline-block { display: inline-block; vertical-align: middle;}
.opacity-2 { opacity: 0.4; }
.boxMessage { position: fixed; bottom: 60px; right: 20px; width: 460px; max-width: 90%; z-index: 1000; }
.boxMessage > div.alert { box-shadow: 0 0 10px #999; } 

.tagGS { font-size: 0.9rem; padding: 2px 5px; display: inline-block; background-color: #ccc; border-radius: 5px; font-weight: bold; }
.alertText { color: #c55; }

.border { border: 1px solid #ccc; margin: 5px 0 10px; border-radius: 8px; padding: 8px; position: relative;  }
.closeGS { font-size: 21px; font-weight: bold; line-height: 1; color:#999; border: 0; background-image: none; background-color: transparent;}
.hiddenClose { display: none; position: absolute; top: 7px; left: 20px; z-index: 10; }
.relativeGS:hover .hiddenClose { display: block; }
.relativeGS { position: relative;}

/* Кнопки управления */
.table  tr > .buttonCollumn { padding: 0; position: relative; width: 0; font-size: 0; }
td.buttonCollumn > div { display: none; white-space: nowrap; position: absolute; right: 0; top: 0; box-shadow: 0 0 10px #999; z-index: 10; background-color:#fff; font-size: 14px;  }
tr:hover td.buttonCollumn div { display: block; }

.textBodyModal { font-size: 1.6rem; }

.btn-garryseldon { margin-top: 2px; margin-bottom: 2px;}


/* end GarrySeldon */

@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;
}

@media print {
    a::after {content:'' !important; display: none; }
    td.buttonCollumn > div { display: none !important;}
}
