:root {
    --header-height: 70px;
}

body {
    padding-left: 0em;
}

.sidebar-nav {
    padding: 0;
    list-style: none;
}

.sidebar-nav-2 {
    margin-top: 0;
    padding: 0;
    list-style: none;
}

/*
  
        @media (min-height: 400px) {
            .col-sm-2 {
                position: fixed;
            }
        }

        .col-sm-2 {
            width: 9em;
            padding: 0;
            z-index: 10;
            visibility: hidden;
        }

        .col-sm-10 {
            position: absolute;
            width: 100%;
        }
*/
#sidebar-overlay {
    z-index: 5000;
}

.row {
    margin-left: 0px;
}

li ul.sidebar-nav-2 li {
    padding-left: 5px;
    background: #eae4e4;
    ;
}

ul.sidebar-nav li a, p {
    margin: 0px 0px 0px 4px;
    /*c!olor: #FFF;*/
}

ul.sidebar-nav li {
    display: block;
    background: #cdcdcd;
    margin: 0px 2px 0px 0px;
    padding-left: 4px;
    /*
    border-style: solid;
    border-top: 1px;

    b!order-top-color: rgb(204, 204, 204);
    b!order-top-style: solid;
    b!order-top-width: 1px;
    b!order-radius: 4px;
    */
    font-weight: 700;
}

.umparag {
    margin: 2em 0 0 0;
}

.umimg {
    width: 300px;
    border: 1px solid #ccc;
}

#header {
    /*padding-left: calc(15px + 64px);*/
    float: left;
    display: block;
    width: 100%;
    /*height: var(--header-height); */

    margin-bottom: 4px;
}

#headerButtonsBlock {
    float: left;
    margin-left: 5px;
}

#headerTitleBlock {
    float: left;
    margin-left: 2em;
}

#sidebar {
    padding-left: 4px;
    padding-right: 4px;
    float: left;
    overflow-x: hidden;
    overflow-y: auto;
    height: calc(100vh - var(--header-height) - 5px);
    display: none;

}

#content {
    margin-left: 4px;
    margin-right: 4px;
}
/*
#MapView {
    height: calc(100vh - var(--header-height) - 5px);
}
*/
h2 {
    font-size: 25px;
}

.headerButton {
    /*height: 40px;
            width: 40px;
            float: left;
            margin-right: 10px; 
            z-index: 10000;
            position: absolute; 
            margin: 1em; */
    margin: 9px 5px 0px 5px;
    float: left;
    cursor: pointer;
    color: white;
    text-decoration: none;
    /*padding: .8em 1em calc(.8em + 3px); 
            padding: .7em calc(.7em + 2px);*/
    border-radius: 3px;
    box-shadow: 0 -3px rgb(72, 99, 85) inset;
    transition: 0.2s;
    background: #cdcdcd;
    width: 56px;
    height: 54px;
    /*margin: 0.1em; */

}

/*
        #menuButton {
            top: 10px;
            left: 10px; /
        }
*/
#sidebarManageButton {
    display: none;
}

#menuBlock {
    /* width: 9em; */
    z-index: 10001;
    position: absolute;
    top: 9px;
    left: 10px;
    border-radius: 4px;
    visibility: hidden;
    border: 1px solid rgb(188, 192, 191);
    padding: 0px;
    /* background: #eae4e4; */
    background: #cdcdcd;
}

#mapcontroltable, #mapcrewtable {
    width: 100%
}

#mapcontroltable td, #mapcrewtable td, #mapcontroltable th, #mapcrewtable th {
    border: 1px solid #ccc;
    padding: 4px;
}

#MapControl {
    /*width: 330px;*/
    height: 100%;
    float: left;
    overflow-y: scroll;
}

#MapBoard {
    width: 100%;
    height: 100%;
}

.timelabel {
    float: left;
    margin-right: 0.5em;
}

#usermanual {
    padding-left: 0.3em;
}

/*
        #GameAdminGameEditor input {
            width: 50em;
        }
        */

.GameEditorField {
    width: 100%;
}

#GameAdminGameEditor label {
    display: block;
    width: 100%;
}

.peopleEditorWorkZone {
    font-weight: 300;
}

.inputtext {
    font-weight: 300;
}

.container-crew-form .inputtext {
    margin: 0px 3px 0px 3px;
}

.peopleEditor .inputtext {
    margin: 0px 3px 0px 3px;
}

.DeviceEditorElement {
    /* border: 1px solid black; */
    padding: 5px;
    width: 100%
}

