/* BASE PAGE STYLE
-------------------------------------------------- */
body		{ 
	margin: 10px 10px; 
	font-family: Arial, sans-serif;	
	background: #fff;
	font-size: 16px; 
	color: #555555; 
}
h1			{ 
	font-weight: normal;	
	margin: 20px 0 30px; 
}

a:link { 
	color: #215350;
} 
a:visited { 
	color: #116be1 
} 
a:active { 
	color: #215350;
}
a:hover {
	color: #116be1 
} 
   
.wrapper	{ 
	max-width: 900px; 
	margin: 0 auto; 
}

/* This is the class used for the footer */
.footer {
    background: #878787;
    position: fixed;
    bottom: 0;
    color: white;
    padding: 9px;
	width:99%; 
	left:0;
	font-size: 12px;
}
.footer a {
    color: white;
	text-decoration: none;
	padding-right: 8px;
}

.error input[type] {
	border-color: #cc0000;
}
.error input[type]:focus {
	border-color: #cc0000;
}
.error span {
	color: #cc0000;
}

select {
  width: 150px;
  height: 30px;
  padding: 5px;
  color: #666;
}
select option {
  color: #666;
}
select option:first-child {
  color: #adadad;
}

.avatar {
	background-color: #116be1;
	-webkit-border-radius:	120px;
	-moz-border-radius:		120px;
	border-radius:			120px;
	border:#CCC 2px solid;
	width: 120px;
	height: 120px;
	max-height: 120px;
	max-width: 120px;
	min-height: 120px;
	min-width: 120px;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
	color:#555;
    font-size: 100%;
}
.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
	color: #777;
}
.pure-form input[type]:focus {
	/* marabou - input focus */
    border: 2px solid #116be1;
}
.pure-form textarea:focus {
	/* marabou - input focus */
    border: 2px solid #116be1;
}
.pure-form select:focus {
	/* marabou - input focus */
    border: 2px solid #116be1;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
	/* marabou - background button */
    background-color: #116be1;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}
a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}

.pure-controls input[type] {
    color: white;
}

.pure-control-group input[type] {
	margin-bottom: 0.4em;
}

.pure-menu-selected a {
/*	background-color: red;*/
	color: #116be1;
	text-decoration:underline;
}

.pure-menu-item {
	border: #116be1 1px solid;
	-webkit-border-radius:	50px;
	-moz-border-radius:		50px;
	border-radius:			50px;
}
.pure-menu-item a:hover {
/*	background-color: #c7e6ed;*/
	background-color: white;
	color: #116be1;
	-webkit-border-radius:	50px;
	-moz-border-radius:		50px;
	border-radius:			50px;
}
.pure-menu-item a:active {
	background-color: white;
	color: #116be1;
	-webkit-border-radius:	50px;
	-moz-border-radius:		50px;
	border-radius:			50px;
}

/* icon button */
.icon-button:link { 
	color: #116be1 
} 
.icon-button:visited { 
	color: #116be1 
} 
.icon-button:active { 
	color: #116be1;
}
.icon-button:hover {
	color: #116be1 
} 
.icon-button-disabled { 
	pointer-events: none;
  	cursor: default;
	opacity: 0.5;
} 

/* popup */
.box {
  width: 20%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}
.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 9999;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}
.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

/* castom checkbox */
.fancy-checkbox input[type="checkbox"],
.fancy-checkbox .checked {
    display: none;
}
.fancy-checkbox input[type="checkbox"]:checked ~ .checked
{
    display: inline-block;
	color: #116be1;
}
.fancy-checkbox input[type="checkbox"]:checked ~ .unchecked
{
    display: none;
}
/* castom radio */
.fancy-radio input[type="radio"],
.fancy-radio .checked {
    display: none;
	cursor:default;
}
.fancy-radio input[type="radio"]:checked ~ .checked
{
    display: inline-block;
	color: #116be1;
	border-bottom:#116be1 2px solid;
	cursor:default;
}
.fancy-radio input[type="radio"]:checked ~ .unchecked
{
    display: none;
	cursor:default;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
  .avatar {
	  margin-top: 2em;
  }
  .fancy-radio {
	  padding-bottom:0.8em;
  }
}
