body {
    color: #000;
    background: #5f686f;
    margin-top: 5px !important;
    font-size: 16px;
}

a:link, a:visited {
    color: #760000;
    text-decoration: none;
}

a:hover, a:active {
    color: #000;
    text-decoration: underline;
}

p {
    margin: 4px 0 1.8em 0;
    line-height: 1.5em;
}

.no-margin {margin:0;}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

#wraper {
    max-width: 1440px;
    margin: 0 auto;
}

.verticalbottom {
    vertical-align: bottom;
}

.white {
    color: #fff;
}

.gray-light {
    background-color: #eeeff1;
}

.gray-dark {
    background-color: #cacad2;
}

.gray-darker {
    background-color: #eeeff1;
}

.logo {
    padding: 0 0 10px 0;
    background: rgba(48, 48, 48, 1);
    background: -moz-radial-gradient(center, ellipse cover, rgba(48, 48, 48, 1) 0%, rgba(78, 84, 89, 1) 48%, rgba(95, 104, 111, 0.96) 74%, rgba(95, 104, 111, 0.92) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(48, 48, 48, 1)), color-stop(48%, rgba(78, 84, 89, 1)), color-stop(74%, rgba(95, 104, 111, 0.96)), color-stop(100%, rgba(95, 104, 111, 0.92)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(48, 48, 48, 1) 0%, rgba(78, 84, 89, 1) 48%, rgba(95, 104, 111, 0.96) 74%, rgba(95, 104, 111, 0.92) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(48, 48, 48, 1) 0%, rgba(78, 84, 89, 1) 48%, rgba(95, 104, 111, 0.96) 74%, rgba(95, 104, 111, 0.92) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(48, 48, 48, 1) 0%, rgba(78, 84, 89, 1) 48%, rgba(95, 104, 111, 0.96) 74%, rgba(95, 104, 111, 0.92) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#303030', endColorstr='#5f686f', GradientType=1);
}

.logo img {
    width: 100%;
    max-width: 400px;
}

.navbar {
    margin-bottom: 5px;
}

#headerLogin {
    padding: 10px;
}

#headerLogin p {
    margin-bottom: 0;
}

.heading {
    font-size: 1.2em;
    background-color: #3f4447;
    color: #fff;
    font-weight: bolder;
    padding: 20px 5px;
    margin-top: 0;
}


.heading a:link, .heading a:visited {
    color: #fff;
    text-decoration: none;
}

.rightSideBanners {
    margin: 10px 0;
}

.rightSideBanners img {
    width: 100%;
}

p.socialicons {
    text-align: left;
    padding-left: 30px
}

p.socialicons img {
    margin-right: 30px;
}

.navbar-default .navbar-toggle {
    background-color: #ddd;
}

.navbar-brand, .navbar-nav > li > a {
    box-shadow: none;
    font-size: 90%;
}

.navbar-default, .navbar-default * {
    background: none;
    border: 0px;
    box-shadow: none;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .active > a {
    box-shadow: none;
    background: none;
    color: #fff;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .active > a:focus {
    text-decoration: underline;
}

.nav > li > a {
    padding: 5px 5px;
}

.navbar {
    min-height: 5px;
}

/*
.no-gutter > [class*='col-'] {
    padding-right:5px;
    padding-left:-5px;
}*/
#bs-example-navbar-collapse-1 .navbar-right li:last-child a {
    padding-right: 0
}

.rightcolumn p {
    margin: 4px 0 3px 0 !important;
    padding: 5px;
    background: #cacad2;
}

.showPriceColumn .gray-dark {
    padding-bottom: 1em;
}

.showPriceColumn h2 {
    padding: 5px;
    background: #cacad2;
    margin: 4px 0 3px 0 !important;
}

.showPriceColumn h3 {
    margin: .2em 0 1em .3em;;
    font-weight: bold;
    font-size: 1em;
    padding: 5px;
}

.showPriceColumn h2:first-child {
    margin-top: 0;
}

.showPriceColumn div ul {
    margin-left: 10px;
    font-size: .9em;
}

.showPriceColumn div ul li {
    margin: 0 0 .3em 0;
}

.showPriceColumn div ul li.active a {;
    color: #994d00;
    font-weight: bold;
}


.form-control {
    color: #000;
}

