#media-uploader,
#vmedia-uploader {
    padding: 1em;
    border: 2px dashed #464749;
    background: transparent;
    border-radius: 8px;
    max-width: 100%;
    margin: none;
}
.location-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 9999;
  max-width: 320px;
  width: 90%;
  font-family: Arial, sans-serif;
}

.location-popup p {
  font-size: 15px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.location-popup .retry-location {
  background: #0073e6;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.location-popup .retry-location:hover {
  background: #005bb5;
}
#ui-datepicker-div {
    display: none;
}

#drop-area,
#vdrop-area {
    padding: 2em;
    text-align: center;
    background: transparent;
    border: 0px dashed #aaa;
    border-radius: 10px;
    cursor: pointer;
}

#drop-area p.bigtxt,
#vdrop-area p.bigtxt {
    font-size: 18px;
    font-weight: 600;
    word-spacing: 5px;
}

#drop-area.highlight {
    border-color: #0073aa;
    background: #e9f5ff;
}

div#drop-area #upload-input,
#vdrop-area #vupload-input {
    margin-top: 30px;
}

.share-block {
    max-width: 400px;
    display: flex;
    gap: 25px;
}

.share-icon p {
    font-size: 15px;
}

.share-icon {
    text-align: center;
    max-width: 88px;
}

.share-block .rounded-full {
    max-width: 41px;
    margin: 0 auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #343537;
}

.share-block .text-white {
    height: 20px;
}

#upload-input {
    /*display: none;*/
}

#upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.media-thumb {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    background: #fff;
    position: relative;
    width: 31%;
    display: inline-block;
}

.media-thumb img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    cursor: crosshair;
    max-height: 150px;
    object-fit: cover;
}

.qr-section span {
    display: block
}

.qr-section {
    margin-top: 15px;
}

#upload-status {
    color: red;
}

.trophy-buttons a {
    display: block;
    max-width: 150px;
    text-align: center;
    display: inline-block;
    margin-right: 10px;
}

.trophy-buttons .button,
.trophy-buttons .button:hover,
.trophy-buttons .button:focus,
#trophiesdata .submitbtn,
#trophiesdata .submitbtn:hover,
.button-row .button {
    background-color: #343537;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff !important;
    border: 1px solid transparent;
}

.button-row a.button {
    margin: 0 auto !important;
    display: block;
    max-width: 250px;
    text-align: center;
    margin-right: 0 !important;
		display:inline-block;
	width:100%;
	margin-right:10px !important;
}
#bcscore select,
.scorechart select,
.location-box, body .scorechart{
	display:none !important;	
} 
#bcscore table,
.scorechart table{width: 100%;padding: 10px;}
body  .activeloc{
	display:block !important;	
} 

.privacy_label h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.boone_crocket_score{
	cursor:pointer;
}

.trophy-buttons {
    margin-bottom: 10px;
}

.button-row a {
    position: relative;
}

 .plus-icon::before {
    z-index: 999;
    content: "";
    background-image: url(https://trophyvault.app/wp-content/uploads/2025/05/plus-large-svgrepo-com.svg);
    width: 15px;
    height: 100%;
    position: absolute;
    background-size: contain;
    left: 15px;
    top: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
}
 
.date-time {
    padding: 10px 0px;
}

.description {
    margin-bottom: 15px;
}


.child-trophies .image img {
    height: 100%;
	border-radius:10px;
	object-fit:cover;
}
.child-trophy-container .image{
	max-height:250px !important; 
}
.shareloader {
    max-width: 200px;
    margin: 0 auto;
}

.child-trophies .image  {
	border-radius:10px;
}

.editable-title {
    color: #000;
}

.gallery-box .gallery-item {
    width: 22%;
    display: inline-block;
	margin:10px;
}
.makecover {
    position: absolute;
    right: 0px;
    background-color: #008000;
    font-size: 11px;
    padding: 5px 10px;
    border-bottom-left-radius: 10px !important;
	display:none;
	cursor:pointer;
    border-radius: 0px 10px 0px 0px !important;
}
.activeCover.makecover{display:block;}
.gallery-box .gallery-item{
	position:relative
}
.gallery-box .gallery-item:hover .makecover {
	transition:3s;
	display:block;
	z-index:99;
}
.gallery-item img {
    border-radius: 10px;
    max-height: 140px;
	min-height:140px;
    object-fit: cover;
}

.gallery-item a {
    border-radius: 10px;
    display: block;
}

.upload-progress {
    margin-bottom: 10px;
}
.gallery-box.show-gallery-item {
    margin-bottom: 30px;
}
.upload-progress span {
    display: inline-block;
    width: 200px;
}

.upload-progress progress {
    width: 50%;
}

.upload-progress .error {
    color: red;
    font-size: 0.9em;
}
#edit-form{width: 100%;}
.trophywallbox .image img {
	height:100% !important;
    overflow: hidden;
    object-fit: cover;
    border-radius: 10px;
}
.wall-block .image {
	overflow:hidden;
}
.wall-block img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
    min-height: 100% !important;
}

