/*
*
* @copyright Copyright (c) Open-Xchange GmbH, Germany <info@open-xchange.com>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.

* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.

* You should have received a copy of the GNU Affero General Public License
* along with OX App Suite. If not, see <https://www.gnu.org/licenses/agpl-3.0.txt>.
*
* Any use of the work other than as authorized under this license or copyright law is prohibited.
*
*/

ul.io-ox-portal-birthdays .cake {
    padding-right: 4px;
    display: inline-block;
    font-weight: bold;
}

.io-ox-portal-birthdays {
    li {
        position: relative;
        padding-left: 3rem;
        .picture {
            position: absolute;
            left: 0;
            .picture(2rem, 2rem);
            .flex-center;
            color: rgba(0, 0, 0, 0.70);
            background-color: #eee;
            font-weight: bold;
            font-size: 12px;
        }
        &.no-padding { padding-left: 0; }
    }
}

div.io-ox-portal-birthdays {

    h1 {
        font-family: @light-font-family;
        font-weight: 300;
        font-size: 20pt;
        line-height: 1.15em;
        margin: 0 0 0.5em 0;
    }

    .buy-a-gift {
        text-align: right;
        margin: 0.5em 0 0.5em 0;
    }

    .birthday {
        min-height: 48px;
        margin-bottom: 13px;
        clear: both;
        cursor: pointer;
        .name { font-weight: bold; }

        .picture {
            float: left;
            margin-right: 13px;
            display: inline-block;
            .picture(48px, 48px);
        }

        .distance {
            color: #888;
            font-family: @light-font-family;
            display: inline-block;
            margin-left: 0.5em;
        }
    }
}
