﻿
/*----- DEFAULT DESKTOP FONTS ----------------------------------------------*/
/*min-width means less than */


/*@media only screen and (min-width: 1024px) {
    ...It is the minimum width before styles start being applied. So after this size
}  What this query really means is, "If [device width] is greater than or equal to 1024px, then do {...}"
    OR DONT APPLY STYLE WHEN WIDTH IS LESS THAT THIS MIN WIDTH OR ALLY STYLE WHEN WIDTH IS GREATER THAN THE MIN 
    */

/*@media only screen and (max-width: 768px) {
    ...  It is the maximum width before  / then styles stop being applied. CSS styles are ordered from largest to smallest.
}What this query really means is, "If [device width] is less than or equal to 768px, then do {...}."
    OR APPLY STYLE UP TO A MAX WIDTH OF....
*/


/*Note, when using css in pages, note the order in which they load, so the style sheet first will get overwritten by the page css unless you put max - over 1024 etc*/
/*@media (min-width: 1024px) {
}

    @media only screen and (max-width: 600px) and (min-width: 400px)  {...}
*/

/*Defaults and items that don't require manual screen width adjustment , so apply to all resolutions
    THESE WOULD ALSO APPLY IF THERE IS A GAP IN MEDIA SIZES I.E 768 TO 1024!

*/


   

/*Standard Colours
    Blue - #0E2CC2;
    Orange - #AC2C00;
    Red - #A40000;
    RedDark - #740003; #80000B
    Purple - #870090;
    Aqua  
    Top bar colours
    #B830FA; Light Magenta
    #9505D8; Medium Magenta
    #76015E; Dark Magenta

    #C0EB2D; Lemon green - looks quite nice


*/
body {
    font-family: Quicksand, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
}

@media (max-width: 768px) {
    body {
        font-size: 1.5rem;
    }
}


a {
    color: #0E2CC2;
}

    /* --- ALL MOBILE SCREENS - WITH SIZE  LESS THAN 768PX APPLY: --------------*/
    @media (max-width: 768px) {
    a {
        font-family: sans-serif, Cairo, Abel, PT Sans Narrow;
        font-size: 3vw;
        text-decoration: none;
        /*color: #F95CA4;*/
        color: #FFFFFF;
        margin-right: 20px;
        font-weight: normal;
        padding-top: 10px;
    }
}



p {
    font-size: 1.6vw;
    overflow-wrap: anywhere;
    word-wrap: anywhere;
    line-height: 1.7;
}

@media (max-width: 768px) {
    p {
        font-size: 4vw;
        overflow-wrap: anywhere;
        word-wrap: anywhere;
        line-height: 1.2;
    }
}


h1 {
    font-size: 4rem;
    margin: 0;
    font-weight: 500;
    line-height: 2;
    padding-bottom: 2vh;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}


/* DEFAULS ONLY SEE PAGES.CSS */
h2 {
    color: #007bff;
    font-size: 2vw;
    font-weight: bold;
    line-height: 1.6;

}

@media (max-width: 768px) {
    h2 {
        font-size: 5vw;
        font-weight: normal;
    }
}



h3 {
    color: #888888;
    font-size: 1.2vw;
    font-weight: normal;
    padding: 10px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    h3 {
        font-size: 4.5vw;
        font-weight: normal;
        line-height: 1.8;
    }
}




ul {
    list-style-type: none;
    padding: 0;
    width: 80%;
}

li {
    padding: 0.5vw;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    font-size: 1.2vw;
    background-color: #ffffff;
}

    li:last-child {
        border-bottom: none;
    }

    li::before {
        /*content: "✔";*/
        margin-right: 2vw;
        color: #0F032B;
        font-size: 2.5vw;
    }

@media (max-width: 768px) {
    ul {
        width: 95%;
        margin: 1%;
    }

    li {
        font-size: 4vw;
    }
}





/* ----- Main Page Parts   --------------*/
.MainPageDiv {
    max-width: 100%;
    margin-left: 0%;
    margin-right: 0%;
    display: flex;
    flex-direction: column;
    background-color: #F4F4F4;
    padding-bottom: 15vh;
}

@media (max-width: 768px) {
    .MainPageDiv {
        max-width: 100%;
        margin-left: 0%;
        margin-right: 0%;
        display: flex;
        flex-direction: column;
    }
}



section {
    display: flex;
    max-width: 80%;
    min-width: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2vw;
    padding-top: 5vh;
    margin: 2vh auto;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

@media (max-width: 768px) {
    section {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 100%;
        text-align: center;
        padding: 0vw;
        margin-bottom: 6vh;
    }
}


/* ----- END Main Page Parts   --------------*/

/* main block of text on each page INSIDE A SECTION oten coloure like black */
.SectionTextBlock {
    display: flex;
    max-width: 80%;
    flex-direction: column;
    margin-left: 5%;
    margin-right: 5%;
    padding-bottom: 10px;
}

@media (max-width: 768px) {

    .SectionTextBlock {
        max-width: 95%;
        padding-top: 4vh;
    }
}

/* OUTSIDE A SECTION */
.TextDiv {
    display: flex;
    max-width: 80%;
    flex-direction: column;
    margin: 2vw auto;
    padding-bottom: 5vh;
    justify-content: center;
}

@media (max-width: 768px) {
    /*Similar to Section & TextBlock*/
    .TextDiv {
        max-width: 95%;
        padding-top: 4vw;
    }
}








/*INPUT & BUTTONS*/


.txtInput {
    padding: 0.6vw;
    margin-bottom: 2vw; /*External*/
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 60vw;
    /*background-color:aqua;*/
    width: 30vw;
    font-size: smaller !important;
}

@media (max-width: 768px) {
    /*All text boxes*/
    .txtInput {
        min-width: 85%;
        height: 10vw;
        font-size: large !important;
    }
}


.ddlInput {
    padding: 0.6vw;
    margin-bottom: 2vw; /*External*/
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 60vw;
    /*background-color:aqua;*/
    width: 30vw;
    font-size: smaller !important;
}

@media (max-width: 768px) {
    .ddlInput {
        min-width: 85%;
        height: 10vw;
        font-size: large !important;
    }
}




.LinkButton {
    /*Last colour overwrites of course*/
    background-color: #0F032B; /*BLUE*/
    /*background-color: #B830FA;*/ /* Light Magenta*/
    /*background-color: #9505D8;*/ /* Medium Magenta*/
    cursor: pointer;
    border: none;
    color: white;
    padding: 10px;
    max-width: 20vw;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2vw;
    margin: 4px auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .LinkButton {
        font-size: 5vw;
        margin: 4px 2px;
        min-width: 40vw;
        border-radius: 10px;
    }
}




  