html,
button,
input,
select,
textarea {
    color: #000;
}

body {
    width: 100%;
    font-family: "MyriadPro", sans-serif !important;
    font-size: 12px;
    line-height: 1.4;
    background: #e6e6e6 !important;
    margin: 0 !important;
}

body.noscroll {
    overflow: hidden !important;
}

body.fullbg,
body.noscroll.fullbg {
    background: url('../../images/login_bg_2.jpg') no-repeat center center fixed !important;
    background-color: #999;
    background-size: cover !important;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

a {
    color: #519DD3;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.dtp {
    width: 182px;
    margin-right: 4px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.tcenter {
    text-align: center;
}

.tcenteri {
    text-align: center !important;
}

.fs20 {
    font-size: 20px;
}

.tleft {
    text-align: left;
}

.tlefti {
    text-align: left !important;
}

.tright {
    text-align: right;
}

.trighti {
    text-align: right !important;
}

.tbold {
    font-weight: bold;
}

.w103i {
    width: 103px !important;
}

.w100 {
    width: 100%;
}

.w100pi {
    width: 100% !important;
}

.w99 {
    width: 99%;
}

.w90p {
    width: 90%;
}

.w90pi {
    width: 90% !important;
}

.w28p {
    width: 28%;
}

.w28pi {
    width: 28% !important;
}

.npl {
    padding-left: 0 !important;
}

.p10 {
    padding: 10px;
}

.p10i {
    padding: 10px !important;
}

.p5 {
    padding: 5px;
}

.p5i {
    padding: 5px !important;
}

.pt5 {
    padding-top: 5px;
}

.pt5i {
    padding-top: 5px !important;
}

.pt10 {
    padding-top: 10px;
}

.pt10i {
    padding-top: 10px !important;
}

.pt50 {
    padding-top: 50px;
}

.pt50i {
    padding-top: 50px !important;
}

.pr5 {
    padding-right: 5px;
}

.pr5i {
    padding-right: 5px !important;
}

.pr10 {
    padding-right: 10px;
}

.pr10i {
    padding-right: 10px !important;
}

.pb5 {
    padding-bottom: 5px;
}

.pb5i {
    padding-bottom: 5px !important;
}

.pb10 {
    padding-bottom: 10px;
}

.pb10i {
    padding-bottom: 10px !important;
}

.pl5 {
    padding-left: 5px;
}

.pl5i {
    padding-left: 5px !important;
}

.pl10 {
    padding-left: 10px;
}

.pl10i {
    padding-left: 10px !important;
}

.plr10p {
    padding-left: 10px;
    padding-right: 10px;
}

.m10 {
    margin: 10px;
}

.m10i {
    margin: 10px !important;
}

.m5 {
    margin: 5px;
}

.m5i {
    margin: 5px !important;
}

.mt-4i {
    margin-top: -4px !important;
}

.mt5 {
    margin-top: 5px;
}

.mt5i {
    margin-top: 5px !important;
}

.mt10 {
    margin-top: 10px;
}

.mt10i {
    margin-top: 10px !important;
}

.mt20 {
    margin-top: 20px;
}

.mt20i {
    margin-top: 20px !important;
}

.mr5 {
    margin-right: 5px;
}

.mr5i {
    margin-right: 5px !important;
}

.mr10 {
    margin-right: 10px;
}

.mr10i {
    margin-right: 10px !important;
}

.mb5 {
    margin-bottom: 5px;
}

.mb5i {
    margin-bottom: 5px !important;
}

.mb10 {
    margin-bottom: 10px;
}

.mb10i {
    margin-bottom: 10px !important;
}

.ml5 {
    margin-left: 5px;
}

.ml5i {
    margin-left: 5px !important;
}

.ml10 {
    margin-left: 10px;
}

.ml10i {
    margin-left: 10px !important;
}

.mlr10p {
    margin-left: 10px;
    margin-right: 10px;
}

.ml4 {
    margin-left: 4px;
}

.ml4i {
    margin-left: 4px !important;
}

.mt8 {
    margin-top: 8px;
}

.mcenter {
    margin: 0 auto;
}

.no-margin {
    margin: 0 0 0 0 !important;
}

.left-order {
    float: left;
    margin-right: 5px;
}

.right-order {
    float: right;
    margin-left: 5px;
}

.noclick {
    cursor: default !important;
    pointer-events: none !important;
    opacity: .4;
}

.v-middle {
    vertical-align: middle !important;
}

.bg-whitei {
    background-color: #fff !important;
}

.no-border {
    border: none !important;
}

.vtop {
    vertical-align: top;
}

.color-sample {
    font-weight: 200;
    text-shadow: 1px 1px #000000;
    text-align: center;
    color: #fff;
    width: 72px;
    height: 30px;
    padding: 6px;
}

.whitebox {
    width: 98%;
    min-height: 20px;
    padding: 20px;
    margin: 1% auto;
    background-color: #fff;
}

.whitebox > h5 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

#fullbody-overlay {
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(0, 0, 0, .72);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

div.dtp input,
div.dtp span.input-group-addon {
    height: 32px !important;
    border-color: #aaa;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

h3.desktop-title {
    font-size: 20px;
    text-align: center;
    color: #000;
    width: 100%;
    height: 30px;
    background-color: #C6C5CD;
    padding: 10px;
    margin-top: 0px;
}

.msg-box {
    font-size: 18px;
    text-align: center;
    width: 100%;
    min-height: 20px;
    padding: 10px;
    margin: 0 auto;
}

.error-msg {
    color: #fa2121;
    background-color: #ffcccc;
}

.success-msg {
    color: #0fc162;
    background-color: #c3ffde;
}

.flash-message-box {
    width: 100%;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;

    display: none;
}

.flash-message-box.overlay {
    background-color: rgba(0, 0, 0, 0.60);
}

.flash-message {
    font-size: 24px;
    text-align: center;
    color: #122340;
    width: 100px;
    height: 100px;
    padding: 14px 10px 10px 10px;
    margin: 100px auto;
    border: 14px solid #FCD4A5;
    background-color: #F49536;
    background-image: url('../../images/buttons/btn_fomenu_checklists.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: none;
}

.flash-message.fixed {
    position: fixed;
    top: 42%;
    left: 46%;
    margin: 0;
    padding: 16px 0 0 0;
}

ul.tree {
    width: 360px;
    padding: 0;
    list-style: none;
}

ul.tree li {
    background-color: #eee;
}

ul.tree li:nth-child(2n) {
    background-color: #fefefe;
}

ul.tree > li:last-child {
    font-weight: bold;
    list-style: none;
    border-top: 1px solid #aaa;
    background-color: transparent;
}

h3.success {
    background-color: rgba(105, 255, 82, 0.24) !important;
}

h3.fail {
    background-color: rgba(255, 93, 86, 0.24) !important;
}

/* ==========================================================================
   Error console
   ========================================================================== */
div#error_console_toggle {
    width: 22px;
    height: 22px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 1px;
    background-color: #a44545;
    border: 2px solid #6e2626;
    position: fixed;
    bottom: 4px;
    left: 0px;
}

div#error_console_toggle:hover {
    cursor: pointer;
    background-color: #c86161;
}

div#error_console {
    width: 100%;
    height: 0px;
    border-top: 4px solid #696c6e;
    background-color: #393939;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    overflow-y: scroll;
}

div#error_console table {
    width: 100%;
}

