/*
 * Shared Stylesheets go here 
 * **************************  */
 

@font-face {
	font-family: 'roboto-regular';
	src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

p, a {
	margin: 0;
}

table {
	border: none;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
}

button:focus {
	outline: 0;
}

/* ----- Input Style ----- */

.input {
	box-sizing: border-box;
	font-family: roboto-regular;
	font-size: 16px;
	background-color: #404040;
	color: #afafaf;
	box-shadow: none;
	border: 1px solid rgba(128, 128, 128, 0.5);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
}

@media (max-width: 400px) {
	.input[type='text'], .input[type='password'] {
		width: 170px;
	}
}

@media (min-width: 700px) {
	.input {
		font-size: 18px;
		
	}
}

.input {
	padding: 2px 6px 2px 6px;
}
.input[type='text'], .input[type='password'] {
	padding: 2px 0px 2px 6px;
}

a.input {
	text-decoration: none;
}

button {
	cursor: pointer;
	background-color: transparent;
	border: none;
}

.input::selection { 			/* WebKit/Blink Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}
.input::-moz-selection { 	/* Gecko Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}

.input-symbol {
	text-decoration: none;
	font-size: 26px !important;
	vertical-align: middle;
	color: #959595;
	text-shadow: 0 0 1px #aaaaaa;	/* glow */
	
	-webkit-transition: color 250ms ease, text-shadow 250ms ease;
    -moz-transition: color 250ms ease, text-shadow 250ms ease;
    -ms-transition: color 250ms ease, text-shadow 250ms ease;
    -o-transition: color 250ms ease, text-shadow 250ms ease;
    transition: color 250ms ease, text-shadow 250ms ease;
}

.input-symbol:hover {
	color: #F2F2F2;
	text-shadow: 0 0 3px #efefef;
}

@media (min-width: 800px) {
	.input-symbol {
		font-size: 29px !important;
	}
}

/* ----- default font ----- */

.font-default {
	display: inline-block;
	color: #BDBDBD;
	font-family: roboto-regular;
	font-size: 16px;
	margin: 0;
}

.font-default::selection { 			/* WebKit/Blink Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}
.font-default::-moz-selection { 	/* Gecko Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}


/* ----- small font ----- */

.font-small {
    display: inline-block;
    color: #BDBDBD;
    font-family: roboto-regular;
    font-size: 15px;
    margin: 0;
}

.font-small::selection { 			/* WebKit/Blink Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}
.font-small::-moz-selection { 	/* Gecko Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}


/* ----- highlight font ----- */

.font-highlight {
	font-size: 24px;
	color: #BDBDBD;
	font-family: roboto-regular;
	text-shadow: 0 0 1px #BDBDBD;	/* minimal glow for smoothing */
}

.font-highlight::selection { 			/* WebKit/Blink Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}
.font-highlight::-moz-selection { 	/* Gecko Browsers */
  background: rgba(0, 26, 51, 0.5);
  color: white;
}

/* ----- shared font queries ----- */

@media (min-width: 610px) {
	.font-default {
		font-size: 19px;
	}
	.font-highlight {
		font-size: 29px;
	}
}

@media (min-width: 800px) {
	.font-default {
		font-size: 22px;
	}
	.font-highlight {
		font-size: 33px;
	}
}

/* ----- tabs ----- */

.tabs {
  	position: relative; 
  	min-height: 450px;
  	clear: both;
  
  	-webkit-box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	-moz-box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
}

.tab {
	float: left;
}

.tab-label {					/* the label element */
	position: relative;
	padding: 5px 8px 5px 8px; 
	margin-left: -1px; 
	left: 1px;
	top: -30px;
  
  	color: #BDBDBD;
	font-family: roboto-regular;
	font-size: 18px;
	color: #BDBDBD;

	background-color: #393939;
	border: 1px solid rgba(0, 0, 0, 0.5);
	cursor: pointer;
	
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	-ms-border-radius: 10px 10px 0 0;
	-o-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;	
}

.tab-label > p {
	display: inline-block;
}

.tab-label::selection {
	background: rgba(0, 26, 51, 0.5);
	color: white;
}
.tab-label::-moz-selection {
	background: rgba(0, 26, 51, 0.5);
	color: white;
}

.tab [type=radio] {
	display: none;   
}

.content {
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	border: 1px solid rgba(0, 0, 0, 0.5);
	opacity: 0;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
}

.tab:first-child > label {
	margin-left: 10px;		/* respect rounded corners */
}

[type=radio]:checked ~ label {
  	z-index: 2;
  	color: #FFFFFF;
	background-color: #494949; 
}
[type=radio]:checked ~ label ~ .content {
	z-index: 1;
	opacity: 1;
}

.tab-label-deleteButton {
	position: relative;
	vertical-align: middle;
	margin-left: 7px;
	margin-bottom: 2px;
	height: 20px;
	width: 20px;
	box-sizing: border-box;
	border: 1px solid black;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 40%;
	opacity: 0.6;
	-webkit-transition: opacity 150ms ease;
    -moz-transition: opacity 150ms ease;
    -ms-transition: opacity 150ms ease;
    -o-transition: opacity 150ms ease;
    transition: opacity 150ms ease;
}

.tab-label-deleteButton:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.1);
}

.tab-label-deleteButton:before, .tab-label-deleteButton:after {
  position: absolute;
  left: 8px;
  top: 3px;
  content: ' ';
  height: 13px;
  width: 2px;
  background-color: #111;
}
.tab-label-deleteButton:before {
  transform: rotate(45deg);
}
.tab-label-deleteButton:after {
  transform: rotate(-45deg);
}

/* ----- card design ----- */

.card {
	position: relative;
	display: inline-block;
	z-index: 0;
	border: 1px solid rgba(0, 0, 0, 0.5);
	
	-webkit-box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	-moz-box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
}

.card-header-text {
	position: absolute;
	z-index: 2;		/* be on top of ard-header-overlay */
	top: 13px;
	left: 20px;
}

.card-header-overlay {
	position: absolute;
	width: 100%;
	height: 48px;
	z-index: 1;
	top: 0;
	background-color: black;
	opacity: 0.4;
	
	-webkit-border-radius: 10px 10px 0 0;	/* don't overlap parent */
	-moz-border-radius: 10px 10px 0 0;
	-ms-border-radius: 10px 10px 0 0;
	-o-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
}

.card-content-container {
	margin-top: 48px;
	width: 100%;
	height: -webkit-calc(100% - 48px);
	height: -moz-calc(100% - 48px);
	height: calc(100% - 48px);
}

.card-header-text-container {
	z-index: 1;
	position: absolute;
	top: 0px;
	width: 100%;
	height: 48px;	/* follows height of card-header-overlay */
	text-align: right;
	padding-right: 20px;
	box-sizing: border-box;
}

.card-header-text-container > * {
	line-height: 48px;	/* follows height of card-header-overlay */
}

@media (min-width: 600px) {
	.card-header-overlay,
	.card-header-text-container {
		height: 52px;
	}
	.card-header-text-container > * {
		line-height: 52px;
	}
	.card-content-container {
		margin-top: 52px;
		height: -webkit-calc(100% - 52px);
		height: -moz-calc(100% - 52px);
		height: calc(100% - 52px);
	}
}

@media (min-width: 800px) {
	.card-header-overlay,
	.card-header-text-container {
		height: 60px;
	}
	.card-header-text-container > * {
		line-height: 60px;
	}
	.card-content-container {
		margin-top: 60px;
		height: -webkit-calc(100% - 60px);
		height: -moz-calc(100% - 60px);
		height: calc(100% - 60px);
	}
}

.stripes {	/* makes background striped */
	background: #2c2c2c;
	background: url("../images/background-stripes.png");
	/*
	background: -moz-linear-gradient(-45deg,  #2c2c2c 0%, #2c2c2c 23%, #4f4f4f 25%, #2c2c2c 27%, #2c2c2c 50%, #2c2c2c 73%, #4f4f4f 75%, #2c2c2c 77%, #2c2c2c 100%);
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#2c2c2c), color-stop(23%,#2c2c2c), color-stop(25%,#4f4f4f), color-stop(27%,#2c2c2c), color-stop(50%,#2c2c2c), color-stop(74%,#2c2c2c), color-stop(75%,#4f4f4f), color-stop(76%,#2c2c2c), color-stop(100%,#2c2c2c));
	background: -webkit-linear-gradient(-45deg,  #2c2c2c 0%,#2c2c2c 23%,#4f4f4f 25%,#2c2c2c 27%,#2c2c2c 50%,#2c2c2c 73%,#4f4f4f 75%,#2c2c2c 77%,#2c2c2c 100%);
	background: -o-linear-gradient(-45deg,  #2c2c2c 0%,#2c2c2c 23%,#4f4f4f 25%,#2c2c2c 27%,#2c2c2c 50%,#2c2c2c 73%,#4f4f4f 75%,#2c2c2c 77%,#2c2c2c 100%);
	background: -ms-linear-gradient(-45deg,  #2c2c2c 0%,#2c2c2c 23%,#4f4f4f 25%,#2c2c2c 27%,#2c2c2c 50%,#2c2c2c 73%,#4f4f4f 75%,#2c2c2c 77%,#2c2c2c 100%);
	background: linear-gradient(135deg,  #2c2c2c 0%,#2c2c2c 23%,#4f4f4f 25%,#2c2c2c 27%,#2c2c2c 50%,#2c2c2c 73%,#4f4f4f 75%,#2c2c2c 77%,#2c2c2c 100%);
	background-size: 10px 10px;
	*/
}
