/*
 * Layout
 */
 /* Layout -> containers */
.contact-message-contact-form, #block-contactformtext, .team-grid, .article-list, .block-content article:not(.node-type-homepage), .header .container, .footer .container, .page-header .container,  .node-type-homepage section .container {
  position: relative;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 10px;
 }

 .block-content article:not(.node-type-homepage) { padding-bottom: 4rem; }

 .block-content article.node-type-homepage section .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
 }

 /* Layout -> Main wrapper (Main + Sidebar) */
 .main-wrapper {
  position: relative;
  display: block;
  padding: 2rem 0;
}
.main-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.5rem;
}
/* Main
--------------------------------*/
#main {
 position: relative;
 -webkit-box-ordinal-group: 1;
     -ms-flex-order: 0;
         order: 0;
}
#sidebar-left {
 -webkit-box-ordinal-group: 2;
     -ms-flex-order: 1;
         order: 1;
}
#sidebar-right {
 -webkit-box-ordinal-group: 3;
     -ms-flex-order: 2;
         order: 2;
}
/* No sidebar + main */
.no-sidebar #main,
.sidebar-left #main,
.sidebar-right #main,
.two-sidebar #main,
#sidebar-left,
#sidebar-right {
 -webkit-box-flex: 1;
     -ms-flex: 1 1 100%;
         flex: 1 1 100%;
 width: 100%;
}
#front-main {
 -webkit-box-flex: 1;
     -ms-flex: 1 1 100%;
         flex: 1 1 100%;
 width: 100%;
 margin: 0;
}

/* Frontpage with Sidebar
--------------------------------*/
.front-content-with-sidebar {
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
}

.team-grid { display: flex; flex-wrap: wrap; }

.team-grid > header { width: 100%; margin-bottom: 3rem; }

.team-grid > .staff-members { margin-bottom: 2rem; }

@media (min-width: 768px) {


.team-grid > .staff-members { width: 30%; margin-right: 5%; margin-bottom: 2rem; }

}
.team-grid > .staff-members:nth-of-type(3n) { margin-right: 0%; }

