@import url('fonts/pt-sans.css');
@import url('amf_styles.css');

@media print {
    #main_wrap {
        width: 100%;
    }

    #head,
    #breadcrumbs,
    .bg,
    .push,
    #footer,
    #ionsot_report_controls,
    .report_export,
    #basic_content>h1,
    #tab-content>h3,
    .ui-tabs-nav {
        display: none !important;
    }

    #content .main-wrap,
    .ui-widget-content {
        border: none !important;
    }

    #tab-content {
        margin: 0px;
        padding: 0px;
    }

    #ionsot_report_area {}
}

@page :first {
    margin: 10px;
    /* Отступы для первой страницы */
}

@page :left {
    margin: 10px;
    /* Отступы для всех левых страниц */
}

@page :right {
    margin: 10px;
    /* Отступы для всех правых страниц */
}

* {
    font-family: "PT Sans", Arial, sans-serif;
    font-size: 11pt;
}

html,
body {
    height: 98%;
}

html body>#min_height {
    float: left;
    height: 100%;
    overflow: hidden;
    width: 0px;
}

body {
    background: #FFFFFF;
    /* 	color: #000000; */
    color: #4A4A4A;

    font-family: "PT Sans", Arial, sans-serif;
    margin: 0;
    padding: 0;

    font-size: 100%;
}

h1 {
    /* 	font-size: 18px; */
    font-size: 150%;
}

h2 {
    /* 	font-size: 16px; */
    font-size: 130%;
}

h3 {
    /* 	font-size: 14px; */
    font-size: 110%;
}

h4 {
    /* 	font-size: 12px; */
    font-size: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: "PT Sans Caption", sans-serif;
    /* 	font-family: "PT Serif Caption", sans-serif; */
    font-weight: bold;
    margin: 0px 0px 5px 0px;
}

a {
    color: #544D83 !important;
}

a.amf_sorting_active {
    color: #E15C2B !important;
    font-weight: bold;
}

a.amf_active {
    color: #E17009 !important;
    text-decoration: none;
    font-weight: bold;
}

a.no_underline {
    text-decoration: none;
}

.clear {
    clear: both;
    float: none;
}

.button,
button,
input[type=button],
input[type=submit] {
    font-size: 100%;
    background: #AACCFF;

    height: 25px;
    min-width: 80px;

    border: 1px solid #3180f5;

    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;

    text-decoration: none;
    padding: 3px 5px;
}

.button.button-small,
small input[type=button],
small input[type=submit] {
    font-size: 80%;
    background: #AACCFF;

    height: 20px;
    min-width: 60px;
    padding: 2px 3px;
}

.button.green,
input[type=button].green,
input[type=submit].green {
    background: #009d07;
    border: 1px solid #005a07;
    color: #ffffff !important;
}

table[border] {
    border-style: outset;
    border-color: #EEEEEE;
}

table[border] td,
table[border] th {
    border-style: inset;
    border-color: #EEEEEE;
}

td,
th {
    vertical-align: top;
    /* 	text-align: left; */
}

small,
sup,
sub,
small a {
    font-size: 85%;
}

pre {
    font-family: monospace;
    white-space: pre;

    overflow: auto;
}

#main_wrap {
    height: auto !important;
    min-height: 100%;
    min-width: 960px;
    overflow: hidden;
    position: relative;
}

#head {
    position: relative;
    width: 100%;
    height: auto;
    background: #EEEEEE;
    color: #363636;
    border-bottom: 1px solid #A6A6A6;
    overflow: hidden;
    /* Або overflow: auto; */
}

#head h1 {
    margin: 0px;
}

#head .name {
    position: absolute;
    padding: 20px 20px 0px 10px;
}

#head .user_panel {
    position: relative;
    top: 0px;
    right: 0px;
    padding: 10px;
    background: #E3E8FD;
    border: 1px solid #84B9D0;
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    z-index: 20;
    float: right;
    clear: both;
    width: auto;
    display: block;
}

