body, html {
    height: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
}

.headingbox, .film {
    background: rgb(0,51,51);
    background: linear-gradient(180deg, rgba(0,51,51,1) 0%, rgba(0,0,0,0) 89%);
    position: absolute;
    top: 0%;
    left: 0%;
    height: 230px;
    width: 100%;
}

.heading {
    background: url(../image/banner_card_w.png) center center;
    background-size: 210%;
    overflow: visible;
    background-repeat: no-repeat;
    margin: 0;
    height: 200px;
    padding: 0;
    color: white;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 8px;
    flex-direction: column;
}

h1 {
    text-align: center;
    text-shadow: 0 0 5px white, 0 0 60px #12f5f5, 0 0 30px #2af1f1;
    animation-delay: 1s;
    animation: blink 6s alternate-reverse infinite;
    font-size: 1.5em;
}

@media screen and (min-width: 600px) {
    h1 {
        font-size: 2em;
        text-shadow: 0 0 10px white, 0 0 60px #12f5f5, 0 0 30px #2af1f1;
    }
}

@media screen and (min-width: 1100px) {
    h1 {
        font-size: 3em;
    }
}

@media screen and (min-width: 750px) {
    .heading {
        background-size: 120%;
    }
}


/* h3 {
    font-size: 3em;
    color: #056e6e;
    margin: 30px auto auto;
    text-shadow: 0 0 5px white, 0 0 10px #99ffe9, 0 0 20px #92a7a2;
} */

h4 {
    font-size: 1.5em;
    background-color: #056e6e;
    color: white;
}

p {
    font-size: 1.5em;
    font-weight: bolder;
    color: #003333;
    margin: auto 10px;
}

a {
    color: #003333;
    text-decoration-color: #003333;
}

footer {
    text-align: left;
    padding-left: 5px;
    padding-bottom: 5px;
}

.tab {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
}

.tab button {
    background-color: #001f1f;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: .8em;
    height: 60px;
    width: 25%;
    text-align: center;
    text-shadow: 0 0 5px white, 0 0 20px #12f5f55e, 0 0 10px #2af1f1;
    border-radius: 20px 20px 0 0;
    letter-spacing: 2px;
    z-index: 0;
}


@media screen and (min-width: 700px) {
    .tab button {
        font-size: 1.1em;
    }
}
  
/* BEGIN devices that DO pinch/zoom */   
@media (hover: hover) {
    .tab button:hover {
        /* background-color: #025858; */
        text-shadow: 0px 0px 10px white, 0px 0px 10px #12f5f5, 0px 0px 10px #2af1f1;
        box-shadow: 0px 0px 30px #138080;
    }
}
  /* END devices that DO pinch/zoom */

.tab button.active {
    position: absolute;
    box-shadow: 0px 0px 30px #138080;
    background-color: #003333;
    z-index: 10;
}

.tl2 {
    left: 25%;
    position: absolute;
} 


/* to counter doubling up issue at breakpoint */
@media screen and (min-width: 850px) {
    .tab {
        font-size: 1.4em;
    }
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
    position: absolute;
    top: 200px;
    left: 0;
    color: rgb(240, 240, 240);
    display: none;
    height: 100%;
    z-index: 10;
}
  

.logobox, .sitebox {
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px #138080;
    border: 10px solid;
    color: #003333;
    border-radius: 0 20px 0 0;
}

.logobox img {
    width: 300px;
}

.row {
    display: flex;
    line-height: 30vw;
    text-align: center;
}

.column {
    flex: 30%;
    padding: 0 5%;
}

img.center {
    display: inline;
    vertical-align: middle;
    z-index: -10;
}

/* .column {
    float: left;
    width: 30%;
    padding: 5px;
}

.row::after {
    content: "";
    clear: both;
    display: table;
    vertical-align: middle;

} */

.ss, .pch, .slipper, .bbp, .wolfe, .spit, .hale, .lucky, .mbl, .dsktp {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 30px auto 90px auto;
    color:#003333;
}

