* {
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-family: "Lato", sans-serif;
    height: 100vh;
}

.modal_overlay {
    position: static;
    height: 100%;
    width: 100%;
    /* left: 0;
    right: 0;
    top: 0;
    bottom: 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(85, 85, 85, 0.68);
}

.modal_container {
    position: relative;
    background: white;
    border-radius: 5px;
    min-height: 565px;
    min-width: 800px;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 10px 15px rgba(0,0,0,.5);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: -webkit-transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), -webkit-transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal_container.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.modal_content,
.modalBack {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.modalBack {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    overflow: hidden;
}

.closeTour {
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

button.closeTour {
    background: none;
    border: none;
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 18px;
    z-index: 20;
}

.modal_content #gmgLogo {
    height: 130px;
}

.modal_content .title {
    text-align: center;
    margin: 0 0 50px 0;
}

.modal_content h1 {
    font-size: 55px;
    color: #169494;
}

.modal_content .title h3 {
    font-size: 20px;
    color: #941617;
}

.tourChoice {
    text-align: center;
}

.tourChoice p {
    margin: 5px 0;
}

a.closeTour {
    font-size: 14px;
    color: #337ab7;
}

/* .back {
    cursor: pointer;
    color: #337ab7;
} */

a.closeTour:hover,
.back:hover {
    text-decoration: underline;
    color: #1f496d;
}

.closeTour i {
    color: #adadad;
}

.closeTour i:hover {
    color: #757575 !important;
}

.tourChoice button.closeTour {
    position: static;
}

.tour,
.gotIt,
.tourChoice button.closeTour,
.whatsNext {
    cursor: pointer;
    padding: 6px 12px;
    font-size: 20px; 
    color: white;
    background: #169416;
    border: none;
    border-radius: 5px;
}

.tour,
.tourChoice button.closeTour,
.whatsNext {
    -webkit-animation: sonar 950ms ease-out infinite;
    animation: sonar 950ms ease-out infinite;
}

@-webkit-keyframes sonar {
    from {
      box-shadow: 0 0 0 0 #169416, 0 0 4px 2px rgba(0, 0, 0, 0.4);
    }
    to {
      box-shadow: 0 0 0 10px rgba(255, 147, 223, 0), 0 0 4px 2px rgba(0, 0, 0, 0.4);
    }
}
@keyframes sonar {
    from {
      box-shadow: 0 0 0 0 #169416, 0 0 4px 2px rgba(0, 0, 0, 0.4);
    }
    to {
      box-shadow: 0 0 0 10px rgba(255, 147, 223, 0), 0 0 4px 2px rgba(0, 0, 0, 0.4);
    }
}

.tour:hover,
.gotIt:hover,
.tourChoice button.closeTour:hover,
.whatsNext:hover {
    background: #888888;
}

.slideTitle {
    text-align: center;
}

.slideTitle h2 {
    color: #941616;
}

.slideTitle p {
    font-size: 14px;
    color: #888888;
}

.modal_content img {
    height: 400px;
}

.modal_content .lgImg {
    height: 385px;
}

.modalProgress {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* z-index: 30; */
}

.dot {
    height: 10px;
    width: 10px;
    border: 1px solid #888888;
    border-radius: 50%;
    margin: 0 5px;
}

.activeDot {
    background: #888888;
}

.modalBack .modal_content {
    visibility: hidden;
    opacity: 0;
    transition: transform 400ms ease-out, opacity 400ms ease-out;
}

.modalBack .active {
    visibility: visible;
    opacity: 1;
    z-index: 10;
    transform: translateX(0);
}

.modalBack .next {
    z-index: 0;
    transform: translateX(100%);
}

.modalBack .previous {
    z-index: 0;
    transform: translateX(-100%);
}

.modalBack img {
    opacity: 0;
    position: absolute;
    transition: opacity 400ms ease-out;
    margin-bottom: 20px;
}

.modalBack .activeImg {
    opacity: 1;
    position: relative;
}

/* .modalBack .modal_content:first-of-type .tourBtns {
    justify-content: flex-end;
} */

.tourBtns {
    position: absolute;
    bottom: 5px;
    width: 98%;
    display: flex;
    /* justify-content: space-between; */
    justify-content: flex-end;
    align-items: center;
    z-index: 20;
}