
:root{
        --primary: #06abdd;
        --secondary: #d7e9f3;
}

*{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
    margin: 0px;
    padding: 0px;
    font-family: 'Raleway', sans-serif;
}

html{
    scroll-behavior: smooth
}

body{
    margin: 0px;
    padding: 0px;
    margin: auto;

    min-height: 100vh;
}

.banner{
    margin: auto;
    max-width: 1950px;
}

main{
    margin: auto;
    margin-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1500px;
}

.mobileMenu{
    display: none;
}

nav{
    position: sticky;
    top: 0px;
    width: 100%;
    max-width: 2000px;
    padding: 10px;
    background-color: var(--primary);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* text-transform: uppercase; */
    font-family: 'Cinzel', serif, trajan pro;
    font-size: 14pt;

    z-index: 10;


}

nav > a{
    color: #FFF;
    text-decoration: none;
    font-family: 'Cinzel', serif, trajan pro;
}

.socialIcons{
    display: flex;
    flex-direction: row;
    gap:20px;
}

.socialIcons>a>img{
    height: 30px;
}

[data-anim="fadeIn"]{
    opacity: 0;
}

h1, h2, h3, h4, h5{
    display: inline;
    font-weight: 550;
}

h1{
    color: #FFF;
    font-family: 'Cinzel', serif, trajan pro;
}

h2{
    display: flex;
    font-family: 'Cinzel', serif, trajan pro;
    width: 100%;
    /* padding: 5px; */
    color: var(--primary);
    /* background-color: var(--secondary); */

}

h3{
    text-decoration: underline;
}


a{
    color: var(--primary);
    text-decoration: none;
    transition: all .2s;
}

a:not(.custom):hover{
    cursor: pointer;
    border-bottom: 1px solid var(--primary);
}

nav>a:hover, .socialIcons>a:hover, a>h1:hover{
    cursor: pointer;
}

nav>a::after, .socialIcons>a::after, a>h1::after{
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background-color: #FFF;
    transition: width .2s;
}

nav>a:hover::after, .socialIcons>a:hover::after, a>h1:hover::after{
    width: 100%;
}


a>img{
    transition: all .2s;
}

a>img:hover{
    transform: scale(1.05);
}

.overlayGalleryMainImg:hover{
    cursor: pointer;
}

p{
    /* margin-top: 20px; */
    line-height: 21pt;
}

hr{
    display: none;
}

.hr{
    /* width: 100%; */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
    margin-right: 20px;
    opacity: 0;

}

.hr>.line{
    width: 50%;
    height: 2px;
    background-color: var(--primary);
    opacity: 0;
}

.hr>.image{
    background-image: url('/media/images/fish.png');
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-size: contain;
    width: 80px;
    height: 80px;
}

*:focus-visible, *:focus{
    border-radius: 2px;
    outline: 1px solid #000;
    border:none;
    box-shadow: 0 0 0 2pt #000;
}

input, textarea, button{
    width: 300px;
    max-width: 80vw;
    padding: 5px;
    font-size: 14pt;
    transition: transform .2s, box-shadow .2s, border .2s;
    border-radius: 2px;
    border: 1px solid var(--primary);
}

input:hover, textarea:hover, button:hover ,input:focus, textarea:focus, button:focus{
    transform: scale(1.01);
    box-shadow: 6px 6px 6px #666;
    z-index: 5;
}

input:focus, textarea:focus, button:hover, input:active, textarea:active, button:active, button:focus-visible, input[type=button]:active, input[type=submit]:active, input[type=button]:hover, input[type=submit]:hover, input[type=button]:focus-visible, input[type=submit]:focus-visible{
    border: 2px solid var(--primary);
    outline: none;
}

 button:hover, button:active, button:focus-visible, input[type=button]:active, input[type=submit]:active, input[type=button]:hover, input[type=submit]:hover, input[type=button]:focus-visible, input[type=submit]:focus-visible{
     background-color: var(--secondary);
 }

button:hover, input[type=button]:hover, input[type=submit]:hover, label:hover{
    cursor: pointer;
}

.lineFull{
    width: 100%;
    margin: 0 10px;
    height: 2px;
    background-color: var(--primary);
}

.textCentre{
    text-align: center;
}

