.shortcode.ramm-at-a-glance * {
    box-sizing: border-box;
}

.shortcode.ramm-at-a-glance .grid-holder {
    width: 100%;
    overflow: hidden;
}

.shortcode.ramm-at-a-glance .grid-square {
    float: left;
    width: 25%;
    position: relative;
    background-color: #545759;
}

.shortcode.ramm-at-a-glance .grid-square::before {
    content: "";
    display: block;
    float: left;
    width: 0;
    height: 0;
    padding-bottom: 100%;
}

.shortcode.ramm-at-a-glance .grid-square::after {
    content: "";
    clear: both;
}

.shortcode.ramm-at-a-glance .grid-square.region.is-hovered {
    background-color: rgba(0,115,170,0.4);
}

.shortcode.ramm-at-a-glance .grid-square.region.is-selected {
    background-color: rgba(0,115,170,0.7);
}

.shortcode.ramm-at-a-glance .grid-square-content {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    padding: 12px;
}

.shortcode.ramm-at-a-glance .grid-square.region .grid-square-content {
    border-style: none; /*solid;*/
    border-color: #0073aa;
}

.shortcode.ramm-at-a-glance .grid-square-content .grid-square-body {
    padding: 12px;
    background-color: #FFF;
    width: 100%;
    height: 100%;
    position: relative;
}

.shortcode.ramm-at-a-glance .grid-square-content .grid-square-body img {
    position: absolute;
    top: 0px;
    left: 0px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0 !important;
}

.shortcode.ramm-at-a-glance .cover-square {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #FFF;
    transition: 0.7s linear;
}

.shortcode.ramm-at-a-glance .cover-square.is-full {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.shortcode.ramm-at-a-glance .region-content {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: #FFF;
    border: 12px solid #545759;
    padding: 20px;
    z-index: -1;
    opacity: 0;
    transition: 1.2s linear;
}

.shortcode.ramm-at-a-glance .region-content.is-shown {
    opacity: 1;
    z-index: 20;
}

.shortcode.ramm-at-a-glance .region-content .object-list {
    width: calc(100% + 12px);
    margin-left: -12px !important;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    position: relative;
    max-height: calc(100% - 50px);
    overflow-y: auto;
}

.shortcode.ramm-at-a-glance .region-content .object-list li {
    width: 33.333%;
    padding-left: 12px;
    float: left;
    opacity: 1;
    transition: opacity 0.4s linear;
    background-color: #FFF;
}

.shortcode.ramm-at-a-glance .region-content .object-list li:before {
    content: initial;
}

.shortcode.ramm-at-a-glance .region-content .object-list li.is-hidden {
    opacity: 0;
}

.shortcode.ramm-at-a-glance .region-content .object-list li h3 .pink {
    color: #dc2b91;
}

.shortcode.ramm-at-a-glance .region-content .object-list li img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    margin: 0 !important;
    float: none;
}

.shortcode.ramm-at-a-glance .region-content .object-content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: calc(100% - 50px); /* the height of the .nav-controls */
    z-index: -1;
    opacity: 0;
    background-color: #FFF;
    padding: 20px;
    transition: opacity 0.6s linear;
}

.shortcode.ramm-at-a-glance .region-content .object-content.is-shown {
    opacity: 1;
    z-index: 20;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content {
    float: left;
    width: 50%;
    padding-right: 12px;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content h3 .pink {
    color: #dc2b91;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-image-slider {
    position: relative;
    width: 100%;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-image-slide {
    position: relative;
    width: 100%;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-image-slide img {
    max-width: 100%;
    height: auto !important;
    margin: 0 !important;
    display: block;
    float: none;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-image-slide audio {
    width: 100%;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls {
    width: 100%;
    position: relative;
    float: left;
    display: flex;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control {
    width: auto;
    flex-grow: 1;
    display: flex;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control.previous {
    justify-content: flex-start;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control.next {
    justify-content: flex-end;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control a {
    display: block;
    line-height: 42px;
    font-size: 20px;
    padding: 0 12px 0 0;
    text-decoration: none;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control a.not-active {
    opacity: 0.3;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control a .fa {
    color: #dc2b91;
}

.shortcode.ramm-at-a-glance .region-content .object-content .image-content .at-a-glance-slider-controls .at-a-glance-slider-control a.not-active .fa {
    color: rgb(51, 51, 51);
}

.shortcode.ramm-at-a-glance .region-content .object-content .text-content {
    float: right;
    width: 50%;
    padding-left: 12px;
    max-height: 100%;
    overflow-y: auto;
}

.nav-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    text-align: center;
}

.nav-controls.is-shown {
    display: block;
}

.nav-controls a {
    display: inline-block;
    line-height: 50px;
    text-decoration: none;
    padding: 0 12px;
    font-size: 24px;
}

.nav-controls .fa {
    color: #dc2b91;
}

.nav-controls .back-link {
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: none;
}

.nav-controls .back-link.is-shown {
    display: inline-block;
}

.nav-controls .next-link {
    position: absolute;
    right: 0px;
    bottom: 0px;
    display: none;
}

.nav-controls .next-link.is-shown {
    display: inline-block;
}

/* fullscreen mode */
.shortcode.ramm-at-a-glance.fullscreen .grid-holder {
    max-width: 100vh; /* assuming we are always a square */
    display: block;
    position: relative;
    margin: 0 auto;
    float: none;
}

.shortcode.ramm-at-a-glance .view-full-screen-button .alt-label {
    display: none;
}

.shortcode.ramm-at-a-glance.is-fullscreen .view-full-screen-button .alt-label {
    display: inline;
}

.shortcode.ramm-at-a-glance.is-fullscreen .view-full-screen-button .default-label {
    display: none;
}
