/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
}

@font-face {
    font-family: museo100;
    src: url(../fonts/museosans100.ttf);
}

@font-face {
    font-family: museo700;
    src: url(../fonts/museosans_700.ttf);
}

body {
    background-color: white;
    font-family: museo100;
    margin: 0px;
}

a {
    outline: 0;
    color: black;
    text-decoration: none;
}

.row {
    margin-left: 10px;
    margin-right: 10px;
}

.app {
    margin-top: 30px;
}

img {
    max-width: 100%;
    border: 0px;
}

#canvasLegend {
    margin-left: 20px;
}

#overview {
    clear: both;
}


.label {
    display: inline;
    padding: .25em .6em;
    font-size: 75%;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

    .label[href]:hover,
    .label[href]:focus {
        color: #ffffff;
        text-decoration: none;
        cursor: pointer;
    }

.label-default {
    background-color: #999999;
}

    .label-default[href]:hover,
    .label-default[href]:focus {
        background-color: #808080;
    }

.label-danger {
    background-color: #d9534f;
}

    .label-danger[href]:hover,
    .label-danger[href]:focus {
        background-color: #c9302c;
    }

.label-success {
    background-color: #5cb85c;
}

    .label-success[href]:hover,
    .label-success[href]:focus {
        background-color: #449d44;
    }

.label-warning {
    background-color: #f0ad4e;
}

    .label-warning[href]:hover,
    .label-warning[href]:focus {
        background-color: #ec971f;
    }

.label-info {
    background-color: #5bc0de;
}

    .label-info[href]:hover,
    .label-info[href]:focus {
        background-color: #31b0d5;
    }

#tabs {
    margin-top: 20px;
    height: 46px;
}

    #tabs .tabButton {
        float: left;
        max-width: 65px;
        height: 50px;
        padding: 10px;
        padding-bottom: 2px;
        text-align: center;
        font-family: museo700;
    }

    #tabs #tabButton-1 {
        color: #3fa9f5;
        background-color: #e1e1e2;
    }

    #tabs #tabButton-2 {
        color: #00bf9a;
        background-color: #bbbbbc;
    }

    #tabs #tabButton-3 {
        color: #ff5148;
        background-color: #9b9d9e;
    }

#info .userContainer {
    background-color: #e1e1e2;
    padding: 10px 10px 0px;
    position: relative;
    margin-bottom: 5px;
}

    #info .userContainer .avatar {
        max-width: 20%;
    }

    #info .userContainer .username {
        position: absolute;
        bottom: 25px;
        left: 120px;
    }

    #info .userContainer .amount {
        position: absolute;
        bottom: 25px;
        right: 55px;
    }

    #info .userContainer .arrow {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }

ul {
    list-style-type: none;
    padding-left: 0px;
}

#info #tabs-1 .userContainer {
    background-color: #e1e1e2;
}

#info #tabs-2 .userContainer {
    background-color: #bbbbbc;
}

#info #tabs-3 .userContainer {
    background-color: #9b9d9e;
}

#topMenu {
    width: 100%;
    height: 80px;
    background-color: #3fa9f5;
}

    #topMenu img {
        margin-top: 20px;
        width: 70px;
        margin-left: 5px;
    }

#profile {
    position: relative;
    margin-top: 20px;
    margin-bottom: 40px;
}

    #profile img {
        width: 130px;
    }

#profileData {
    position: absolute;
    width: 190px;
    top: 0px;
    left: 140px;
}

    #profileData .name {
        font-size: 24px;
    }

    #profileData #buttons div {
        padding: 5px;
        text-align: center;
        width: 130px;
        margin-top: 10px;
        background-color: #3fa9f5;
        color: #fff;
    }

    #profileData #buttons a {
        color: #fff;
    }

    #profileData #buttons .newDebtButton {
        background-color: #ff5148;
    }

#menu {
    width: 100%;
    height: 60px;
    background-color: #3fa9f5;
    padding-top: 15px;
}

#menuContainer {
    width: 320px;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
}

#menu img {
    float: left;
    width: 40px;
    margin-left: 20px;
    margin-right: 20px;
}

.transaction {
    position: relative;
    width: 90%;
    height: 40px;
    padding: 5px;
    background-color: #e1e1e2;
    margin: 10px;
}

    .transaction .date {
        position: absolute;
        width: 55px;
    }

    .transaction .name {
        position: absolute;
        left: 80px;
        font-size: 18px;
    }

    .transaction .amount {
        position: absolute;
        right: 10px;
    }

.deficit {
    color: #ff5148;
}

.surplus {
    color: #00bf9a;
}

.simplemodal-overlay {
    background-color: #000;
    min-height: 5000px;
}

.simplemodal-container {
    background-color: #fff;
    padding: 20px;
    width: 80%;
    min-height: 220px;
}

#simplemodal-container a.modalCloseImg {
    background: url(../img/x.png) no-repeat; /* adjust url as required */
    width: 25px;
    height: 29px;
    display: inline-block;
    position: absolute;
    top: -15px;
    right: -18px;
    cursor: pointer;
}


#reminderPopupButtons,
#payUpButtons {
    margin-top: 20px;
    color: #fff;
}

    #reminderPopupButtons div,
    #payUpButtons div {
        padding: 10px;
        margin-top: 5px;
    }

#emailReminderButton,
#payUpNoButton {
    background-color: #ff5148;
}

#smsReminderButton,
#payUpYesButton {
    background-color: #00bf9a;
}

#cancelButton {
    background-color: #9b9d9e;
}

#pages {
    text-align: center;
    font-weight: 100;
    margin-bottom: 10px;
}

    #pages span {
        margin-left: 5px;
        margin-right: 5px;
    }

        #pages span.title,
        #pages span.selected {
            font-family: museo700;
        }
