/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	background: #e74c3c;
	min-height: 100%;
}

 .md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 70%;
	max-width: 730px;
	min-width: 420px;
	overflow-x: auto; overflow-y: auto;
	height: 80%;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(55, 103, 215, 0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #000000;
	background-image: url("../images/paper-textured2.png");
	/*background: #e74c3c;*/
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 1.0em;
	font-weight: 300;
	opacity: 0.8;
	background: #1D4E89;
	 background: rgba(0, 61, 152, 1);
	border-radius: 3px 3px 0 0;
}
.md-content h3 a{
	color: #ffffff;

}

.md-content h3 a:hover{
	color: #80CCFF;

}
.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 0.5em;
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content .buttonnews{
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
	
}
  .buttonnews {
	  
	  width: 100%;
  	
	  height: 100%;
	  font-size: 1em;
  	  display: inline-block;
  	 
  		border: 2px solid #1D4E89;
	  background: #1D4E89;
	  color: #fff;
	  font-family: 'Roboto Condensed', sans-serif;
	  background-repeat: no-repeat;
	  background-position: center top;
}
  .buttonlabel {
  	font-size: 1em;
  	width: 100%;
  	display: inline-block;
    margin-bottom: 3px;
  	border: none;
	padding: 2px;
	text-align: center;
	  background: #1D4E89;
	  color: #fff;
	  font-family: 'Arial', sans-serif;
	  letter-spacing: 1px;
	  text-transform: uppercase;
	  cursor: pointer;
	  border-radius: 3px;
	  float: left;
	
}


 .buttonnews1 {
 	
  	background-image: url("../images/article1.png"); 
  	
 
  
  	
}



 .buttonnews2 {
 
  	background-image: url("../images/article2.png"); 
  
 
  
  	
}

button.md-close.buttonnews{

	font-size: 1.5em;
	width: 10em;
	cursor: pointer;
}

.articleBtn{
    width: 30%;
	
    height: 224px;
    float: left;
    position: relative;
	  margin: 5% 35%;
}
	
.buttoncontainer {

margin:0px auto;


width: 100%;
/*height: 60%;
*/


/* height: 38%; */
   


/* padding:5% 20% 35% 20%; */
/*border:1px dashed #333;
background-color:#eee;*/
		


}
/* Individual modal styles with animations/transitions */


/* Effect 4: Newspaper */
.md-effect-4 .md-content {
	-webkit-transform: scale(0) rotate(720deg);
	-moz-transform: scale(0) rotate(720deg);
	-ms-transform: scale(0) rotate(720deg);
	transform: scale(0) rotate(720deg);
	opacity: 0;
}

.md-show.md-effect-4 ~ .md-overlay,
.md-effect-4 .md-content {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-4 .md-content {
	-webkit-transform: scale(1) rotate(0deg);
	-moz-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
	opacity: 1;
}


@media screen and (max-width: 32em) {
	body { font-size: 75%; }
}

/* Individual modal styles with animations/transitions */


/* Effect 5: Newspaper */
.md-effect-5 .md-content {
	-webkit-transform: scale(0) rotate(720deg);
	-moz-transform: scale(0) rotate(720deg);
	-ms-transform: scale(0) rotate(720deg);
	transform: scale(0) rotate(720deg);
	opacity: 0;
}

.md-show.md-effect-5 ~ .md-overlay,
.md-effect-5 .md-content {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-5 .md-content {
	-webkit-transform: scale(1) rotate(0deg);
	-moz-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
	opacity: 1;
}


