/*noinspection CssUnknownTarget*/
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700&subset=latin-ext');

body, .ui-widget-content {
    font: normal 10pt 'Roboto', Arial, sans-serif;
}

.ui-tabs-panel {
    padding: 5px !important;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

input[type=submit], button, .ui-widget button {
    background: #104dcc linear-gradient(to bottom, #1048aa, #1022aa) repeat-x;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    font-size: 12px;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-image: none;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1); border-bottom-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: inline-block;
    /*line-height: 20px;*/
    margin-bottom: 0;
    padding: 4px 8px;
    text-align: center;
    vertical-align: middle;
    min-height: 30px;
}

input[type=submit]:disabled, button:disabled {
    background: #eee linear-gradient(to bottom, #ddd, #ccc) repeat-x;
}

input[type=reset] {
    background: #ff332d linear-gradient(to bottom, #ee3328, #aa3312) repeat-x;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    font-size: 12px;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-image: none;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1); border-bottom-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: inline-block;
    /*line-height: 20px;*/
    margin-bottom: 0;
    padding: 1px 8px;
    text-align: center;
    vertical-align: middle;
}

input[type=text],
input[type=checkbox],
input[type=radio] {
    margin: 2px auto !important;
    vertical-align: middle;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #c0c0c0;
    opacity: 1; /* Firefox */
}


label input[type=checkbox],
label input[type=radio] {
    float: inherit !important;
}

.radio-group label {
    font-weight: normal !important;
}

div#page {
    box-shadow: 1px 5px 25px #888888;
    margin-top: 5px;
    margin-bottom: 10px;
    background: white;
    border-radius: 15px;
    position: relative;
}

#header {
    background: #16498c;
    color: white;
    margin: 0;
    padding: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#header #image {
    background: #ffffff url("../images/bg.jpg") no-repeat top center;
    height: 180px;
}

#content {
    padding: 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
}

#footer {
    padding: 10px;
    margin: 10px 20px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #020267;
}

#logo, #logo_dev {
    height: 67px;
    line-height: 67px;
    padding: 8px 20px 8px 170px;
    font-size: 200%;
    background: url("../images/logo.png") no-repeat left center;
    margin: 0 20px;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 1020px;
    overflow: hidden;
}

#mainmenu {
    background: white url(bg.gif) repeat-x left top;
}

#mainmenu ul {
    padding: 6px 20px 5px 20px;
    margin: 0;
}

#mainmenu ul li {
    display: inline;
}

#mainmenu ul li a {
    color: #ffffff;
    background-color: transparent;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a {
    color: #E41642;
    background-color: #eff4fa;
    text-decoration: none;
}

#mainmenu .server {
    float: right;
    color: #efefef;
    padding: 6px 10px 5px 20px;
    font-style: italic;
}


div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #fbe3e4;
    color: #8a1f11;
    border-color: #fbc2c4;
}

div.flash-notice {
    background: #fff6bf;
    color: #514721;
    border-color: #ffd324;
}

div.flash-success {
    background: #e6efc2;
    color: #264409;
    border-color: #c6d880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

.form .rememberMe label {
    display: inline;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #c9e0ed;
}

div.breadcrumbs {
    font-size: 0.9em;
    padding: 5px 25px;
    background: #F5F5F5;
}

div.breadcrumbs span {
    font-weight: bold;
}

div.breadcrumbs a, div.breadcrumbs span {
    padding: 0 3px;
}

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet {
}

.portlet-decoration {
    padding: 3px 8px;
    background: #b7d6e7;
    border-left: 5px solid #6faccf;
}

.portlet-title {
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #298dcd;
}

.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background: #effdff;
}

.portlet-content ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.portlet-content li {
    padding: 2px 0 4px 0;
}

.operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations li {
    padding-bottom: 2px;
}

.operations li a {
    font: bold 12px Arial;
    color: #0066a4;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited {
    color: #0066a4;
}

.operations li a:hover {
    background: #80cfff;
}

/**************************************************************************************************/

a, .ui-widget-content a {
    text-decoration: none;
    color: #16498c;
}

.button-column a {
    text-shadow: 1px 1px rgba(255, 255, 255, 0.6);
}

a:hover, .ui-widget-content a:hover {
    color: #16498c;
}

.methodParam, .methodReturn {
    cursor: pointer;
}

.methodReturn {
    font-weight: bold;
}

pre.comment {
    margin: 2px 0;
    color: #808080;
    font-size: small;
    font-style: italic;
}

h3 {
    margin: 30px 0 15px;
}

h4 {
    margin: 25px 0 15px !important;
    clear: left;
}