.photoGrid {
    margin-bottom: 10px;
}

.categoriesIndex div {
    margin-bottom: 20px;
}

.categoriesIndex {
    font-weight: bold;
}

div.photothumb {
    font-size: .9em;
    padding: 2px 4px;
    height: 300px;
    margin-bottom: 10px;
    position: relative;
}
div.photothumb img {width:100%;height:150px;object-fit: contain;}

.eventView {
    height: 220px !important;
}

div.photothumb div {
    position: absolute;
    bottom: 0;
    display: block;
}

.imageevent {
    max-width: 250px;
}

div.photothumb p {
    margin: 4px 4px 4px 4px;
}

.imageCode {
    background-color: #ddd;
}

.pagination {
    margin: 0;
}

.navpagination {
    text-align: center;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    background-color: transparent;
    border: 0px;
}

.pagination > li > a, .pagination > li > span {
    background-color: transparent;
    border: 0px;
    color: #760000;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    color: #fff;
    background-color: transparent;
    border: 0px;
}

.numpages {
    font-size: 90%;
    margin-bottom: 5px;
    text-align: right;
    color: #fff;
}

.textonlydiv {
    padding: 1.5em 1.5em 1em 1.5em;
}

.simpletext {
    background: #EEEFF1;
    margin-top: -4px;
    padding: 1.5em 1.5em 1em 1.5em;
}

.basketView .thumbnail {
    background-color: #ddd;
    height: 500px;
    position: relative;
}

.basketView .thumbnail .caption {
    font-size: 1em;
    position: absolute;
    bottom: 0;
    color: #000;
}

.basketView .thumbnail .caption p {
    margin-bottom: 5px;
}

/*  ---------------- header ---------------- */

.photoGrid .thumbnail {
    height: 250px;
}

/*.thumbnail img {*/
/*    width: 90%;*/
/*}*/


.photoGrid .caption {
    position: absolute;
    bottom: 0;
}

#youtubevideo {
    text-align: center;
    margin: 20px 0;
    color: #fff;
    z-index: 1;
}

#map {
    height: 550px;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

/*Main content*/
.nocontent {
    border: 1px solid #fff;
    width: 460px;
    font-size: 1.5em;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    padding: 1em;
    font-style: italic;
    margin: 40px auto;
}

#thumblist {
    overflow: hidden;
}

#thumblist ul {
    list-style-type: none;
}

#thumblist ul li {
    float: left;
    margin: 4px;
    text-align: center;
}

table.gifts {
    width: 90%;
    margin: 10px 0 5px 0;
}

table.gifts td {
    border: 1px solid #ccc;
    font-weight: bold;
    padding: .5em;
    margin: 2px;
}

table.gifts th {
    background-color: #760000;
    color: #fff;
    width: 15em;
    border: 1px solid #ccc;
    font-weight: bold;
    padding: .5em;
    margin: 4px;
}

div.pricelist p {
    text-align: center;
    font-size: 1.2em;
}

div.pricelist p span {
    font-size: 80%;
}

table.categories {
    width: 70%;
    margin: 0 auto;
}

table.categories td {
    padding: 10px;
    text-align: center;
    font-size: .8em;
    font-weight: bold;
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label,
.has-error.radio-inline label, .has-error.checkbox-inline label {
    color: #410605;
}

#searchEvents {
    margin-bottom: 10px;
    font-size: 80%;
}

.categoriesIndex img {
    width: 100%;
    max-width:360px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    color: #000;
}

.socialicons a:hover { text-decoration: none;}

/* Shared */
.loginBtn {
    box-sizing: border-box;
    position: relative;
    /* width: 13em;  - apply for fixed size */
    margin: 0.2em;
    padding: 0 15px 0 46px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 16px;
    color: #FFF;
}

.loginBtn:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
}

.loginBtn:focus {
    outline: none;
}

.loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}


/* Facebook */
.loginBtn--facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
    text-shadow: 0 -1px 0 #354C8C;
}

.loginBtn--facebook:before {
    border-right: #364e92 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
}

.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
    background-color: #5B7BD5;
    background-image: linear-gradient(#5B7BD5, #4864B1);
}


/* Google */
.loginBtn--google {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #DD4B39;
}

.loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
}

