#banner {
    height: 100vh;
    max-height: 100vh;
    min-height: 240px
}

#banner h1 {
    padding-top: 5vh
}

#banner h1 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    width: 100%;
    font-size: 6rem
}
#woodsureFP {
    margin-top: -1.5rem;
    text-align: center;
}
#woodsureFP > figure {
    float: none;
    margin:2rem auto;
}

h4:first-of-type {
    color: #000;
    font-size: 1.2rem;
    line-height: 1.7rem;
    text-align: center;
    margin: 1.5rem 0;
}

@media screen and (min-width: 1200px) {
    #banner > span {
        margin: 0;
        max-width: 100%;
        border: none
    }
}

#banner > div:not(#underDropButton) {
    padding-bottom: 3rem
}

#underDropButton {
    width: 100%;
    height: 50px;
    display: block;
    text-align: center;
    vertical-align: middle;
    font-size: 2rem;
    text-shadow: none;
    -moz-transition: text-shadow 0.2s ease-in-out;
    -webkit-transition: text-shadow 0.2s ease-in-out;
    -ms-transition: text-shadow 0.2s ease-in-out;
    transition: text-shadow 0.2s ease-in-out;
    background-color: rgba(70,120,255,0.2);
    line-height: 2rem;
    position: absolute;
    bottom: 0;
    z-index: 900;
    left: 0;
    right: 0
}

#buttonDown:hover {
    text-shadow: 1px -1px 0 #F05700, -1px -1px 0 #F05700, -1px 1px 0 #F05700, 1px 1px 0 #F05700;
    cursor: pointer
}

#header nav {
    padding-bottom: 1rem
}

#banner > span {
    animation-duration: 32s
}

#banner > span:nth-of-type(1) {
    background-image: url('/images/slideshow/2017/2k/fire.jpg')
}

#banner > span:nth-of-type(2) {
    background-image: url('/images/slideshow/2017/2k/GovernmentLogs.jpg');
    animation-delay: 4s
}

#banner > span:nth-of-type(3) {
    background-image: url('/images/slideshow/2017/2k/delivery.jpg');
    animation-delay: 8s
}

#banner > span:nth-of-type(4) {
    background-image: url('/images/slideshow/2017/2k/carrier.jpg');
    animation-delay: 12s
}

#banner > span:nth-of-type(5) {
    background-image: url('/images/slideshow/2017/2k/cskd.jpg');
    animation-delay: 16s
}

#banner > span:nth-of-type(6) {
    background-image: url('/images/slideshow/2017/2k/firestart.jpg');
    animation-delay: 20s
}

#banner > span:nth-of-type(7) {
    background-image: url('/images/slideshow/2017/2k/fireburn.jpg');
    animation-delay: 24s
}

#banner > span:nth-of-type(8) {
    background-image: url('/images/slideshow/2017/2k/mountain.jpg');
    animation-delay: 28s
}

#banner > div:nth-of-type(8) {
    animation-delay: 28s !important
}

#banner > div:not(#underDropButton):not(#woodsureTop) {
    animation-duration: 32s
}

#banner > div p#topend {
    position: absolute;
    top: -60vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    text-align: center
}
/** Possible fixer **/
@media screen and (min-aspect-ratio: 16/9) {
    #banner > div p#topend {
        top: -60vh;
    }
}
@media screen and (min-aspect-ratio: 4/3) {
    #banner > div p#topend {
        top: -60vh;
    }
}
@media screen and (aspect-ratio: 1/1) {
    #banner > div p#topend {
        top: -70vh;
    }
}
@media screen  and (min-aspect-ratio: 3/4) {
    #banner > div p#topend {
        top: -60vh;
    }
}
@media screen and (min-aspect-ratio: 9/16) {
    #banner > div p#topend {
        top: -65vh;
    }
}
@media screen and (width:810px) and (height:1080px) {
    #banner > div p#topend {
        top: -75vh;
    }
}
/** END Possible fixer **/
#banner > div:not(#underDropButton):not(#woodsureTop) {
    bottom: 6rem
}

@media screen and (max-width: 420px) {
    #banner h1 {
        line-height: 3.8rem !important;
    }
}

/***
 * New section for new images placement On Front Page 12th October 2020
 ***/
