/**
 * ++++++++++++++++++++++
 * Add-to-Calendar Button
 * ++++++++++++++++++++++
 * 
 * Version: 1.8.4
 * Creator: Jens Kuerschner (https://jenskuerschner.de)
 * Project: https://github.com/jekuer/add-to-calendar-button
 * License: MIT with “Commons Clause” License Condition v1.0
 * 
 */

.atcb {
    display: none;
}

.atcb_button_wrapper {
    display: block;
    padding: 0px;
    position: relative;
}

.atcb_button {
    align-items: center;
    background: #f3f3f3;
    border: none;
    border-radius: 0px;
    color: rgb(51, 51, 51);
    cursor: pointer;
    display: none !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
    max-width: 300px;
    min-width: 150px;
    outline: none !important;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    touch-action: manipulation;
    transform: translateZ(0px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: auto;
    z-index: 1;
}

.atcb_button:focus,
.atcb_button:hover {
    background: #f3f3f3;
    color: #000;
}

.atcb_button:hover {
    background: #fff;
}

@media only screen and (max-width: 575px) {
    .atcb_button {
        font-size: 14px;
    }
}

.atcb_button.atcb_active- {
    background: rgb(255, 255, 255);
    -webkit-box-shadow: 1px 8px 12px 0px rgba(0, 0, 0, .5);
    box-shadow: 1px 8px 12px 0px rgba(0, 0, 0, .5);
    margin: 0;
    padding: 10px 20px 12px 20px;
    transform: perspective(100px) rotateX(12deg) translateZ(1px);
    transition: margin .1s ease-out, padding .1s ease-out, transform .1s ease-out;
    z-index: 160;
}

.atcb_button.atcb_active {
    background: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
    z-index: 160;
}

.atcb_icon {
    height: 16px;
    display: inline-block;
    margin-bottom: 4px;
    margin-right: 10px;
}

.atcb_icon svg {
    height: 100%;
    color: rgb(51, 51, 51);
    width: auto;
}

.atcb_list {
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    display: block;
    max-width: 100%;
    min-width: 10em;
    padding: 0 4px;
    position: absolute;
    transform: translateZ(0px);
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
    z-index: 150;

    left: auto !important;
    padding: 0 !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
}

.atcb_list.atcb_generated_button-- {
    animation: atcb_list_slide .4s ease .05s 1 normal forwards;
    opacity: 0;
}

@keyframes atcb_list_slide {
    0% {
        opacity: 0;
        transform: rotateX(-100deg);
        transform-origin: bottom;
    }

    100% {
        opacity: 1;
        transform: rotateX(0deg);
        transform-origin: bottom;
    }
}

.atcb_list.atcb_modal-- {
    position: fixed;
    width: 16em;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.atcb_list_inner-- {
    padding-bottom: 5px;
    transform: translateY(calc(-100% - 40px));
}

.atcb_list_item-- {
    align-items: center;
    background: rgb(245, 245, 245);
    border: 1px solid rgb(210, 210, 210);
    -webkit-box-shadow: 1px 2px 8px 0px rgba(0, 0, 0, .3);
    box-shadow: 1px 2px 8px 0px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    left: 50%;
    margin-top: -1px;
    /* ugly, but prevents a glitch in some cases */
    position: relative;
    padding: 7px 15px;
    text-align: left;
    transform: translate(-50%);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.atcb_list_item {
    align-items: center;
    background: #fff;
    border: 1px solid #ffffff;
    color: #000;
    cursor: pointer;
    display: flex;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2px;
    padding: 6px 10px;
    text-align: left;
    touch-action: manipulation;
    transition: all 0.3s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.atcb_list_item:focus {
    background: inherit;
}

.atcb_list_item:hover {
    background: #dadada;
    color: #000;
}

@media only screen and (max-width: 575px) {
    .atcb_list_item {
        font-size: 14px;
    }
}

.atcb_list.atcb_generated_button-- .atcb_list_item:last-child {
    padding-bottom: 11px;
}

.atcb_list:not(.atcb_generated_button) .atcb_list_item:first-child {
    border-radius: 0;
}

.atcb_list_item:last-child {
    border-radius: 0;
}

.atcb_list_item .atcb_icon {
    margin-right: 8px;
    width: 18px;
}

.atcb_bgoverlay {
    background: rgba(20, 20, 20, 0);
    bottom: 0;
    height: 150%;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateZ(-10px);
    transition: opacity 0.0s ease-out;
    transition-delay: 0.0s;
    width: 100%;
    z-index: 120;
}

.atcb_bgoverlay.atcb_click:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill-rule='evenodd' d='M11.991.69a2.35 2.35 0 0 1 3.318-.009c.918.911.922 2.392.009 3.307l-4.009 4.014 4.013 4.018c.906.909.893 2.38-.027 3.287a2.35 2.35 0 0 1-3.307-.004l-3.985-3.99-3.993 3.997a2.35 2.35 0 0 1-3.318.009c-.918-.911-.922-2.392-.009-3.307l4.009-4.014L.678 3.98C-.228 3.072-.215 1.6.706.693a2.35 2.35 0 0 1 3.307.004l3.985 3.99z'/%3E%3C/svg%3E") 32 32, pointer;
}