/**
 * 2018-2020 Alma SAS
 *
 * THE MIT LICENSE
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
 * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
 * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
 * Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 * IN THE SOFTWARE.
 *
 * @author    Alma SAS <contact@getalma.eu>
 * @copyright 2018-2020 Alma SAS
 * @license   https://opensource.org/licenses/MIT The MIT License
 */

.payment_module .alma-button img {
    vertical-align: middle;
    cursor: pointer;
}

.payment-option img[src*="tiny_alma_payment_logos.svg"] {
    height: 25px;
}

.alma-button.disabled {
    opacity: 0.5;
}

.alma-button.disabled img {
    opacity: 0.5;
}

.payment_module a.alma-button {
    display: table !important;
    width: 100%;
    padding-left: 17px;
}

p.payment_module a.alma-button:after {
    display: block;
    content: "\f054";
    position: absolute;
    right: 15px;
    margin-top: -11px;
    top: 50%;
    font-family: "FontAwesome";
    font-size: 25px;
    height: 22px;
    width: 14px;
    color: #777;
}

.alma-button--logo {
    width:1%;
    white-space:nowrap;
}

.alma-button--logo img {
    height: 50px;
}

.alma-button--text {
    padding-left: 10px;
}

.alma-button > span {
    display: table-cell !important;
    vertical-align: middle !important;
}

.alma-button--description {
    font-size: 0.8em;
    opacity: 0.6;
}

.alma-error {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    padding: 15px;

    font-weight: bold;
    font-size: 1.2em;
    text-align: center;

    background: rgba(77, 133, 229, 0.9);
    color: white;

    z-index: 9999;
}

.alma-error--close-btn {
    position: absolute;
    top: 50%;
    margin-top: -10px;
    right: 10px;
    height: 20px;
    width: 20px;
    font-size: 2em;
    line-height: 0.5em;
    vertical-align: top;

    cursor: pointer;
}
