/* default page styles ------------------------------------------- */
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
        outline: none;
        box-sizing: border-box;
    }
    html { height: 100%; }

    body {
        font-size: 62.5%;
        line-height: 1;
        padding-bottom: 65px;
        font-family: Arial, Tahoma, sans-serif;
        background-image: radial-gradient(circle, white, #d4e7e3 50%, #abe3d7 80%);
    }

    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
        display: block; }

    ol, ul { list-style: none; }

    blockquote, q { quotes: none; }
    blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
        strong { font-weight: bold; }

    table { border-collapse: collapse; border-spacing: 0; }
    img { border: 0; max-width: 100%; }

    h1 { 
        font-family: 'Merienda', 'Trebuchet MS', Verdana, sans-serif; 
        font-size: 2.95em; 
        font-size: clamp(1rem, 2.5vw, 2.5rem);
        line-height: 1.7em; 
        margin-bottom: 20px; 
        font-weight: bold; 
        letter-spacing: -0.03em; 
        color: #675d90; 
        text-shadow: 2px 2px 0px rgba(255,255,255,0.65); 
        text-align: center; 
    }
    h2 {
        text-align: center;
        margin: 10px auto;
        font-size: clamp(.95rem, 2.5vw, 1.5rem);
    }
    h3 {
        font-size: 1.5rem;
        margin: 0 auto;
        text-align: center;
    }
    h4 {
        font-family: var(--ff-h4, sans-serif);
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        font-weight: bold;
        color: #C03;
        text-indent: 10px;
        margin: 10px 20px;
        padding-top: 20px;
    }

    /* page styles ---------------------------------------------- */
    #w {
        width: 100%;
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: 4fr;
        padding-right: 10px;
        padding-left: 10px;
        grid-column-gap: 25px;
    }
    /* small screen - temp fix */
        @media only screen and (max-width: 768px) {
            #w {
                display: block;
            }
        }
    
    #w p {
        font-family: var(--ff-p,);
        color: black;
        font-size: clamp(.8rem, 2vw, .9rem);
        line-height: 1.6em;
        margin: 10px 10px 10px 10px; 
    }

    /* HEADER - Formating =============================================== */
        
    .box {
        background-color: #ded8cc;
        color: #fff;
        border-radius: 5px;
    }
    .header {
            grid-column: 1 / -1;
            grid-row: 1 / 2;
        }
        .header {
            background-image: url(../images/template%20images/barbuda-beach.jpg);
            background-repeat: no-repeat;
            background-position: right;
            height: 150px;
            float: none;
        }
        .headertext {
            font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 3.5em;
            font-weight: bolder;
            color: red;
            text-align: left;
            vertical-align: middle;
            margin-top: 50px;
            width: 90%;
            float: right;
            text-shadow: 5px 10px 8px #333333;
        }
        .headertext1 {
            font-size: 0.75em;
            font-style: italic;
            color: #FFFFFF;
        }
    /* small screen > 768px */
    @media only screen and (max-width: 768px) {
        .header {
            display: none;
        }
        .box {
            display: none;
        }

    }   
    .side {
        margin-top: 25px;
    }
    .side p {
        font-size: 18px;
    }

    



    /* nav menu styles ------------------------------------------------------- */
    nav {
        grid-column: 1 / 2;
        grid-row: 2 / 4
        }
    nav #menu-button {
        display: none;
        }

    nav.small-screen #menu-button {
        margin: 0;
        border: 0;
        list-style: none;
        /* line-height: 1; */
        display: block;
        position: relative;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 17px;
        color: #dddddd;
        cursor: pointer;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 700;
        background: -moz-linear-gradient(top, #343434, #292929);
        }

    /* add hamburger */
    nav.small-screen #menu-button:after {
        position: absolute;
        top: 22px;
        right: 17px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #dddddd;
        border-bottom: 2px solid #dddddd;
        content: '';
        }
    nav.small-screen #menu-button:before {
        position: absolute;
        top: 16px;
        right: 17px;
        display: block;
        height: 2px;
        width: 20px;
        background: #dddddd;
        content: '';
        }

    /* change hamburger to cross on opening */

    nav.small-screen #menu-button.menu-opened:after {
        top: 23px;
        border: 0;
        height: 2px;
        width: 15px;
        background: #ffffff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        }

    nav.small-screen #menu-button.menu-opened:before {
        top: 23px;
        background: #ffffff;
        width: 15px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        }

    #nav {
        display: none;
        margin: 0 auto;
        -webkit-box-shadow: 3px 2px 3px rgba(0,0,0,0.7);
        -moz-box-shadow: 3px 2px 3px rgba(0,0,0,0.7);
        box-shadow: 3px 2px 3px rgba(0,0,0,0.7);
        }

    /* small screen - temp fix */
        @media only screen and (max-width: 768px) {
            nav { width: 100%;}
        }

    #nav > li > a {
        display: block;
        padding: 16px 18px;
        font-size: 1.3em;
        font-weight: bold;
        color: #d4d4d4;
        text-decoration: none;
        border-bottom: 1px solid #212121;
        background-color: #343434;
        background: -webkit-gradient(linear, left top, left bottom, from(#343434), to(#292929));
        background: -webkit-linear-gradient(top, #343434, #292929);
        background: -moz-linear-gradient(top, #343434, #292929);
        background: -ms-linear-gradient(top, #343434, #292929);
        background: -o-linear-gradient(top, #343434, #292929);
        background: linear-gradient(top, #343434, #292929);
    }

    #nav > li > a:hover, #nav > li > a.open {
        color: #e9e9e9;
        border-bottom-color: #384f76;
        background-color: #6985b5;
        background: -webkit-gradient(linear, left top, left bottom, from(#6985b5), to(#456397));
        background: -webkit-linear-gradient(top, #6985b5, #456397);
        background: -moz-linear-gradient(top, #6985b5, #456397);
        background: -ms-linear-gradient(top, #6985b5, #456397);
        background: -o-linear-gradient(top, #6985b5, #456397);
        background: linear-gradient(top, #6985b5, #456397);
    }

    #nav li ul {
        display: none;
        background: #4a5b78;
    }

    #nav li ul li a {
        display: block;
        background: none;
        padding: 10px 0px;
        padding-left: 30px;
        font-size: 1.1em;
        text-decoration: none;
        font-weight: bold;
        color: #e3e7f1;
        text-shadow: 1px 1px 0px #000;
    }

    #nav li ul li a:hover {
        background: #394963;
    }

    #nav > li ul li> a:hover, #nav > li ul li> a.open {
        color: #e9e9e9;
        border-bottom-color: #384f76;
        background-color: #69a6b5;
        background: -webkit-gradient(linear, left top, left bottom, from(#6985b5), to(#456397));
        background: -webkit-linear-gradient(top, #6985b5, #456397);
        background: -moz-linear-gradient(top, #6985b5, #456397);
        background: -ms-linear-gradient(top, #6985b5, #456397);
        background: -o-linear-gradient(top, #6985b5, #456397);
        background: linear-gradient(top, #6985b5, #456397);
    }

    #nav li ul li ul li a {
        display: block;
        background: none;
        padding: 10px 0px;
        padding-left: 45px;
        font-size: 1.1em;
        text-decoration: none;
        font-weight: bold;
        color: #e3edf1;
        text-shadow: 1px 1px 0px #000;
    }

    #nav li ul li ul li a:hover {
        background: #394963;
    }

    /* Article ======================= */
    .cards {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .cards h1{
        grid-column: 1 / 3;
        font-size: clamp(1.25rem, 2.5vw, 2.5rem);
        font-weight: bolder;
        margin-top: 10px;
        margin-bottom: 15px;
        /* color: #499ED7; */
        color: red;
        text-align: center;
}

    /* Card elements -------------------------------------- */
    .card {
        padding-top: 15px;
        display: grid;
        grid-template-columns: 40% 60%;      
    }
    @media only screen and (max-width: 768px) and (min-width: 450px) {
        .card {
            grid-template-columns: 60% 40%;
        }
    }
    @media only screen and (max-width: 449px) {
        .card {
            grid-template-columns: 1fr;
        }
    }
    h2 {
       grid-column: 2 / 3; 
    }
    .card-text {
        grid-column: 1 / 2;
        overflow: hidden;
	    background-image: url('../Images/template%20images/lgrey016.jpg');
	    background-repeat: repeat;
	    box-shadow: 5px 10px 5px #888888;
    }
    .card-img {
        grid-column: 2 / 3;
        display: flex;
        flex-wrap: wrap;
    }
    @media only screen and (max-width: 768px) and (min-width: 450px) {
        .card-img {
            flex-direction: column;  
                    
        }       
    }
    @media only screen and (max-width: 449px) {
        .card-img {
            grid-column: 1 / 2;
        }       
    }
    .card-text ul {
        list-style-type: disc;
        font-size: .9rem;
        margin: 10px 10px 10px 30px;
        line-height: 1.6em;
    }
    .card-text li {
        font-size: .8rem;
    }
    .card-text b {
        font-weight: bold;
    }

    /* Other - Formating */

img {
	
	border: 0;
	display: inline-block;
}
figure {
	width: 45%;
    margin-left: 15px;
	padding: 10px;
    box-shadow: 5px 10px 5px #888888;
}
@media only screen and (max-width: 768px) {
        figure {
            width: 95%;
        }
    }
figcaption {
	font-size: .95rem;
	font-style: italic;
	background-color: rgba(204,204,204,1);
	color: black;
	text-align: center;
	padding: 10px;
	margin: 0;
}