div#error_console table tbody tr td {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
    font-size: 12px;
    color: #74ABD7;
    padding: 2px 5px;
    border-bottom: 1px solid #aaa;
}

div#error_console table tbody tr td span.error_number {
    color: #63D779;
}

div#error_console table tbody tr td span.error_line {
    color: #F77FC5;
}

div#error_console table tbody tr td span.error_file {
    color: #74ABD7;
}

div#error_console table tbody tr td.error_message {
}

div#error_console table tbody tr.error td span.error_type,
div#error_console table tbody tr.error td span.error_message {
    color: #E3776A;
}

div#error_console table tbody tr.warning td span.error_type,
div#error_console table tbody tr.warning td span.error_message {
    color: #839A28;
}

div#error_console table tbody tr.notice td span.error_type,
div#error_console table tbody tr.notice td span.error_message {
    color: #A6B6BD;
}

div#error_console table tbody tr.unknown td span.error_type,
div#error_console table tbody tr.unknown td span.error_message {
    color: #d9de83;
}

/* ==========================================================================
   Site: device selection form
   ========================================================================== */
.select_device_form_holder {
    width: 98%;
    min-height: 40px;
    margin: 0 auto;
}

.select_device_form_holder form {
    width: 96%;
    min-height: 10px;
    margin: 20px auto 0 auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #999;
}

#select_device_table {
    width: 100%;
    border-collapse: collapse;
}

#select_device_table tr td {
    font-size: 16px;
    padding: 10px 0;
}

#select_device_table tr td label {
    font-size: 16px;
    padding-right: 10px;
}

#select_device_table tr td input[type="checkbox"] {
    width: 26px;
    height: 26px;
    font-size: 16px;
    padding: 6px 6px;
    float: right;
}

#select_device_table tr td select,
#select_device_table tr td span.select2 {
    float: right;
}

