.hexbg{
  background-color: #5bc9c9;
  background-image: url("/img/conference/pentagon_pattern.jpg");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
a {
  cursor: pointer;
}
.g-bg-color--grey{
  background: #f2f2f2;
  background-size: cover;
}
@media (min-width: 62em) {
  #timeline {
    margin-bottom: -50px;
  }
}
@media (min-width: 34em) {
  #timeline {
    margin-bottom: -10px;
  }
}
@media (min-width: 48em) {
  #timeline {
    margin-bottom: -20px;
  }
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  font-size: 40px;
  top: -20px;
  right: 50%;
}

@media screen and (max-height: 450px) {
  .overlay {
    overflow-y: auto;
  }
  .overlay a {
    font-size: 20px
  }
  .overlay .closebtn {
    font-size: 40px;
  top: -20px;
  right: 50%;
  }
}


    .right-content, .left-content {
      float: left;
      display: block;
      width: 50%;
      padding: 1% 2%;
    }
    .left-content {
      border-right: 5px dotted #666;
      text-align: right;
    }
    .right-content{
      text-align: left;
    }
    .left-content p {
      margin: 150px 0 0;
    }
    .right-content p {
      margin: 80px 0 150px;
    }
    .container p {
      -webkit-transition: all 0.7s ease-in-out;
      -moz-transition: all 0.7 ease-in-out;
      -ms-transition: all 0.7s ease-in-out;
      -o-transition: all 0.7s ease-in-out;
      transition: all 0.7s ease-in-out;
    }
    .left-content .more-padding {
      padding-right: 100px;
    }
    .right-content .more-padding {
      padding-left: 100px;
    }
    .myright{
      margin-right: -55px !important;
    }
    .myleft{
      margin-left: -55px !important;
    }
    @media (max-width: 34em) {
      .myright{
      margin-right: 0px !important;
    }
    .myleft{
      margin-left: 0px !important;
    }
    }
/*-----------------------------------------------------------------------------*/
*,
*::before,
*::after {
box-sizing: border-box;
}

body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background: #ffffff;
}

.timeline {
position: relative;
width: 100%;
max-width: 1140px;
margin: 0 auto;
padding: 15px 0;
}

.timeline::after {
content: '';
position: absolute;
width: 2px;
background: #006E51;
top: 0;
bottom: 0;
left: 50%;
margin-left: -1px;
}

.contain {
padding: 15px 30px;
position: relative;
background: inherit;
width: 50%;
}

.contain.left {
left: 0;
}

.contain.right {
left: 50%;
}

.contain::after {
content: '';
position: absolute;
width: 16px;
height: 16px;
top: calc(50% - 8px);
right: -8px;
background: #ffffff;
border: 2px solid #006E51;
border-radius: 16px;
z-index: 1;
}

.contain.right::after {
left: -8px;
}

.contain::before {
content: '';
position: absolute;
width: 50px;
height: 2px;
top: calc(50% - 1px);
right: 8px;
background: #006E51;
z-index: 1;
}

.contain.right::before {
left: 8px;
}

.contain .date {
position: absolute;
display: inline-block;
top: calc(50% - 8px);
text-align: center;
font-size: 14px;
font-weight: bold;
color: #006E51;
text-transform: uppercase;
letter-spacing: 1px;
z-index: 1;
}

.contain.left .date {
right: -200px;
}

.contain.right .date {
left: -75px;
}

.contain .icon {
position: absolute;
display: inline-block;
width: 40px;
height: 40px;
padding: 9px 0;
top: calc(50% - 20px);
background: #F6D155;
border: 2px solid #006E51;
border-radius: 40px;
text-align: center;
font-size: 18px;
color: #006E51;
z-index: 1;
}

.contain.left .icon {
right: 56px;
}

.contain.right .icon {
left: 56px;
}

.contain .content {
padding: 30px 90px 30px 30px;
background: #F6D155;
position: relative;
border-radius: 0 500px 500px 0;
}

.contain.right .content {
padding: 30px 30px 30px 90px;
border-radius: 500px 0 0 500px;
}

.contain .content h2 {
margin: 0 0 10px 0;
font-size: 18px;
font-weight: normal;
color: #006E51;
}

.contain .content p {
margin: 0;
font-size: 16px;
line-height: 22px;
color: #000000;
}

@media (max-width: 767.98px) {
.timeline::after {
left: 90px;
}

.contain {
width: 100%;
padding-left: 120px;
padding-right: 30px;
}

.contain.right {
left: 0%;
}

.contain.left::after,
.contain.right::after {
left: 82px;
}

.contain.left::before,
.contain.right::before {
left: 100px;
border-color: transparent #006E51 transparent transparent;
}

.contain.left .date,
.contain.right .date {
right: auto;
left: 15px;
}

.contain.left .icon,
.contain.right .icon {
right: auto;
left: 146px;
}

.contain.left .content,
.contain.right .content {
padding: 30px 30px 30px 90px;
border-radius: 500px 0 0 500px;
}
}
/*-------------------------------------------------------------------------------*/