.loginBtn--google:hover,.loginBtn--google:focus {
    background: #E74B37;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: top;
    align-content: stretch;
}

.flex-items {
    position: relative;
    padding: 0 0 30px 0;
    margin: 0 10px 20px 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    height: auto;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    align-self: auto;
    min-height: 300px;
}

.flex-items img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom:20px;
}

.flex-items > a.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.flex-items a {display: block;text-align:center;}

.flex-container-sm {
    justify-content: flex-start;
    gap: 10px;
}

.flex-container-sm .flex-items {
    min-height: auto;
    flex-basis: calc(30% - 10px);
    flex-grow: 0;
    flex-shrink: 0;
    padding-bottom: 0;
}

.flex-container-sm .flex-items img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

.flex-container-sm .caption {
    position: static;
    padding: 5px;
    text-align: center;
}

.caption {
    position: absolute;
    bottom: 0;
    padding: 5px;
}
.caption span {display: inline-block;}

#imageUploadData img {max-height:500px;margin:0 auto;}

#camera-wrapper { margin:10px auto;height:500px; }

/* Thumbnail preview styles */
.thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.thumbnail-placeholder img {
    display: block !important;
}

.thumbnail-placeholder.active {
    border: 3px solid #5cb85c;
    background-color: #e8f5e9;
}

.thumbnail-placeholder.filled {
    border-color: #5cb85c;
    background-color: #fff;
}

.face-silhouette {
    width: 75%;
    height: 75%;
    max-width: 140px;
    max-height: 175px;
    margin-bottom: 8px;
    opacity: 0.6;
    object-fit: contain;
    display: block;
}

.thumbnail-placeholder.active .face-silhouette {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}

.thumbnail-placeholder.filled .face-silhouette {
    display: none;
}

.thumbnail-label {
    font-size: 0.9em;
    color: #666;
    display: block;
}

.thumbnail-placeholder.active .thumbnail-label {
    color: #5cb85c;
    font-weight: bold;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#thumbnail-preview-section {
    margin-bottom: 20px;
}
#video {height:500px;}
#camera video {
     width: 100% !important;
     height: auto !important;
     object-fit: contain;
 }

/* Make handle orange */
.slider-track, .slider-handle, .slider-selection.tick-slider-selection, .slider-tick.in-selection{
    background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%) !important;
    /*border: 1px solid #007b08;*/
}
.slider-tick, .slider-track-high, .slider-track-low, .slider-handle.custom::before, .in-selection, .slider-handle:hover {background-color: #5cb85c !important;}

.btnLoader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff; /* White border for contrast */
    border-top: 2px solid transparent; /* Transparent top for spinning effect */
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    animation: spin 0.6s linear infinite;
}

#faceRecognitionPage .panel-body > div {
    margin-bottom: 20px;
}
#faceRecognitionPage .panel-body > div:last-child {
    margin-bottom: 0;
}
#submitButtons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fancy-loader {
    margin:10px auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 10px solid rgba(0, 128, 0, 0.2); /* Light green border */
    border-top: 10px solid #008000; /* Solid green top */
    border-right: 10px solid #00cc00; /* Lighter green */
    animation: fancy-spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes fancy-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation */
.loader {
    margin: .5em auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid #f0ad4e;
    border-right: 1.1em solid #f0ad4e;
    border-bottom: 1.1em solid #f0ad4e;
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-device-height: 900px) {
    #camera-wrapper { height:300px; }
    #video {height:300px;}
}

@media only screen and (max-device-width: 760px) {
    .col-xs-6 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .photoGrid .thumbnail {
        height: 550px;
    }

    .qtyImage {
        width: 60%;
    }
}

@media only screen and (max-device-width: 480px) {
    .logo, .logo p {
        padding-bottom: 0
    }

    .caption {
        font-size: 80%;
    }

    .photoGrid .thumbnail {
        height: 350px;
    }

    .nav {
        padding-left: 15px;
    }

    .qtyImage {
        width: 60%;
    }
}

@media only screen and (max-device-width: 760px) and (orientation: landscape) {
    .logo, .logo p {
        padding-bottom: 0
    }

    .photoGrid .thumbnail {
        height: 200px;
    }

    .thumbnail img {
        width: auto;
        height: 80% !important;
    }
}
