/**********************************************
*** GENERAL
**********************************************/

@import url('https://fonts.googleapis.com/css?family=Roboto:300');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
  font-family: 'Roboto', Georgia, serif;
  font-weight: 400;
  color: #323135;
  height: 100%;
  width: 100%;
}

h1, h2, h3, h4, h5, h6{
  font-weight: 400;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.right { float: right; }
.red { color: #e17055 !important; }
.red-focus:focus { border: 1px solid #e17055 !important; }




/**********************************************
*** MIDDLE PART
**********************************************/


#budget {
  position: absolute;
  z-index: 1;
  background-color: white;
  padding: 30px;
  width: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  -webkit-box-shadow: 0px 0px 11px -1px rgba(173,173,173,1);
  -moz-box-shadow: 0px 0px 11px -1px rgba(173,173,173,1);
  box-shadow: 0px 0px 11px -1px rgba(173,173,173,1);
  -webkit-box-shadow: 0px 0px 25px -4px rgba(0,0,0,0.56);
  -moz-box-shadow: 0px 0px 25px -4px rgba(0,0,0,0.56);
  box-shadow: 0px 0px 25px -4px rgba(0,0,0,0.56);
}

.budget__title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 300;
}

.budget__value {
    font-weight: 300;
    font-size: 46px;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.budget__income,
.budget__expenses {
    padding: 12px;
    text-transform: uppercase;
}

.budget__income {
    margin-bottom: 10px;
    background-color: #28B9B5;
}

.budget__expenses {
    background-color: #e17055;
}

.budget__income--text,
.budget__expenses--text {
    float: left;
    font-size: 13px;
    color: #444;
    margin-top: 2px;
}

.budget__income--value,
.budget__expenses--value {
    letter-spacing: 1px;
    float: left;
}

.budget__income--percentage,
.budget__expenses--percentage {
    float: left;
    width: 34px;
    font-size: 11px;
    padding: 3px 0;
    margin-left: 10px;
}

.budget__expenses--percentage {
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
    border-radius: 3px;
}

.add {
    margin-top: 10px;
    padding: 14px;
    background-color: white;
}

.add__container {
    margin: 0 auto;
    text-align: center;
}

.add__type {
    width: 60px;
    border: 1px solid #e7e7e7;
    height: 44px;
    font-size: 18px;
    color: inherit;
    background-color: #fff;
    margin-right: 10px;
    margin-left: 10px;
    font-weight: 300;
    transition: border 0.3s;
}

.add__description,
.add__value {
    border: 1px solid #e7e7e7;
    background-color: #fff;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    padding: 12px 15px;
    margin-right: 10px;
    border-radius: 5px;
    transition: border 0.3s;
}

.add__description { 
    width: 240px;
    margin: 10px;
}
.add__value { width: 165px;}

.add__btn {
    font-size: 35px;
    background: none;
    border: none;
    color: #28B9B5;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.1;
    margin-left: 10px;
}

.add__btn:active { transform: translateY(2px); }

.add__type:focus,
.add__description:focus,
.add__value:focus {
    outline: none;
    border: 1px solid #28B9B5;
}

.add__btn:focus { outline: none; }

/**********************************************
*** LEFT AND RIGHT COLUMNS
**********************************************/


.data-container > div{
  padding: 30px;
  height: 698px;
}


.income {
    float: left;
    width: 375px;
    margin-right: 50px;
}

.expenses {
    float: right;
    width: 375px;
}

.income__list, .expenses__list {
    margin-top: 50px;
}

h2 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
}

.icome__title, .expenses__title { color: white; }

.exp-bg-color-lt{
  background-color: #e17055;
}

.inc-bg-color-lt{
  background-color: #28B9B5;
}

.item {
    padding: 13px;
    border-bottom: 1px solid #e7e7e7;
    background-color: white;
    margin: 10px;
}


.item__description {
    float: left;
}

.item__value {
    float: left;
    transition: transform 0.3s;
}

.item__percentage {
    float: left;
    margin-left: 20px;
    transition: transform 0.3s;
    font-size: 11px;
    background-color: #FFDAD9;
    padding: 3px;
    border-radius: 3px;
    width: 32px;
    text-align: center;
}

.income .item__value,
.income .item__delete--btn {
    color: #28B9B5;
}

.expenses .item__value,
.expenses .item__percentage,
.expenses .item__delete--btn {
    color: #e17055;
}


.item__delete {
    float: left;
}

.item__delete--btn {
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    display: none;
}

.item__delete--btn:focus { outline: none; }
.item__delete--btn:active { transform: translateY(2px); }

.item:hover .item__delete--btn { display: block; }
.item:hover .item__value { transform: translateX(-20px); }
.item:hover .item__percentage { transform: translateX(-20px); }


.unpaid {
    background-color: #FFDAD9 !important;
    cursor: pointer;
    color: #e17055;

}

.unpaid .item__percentage { box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1); }
.unpaid:hover .item__description { font-weight: 900; }
