
/* 
----------------------------------------------
Globals
----------------------------------------------
*/


/* 
----------------------------------------------
General styles
----------------------------------------------
*/

/* 
----------------------------------------------
Banner and title panel styles
----------------------------------------------
*/
#topbanner 
{
    position: absolute;
    top:0;
    right:0;
    display: flex;
    flex-direction: row-reverse; 
    flex: 0 0 60%;
    width: 60%;
    flex-wrap: wrap;
}
.topbannergrid
{
    color: var(--valeRed);
    right: var(--margin);
    top: var(--margin);
    cursor: pointer;
    padding:var(--padding);
}

#bannerPanel
{
    overflow: hidden;
}

#logo
{
    position: absolute;
    height: auto;
}

.topbannergrid > a
{
    transition: color 0.25s ease;
}

.topbannergrid > a:hover
{
    color: white;
}

#imagePanel
{
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("img/background_strip.jpg");
    background-repeat: repeat-x;
    width: 100%;
}

#imageFrame
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#titlePanel
{
    position: relative;
}

#overlay
{
    position: absolute;
    height: auto;    
}

@media screen and (orientation: landscape)
{
    #bannerPanel
    {
        height: 590px;
    }
    
    #logo
    {
        left: calc(50vw - 350px);
        top: 100px;
        width: 270px;
    }

    #imagePanel
    {
        height: 590px;
    }
    
    #imageFrame
    {
        height: 590px;
        object-fit: fill;
    }
    
    #overlay
    {
        top: 74px;
        right: calc(50vw - 350px);
        width: 632px;
    }

    #titlePanel
    {
        margin-top: -3em;
        margin-bottom: 0;
    }

    #titlePanel p
    {
        width: 100%;
    }
        
    #titlePanel p br
    {
        display: none;
    }    
}

@media screen and (orientation: portrait)
{
    #bannerPanel
    {
        height: 78.2vw;
    }
    
    #logo
    {
        left: var(--margin);
        top: calc(var(--margin) * 4);
        width: 40vw;
    }
    
    #imagePanel
    {
        height: 78.2vw;
    }
    
    #imageFrame
    {
        height: auto;
    }
    
    #overlay
    {
        top: 10vw;
        right: 5vw;
        width: 85vw;
    }
    
    #titlePanel
    {
        margin-top: -20vw;
    }  
}

/* 
----------------------------------------------
Block panel styles
----------------------------------------------
*/

#summaryGridPanel
{
    position: relative;
    top: 0;
    left: 0;
}

@media screen and (orientation: portrait)
{
    #kickImg
    {
        position: absolute;
        top: 20vw;
        left: 34vw;
        width: 30vw;
        height: auto;
    }

    .blockBtnLabel
    {
        font-size: calc(var(--fontBasis) * 2);
        padding: var(--padding);
    }
    
    .blockBtnLabel a
    {
        color: white;
    }

    #summaryGrid > div:nth-child(1)
    {
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    #summaryGrid > div:nth-child(2)
    {
        text-align: right;
        justify-content: flex-end;
        align-items: flex-start;
    }
    
    #summaryGrid > div:nth-child(3)
    {
        text-align: left;
        justify-content: flex-start;
        align-items: flex-end;
    }
    
    #summaryGrid > div:nth-child(4)
    {
        text-align: right;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media screen and (orientation: landscape)
{
    #kickImg
    {
        display: none;
    }

    .blockBtnLabel
    {
        font-size: calc(var(--fontBasis) * 1.75);        
    }
}


/* 
----------------------------------------------
Gallery Panel styles
----------------------------------------------
*/

#glideContainerPanel
{
    padding: 0;
    margin: 0;
    width: 100%;
}

#merchPanel
{
    padding: 0;
    margin: 0;
    width: 100%;
}

@media screen and (orientation: portrait)
{
    #merchgallery
    {
        height: 50vw;
    }
}

@media screen and (orientation: landscape)
{
    #merchgallery
    {
        height: 300px;
    }
}


/* 
----------------------------------------------
Contact panel styles
----------------------------------------------
*/

#familyLinksPanel > p
{
    margin-bottom: calc(var(--margin) * 3);
}

.linkImage
{
    width: 10em; /* setting this to 100% doesn't work */
    object-fit: cover;
}
