
body.home section#content .wrapper {
    padding-right: 1.39275766016713% ;

}
body.home section#content .wrapper hr{
    margin-right: 0;
}

.box { margin-bottom: 24px; display: flex; flex-direction: column;}
.box>a{
    display: flex; flex-direction: column; flex: 1;

}
.box div {

    padding: 16px;background: #666666; color: white;


}

.boxes .box div {
    background: #cdcccc; color: black;flex: 1;
}
.boxes .box:nth-child(4n+1) div{
    background: #00ccff;
}
.boxes .box:nth-child(4n+2) div{
     background: #ff009a
}
.boxes .box:nth-child(4n+3) div{

}
.boxes .box:nth-child(4n+4) div{
     background:rgba(255,127,3,1);
}

.box>a:hover   {text-decoration: none !important; }
.box>a:hover div {background: var(--grey) !important ; color: white; }

#featured {position:relative;}

@media all and (min-width: 1024px) {
    #featured div {
        background: #00AD4D; color: white;
        box-sizing: border-box;
        width: calc(((100% - 1.39275766016713%) / 2) - 12px);
        width: calc(50% - 12px);
        max-width: 760px; margin: 0 auto; position: absolute; bottom:0; left: 0;/* transform: translate(-50%,-24px);*/

    }
}


.box picture{
    position: relative;
    display: block; width: 100%; height: 0; padding-bottom: 60%;
}

#featured picture {
    padding-bottom: 45%;
}
.box picture img{
    position: absolute;
    width: 100%; height: 100%; left: 0; top: 0; object-fit: cover;
}

.boxes { display: flex; flex-wrap: wrap; justify-content: space-between; }
.boxes .box {
    width: calc(50% - 12px);
}
@media all and (max-width: 500px) {
    .boxes .box {
        width: 100%;
    }

    body.home section#content .wrapper {
        padding-right: 4%;
    }
}



#newsletter { margin: 24px 0;  max-width: 760px;
    box-sizing: border-box;
    background: #cdcccc; color: black;
    padding:12px 12px 0;
}

body.home #newsletter {



    background: #cdcccc; color: black;
    padding:16px; max-width: 760px; margin: 0 auto 24px;
}

#newsletter form {
    box-sizing: border-box;
    font-size: inherit;


    display: flex;
}

#newsletter form p:first-of-type {
    flex: 1;
    margin-right: 1em;

}

#newsletter form input[type="email"] {
    border: none;
    outline: none;
    box-sizing: border-box;
    /*    color: black;
        background: var(--light-blue);border-bottom: 1px solid rgba(0, 0, 0, 1);*/
    background-color: white;  color: black; border: 1px solid white;

    outline: none;
    display: block;
    width: 100%;
 /*   flex: 1;*/

    font-size: inherit;
    line-height: inherit;
    font-weight: 400;

    font-family: inherit;
    font-style: normal;
   /* padding: 0 0.5em 0 0;margin-bottom: 1rem;*/


}


#newsletter form input:-webkit-autofill,
#newsletter form input:-webkit-autofill:hover,
#newsletter form input:-webkit-autofill:focus,
#newsletter form textarea:-webkit-autofill,
#newsletter form textarea:-webkit-autofill:hover,
#newsletter form textarea:-webkit-autofill:focus,
#newsletter form select:-webkit-autofill,
#newsletter form select:-webkit-autofill:hover,
#newsletter form select:-webkit-autofill:focus {
    /* border: 1px solid green;
   -webkit-text-fill-color: green;*/
    /* -webkit-box-shadow: 0 0 0px 1000px var(--light-blue) inset;*/

    transition: background-color 5000s ease-in-out 0s;

    background: white !important; color: black;

}


@-webkit-keyframes autofill {
    0%,100% {
        color: #666;
        background: transparent;
    }
}



#newsletter form input:-webkit-autofill {
    -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}



#newsletter form p { margin:1em 0; }
#newsletter form label {
    visibility: hidden;
    position: fixed;
    top: -100px;
}

#newsletter form input[type="submit"] {
    display: inline-block;
    border: none;
    outline: none;
    font-weight: 700;
    margin: 0;
    cursor: pointer;


}

#newsletter form input[type="submit"] {
    cursor: pointer;
    font-weight: 400;

    display: flex;
    align-content: center;
    align-items: center;
    /*align-items: center;*/
    background-color: transparent;
    white-space: nowrap;
    /*color: #000;
    border: 1px solid rgba(0, 0, 0, 0.54);*/
    border: 1px solid white;
    color: white;
    transition: all 0.2s ease;
    font-size: inherit;
    line-height: inherit;
    transition-property: color, background, border;
    white-space: nowrap;


    /*padding: 0 0 0 0.75em;*/
    display: inline-flex;

    /*mix-blend-mode: screen;*/

    background:#1caf4d; border-color: #1caf4d;

}
#newsletter form input { line-height: 2; padding:0.5em }

#newsletter form  input[type="submit"]::after {
    display: block;
    content: "";
    height: 44px;
    width: 44px;
    min-width: 44px;
/*    background-image: var(--chevron-hover);
    background-size: var(--chevron-size);*/
    background-repeat: no-repeat;
    background-position: center;
    margin-left: auto;

    transform: rotate(-90deg);
}

#newsletter form button:hover {
    /*background-color: var(--spot);
    border: 1px solid var(--spot);
    color: white;*/
    background-color: white;
    border: 1px solid white;
    color: black;
}

#newsletter form button:hover::after {
   /* background-image: var(--chevron);*/
}


@media all and (min-width: 600px) {

}

@media all and (min-width: 900px) {

}

@media all and (max-width: 599px) {
    #newsletter form {
        display: block;


        font-size: 17px;
        line-height: 44px;
    }
}