.small_icon_delete, .small_icon_add, .small_icon {
    width: 24px;
}


.small_button_icon {
    width: 24px;
    margin: 0 5px 0 5px;
}

.peopleEditorAddButton {
    text-align: center;
    margin-top: 10px;
}

.container-category .category_form {
    display: block;
    float: left;
}

.contPointView {
    border: 1px solid #ccc;
    padding: 0.2em;
    padding: 0.2em;
    display: table-cell;
}

.contPointViewName {
    cursor: pointer;
}

.contPointViewCats {
    white-space: nowrap;
}

.contPointViewInfo {
    width: 20em;
    min-height: 1em;
    cursor: pointer;
}

.contPointViewComment {
    width: 10em;
    min-height: 1em;
}







#container-point-header {
    font-weight: bold;
    text-align: center;
    display: table-header-group;
}

#PointsAdminPointEditor {
    display: table;
    /*  border: 1px solid #000; */
}

.icon_save, .icon_reload, .icon_delete, .icon_distribute {
    cursor: pointer;
    width: 64px;
}

#PointsAdminPointGenerator, #GameAdminGameEditor, #GameAdminCategoriesEditor, .container-category {
    /* border: 1px solid #ccc;
            border-top-color: rgb(204, 204, 204);
            border-top-style: solid;
            border-top-width: 1px;
            border-radius: 4px; */
    font-weight: 700;
    padding: 0.3em;
    display: table;
}

#PointsViewTable th, #PointsViewTable td {
    border: 1px solid #ccc;
    padding: 2px;
}

#PointsViewTable th {
    text-align: center;
}

#PointsAdminPointGenerator, #PointsAdminPointEditor {
    float: none;
    display: table;
}

#container-point-table th {
    border: 1px solid #ccc;
    text-align: center;
}

#crewsTable th, #crewsTable td {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
}

#crewsTable th {
    text-align: center;
}

#crewsTable th#name, #crewsTable th#category, #crewsTable td#name {
    cursor: pointer;
}

#crewsTable td img.gameFinishedImg {
    width: 1em;
    margin-left: 4px;
}

textarea {
    width: 100%;
    height: 6em;
}

.contPointViewRow {
    display: table-row;
}

.container-point {
    display: table-row;
}

.container-point-buttons {
    width: 74px;
    height: 210px;
    float: left;

}

#newCrewForm .container-point-buttons {
    padding: 4px;
}

#CrewsEditor {
    display: table;
}

.container-crew-form {
    max-width: 500px;

}


.container-point-form, .container-crew-form {
    float: left;
}

#newCrewForm {
    border: 1px solid #ccc;
}

#add-point-container-title {
    width: 100%;
}

.container-point-form label {
    float: left;
    max-width: 400px;
}

.container-point-form label.longtext {
    max-width: 100%;
}

.container-crew-devices {
    clear: both;
    /*max-width: 570px; */
    width: 100%
        /* border: 1px solid black; */
}

.deviceEditorElement {
    font-weight: 100;
}

.width100 {
    width: 100%;
}

.iblock {
    display: inline-block;
}

.container-point-form label.noeright {
    float: none;
}

.newline {
    clear: left;
}

.container-point-form label.fullwidth {
    width: 100%;
}

.divlabel {
    font-size: 1em;
}

.labelhint {
    font-size: 0.8em;
}

.divinput {
    font-size: 1.2em;
}

.inputcheckbox {
    width: 1em;
}

#container-save-all label {
    font-size: 20px;
}

#container-save-all {
    text-align: center;
    margin-top: 2em;
}

input[type="checkbox"] {
    margin: 0em 0.2em 0em 0.8em;
}

input[type="text"], input[type="login"], input[type="password"] {
    /* margin: 0.2em 0.8em 0.2em 0.3em; */
    height: 1.6em;
    padding: 6px 1px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#GameOptionsEditor input[type="text"] {
    margin-left: 10px;
}

.container-point input[type="text"] {
    margin: 0.2em 0.8em 0.2em 0.3em;
}

#PointsAdminPointGenerator input[type="text"] {
    margin: 2px 10px 2px 10px;
}

.resultstable td, .resultstable th {
    padding: 0.2em 0.1em 0.2em 0.2em;
}

.resultphototd {
    text-align: center;
}

.resultViewBoxButton {
    text-align: center;
    padding: 0.3em;
    cursor: pointer;
}

.resultViewBoxDetails {
    padding: 0.3em;
    cursor: pointer;
}

#resultEditorCrewsCategories {
    margin-bottom: 1em;
}

