
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
 u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	font-family: sans-serif;
	vertical-align: baseline;
}
a {
	text-decoration: none;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	background-color: #ebf0f5;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.sm-show {
		display: none;
	}





#container {
	background-color: #ebf0f5;
	width: 80%;
	margin: 150px auto;
}



#container2 {
	background-color: #ebf0f5;
	width: 90%;
	margin: 50px auto;
}

#container2 .parties {
	margin-top: 60px;
}

#container2 .offices {
	margin-top: 60px;
}

#container3 {
	background-color: #ebf0f5;
	width: 80%;
	margin: 50px auto;
}

#container3 .parties {	
	width: 33%;
	margin-top: 60px;
}

#container3 .offices {
	float: right;
	width: 60%;	
	margin-top: 60px;
}

#container3 h2 {
	font-weight: bold;
	font-size: 25px;
	margin-bottom: 20px;
}

#container2 h2 {
	font-weight: bold;
	font-size: 25px;
	margin-bottom: 10px;
}

#details{
display: block;
float: left;
width: 45%;
padding-left: 5%;
min-width: : 400px;
margin-top: 100px;
}

#details h1 {
	font-weight: bold;
	font-size: 32px;
	text-align: center;
	color: #635252
}

#details p {
	font-size: 20px;
	color: #635252;
	margin-top: 20px;
	text-align: justify-all;
}

#form {
display: block;
float: right;
width: 40%;
}


.clear {
	clear: both;
}

.form {
	background-color: #ababab;
	padding: 10px 40px;
	width: 350px;
	margin: 0 auto;
}
.form h1 {
	text-align: center;
	font-size: 20px;
	margin-bottom: 30px;
	font-weight: bold;
}

form label {
	font-weight: bold;
}

form input {	
	text-align: left;
	padding: 10px 10px;
	margin-top: 5px;
}

.form input {
	border: 1px solid white;
	margin-bottom: 10px;
	width: 330px;
	border:none;
}

.form button {
	width: 350px;
	background-color: #90caf9;
    border: none;
    padding: 10px 5px;
	overflow: visible;
	margin-bottom: 10px;
	cursor: pointer;
}
.form a {
	font-weight: bold;
	color: black;
}

.form p {
	text-align: center;
}
.party {
	margin-bottom: 30px;
	float: left;
	margin-right: 10px;
}
.party h3 {
	padding: 10px 5px;
}
.party img {
	width: 150px;
	height: 150px;
}

.parties {
	width: 30%;
	padding-left: 5%;
	float: left;
}
.offices {
	width: 60%;
	float: right;
}
.office {
	width: 30%;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

.office p {

	padding: 10px 20px;
	background-color: #ababab;
}

.office button {
	width: 100%;
	background-color: #90caf9;
    border: none;
    padding: 10px 5px;
	overflow: visible;
	margin-bottom: 10px;
	cursor: pointer;
}
.office br {
	margin-bottom: 20px;
}

footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	background-color: #90caf9;
	padding: 10px 20px;
}
footer p {
	text-align: center;
}

header {
	position: fixed;
	top: 0px;
	width: 100%;
	background-color: #90caf9;
	padding: 10px 20px;
}
footer p {
	text-align: center;
}

 .right {
 	position: absolute;
 	right: 5px;
 	margin-right: 40px;
 }
.add_party {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.7); /* Black w/ opacity */

	/*width: 250px;
	padding: 20px 30px;
	border-radius: 2px;
	background-color: #ababab;
	position: fixed;
	display: none;
	z-index: 99;
	margin-left: 20px;*/
}



.add_party input[type=text] {
	padding: 10px 10px;
	border: 1px solid black;
	margin-bottom: 10px;
	margin-top: 10px;
	width: 280px;
	background-color: #f6f6f6;

}

.add_party button {
	width: 100%;
}
.confirm {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 200px;
}
.confirm button {
	display: inline-block;
	width: 90px;
}
.modal_form {
	background-color: #fefefe;
	border-radius: 5px;
	margin: auto;
	padding: 20px 40px;
	border: 1px solid #888;
	width: 300px;
}

.close {
  color: #fff;
  position: fixed;
  right: 40px;
  top: 40px;
  font-size: 40px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

button {
	padding: 5px 10px;
	border-radius: 2px;
	background-color: #90caf9;
	margin-bottom:20px;
}
.fileContainer {
    overflow: hidden;
    position: relative;
}

.fileContainer [type=file] {
    cursor: inherit;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

.candidate {
	width: 40%;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

.candidate p {
	padding: 10px 20px;
	background-color: #fff;
	border: 1px solid #ababab;
}

.members {
	border: 1px solid black;
	padding: 10px 20px;
	display: none;
}

.members h3 {
	font-weight: bold;
	margin-bottom: 20px;
}

.members p {
	font-weight: bold;
}

.voted_office {
	width: 100%;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

.voted_office p {
	padding: 10px 20px;
	margin-bottom: 10px;
	background-color: #fff;
	border: 1px solid #ababab;
}
.pass {
	display: none;
}
.pass input {
	margin-bottom: 10px;
	padding: 10px 20px
}

.pass h3 {
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 10px;
}

@media only screen and (max-width: 600px) {
	.sm-hide {
		display: none;
	}

	.sm-show {
		display: block;
		padding: 50px 20px;
	}
	
	.mobview h1 {
		font-weight: bold;
		text-align: center;
		margin-bottom: 10px;
	}
	.mobview p {
		margin-bottom: 20px;
	}

	.mobview .form {
		width: 165px;
	}

	.form input {
		width: 150px;
	}

	.form button {
		width: 170px;
	}
}