/*
 * CSS for jsPsych experiments.
 *
 * This stylesheet provides minimal styling to make jsPsych
 * experiments look polished without any additional styles.
 */

 @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);

/* Container holding jsPsych content */
 .jspsych-display-element {
   display: flex;
   flex-direction: column;
   overflow-y: auto;
 }

 .jspsych-display-element:focus {
   outline: none;
 }

 .jspsych-content-wrapper {
   display: flex;
   margin: auto;
   flex: 1 1 100%;
   width: 100%;
 }

 .jspsych-content {
   max-width: 95%; /* this is mainly an IE 10-11 fix */
   text-align: center;
   margin: auto; /* this is for overflowing content */
 }

 .jspsych-top {
   align-items: flex-start;
 }

 .jspsych-middle {
   align-items: center;
 }

/* fonts and type */
.jspsych-display-element {
  font-family: 'Open Sans', 'Arial', sans-serif;
  font-size: 18px;
  line-height: 1.6em;
}

/* Form elements like input fields and buttons */
.jspsych-display-element input[type="text"] {
  font-family: 'Open Sans', 'Arial', sans-serif;
  font-size: 14px;
}


/*
 * PLUGIN: jspsych-instructions
 */
 .jspsych-instructions-nav {
   text-align: center;
   margin-top: 2em;
 }

 .jspsych-instructions-nav button {
   margin: 20px;
 }

/*
 * Classes for changing location of things
 */
.left {
    float: left;
}

.right {
    float: right;
}

.center-content {
    text-align: center;
}

/* Control appearance of jsPsych.data.displayData() */
#jspsych-data-display {
  text-align: left;
}


/*
 *
 * Container holding jsPsych content
 *
 */

.jspsych-display-element {
    width: 800px;
    margin: 50px auto 50px auto;
	background-repeat: no-repeat;
	background-position: center;
	height: 400px;
}


/*
 * PLUGIN: jspsych-2step
 */

 #jspsych-2step-top-stake {
 	display: inline-block;
 	margin-top: 35px;
 	margin-bottom: 0px;
 	width: 100px;
 	height: 100px;
 	font-family: Arial;
 	color:#b8fff6;
 	background-color:#0738db;
 	border: 5px solid #197bff;
 	border-radius: 10px;
  vertical-align:middle;
  font-size: 100%;
  line-height:100px;
 }

 #jspsych-2step-mini-stake {
 	display: left;
 	margin-top: 10px;
 	margin-bottom: 0px;
  margin-left: 10px;
 	width: 50px;
 	height: 50px;
 	font-family: Arial;
 	color:#b8fff6;
 	background-color:#0738db;
 	border: 5px solid #197bff;
 	border-radius: 10px;
 	text-align: center;
  vertical-align:left;
  font-size: 150%;
  line-height:50px;
 }
 #jspsych-2step-mini-stake span{
     line-height:50px;
 }

 #jspsych-2step-content-top-left, #jspsych-2step-content-top-middle, #jspsych-2step-content-top-right {
   position: relative;
   display: inline-block;
   width: 169px;
   height: 188px;
   background-repeat: no-repeat;
   background-position: 40% 100%;
   border-width: 4px;
   border-style: dashed;
   border-color: rgba(0, 0, 0, 0);
   text-align: center;
   vertical-align: top;
 }

 #jspsych-2step-content-top-middle {
  font-size: 300%;
  display: inline-block;
 }

#jspsych-2step-content-bottom-left, #jspsych-2step-content-bottom-middle, #jspsych-2step-content-bottom-right {
 position: relative;
 display: inline-block;
 margin-top: 5px;
 width: 169px;
 height: 188px;
 background-repeat: no-repeat;
 outline-width: 4px;
 outline-style: dashed;
 outline-color: rgba(0,0,0,0);
 vertical-align: top;
 background-position: center;
 font-size: 500%;
}