/* ==========================================================================
   Password change
   ========================================================================== */
.change_password_form_holder {
    width: 100%;
    min-height: 200px;
    margin: 0;
}

.change_password_form_holder h2 {
    width: 100%;
    font-family: "MyriadPro", sans-serif;
    font-size: 21px;
    text-align: center;
    color: #808080;
    margin: 0 0 12px 0;
}

.change_password_form_holder input[type="password"],
.change_password_form_holder input[type="text"],
.change_password_form_holder input[type="email"] {
    font-family: "MyriadPro", sans-serif;
    font-size: 18px;
    font-weight: normal;
    width: 100%;
    padding: 7px 36px 7px 7px;
    margin: 0 0 10px 0;
    border: 1px solid #999;
    box-sizing: border-box;
}

.change_password_form_holder input[type="text"] {
    background-image: url('../../images/icons/user_icon_grey.svg');
    background-position: 247px 9px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

.change_password_form_holder input[type="password"] {
    background-image: url('../../images/icons/key_icon_grey.svg');
    background-position: 247px 9px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

/* ==========================================================================
   Main submenu
   ========================================================================== */
#main_sub_menu {
    width: 100%;
    height: 50px;
    padding: 6px 1%;
    background-color: #C6C5CD;
    position: relative;
}

#main_sub_menu #htm_span div.sub_menu_title {
    font-size: 16px;
    font-weight: bold;
    float: left;
    padding: 4px 0 0 15px;
    margin-top: 6px;
    margin-right: 20px;
    background-image: url('../../images/icons/ico_nav_nyil.svg');
    background-repeat: no-repeat;
    background-position: left center;
}

/* ==========================================================================
    Responsive parts
   ========================================================================== */
div#bottom_holder {
    width: 100%;
    height: 70px;
    background: #666;
    position: fixed;
    bottom: 0;
}

div#bottom_holder ul {
    width: 282px;
    list-style: none;
    padding: 0;
    margin: 28px auto 0 auto;
}

div#bottom_holder ul li, div#bottom_holder ul li a {
    font-size: 16px;
    font-family: "MyriadPro", sans-serif;
    font-weight: normal !important;
    text-decoration: none;
    text-align: center;
    color: #fff;
}

div#bottom_holder ul li a:hover {
    text-decoration: underline;
}

/* ==========================================================================
    Unified table
   ========================================================================== */
table.unified-table {
    border-collapse: collapse;
}

table.unified-table > thead > tr > th,
table.unified-table > tbody > tr.head-row > td {
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: left !important;
    color: #fff !important;
    vertical-align: middle;
    padding: 10px;
    background-color: #13243E !important;
    border-right: 1px solid #9CA1A7 !important;
    border-left: 1px solid #9CA1A7 !important;
}

table.unified-table > thead > tr > th:first-child,
table.unified-table > tbody > tr.head-row > td:first-child {
    border-left: none;
}

table.unified-table > thead > tr > th:last-child,
table.unified-table > tbody > tr.head-row > td:last-child {
    border-right: none;
}

table.unified-table > thead > tr > th.vertical {
    font-size: 10px !important;
    /*
    writing-mode: sideways-lr;
    text-orientation: mixed;
     */
}

table.unified-table > thead > tr.sub-head > th {
    background-color: #9CA1A7 !important;
}

table.unified-table > tbody > tr > td {
    font-size: 14px;
    text-align: left;
    color: #000;
    vertical-align: middle;
    padding: 10px;
    background-color: #FAFAFA;
    border: 1px solid #9CA1A7;
}

table.unified-table.align-text-center > thead > tr > th,
table.unified-table.align-text-center > thead > tr.sub-head > th,
table.unified-table.align-text-center > tbody > tr > td,
table.unified-table.align-text-center > tbody > tr.head-row > td {
    text-align: center !important;
}

table.unified-table:not(.assigned-for-table):not(.cell-selection) > tbody > tr:hover > td {
    background-color: #DADADA !important;
}

table.unified-table > tbody > tr.empty-row > td:hover {
    background-color: transparent !important;
}

table.unified-table.cell-selection:not(.assigned-for-table) > tbody > tr > td:not(.still-cell):hover {
    background-color: #DADADA !important;
}

table.unified-table > tbody > tr.empty-row > td:hover,
table.unified-table.empty-row-borders.w100 > tbody > tr.empty-row:hover > td {
    background-color: transparent !important;
}

table.unified-table.markable-rows > tbody > tr.marked > td {
    cursor: pointer;
    color: #272c49;
    background-color: #CFE9FC !important;
    border: 1px solid #858a90;
}

