#spanMemWrapper {
	/* margin-right:5%; */
	/* margin-bottom:5%; */
	height: 410px;
	width: 100%;
	border: 1px solid black;
	overflow-y: auto;
}

#spanMemWrapper th {
	text-align: right;
}

#spanMemWrapper td {
	text-align: center;
}

#spanVarMem {
	width: 100%;
	border-top: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
}

#spanMem {
	width: 100%;
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
}

#spanReg {
	height: auto;
	width: auto;
	border: 1px solid black;
	overflow-y: auto;
}

#spanReg th {
	width: 20px;
}

.table {
	margin-bottom: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

#mem-table {
	width: 90px;
	/* margin-bottom: 0px; */
}

#mem-table th, #mem-table td {
	padding: 0px;
	line-height: 1.428571429;
	text-align: center;
	vertical-align: top;
	border-top: 1px solid #dddddd;
}

.nav > li > a {
	padding: 6px 10px;
}

#btn-grid {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
}

#btn-grid tr:not(:last-child) > td {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

#btn-grid tr:not(:first-child) > td {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: 0;
}

#Editor1 {
	height: 275px;
	overflow-y: auto;
}

#runButton, #walkButton {
	width: 100px;
}

#bus {
	height: auto;
	width: 50px;
	float: left;
	text-align: center;
	border: 1px solid;
	margin-top: 50px;
}

#program {
	min-width: 700px;
}

.figure {
	overflow-x: auto;
}

#cpu {
	border: 1px solid;
}

#counter-flags {
	margin-top: 10%;
}

#counter {
	height: 100px;
}

#flags {
	height: 150px;
}

/* #registers { */
/* 	margin-bottom:2.75%; */
/* } */

@media (min-width: 767px) {
	#counter-flags {
		width: 170px;
	}
}

@media (max-width: 767px) {
	#memory, #cpu {
		padding: 0;
	}

	#bus {
		width: 8%;
	}

	.tabbable {
		padding: 0;
	}
}

@media (max-width: 500px) {
	#registers, #counter-flags {
		width: 100%;
	}
}

@media (max-width: 440px) {
	#memory, #cpu {
		width: 100%;
		margin-bottom: 0;
	}

	#registers, #counter-flags {
		width: 50%;
	}

	#bus {
		margin-top: 0;
		margin-left: 40%;
		width: 50px;
	}
}

@media (min-width: 768px) {
	.container {
		width: 100%;
	}
	/*.col-sm-4 {
		width: 100%;
	}
	.col-sm-3 {
		width: 100%;
	}*/
}
@media (min-width: 992px) {
	.container {
		width: 100%;
	}
	/*.col-md-4 {
		width: 100%;
	}
	.col-md-3 {
		width: 100%;
	}*/
}
@media (min-width: 1200px) {
	.container {
		width: 100%;
	}
	/*.col-lg-4 {
		width: 100%;
	}
	.col-lg-3 {
		width: 100%;
	}*/
}


/* vim: set ts=4 sw=4 noet :*/
