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

.capture-media.modal.flex {

    .io-ox-busy {
        z-index: 1;
    }

    .modal-body {
        min-height: 500px;
        .smartphone & {
            min-height: initial;
        }
    }

    .modal-body > * {
        margin-bottom: 8px;
    }

    .stream-container {
        display: flex;
        justify-content: center;
        overflow: hidden;
        //min-width: 100%;
        min-height: 466px;
        .smartphone & {
            min-height: initial;
        }

        background-color: @light-silver;
        border: solid 1px @light-silver;
        margin-bottom: 0;
        &.io-ox-busy:before {
            color: @dark-silver;
        }
    }

    .switchcamera {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 24px;
    }

    .hint {
        text-align: center;
    }

    &.blank {
        .modal-body { .flex-center(); };
        .stream-container, .devices { display: none; }
    }
    &:not(.blank) {
        .hint { display: none; }
    }

}