table.unified-table.markable-rows > tbody > tr:hover > td {
    cursor: pointer;
    background-color: #DEDEDE;
    border: 1px solid #61656b;
}

table.unified-table:not(.assigned-for-table) > tbody > tr:nth-child(2n) > td {
    background-color: #EFEFEF;
}

table.unified-table > tbody > tr > td.greyed-out {
    background-color: #DADADA !important;
}

table.unified-table > tbody > tr > td.free {
    background-color: #DEDEDE !important;
}

table.unified-table > tbody > tr > td:first-child {
    border-left: none;
}

table.unified-table.assigned-for-table > tbody > tr > td:first-child {
    background-color: #FAFAFA;
}

table.unified-table > tbody > tr > td.marked {
    color: #272c49;
    background-color: #CFE9FC;
}

table.unified-table > tbody > tr > td.user-has {
    background-color: #FDFCE5 !important;
}

table.unified-table > tbody > tr > td.inactive {
    background-color: #EDEAEA !important;
}

table.unified-table > tbody > tr > td:last-child {
    border-right: none;
}

table.unified-table > tbody > tr:last-child > td {
    border-bottom: none;
}

table.unified-table:not(.empty-row-borders) > tbody > tr.empty-row > td {
    background-color: transparent !important;
    border: none !important;
}

table.unified-table.empty-row-borders > tbody > tr.empty-row > td {
    background-color: transparent !important;
    border: 1px solid #9CA1A7 !important;
}

table.unified-table > tbody > tr.title > td {
    font-weight: bold;
    text-align: center;
}

table.unified-table tbody tr td a.multiple-connection-link {
    font-weight: bold;
    color: #519DD3;
}

table.unified-table.plain > tbody > tr > td {
    background-color: transparent !important;
    border: 1px solid transparent !important;
}

table.unified-table > tbody > tr.soon > td {
    background-color: rgb(255, 155, 155);
}

table.unified-table > tbody > tr.total-row > td {
    border-top-width: 2px !important;
    background-color: #D4D4D4 !important;
}

table.unified-table > tbody > tr.total-row > td.regular {
    background-color: inherit !important;
}

table.unified-table > tbody > tr.code > td,
table.unified-table > tbody > tr > td.code {
    font-family: monospace, serif;
}

table.unified-table > tbody > tr.hollow > td {
    padding: 0 !important;
}

table.basic-table {
    border-collapse: collapse;
}

table.basic-table thead tr th,
table.basic-table tbody tr td {
    padding: 5px;
}

table.basic-table.min-padding thead tr th,
table.basic-table.min-padding tbody tr td {
    padding: 1px 5px !important;
}

table.basic-table tbody tr td.title {
    font-weight: bold;
}

table.basic-table.bordered {
    border-collapse: collapse;
}

table.basic-table.bordered thead tr th,
table.basic-table.bordered tbody tr td {
    border: 1px solid #000;
}


/* ==========================================================================
    Multiple connection table
   ========================================================================== */
.multiple-connection-table {
    border: 1px solid #000;
}

.multiple-connection-table thead tr th {
    background-color: #C6C5CD;
    border: 1px solid #000;
}

.multiple-connection-table tr td {
    border: 1px solid #000;
    padding: 5px;
}

.multiple-connection-table tr td a.multiple-connection-link {
    font-weight: bold;
    color: #519DD3;
}

.span-border-hover {
    font-size: 14px;
    border: 1px solid transparent;
    -webkit-transition: background-color .2s;
    -moz-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
}

.span-bg-hover:hover {
    background-color: #ffaaaa;
    border: 1px solid #999;
}

.multiple-connections-box {
    height: 60px;
    float: left;
    overflow-y: hidden;
}

#error-code {
    font-size: 42px;
    text-align: center;
    margin: 0 auto;
}

#error-code span {
    font-weight: bold;
    background-color: #bababa;
    padding: 10px 10px 5px 10px;
}

#js-img-preview {
    position: absolute;
    border: 1px solid #ccc;
    background: #333;
    padding: 5px;
    display: none;
    color: #fff;
}

/* select2 overrides */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-radius: 0 !important;
}

.select2-container .select2-selection--single {
    height: 32px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    position: relative;
    width: 98%;
    margin-top: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice:first-child {
    margin-top: 5px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    border: none !important;
    border-radius: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    width: 92%;
    float: right;
}

.print-only {
    display: none;
}

.public-label {
    font-size: 35px;
}

@media print {
    table.unified-table.w100print {
        width: 100%;
    }

    .print-only {
        display: table-cell;
    }

    .web-only {
        display: none !important;
    }

    .page-break {
        page-break-after: always;
    }
}