.page-type-homepage .page-header {     background: #194223; }

.page-type-homepage .block-content .node-type-homepage { padding: 0; }


.page-type-homepage .block-content .node-type-homepage { padding: 0; }


.page-type-homepage .block-content .node-type-homepage .green {  background: #194223; color: white;  }

.page-type-homepage .block-content .node-type-homepage .green h1 { color: white; }

.homepage-menu { display: flex; justify-content: space-between; list-style: none; font-size: 1.5rem; 
    margin: 2rem auto;
    max-width: 1000px;}

.homepage-menu a { 
  padding: 4px 0;
  width: 20%; 
  text-align: center;
}


.article-list { display: flex; flex-wrap: wrap; margin-bottom: 4rem; }

.article-list header {
  width: 100%;
}

@media (min-width: 768px) {

.article-list .views-row { width: 30%; margin-right: 5%; }
.article-list .views-row:nth-of-type(3n) { width: 30%; margin-right: 0; }
}


.node-submitted-details {     margin-bottom: 1rem; }

.homepage-menu a { background-repeat: no-repeat; background-position: center;     padding: 100px 0;
    width: 23%; background-size: 100%; display: flex; }

.homepage-menu div p {     text-align: center;
    margin: auto; font-size: 1.5rem; }

@media (max-width: 1024px) {
  .homepage-menu a { 
  padding: 120px 0;
  width: 27%;
}
}

@media (max-width: 768px) {

  .homepage-menu { display: flex; flex-direction: column; max-width: 300px; }

  .homepage-menu a { display: block; width: 100%; margin: 0 auto; width: 171px;
        padding: 75px 0; }
}

.teaser p { font-size: 1.1rem; }

.homepage-menu a:nth-of-type(1) { background-image: url(/themes/custom/thex/images/circle1.jpg); -webkit-transition: background-image 0.2s ease-in-out, color 0.2s ease-in-out;
transition: background-image 0.2s ease-in-out; }

.homepage-menu a:nth-of-type(1):hover { background-image: url(/themes/custom/thex/images/circle1-hover.jpg); }

.homepage-menu a:nth-of-type(2):hover { background-image: url(/themes/custom/thex/images/circle2-hover.jpg); }
.homepage-menu a:nth-of-type(3):hover { background-image: url(/themes/custom/thex/images/circle3-hover.jpg); }

.homepage-menu a:nth-of-type(2) { background-image: url(/themes/custom/thex/images/circle2.jpg);-webkit-transition: background-image 0.2s ease-in-out, color 0.2s ease-in-out; }

.homepage-menu a:nth-of-type(3) { background-image: url(/themes/custom/thex/images/circle3.jpg);-webkit-transition: background-image 0.2s ease-in-out, color 0.2s ease-in-out; }


@media (max-width: 992px) {
  .homepage-menu li { background: none!important; }
}


.homepage-menu a div { margin: auto; }

.homepage-menu a { color: white; }

.homepage-menu a:hover { color: #194223; }


.article-teaser .node-title { font-size: 1.4rem; }

.map { position: relative; }

.locations > div { position: absolute;  }

.locations > div > p { display: none; }

.locations > div svg {     background: white;
    border-radius: 200px;
    width: 20px;
    padding: 4px;
    cursor: pointer; }


.locations a:before {    content: "";
    background-color: transparent;
    border: 2px solid white;
    height: 28px;
    width: 28px;
    border-radius: 20px;
    position: absolute;
    top: 12px;
    left: 12px;
    -webkit-transform: scale(1, 1);
    -webkit-animation-name: touchpoint;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: ease-out;
    -webkit-animation-iteration-count: infinite;
    transform: scale(1, 1);
    animation-name: touchpoint;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    border-radius: 57px;
    content: "";
    height: 36px;
    left: 0px;
    position: absolute;
    top: 0px;
    transform: scale(1);
    width: 28px;
    opacity: 0;
}

@keyframes touchpoint {
  0% {
    transform: scale(1, 1);
    opacity: 1; }
  100% {
    transform: scale(2, 2);
    opacity: 0; } 
}


#lasvegas {     top: 52%;
    left: 12%; }


/*
Photomap
*/

.photomap ol, .photomap li { list-style: none; }
.photomap {
    position: relative;
    margin-bottom: 0;
}
.photomap img {
    display: block;
    width: 100%;
    float: none;
}
.photomap .is-open {
    z-index: 10;
}
.photomap a svg {
    display: block;
    width: 14px;
    height: 14px;
}
.photomap path {
    -moz-transition: fill-opacity 0.2s;
     -ms-transition: fill-opacity 0.2s;
      -o-transition: fill-opacity 0.2s;
 -webkit-transition: fill-opacity 0.2s;
         transition: fill-opacity 0.2s;
}
.photomap .bg,
.photomap .is-open .stroke {
}
.photomap .stroke,
.photomap .is-open .bg {
    fill-opacity: 1;
}
.photomap p {
    border: 1px solid #DCDCDC;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.33333333333333333333;    /* 24/18 */
    padding: 0.5em;
}

.enhanced .features-building .heading-client,
.enhanced .photomap-info .heading-client {
    display: none;
}
.enhanced .features-building {
    display: none;
}
.enhanced .list-features li {
    margin-bottom: 0;
}
.enhanced .list-features {
    margin: 0;
}
.enhanced [data-set="photomap-features"] .list-features li:before {
    content: "";
}
.enhanced .photomap-info p {
    display: none;
}
.photomap-captions {
    padding: 0;
    margin: 0 auto;
}
.enhanced .photomap-captions p {
    margin: 0;
    max-height: 0;
    -moz-transition: max-height 0.2s;
     -ms-transition: max-height 0.2s;
      -o-transition: max-height 0.2s;
 -webkit-transition: max-height 0.2s;
         transition: max-height 0.2s;
    overflow: hidden;
}
.enhanced .photomap-captions span {
    background: white;
    border: 1px solid #DCDCDC;
    display: block;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.3;
    padding: 0.5em 0.3em;
    margin: 1em;
}
.enhanced .photomap-captions p.is-open {
    max-height: 10em;
}
.photomap-info li:after {
    background: #DCDCDC;
    bottom: -1em;
    content: "";
    left: inherit;
    margin-left: 20px;
    margin-top: 1em;
    max-height: 0;
    position: absolute;
    -moz-transition: max-height 0.2s;
    -ms-transition: max-height 0.2s;
    -o-transition: max-height 0.2s;
    -webkit-transition: max-height 0.2s;
    transition: max-height 0.2s;
    top: inherit;
    width: 1px;
    z-index: 0;
}
.photomap-info li:before {
    content: "";
}
.photomap-info li.is-open:after {
    max-height: 20em;
}
@media (min-width: 37.5em) {
    .enhanced .photomap-info p {
        display: block;
    }
    .enhanced .photomap-captions p {
        display: none;
    }
    .enhanced .features-building p {
        display: block;
    }
}
[data-enhanced-photomap] .photomap {
    margin: 0;
    padding: 0;
}
[data-enhanced-photomap] .photomap li {
    list-style: none;
}
[data-enhanced-photomap] .photomap-info a, .data-touchpoint a {
    border-radius: 50%;
    border: 2px solid #FFF;
    display: block;
    padding: 0.5em;
    padding: 10px;
    position: absolute;
    z-index: 1;
    -moz-transition: background-color 0.2s, transform 0.2s;
    -ms-transition: background-color 0.2s, transform 0.2s;
    -o-transition: background-color 0.2s, transform 0.2s;
    -webkit-transition: background-color 0.2s, transform 0.2s;
    transition: background-color 0.2s, transform 0.2s;
}

.data-touchpoint a {
    position: relative;
}

.photomap-info a:before {
    content: "";
    background-color: transparent;
    border: 2px solid white;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    position: absolute;
    top: 12px;
    left: 12px;
    -webkit-transform: scale(1, 1);
    -webkit-animation-name: touchpoint;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: ease-out;
    -webkit-animation-iteration-count: infinite;
    transform: scale(1, 1);
    animation-name: touchpoint;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    border-radius: 57px;
    content: "";
    height: 36px;
    left: 0px;
    position: absolute;
    top: 0px;
    transform: scale(1);
    width: 36px;
    opacity: 0;
}

@keyframes touchpoint {
  0% {
    transform: scale(1, 1);
    opacity: 1; }
  100% {
    transform: scale(2, 2);
    opacity: 0; } 
}

.data-touchpoint {
    position: relative;
    /* right: 1em; */
    width: 36px;
    margin: 1em 0 0;
}

.data-touchpoint a {
    height: 20px;
    background-color: rgba(80,88,99,.5);
    padding: 6px;
}

.photomap a {
    background-color: white;
}

.photomap a:hover, .photomap .is-open a {
    background: #def96b;
}

.photomap-info a:before, .data-touchpoint:before {
    content: "";
    background-color: transparent;
    border: 2px solid white;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    position: absolute;
    top: 12px;
    left: 12px;
    -webkit-transform: scale(1, 1);
    -webkit-animation-name: touchpoint;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: ease-out;
    -webkit-animation-iteration-count: infinite;
    transform: scale(1, 1);
    animation-name: touchpoint;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    border-radius: 57px;
    content: "";
    height: 36px;
    left: 0px;
    position: absolute;
    top: 4px;
    transform: scale(1);
    width: 36px;
    opacity: 0;
    content: none!important;
}

@media (max-width: 768px) {
  .photomap-info a:before, .data-touchpoint:before {
    height: 32px;
    left: 1px;
    position: absolute;
    top: 5px;
    transform: scale(1);
    width: 32px;
  }
}

.data-touchpoint svg {
    cursor: pointer;
    display: block;
    height: 20px;
    width: 20px;
}

.data-touchpoint:before {
    animation-duration: 3s;
    border: 2px solid rgba(75, 87, 99, 0.5686274509803921);
    animation-name: touchpointSmall;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.is-open.data-touchpoint:before {
    animation: none;
}

@keyframes touchpointSmall {
  0% {
    transform: scale(1, 1);
    opacity: 1; }
  100% {
    transform: scale(1.3, 1.3);
    opacity: 0; } 
}

@keyframes touchpoint {
  0% {
    transform: scale(1, 1);
    opacity: 1; }
  100% {
    transform: scale(2, 2);
    opacity: 0; } 
}

[data-enhanced-photomap] .photomap-info a {
    position: absolute;
}

[data-enhanced-photomap] .photomap-info .is-open a, .data-touchpoint.is-open a {
    outline: none;
    -webkit-transform: rotate( -45deg );
    transform: rotate( -45deg );
}

[data-enhanced-photomap] .photomap-info .is-open a:before {
    animation: none;
}

.enhanced .photomap-info p {
    left: 1em;
    margin: -1em 0 0;
    opacity: 0;
    position: absolute;
    right: 1em;
    top: 100%;
    -moz-transition: transform 0.2s, opacity 0.2s;
     -ms-transition: transform 0.2s, opacity 0.2s;
      -o-transition: transform 0.2s, opacity 0.2s;
 -webkit-transition: transform 0.2s, opacity 0.2s;
         transition: transform 0.2s, opacity 0.2s;
    -moz-transform: translateY( 10px );
     -ms-transform: translateY( 10px );
      -o-transform: translateY( 10px );
 -webkit-transform: translateY( 10px );
         transform: translateY( 10px );
    pointer-events: none;
    z-index: 1;
}
[data-enhanced-photomap] .photomap-info .far-y p {
    -moz-transform: translateY( -10px );
     -ms-transform: translateY( -10px );
      -o-transform: translateY( -10px );
 -webkit-transform: translateY( -10px );
         transform: translateY( -10px );
}
[data-enhanced-photomap] .photomap-info .is-open p {
    opacity: 1;
    -moz-transform: translateY( 0 );
     -ms-transform: translateY( 0 );
      -o-transform: translateY( 0 );
 -webkit-transform: translateY( 0 );
         transform: translateY( 0 );
    pointer-events: auto;
}
/* IE (sub-11) doesn’t support pointer-events, so we’ll edit the stacking order instead. (And lose the closing transition, alas, but.) */
.ie [data-enhanced-photomap] .photomap-info p {
    z-index: -1;
}
.ie [data-enhanced-photomap] .photomap-info .is-open p {
    z-index: 1;
}
@media (min-width: 37.5em) {
    [data-enhanced-photomap] .photomap-info li {
        position: absolute;
    }
    .photomap-info li:after {
        bottom: -3em;
        left: 50%;
        margin-left: 0;
        margin-top: 0;
        top: 100%;
    }
    [data-enhanced-photomap] .photomap-info a {
        left: inherit !important;
        padding: 16px;
        padding: .3rem;
        position: static;
        top: auto !important;
    }
    [data-enhanced-photomap] .photomap-info p {
        margin: 2em 0 0 -8em;
        background: white;
        font-size: 1rem;        
        width: 22em;
        font-size: .9rem;
    }
    /* .far-x - if an element’s more than 70% across the x-axis, align the caption against the right edge of the link. */
    [data-enhanced-photomap] .photomap-info .far-x p {
        margin-left: -12em;
    }
    /* .near-x - if an element’s under 30% along the x-axis, align the caption against the left edge of the link. */
    [data-enhanced-photomap] .photomap-info .near-x p {
        margin-left: -1em;
        background: white;
    }
    /* .far-y - if an element’s more than 60% down the y-axis, put the caption ABOVE the link. */
    [data-enhanced-photomap] .photomap-info .far-y p {
                top: auto;
        bottom: 5rem;
    }
    [data-enhanced-photomap] .photomap-info .far-y:after {
        top: -3em;
        bottom: 100%;
    }
}

.viz-extra-caption {
    border: 1px solid silver;
    transition: .2s all linear;
    z-index: 1;
}

.viz-extra-caption p {
    margin: 0;
    text-align: left;
}

.data-touchpoint:after {
    content: "";
    height: 100px;
    width: 1px;
    background: silver;
    position: absolute;
    transition: .5s all linear;
    height: 0px;
    top: 5px;
    left: 50%;
}

.data-touchpoint.is-open:after {
    height: 66px;
}

.viz-extra-caption {
    height: 0;
    overflow: hidden;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    transition: .2s opacity linear;


}

.viz-extra-caption + p {
    margin-top: 1em;
}

.viz-extra-caption.active {
    height: auto;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
}

.viz-extra-caption.active p {
    margin: .5rem;
}
.photomap-info .list-features li {
  list-style: none;
}

.photomap-info .list-features li:nth-of-type(2) {
    animation-delay: 1s;
}

.photomap-info .list-features li:nth-of-type(3) {
    animation-delay: 2s;
}

.photomap-info .list-features li:nth-of-type(4) {
    animation-delay: 3s;
}

.photomap-info .list-features li:nth-of-type(5) {
    animation-delay: 4s;
}

.photomap:hover .list-features li {
    animation: none;
}

@keyframes pulse {
    0% {transform: scale(1, 1);}
    5% {transform: scale(1.1, 1.1);}
    10% {transform: scale(1, 1);}
    50% {transform: scale(1, 1);}
    100% {transform: scale(1, 1);}
}

.interactive-map { display: none!important; }

.photomap-info { display: none!important; }


@media (min-width: 700px) {
  
  .interactive-map {
    display: block!important;
  }

  .mobile-map {
    display: none!important;
  }

  .photomap-info { display: block!important; }


}


.two-column-list { display: flex; flex-wrap: wrap; padding: 0; list-style: none; }

.two-column-list li { padding-bottom: 1rem; }

@media (min-width: 600px) {
.two-column-list li { width: 45%; margin-right: 10%; padding-bottom: 1rem; }

.two-column-list li:nth-of-type(even) { margin-right: 0; }

}


.two-column-list strong { font-size: 1.1rem; }

.node-type-article .image-field {     float: left;
    width: 38%;
    margin: 0 2rem 1rem 0; }

@media (min-width: 600px) {
  .node-type-article .image-field {     
    float: left;
    width: 38%;
    margin: 0 2rem 1rem 0; }


}


.fsLabel { width: 100%;
    margin-bottom: .8rem; }

.fsFieldCell { flex-wrap: wrap; }

.fsSubFieldGroup { display: flex; width: 100%; margin-bottom: 2rem; justify-content: space-between; }

.fsSubFieldGroup { width: 45%; }

.fsSubFieldGroup input {     width: 100%;
}

.node-36 iframe {     margin-top: -8rem;
    margin-left: -3rem;}

.node-36 .page-header {
    z-index: 9;
    background: #f7f0ea;
  }
