﻿
@font-face {
    font-family: 'siteFont';
    src: url('../fonts/KozGoPro-Light_0.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    
}

.row-container {
    display: flex;
    flex-direction: row;
    background-color: #FFF;
    gap: 30px;
    padding: 10px;
}

.mainBodyTitle {
    font-family: siteFont, Tahoma;
    font-size: 36px;
    letter-spacing: 2px;
    font-variant: small-caps;
    text-align:right;
}

.pageTitle {
    font-family: siteFont, Tahoma;
    font-size: 36px;  
    padding: 20px;
    letter-spacing: 2px;
    text-align: center;
    color:#333;
}

.namriaMandate {
    font-family: siteFont, Tahoma;
    font-size: 20px;
    font-style: italic;
    color: #666666;
    padding-left: 25px;
    letter-spacing: 2px;
    line-height: 40px;
    text-align: right;
}

.rightBodyHeading {
    font-family: siteFont, Tahoma;
    font-size: 21px;
    color: #666666;
    letter-spacing: 1px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.newsTitle {
    font-family: siteFont, Tahoma;
    font-size: 20px;
    color: #666666;
    font-weight: bold;
    letter-spacing: 1px;
    padding-top: 10px;
    line-height:1;
}

    .newsTitle a {
        font-family: siteFont, Tahoma;
        color: #0099ff;
        text-decoration: none;
        line-height: 1.6;
    }


.newsBody {
    font-family: siteFont, Tahoma;
    font-size: 14px;
    color: #666666;
    letter-spacing: 1px;
    line-height: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: justify;
}



.newsDate {
    font-family: siteFont, Tahoma;
    font-size: 12px;
    color: #666666;
    letter-spacing: 1px;
}

input[type="text"], input[type="email"], textarea, select {
    width: 100%;
    font-family: 'siteFont';
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #CCC;
    margin: 0;
    outline: none;
}

textarea {
    resize: vertical;
}

input[type="text"]:hover {
    border: 1px solid green;
}

.searchbox {
    width: 100%;
    font-family: 'siteFont';
    position: relative;
    margin-bottom: 30px;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #FED80C;
    color: #333;
    cursor: pointer;
    border-radius: 0px 5px 5px 0px;
    min-width: 100px;
}

    .search-button:hover {
        background-color: #333;
        color: #FED80C;
        font-size: 16px;
    }

.btn {
    padding: 10px;
    background-color: #FED80C;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px 5px 5px 5px;
}

rightBodyHeading {
    font-family: siteFont, Tahoma;
    font-size: 21px;
    color: #666666;
    letter-spacing: 1px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.logo
{
    transition:0.3s;
    width:75px;
    height:75px;
}

.logo:hover
{
    transform:scale(1.1);
}

.img-container
{
    padding:5px;
    border:1px dotted #333;
}

.img-container + div {
    display: none;
}

.img-container:hover + div {
    display: block;
    position: absolute;
    background-color: #f1f1f1;
    width: 270px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 20px;
    font-family: siteFont, "Century Gothic", Tahoma;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 20px;
}

.img-container
{
    width:100%;
    height:auto;
}

.btn:hover {
    background-color: #333;
    color: #FED80C;
    font-size: 16px;
}

/* added by sherwin*/

.auxMenu-container {
    max-width: 1190px;
    position: relative;
    margin: auto;
}

.column {
    position: relative;
    display: inline-block;
    float: left;
    width: 25%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

[class*="col-"] {
    float: left;
    padding: 15px;
}

html {
    font-family: siteFont, "Century Gothic", Tahoma;
}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}

.mainBodyTitle {
    font-family: siteFont, Tahoma;
    font-size: 36px;
    letter-spacing: 2px;
    font-variant: small-caps;
}

.administrator-container {
    max-width: 1190px;
    position: relative;
    margin: auto;
}

#myInput {
    background-position: 10px 12px;
    background-repeat: no-repeat;
    width: 690px;
    font-size: 16px;
    padding: 12px 20px 12px 60px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

a {
    color: inherit;
}

.sub-transparency-seal a {
    color: #0099ff;
    text-decoration: none;
}
.link {
    color: #0099ff;
    text-decoration: none;
}


#myUL {
    /* Remove default list styling */
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    #myUL li a {
        border: 1px solid #ddd; /* Add a border to all links */
        margin-top: -1px; /* Prevent double borders */
        background-color: #f6f6f6; /* Grey background color */
        padding: 12px; /* Add some padding */
        text-decoration: none; /* Remove default text underline */
        font-size: 16px; /* Increase the font-size */
        /*color: black; Add a black text color */
        display: block; /* Make it into a block element to fill the whole list */
    }

        #myUL li a:hover:not(.header) {
            background-color: #eee; /* Add a hover effect to all links, except for headers */
        }

/**************************************/
/* Start defining the Accordion       */
/**************************************/


.accordion {
    font-family: siteFont, Tahoma;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    background-color: #ffffff;
    color: #333333;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

    .accordion:hover {
        background-color: #e8e8e8;
    }

.panel {
    width: 100%;
    border-bottom: 1px dotted #333333;
    background-color: #ffffff;
    
    overflow: hidden;
    max-height: 0;
    transition: 0.5s;
}

.accordion:after {
    content: '\002B';
    color: #333333;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.menuSub {
    width: 100%;
    display: block;
    margin-left: -40px;
    color: #333333;
    background-color: #e3e3e3;
    text-decoration: none;
    border-bottom: 1px dotted #666666;
    padding-left: 5px;
    padding-top: 12px;
    padding-bottom: 12px;
    cursor:pointer;
}

    .menuSub a {
        color: #666666;
        text-decoration: none
    }

        .menuSub:hover {
            background-color: #fed80c;
            color: #666666;
            text-decoration: none;
        }


/* END: ACCORDION */

.downloads {
    display: block;
    font-family: siteFont, Tahoma;
    background-color: #efefef;
    padding: 5px;
}

.downloadsDate {
    font-family: siteFont;
    font-size: 10px;
    color: #666666;
    letter-spacing: 1px;
    padding-bottom: 0px;
}

.downloadsTitle {
    font-family: siteFont;
    font-size: 14px;
    color: #666666;
    letter-spacing: 1px;
    line-height: 18px;
    padding-top: 0px;
}

    .downloadsTitle a {
        color: #0099ff;
        text-decoration: none;
     border:0px solid white;
    }

        .downloadsTitle a:hover {
            background-color: #666666;
            color: #fed80c;
            text-decoration: none;
        }

.read a {
    font-family: siteFont, Tahoma;
    color: #0099ff;
    text-decoration: none;
    font-size:12px;
}

.read:hover a {
   
    background-color: #666666;
    color: #fed80c;
   
}


@media only screen and (min-width: 600px) {
    .col-s-1 {
        width: 8.33%;
    }

    .col-s-2 {
        width: 16.66%;
    }

    .col-s-3 {
        width: 25%;
    }

    .col-s-4 {
        width: 33.33%;
    }

    .col-s-5 {
        width: 41.66%;
    }

    .col-s-6 {
        width: 50%;
    }

    .col-s-7 {
        width: 58.33%;
    }

    .col-s-8 {
        width: 66.66%;
    }

    .col-s-9 {
        width: 75%;
    }

    .col-s-10 {
        width: 83.33%;
    }

    .col-s-11 {
        width: 91.66%;
    }

    .col-s-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }
}

@media screen and (min-width: 1000px) {
    .mainBodyDesc {
        font-family: siteFont, Tahoma;
        font-size: 20px;
        font-style: italic;
        color: #666666;
        padding-left: 100px;
        letter-spacing: 2px;
        line-height: 32px;
        text-align: right;
    }

        .mainBodyDesc a {
            color: #0099ff;
            text-decoration: none
        }

            .mainBodyDesc a:hover {
                background-color: #666666;
                color: #fed80c;
                text-decoration: none;
            }
    .pageMenuColumn {
        width: 100%;
        margin-top: 50px;
        margin-left: 0px;
        background-color: rgb(255, 255, 255);
        float: left;
        text-align: left;
        font-family: siteFont, Tahoma;
        font-size: 18px;
    }
    .bodyHeading1 {
        font-family: siteFont, Tahoma;
        font-size: 22px;
        font-weight: bold;
        color: rgb(102, 102, 102);
        letter-spacing: 1px;
        margin-top: 0px;
        padding-bottom: 5px;
        border-bottom: 2px solid rgb(153, 153, 153);
    }
}

/* end of addition*/


/*TIDES*/

.tide-island {
    display: block;
    font-family: siteFont, "Century Gothic", Tahoma;
    font-weight: bold;
    background-color: #fed80c;
    padding: 5px;
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    text-align: center;
    width: 100%;
    border: 1px dotted #333333;
}

.tide-station {
    font-family: myFirstFont, "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 50px;
    width: 100%;
    text-align: center;
    text-transform: capitalize !important;
    padding: 10px;
}

.tides-container {
    display: grid;
    grid-template-rows: repeat(12, 1fr);
    grid-template-columns: auto,auto;
    grid-gap: 10px;
    grid-auto-flow: column;
    grid-gap: 1px;
    grid-row-gap: 1px;
}

/*CAROUSEL*/

/* Slideshow container */
.slideshow-container {
    width: 100%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}


/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.banner-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.menu-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    gap: 10px
}



