/***** CSS Reset *****/

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;
}

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

body, html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a{
    color: inherit;
    text-decoration: none; 
}
ul, li{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

button,
input,
optgroup,
select,
textarea{
    border:none;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

@font-face {
    font-family: 'Helvetica-BQ';
    src: url('../fonts/HelveticaBQ-Regular.woff2') format('woff2'),
        url('../fonts/HelveticaBQ-Regular.woff') format('woff'),
        url('../fonts/HelveticaBQ-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.s1, .s2, .s3{
    font-family: Helvetica-BQ;
    letter-spacing: .01em;
    color: inherit;
}
.s1{
    font-size: 37px;
    line-height: 34pt;
}
    .caption .s1, .s2{ line-height: 30px; }

.s2{
    font-size: 28px;
    line-height: 30pt;
}
.s3{
    font-size: 23px;
    line-height: 27.6px;
}

/*************************************************************/
/*                       Core Styles                         */
/*************************************************************/

.upper{ text-transform: uppercase; }
.caps{ text-transform: capitalize; }
.low{ text-transform: lowercase; }
.underline{ border-bottom: solid 1px black; }

.hidden{ opacity: 0 !important; pointer-events: none !important; }
.box{ box-sizing: border-box; }
.button{ cursor: pointer; }

.elp{  
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*************************************************************/
/*                        Typesetting                        */
/*************************************************************/


/*************************************************************/
/*                   Margins and Padding                     */
/*************************************************************/

.p-a{ padding: 2rem 2.5rem; }
.p-t{ padding-top: 1.8rem; }
.p-b{ padding-bottom: 1.8rem; }
.p-l{ padding-left: 2rem; }
.p-r{ padding-right: 2rem; }

.p-a-2{ padding: .9rem 1rem; }
.p-t-2{ padding-top: .9rem; }
.p-b-2{ padding-bottom: .9rem; }
.p-l-2{ padding-left: 1rem; }
.p-r-2{ padding-right: 1rem; }

.m-a{ margin: 1.8rem 2rem; }
.m-t{ margin-top: 1.8rem; }
.m-b{ margin-bottom: 1.8rem; }
.m-l{ margin-left: 2rem; }
.m-r{ margin-right: 2rem; }

.m-b-d{ margin-bottom: 3.6rem; }

.m-a-2{ margin: 3.75rem; }
.m-t-2{ margin-top: 3.75rem; }
.m-b-2{ margin-bottom: 3.75rem; }
.m-l-2{ margin-left: 3.75rem; }
.m-r-2{ margin-right: 3.75rem; }



/************************************************************/
/*                           Core                           */
/************************************************************/

body[p='home'],
body[p='information'],
body[p='products']{ overflow: auto; }
body[p='lightbox']{ overflow: hidden; }

/************************** Header **************************/

#header-parent{
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    height: 10.5rem;
    width: 100%;
    z-index: 999;
/*    background-color: orange;*/
}
    #header-parent .primary,
    #header-parent .secondary{
        position: absolute;
        height: 100%;
        width: 100%;
        padding: 2.4rem 2.4rem .85rem 2.4rem;
        box-sizing: border-box;
    }

    #header-parent .primary{ opacity: 1; z-index: 1000; }
    #header-parent .secondary{ opacity: 0.5; z-index: 500; }

        #header-parent .primary a{
            display: block;
            width: auto;
            height: 100%;
        }
        #header-parent svg{
            fill: inherit;
            margin: 0 auto;
            max-height: 100%;
            width: auto;
        }

/*********************** Navigation ***********************/

#nav-parent{
    position: fixed;
    right: 0;
    bottom: 0;
    height: 6.5rem;
    width: 30%;
    z-index: 999;
    pointer-events: none;
/*    background-color: aquamarine;*/
}
    #nav-parent .primary,
    #nav-parent .secondary{
        position: absolute;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        width: auto;