.homepageRow {
    width: 100%;
    max-width: 1280px;
    box-sizing: border-box;
}
p.firstp {
    margin: 0 auto 1.5rem;
    max-width: 90%;
    font-size: 1.1rem;
}
.homepageRow > figure {
    width: 100%;
    max-width: none;
    display: block;
    text-align: center;
}
.homepageRow > div {
    display: block;
    width: 100%;
}
.homepageRow > div p {
    font-family: 'Viga',sans-serif;
    color: #4575ff;
}
.homepageRow .image.left,
.homepageRow .image.right {
    max-width: 90%;
    margin: 1rem auto;
    min-width: 300px;
    top:0;
    float:none;
    padding: 0;
}
.homepageRow > figure img + span,
.homepageRow div#topline {
    position: absolute;
    bottom: 35px;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Viga',sans-serif;
    background-color: rgba(220, 0, 0, 0.65);
    box-shadow: 0 0 0 0.5rem rgba(225, 20, 20, 0.35);
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    font-weight: 300;
    padding: 0.5rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    width: 80%;
}
.homepageRow div#topline {
    top: 50px;
    bottom: unset;
}
.homepageRow > figure img + span.left {
    text-align: left;
}


/***
 * Special Box no.3
 ***/

.homepageRow #bounds {
    position: absolute;
    bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.homepageRow #bounds > span {
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Viga',sans-serif;
    background-color: rgba(220, 0, 0, 0.65);
    box-shadow: 0 0 0 0.5rem rgba(225, 20, 20, 0.35);
    text-align: left;
    font-weight: 300;
    padding: 0.5rem 140px 0.5rem 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    width: 90%;
    display: inline-block;
}

.homepageRow #woodsure {
    width: 120px;
    height: 120px;
    border: none;
    position: absolute;
    bottom:30%;
    left: 10%;
}
.homepageRow #bounds #priceLink {
    right: 7%;
    width: 110px;
    height: 110px;
    border: none;
    position: absolute;
    top:50%;
    transform:translateY(-50%);
}

.homepageRow #woodsure > img {
    border: none;
    width: 100%;
    height: auto;
    max-height: none;
}
.homepageRow #bounds > #priceLink {
    color: #4575ff;
    font-family: 'Viga',sans-serif;
    background-color: rgba(255, 225, 0, 0.65);
    box-shadow: 0 0 0 0.5rem rgba(255, 220, 0, 0.35);
    text-align: center;
    font-weight: 300;
    padding: 0.25rem;
    border-radius: 100%;
    line-height: 1.15;
}
.homepageRow #priceLink a {
    transform: translate(-50%, -50%);
    position: absolute;
    top:50%;
    left:50%;
    color:#fff;
    font-size: 1.6rem;
}
.homepageRow #priceLink a:hover {
    /* color: #ffe100; */
    color: #4575ff;
}

/***
 * End special box.
 ***/

.homepageRow > figure > div.boxShadowInner > span.darker {
    background-color: rgba(220, 0, 0, 0.75);
}

.homepageRow figcaption:not(.alwaysShow) {
    display: none;
}

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

    .homepageRow figcaption {
        display: block;
        font-size: 1.1rem;
        color: #4575ff;
        font-family: 'Viga',sans-serif;
        text-align: center;
        font-style: normal;
        margin: 0 auto 2rem;
        max-width: 90%;
        line-height: 1.4;
    }
    .homepageRow figcaption ul {
        margin-left:1rem;
        padding-left:0;
    }
    .homepageRow figcaption.left {
        text-align: left;
    }
    /*.homepageRow > figure img + span,*/
    .homepageRow #bounds > span,
    .homepageRow div#topline {
        display: none;
    }
    .homepageRow #woodsure {
        bottom: 28%;
        width: 120px;
    }
    .homepageRow #bounds > #priceLink {
        width: 90px;
        height: 90px;
        color: #fff;
        font-family: 'Viga',sans-serif;
        background-color: rgba(220, 0, 0, 0.65);
        box-shadow: 0 0 0 0.5rem rgba(225, 20, 20, 0.35);
        transform: translateY(-110%) translateX(-50%);
        left: 50%;
    }
    .homepageRow #bounds > #priceLink a:hover {
        color: #ffe100;
    }
    #priceLink a > span.checkPrice {
        display: none;
    }
    .homepageRow figcaption:not(.alwaysShow) {
        display: none;
    }
}

@media screen and (min-width: 981px) {
    #header {
    }
    .homepageRow > figure img + span {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 980px) {
    #underDropButton {
        display: none;
    }
    .homepageRow > figure img + span {
        line-height: 1.5;
    }
}