dialog::backdrop
{
    padding:20px;
    background-color:rgba(0,0,0,0.5);
}

dialog {
    border:none;    
    max-width: 800px;
    width: 100%;
    
    padding: 20px;
    border-radius: 5px; 
 
  display:none;
  opacity:0;
  translate:0 25vh;
  transition-property:display opacity;
  transition-duration:1s;
  transition-behavior:allow-discrete;
   
  }


    dialog[open] {
        border: none;
        display: block;
        opacity: 1;
        translate: 0 0;
        overflow-y:hidden;
        height:500px;


        @starting-style {
            opacity: 0;
            translate: 0 -25vh;
        }
    }


 

.modal-header {
    position: relative;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 24px;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-content {
    flex: 1;
    overflow-y: scroll;
}

.close {  
   
    position:absolute;
    top:0;
    right:10px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    cursor: pointer;
    transition: 0.2s;
    -webkit-user-select:none;
    -ms-user-select: none;
    user-select: none;      
    border-radius:50%;
    height:40px;
    width:40px;
    
}

    .close::before {
        content: '×';
    }

.close:hover
{
    background-color:#EEE;
}



@media only screen and (max-width: 800px) {
    .row-container {
        flex-direction: column;
    }
    .banner-container
    {
        flex-direction:column;
    }

    .img-menu
    {
        text-align:left;
    }

    .menu-container {
        justify-content:left;
        padding-left:20px;
    }

    
}