/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 02.12.2015, 14:15:10
    Author     : starke
*/

.__EventScrollLock {
    overflow: hidden;
}

.__CbUiInputError {
    border: 1px solid red !important;
}

.__CbUiLayer.__CbUiLoader {
    z-index: 10000 !important;
}

.__BudgetWindow {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    width: 100%;
}

.__BudgetWindow *,
.__BudgetWindow *:before,
.__BudgetWindow *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.__CbUiFrame.__BudgetWindow.__CbUiLayerFrame {
    padding-bottom: 100px;
    margin-bottom: 100px;
    background: #FFFFFF;
}

.budget__site-header__close-button  {
    background-image: url('../media/images/img_close-black.png');
    height: 16px;
    width: 16px;
    font-size: 0px;
    cursor: pointer;
}



/*
 *************************
    $BUTTONS
 *************************
*/

.budget__button {
    display: block;
    cursor: pointer;

    text-align: center;
    text-decoration: none;

    border: none;
    border-radius: 0;
}

.ErrorMessage {
    display: none;
    color: red;
}

.InputError {
    border: 1px solid red !important;
}


/*
 *************************
    $INPUTS
 *************************
*/

.__BudgetWindow input,
.__BudgetWindow textarea,
.__BudgetWindow select {
    width: 100%;
}

.__BudgetWindow select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;

    background: url('../media/images/img_arrow.png') no-repeat center right;
}

.__BudgetWindow select::-ms-expand { /* for IE 11 */
    display: none;
}



/*
 *************************
    $HEADER
 *************************
*/

.__BudgetWindow .budget__site-header {
    width: 100%;
}

.__BudgetWindow .budget__site-header__right {
    position: absolute;
    top: 0px;
    right: 0px;
}

.__BudgetWindow .budget__site-header__title,
.__BudgetWindow .budget__site-header__logo,
.__BudgetWindow .budget__site-header__user-area,
.__BudgetWindow .budget__site-header__overview,
.__BudgetWindow .budget__site-header__close-button {
    display: inline-block;
    text-align: right;
    vertical-align: top;
}

.__BudgetWindow .budget__site-header__user-area .user-area-text {
    max-width: 9999px;
    margin-right: 20px;
}

.__BudgetWindow .budget__site-header__user-area .logged_in_label {
    float:left;
}

.__BudgetWindow .budget__site-header__user-area .username {
    width: auto;
}



/*
 *************************
    $CONTENT
 *************************
*/

.budget__infobox {
    display: block;
    width: 100%;
}

.budget__infobox__excerpt,
.budget__infobox__toggler {
    display: inline-block;
}

.budget__infobox__detail {
    height: auto;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.6s ease-out;
    transition: max-height 0.6s ease-out;
}


.budget__infobox.opened > .budget__infobox__toggler {
    visibility: hidden;
    display: none;
}

.budget__infobox.opened .budget__infobox__detail {
    max-height: 1200px;
}

h3.__CbUiText.budget__infobox__header.list-of-budgets-headline {
    padding-bottom: 15px;
}


/*
 *************************
    $OVERVIEW PAGE
 *************************
*/

.budget__list-of-budgets {
    margin-left: 0;
}

.budget__list-of-budgets__item {
    position: relative;
    list-style: none;
    margin-left: 0;
}

.budget__form::after {
    clear: both;
    content: " ";
    display: block;
}

.budget__form table,
.budget__form tbody,
.budget__form tr {
    width: 100%;
}

.budget__form td {
    width: 50%;
}

.budget__form td:first-child {
    width: 50%;
    vertical-align: top;
}

.budget__form .__CbUiInput {
    background: url('../media/images/img_search.png') no-repeat center right;
}



/*
 *************************
    $DROPDOWN
 *************************
*/

.__BudgetSideMenuButton {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
 
    background: url("../media/images/img_table_dropdown.png") repeat scroll center center rgba(0, 0, 0, 0);
    
    cursor: pointer;
    font-size: 0;
}

.__BudgetSideMenu {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    list-style: none;
    z-index: 10;
}

.__BudgetSideMenu button {
    padding-left: 40px;
    text-align: left;
    cursor: pointer;
}

.__BudgetSideMenu button[value="1"] {
  border: none;
  background: url("../media/images/img_published.png") no-repeat transparent;
}

.__BudgetSideMenu button[value="0"] {
  border: none;
  background: url("../media/images/img_unpublished.png") no-repeat transparent;
}

.__BudgetSideMenu button[value="2"] {
  border: none;
  background: url("../media/images/img_close-black.png") no-repeat transparent;
}

.__BudgetSideMenu .new-copy {
   border:none;
   background: transparent;
   padding: 0;
}
