html, body {
    height: 100%;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 15px;
}

.page-header {
    position: fixed;
    top: 0;
    z-index: 102;
    height: 80px;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: #4C4C4C;
}

.page-header__wrap {
    display: inline-block;
    width: 100%;
}

.header-logo {
    display: inline-block;
    width: 180px;
    height: 25px;
    margin-top: 15px;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.header-logo .link {
    display: block;
}

.header-img {
    margin-left: 25px;
    margin-top: 5px;
}

.animated-load:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background: url('/images/ui-icons_222222_256x240.png') no-repeat -62px -79px;
}

.btn-container {
    display: inline-block;
    min-width: 60px;
}

.btn-update, .btn-add, .btn-change {
    width: 20px;
    height: 20px;
    float: left;
}

.btn-update:hover, .btn-add:hover, .btn-change:hover {
    cursor: pointer;
}

.btn-update {
    background: url('/images/ui-icons_222222_256x240.png') no-repeat -62px -79px;
}

.btn-add {
    background: url('/images/ui-icons_222222_256x240.png') no-repeat -30px -125px;
}

.btn-change {
    background: url('/images/ui-icons_222222_256x240.png') no-repeat -62px -110px;
}

.table-name {
    color: #0389CD;
    margin-bottom: 15px;
}

.pager-content__toolbar {
    overflow: hidden;
}

input[name="searchMask"] {
    width: 100%;
    height: 40px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.4em;
}

input[name="searchMask"]:focus {
    box-shadow: none;
    transition: none;
}

.table-container {
    background: white;
    /*padding: 20px;*/
    width: 100%;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
}

.table-search {
    padding: 20px;
    padding-bottom: 0;
}

#user-menu {
    float: right;
    display: inline-block;
    margin-right: 60px;
}

.user-menu {
    background: black;
    position: absolute;
    display: none;
    top: 50px;
    left: 0;
    margin: 0;
    border: 1px solid #4C4C4C;
    border-radius: 5px;
    padding: 5px 20px;
}

.popup-container {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(239, 239, 239, 0.8);
}

@-moz-keyframes animationPopupBody {
    from {
        opacity: 0;
        top: -110px;
    }
    to {
        opacity: 1;
        top: 0;
    }
}

@-webkit-keyframes animationPopupBody {
    from {
        opacity: 0;
        top: -110px;
    }
    to {
        opacity: 1;
        top: 0;
    }
}

.popup-body {
    background-color: #ffffff;
    width: 480px;
    padding: 5px;
    position: relative;
    margin: 110px auto;
    left: 0;
    -moz-animation: animationPopupBody 0.4s 1;
    -webkit-animation: animationPopupBody 0.4s 1;
    animation: animationPopupBody 1s 1;
}

.popup-header h3 {
    display: inline-block;
    margin: 0;
}

.popup-header .close-button {
    float: right;
    width: 18px;
    height: 18px;
    margin-top: 15px;
    background: url('/images/ui-icons_222222_256x240.png') no-repeat -96px -127px #ffffff;
}

.popup-header .close-button:hover {
    cursor: pointer;
}

@-moz-keyframes animationPopupShow {
    from {
        opacity: 0;
        top: 60px
    }
    to {
        opacity: 1;
        top: 50px
    }
}

@-webkit-keyframes animationPopupShow {
    from {
        opacity: 0;
        top: 60px
    }
    to {
        opacity: 1;
        top: 50px
    }
}

@keyframes animationPopupShow {
    from {
        opacity: 0;
        top: 60px
    }
    to {
        opacity: 1;
        top: 50px
    }
}

.popup-select__item {
    list-style: none;
}

.popup-select__item .link {
    color: white;
}

.popup-select {
    position: relative;
    padding: 20px;
    margin-top: 10px;
}

.popup-select.selected .user-menu {
    display: block;
    z-index: 100;
    -moz-animation: animationPopupShow 0.4s 1;
    -webkit-animation: animationPopupShow 0.4s 1;
    animation: animationPopupShow 1s 1;
}

.popup-select.selected .user-menu:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    top: -5px;
    left: 50%;
    margin-left: -6px;
    background: black;
    position: absolute;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    clip: rect(-6px, 10px, 10px, -6px);
    border: 1px solid #4C4C4C;
}

.popup-select .popup-select__button:after {
    content: '';
    display: block;
    background: white;
    position: absolute;
    right: 0;
    border: 5px solid;
    border-color: #4C4C4C #4C4C4C white #4C4C4C;
    top: 22px;
}

.popup-select.selected .popup-select__button:after {
    border-color: white #4C4C4C #4C4C4C #4C4C4C;
    top: 27px;
}

.popup-select__button {
    color: white;
    cursor: pointer;
}

.popup-select__button:hover {
    text-decoration: underline;
}

.page-main-menu {
    width: 16%;
    float: left;
    display: inline-block;
    margin: 20px 0;
}

#main-menu {
    width: 100%;
}

.main-menu {
    margin: 0;
    padding: 10px;
}

