/* 
	MDK Blue: 			#2489ce 
	MDK Light Blue: 	#95bcf2
*/

/* =============================
	$Contents
	
	1.	Contents
	2.	jQuery UI overrides
	3. 	Helper classes
	4. 	General styles
	5. 	Custom style classes
	6. 	Login View
	7. 	Stichprobe Erfassen View

============================= */

/* =============================
	
	$jQuery UI overrides
	
============================= */

.ui-widget, .ui-widget .ui-widget {
    font-size: 12px;
}

.ui-panelgrid td, .ui-panelgrid tr {
    border: none !important;
}

.ui-button.submit-btn {
    background-color: #95bcf2;
}

.ui-button.big-btn {
    font-size: 1.2em;
}

/* =============================

	$Helper classes
	
============================= */

.center {
    margin: 0 auto;
    display: block;
}

.top-aligned {
    vertical-align: top;
}

.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}

.clearfix:after {
    clear: both;
}

/* =============================

	$General styles
	
============================= */

h1 {
    margin-bottom: 30px;
}

td[role=gridcell] {
    padding: 10px 20px;
}

td:first-child {
    vertical-align: top;
}

/* =============================

	$Custom style classes 

============================= */

.fluidContainer {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.big-form {
    width: 100%;
}

.big-form td {
    padding-left: 0;
}

.big-form input {
    width: 60%;
}

.rounded {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.light-blue-circle {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color: #95bcf2;
}

.blue-border {
    border: 1px solid #2489ce;
}

.blue-background {
    background-color: #2489ce;
}

.text-field-padded:not(:empty) {
    padding: 5px;
}

.text-field-padded:empty {
    border: none;
}

.colored-select .ui-state-active {
    background-color: #F5E61D;
}

.colored-select .ui-state-active.ui-corner-left {
    background-color: #009900 !important;
}

.colored-select .ui-state-active.ui-corner-right {
    background-color: #FF0000 !important;
}

.colored-select.blue-all .ui-state-active {
    background-color: #95bcf2 !important;
}

.colored-select.blue-first .ui-state-active {
    background-color: #009900;
}

.colored-select.blue-first .ui-state-active.ui-corner-left {
    background-color: #95bcf2 !important;
}

.colored-select.blue-first .ui-state-active.ui-corner-right {
    background-color: #FF0000 !important;
}

.colored-select.yellow-last .ui-state-active {
    background-color: #FF0000;
}

.colored-select.yellow-last .ui-state-active.ui-corner-left {
    background-color: #009900 !important;
}

.colored-select.yellow-last .ui-state-active.ui-corner-right {
    background-color: #F5E61D !important;
}

.colored-select.bluefirst-yellowlast .ui-state-active.ui-corner-left {
    background-color: #95BCF2 !important;
}

.colored-select.bluefirst-yellowlast .ui-state-active:nth-child(2) {
    background-color: #009900 !important;
}

.colored-select.bluefirst-yellowlast .ui-state-active:nth-child(3) {
    background-color: #FF0000 !important;
}

.colored-select.bluefirst-yellowlast .ui-state-active:nth-child(4) {
    background-color: #F5E61D !important;
}

.mdk-blue-bg {
    background-color: #95bcf2 !important;
}

.mdk-logo {
    float: right;
    width: 178px;
    height: 94px;
    background:  0 0 no-repeat;
}

.default-page .mdk-logo {
    margin-top: 5%;
    margin-bottom: 5%;
}

/* =============================

	$Login View

============================= */

.login-inner-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    margin-top: 10%;
}

#loginForm {
    width: 100%;
}

.login-inner-container button {
    margin-top: 20px;
}

.login-inner-container .mdk-logo {
    margin-top: 15%;
    margin-bottom: 5%;
    background: url("../img/logo2.png") 0 0 no-repeat;
}

/* =============================

	$Stichprobe erfassen View

============================= */

.screenshot-container .ui-datagrid-row .ui-datagrid-column {
    width: 33%;
}

