/* * * * * * * * * * Google Font Import * * * * * * * * * */
@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,800italic,400,700,800,300&display=swap);
@import url(//fonts.googleapis.com/css?family=Fjalla+One&display=swap);

html {scroll-behavior: smooth;}


@media (min-width: 768px) {
	img, iframe {max-width:100%;}
	.clue img {float:right!important;margin-left:10px;}
}

/* Responsive video/iframe scaling */
iframe {
	max-width: 100%;
	height: auto;
	min-height: 200px; /* Prevent squishing into single line */
}

/* YouTube and video embeds */
.embed-responsive {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

.embed-responsive::before {
	display: block;
	content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.embed-responsive-16by9::before {
	padding-top: 56.25%;
}

.embed-responsive-4by3::before {
	padding-top: 75%;
}

.embed-responsive-1by1::before {
	padding-top: 100%;
}

/* Responsive image scaling - ensure all images scale properly */
img {
	max-width: 100%;
	height: auto;
}

/* Bootstrap img-fluid class support */
.img-fluid {
	max-width: 100%;
	height: auto;
}

/* Additional responsive image classes for CKEditor */
.responsive-img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Ensure images in clue content scale properly */
.contentInner img {
	max-width: 100%;
	height: auto;
}

/* Mobile-specific image scaling */
@media (max-width: 767px) {
	.contentInner img {
		max-width: 100%;
		height: auto;
	}
}

/* Video and iframe content in clues */
.contentInner iframe {
	max-width: 100%;
	height: 315px; /* Standard YouTube embed height */
	min-height: 200px;
	width: 100%;
}

.contentInner .embed-responsive {
	margin: 10px 0;
}

/* Ensure videos don't get squished */
.contentInner iframe[src*="youtube"],
.contentInner iframe[src*="vimeo"],
.contentInner iframe[src*="embed"] {
	height: 315px !important;
	min-height: 200px !important;
	width: 100% !important;
}

/* Mobile video adjustments */
@media (max-width: 767px) {
	.contentInner iframe {
		height: 200px;
		min-height: 150px;
	}
	
	.contentInner iframe[src*="youtube"],
	.contentInner iframe[src*="vimeo"],
	.contentInner iframe[src*="embed"] {
		height: 200px !important;
		min-height: 150px !important;
	}
}

/* Modal content styling for images */
#responseMessage img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 10px auto;
}

#responseMessage .alert {
	word-wrap: break-word;
	overflow-wrap: break-word;
	position: relative;
}

#responseMessage .alert img {
	display: inline-block;
	margin: 5px 0;
	vertical-align: middle;
}

/* Ensure modal content doesn't cause layout issues */
.modal-body {
	overflow-x: hidden;
}

/* Hide message storage elements completely */
[id^="correct-message-"], [id^="incorrect-message-"] {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
}

/* * * * * * * * * * Media * * * * * * * * * */
@media (max-width: 767px) {
.dropdown-menu {
  background-color: transparent !important;
}
h1, .h1 {font-size:250% !important;}
h2, .h2 {font-size:200% !important;}
h3, .h3 {font-size:160% !important;}
h4, .h4 {font-size:120% !important;}
h5, .h5 {font-size:120% !important;}
h6, .h6 {font-size:110% !important;}
.clue img {float:right;margin-left:10px;width:33%!important;;}
}


/* * * * * * * * * * Desktop * * * * * * * * * */

/* * * * * * * * * * Global Setups * * * * * * * * * */
.aligncenter {display: block; margin-left: auto; margin-right: auto;}
.alignleft {float: left;}
.alignright {float: right;}

/* * * * * * * * * * Typography * * * * * * * * * */
body { font-family: "Open Sans", Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;}


/* * * * * * * * * * Headlines And Whatnot * * * * * * * */

h1, .h1 {font-size:300%;}
h2, .h2 {font-size:250%;}
h3, .h3 {font-size:200%;}
h4, .h4 {font-size:150%;}
h5, .h5 {font-size:150%;}
h6, .h6 {font-size:125%;}

h1, .h1, h2, .h2 {
  font-family: "Fjalla One", Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin: 0 0 10px 0;
	text-transform:uppercase;
	text-shadow: 0px 0px 4px #FFF, 1px 1px 6px #FFF, 2px 2px 8px #FFF;
}
h3, .h3, h4, .h4 {
  font-family: "Fjalla One", Helvetica, Arial, sans-serif;
  font-weight: normal;
	text-transform:uppercase;
  margin: 10px 0;
	text-shadow: 0px 0px 4px #FFF, 1px 1px 6px #FFF, 2px 2px 8px #FFF;
}
h5, .h5, h6, .h6 {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin-top: 0;
}