.trophywallbox a:hover {
    color: #fff !important;
}

.trophywallbox .image {
    margin-bottom: 15px;
}

.trophywallbox h4 {
    font-size: 18px;
}

.trophywallbox h2 {
    margin-bottom: 25px;
}

#vmedia-gallery-list,
#media-gallery-list {
	    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 15px;
    margin: 30px 0px;
}

#vmedia-gallery-list .delete-btn,
#media-gallery-list .delete-btn {
    border: 0px;
    position: absolute;
    top: 0px;
    z-index: 999;
    right: 0px;
    background: #fff;
    border-radius: 50%;
    height: 30px;
    margin: 10px;
    line-height: 20px;
    cursor: pointer;
}

button.rename-btn {
    background: transparent;
    border: 0px;
    cursor: pointer;
}

body a.current_active,
.edit-trophy-active .edit-trophy-btn {
    background-color: #005eb8 !important;
    border-color: #005eb8 !important;
}

.field_row.radiobox {
    border: 0px solid #343537;
    padding: 5px 0px;
    border-radius: 10px;
}
.public_label.radiobox{
	margin-top:10px;
	margin-bottom:0px !important;
}
.field_row.radiobox label {
    margin-bottom: 0pc;
    font-size: 14px !important;
    margin-left: 5px;
}

.trophywallbox .button-row a {
    display: block;
    max-width: fit-content;
    text-align: center;
    margin: 0 auto;
    margin-right: 0;
    padding: 10px 15px;
    background-color: #131416;
    border-color: #131416;
}

.trophywallbox .button-row a span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
	text-transform:uppercase
}
.button-row .button{
 text-transform:uppercase;
}

.qr-section div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-section img {
    max-width: 80px;
}

.qr-section h4 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.heading-banner {
    background-color: #008000;
    padding: 15px 25px;
    margin-bottom: 50px;
    margin-top: 50px;
    border-radius: 10px;
}
.heading-banner h2 {
    font-size: 28px;
    margin: 0;
}

.edit-form {
    border-top: 1px solid #fff;
    margin-top: 60px;
    display: none;
}

.trophywallbox .button-row {
    margin: 20px 0px;
}

.field_row {
    margin-bottom: 25px;
    width: 100%;
}

.field_row input[type="text"],
.field_row textarea {
    width: 100%;
    padding: 10px;
    max-width: 530px;
    border-radius: 10px;
}

#drop-area p {
    margin-bottom: 0;
}

#drop-area p span,
#vdrop-area p span {
    color: #008000;
}

.edit-trophy-active .edit-form {
    display: block;
}

.trophy-container {
    margin-bottom: 20px !important;
}

.field_row textarea {
    min-height: 200px;
}

.button,
.field_row button.button {
    border-radius: 10px;
    padding: 10px 20px;
    background: #ddd;
    font-size: 16px;
}

.trophywallbox table th {
    font-size: 16px;
    background: #DFDFDF;
    padding: 10px;
}

.trophywallbox table td {
    padding: 15px 10px;
}
#mapview,
#map {
    height: 300px;
    width: 100%;
    margin-top: 10px;
}

#locationInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

#trophiesdata label span {
    border: 1px solid #fff;
    width: 20px !important;
    padding: 0px 5px;
    background-color: #fff;
    color: #000;
    border-radius: 51px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 10px;
    cursor: pointer;
}
#popupBox {
    width: 90%;
    height: 90%;
    max-width: 900px;
    margin: auto;
    background: #fff;
    position: relative;
    overflow: auto;
    padding: 40px;
    box-sizing: border-box;
}

#species option {
    text-transform: capitalize;
}

#bcscoretable {
    width: 100%;
    margin-bottom: 10px;
}

#bcscoretable th,
#bcscoretable td {
    border: 1px solid #fff;
    border-collapse: collapse;
    padding: 5px;
    text-align: center;
}

.child-trophies {
    position: relative;
}
.child-trophy-container .image, .child-trophy-container{
	position:relative !important;
	height:100%;
}
.child-trophy-container .image .makecover{
		top:0px;
}
.child-trophy-container .image:hover .makecover{
	display:block;
}

.tw_nonactive {
    opacity: 0.30;
}

#customer_login .col-1,
#customer_login .col-2 {
    width: 100%;
    float: none;
}

#customer_login .col-2 {
    display: none;
}

.register-form#customer_login .col-2 {
    display: block;
}

.register-form#customer_login .col-1 {
    display: none;
}

