/*
*
* @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.
*
*/

.recurrence-view {

    display: flex;
    align-items: baseline;

    .checkbox {
        display: inline-block;
        margin-top: 0;
    }

    label {
        margin-right: 5px;
    }

    .btn {
        padding-top: 1px;
    }

    .smartphone & {
        .btn-link.summary {
            white-space: normal;
            text-align: left;
            margin-left: 1em;
        }
    }
}

.modal.flex.recurrence-view-dialog .modal-dialog {
    max-width: 780px;
}

.recurrence-view-dialog {

    .text-group {
        padding-top: 16px;
        padding-bottom: 16px;

        .simple-text-view {
            padding-top: 5px;
            font-weight: 500;
        }
    }

    .radio {
        display: inline-block;
        margin-right: 32px;
    }

    .extra-label {
        padding-left: 10px;
    }

    .form-control.small {
        max-width: 50px;
        display: inline-block;
    }

    .btn-group .btn.focus {
        z-index: 10;

        &:not(.active) {
            background-color: transparent;
        }
    }

    legend.control-label {
        border-bottom: none;
    }

    @media (max-width: @smartphone-breakpoint), (max-device-width: @smartphone-breakpoint) {
        .btn-group .btn {
            padding-left: 10px;
            padding-right: 10px;
        }
    }

}