#head .main-wrap {
    padding: 0px 20px;
}

#breadcrumbs {
    /* 	width: 100%; */
    height: 25px;
    line-height: 25px;

    padding: 0px 10px;

    background: #F4F4F4;

    border-bottom: 1px solid #A6A6A6;
}

#content {
    width: 100%;
    /* 	height: 100px; */
}

#content .main-wrap {

    padding: 20px 20px;

    background: #FFFFFF;
}

#content .bg {
    position: absolute;
    background: url('../img/login-bg.png') repeat;

    width: 100%;
    height: 100%;

    top: 0px;
    left: 0px;

    z-index: -5;
    /* 	margin-left */
}

.push {
    height: 70px;
}

#footer {
    width: 100%;

    height: 50px;

    padding: 0px;
    margin: -52px 0px 0px 0px;

    /* 	position: relative; */

    background: #FFFFFF;
    border-top: 2px solid #95bdff;
}

#footer .main-wrap {
    padding: 10px 20px;
}

.main-wrap {

    max-width: 1680px;
    min-width: 960px;

    height: 100%;

    margin: 0% auto;

    position: relative;
}

#top-menu {
    margin: 38px auto 7px auto;
    max-width: 1715px;
}

.user_panel #error_message {
    background-color: #FFB6AF;
    padding: 1px 0 1px 10px;
    border-radius: 10px;
    margin-top: 10px;
}

.user_panel #error_message p {
    margin: 5px 0;
}

#myBtn {
    position: fixed;
    /* Фіксоване положення на сторінці */
    bottom: 20px;
    /* Відступ від нижнього краю */
    right: 30px;
    /* Відступ від правого краю */
    z-index: 99;
    /* Забезпечує відображення над іншими елементами */
    border: none;
    /* Прибирає рамку */
    outline: none;
    /* Прибирає обведення при фокусі */
    background-color: #96D380;
    /* Колір фону */
    color: white;
    /* Колір тексту */
    cursor: pointer;
    /* Змінює курсор на вказівник */
    padding: 15px;
    /* Внутрішні відступи */
    border-radius: 10px;
    /* Заокруглені кути */
    opacity: 0;
    /* Робить кнопку невидимою спочатку */
}

#myBtn:hover {
    background-color: #555;
    /* Зміна кольору фону при наведенні */
}

#selecting_objects {
    margin-left: 10px;
}

#search-panel {
    right: 10px;
    bottom: 10px;
    position: absolute;
}

.datetime {
    border: 1px solid #A1A1A1;
    background: #FFFFFF;
}

.gray {
    color: #A1A1A1;
}

tr.row_error td {
    background: #FFB6AF;
}

td.no_signals {
    background: #FFFFFF !important;
}

td.has_signals {
    background: #FFB6AF !important;
}

/* Pagination */
.az_pagination {
    width: 100%;
    border: 0px;
    border-top: 1px solid #9F9F9F;
    border-bottom: 1px solid #9F9F9F;

    margin: 20px 0;
    padding: 10px 0;
}

.az_pagination .az_pagination_prev,
.az_pagination .az_pagination_next {
    width: 50px;
    min-width: 50px;
    white-space: nowrap !important;
}

.az_pagination .az_pagination_prev {
    text-align: left;
}

.az_pagination .az_pagination_next {
    text-align: right;
}

.az_pagination .az_pagination_page {
    text-align: center;
    width: auto;
}

.az_pagination .az_pagination_entries,
.az_pagination .az_pagination_per_page_caption {
    text-align: left;
    width: 1px;
    white-space: nowrap;
}

.az_pagination .az_pagination_per_page {
    width: 30%;
}

.az_pagination .az_pagination_per_page .az_pagination_per_page_selector {
    display: inline;
    padding: 10px 0px;
    /* 	position: relative; */
}

.az_pagination .az_pagination_per_page .az_pagination_per_page_selector .az_pagination_per_page_wrap {
    position: absolute;
    padding: 2px 5px;
    margin-top: -1px;

    text-align: center;
    list-style: none;
}