/*        background-color: yellow;*/
    }

    #nav-parent .primary{ opacity: 1; z-index: 1000; }
    #nav-parent .secondary{ opacity: 0.5; z-index: 500; }

        #nav-parent .item{
            cursor: pointer;
            width: auto;
            pointer-events: all;
/*            background-color: blue;*/
        }
        #nav-parent .item[mobile]{ display: none; }

/************************ Overlay ************************/



/************************* Page *************************/

#page-parent{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    #page-parent section{
        position: relative;
        width: 100%;
        height: auto;
    }


/************************************************************/
/*                     Section: Slides                      */
/************************************************************/

section#slides{
    height: 100vh;
    height: 100%;
/*    background-color: aqua;*/
}

    #carousel{
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
    }
        #carousel .slide{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

            .image-parent{
                position: absolute;
                display: flex;
                align-items: center;
                width: 100%;
                height: 100%;
                z-index: 100;
            }
            .image-parent.single{ justify-content: center; }
            .image-parent.diptych{ justify-content: center; padding: 2.5rem; box-sizing: border-box; }

                .image-parent img{
                    display: block;
                    max-width: 100%;
                }
                .image-parent.single img{ max-height: calc(100% - 12rem); }
                .image-parent.diptych img{ 
                    max-height: calc(100% - 20rem);
                    max-width: 50%;
                    box-sizing: border-box;
                }
                .image-parent.diptych img:nth-child(1){ padding-right: .8rem; }
                .image-parent.diptych img:nth-child(2){ padding-left: .8rem; }

            .background-parent{
                position: absolute;
                width: 100%;
                height: 100%;
                z-index: 0;
            }

    #captions{
        position: absolute;
        bottom: 0;
        width: 70%;
        height: auto;
        z-index: 200;
/*        background-color: lime;*/
    }
        #captions .caption{
            display: none;
            width: auto;
        }
        #captions .caption.active{ display: block; }
    
    



/************************************************************/
/*                    Section: Products                     */
/************************************************************/

section#products {
    grid-area: products;
    margin-top: 25vh;
/*    background-color: hotpink;*/
}
/*#page-parent #product{ opacity: 0; }*/

/*    *[p='home'] section#products{ opacity: 0; }*/
/*
    *[p='information'] section#products,
    *[p='products'] section#products{ opacity: 1; }
*/

    #products .inner-parent{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 120rem;
        margin: 0 auto;
    }

        .product {
            position: relative;
            display: block;
            height: auto;
            width: calc(100% /4);
/*            outline: solid 1px blue;*/
        }
            .product .image{}
            .product .image img { width: 100%; }
            .product .image img:hover{ outline: solid 3pt white; outline-offset: -3pt; }

            .product .caption{
/*                background-color: blue;*/
            }

                .caption .title,
                .caption .description,
                .caption .date,
                .caption .cta{
                    position: relative;
                    display: block;
                    width: 100%;
                    height: auto;
                }

                .product .cta{
                    opacity: 0;
                }
                    #caption .cta{
                        display: inline-block;
                    }
                .product:hover .cta{ opacity: 1; }

                    .product .cta a{
                        display: inline-block;
                        margin-top: .8em;
                        width: auto;
/*                        background-color: red;*/
                    }
                        .cta a .price,
                        .cta a .enquire {
                            display: block;
                            width: auto;
/*                            background-color: aqua;*/
                        }
                            .cta[price='true'] .enquire{ display: none; }
                            .cta[price='true'] a:hover .price{
                                display: none;
                                pointer-events: none;
                            }
                            .cta[price='true'] a:hover .enquire{
                                display: block;
                            }

            .slide img{
                display: block;
                max-width: 100%;
                max-height: 100%;
            }


/************************************************************/
/*                   Section: Information                   */
/************************************************************/

section#information {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    grid-area: information;
    height: 64rem;
    max-height: 100%;
    padding: 18rem 2.4rem 2.4rem 2.4rem;
/*    background-color: chartreuse;*/
}

    #information .inner-parent{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        max-width: 75rem;
        margin: 0 auto;