.main-menu-item {
    list-style: none;
}

.main-menu-item .main-menu-title {
    background: #E8E8E8;
}

.sub-menu {
    padding: 0;
    margin: 0;
}

.sub-menu-item {
    list-style: none;
    padding: 10px;
}

.sub-menu-item .link {
    color: #0389CD;
    text-decoration: none;
}

.page-content {
    width: 84%;
    margin: 20px auto;
}

@media (max-width: 1380px) {
    .page-content {
        width: 100%;
        float: none;
    }

    .page-main-menu {
        width: 100%;
        float: none;

    }
}

.page-body {
    /*display: inline-block;*/
    padding-top: 80px;
    width: 100%;
    /*position: relative;*/
    /*padding-top: 10px;*/
}

.backward {
    position: absolute;
    left: 10px;
}

th > span.link {
    position: relative;
}

[data-order="asc"]:after {
    content: '';
    position: absolute;
    top: 57%;
    right: -12px;
    margin-top: -2px;
    width: 0;
    height: 0;
    pointer-events: none;
    cursor: default;
    border: 5px solid transparent;
    border-top: 1px solid blue;
    border-width: 5px 4px 0;
}

[data-order="desc"]:after {
    content: '';
    position: absolute;
    top: 57%;
    right: -12px;
    margin-top: -2px;
    width: 0;
    height: 0;
    pointer-events: none;
    cursor: default;
    border: 5px solid transparent;
    border-bottom: 1px solid blue;
    border-width: 0 4px 5px;
}

.display-none {
    display: none;
}

.avatar {
    width: 250px;
    height: 250px;
    height: 250px;
    float: left;
    background: aliceblue;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}

.avatar.error {
    background: red;
}

.avatar.hover {
    background: azure;
}

.info-text {
    position: absolute;
    top: 0;
}

.user-img {
    max-width: 100%;
}

.upload-progress {
    width: 100%;
    position: relative;
}

.upload-progress .progress {
    width: 100%;
    position: absolute;
    top: 250px;
}

.user-info {
    float: left;
    width: 500px;
    margin-left: 20px;
}

.user-info > input {
    width: 100%;
}

.user-profile {
    margin: 30px;
}

.table-list {
    width: 100%;
    padding: 20px;
}

.resource-table {
    padding: 20px;
}

.link {
    color: blue;
}

.link:hover {
    cursor: pointer;
    text-decoration: underline;
}

.page-content__wrapper {
    padding: 10px;
    position: relative;
}

.popup {
    position: absolute;
    left: 50%;
    z-index: 1000;
}

.form {
    background: white;
    margin-bottom: 0;
    margin-top: 20px;
}

.page-sizer__item {
    list-style: none;
    float: left;
    padding: 5px;
    margin-right: 10px;
    color: blue;
    text-decoration: underline;
}

.page-sizer__item.selected {
    text-decoration: none;
}

.page-sizer__item.selected:hover {
    cursor: text;
}

.page-sizer__item:hover {
    cursor: pointer;
}

#pagination {
    display: inline-block;
    width: 100%;
    margin-top: 45px;
}

.page-sizer {
    margin-left: 20px;
    display: inline-block;
}

.pager {
    float: right;
    margin: 0;
    margin-right: 20px;
}

.page-sizer__list {
    display: inline-block;
    margin: 0;
    float: right;
    margin-top: -5px;
}

