.overlay {
	background: #004f9d;
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 999999999;
	color: white;
	top:0;
	left: 0;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
}
.overlay .table {
	display: table;
	position: relative;
	height: 100%;
	width: 100%;
	text-align: center;
	padding: 50px;
}
.overlay .cell {
	display: table-cell;
	vertical-align: middle;
}
.overlay .loading {
	opacity: 0;
}

/*-----------------------------*/

body {
	background: url(./img/havnifotka_normal.jpg) no-repeat center fixed;
	background-size: cover;
	font-family:'Roboto', sans-serif;
	-webkit-font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	/*min-width: 1260px;*/
}

body .error {
    color: red;
    font-size:large;
}

.color-overlay {
	background: #004f9d;
	opacity: 0.9;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
}
header {
    display: inline;
}

.display-inline {
    display: inline;
}

/*EUREST*/
/*.logo {
    height: 82px;
    width: 115px;
    background: url(./img/sprite.png) no-repeat;
    background-position: -200px -29px;
    margin: 40px;
    float: left;
    position: relative;
    z-index: 1;
}*/

/*DELIREST*/
.logo {
    height: 89px;
    width: 141px;
    background: url(./img/logo.png) no-repeat;
    background-position: 0px -10px;
    margin: 40px;
    float: left;
    position: relative;
    z-index: 1;
}

h1 {
    margin: 10px;
    color: white;
    text-transform: uppercase;
    float: left;
    margin: 69px;
    font-size: 25px;
    border-left: 1px solid white;
    padding-left: 60px;
    margin-left: 23px;
    position: relative;
    z-index: 1;
    margin-right: 10px;
}

h1 {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.47);
    font-family: 'Roboto Condensed', sans-serif;
}

nav {
    float: right;
    color: white;
    margin-top: 72px;
    margin-right: 40px;
    position: relative;
    z-index: 1;
    margin-left: 0;
}

nav a {
    color: white;
    font-size: 17px;
    text-transform: uppercase;
    padding: 5px;
}

nav ul li {
    display: inline;
    margin: 13px;
}

nav ul li img {
    width:32px;
    margin-right:4px;
    margin-top:-4px;
}

nav a:hover, nav a.selected {
    border-bottom: 1px solid white;
    color: white;
}

nav ul.languages {
    display:none;
	position:absolute;
	/*top:100%;*/
	right:0;
	padding:0
}

nav ul.languages a {
    display:block;
    color: white;
    font-size: 17px;
    text-transform: uppercase;
    padding: 5px;
}

nav ul.languages li {
    float:none;
}

nav ul.languages li a {
    text-align: right;
}

li.current-language:hover ul {
	display:block
}

/*.table {
    display: table;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    position: absolute;
    background: red;
    top: 0;
    padding-top: 170px;
    padding-bottom: 100px;
}*/

.cell {
    vertical-align: middle;
    text-align: center;
    display: table-cell;
}

.login {
    background: #004f9d;
    width: 500px;
    margin: auto;
    height: 500px;
    padding: 50px;
    /* margin-top: -190px; */
    /*color: white;*/
    border-bottom: 3px solid #003A73;
}

input.login {
    height: 50px;
}

.login input {
    height: 54px;
    font-size: 20px;
    padding: 5px;
    display: block;
    width: 100%;
    margin: 15px 0;
    box-sizing: border-box;
    background-color: white;
    padding-left: 50px;
}

.login {
    text-align: left;
}

.login h2 {
    font-size: 40px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 40px;
}

    .login.forgotten-password h2 {
        font-size: 40px;
        text-transform: uppercase;
        color: white;
        margin-bottom: 5px;
    }

.login details {
    font-size: 15px;
    color: white;
}

span.ico-login {
    position: absolute;
    width: 20px;
    height: 24px;
    background-image: url(./img/sprite.png);
    background-repeat: no-repeat;
    background-position: -22px -16px;
    margin: 15px;
    z-index: 3;
}

