
.closeButton
{
	height: 30px;
	width: 30px;
}
.dndMenuItem:focus
{
	background-color: #0000FF;
	color: #FFFFFF;
}
.ui-draggable.hover
{
	background-color: #A7A7A7;
	color: white;
}
.LongAnswerPage .textBlock
{
	box-sizing: border-box;
	height: auto !important;
	moz-box-sizing: border-box;
	ms-box-sizing: border-box;
	position: static !important;
	webkit-box-sizing: border-box;
	width: 90% !important;
}
.longAnswer
{
	box-sizing: border-box;
	margin-bottom: 20px !important;
	margin-left: 20px !important;
	margin-top: 20px !important;
	moz-box-sizing: border-box;
	ms-box-sizing: border-box;
	position: static !important;
	webkit-box-sizing: border-box;
	width: 90% !important;
}
.distractorHost:hover
{
	opacity: .8 !important;
	outline: 1px solid black !important;
	outline-color: invert;
	outline-style: solid;
}
.ps-caption
{
	font-size: 2em;
}
.PwgImageSliderWidget
{
	margin-left: auto;
	margin-right: auto;
	max-width: 550px !important;
}
.timelineContent
{
	font-size: 1em;
}
.pgwSlider:after
{
	clear: both;
	content: ".";
	margin-bottom: 50px;
}

.pgwSlider{
	max-width: 550px !important;
}

.interviewImage
{
	background-color: #FFFFFF00;
	float: left;
	height: auto;
	margin: 20px;
	padding: 10px;
	position: static !important;
	width: 25%;
}
.interviewImage > .image
{
	border: none;
	height: auto;
	width: 100%;
}
.interviewerDistractor.text
{
	margin-bottom: 20px !important;
	margin-left: 30%;
	position: static !important;
	width: 60% !important;
}
.interviewerStem
{
	font-weight: bold;
	height: auto !important;
	min-height: 100px;
	margin-bottom: 75px !important;
	margin-top: 20px !important;
	position: relative !important;
	width: 70% !important;
}

.speechBubble {
    
	margin-left: 30%;
	margin-bottom:100px;
	position: relative;
    background: var(--chipMBgColor) !important;
    color: var(--chipMFgColor) !important;
    font-family: Arial;
    font-size: 1em;
    text-align: left;
    width: 250px;
    height: 120px;
    border-radius: 10px;
    padding: 20px;
}
.speechBubble:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 2;
    border-style: solid;
    border-color: transparent var(--chipMBgColor);
    border-width: 20px 20px 20px 0;
    top: 34%;
    left: -20px;
    margin-top: -20px;
}


.InterviewPage
{
	border: 1px #c7c7c7c7 solid;
}
.dashboard
{
	width: 100%;
}
.dbMeterDiv
{
	margin-left: auto !important;
	margin-right: auto !important;
	ms-transform: scale(.55);
	position: relative !important;
	top: 10px;
	transform: scale(.55);
	webkit-transform: scale(.55);
}
.flashcard
{
	padding: 20px !important;
}
.flashcard .inputbox
{
	left: 10% important;
	margin-top: 20px !important;
	position: static !important;
	top: 0px !important;
	width: 48% !important;
}
.flashcard .text
{
	left: 10% important;
	position: static !important;
	width: 48% !important;
}
.flashcard .imageparent
{
	left: 60% !important;
	width: 35% !important;
}
.flashcard .imageparent img
{
	height: auto !important;
	width: 100% !important;
}
p
{
	margin-top: 10px;
}
.flashcard .image
{
	background: white;
	box-shadow: 0 4px 6px rgba(0,0,0,.3);
	moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
	padding: 10px;
	webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
}
.ps-caption
{
	background: #48525c77 !important;
}

.popup
{
	max-height: 500px !important;
	z-index: 150 !important;
}
.colorboxDiv
{
	max-height: 80vh !important;
}
.overlay
{
	box-shadow: 0 0 20px gray;
	height: auto;
	left: 25%;
	margin-left: auto !important;
	margin-right: auto !important;
	moz-box-shadow: 0 0 20px gray;
	outline: 2px #a7a7a7 solid;
	padding: 20px !important;
	position: absolute !important;
	top: 20%;
	webkit-box-shadow: 0 0 20px gray;
	width: 50%;
	z-index: 100;
}
.overlay input
{
	box-shadow: 0 0 5px green;
	moz-box-shadow: 0 0 5px green;
	webkit-box-shadow: 0 0 5px green;
}
.overlayContent
{
	width: 90% !important;
}
.overlay .text
{
	width: 90% !important;
}

.popupContent p
{
	margin: 20px;
}

body {
    background-size: 0; /* Hides the background image until loaded*/
}

body.doc-loaded
{
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center;
}

/* Safari-specific override for xxx-large */
@supports (not (font-size: xxx-large)) {
  * {
    font-size: revert;
  }
  *[style*="font-size: xxx-large"] {
    font-size: 36px; 
  }
}


/*responsive crossword */

.CrosswordPage .content{
    display: flex; 
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    
}

#crosswordDiv {
    height: 530px;
    width: 703px;
    
}

/* Scale for smaller screens */
@media (max-width: 800px) {
    #crosswordDiv {
        transform: scale(0.8);
    }
}

@media (max-width: 600px) {
    #crosswordDiv {
        transform: scale(0.6);
    }
}

@media (max-width: 400px) {
    #crosswordDiv {
        transform: scale(0.4);
    }
}

#hintFieldDiv {
    position:absolute;
    top: 70%;
    margin-top: 10px; /* Space between crossword and hints */
    width: 100%; /* Matches the crossword width, adjusts with scaling */
    text-align: center; /* Optional, aligns hint text */
    font-size: 24px;
    font-weight:bold;
}