﻿.grid a {
    position: relative;
    display: inline-block;
    width: 210px;
    padding: 5px;
    margin: 0 0 60px 0;
    vertical-align: top;
    border: 1px solid #D7DEEC;
    height: 250px;
}

    .grid a .ui-icon {
        position: absolute;
        top: calc(50% - 8px);
        left: calc(50% - 8px);
        padding: 5px;
        line-height: 16px;
        border: 2px solid white;
        border-radius: 100%;
        background-position: -2px -162px;
        transition: opacity 0.1s ease-in;
    }

        .grid a .ui-icon:hover {
            opacity: 0.5;
        }

.grid img {
    display: block;
    width: 200px;
    height: auto;
    margin: 0px auto 5px;
}

.grid p {
    display: inline-block;
    width: 75%;
}

.fp-ui {
    border: 1px solid #A6AB80;
}

#rightColumn .circle {
    top: 30%;
    left: 34%;
}

.circle {
    position: absolute;
    background: #808080;
    border-radius: 50px;
    height: 50px;
    width: 50px;
    opacity: 0.5;
    pointer-events: none;
}

.circle-inner {
    position: relative;
    height: 100%;
}

    .circle-inner:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 0 10px 20px;
        border-color: transparent transparent transparent #ffffff;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -7px;
    }

.circle:hover {
    opacity: 1;
}

/* Responsive inline video without padding hacks */
[style*="--aspect-ratio"] > :first-child {
    width: 100%;
}

[style*="--aspect-ratio"] > img {
    height: auto;
}

.videoLink {
    text-align: center;
    max-width: 200px;
    margin-top: 10px;
    display: block;
    font-family: avenir, sans-serif;
    font-size: 16px;
}

#rightColumn .PageArticleContent .video-container p.videoLink {
    max-width: 100%;
}

[data-fancybox] {
    color: black;
}

    [data-fancybox]:visited {
        color: black;
    }

.circle {
    left: 39%;
    top: 34%;
}

.wrapped-video-image {
    position: relative;
}

@supports (--custom:property) {
    [style*="--aspect-ratio"] {
        position: relative;
    }

        [style*="--aspect-ratio"]::before {
            content: "";
            display: block;
            padding-bottom: calc(100% / (var(--aspect-ratio)));
        }

        [style*="--aspect-ratio"] > :first-child {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
        }
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    /* Style the buttons that are used to open the 'three' tabs content */
    .tab button {
        width: 33.3%;
        height: 100%;
        background-color: inherit;
        float: left;
        border: 1px solid #d3d3d3;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ccc;
        }

    /* Style the buttons that are used to open the 'two' tabs content */
    .two-tabs {
        overflow: hidden;
        border: 1px solid #ccc;
        background-color: #f1f1f1;
    }

        .two-tabs button {
            width: 50%;
            height: 100%;
            background-color: inherit;
            float: left;
            border: 1px solid #d3d3d3;
            outline: none;
            cursor: pointer;
            padding: 14px 16px;
            transition: 0.3s;
        }

        /* Change background color of buttons on hover */
            .two-tabs button:hover {
                background-color: #ddd;
            }

        /* Create an active/current tablink class */
            .two-tabs button.active {
                background-color: #ccc;
            }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    transition: display 0.3s ease-in-out;
}
