﻿.img360 {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
}

    .img360 img {
        width: auto;
        height: 675px;
        object-fit: cover;
    }

.draggable-container, .pulse-container {
    justify-content: center;
    background-color: #f5f5f5;
    display: flex;
}

#preload-imgs {
    display: none;
}

.preview-360 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 675px;
}

.preview-360.shadow:after {
        content: '\A';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(90deg, rgba(0,0,0,0.7) 20%, rgba(255,255,255,1) 100%);
        opacity: 0.07;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
 }

.preview-360 img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: none;
}


.preview-360 a {
    height: 100px;
    width: 100px;
    z-index: 1;
    background-color: white;
    border-radius: 100%;
}

.preview-360 a:hover {
    background-color: #243066;
    filter: none;
    transition: all 0.2s 0s linear;
}

.preview-360 a:hover:after {
    background-image: url(../imgs/360_white.svg);
    filter: none;
}

.preview-360 a:after {
    position: absolute;
    display: block;
    content: ' ';
    background-image: url(../imgs/360_midnightblue.svg);
    background-size: 65px 65px;
    height: 65px;
    width: 65px;
    position: relative;
    top: 19%;
    left: 16%;
}

.section-links {
    padding: 10px 0 20px 0;
}

.section-link p a {
    color: #243066;
    font-weight: 800;
}
    .section-link p a:hover, .section-link p a:focus {
        animation: none;
        transform: none;
        transition: none;
        text-decoration: underline;
        text-decoration-color: #243066;
        color: #243066;
        border-block-color: #243066;
        border-color: #243066;
        border-block-end-color: #243066;
        border-block-start-color: #243066;
    }

.section-link p a:visited {
    color: #243066;
    text-decoration: underline;
}


.hidden {
    display: none !important;
}

.pulse-container {
    position: relative;
}

.pulse {
    transform: translate(-7px, -7px); 
    position: absolute;
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 0.3vw 0 black;
    animation: none;
}

.pulse:hover {
    animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 white;
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 white;
        box-shadow: 0 0 0 0 white;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}

#overlay-view {
    display: flex;
}

.section-links {
    display: flex;
}













.draggable-container .details-panel {
    position: absolute;
    display: grid;
    width: 90vw;
    margin-left: -200px;
    height: 675px;
    grid-template-columns: 1fr 2% 0.5fr 5%;
    grid-template-rows: 10% 15% auto 1fr 10%;
    background: #e72582;
}



.details-panel .close-detail-panel {
    grid-column-start: 4;
    align-self: center;
    justify-self: end;
    padding-right: 20px;
}

.close-detail-panel:before {
    content: '\00d7';
    color: white;
    font-weight: 600;
    font-family: none;
    font-size: 50px;
    opacity: 0.6;
}

.close-detail-panel:hover {
    cursor: pointer;
}
.close-detail-panel:hover:before {
    opacity: 1;
}

.details-panel .icon {
    grid-column-start: 3;
    grid-row-start: 2;
    height: 100px;
    width: 100px;
    justify-content: start;
    justify-self: start;
    align-self: center;
    display: flex;
    margin-bottom: 30px;
}

    .details-panel .icon img {
        max-width: 100%;
        max-height: 100%;
        align-self: center;
        height: 90px;
        width: 90px;
        opacity: 0.6;
    }

.details-panel .heading {
    grid-column-start: 3;
    grid-row-start: 3;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 44px;

    line-height: 1;
}

.details-panel .media {
    grid-column-start: 1;
    grid-row: 1 / 6;
    background-color: white;
    justify-content: center;
    display: flex;
    align-items: center;
}

    .details-panel .media img {
        height: 100%;
        object-fit: cover;
    }

    .details-panel .media video {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }

.details-panel .copy {
    grid-column-start: 3;
    grid-row-start: 4;
    color: white;
}




video{
   width:100%;
}


.pull-right{
   float:right;
   margin-right:20px;
}


.pull-left{
   float:left;
   margin-left:20px;
}

.draggable-container .details-panel{
   display:flex;
   justify-content:space-between;
   flex-wrap:wrap;
}


.media{
   height:100%;
}

.details-text{
   width:40%;
  padding:40px;
  position:relative;
}

.close-detail-panel{
   position:absolute;
   top:10px;
   right:10px;
}

.details-media{
  width:60%;
}



@media only screen and (min-width:983px){
   [class*="col-"]{
     padding-left:50px;
     padding-right:50px;
  }
}

[class*="col-"]{
   position:relative;
 }
 
  
 .module-container * {
	box-sizing: border-box; 
 }
 







 
 .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}


.pull-left{
   float:left;
}


@media only screen and (max-width:983px){
  #overlay-view{
     display:block!important;
  }
  #overlay-view.hidden{
     display:none!important;
  }
   .pulse-container.details-active .img360{
	      display:none;
      }
   
   
  .draggable-container .details-panel{
	  position:relative;
	  height:auto;
  }
  .details-text, .details-media{
     width:100%;
  }

}

@media only screen and (min-width:984px){
  .col-md-6{
    flex:0 0 50%;
   max-width:50%;
  }
}