.cry{
margin-top: -50px;
}
@media(max-width: 500px){
.cry{
margin-top: -2px;
}
}
.line-title {
position: relative;
width: 400px;
}
.line-title::before,
.line-title::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
height: 4px;
border-radius: 2px;
}
.line-title::before {
width: 100%;
background: #f2f2f2;
}
.line-title::after {
width: 32px;
background: #e73700;
}

.col-centered {
float: none;
margin: 0 auto;
}

.carousel-control {
width: 8%;
width: 0px;
}
.carousel-control.left,
.carousel-control.right {
margin-right: 40px;
margin-left: 32px;
background-image: none;
opacity: 1;
}
.carousel-control > a > span {
color: white;
font-size: 29px !important;
}

.carousel-col {
position: relative;
min-height: 1px;
padding: 5px;
float: left;
}

.active > div { display:none; }
.active > div:first-child { display:block; }

/*xs*/
@media (max-width: 767px) {
.carousel-inner .active.left { left: -50%; }
.carousel-inner .active.right { left: 50%; }
.carousel-inner .next        { left:  50%; }
.carousel-inner .prev		     { left: -50%; }
.carousel-col                { width: 50%; }
.active > div:first-child + div { display:block; }
}

/*sm*/
@media (min-width: 768px) and (max-width: 991px) {
.carousel-inner .active.left { left: -50%; }
.carousel-inner .active.right { left: 50%; }
.carousel-inner .next        { left:  50%; }
.carousel-inner .prev		     { left: -50%; }
.carousel-col                { width: 50%; }
.active > div:first-child + div { display:block; }
}

/*md*/
@media (min-width: 992px) and (max-width: 1199px) {
.carousel-inner .active.left { left: -33%; }
.carousel-inner .active.right { left: 33%; }
.carousel-inner .next        { left:  33%; }
.carousel-inner .prev		     { left: -33%; }
.carousel-col                { width: 33%; }
.active > div:first-child + div { display:block; }
.active > div:first-child + div + div { display:block; }
}

/*lg*/
@media (min-width: 1200px) {
.carousel-inner .active.left { left: -25%; }
.carousel-inner .active.right{ left:  25%; }
.carousel-inner .next        { left:  25%; }
.carousel-inner .prev		     { left: -25%; }
.carousel-col                { width: 25%; }
.active > div:first-child + div { display:block; }
.active > div:first-child + div + div { display:block; }
.active > div:first-child + div + div + div { display:block; }
}

.block {
width: 306px;
height: 230px;
}

.red {background: red;}

.blue {background: blue;}

.green {background: green;}

.yellow {background: yellow;}

@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:200,900');

:root {
--text-color: hsla(210, 50%, 85%, 1);
--shadow-color: hsla(210, 40%, 52%, .4);
--btn-color: hsl(210, 80%, 42%);
--bg-color: #ff1a75;
}

button {
position:relative;
padding: 10px 20px;
border: none;
background: none;
cursor: pointer;

font-family: "Source Code Pro";
font-weight: 900;
text-transform: uppercase;
font-size: 30px;
color: var(--text-color);

background-color: var(--btn-color);
box-shadow: var(--shadow-color) 2px 2px 22px;
border-radius: 4px;
z-index: 0;
overflow: hidden;
}

button:focus {
outline-color: transparent;
box-shadow: var(--btn-color) 2px 2px 22px;
}

.rght::after, button::after {
content: var(--content);
display: block;
position: absolute;
white-space: nowrap;
padding: 40px 40px;
pointer-events:none;
}

button::after{
font-weight: 200;
top: -30px;
left: -20px;
}

.rght, .lft {
position: absolute;
width: 100%;
height: 100%;
top: 0;
}
.rght {
left: 66%;
}
.lft {
right: 66%;
}
.rght::after {
top: -30px;
left: calc(-66% - 20px);

background-color: var(--bg-color);
color:transparent;
transition: transform .4s ease-out;
transform: translate(0, -90%) rotate(0deg)
}

button:hover .rght::after {
transform: translate(0, -47%) rotate(0deg)
}

button .rght:hover::after {
transform: translate(0, -50%) rotate(-7deg)
}

button .lft:hover ~ .rght::after {
transform: translate(0, -50%) rotate(7deg)
}