th.resultDevice {
    width: 16em;
}

.pointinfoarea {
    height: 6em;
    border: 1px solid;
    overflow: auto;
}

.leaflet-container .leaflet-marker-pane img {
    z-index: 4999;
}

div.leaflet-tooltip.pointMarkerTitle.leaflet-zoom-animated.leaflet-tooltip-bottom {
    /*font-weight: 700; */
    padding: 0px 2px 0px 2px;
    color: blue;
    display: block;
    background: white;
    border: 0;
    opacity: 1;
    box-shadow: none;
}

div.leaflet-tooltip.deviceMarkerTitle.leaflet-zoom-animated.leaflet-tooltip-top {
    /*text-shadow: 0px 0px 5px white;*/
    /* Параметры тени */
    /*
            padding: 0px;
            bottom: -6px;
            right: -32px;
            color: black;
            background: none;
            font-size: 1.5em;
            text-align: center;
            border: 0;
            display: block;
            width: 30px;
            opacity: 1;
            box-shadow: none;
*/
    padding: 0px;
    bottom: 0.3em;
    margin-left: 2px;
    color: black;
    background: white;
    font-size: 1.5em;
    text-align: center;
    border: 0;
    display: block;
    opacity: 1;
    box-shadow: none;
    line-height: 1em;
    z-index: 5000;
}

div.leaflet-tooltip.deviceMarkerTitle.leaflet-zoom-animated.leaflet-tooltip-top::before {
    display: none;
}

.OldFormatBumperImage {
    width: 100px;
}

#resultEditorCrews {
    float: left;
    margin-right: 2em;
}

.resultsCrewTable td.crewDiv {
    cursor: pointer;
    padding: 0 0.5em 0 0.5em;
}

.resultsCrewTable td, th {
    padding: 0.6em;
}

.pointsPrintDiv {
    border: 1px solid #ccc;
    text-align: center;
    width: 130px;
    page-break-inside: avoid;
    float: left;
}

.pointsPrintHeader {
    border: 1px solid grey;
    text-align: center;
    font-size: 140%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pointsPrintWarning {
    text-align: center;
    font-size: 90%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pointsPrintQRcodeTD {
    border: 1px solid grey;
    text-align: center;
    width: 130px;
    height: 150px;
}

.pointsPrintQRcode {
    width: 120px;
    height: 120px;
    margin: 15px 5px 10px 5px;
}

.pointsPrintFooter {
    border: 1px solid grey;
    text-align: center;
    font-size: 180%;
    font-weight: bold;
}

.resultstable, .resultstable th, .resultstable td {
    border: 1px solid #ccc;
}

.resultstable th, .resultsCrewTable th {
    text-align: center;
}

.resultstable th .resultDeviceName, .resultstable th .resultCP {
    cursor: pointer;
}

.confirmNo {
    background-color: red;
    color: white;
}

.confirmYes {
    background-color: green;
    color: white;
}

.resultsCrewTableIcon {
    width: 2em;
}

.photoUnconfirmedExists {
    background-color: red;
    color: white;
}

.iconOtherPhotos {
    width: 100px;
    cursor: pointer;
}

.adminedit {
    background-color: red;
    color: white;
}

#cmTable td {
    padding: 0 5px 0 5px;
}

.imgbutton {
    font-weight: 700;
    color: white;
    text-decoration: none;
    /*padding: .8em 1em calc(.8em + 3px); */
    padding: .4em calc(.4em + 2px);
    border-radius: 3px;
    box-shadow: 0 -3px rgb(72, 99, 85) inset;
    transition: 0.2s;
    background: rgb(198, 206, 204);
    width: 64px;
    height: 62px;
    margin: 0.1em;
    cursor: pointer;
}

.imgbutton:hover {
    background: rgb(143, 178, 209);
}

.imgbutton:active {
    background: rgb(59, 126, 184);
    box-shadow: 0 3px rgb(72, 99, 85) inset;
}

#container-newpoint-button {
    margin: 10px 0px 0px 0px;
}

.imgbuttonlarge {
    width: 64px;
    height: 62px;
    padding: .4em calc(.4em + 2px);
}

.imgbuttonmedium {
    width: 48px;
    height: 46px;
    padding: .2em calc(.2em + 2px);
}

.imgbuttonsmall {
    width: 32px;
    height: 30px;
    padding: .2em calc(.2em + 2px);
}

.icon_small {
    width: 24px;
}

.leaflet-bottom {
    z-index: 1;
}

#chartDynamicSvg1 {
    stroke-width: 5px;
}