:root
{
    --main-blue: #273952;
    font-size: 24px;
}
.break {
    flex: 1;
}

.cookie-policy {
    z-index:99999; 
    position: fixed;
    right: 3em; 
    left: auto; 
    display: flex; 
    bottom: 0em; 
    border-radius: 0.6em 0.6em 0 0; 
    background-color: rgb(190, 44, 50); 
    width: 8em; text-align: center; 
    align-items: center; 
    justify-content: center; 
    font-size: 15px;
    color: white;
}
.cookie-policy-full {
    
}
* {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, p 
{
    margin: 0;
    padding: 0;
}

body
{
    font-family:Noto Sans, sans-serif;
    line-height: 1.8;
    background-color: rgb(254, 251, 247);
    margin: unset;
}
.header
{
    display:inline-block;
    padding: 0 2em;
}

.hamburger
{
    align-items:flex-end;
    cursor: pointer;
}
.bar1, .bar2, .bar3 {
  width: 2em;
  height: 0.3em;
  background-color: #333;
}


/* HOMEPAGE */


.wn-homepage
{
    display:grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    align-items:center;
    justify-content: center;
    overflow-x: hidden;
}


.home-hero
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3em;
    color: white;
    background: var(--main-blue);
    border-bottom: 0.2em white solid;
}

.wn-logo-inverted
{
    height:20em;
    width: 37.2em;
}

.search-bar
{
    width: 100%;
    font-size: 1.5em;
    height: 2em;
    border-radius: 5em;
    color: #80bc00;
    margin: 1em 0 2.5em;
    border: none;

}
.search-bar::placeholder
{
    color: #80bc00;
    font-size: 1.2em;
    padding-left: 0.2em;
}

.wn-infographic
{
    margin-left: 0em;
    height: 25em;
}




.explore-opportunities-section
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-bottom: 0.2rem solid white;
}

.explore-opportunities-nav
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap:1.5em;
    padding: 5em 2em;
    background: #0e576f;
}

