﻿
html {
    height: 100vh;
    width: 100vw;

}

body {
    height: 100%;
    font-family: Montserrat,Arial,sans-serif;
    font-weight: 400;
    /*min-height: 100vh;*/
    overflow-x: hidden;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    background-color: rgb(253, 247, 247);
    width: 100%;
    /*    display: flex;
    flex-flow: column;
    height: 100%;*/
    min-height: calc(100% - 71px);
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}



/*  */

.header-top {
    background: rgb(161, 56, 52);
    position: relative;
    /*z-index: 2;*/
    height: 45px;
}

.navigation-pane {
    position: sticky;
    top: 0;
    width: 100%;
    height: 26px;
    /*background-color: blue;*/
    background: rgb(161, 56, 52);
}

.navigation-list {
    /*    display: flex;
    flex-wrap: nowrap;*/
    width: 100%;
    height: 26px;
    /*line-height: 14px;*/
    margin: 0;
    padding: 0;
    /*font-size: 0;*/
/*    text-align: justify;
    -webkit-animation: navigation__slide-in .6s 1;
    animation: navigation__slide-in .6s 1;
    list-style: none;*/
    list-style-type: none;
}
.navigation-item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 112px;
    max-width: 12.5%;
    float: left;
    text-align: center;
    vertical-align:middle;
    font-weight: bold;
    
}
    .navigation-item > a {
        position: relative;
        display:inline-block;
        color: rgb(211, 194, 142) !important;
        padding: 3px 0;
        width: 100%;
        text-decoration: none;
cursor: pointer;
    }
        .navigation-item > a:hover, .navigation-item > a.selected {
            
            background-color: rgb(129, 44, 41);
        }
        #MainHeaderLogo {
            height: calc(100% - 10px);
            margin: 5px 10px;
        }
#HeaderLinkList{
    height: 100%;
    float: right;
}
#HeaderLinkList > a {
    padding: 5px 10px;
    /* height: 20px; */
    background-color: rgb(161, 56, 52);
    border-radius: 4px;
}

    #HeaderLinkList > a:hover {
        background-color: white;
        text-decoration: none;
    }
    .DateTime{

    }
    .DateTime > span{
        font-size: 10px;
        vertical-align: top;
    }
#top-banners {
    /*border: 1px solid black;*/
    width: 80%;

    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    min-height: 82px;
    text-align: center;

}
    #top-banners > div {
        max-height: 100px;
        display: inline-block;
        margin: 4px;
        box-shadow: 0 4px 8px 0 rgb(0 0 0 / 30%), 0 6px 20px 0 rgb(0 0 0 / 50%);
    }
        #top-banners > div[data-hasclick="true"]{
            cursor: pointer;
        }
            #top-banners > div[data-hasclick="true"]:hover {
                box-shadow: 0 4px 8px 0 rgb(255 0 0 / 30%), 0 6px 20px 0 rgb(255 0 0 / 50%);
            }
            #top-banners > div > img {
                max-height: 85px
            }
    .event-monthheader {
        width: 100%;
        text-align: left;
        font-weight: bold;
        margin-top: 20px;
        padding-left: 105px;
    }
.event-item {
    width: 100%;
    padding: 0 50px;
    margin-top: 15px;
    position: relative;
}
    .event-item .NewDecorationImg {
        position: absolute;
        top: -7px;
        left: 25px;
        width: 60px;
    }
.event-item > .event-cancelled {
    position: absolute;
    top: 0px;
    left: 50px;
    width: calc(100% - 100px);
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
}
    .event-item > div > div > img {
        max-width: 75%;
        max-height: 150px;
    }
        .event-item > .event-cancelled > div {
            padding-left: 221px;
            padding-top: 5px;
        }
        .event-item > div:not(.event-cancelled) {
            display: table;
            width: 100%;
            /*margin: 20px;*/
            border: 2px solid rgb(161, 56, 52);
            border-radius: 5px;
            /*padding: 5px;*/
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
            background-color: rgb(161, 56, 52);
        }





        .event-item > div:not(.borderpulse) {
            /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.5);*/
        }
        .event-item > div:not(.event-cancelled) > div {
            display: table-cell;
            vertical-align: top;
            padding: 3px 5px;
        }
            .event-item > div:not(.event-cancelled) > div:first-of-type {
                width: 215px;
                background-color: rgb(161, 56, 52);
                color: white;
                border-top-left-radius: 4px;
                border-bottom-left-radius: 4px;
            }
    .event-item > div > div:nth-of-type(2) {
        background-color: white;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px
    }
        .event-item .event-description {
            font-size: 12px;
            padding: 0 10px;
            border: 1px solid #0261c8;
            margin-top: 5px;
            border-radius: 2px;
        }