.pager__list {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.pager__item {
    list-style: none;
    display: inline-block;
    padding: 5px;
    margin-right: 10px;
    color: blue;
    text-decoration: underline;
}

.popup__content .btn-container {
    width: 100%;
    padding: 15px 0;
    padding-bottom: 10px;
    border-top: 1px solid #DDDDDD;
}

.popup__content .btn-container .button {
    float: right;
    margin-right: 10px;
    border-radius: 0;
    color: #0073EA;
}

.popup__content .btn-container .button:first-child {
    margin-right: 30px;
}

.pager__item:hover {
    cursor: pointer;
}

.pager__item.selected {
    text-decoration: none;
}

.pager__item.selected:hover {
    cursor: text;
}

.pager__next, .pager__prev {
    color: #bbb;
}

.pager__next:hover, .pager__prev:hover {
    cursor: pointer;
}

.pseudo {
    margin-right: 10px;
    color: blue;
    text-decoration: underline;
}

.pseudo:hover {
    cursor: pointer;
}

.success {
    border: 1px solid green;
}

.fail {
    border: 1px solid red;
}

.overlay {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    display: none;
    z-index: 101;
}

@-webkit-keyframes alert-hide {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    99% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes alert-hide {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    99% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes alert-hide {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    99% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
    }
}

.table-container .errors.alert.alert-error, .table-container .errors.alert.alert-success {
    -webkit-animation: alert-hide 5s 1;
    -moz-animation: alert-hide 5s 1;
    animation: alert-hide 5s 1;
    opacity: 0;
    margin-bottom: 0;
}

.resources-list__daysCounter {
    min-width: 112px;
}

tr.orange > td {
    background-color: rgb(250, 223, 168);
}

tr.red > td {
    background-color: rgb(255, 160, 155);
}

tr.yellow > td {
    background-color: rgb(255, 255, 180);
}

tr.green > td {
    background-color: rgb(223, 240, 216);
}

.choiceForm {
    width: 100%;
    margin-top: 10px;
}

.change-fields-items {
    border-bottom: 1px solid #EEEEEE;
    margin: 0;
}

.change-fields-items > li {
    list-style: none;
}

.change-field-content .success, .change-field-content .fail {
    border: none;
    position: relative;
}

.change-field-content .success:after, .change-field-content .fail:after {
    position: absolute;
    content: '';
    margin-left: 20px;
    margin-top: 1px;
    width: 15px;
    height: 15px;
}

.change-field-content .success:after {
    background: url('/images/ui-icons_4b8e0b_256x240.png') no-repeat -65px -145px;
}

.change-field-content .fail:after {
    background: url('/images/ui-icons_a83300_256x240.png') no-repeat -100px -130px;
}

.resource-change-fields-popup > .popup-body {
    background-color: #B4B4B4;
}

.popup-footer {
    margin-top: 5px;
}

.resource-list {
    font-size: 14px;
}

.control-group .help-inline {
    display: none;
}

.control-group.success {
    border: none;
}

.control-group.success .help-inline, .control-group.error .help-inline {
    display: inline-block;
}

.map-container {
    position: fixed;
    width: 100%;
    height: 100%;
}

.map-content {
    position: relative;
    min-width: 400px;
    padding: 15px 0;
    width: 20%;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.5);
    margin-left: 50px;
    z-index: 100;
}

ul#items-container {
    margin: 0;
}

.geozone-item {
    position: relative;
    margin: 0 15px;
    padding: 5px 10px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.geozone-change {
    /*position: absolute;*/
    /*right: 0;*/
    /*top: 0;*/
    /*margin-right: 10px;*/
    /*margin-top: 15px;*/
}

.map-controls_container {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    margin-top: 125px;
    margin-right: 10px;
}

@-webkit-keyframes settingsShow {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

@-moz-keyframes settingsShow {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

@-o-keyframes settingsShow {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

@keyframes settingsShow {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

.map-controls_items {
    list-style: none;
    padding: 10px;
    background: white;
    width: 240px;
    display: none;
    opacity: 0;
    margin: 0;
}

.map-controls_container .map-controls_items.map-controls_show {
    display: block;
    -webkit-animation: settingsShow 0.4s 1;
    -o-animation: settingsShow 0.4s 1;
    -moz-animation: settingsShow 0.4s 1;
    animation: settingsShow 0.4s 1;
    opacity: 1;
    margin-top: 0;
}

.map-controls_container .map-controls_btn.map-controls_show {
    display: none;
}

.map-controls_btn:hover {
    cursor: pointer;
}

.map-controls_btn-close {
    position: absolute;
    width: 18px;
    height: 18px;
    margin-top: 12px;
    background: url('/images/ui-icons_222222_256x240.png') no-repeat -96px -127px #ffffff;
    top: 0;
    right: 0;
}

.map-controls_btn-close:hover {
    cursor: pointer;
}

.map-controls_btn {
    width: 30px;
    height: 30px;
    float: right;
    background-image: url("/images/gear.png");
    background-size: contain;
}

.geozone-item_propertys {
    width: 100%;
    display: inline-block;
    margin-bottom: 15px;
}

.map-controls_modify_options {
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
}

.map-controls_modify-controls {
    position: absolute;
    z-index: 201;
    top: 0;
    margin-top: 90px;
    right: 0;
    margin-right: 46px;
}

.modify {
    z-index: 200;
}

.map-controls_draw-form {
    width: 100%;
    position: relative;
}

.map-controls_draw-form > form {
    margin: 0;
    padding: 10px;
}

.map-controls_draw-form > button {
    width: 100%;
}

.add-geozone {
    width: 100%;
}

.sp-edit {
    float: right;
    display: block;
    width: 15px;
    height: 15px;
    margin-left: 5px;
    background: url('/images/edit-icon.svg') no-repeat;
    background-position: center;
    background-size: contain;
}

.sp-modify {
    background: url('/images/modify-geozone.svg') no-repeat;
    background-position: center;
    background-size: contain;
}

.sp-visible {
    background: url('/images/visible.svg') no-repeat;
    background-position: center;
    background-size: contain;
}

.sp-visible.on {
    background: url('/images/visible-on.svg') no-repeat;
    background-position: center;
    background-size: contain;
}

.sp-modify.on {
    background: url('/images/modify-geozone-on.svg') no-repeat;
    background-position: center;
    background-size: contain;
}

.geozones-item_btn-container {
    /*display: inline-block;*/
    /*width: 100%;*/
    float: right;
}

.sp-edit:hover {
    cursor: pointer;
}

input[type="number"].display-none {
    display: none;
}

.display-none {
    display: none;
}

.items-container {

}
