/* styles */
/* called by your view template */

* {
  box-sizing: border-box;
}

body {
  font-family: helvetica, arial, sans-serif;
  /*margin: 25px;*/
  line-height: 2em;
  font-size: 1em;
  background-color:#364046;
    
/*   width:625px; /* a Medium embed is 700px, we want this one to have a vertical scrollbar (~25px) and 25px margin */ 
}

h1 {
  font-weight: bold;
  color: pink;
}

.bold {
  font-weight: bold;
}

textarea {
  width: 100%; 
  height: 50%;
  padding:10px;
  line-height:20px;
  margin-top:10px;
}



/* p { */
/*   max-width: 600px; */
/* } */

form {
  margin-bottom: 25px;
  padding: 0px;
  display: inline-block;
  width: 100%;
  border-radius: 3px;
}

input {
  display: block;
  margin-bottom: 10px;
  padding: 5px;
  width: 100%;
  border: 1px solid #CD0000;
  border-radius: 10px;
  font-size: 16px;
  background-color: #CD0000;
  color: #fff;
}


input:hover{
  background-color: #d73232;
}

button {
  font-size: 16px;
  border-radius: 3px;
  background-color: lightgrey;
  border: 1px solid grey;
  box-shadow: 2px 2px teal;
  cursor: pointer;
}

button:hover {
  background-color: yellow;
}

button:active {
  box-shadow: none;
}

li {
  margin-bottom: 5px;
}

footer {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid lightgrey;
}

footer > a {
  color: #BBBBBB;
}

.nicejob {
  text-decoration: line-through;
}

#systemMessages {
  border-radius: .4em;
  border: 2px solid #999;
  padding: 1em;
  margin: 1em;
  min-height: 2em;
  background-color: #fee;
  color: #333;
  display: none;
}

/* speech bubble stylings generated by https://leaverou.github.io/bubbly/ */

.speech-bubble-left, .speech-bubble-right {
	position: relative;
	border-radius: .4em;
  padding: 1em;
  min-height: 2em;
}

.speech-bubble-left:after, .speech-bubble-right:after {
	content: '';
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	border: 0.563em solid transparent;
	border-top: 0;
	margin-top: -0.281em;
}

.speech-bubble-left:after {
	left: 0;
	border-left: 0;
	margin-left: -0.562em;
}

.speech-bubble-right:after {
	right: 0;
	border-right: 0;
	margin-right: -0.562em;
}

.question {
  color: #fff;
  background-color:#364046;
  position:fixed;
  width:30%; 
  float:left; 
  padding-left: 25px;
  padding-right:25px;
  height: 100%;

}

.horizontalquestion {
  color: #000;
  background-color:#a3ccf5;
  position:fixed;
  width:97%; 
  float:left; 
  height: 100%;

}

.publicStream {
  width:70%; 
  float:right; 
  padding-left:10px; 
  padding-right:30px;
  padding-top: 10px;
}

.submitbtn {
  width:50%; 
  float:right; 
  margin-top:10px;
}



@media only screen and (max-width: 1000px) {
  
  textarea {
    width: 100%; 
    height: 25%;
    padding:10px;
    line-height:20px;
    margin-top:10px;
  }
  
  .question {
    color: #fff;
    background-color:#364046;
    position:fixed;
    width:40%; 
    float:left; 
    padding-left: 25px;
    padding-right:25px;
    height: 100%;
    line-height: 1.5em;
  font-size: 1em;
  }
  
  .publicStream {
    width:60%; 
    float:right; 
    padding-left:10px; 
    padding-right:30px;
    padding-top: 10px;
}
  
}