.event-item > div > div:nth-of-type(2) {
    vertical-align: middle;
}

.item-prices {
    width: 100%;
    text-align: left;
    font-size: 12px;
}
    .item-prices> span {
        display: inline-block;
        padding: 0 10px;
    }
        .item-prices > span > span {
            font-weight: bold;
        }




.message-homescreen {
    width: 100%;
    padding: 0 50px;
    margin-top: 15px;
}

.message-homescreen > div {
    border: 2px solid black; 
    display: table;
    border-radius: 5px;
    width: 100%;
    /*padding: 3px;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
    background-color: white;
}
    .message-homescreen > div > div {
        display: table-cell;
    }

        .message-homescreen > div > div:first-of-type {
            /*background-color: rgb(246, 170, 98);*/
            width: 215px;
            /*text-align: right;*/
            padding-right: 4px;
            vertical-align: middle;
            color: white;
            text-align: center;
            font-weight: bold;
        }
        .message-homescreen > div > div:nth-of-type(1) {
            padding: 0 5px;
            background-color: white;
        }



    /*  Decorations */
    .NewDecoration{
        color: red;
        font-weight: bold;
        font-style: italic;
        display: inline;
        padding: 0 5px;
    }

#AboutUsHeader {
    width: 100%;
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Login Page */
#LoginPage{
    width: 100%;
    height: 100%;
}

    #LoginPage fieldset {
        width: 300px;
        background-color: white;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 4px 8px 0 rgb(0 0 0 / 30%), 0 6px 20px 0 rgb(0 0 0 / 50%);
        padding: 5px;
        border-radius: 3px;
        margin-top: 30px;
    }
    #LoginPage fieldset > div:first-of-type{
        width: 100%;
        text-align: center;
    }
        #LoginPage fieldset > table {
            margin: 10px 0;
        }
            #LoginPage fieldset > table tr > td{
                padding-bottom: 5px;
            }
            #LoginPage fieldset > table tr > td:first-of-type {
                padding-right: 3px;
                text-align: right;
                width: 90px;
            }
            #LoginPage fieldset > table tr > td:nth-of-type(2) {
            }


            /* Admin Links*/

#AdminLinks{
    width:100%;
    height: 100%;
}

    #AdminLinks > a {
        border: 3px solid black;
        height: 48px;
        width: 150px;
        box-shadow: 0 4px 8px 0 rgb(0 0 0 / 30%), 0 6px 20px 0 rgb(0 0 0 / 50%);
        background-color: white;
        border: 3px solid rgb(161, 56, 52);
        text-align: center;
        display: inline-block;
        margin: 20px;
        border-radius: 4px;
    }
    #AdminLinks > a:hover{
        text-decoration:none;
    }

    /* Edit Current Events*/
#EditCurrentEvents{
    width: 100%;
    height: 100%;

}

#EditCurrentEvents > .edit_currentevent_item {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid rgb(162,56,52 );
    height: 100px;
    margin-top: 10px;
    border-radius: 4px;
    background-color: white;
    display: table;
}
    #EditCurrentEvents > .edit_currentevent_item > div{
        display: table-cell;
    }
    #EditCurrentEvents > .edit_currentevent_item > div:first-of-type {
        width: 50px;
    }
        #EditCurrentEvents > .edit_currentevent_item > div:nth-of-type(2) {
            vertical-align: top;
        }

.borderpulse {
    animation: borderpulse_border 2s infinite;
}

    .borderpulse > div:first-of-type {
        animation: borderpulse_background 2s infinite;
    }

@keyframes borderpulse_border {
    50% {
        border-color: red;
        box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.3), 0 6px 20px 0 rgba(255, 0, 0, 0.5);
    }
}

@keyframes borderpulse_background {
    50% {
        background-color: red;
    }
}

#CaravanForSaleBanner {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(161, 56, 52);
    color: white;
    margin-top: 15px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}