span.ico-pass {
    position: absolute;
    width: 20px;
    height: 27px;
    background-image: url(./img/sprite.png);
    background-repeat: no-repeat;
    background-position: -22px -48px;
    margin: 14px;
    /* background-color: red; */
    z-index: 3;
    margin-left: 17px;
}

span.ico-smartcard {
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url(./img/smartcard.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    margin: 14px;
    z-index: 3;
}

.login input[type="submit"] {
    padding: 0;
    background: #E6007E;
    border-radius: 0;
    border-bottom: 3px solid #8E004E;
    color: white;
    font-size: 21px;
    text-transform: uppercase;
    margin-bottom: 34px;
    font-weight: bold;
}

.login p,.login a {
    color: white;
}

.login a {
    text-decoration: underline;
}

.login p {
    font-size: 19px;
}

.login a:hover {
    text-decoration: none;
    color: silver;
}
nav ul {
    margin-left: 0;
}
footer {
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    font-size: 15px;
    text-transform: uppercase;
    padding:10px 40px 10px 10px;
}

.login input[type="submit"]:hover {
    border-bottom: 3px solid #88044D;
    background: #C7006E;
}

.login input[type="submit"]:active {
    border-bottom: 0;
    border-top: 3px solid #88044D;
}
header.subpage {
    height: 30%;
    display: block;
    min-height: 170px;
}

div#login-content {
    background: white;
    font-size: 17px;
    padding: 40px;
    padding-top: 70px;
}

div#login-content .wrap {
    max-width: 800px;
    margin: auto;
}

h2 {
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 40px;
}

form > label {
    display: block;
    color: #0D5195;
    margin-bottom: 5px;
}

form > input {
    width: 100%;
    margin-bottom: 18px;
    padding: 10px;
    font-size: 17px;
}

input[type="submit"] {
    padding: 0;
    background: #E6007E;
    border-radius: 0;
    border-bottom: 3px solid #8E004E;
    color: white;
    font-size: 21px;
    text-transform: uppercase;
    margin-bottom: 34px;
    font-weight: bold;
    padding: 13px;
    width: 100%;
    margin-top: 10px;
}

.form-message {
    background: #E6007E;
    color: white;
    margin: -50px -50px 50px -50px;
    padding: 20px;
    font-size: 18px;
    text-align: center;
}

.with-tabs .panel {
}

.tabs {
    margin: 0;
    padding:0;
    z-index: 1;
    position:relative;
    bottom: -1px;
}
.tabs li.tab, .tabs li.tab-action {
    display: block;
    float: left;
    padding: 13px 15px 15px 15px;
    border: 1px solid #ddd;
    background: #eee;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    font-weight: bold;
    color: #3570c3;
    text-transform: uppercase;
}

.tabs li.filter-tab {
    display: block;
    float: none;
    border: 1px solid #DEDEDE;
    margin: 10px 0;
    padding: 10px;
    background: #fff;
}
.tabs li.filter-tab h2 {
    display: inline-block;
    font-size: 22px;
    margin: 0 20px 0 0;
    vertical-align: middle;
}
.tabs li.filter-tab .filter {
    display: inline-block
}


.tabs li.tab + .tab {
    border-left: 0;
}

.tabs li.tab + .tab-action {
    border-left: 0;
}

.tabs li.active {
    border-bottom: 1px solid #fff;
    background: #fff;
    cursor: initial;
}

.tabs li small {
    display: block;
    color: #E6007E;
    font-weight: bold;
}

#switch-context {
    width: 400px;
    padding: 20px 50px 50px 50px;
}

#switch-context ul {
    margin-left: 0px;
}

#switch-context ul li {
    display: block;
}

/*@media screen and (max-width:1170px){
	
	header nav {
        margin-top: 5px;
	}
}*/
.weekpicker {
    position: relative;
}
.weekpicker input.datepicker {
    width: 1px;
    height: 1px;
    padding: 0;
    border:0;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    visibility:hidden;
}

