/*
 * 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;
}

/* borrowing Bootstrap style for btn elements, but combining styles a bit */
.jspsych-btn {
  display: inline-block;
  padding: 6px 12px;
  margin: 0px;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Open Sans', 'Arial', sans-serif;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.jspsych-btn:hover {
  background-color: #ddd;
  border-color: #aaa;
}

.jspsych-btn:disabled {
  background-color: #eee;
  color: #aaa;
  border-color: #ccc;
  cursor: not-allowed;
}
/*
 * 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
 */
 #circle {
     background: #f00;
     width: 20px;
     height:20px;
     border-radius: 50%;
 }

 #jspsych-content-top-left, #jspsych-content-top-middle, #jspsych-content-top-right {
   position: relative;
   display: inline-block;
   width: 33%%;
   height: 100px;
   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;
   font-size: 200%;
  }
  .coord {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#contain {
    position: relative;
    width: 104%;
    height: 132%;
}

#contain img {
    position: absolute;
    top: 0;
    left: 0;
}
 #jspsych-content-middle-left, #jspsych-content-middle-middle, #jspsych-content-middle-right, #jspsych-content-bottom-left, #jspsych-content-bottom-middle, #jspsych-content-bottom-right {
   position: relative;
   display: inline-block;
   width: 26%;
   height: 33%;
   /* margin-right: -5%; */
   background-repeat: no-repeat;
   background-position: 40% 100%;
   text-align: left;
   vertical-align: top;
   overflow:visible;
   font-size: 100%;
  }

 #jspsych-content-bottom-middle{
   margin-top: 55px;
   margin-right: -50%;

 }
  #navi,
  #arrow2 {
    width: 26%;
    height: 33%;
    position: absolute;
    top: 0;
    left: 0;
  }
  #jspsych-content-middle-left, #jspsych-content-middle-middle, #jspsych-content-middle-right, #jspsych-content-bottom-left, #jspsych-content-bottom-middle, #jspsych-content-bottom-right {
    margin-left: -50%;

    /* z-index: 10; */
  }
/* #jspsych-content-bottom-left, #jspsych-content-bottom-middle, #jspsych-content-bottom-right {
 position: relative;
 display: inline-block;
 width: 33%;
 height: 100px;
 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: 200%;
 overflow:visible;
} */

/* #jspsych-content-top-middle,#jspsych-content-bottom-middle {
 font-size: 300%;
 display: inline-block;
 width: 39%;

} */


#jspsych-content-plane-top-left,#jspsych-content-plane-bottom-left {
 /* position: relative; */
 display: inline-block;
 margin-top: 5px;
 /* margin-right: -2%; */
 padding-right: 2.5%;
 width: 49%;
 height: 49%;
 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: 200%;
 overflow:visible;
}
 #jspsych-content-plane-top-right,#jspsych-content-plane-bottom-right {
 /* position: relative; */
 display: inline-block;
 margin-top: 5px;
 margin-right: -6%;
 width: 49%;
 height: 49%;
 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: 200%;
 overflow:visible;
}


canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
}

 .shape {
     fill: none;
     stroke: #white;
     stroke-width: 1px;
     stroke-dasharray: 130px;
     stroke-dashoffset: 130px;
     animation: move 6s linear forwards;
 }
 /* .arrow:after {
   content: "";
   display: inline-block !important;
   width: 0;
   height: 0;
   border-left: 8px solid white;
   border-top: 8px solid transparent;
   border-bottom: 8px solid transparent;
   vertical-align: middle;
 }

 .arrow:before {
   width: 160px;
   height: 2px;
   background: white;
   content: "";
   display: inline-block;
   vertical-align: middle;
   } */


 @keyframes move {
     100% {
         stroke-dashoffset: 0;
     }
 }
.leftup {
        width: 112px;
        height: 47px;
        border-bottom: 4px solid #154eb7;
        -webkit-transform:
            translateY(260%)
            translateX(105%)
            rotate(127deg);
        /* position: absolute; */
        /* top: 50px; */
        /* left:50%; */
    }

  .rightup {
      width: 112px;
      height: 47px;
      border-bottom: 4px solid orange;
      -webkit-transform:
          translateY(-80px)
          translateX(185px)
          rotate(-26deg);
      position: absolute;
      top: 50px;
      left: -18px;
  }
.leftdown {
        width: 112px;
        height: 47px;
        border-bottom: 4px solid #154eb7;
        -webkit-transform:
            translateY(-35px)
            translateX(-120px)
            rotate(-27deg);
        position: absolute;
        top: 50px;
    }


  .rightdown {
      width: 112px;
      height: 47px;
      border-bottom: 4px solid orange;
      -webkit-transform:
          translateY(-35px)
          translateX(205px)
          rotate(27deg);
      position: absolute;
      top: 50px;
      left: -18px;
  }

  .leftcircle {
    background: #154eb7;
    border-radius: 25%;
    width: 25px;
    height: 25px;
    z-index: 2;
      -webkit-transform:
          translateY(35px)
  }
  .tri {
    width: 0;
 height: 0;
 border-left: 15px solid transparent;
 border-right: 15px solid transparent;
 border-bottom: 30px solid red;
 z-index: 0;
   -webkit-transform:
       translateY(62%)
  }


  .rightcircle {
    background: orange;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    z-index: 2;
      -webkit-transform:
          translateY(35px)
          translateX(90px)
  }
