﻿/* LAYOUT */

label.checkbox {
    display: block;
    position: relative;
    padding-left: 50px;
    line-height: 27px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #394648;
    margin-left: 20px;
}

    label.checkbox.small {
        display: block;
        position: relative;
        padding-left: 30px;
        line-height: 18px;
        margin-bottom: 12px;
        cursor: pointer;
        font-weight: normal;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: #394648;
        margin-left: 0px;
    }

    label.checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    label.checkbox .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        background-color: white;
        border: 1px solid #394648;
        border-radius: 1px;
    }

    label.checkbox.small .checkmark {
        height: 16px;
        width: 16px;
    }

    label.checkbox.error .checkmark {
        border-color: #ff0000;
    }

    label.checkbox:hover input ~ .checkmark {
        background-color: #BFBDC1;
    }

    /* When the checkbox is checked, add a blue background */
    label.checkbox input:checked ~ .checkmark {
        background-color: white;
    }

    /* Create the checkmark/indicator (hidden when not checked) */
    label.checkbox .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    label.checkbox input:checked ~ .checkmark:after {
        display: block;
    }

    /* Style the checkmark/indicator */

    label.checkbox .checkmark:after {
        left: 4px;
        top: -6px;
        width: 14px;
        height: 24px;
        border: solid #41B6B2;
        border-width: 0 6px 6px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    label.checkbox.small .checkmark:after {
        border-width: 0 3px 3px 0;
        left: 2px;
        top: -7px;
        width: 12px;
        height: 18px;
    }

label.radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    label.radio input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    /* Create a custom radio button */
    label.radio .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 26px;
        width: 26px;
        background-color: white;
        border-radius: 50%;
        border: 1px solid black;
        box-sizing: border-box;
    }

    label.radio.small .checkmark {
        height: 18px;
        width: 18px;
    }

    .page-module-order #pageContent .ship-pay.active table tr:hover label.radio input ~ .checkmark,
    .page-module-cart #gifts-modal .gift:hover label.radio input ~ .checkmark,
    label.radio:hover input ~ .checkmark {
        background-color: #ccc;
    }

    label.radio input:checked ~ .checkmark {
        background-color: white;
    }

    label.radio .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    label.radio input:checked ~ .checkmark:after {
        display: block;
    }

    label.radio .checkmark:after {
        top: 4px;
        left: 4px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #41B6B2;
    }

    label.radio.small .checkmark:after {
        top: 3px;
        left: 3px;
        width: 10px;
        height: 10px;
    }