@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100vh;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #fff;
}

/*h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}*/

p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  min-width: 320px;
  max-width: 800px;
  padding: 50px;
  margin: 0 auto;
  background: #fff;
}

section {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
}

input.tabs {
  display: none;
}

label.tabs {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  background-color: #f1f1f1;
  border: 1px solid transparent;
}

label.tabs:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

/*label[for*='1']:before {
  content: '\f1cb';
}

label[for*='2']:before {
  content: '\f17d';
}

label[for*='3']:before {
  content: '\f16b';
}

label[for*='4']:before {
  content: '\f1a9';
}*/

label.tabs:hover {
  color: #888;
  cursor: pointer;
}

input.tabs:checked + label.tabs {
  background-color: #fff;	
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid #76ad1c;
  border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

span.green_button input[type="submit"]{
	background-color: #76ad1c !important;
    color: #fff !important;
    padding: 1em;
    text-transform: uppercase;
    font-size: 1.25em;
    font-weight: bold;
    width: 50%;
    margin: 0 auto;
    display: block;
	}
.tab_section .slide_button{
	color: #fff !important;
	}
	
.flexible_info_ruta:last-of-type {
    border: 1px solid #f1f1f1 !important;
	-webkit-box-shadow: 3px 3px 5px 0px rgba(204,204,204,1);
	-moz-box-shadow: 3px 3px 5px 0px rgba(204,204,204,1);
	box-shadow: 3px 3px 5px 0px rgba(204,204,204,1);
}

.tab_section pre{
    color: #76ad1c;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: underline;
}

@media screen and (max-width: 650px) {
  label.tabs {
	padding: 15px; 
  }
  
  label.tabs h4 {
    font-size: 1rem;
  }

  label.tabs:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
 label.tabs {
    width: 100%;
  }
}