#woocommerce-LostPassword {
    margin: 0px;
}

.signup-form,
.login-form {
    text-align: center;
}

#trophiesdata .button-row button,
#openPopup {
    width: 100%;
    max-width: 200px;
    !important;
}
.removebtn a::before,.order-plaque-btn a::before{
	display:none;
}
.share-button button{
	text-transform:uppercase !important;
	margin-top:10px !important;
}
.backtotrophy{color: #fff;}
.trophy-buttons .button {
    max-width: 180px !important; 
    margin-bottom: 10px;
}
.share-button{
	text-align:center !important;
}
.show-gallery-item {
    margin-top: 30px;
}
.order-plaque-btn{
	display:none;
}
.main-child-trophy-block {
    margin-top: 20px;
    margin-bottom: 50px;
}
.trophy-updateform button.button {
    width: 100%;
    max-width: 150px;
}
:root {
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

.fancybox__html5video video {
  transform: scale(0.98);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.fancybox__html5video video.resizing {
  transform: scale(1);
  opacity: 1;
}

.fancybox__html5video video:focus {
  outline: none !important;
}
fancybox__html5video video {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.fancybox__content:focus,
.fancybox__slide:focus,
.fancybox__content *:focus {
  outline: none !important;
  box-shadow: none !important;
}
.fancybox__html5video {
  background: rgba(0, 0, 0, 0.9);
  border: none;
  outline: none;
}

.fancybox__html5video video {
  display: block;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
  transform: scale(0.97);
  border: none !important;
  outline: none !important;
}

.fancybox__html5video video.ready {
  opacity: 1;
  transform: scale(1);
}


.loader {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.trophydata p {
    margin-bottom: 0px !important;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.twvideolist .twvideolistvid{width: 50%;float: left}

#global-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#global-loader h4{margin: 15px;}
#global-loader .spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top: 6px solid #0073aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

@media(max-width: 1023px)
{
    body .trophy-title .fa, body  .trophy-description .fa{display: inline-block;}
}
@media(max-width:767px) {

    :root {
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
    }
    .fancybox__html5video video {
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .fancybox__html5video video.ready {
      opacity: 1;
    }
    /* Ensure Fancybox slide centers properly */
    .fancybox__slide,
    .fancybox__content {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      height: 100%;
      padding-top: calc(var(--safe-top) + 50px);
      padding-bottom: calc(var(--safe-bottom) + 70px);
      box-sizing: border-box;
    }

    /* Make sure video stays centered */
    .fancybox__html5video {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
    }

    /* Video styling */
    .fancybox__html5video video {
      display: block;
      max-width: 90vw;
      max-height: 90vh;
      width: auto;
      height: auto;
      transform: scale(0.95);
      opacity: 0;
      transition: transform 0.4s ease, opacity 0.4s ease;
      background: black;
      outline: none !important;
      border: none;
      object-fit: contain;
      pointer-events: auto;
      -webkit-playsinline: true;
      playsinline: true;
    }

    /* Remove controls from iPhone native UI layer */
    video::-webkit-media-controls {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
    }

    /* Shown after fade-in */
    .fancybox__html5video video.ready {
      transform: scale(1);
      opacity: 1;
    }

    /* No dotted border */
    .fancybox__html5video video:focus {
      outline: none !important;
      border: none !important;
    }


    .button-row a.button {
        width: 100%;
        max-width: 100%;
        display: block;
        margin-bottom: 20px !important;
    }
    #vmedia-gallery-list,
    #media-gallery-list {
        grid-template-columns: 32% 32% 32%;
        margin-top: 25px;
        gap: 8px;
    }
    #trophiesdata .button-row {
        text-align: center;
    }
    #trophiesdata a.button {
        margin-bottom: 10px !important;
        max-width: 200px;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }
	.trophy-buttons a.button {
		display: block;
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;	
	}
    .show-gallery-item .gallery-item {
        width: 46%;
        display: inline-block;
        padding: 0px;
        margin: 5px;
    }
	
	.order-plaque-btn .button {
    	width: 100%;
    	max-width: 100% !important;
	}
	.share-button button{
		cursor: pointer;
    	width: 100%;
    	max-width: 200px;
    	margin: 0 auto;
    	text-align: center;
	}
	.order-plaque-cont{
		display:none;
	}
	.order-plaque-btn{
		display:block;
	}
	.child-trophy-container .image {
    	max-height: 150px !important;
	}
	body .pum-theme-lightbox .popmake-close {
    	right: -11px !important;
    	top: -12px !important;
    
	}
    body .twvideolist{margin-right: -5px;margin-left: -5px;}
    body .twvideolist .wpb_column{width: 50%;float: left;}
    body .twvideolist .wpb_column .vc_column-inner{padding: 5px;}
}