.explore-opportunities-copy-container::before
{
    content: " ";
    background-image: url("/media/hcboraqt/explore-opportunities-banner-img.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 0;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;

}
.explore-opportunities-copy-container
{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    font-size: 2em;
    padding: 4em 2em;
    z-index: 1;
}
.explore-opportunities-copy-container > h2
{
    font-size: 2em;
}

.useful-resources
{
    background: linear-gradient(
      315deg,
      rgba(39, 57, 82, 0.8) 48%,
      rgba(39, 57, 82, 0.8) 100%
    ), url("/media/xlglwesx/cityscape.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 2em;
    gap: 1em;
    color: white;
}
.useful-resources > h2
{
    font-size: 3em;
}

.create-an-opportunity
{
    background-image: linear-gradient( 315deg, rgba(39, 57, 82, 0.8) 48%, rgba(39, 57, 82, 0.8) 100% ), url("/media/yg2b2wsb/park.jpg;");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.lightbulb-image {
    align-self: flex-end;
    height: 12em;
}


/* INTO WORK */

.into-work-page
{
    margin: 2em;
}

.into-work-img
{
    max-width: 100%;
}



/* SECTOR */

.sector-display
{
    color: black;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: auto;
    text-decoration: none;
    align-items: center;
    align-content: space-around;
    row-gap: 2em;
}

.sector-container
{
       grid-column: 2/3;
}

.sector-card > a 
{
    text-decoration: none;
    color: black;
}

.sector-card {
    border-radius: 2em;
    margin: 0.5em;
    background-color: rgb(224, 221, 221);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.3em 0.8em gray, 0 0.3em 0.8em gray;
}
.sector-img > img
{
    border-radius: 2em 2em 0 0 ;
    object-fit: cover;
    height: 20em;
    width: 25em;
}

.sector-name
{
    margin: 1em;
    text-decoration: none;
    min-width: 20em;
    max-width: 20em;
    height: 100%;
}
.sector-description
{
    margin: 1em;
    text-decoration: none;
    min-width: 20em;
    max-width: 20em;
}

.sector-list-container {
    margin-top: 0.5em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}


@media only screen and (min-width: 1094px) {
    .sector-list-container {
        flex-direction: row;
    }
}

.map-list-container {
    margin-top: 0.5em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
@media only screen and (min-width: 1094px) {
    .map-list-container {
        flex-direction: row;
    }
}

.map-employer-list {
    padding: 2em;
    background-color: #0e576f0f;
    margin: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.map-google-embed {
    padding: 2em;
    background-color: #0e576f0f;
    margin: 0px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: calc(100vh - 1em);
}

.employer-option-container {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.employer-option-tile {
    padding: 0.5em;
    margin: 0.5em;
    background-color: #FFFFFF;
    border-radius: 0.5em;
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.employer-location {
    height: 10em;
    object-fit: contain;
    align-self: stretch;
}


@media only screen and (min-width: 1094px) {
    .map-employer-list {
        top: 0.5em;
        position: sticky;
        flex: 0.33;
        flex-direction: column;
    }
    .map-google-embed {
        top: 0.5em;
        position: sticky;
        height: calc(100vh - 1em);
        flex: 0.66;
    }
    .employer-option-tile {
        cursor: pointer;
        display: flex;
        flex-direction: column;
    }
    .employer-option-container {
        width: 100%;
    }
    .employer-location {
        height: 4em;
    }
}


.pathways-container {
    padding: 1rem;
}

.careers-nav
{
    padding: 0em 0.3em 0.3em 0.3em;
    color:red;
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
}
.current-sector
{
    margin: 0em;
}

.careers-nav-item
{
    padding: 0.4em;   
    justify-content: center;
    text-align: center;
    flex: 1 1 0;
    color: black;
}
.careers-nav-item:hover
{
    background-color: rgb(188, 188, 188);
}
.careers-nav-item > a:active
{
    background-color: white;
}
.careers-link
{
    text-decoration:none;
}
.career-profile
{
    margin: 1em 1em 1em 2em;
    padding: 2em;
    background-color: #0e576f0f;
}

.pathways-nav {
    display: flex;  
}
.pathways-nav > a
{
    text-decoration: none;
}
.pathways-nav > * 
{

}

.pathway-info
{
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 0 
}

.award-info {
    background-color: white;
    display: flex;
    flex: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex: 1 1 0;
    margin-bottom: 1em;
    background-color: rgb(254, 251, 247);
}
.award-name {
    background-color: #0e576f;
    flex-grow: 1;
    flex-shrink: 1;
    text-align: center;
    min-width: 15em;
    max-width: 15em;
    padding: 2em;
    margin-right: 1em;
    color: white;
    align-self: stretch;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.award-considerations
{
    background-color: #0e576f;
    flex-shrink: 1;
    flex-grow: 3;
    color: white;
    padding: 2em;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.entry-requirements
{
    width: 100%;
    padding: 2rem;
    background: #273952;
    color: white;
}

.pathways-nav-item 
{
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pathways-nav-item > a 
{
    text-decoration: none;
    color: white;
}

/* About Page */

.about-page
{
    padding: 2em;
}
.about-header
{
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    height: 20em;
    width: 100%;
    background-size:  contain;
    background-repeat: no-repeat;
    background-origin:border-box;
}
.about-content
{
    padding: 2em;
    color: white;
    background-color: #185F77;
}
.about-content > img
{
    
}

/* Blog */

.blog-container
{
    padding:2em;
}
.blog-container > img
{
    width: 100%;
}

/* Cardiff Youth Service */
.cardiff-youth-service-container
{
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cardiff-youth-service-container > img
{
    width: 25em;
}


/* Create An Opportunity */
.create-an-opportunity-container
{
    padding:2em;
}

/* Funding */

.funding-page
{
    padding: 2em;
}
.funding-page > img
{
    width: 100%;
    padding: 2em 0;
}
.accordions
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

/* Travel */

.travel-page
{
    padding: 2em;
}
.travel-page > img
{
    width: 100%;    
}

/* Components */
.container {
    padding: 2em;
}

.flex-container {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}
.flex-gap
{
    gap: 1em;
}

.card > a 
{
    text-decoration: none;
    color: black;
}
.card:hover{
    cursor: pointer;
}
.card {
    border-radius: 1em;
    margin: 0.5em;
    background-color: #0e576f0f;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.card-copy
{
    margin-top:0.em;
    padding: 1rem;
}
.card > h3 {
    height: 3em;
    font-weight: 400;
}
.gap-1 {
    gap: 1em;
}

.opportunity-card {
    height: 35em;
}

.card > img
{
    width: 100%;
    border-radius: 1em 1em 0 0;
}

.contact-social-links {
    display: flex;
    gap: 1em;
    padding: 0.2em;
}



.home-panel
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.home-panel > img
{
    height: 6em;
    width: 6em;
}

.home-panel:hover 
{
    cursor:pointer;
}

.btn
{
    border-radius: 0.9em;
}

.btn-large
{
    padding: 1em;
    width: 100%;
    height: 20em;
}
.btn-large > h3
{
    font-size: 3em;   
}

.btn-large > i
{
    font-size: 5em;
}
.explore-opportunities-btn
{
    padding: 1em;
    width: 100%;
    height: 20em;   
}
.explore-opportunity-bg
{
    background: linear-gradient(
      180deg,
      rgba(197, 104, 39, 0.5) 0%,
      rgba(197, 104, 39, 0.8) 100%
    ),url(/media/o4upq0dx/explore-opportunities-background-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.plan-pathway-bg
{
    background:linear-gradient( 310deg, rgba(128, 188, 0, 0.6) 0%, rgba(85, 125, 0, 0.8) 100% ), url(/media/niklnjkw/plan-my-pathway-button-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.orange-gradient
{
    background: linear-gradient(
    315deg,
    rgba(197, 104, 39, 1) 48%,
    rgba(56, 30, 11, 1) 100%
  );
}

.blue-gradient
{
    background: linear-gradient( 315deg, rgba(14, 87, 111, 1) 48%, rgba(5, 28, 36, 1) 100% );
}

.green-gradient
{
    background: linear-gradient( 315deg, rgba(128, 188, 0, 1) 48%, rgba(32, 47, 0, 1) 100% );
}
.create-an-opportunity
{
    background-image: linear-gradient( 315deg, rgba(39, 57, 82, 0.8) 48%, rgba(39, 57, 82, 0.8) 100% ), url("/media/yg2b2wsb/park.jpg");
}
.create-opportunity-button
{
    height: 20em;
    width: 100%;
    padding: 1em;
}
.create-an-opportunity-button > h3 
{
    
}

.card-image{
    object-fit: cover;
}

@media screen and (min-width: 1600px) {
    .card {
        width: 25%;
    }
    .card-image {
        height: 12em;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1599px) {
    .card {
        width: 33.3%;
    }
    .card-image {
        height: 12em;
    }
}
@media screen and (min-width: 600px) and (max-width: 1199px) {
    .card {
        width: 50%;
    }
    .card-image {
        height: 12em;
    }
}
@media screen and (max-width: 599px)  
{
    .card 
    {
        width: 100%;
    }
    .card-image {
        height: 20em;
    }
}


@media screen and ( min-width: 988px)
{
    .contact-social-links{
        font-size: 2em;
        padding: 0em;
        align-items:center;
    }

    .home-hero
    {
        flex-wrap: nowrap;
    }
    .home-hero-left
    {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .wn-logo-inverted
    {
        height: 10em;
        width:20em;
    }
    .search-bar
    {
        height: 2rem;
        width: 30rem;
        margin: 0;
        font-size: 1.2em;
        padding: 0.2em;
        
    }
    .search-bar::placeholder
    {
        font-size: 1.2rem;

    }
    .wn-infographic
    {
        grid-column: 2/2;
        grid-row: 1/1;
    }
    .wn-main-copy
    {
        grid-column: 1/2;
    }
}
@media screen and (max-width: 1024px) {
    :root {
        font-size: 18px;
    }
    body {
        font-size: 24px;

    }
    h3 {
    }
    i {
        font-size: 3em;
    }
}
@media screen and (max-width: 786px)
{
    :root {
        font-size: 18px;
    }

}
@media screen and (max-width: 987px)
{
       .create-an-opportunity
        {
            flex-direction: column;
            align-items: center;
        }
        .create-opportunity-button{
            align-self: stretch;
            width: auto;
        }

    .lightbulb-image {
        display: none;
    }
       .wn-infographic
       {
            

       }
}
@media screen and ( min-width: 988px)
{
    :root {
        font-size: 24px;
    }
    .create-opportunity-button
    {
        width: 160rem;
        height: 15rem;
    }
    .btn-large
    {
        width: 10rem;
        height: 10rem;
    }
    .btn-large > h3
    {
        font-size: 1rem;   
    }

    .btn-large > i
    {
        font-size: 1rem;
    }
    .btn-large > img
    {
        height: 2rem;
        width: 2rem;
    }
    .create-an-opportunity
    {
        flex-direction: initial;
        gap: 3rem;
        justify-content: center;
        align-items: center;
    }
    .useful-resource
    {
        display: flex;
        flex-wrap: wrap;
        background-repeat: no-repeat;
        background-size: cover;
        align-content: center;
        justify-content: center;
        text-align: center;
        padding: 2em;
        gap: 1em;
        color: white;
    }
    .explore-opportunities-nav
    {
        width: 100%;
    }
    .explore-opportunities-copy-container
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        background-position: center;
        background-image: url("/media/hcboraqt/explore-opportunities-banner-img.jpg");
        text-align: center;
        overflow: hidden;
        width: 100%;
        font-size: 1em;
        padding: 4em 2em;
        z-index: 0;
        border: none;
        background-repeat: no-repeat;
        background-size: cover;
        color: white;
    }
    .explore-opportunities-copy
    {
        display: flex;
        flex-direction: column;
        align-self: flex-start;
    }
    .explore-opportunities-copy-container::before
    {
        all: unset;
    }
    .explore-opportunities-btn
    {
        padding: 1em;
        flex: 1;
        /*width: 20em;*/
        height: 15em;   
    }
    .explore-opportunities-btn > img
    {
        height: 2em;
        width: 2em;
    }

}
