﻿@import "squeezeBox.css";

body {
    font-family: Tahoma;
    font-size: 11px;
}

table {
    font-family: Tahoma;
    font-size: 11px;
}

a {
    color: Olive;
    text-decoration: none;
}

    a:hover {
        color: Teal;
        text-decoration: underline;
    }

    a:active {
        color: Olive;
        text-decoration: underline;
    }

    a:visited {
        color: Olive;
        text-decoration: none;
    }

    a img {
        border: 0;
    }

.adc_tree_header {
    color: White;
    border-collapse: collapse;
    background-image: url(../images/table_header.png);
}

.table_content {
    border-collapse: collapse;
}

.menubg {
    background-color: #956036;
    background-image: url(../images/menu_bg.png);
}

#menu {
    margin-top: 3px;
    margin-bottom: 3px;
    color: white;
}

    #menu a {
        color: white;
        font-weight: bold;
        font-size: 12px;
        white-space: nowrap;
    }

.button {
    font-family: Tahoma;
    font-style: normal;
    font-size: 12px;
    background-color: #fffff5;
    border: 1px solid #956036;
    color: #956036;
}

.textbox {
    font-family: Tahoma;
    font-style: normal;
    font-size: 12px;
    background-color: #fffff5;
    border: 1px solid #956036;
    color: #956036;
    width: 80px;
}

#divMenu td {
    background-color: Red;
}

/*AuDaTree*/
.adc_tree_header {
    color: #FFFFFF;
    border-collapse: collapse;
    background-image: url(../images/table_header.png);
}
/*EndAuDaTree*/

/*CSS for Modal-Popup*/
.modalpopup {
    font-family: arial,helvetica,clean,sans-serif;
    font-size: small;
    padding: 2px 3px;
    display: block;
    position: absolute;
}

.container {
    width: 300px;
    border: solid 1px #808080;
    border-width: 1px 0px;
}

.header {
    background: url(../images/sprite.png) repeat-x 0px -200px;
    color: #000;
    border-color: #808080 #808080 #ccc;
    border-style: solid;
    border-width: 0px 1px 1px;
    padding: 3px 10px;
}

    .header .msg {
        font-weight: bold;
    }

.body {
    background-color: #f2f2f2;
    border-color: #808080;
    border-style: solid;
    border-width: 0px 1px;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 20px;
}

    .body .msg {
        background: url(../images/sprite.png) no-repeat 0px -1150px;
        float: left;
        padding-left: 22px;
    }

.footer {
    background-color: #f2f2f2;
    border-color: #808080;
    border-style: none solid;
    border-width: 0px 1px;
    text-align: right;
    padding-bottom: 8px;
    padding-right: 8px;
}

.close {
    right: 7px;
    background: url(../images/sprite.png) no-repeat 0px -300px;
    width: 25px;
    cursor: pointer;
    position: absolute;
    top: 7px;
    height: 15px;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

/*End CSS for Modal-Popup*/

/*Container*/
.adc_container_left {
    width: 3px;
    height: 20px;
    background-repeat: no-repeat;
    background-image: url(../images/menu_hover_left.png);
}

.adc_container_middle {
    color: #FFFFFF;
    font-weight: bold;
    text-align: left;
    height: 20px;
    background-repeat: repeat-x;
    background-image: url(../images/menu_hover_main.png);
}

.adc_container_right {
    width: 3px;
    height: 20px;
    background-repeat: no-repeat;
    background-image: url(../images/menu_hover_right.png);
}

.adc_container_content {
    background-color: Beige;
    border: 1px solid #8D5C45;
}

.adc_container_content_white {
    background-color: White;
    border: 1px solid #8D5C45;
}

/*EndContainer*/


/*UserSettings*/
* {
    outline: none;
    font-family: Tahoma !important;
}

.ui-widget-header {
    background: none !important;
    border: none !important;
}

.ui-widget-content {
    background: white !important;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #fff !important;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    color: #fff !important;
}

.ui-state-default {
    background: none !important;
    background-image: url(/template/default/images/menu_normal_main.png) !important;
    background-size: 100% 100% !important;
}

.ui-state-hover a {
    text-decoration: underline !important;
    cursor: pointer !important;
}


.ui-dialog-titlebar {
    background: none !important;
    background-image: url(/template/default/images/menu_hover_main.png) !important;
    background-size: 100% 100% !important;
}

.ui-tabs-active {
    background: none !important;
    background-image: url(/template/default/images/menu_hover_main.png) !important;
    background-size: 100% 100% !important;
    border: 1px solid #A3725C !important;
}

#savecoosettings {
    display: block;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
}

