/* =========== Base ========== */

html {
	/*background: #e7d4ff;*/
	height: 100%;
	background: radial-gradient(#ffffff 0%, #d7d3ff 100%)
}

body {
	font-family: "Computer Modern Sans", sans-serif;
	margin-left:10%;
	margin-right:10%;
}


h1 {
	margin-top:5%;
	margin-bottom:3%;
	text-align: center;
	font-weight: 600;
	font-family: 'Titillium Web', sans-serif;
	position: relative;  
	font-size: 36px;
	line-height: 40px;
	padding: 15px 0px 15px 0%;
	color: #355681;
	box-shadow: 
	inset 0 0 0 1px rgba(53,86,129, 0.4), 
	inset 0 0 5px rgba(53,86,129, 0.5),
	inset -285px 0 100px #bdffbf;
	border-radius: 0 10px 0 10px;
}

h2 {
	margin-top:4%;
	margin-bottom:2%;
	text-indent: 7%;
	font-weight: normal;
	position: relative;
	text-shadow: 0 -1px rgba(0,0,0,0.6);
	font-size: 28px;
	line-height: 40px;
	background: #355681;
	background: rgba(53,86,129, 0.8);
	border: 1px solid #fff;
	padding: 5px 15px;
	color: white;
	border-radius: 0 10px 0 10px;
	box-shadow: inset 0 0 5px rgba(53,86,129, 0.5);
	font-family: 'Muli', sans-serif;
}

h3 {
	margin-top:1%;
	margin-bottom:1%;
	text-indent: 4%;
	font-weight: 600;
	font-family: 'Titillium Web', sans-serif;
	position: relative;
	text-shadow: 0 -1px 1px rgba(0,0,0,0.4);
	font-size: 22px;
	line-height: 40px;
	color: #355681;
	/*border-top: 1px solid rgba(53,86,129, 0.3);*/
}

h4 {
	margin-top:1%;
	margin-bottom:1%;
	text-indent: 4%;
	font-weight: 600;
	font-family: 'Titillium Web', sans-serif;
	position: relative;
	font-size: 18px;
	line-height: 20px;
	color: #788699;
	font-family: 'Muli', sans-serif;
}



p {
	text-indent: 1%;
	font-family: 'Inder', sans-serif; font-size: 16px;
}



canvas {
  /* border-radius: 30px;  Border radiuses don't seem to work with putImageData */
  box-shadow: 0 0 10px #777;
  /*width: 1024px;*/
  /*height: 768px;*/
}


/* ====== Banner of footer ====== */ 

.banner {
 text-align: center;
}


/* ====== Link buttons ====== */ 
 a { /* Links */
 target:"_blank";
	color: #991B00;
}
a:link {text-decoration: none; color:#3b0082} 
a:visited {text-decoration: none} 
a:active {text-decoration: none} 
a:hover {text-decoration: none; /*background-color:yellow;*/color:red}

/* ====== Double navigation bar ====== */ 

/* The navigation menu */
.navbar {
  overflow: hidden;
  background-color: #333;
  border-radius: 5px;
}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}



/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Add a red background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #be8cff;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #be8cff;
  width: 100%;
  z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  color: block;
  text-decoration: none;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: #d3b0ff;
  color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
} 


/* Hidden elements */
.hidden {
  visibility: hidden;
}


// Record/stop record button for audio
.rec_button {
	width: 35px;
	height: 35px;
	font-size: 0;
	background-color: red;
	border: 0;
	border-radius: 35px;
	margin: 18px;
	outline: none;
}

.notRec{
	background-color: darkred;
}

.Rec{
	animation-name: pulse;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes pulse{
	0%{box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3)}
	65%{box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3)}
	90%{box-shadow: 0px 0px 5px 13px rgba(173,0,0,0)}
}

/* ========= Tables =========== */


.mytable {
  border-collapse: collapse;
}
.mytr { 
  border: solid;
  border-width: 1px 0;
}
.mytd {
  border-right: solid 1px; 
  border-left: solid 1px;
}


/* ============ Textrans ========== */

.txt_embedding {
	color: black;
	font-family: "Computer Modern", sans-serif;
	font-size: 16px;
	height: 150px;
	width: 90%;
	background-color: #e4d8ff;
}

.mybutton {
	border: none;
	color: black;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 5px;
}
.mybutton:hover {
	background:#a8ffa7;
}
.mytitles {
	font-family: "Computer Modern", sans-serif;
	text-indent: 3%;
}


/* ========= Doesnt remove whitespaces =========== */

.whitespaces {
white-space: pre;
}


/* ========= Login etc =========== */
.loginpanel {
	font-family: "Computer Modern", sans-serif;
	text-indent: 3%;
	text-align: center;
}
.container {
  width:70%;
  margin:40px auto;
	text-align: center;
  background: #F2F2F2;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 2px #fff inset,
              -1px -1px 2px #fff inset;
  border-radius: 3px/6px;         
}

/* Perlin */
.centerbox {
  /* flexbox, por favor */
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: center;
  -webkit-box-align: center;

  display: -moz-box;
  -moz-box-orient: horizontal;
  -moz-box-pack: center;
  -moz-box-align: center;

  width: 100%;
  height: 100%;
  margin: 0; padding: 0;
}
.div_cote{
    float:left;
}