.rich-editor {
    height: auto !important;
}

.star-rating {
    white-space:nowrap;
    cursor: pointer;
}

.star-rating.cant-rate {
    white-space:nowrap;
    cursor: pointer;
    opacity: 0.3;
}

.chart { padding: 10px 0px; text-align: center; }

.grafy.client .chart {
    text-align: left;
}

.grafy.client h4 {
    background: #0062AB;
    color: #fff;
    padding: 10px 15px;
    display: inline-block;
}

.grafy .stat-val {
    text-align: left;
    font-size: 18px;
    line-height: 36px;
}

.grafy .num-val {
    text-align: left;
    font-size: 18px;
    line-height: 36px;
}
.grafy .num-val strong {
    font-weight: normal;
}
.grafy .num-val.fst strong {
    font-weight: bold;
}
.grafy .num-val span {
    color: #0062AB;
}

.grafy .stat-val strong {
    background: #0062AB;
    color: #fff;
    padding: 4px 15px;
    font-weight: bold;
    margin-left: 10px;
}

.eu-cookies {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    color: white;
    background-color: black;
    z-index: 1000;
    text-align: center;
    padding:5px;
}

.eu-cookies button {
    background: green;
    color: white;
}

.forgotten-password {
    height: auto !important;
}

.btn.btn-print2 {
    margin-left: 10px;
    position: relative;
    z-index: 100;
    padding: 10px 10px;
}

.print-tab {
    list-style-type: none;
}

.menu-view-type-tab {
    list-style-type: none;    
}

.menu-view-type-tab .btn {
    padding: 5px 10px;
}

.menu-view-type-tab label {
    font-size: 17px;
    font-weight: normal;
    margin-top: -9px;
    margin-left: 20px;
    margin-right: 10px;
}

.form-errors {
    padding: 20px;
    margin-bottom: 20px;
    background: red;
    color: #fff;
}

.form-errors ul {
    margin: 0;
}

.remember-me {
    color: white;
}

.remember-me input {
    width: 15px;
    height: 15px;    
    display: inline-block;
    vertical-align: middle;
}

.overflow-visible {
    overflow:visible !important;
}

.publish-button {
    height: 34px;
    background: #009839;
    color: #fff;
    text-transform: uppercase;
    padding: 9px 15px;
    font-weight: bold;
    -webkit-transition: all ease 0.5s;
    margin-left: 20px;
}

.published-button {
    height: 33px;
    border: 2px solid #009839;
    color: #009839;
    text-transform: uppercase;
    padding: 5px 11px;
    font-weight: bold;
    -webkit-transition: all ease 0.5s;
    margin-left: 20px;
}

.publish-button:hover {
    color: #fff;
    text-decoration: none;
    background: #33ac60;
}

.conceal-button {
    height: 34px;
    background: #9b033b;
    color: #fff;
    text-transform: uppercase;
    padding: 9px 15px;
    font-weight: bold;
    -webkit-transition: all ease 0.5s;
    margin-left: 20px;
}

.conceal-button:hover {
    color: #fff;
    text-decoration: none;
    background: #000;
}

.msg-counter {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    color: #212020;
    text-align: center;
    line-height: 46px;
}


.msg-readed-checkbox {
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding: 20px 40px 0 40px;
    margin: 20px -20px 0 -20px;
}

#context-switcher .form-control {
    /*height:46px;*/
}

form + .alert {
    margin-top: 20px;
}

#context-switcher .btn.btn-default {
    border: 1px solid #ccc;
}

#context-switcher .input-group-btn .btn.btn-default {
    padding: 4px 20px 3px 20px;
    margin-left: 4px;
}

.modal-dialog .btn.btn-default {
    padding: 4px 20px 3px 20px;
    margin-left: 4px;
}

.sum-row {
    font-weight: bold;
}

.sum-row td:first-child {
    text-align: right;
}

table.orders-by-groups {
    margin-bottom: 40px;
}

.control-label-left {
    text-align: left !important;
}