.logo1, .logo2, .logo3, .logo4, .logo5, .logo6, .logo7, .logo8, .logo9, .logo10, .logo11, .logo12, .logo13 {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.ss {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr) .5fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
    
.logo12 { grid-area: 1 / 1 / 2 / 2; }
.logo13 { grid-area: 2 / 1 / 3 / 2; }
.p5 { grid-area: 3 / 1 / 4 / 2; }

.pch {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
    
.logo1 { grid-area: 1 / 1 / 2 / 2; }
.logo2 { grid-area: 2 / 1 / 3 / 2; }
.logo3 { grid-area: 3 / 1 / 4 / 2; }
.logo4 { grid-area: 4 / 1 / 5 / 2; }
.logo5 { grid-area: 5 / 1 / 6 / 2; }
.logo6 { grid-area: 6 / 1 / 7 / 2; }
.logo7 { grid-area: 7 / 1 / 8 / 2; }
.p1 { grid-area: 8 / 1 / 9 / 2; }

.slipper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
        
.logo8 { grid-area: 1 / 1 / 2 / 2; }
.logo9 { grid-area: 2 / 1 / 3 / 2; }
.p2 { grid-area: 3 / 1 / 4 / 2; }

.bbp {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
            
.logo10 { grid-area: 1 / 1 / 2 / 2; }
.p3 { grid-area: 2 / 1 / 3 / 2; }

.wolfe {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
                
.logo11 { grid-area: 1 / 1 / 2 / 2; }
.p4 { grid-area: 2 / 1 / 3 / 2; }

.spit {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: .5fr .5fr .5fr .25fr 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
                    
.s1 { grid-area: 1 / 1 / 2 / 2; }
.s2 { grid-area: 2 / 1 / 3 / 2; }
.s3 { grid-area: 3 / 1 / 4 / 2; }
.s4 { grid-area: 4 / 1 / 5 / 2; }
.p6 { grid-area: 5 / 1 / 6 / 2; }

.hale {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: .25fr .5fr 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
                        
.h1 { grid-area: 1 / 1 / 2 / 2; }
.h2 { grid-area: 2 / 1 / 3 / 2; }
.p7 { grid-area: 3 / 1 / 4 / 2; }

.lucky {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: .25fr .5fr 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
                            
.l1 { grid-area: 1 / 1 / 2 / 2; }
.l2 { grid-area: 2 / 1 / 3 / 2; }
.p8 { grid-area: 3 / 1 / 4 / 2; }



.mbl {
    height: 350px;
    width: 200px;
    overflow: hidden;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.mbl iframe {
    margin-left: -204px;
}

.mbl.s2 {
    width: 223px;
}

.s2 iframe{
    margin-left: -190px;
}

.mbl.h2 {
    width: 233px;
}

.h2 iframe {
    margin-left: -185px;
}

.mbl.l2 {
    width: 230px;
}

.l2 iframe {
    margin-left: -186px;
}

.dsktp iframe {
    width: 250px;
    height: auto;
}

.siteclip {
    margin: auto;
}

@keyframes blink {
    0%, 2%, 4%, 6%, 30%, 32%, 75%, 77%, 100% {opacity: 1}
    3%, 5%, 31%, 76% {opacity: 0.7;}
}

@media screen and (min-width: 500px) {
    .dsktp iframe {
        width: 430px;
        height: 350px;
    }

    p {
        margin: auto 50px;
    }
}

@media screen and (min-width: 800px) {
    .ss{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr .5fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        }
        
        .logo12 { grid-area: 1 / 1 / 2 / 2; }
        .logo13 { grid-area: 1 / 2 / 2 / 3; }
        .p5 { grid-area: 2 / 1 / 3 / 3; }

    .pch {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
        
    .logo1 { grid-area: 1 / 1 / 2 / 4; }
    .logo2 { grid-area: 1 / 4 / 2 / 7; }
    .logo3 { grid-area: 2 / 1 / 3 / 4; }
    .logo4 { grid-area: 2 / 4 / 3 / 7; }
    .logo5 { grid-area: 3 / 1 / 4 / 3; }
    .logo6 { grid-area: 3 / 3 / 4 / 5; }
    .logo7 { grid-area: 3 / 5 / 4 / 7; }
    .p1 { grid-area: 4 / 1 / 5 / 7; }

    .slipper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
            
    .logo8 { grid-area: 1 / 1 / 2 / 2; }
    .logo9 { grid-area: 1 / 2 / 2 / 3; }
    .p2 { grid-area: 2 / 1 / 3 / 3; }

    img.logo5, img.logo6, img.logo7 {
        width: 250px;
    }

    h3 {
        text-align: left;
        margin: 30px;
    }

    .spit {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr .5fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
            
    .s1 { grid-area: 1 / 1 / 2 / 2; }
    .s2 { grid-area: 1 / 2 / 2 / 3; }
    .s3 { grid-area: 1 / 3 / 2 / 4; }
    .s4 { grid-area: 2 / 1 / 3 / 4; }
    .p6 { grid-area: 3 / 1 / 4 / 4; }
        
    .hale {
        display: grid;
        grid-template-columns: .5fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
            
    .h2 { grid-area: 1 / 1 / 2 / 2; }
    .p7 { grid-area: 1 / 2 / 2 / 3; }
    .h1 { grid-area: 2 / 1 / 3 / 3; }
    
    .lucky {
        display: grid;
        grid-template-columns: 1fr .5fr;
        grid-template-rows: .5fr 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
                
    .p8 { grid-area: 1 / 1 / 2 / 2; }
    .l2 { grid-area: 1 / 2 / 2 / 3; }
    .l1 { grid-area: 2 / 1 / 3 / 3; }   

    .dsktp iframe {
        width: 640px;
        height: 480px;
    }
}

@media screen and (min-width: 1100px) {
    .hale {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr .5fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        }
        
    .h1 { grid-area: 1 / 1 / 2 / 2; }
    .h2 { grid-area: 1 / 2 / 2 / 3; }
    .p7 { grid-area: 2 / 1 / 3 / 3; }

    .lucky {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr .5fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
            
    .l1 { grid-area: 1 / 1 / 2 / 2; }
    .l2 { grid-area: 1 / 2 / 2 / 3; }
    .p8 { grid-area: 2 / 1 / 3 / 3; }
}



  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.btn-box {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font: 400 13.3333px Arial;
    padding: 1px 6px;
}

.modal-button {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 10;
    background-color: transparent;
    border: none;
}

.modal-button:hover {
    cursor: pointer;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animateout;
    -webkit-animation-duration: 0.4s;
    animation-name: animateout;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animateout {
    from {top:30px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    float: right;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

.modal-header {
    line-height: 35px;
    height: 35px;
    padding: 2px 16px;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}