@media screen and (max-height: 370px) {
    #banner {
        padding-top: 3rem;
        padding-bottom: 10rem;
    }

    #banner h1 {
        padding-top: 0
    }
}

@media screen and (min-height:140vw) {
    #banner {
        /*height: 70vw;*/
        max-height: 100vh;
        min-height: 240px;
    }

    #banner p {
        letter-spacing: normal;
        line-height: 1.3;
    }

    #underDropButton {
        display: none;
    }

    #banner > div:not(#underDropButton) {
        padding-bottom: 0;
    }
}
@media screen and (max-width: 700px) {
    .homepageRow #priceLink {
        width: 14%;
        height: 18%;
    }
    .homepageRow #priceLink > a {
        font-size: 1.4rem;
    }

}
@media screen and (max-width: 960px){
    .homepageRow #bounds {
        bottom: 35px;
    }
    .homepageRow #woodsure {
        left: 10%;
    }
    .homepageRow #bounds > span {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}
@media screen and (max-width: 800px) {
    .homepageRow #bounds {
        bottom: 30px;
    }
    .homepageRow #bounds > span {
        padding: 0.5rem 130px 0.5rem 1rem;
    }
    .homepageRow #bounds > #priceLink {
        width: 90px;
        height: 90px;
    }
    .homepageRow #bounds > #priceLink > a {
        font-size: 1.4rem;
    }
    .homepageRow #woodsure {
        width: 120px;
        height: 120px;
    }
}
@media screen and (max-width: 750px) {
    .homepageRow > figure img + span.fifth,
    .homepageRow #bounds {
        bottom: 0;
        top: 0;
    }
}
@media screen and (max-width: 640px) {
    #banner h1 {
        font-size: 5rem;
    }
    .homepageRow figcaption {
        display: block;
        font-size: 1.1rem;
        color: #4575ff;
        font-family: 'Viga',sans-serif;
        text-align: center;
        font-style: normal;
        margin: 0 auto 1rem;
        max-width: 90%;
        line-height: 1.4;
    }
    .homepageRow figcaption ul {
        margin-left:1rem;
        padding-left:0;
    }
    .homepageRow figcaption.left {
        text-align: left;
    }
    /*.homepageRow > figure img + span,*/
    .homepageRow #bounds > span,
    .homepageRow div#topline {
        display: none;
    }
    .homepageRow #woodsure {
        bottom: 28%;
        width: 120px;
    }
    .homepageRow #bounds > #priceLink {
        width: 90px;
        height: 90px;
        color: #fff;
        font-family: 'Viga',sans-serif;
        background-color: rgba(220, 0, 0, 0.65);
        box-shadow: 0 0 0 0.5rem rgba(225, 20, 20, 0.35);
        transform: translateY(-110%) translateX(-50%);
        left: 50%;
    }
    .homepageRow #bounds > #priceLink a:hover {
        color: #ffe100;
    }
    #priceLink a > span.checkPrice {
        display: none;
    }

    .homepageRow figcaption:not(.alwaysShow) {
        display: block;
    }
}

@media screen and (min-width: 550px) {
    .homepageRow figcaption:not(.alwaysShow) {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    p.firstp {
        max-width: 95%;
    }

    #banner h1 {
        font-size: 3.25rem;
    }

    #banner {
        height: 100vw;
    }

    #banner > div:not(#underDropButton):not(#woodsureTop) {
        bottom: 1rem;
    }
    .homepageRow #bounds > #priceLink {
        width: 75px;
        height: 75px;
        /*top: 10px;*/
        right:50%;
    }
    .homepageRow figcaption {
        display:  block;
    }
    .homepageRow > figure img + span {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    #banner h1 {
        top: 35%;
    }

    #banner {
        height: 120vw;
    }
    .homepageRow figcaption {
        font-size: 1rem;
    }
    .homepageRow #woodsure {
        bottom: 18%;
        width: 80px;
        left:9%;
    }
    .homepageRow #priceLink {
        bottom:9%;
        width: 65px;
        height: 65px;
        top:auto;
        right: 8%;
    }
    .homepageRow #priceLink > a {
        font-size: 1.2rem;
    }
}
@media screen and (max-width: 600px) and (orientation:portrait){
    #banner > div p#topend {
        top: -75vw;
    }
}

@media screen and (max-width: 450px) and (orientation:portrait) {
    #banner > div p#topend {
        top: -90vw;
    }
}