/*        background-color: red;*/
    }

        .description, .contacts{
            position: relative;
            height: auto;
            width: 100%;
        }
        .contacts{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            height: auto;
            width: 100%;
        }


/************************************************************/
/*                         Overlay                          */
/************************************************************/

#overlay-parent {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    grid-area: products;
    flex-wrap: wrap;
    z-index: 2000;
    background-color: inherit;
    color: inherit;
/*    background-color: hotpink;*/
}
    *[p='home'] #overlay-parent,
    *[p='information'] #overlay-parent,
    *[p='products'] #overlay-parent{ display: none; }
    *[p='lightbox'] #overlay-parent{ display: flex; }

    #page-container{
        position: fixed;
        top: 0;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
        #caption{
            position: absolute;
            display: flex;
            justify-content: space-between;
            bottom: 0;
            width: 100%;
            height: auto;
            z-index: 200;
/*            background-color: lime;*/
        }
            #caption .product-name{
                width: 100%;
/*                background-color: mediumpurple;*/
            }
                #caption .product-name span{
/*                    background-color: red;*/
                }
                    #caption .product-name .title,
                    #caption .product-name .desc,
                    #caption .product-name .cta{
                        float: left;
                    }
                    #caption .product-name .close-button,
                    #caption .product-name .counter{
                        float: right;
                    }
                    #caption .product-name .desc,
                    #caption .product-name .cta,
                    #caption .product-name .close-button,
                    #caption .product-name .counter{
                        position: relative;
                        top: 4px;
                    }
            #caption .product-cta{
/*                background-color: red;*/
            }




/*************************************************************/
/*                       Responsiveness                      */
/*************************************************************/

@media only screen and (max-width: 767px)  {
    
    
.p-a{ padding: 1.2rem 1.25rem; }
.p-a-2{ padding: .9rem .4rem; }
    
.m-a{ margin: .9rem 1rem; }
.m-t{ margin-top: .9rem; }
.m-b{ margin-bottom: .9rem; }
.m-l{ margin-left: 1rem; }
.m-r{ margin-right: 1rem; }


.s1{
    font-size: 18px;
    line-height: 14pt;
}
    #information .s1{
        font-size: 18px;
        line-height: 16pt;
    }
    .caption .s1{ line-height: 12.5pt; }

.s2{
    font-size: 15px;
    line-height: 16pt;
}
.s3{
    font-size: 11.5px;
    line-height: 13px;
}

    
    .product { width: calc(100% /2); }
    
    #header-parent{
        height: 4.5rem;
    }
    
    #header-parent .primary, #header-parent .secondary{
        padding: 1.15rem 1.15rem 0rem 1.15rem;
    }
    
    #nav-parent{
        position: fixed;
        top: 4.5rem;
        height: 1.5rem;
        width: 100%;
    }
    #nav-parent .primary, 
    #nav-parent .secondary{
        padding: 0 !important;
        width: 100%; 
        justify-content: center;
    }
        #nav-parent .item[mobile]{ display: inline-block; }
    
    #captions{ width: 100%; height: auto; }
    .caption span { display: block; }
    
    #caption{ display: block; width: 100%; }
    
    .product .cta{ opacity: 1; }
    
    .contacts{ display: block; }
    .contacts .m-r{ margin: 0; }
    
    #caption .product-name .title,
    #caption .product-name .desc{
        display: block;
        width: 100%;
    }
    
    section#information{
        height: 100%;
        padding: 16rem 2.4rem 2.4rem 2.4rem; 
    }
    .slick-arrow{ display: none;}
    
    #overlay-parent .slide img{
        display: block;
        max-width: 100%;
        max-height: 100%;
        padding: 1.2rem;
        box-sizing: border-box;
    }

}


@media only screen and (min-width: 768px) and (max-width: 1100px) {
    .product { width: calc(100% /2); }
}


@media only screen and (min-width: 1100px) and (max-width: 1600px) {
    .product { width: calc(100% /3); }
}

@media only screen and (min-width: 1600px) {
}



