/* CSS Document */

.questionContainer p {
    background: rgba(29, 78, 137, 0.2);
    padding: 0.5rem;
}

.questionContainer, .questionIntro{
    padding:.5em;
    margin: .5rem 2rem;
}

.text-container {
/*    display:none;  Hide initially*/
    position: relative;
    padding: 20px;
    background-color: #ddd;
}

.questionText{
/*   display:none;  Hide initially*/
   font-size: 1.1em;
   line-height: 1.3em;
   width:100%;
   padding:0.5em;
   margin: 1em auto;
   
}

img.displayed {
    width: 100%;
    margin-right: 21px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.painting {
    height: 17em;
    position: relative;
}

.credits {
    font-size: small;
    font-weight: bold;
    text-align: right;
    top: -10px;
    background: rgba(220, 198, 224, 0.4);
    padding: 10px;
    line-height: 24px;
}

.textBlock{
	    margin-bottom: 3em;
}
img.scales {
    float: right;
    margin: 0px 0px 15px 15px;
    border: 7px solid #663399;
    border-radius: 15px;
}

.questionInput{
    background-color: white;
    margin: 1rem 0;
    display: inline-block;
    min-height: 3em;
	max-height: 5em;
    width: 100%;
    padding: 0.5rem 0.5rem 0 0.5rem;
    border: solid 1px gainsboro;
    -webkit-transition: box-shadow 0.3s, border 0.3s;
    -moz-transition: box-shadow 0.3s, border 0.3s;
    -o-transition: box-shadow 0.3s, border 0.3s;
    transition: box-shadow 0.3s, border 0.3s;
    overflow-y: scroll;
}

.print-helper{
  display: none;
}

.question-container{
    padding:0;
}


/* countdown styling */
.style {
   width: 100%;
   font-family: sans-serif;
   font-weight: bold;
   border-style: solid;
}

.colorDefinition {
    background: #DCC6E0;
    color : #333;
    border-color: #663399;
}

.size_lg {
    font-size: 250px;
    border-width: 11px;
    border-radius: 18px;
    padding: 10px;
}

.questionText table {
    margin-top: 9em;
    margin-right: auto;
    margin-left: auto;
}

.canvas-container {
    padding: 50px;
}

#start {

    width: 300px;
    bottom: -110px;
    margin-left: 35%;
	z-index: 50;
}

#mycanvas {

    /* top: 0px; */
    margin-left: 38%;
	cursor:default	
}

.hideclock{
  opacity:0.2;

}

button#stopBtnhms {
    margin-top: 5em;
	margin-bottom: 3em;
    float: right;
}

.no-input {
	display: none;
}

/* The highCharts*/

.highcharts-series rect:hover {
    fill: #9A12B3;
}
.highcharts-series rect {
    fill: #663399;
}

#container{
	width: 80%;
    margin-top: 3em;
	}

.textInput{
	
	text-align: center;
    padding-bottom: 35px;
}

/* Image overlay */


.image-container .image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.painting .image-container:hover .image {
  opacity: 0.4;
}

.painting .image-container:hover .middle {
  opacity: 1;
}

.modal-button {
  color: #663399;
}

.modal-body .image-container {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* media queries */

/* ----------- Large Display ----------- */

@media screen and (max-width: 1920px) and (max-height: 1080px){
    /* Styles */
 .text-content p{
    font-size:1.6em;
 }

 .questionText {
    font-size:1.6em;  
 }
    

/* ----------- Laptop HiDPI screen ----------- */

@media screen and (max-width: 1440px) and (max-height: 900px){
    /* Styles */
     .text-content p{
    font-size:1.4em;
 }

 .questionText {
    font-size:1.4em;  
 }   
}


/* ----------- Laptop ----------- */

@media screen and (max-width: 1366px) and (max-height: 768px){
    /* Styles */
}

/* ----------- Laptop MDPI screen ----------- */

@media screen and (max-width: 1280px) and (max-height: 800px){
    /* Styles */
}

/* ----------- iPad Landscape----------- */

@media only screen and (max-device-width: 1024px) and (max-device-height: 768px){
    /* Styles */
    .text-content p{
    font-size:1.3em;
 }

 .questionText {
    font-size:1.3em;  
 }
}