.az_pagination .az_hidden a,
.az_pagination .az_pagination_per_page .az_pagination_per_page_selector:hover a,
.az_pagination .az_pagination_per_page .az_pagination_per_page_selector .az_pagination_per_page_wrap:hover a {
    display: block;
    margin-bottom: 2px;
}

.az_pagination .az_pagination_per_page .az_pagination_per_page_selector:hover .az_pagination_per_page_wrap {
    background: #FFFFFF;
    border: 1px solid #989898;
}

.az_pagination .az_pagination_per_page .az_pagination_per_page_selector a {
    display: none;
}

.az_pagination .az_pagination_per_page .az_pagination_per_page_selector a.amf_active {
    display: inline;
}

.az_pagination .az_pagination_end {
    width: 2px;
}

.az_pagination .az_fold_mark {
    position: relative;
}

.az_pagination .az_fold_mark:hover .az_hidden {
    display: block;
}

.az_pagination .az_hidden {
    position: absolute;
    display: none;

    background: #FFFFFF;
    border: 1px solid #989898;

    padding: 5px 8px;
    height: 200px;
    overflow-y: scroll;

    bottom: 0px;

    text-align: left;
}

/* EO Pagination */

/* Login form */
.login_form {
    text-align: center;
    /*	width: 400px;
        height: 300px;
        margin: 0% auto;

        padding: 40px 10px 10px 10px;

        background: #FFFFFF;

        border: 5px solid #95bdff;

        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
    */

}

.login_form h1 {
    margin-bottom: 10px;
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: #E17009 !important;
    text-decoration: none;
}

li.ui-state-default.ui-corner-top.amf_active {
    margin-bottom: -1px;
    padding-bottom: 1px;
    cursor: text;
}

label.signal_on {
    font-family: monospace;
    font-size: 110%;
    font-weight: bold;
}

div.last_data_entry {
    float: left;
    width: 50%;

    white-space: nowrap;
}

td.signal_out {
    background: #2EFFA4 !important;
}

.row_error td.signal_out {
    background: #FFC096 !important;
}

#amf_wait {
    /*display: none;*/

    position: absolute;

    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.85);
    z-index: 9099;
}

#amf_wait>div {
    position: absolute;

    top: 45%;
    width: 200px;
    left: 50%;
    margin-left: -100px;

    text-align: center;

    background: rgba(255, 255, 255, 1);
}

td.overview-group {
    /* Something you can count on */
    height: 140px;
    white-space: nowrap;
    vertical-align: bottom;
}

td.overview-group>div {
    transform: translate(5px, 0px) rotate(-90deg);

    width: 30px;
}

td.overview-group>div>span {
    padding: 5px 10px;
}

.channels-group-1 {
    background-color: #f8dfc4;
}

.channels-group-2 {
    background-color: #fde5c7;
}

.channels-group-3 {
    background-color: #fbe2c6;
}

.channels-group-4 {
    background-color: #ffe8c9;
}

.channels-group-5 {
    background-color: #eaccba;
}


.channels-group-6 {
    background-color: #f4d8c1;
}

.channels-group-7 {
    background-color: #f1d5bf;
}

.channels-group-8 {
    background-color: #efd2bd;
}

.channels-group-9 {
    background-color: #edcfbb;
}

.channels-group-10 {
    background-color: #f6dcc2;
}

.float-right {
    float: right;
    clear-after: both;
}


.text-center {
    text-align: center;
}

.margin-top {
    margin-top: 1em;
}

.padding-top {
    padding-top: 1em;
}

table.table,
table.table td,
table.table th {
    border: 1px solid #989898;
    border-collapse: collapse;
    padding: 5px;
    vertical-align: top;
}

table.table-borderless,
table.table-borderless td,
table.table-borderless th {
    border: none !important;
}

.table.table_data {
    width: 100%;
}

.table.table_additional {
    width: 50%;
}