.fixed {
    position: fixed;
    border-top: 1px solid #e6e6e6 !important;
    background-color: #fff ! important;
    width: 100%;
    bottom: 0;
    left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.loginContainer {
    width: 980px;
    margin: 0 auto;
    text-align: center;
}

.loginContent {
    display: inline-block;
    background-color: #fff;
    padding: 20px;
    margin: 0 -20px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

/* =============================

	$Stichprobe liste

============================= */

th.colId input.ui-column-filter {
    width: 50px;
}

th.colDate {
    width: 150px;
}

th.colDate input {
    width: 60px;
}

th.colPreis {
    width: 50px;
}

th.colLabel {
    width: 50px;
}

th.colPreis input.ui-column-filter {
    width: 50px;
}

th.colInterval {
    width: 80px;
}

th.colInterval input.ui-column-filter {
    width: 80px;
}

.btn-ok {
    color: #000000;
    background-color: #7EDE85;
    border-color: #7EDE85;
}

.btn-ok:hover,
.btn-ok:focus,
.btn-ok:active,
.btn-ok.active,
.open .dropdown-toggle.btn-ok {
    color: #000000;
    background-color: #C0F0C3;
    border-color: #7EDE85;
}

.btn-ok:active,
.btn-ok.active,
.open .dropdown-toggle.btn-ok {
    background-image: none;
}

.btn-ok.disabled,
.btn-ok[disabled],
fieldset[disabled] .btn-ok,
.btn-ok.disabled:hover,
.btn-ok[disabled]:hover,
fieldset[disabled] .btn-ok:hover,
.btn-ok.disabled:focus,
.btn-ok[disabled]:focus,
fieldset[disabled] .btn-ok:focus,
.btn-ok.disabled:active,
.btn-ok[disabled]:active,
fieldset[disabled] .btn-ok:active,
.btn-ok.disabled.active,
.btn-ok[disabled].active,
fieldset[disabled] .btn-ok.active {
    background-color: #7EDE85;
    border-color: #7EDE85;
}

.btn-ok .badge {
    color: #7EDE85;
    background-color: #000000;
}

.btn-klaerung {
    color: #000000;
    background-color: #E8EB8A;
    border-color: #E8EB8A;
}

.btn-klaerung:hover,
.btn-klaerung:focus,
.btn-klaerung:active,
.btn-klaerung.active,
.open .dropdown-toggle.btn-klaerung {
    color: #000000;
    background-color: #EEF0C0;
    border-color: #E8EB8A;
}

.btn-klaerung:active,
.btn-klaerung.active,
.open .dropdown-toggle.btn-klaerung {
    background-image: none;
}

.btn-klaerung.disabled,
.btn-klaerung[disabled],
fieldset[disabled] .btn-klaerung,
.btn-klaerung.disabled:hover,
.btn-klaerung[disabled]:hover,
fieldset[disabled] .btn-klaerung:hover,
.btn-klaerung.disabled:focus,
.btn-klaerung[disabled]:focus,
fieldset[disabled] .btn-klaerung:focus,
.btn-klaerung.disabled:active,
.btn-klaerung[disabled]:active,
fieldset[disabled] .btn-klaerung:active,
.btn-klaerung.disabled.active,
.btn-klaerung[disabled].active,
fieldset[disabled] .btn-klaerung.active {
    background-color: #E8EB8A;
    border-color: #E8EB8A;
}

.btn-klaerung .badge {
    color: #E8EB8A;
    background-color: #000000;
}

.btn-verstoss {
    color: #000000;
    background-color: #FFA494;
    border-color: #FFA494;
}

.btn-verstoss:hover,
.btn-verstoss:focus,
.btn-verstoss:active,
.btn-verstoss.active,
.open .dropdown-toggle.btn-verstoss {
    color: #000000;
    background-color: #FABAAF;
    border-color: #FFA494;
}

.btn-verstoss:active,
.btn-verstoss.active,
.open .dropdown-toggle.btn-verstoss {
    background-image: none;
}

.btn-verstoss.disabled,
.btn-verstoss[disabled],
fieldset[disabled] .btn-verstoss,
.btn-verstoss.disabled:hover,
.btn-verstoss[disabled]:hover,
fieldset[disabled] .btn-verstoss:hover,
.btn-verstoss.disabled:focus,
.btn-verstoss[disabled]:focus,
fieldset[disabled] .btn-verstoss:focus,
.btn-verstoss.disabled:active,
.btn-verstoss[disabled]:active,
fieldset[disabled] .btn-verstoss:active,
.btn-verstoss.disabled.active,
.btn-verstoss[disabled].active,
fieldset[disabled] .btn-verstoss.active {
    background-color: #FFA494;
    border-color: #FFA494;
}

.btn-verstoss .badge {
    color: #FFA494;
    background-color: #000000;
}

.mystyle.ui-datatable .ui-datatable-header {

}

.mystyle.ui-datatable .ui-datatable-header {

}

.mystyle.ui-datatable .ui-datatable-even {
    background: white;

}

.mystyle.ui-datatable .ui-datatable-odd.ui-state-hover {
    background: #F4E7C1;

}

.mystyle.ui-datatable .ui-datatable-even.ui-state-hover {
    background: #F4E7C1;

}

.mystyle.ui-datatable .ui-datatable-even.ui-state-highlight {
    background: #fff9e5;

}

.mystyle.ui-datatable .ui-datatable-odd.ui-state-highlight {
    background: #fff9e5;

}

.mystyle.ui-datatable .ui-datatable-data-empty td {
    color: red;
    font-weight: bold;
}

.ui-datatable.mystyle th {
    background: #EAAB00;
    font-family: verdana;
    font-size: 1em;
}

.mystyle.ui-datatable .ui-expanded-row-content {
    background: white;
}

.topLeftLogo {
    margin-left: 15px;
    margin-top: 8px;
    height: 40px;
}

.idButton {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-weight: bold !important;
}

.smallButton {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.overviewDataTable td {
    vertical-align: middle !important;
    padding: 5px !important;
    font-size: 1.2em;
}


/* =============================

	$on error input

============================= */

.ui-inputfield.ui-state-error, .ui-widget-header .ui-inputfield.ui-state-error, .ui-widget-content .ui-inputfield.ui-state-error {
    border : 3px solid #eed3d7;
}
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error{
    border-width: 3px !important;
}
.ui-selectonemenu .ui-selectonemenu-trigger {
    width: 25px !important;
}

.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td{
    padding: 2px !important;
}

.Center-Container {
    position: relative;
}

.Absolute-Center {
    width: 50%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}   