
@media all {

	.img-figure{
		width:40%;
	}
}


@media all and (min-width: 768px) { 
	.modal-dialog {
		width: 680px;
	}
}

@media all and (max-width: 1000px) { 
	.img-figure{
		width:50%;
	}
}

@media all and (max-width: 400px) { 
	.img-figure{
		width:100%;
	}
}


#contestList{
	margin-bottom:2em;
}

.list-contestTypes{
	text-align:left;
	margin-bottom:2em;
}

.list-contestTypes > p{
	font-size:1.4em;
	line-height:2em;
}

.contestTypeLink { color:#333; text-decoration: none;  }
.contestTypeLink:hover, .contestTypeLink:active { text-decoration: underline; }

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 30px;
  background-color: #f5f5f5;
  font-size:0.7em;
  padding-top:0.3em;
}

#footerp{
	margin:0px;
}

.MathJax{
	color:#333;
}

.contest-header{
	text-align:left;
}

.contest-title{
	font-size:1.4em;
	line-height:2em;
	cursor:pointer;
}

.contest-title:hover{
	text-decoration: underline;
}

.toggle-text-button{
	cursor:pointer;
}

.toggle-text-button:hover{
	text-decoration: underline;
}

.img-graph{
	cursor:pointer;
	height:2em;
	margin-left:1em;
	margin-bottom:-0.4em;
	border:0;
	box-shadow:none;
	box-sizing:content-box;
	border-radius:0;
}

.img-figure{
	float:right;
	margin-left:0.5em;
	margin-bottom:0.5em;
	cursor:pointer;
}

br{
	line-height:2em;
}

.problem{
	border-width: 1px;
	border-radius: 5px;
	border-color: #aaa;
	border-style: dashed;
	background-color: whitesmoke;
	padding-top:0.4em;
	padding-left:1em;
	padding-right:1em;
	padding-bottom:0.4em;
	margin-top:1em;
	margin-bottom:1em;
	margin-left:2em;
}

.problem-header{
	margin-top:0.2em;
	margin-bottom:0.2em;
	text-align:left;
	overflow:hidden;
}

.problem-name{
	margin-right:0.4em;
	font-size:1.2em;
	cursor:pointer;
}

.problem-name:hover{
	text-decoration: underline;
}

.problem-topic{
	margin-left:0.9em;
	padding-top:0.2em;
	float:right;
	color:#2c7fb8;
}

.problem-text{
	font-family: 'PT Serif', Georgia, Times, 'Times New Roman', serif;
	text-align:justify;
	font-size:0.9em;
}

.graph-header-current{
	margin-left:0.5em;
	margin-right:0.5em;
}

.prev, .next{
	cursor:pointer;
	color:#08306b;
}

.graph-header{
	width:100%;
}
.graph-header-left{
	float:left;
	width:20%;
	font-size:1em;
	padding-top:0.2em;
}
.graph-header-right{
	float:right;
	width:20%;
	font-size:1em;
	padding-top:0.2em;
}
.graph-header-center{
	text-align:center;
	margin:0 auto;
	width:60%;
	font-size:1.2em;
}

.modal-header{
	padding-top:10px;
	padding-bottom:10px;

}

.modal-body{
	padding:10px;
	text-align:center;
}