.banner{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.banner>img{
    width: 100%;
}

.bannerOverlay{
    top: 0px;
    position: absolute;
    width: inherit;
    display: flex;
    flex-direction: column;
}



.flexHalf{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:20px;
}
.flexHalf > *{
    width: 50%;
}

.flexInner{
    margin-top: 20px;
    display: flex;
    gap:20px;
    flex-direction: row;
        align-items: center;
}




.flexReverse{
    flex-direction: row-reverse;
    justify-content: flex-end;

}

.flexTop{
    align-items: flex-start;
}

.flexCentre{
    justify-content: center;
}

.flexColumn{
    flex-direction: column;
}

.imgDiv{
    height: inherit;
    overflow: hidden;
    object-fit: contain;
    object-position: center;
    justify-content: center;
    display: flex;
}

.imgDiv > img{
    /* width: 100%; */
    max-width: 800px;
}

.imgDiv>p{
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 20px;
    background-color: var(--primary);
    color: #FFF;
    transition: opacity .5s;
}

.imgDiv>p:hover{
    opacity: .2 !important;
}

.miniMenu{
    padding: 10px;
    min-width: 300px;
    gap: 10px;
    /* background-color: var(--secondary); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.miniMenu>h2{
    padding: 0px;
    text-align: center;
    justify-content:center;

}

.icon{
    width: 32px;
}

table.contact>tbody>tr>td:nth-child(1){
    text-align: left;
}

table.contact>tbody>tr>td>textarea{
    resize: vertical;
}


footer{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* bottom: 0px;
    position: absolute; */
    padding: 20px;
    width: 100%;
    background-color: var(--secondary);
}

footer>div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* Popup Gallery Overlay */


        .miniGallery{
            display: flex;
            /* width: 100%; */
            max-width: 800px;
            margin: auto;
            flex-wrap: wrap;
            flex-direction: row;
            gap: 10px;
            justify-content: space-between;

        }

        .miniGallery .miniGalleryImg:first-child{
            width: 100% !important;
            max-width: inherit !important;
        }

        .miniGalleryImg{
            max-width: 30%;
            transition: all .2s;
        }

        .btn_close{
            float: right;
            max-width: 50px;
            transition: all .2s;
            z-index: 1001;
        }

        .miniGalleryImg:hover, .btn_close:hover, .miniGallerySelector:hover{
            transform: scale(1.02);
            cursor: pointer;
        }

        .overlay{
            display: none;
            flex-direction: column;
            justify-content: space-between;
            position: fixed;
            left: 0;
            top: 0;
            z-index: 100;
            width: 100vw;
            height: 100vh;
            /* max-width: 1400px; */
            background-color: var(--secondary);
            padding: 20px;
            gap:10px;
        }

        .overlayHeader{
            justify-content: center;
            position: absolute;
            top: 20px;
        }

        .overlayContent{
            display: flex;
            width: 100%;
            /* height: 80%; */
            justify-content: center;
            align-items: center;
            overflow:hidden;
        }

        .overlayContent>img{
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }


        .overlayFooter{
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            width: 100%;
        }
        .overlayFooter>img{
            max-width: 10%;
            object-fit: cover;
            max-height: 150px;
        }

        .miniGallerySelector{
            transition: all .2s;
        }






.TA_certificateOfExcellence > div{
    margin: 0px !important;
}

.TA_certificateOfExcellence,
.TA_selfserveprop{
    opacity: 0;
    max-width: 400px;
    overflow: hidden;

}


@media screen and (max-width: 900px) {



    nav{
        flex-direction: column;
    }

    nav>*{
        max-height: 0px;;
        overflow: hidden;
        transition: .3s all;
    }
    nav>.socialIcons{
        max-height: 0px;
    }

    .showNav{
        gap: 15px;
    }
    .showNav>*{
        max-height: 100px !important;
    }
    .showNav>.socialIcons{
        max-height: 100px !important;
    }

    .mobileMenu{
        min-width: 30px;
        display: flex !important;
        max-height: 100px !important;
    }

    .mobileMenu>img{
        height: inherit;
        height: 30px;
    }

    .bannerOverlay>.hr{
        height: 0px;
        overflow: hidden;
    }

    main, footer{
        padding-left:2.5px;
        padding-right:2.5px;
    }

    .flexInner, .flexHalf{
        flex-direction: column;
    }

    .flexHalf > *{
        width: 100%;
    }

    footer{
        flex-direction: column;
        gap:20px;
    }

    footer>div{
        justify-content: center;
        text-align: center;
    }


    .TA_certificateOfExcellence, .TA_selfserveprop{
        margin: auto;
        display: flex;
        justify-content: center;
    }

}
