/*! HTML5 Boilerplate v5 | MIT License | https://html5boilerplate.com/ */
/* ============== Base styles: opinionated defaults
   ========================================================================== */
/*
 * Remove text-shadow in selection highlight:
 * Customize the background color to match your design.
 */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
/* A better looking default horizontal rule */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers
 */
audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}
/* Remove default fieldset styles. */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/* Allow only vertical resizing of textareas. */
textarea {
    resize: vertical;
}
/* ============== СТИЛИ ВСЕЙ СТРАНИЦЫ И ГЛОБАЛЬНЫЕ
   ========================================================================== */
/* Верный resize текста на мобильных устройствах. Если это свойство понадобится, можно писать с !important;  */
* {
    max-height: 999999px;
}
html {
    color: #222222;
    font: 18px/1.35 Arial, sans-serif;
    background: #f5f5f5;
}
button, input, textarea {
    font-family: Arial, sans-serif;
}
.placeholder {
    color: #a9a9a9;
}
:-ms-input-placeholder {
    color: #a9a9a9;
}
:-moz-placeholder {
    color: #a9a9a9;
    opacity: 1;
}
::-moz-placeholder {
    color: #a9a9a9;
    opacity: 1;
}
::-webkit-input-placeholder {
    color: #a9a9a9;
}
/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */
.html-login * {
    line-height: 1.2;
    margin: 0;
}
.html-login {
    color: #888888;
    display: table;
    font-family: sans-serif;
    height: 100%;
    text-align: center;
    width: 100%;
}
.admin-login {
    display: table-cell;
    vertical-align: middle;
    margin: 2em auto;
}
.html-login h1 {
    color: #555555;
    font-size: 2em;
    font-weight: 400;
}
.html-login p {
    margin: 0 auto;
    width: 280px;
}
.login__label {
    display: inline-block;
    text-align: left;
    width: 67px;
}
.g-link {
    color: #2a62bc;
    cursor: pointer;
    text-decoration: underline;
}
/* ========== MAIN CLASSES
   ========================================================================== */
.g-jqgrid {
    width: 100%;
}
.i-hidden {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
.admin__left {
    position: absolute;
    top: 10px;
    left: 254px;
}
.admin__right {
    position: absolute;
    top: 5px;
    right: 8px;
}
.admin__userName, .admin__exit {
    vertical-align: middle;
}
.ui-tabs {
    /*background: url(../img/pattern.jpg) 0 0 repeat;*/
}
.g-tabs-hide {
    position: absolute;
    bottom: 5px;
    left: 0;
    font-size: 40px;
    padding: 20px 15px;
    cursor: pointer;
    z-index: 999;
}
.main > .ui-tabs-panel {
    min-height: calc(100vh - 100px);
    box-sizing: border-box;
}
.g-tabs-loading {
    padding: 24px 16px;
    color: #666666;
    font-size: 16px;
}
.jqGridFormImgContainer {
}
.jqGridFormImgContainer__wrap {
    display: inline-block;
    margin: 0 5px 10px 0;
    position: relative;
    vertical-align: middle;
}
.jqGridFormImgContainer__del {
    background: #ffffff;
    -webkit-border-radius: 50% 50%;
    -moz-border-radius: 50% 50%;
    border-radius: 50% 50%;
    border: 3px solid #357ad8;
    color: #990000;
    font-weight: bold;
    padding: 3px 10px;
    position: absolute;
    right: -5px;
    top: -10px;
    cursor: pointer;
}
.jqGridFormImgContainer__del:hover {
    background: #cccccc;
}
.jqGridFormImgContainer__img {
    cursor: pointer;
    display: block;
    min-height: 100px;
    min-width: 100px;
    max-width: 200px;
    max-height: 100px;
    border: 4px solid #bbbbbb;
}
.g-mapInput {
    width: 600px;
}
.g-mapYandex {
    height: 400px;
    width: 640px;
}
.g-mapShowHide {
    display: block;
    margin: 5px 0;
}
/* ========== InTOP Helper classes
   ========================================================================== */
.g-mb0 {
    margin-bottom: 0;
}
.g-mb10 {
    margin-bottom: 10px;
}
.g-mb30 {
    margin-bottom: 30px;
}
.g-mt0 {
    margin-top: 0;
}
.g-mt10 {
    margin-top: 10px;
}
.g-mt30 {
    margin-top: 30px;
}
.g-vab {
    vertical-align: bottom;
}
.g-vam {
    vertical-align: middle;
}
.g-vat {
    vertical-align: top;
}
.g-tal {
    text-align: left;
}
.g-tac {
    text-align: center;
}
.g-tar {
    text-align: right;
}
.g-wsnw {
    white-space: nowrap;
}
.g-cWhite, .g-cWhite .g-link {
    color: #ffffff;
}
.g-hidden {
    display: none !important;
}
.g-clearfix:before,
.g-clearfix:after {
    content: " ";
    display: table;
}
.g-clearfix:after {
    clear: both;
}
.g-ib {
    display: -moz-inline-stack;
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
}
.g-centerer {
    display: -moz-inline-stack;
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 100%;
    vertical-align: middle;
    width: 0;
}
.g-centered {
    display: -moz-inline-stack;
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
}