/* * * * * * * * * * Hyperlinks * * * * * * * * * */
a {
  text-decoration:none;
 }
a:link,a:visited {
-webkit-transition: color .25s linear .1s;
transition: color .25s linear .1s;
  text-decoration:none;
 }
a:hover,a:active,a:focus {
-webkit-transition: color .25s linear;
transition: color .25s linear;
  text-decoration:none;
 }

/* * * * * * * * * * Colors * * * * * * * * * */
body {
  color: #000;
}
a:link,a:visited {
  color:#990000;
}
a:hover,a:active,a:focus {
  color:#009900;
}
h1, .h1, h2, .h2 {
  color: #222222;
}
h3, .h3, h4, .h4 {
  color: #333333;
}
h5, .h5, h6, .h6 {
  color: #444444;
}

/* * * * * * * * * * Header * * * * * * * * * */
.SVi-header {text-align:center; margin:20px auto;}

/* * * * * * * * * * Content * * * * * * * * * */

.contentWrap {
	padding:0;
	margin:0 0 10px 0;
}
.contentInner {
  background-color: rgba(255,255,255,0.7);
  -moz-border-radius: 10px;
	border-radius: 10px;
	padding:10px;
	margin:0 5px;
}
.contentInner p {
	margin:0 10px 10px 10px;
	padding:0;
	line-height:1.2;
}
.contentInner li {
	margin:0 10px 10px 0;
	padding:0;
	line-height:1.2;
}
.contentInner p:last-child,
.contentInner ul:last-child,
.contentInner ol:last-child {
  margin-bottom: 0;
}
.contentInner p:first-child,
.contentInner ul:first-child,
.contentInner ol:first-child {
  margin-top: 10px;
}
.clue h1 {
	float:left;
	margin-right:10px;
	font-size:500%;
}
.clue p {font-size:125%;}

/* * * * * * * * * * Sharing Buttons and Social Media-Related * * * * * * * * * */

.social {
	clear:both;
	text-align:center;
	margin:10px;
	padding:0 10px;
}
ul.like-buttons{
list-style: none;
margin: 5px 0 20px 0;
padding: 0;
text-align:center;
}

ul.like-buttons li{
display:inline-block;
margin:0 5px;
}

.fb-share, .fb-Likey {
	float:left;
}

.fb-comments, .fb-comments iframe[style], .fb-like-box, .fb-like-box iframe[style] {width: 100% !important;}
.fb-comments span, .fb-comments iframe span[style], .fb-like-box span, .fb-like-box iframe span[style] {width: 100% !important;}
.fb-page, .fb-page span, .fb-page span iframe[style] {width: 100% !important;}

/* * * * * * * * * * Footer * * * * * * * * * */


.SVi-footer p {
	text-shadow: 1px 1px 1px #FFF;
	font-size:80%;
}

/* * * * * * * * * * Extras * * * * * * * * * */

.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
hr {
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.75), rgba(0, 0, 0, 0));
}
.lessPad {
	padding-left:5px !important;
	padding-right:5px !important;
}
.noPad {
	padding-left:0px !important;
	padding-right:0px !important;
}
.fb-page,
.fb-page span,
.fb-page span iframe[style] {
    width: 100% !important;
}
.ctr {text-align:center;}
.lft {text-align:left;}
.rht {text-align:right;}
.floatR {float:right;}
.floatL {float:left;}

/* ------------------------------------------------------------------------------------------ Animated Items on page */
.animated {
	visibility: hidden;
}
.visible {
	visibility: visible;
}
/* ------------------------------------------------------------------------------------------ Carousel Tweaks */
/* Removes white gap between slides - chagnge to base color of slide images */
.carousel {
  background:#000;
}

/* Forces image to be 100% width and not max width of 100% */
.carousel-item .img-fluid {
  width:100%;
}

/* anchors are inline so you need ot make them block to go full width */
.carousel-item a {
  display: block;
  width:100%;
}
/* ------------------------------------------------------------------------------------------ Horiz Bullet List */
ul.hrz {text-align:center;}
ul.hrz li {display: inline-block;}

.help {
	position:absolute;
	top:0;
	left:10px;
	z-index:200;
}
.rrNav {margin-top:40px;}

.col-md-12 {
      background: #fff;
  }
.col-md-12:nth-child(2n) {
      background: #ccc;
  }