h5 {
    text-align: center;
    margin: auto;
    clear: left;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.middle, .middle * {
    vertical-align: middle;
}

form .row {
    margin: 5px;
}

label {
    font-weight: bold;
    clear: left;
    padding-right: 5px;
    margin-left: 5px;
    vertical-align: middle;
}

form .row label {
    text-align: right;
    padding-right: 5px;
    min-width: 200px;
}

form .row label:after {
    content: ':';
}

form .row label, form .row input {
    display: inline-block;
    vertical-align: middle !important;
}

form .submit input {
    margin: 10px 210px;
}

form .row label, form .row input, form .row textarea {
    display: inline-block;
    vertical-align: middle !important;
}

li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
    list-style-type: decimal !important;
}

ol.linenums {
    padding-left: 3.0em !important;
    margin: 0;
}

li.L1 span, li.L3 span, li.L5 span, li.L7 span, li.L9 span {
    background: #eeeeee;
}

.head span {
    border-left: 1px solid #dddddd;
}


ul.actionList, ul.controllerList, ul.modelList {
    display: table;
}

ul.actionList li, ul.controllerList li, ul.modelList li {
    display: table-row;
}

.methodReturn {
    text-align: right;
}

ul.actionList li > span, ul.actionList li > a, ul.controllerList li > span,
ul.modelList li > span {
    padding: 5px 5px;
    display: table-cell;
    vertical-align: middle;
}

ul.modelList li > span {
    padding-left: 15px;
    padding-right: 15px;
}

ul.modelList li > span:first-child {
    font-weight: bold;
}


div.actionList {
    float: right;
    clear: right;
    background: #eff5ff;
    border: 1px solid #c9e0ed;
    padding: 10px 15px;
    border-radius: 10px;
    margin: 0 5px;
}

div.actionList ul {
    margin: 0;
}

div.actionList li {
    list-style: square;
}

div.actionList h4 {
    margin: 5px 2px 8px !important;
    padding: 0;
}

.actionBar {
    float: left;
    margin: 10px 0 5px 0;
    vertical-align: middle;
}


/** Plan **/

.unitSelector {
    margin-top: 25px;
}

.unitSelector label[for="unit_l"],
.unitSelector label[for="unit_t"] {
    font-weight: normal;
}

.planTable {
    margin: 20px auto;
}

.planTable.aggregate td {
    min-width: inherit;
    text-align: right;
}

.planTable, .planTable td, .planTable th {
    border: 1px solid #f0f0f0 !important;
    /*min-width: 123px;*/
    min-height: 36px;
}

.planTable th.day {
    min-width: 80px;
}

.planTable tr.company, .planTable tr.contract {
    background-color: #fafafe;
}

.planTable tr.company:nth-child(4) td, .planTable tr.contract td,
.planTable tr.company:nth-child(4) th, .planTable tr.contract th {
    border-top: 1px solid #b0b0b0 !important;
}

.planTable tr.company th, .planTable tr.contract th {
    color: #8a1f11;
    cursor: pointer;
}

.planTable label {
    font-weight: normal;
}

.planTable input[readonly] {
    color: grey;
    border: 1px solid lightgrey;
}


/*** Admin module ***/

.grid-view-loading {
    background-position: center 5px;
}

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

.grid-view .table, .grid-view table.items {
    clear: both;
    /*float: left;*/
}

.grid-view .summary {
    float: right;
}

.grid-view table.items tr.odd {
    background: #fcfcfc;
}

.grid-view table.items tr.selected {
    background: #9C74E7;
}

.grid-view table.items td {
    border: 1px solid #DDD;
    padding: 4px 10px 4px 5px;
}

thead th, .grid-view table.items th, li.head {
    background: rgba(0, 92, 255, 0.8);
    color: white;
}


.grid-view table.items tbody tr:hover {
    color: #777777;
}

thead th a, .grid-view table.items th a {
    color: #ffedad;
}

.form-actions {
    background: transparent !important;
    padding-left: 0 !important;
    text-align: center;
}

.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 1250px !important;
}

.hero-unit {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}


.btn-toolbar {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    float: left;
    clear: left;
    height: 35px;
}


.mono {
    font-family: monospace;
}

.control-group {
    margin-bottom: 8px !important;
}

.row-fluid [class*="span"] {
    min-height: 32px;
}


/** Hide admin buttons by models **/

.modelCreate.Tubes, .modelCreate.Log {
    display: none;
}

.Log .button-column, .Log .btn[name=_addanother], .Log tr.filters td:last-child {
    display: none;
}


/** Tabs are hidden until ready **/

.tabs:before {
    font-size: small;
    font-weight: 500;
    content: "Töltődik...";
}
.tabs > * {
    display: none;
}

.tabs.ui-tabs.tabs:before {
    content: none;
}

.tabs.ui-tabs > * {
    display: inherit;
}



/** Flashes **/

div.flash-error, div.flash-notice, div.flash-success, ul.errors {
    padding: 4px;
    margin: 5px 10px 0;
}

div.flash-error, ul.errors {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}


ul.errors li {
    margin-left: 15px;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

tr.expired td {
    background: #efb0a0;
    /*color: white;*/
}


#filter label {
    font-weight: normal;
    min-width: 0;
    margin-left: 30px;
}