#tabs {
    overflow: auto;
    border: none !important;
    padding: 0 !important;
    margin: auto;
}

    #tabs > div {
        border: 1px solid #A3725C;
        border-top: 4px solid #A3725C;
    }

    #tabs > ul {
        padding: 0 !important;
        margin-bottom: -1px;
    }
        #tabs > ul > li.ui-tabs-active {
            padding-bottom: 0;
        }

        #tabs > ul > li > a {
            padding: 2px 6px !important;
        }

.ui-button.ui-state-default {
    background-image: url(/template/default/images/menu_button_main.png) !important;
}
/*
    #tabs .adc_container_content table {
        width: 100%;
    }

        #tabs .adc_container_content table > thead {
            font-weight: bold;
        }

        #tabs .adc_container_content table tr > td {
            padding: 2px;
        }

        #tabs .adc_container_content table > tbody > tr:nth-of-type(2n+1) {
            background-color: palegoldenrod;
        }

        #tabs .adc_container_content table > tbody > tr:nth-of-type(2n) {
            background-color: lightgoldenrodyellow;
        }
*/

#minorsettings {
    display: none;
    max-width: 710px;
}


#minorsettings .adc_container_content > span > div:not([id=calculationarea]) {
    position: fixed !important;
}

#minorsettings select {
    width: 200px;
}

#minorsettings div.table:first-of-type div.td:not(:first-of-type) {
    padding-left: 0.5em;
}

.ui-icon-minorSettingsCloseButton {
    background-image: url(/images/btnSettings.gif) !important;
    background-position: top left;
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    margin-top: -8px;
}

.ui-dialog .ui-dialog-titlebar-close {
    background-image: none !important;
    background: none !important;
    border: none !important;
}

.ui-icon {
    display: none !important;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}



@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0);
    }

    to {
        -ms-transform: rotate(360deg);
    }
}

#ctl00_btnSettings.loading, .ui-icon-minorSettingsCloseButton.loading {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
}

/**
    it hurts... my eyes are burning... but it has to be done >.<
*/

.dataTables_length {
    display: none !important;
}

.dataTable {
    border: 1px solid Tan;
}

.dataTable tr:nth-of-type(2n+1) {
    background-color: LightGoldenrodYellow;
}

.dataTable tr:nth-of-type(2n) {
    background-color: PaleGoldenrod;
}

.dataTable th {
    background-color: Tan;
}

.dataTables_paginate {
    width: 100%;
    text-align: center;
}
.dataTables_paginate a {
    line-height: 1.5em;
    margin: 2px;
}
.dataTables_paginate a:hover {
    cursor: pointer;
}

.dataTables_paginate a.next, .dataTables_paginate a.previous {
    display: none;
}

.dataTable td, th {
    text-align: right;
}

.dataTable td:first-of-type, th:first-of-type {
    text-align: left;
}

.observeable {
    text-align: center;
}

#loading {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.001);
  z-index: 100;
}
#loading > div {
  width: 250px;
  background: linear-gradient(to right, rgba(163, 114, 92, 1) 0, rgba(0, 0, 0, 0) 100%);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorStr='#FFA3725C', endColor='0')"; /*IE9 sucks..*/
  position: absolute;
  top: 50%;
  margin-top: -20px;
  left: 50%;
  margin-left: -100px;
  border-left: 6px solid #699A6A;
  padding: 6px;
  color: white;
}
#loading > div > img {
  display: inline-block;
  vertical-align: middle;
  margin-top: -2px;
  margin-right: 2px;
}

span.error::before {
    content: url(/template/default/css/images/error.gif);
    top: 3px;
    width: 14px;
    height: 14px;
    position: relative;
}

div.table { 
    display: table;
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

div.tr { 
    display: table-row;
}

div.td { 
    display: table-cell;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#tablePeriod {
    display: none;
}

#tableSteps {
    display: none;
}

#tableMatrixTotal {
    display: none;
}

#calcPeriod:checked ~ #tablePeriod {
    display: table;
}

#calcSteps:checked ~ #tableSteps {
    display: table;
}

#calcMatrixTotal:checked ~ #tableMatrixTotal {
    display: table;
}

#rowPeriodStartValue {
    display: none;
}

#useStartValues:checked ~ #rowPeriodStartValue {
    display: table-row;
}

.observeable.proposal {
    color: #A9A9A9
}