/* bubbles */
button::before {
content: '';
pointer-events: none;
opacity: .6;
background:
radial-gradient(circle at 20% 35%,  transparent 0,  transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
radial-gradient(circle at 75% 44%, transparent 0,  transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
radial-gradient(circle at 46% 52%, transparent 0, transparent 4px, var(--text-color) 5px, var(--text-color) 6px, transparent 6px);

width: 100%;
height: 300%;
top: 0;
left: 0;
position: absolute;
animation: bubbles 5s linear infinite both;
}

@keyframes bubbles {
from {
transform: translate();
}
to {
transform: translate(0, -66.666%);
}
}
#video {
padding: 0px !important; margin: 0px !important;
background-position: center center;
min-width: 100vw !important;
min-height: 100%;
}
:root {
--primary-color: #80d1f7;
}

.showcase {
width: 100%;
min-height: 100vh;
display: flex;
justify-content: space-between;
align-items: center;
background: #111;
transition: 0.5s;
position: relative;
}
.showcase.active {
}

/*.showcase video {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.8;
}*/
.overay {
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(to right,rgba(0, 0, 0, 0.5) 50% ,var(--primary-color));
mix-blend-mode: overlay;
}

/*****Topic******/


.moreinfo{
border-left: 4px inset #b99769;
}

.home-hero {
display: grid;
grid-gap: 1px;
grid-auto-rows: minmax(150px, auto);
}

.home-hero > * {
padding: 10px;
background-repeat: no-repeat;
background-size: cover;
background-color: #333;
color: #fff;
}

.feature {
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8)),url('/img/conference/shaw.jpg');
background-position: bottom left;
color: #fff;
}

.photos {
background-image: url('/img/conference/safety-last.jpg');
color: #fff;
}

.news {
background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)),url('/img/conference/workplace-health.jpg');
color: #fff;
}

.special {
background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)),url('/img/conference/building-maintenance.jpg');
color: #fff;
display: flex;
flex-direction: column;
}

.special h3,
.amazing h3{
margin-top: auto;
}

.amazing {
background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)),url('/img/conference/hazard-control.jpg');
color: #fff;
display: flex;
flex-direction: column;
}

.cta {
background-color: rgb(123,14,34);
color: #fff;
display: flex;
flex-direction: column;
}

a.spam-button:link {
border: 1px solid #ccc;
border-radius: 3px;
text-decoration: none;
background-color: #fff;
color: #333;
display: block;
padding: 5px;
margin: auto auto 20px;
width: 90%;
text-align: center;
}

@media (min-width: 500px) {
.home-hero {
grid-template-columns: 1fr 1fr;
}

.feature {
grid-column: 1 / 3;
grid-row: 1 / 3;
}

.special {
grid-column: 1;
grid-row: 3 / 6;
}
.amazing {
grid-column: 1;
grid-row: 6;
}
.cta {
grid-column: 2;
grid-row: 5 / 7;
}
}

@media (min-width: 800px) {
.home-hero {
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: minmax(150px, auto) minmax(150px, auto);
grid-auto-rows: minmax(100px, auto);
}
.feature {
grid-column: 1 ;
grid-row: 1 / 6;
}

.special {
grid-column: 2;
grid-row: 1 / 4;
}
.amazing {
grid-column: 2;
grid-row: 4 / 6;
}
.cta {
grid-column: 3;
grid-row: 3 / 6;
}

}
@media (max-width: 720px) {
.moreinfo-header{
margin-right: 0px !important;
text-align: center !important;
}
.moreinfo{
border-left: none;
text-align: center !important;
}
}

/*****Address Buttons******/
.btn-flip {
opacity: 1;
outline: 0;
color: #fff;
line-height: 40px;
position: relative;
text-align: center;
letter-spacing: 1px;
display: inline-block;
text-decoration: none;
font-family: 'Open Sans';
text-transform: uppercase;
}
.btn-flip:hover:after {
opacity: 1;
transform: translateY(0) rotateX(0);
}
.btn-flip:hover:before {
opacity: 0;
transform: translateY(50%) rotateX(90deg);
}
.btn-flip:after {
top: 0;
left: 0;
opacity: 0;
width: 100%;
color: #323237;
display: block;
transition: 0.5s;
position: absolute;
background: #adadaf;
min-width: 350px;
padding: 5px 20px;
content: attr(data-back);
transform: translateY(-50%) rotateX(90deg);
}
.btn-flip:before {
top: 0;
left: 0;
opacity: 1;
color: #adadaf;
display: block;
padding: 0 30px;
line-height: 40px;
transition: 0.5s;
position: relative;
background: #323237;
min-width: 150px;
content: attr(data-front);
transform: translateY(0) rotateX(0);
}
