body {
	font-family: 'Lato', sans-serif;
    line-height: 1.8;
    color: #303030;
}

h1 {
	margin-bottom: 30px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 2.4rem;
	vertical-align: middle;
}

html body h1>span.map-icon,  html body h1>span.glyphicon {
	margin-right: 5px;
	color: #ffffff;
	background-color: #0034DD;
	width: 25px;
	height: 25px;
	line-height: 25px;
	overflow: hidden;
	font-size: 15px;
	display: inline-block;
	text-align: center;
	border-radius: 4px;
	vertical-align: middle;
	margin-top: -4px;
}

h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #303030;
    font-weight: 600;
    margin-bottom: 30px;
}

h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #303030;
    font-weight: 400;
    margin-bottom: 30px;
}  

.btn-custom {
	text-transform: uppercase;
	font-size: 1.2rem;
	padding: 0;
	border: none;
	overflow: hidden;
	height: 30px;
	line-height: 30px;
	border-radius: 0px;
}

.btn-custom>span.map-icon {
	background-color: #0034DD;
	border: 1px solid #0034DD;
	display: inline-block;
	padding: 0px 3px;
	color: #ffffff;
	font-size: 1.6rem;
	float: left;
	height: 100%;
	line-height: inherit;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.btn-custom>span.btn-content {
	display: inline-block;
	float: left;
	padding: 0px 4px;	
	border: 1px solid #ccc;
	height: 100%;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.btn-custom.btn-custom-sm {
	height: 20px;
	line-height: 17px;
}

.btn-custom.btn-custom-sm>span.map-icon {
	padding: 0px 3px;
	font-size: 1.2rem;
}
.btn-custom.btn-custom-sm>span.btn-content {
	padding: 0px 4px;	
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.margin-top {
	margin-top: 15px;
}

.margin-bottom {
	margin-bottom: 15px;
}

.margin-bottom.small-margin {
	margin-bottom: 5px;
}

.margin-bottom.big-margin {
	margin-bottom: 30px;
}

.jumbotron {
    background-color: #0034DD;
    color: #fff;
    padding: 80px 20px 25px 25px;
    font-family: 'Lato', sans-serif;
}

.jumbotron p {
    margin-bottom: 15px;
    font-size: 19px;
    line-height: 21px;
    font-weight: 200;
}

.container-fluid {
    padding: 60px 50px;
}

.bg-grey {
    background-color: #f6f6f6;
}

.logo-small {
    color: #0034DD;
    font-size: 50px;
}

.logo {
    color: #0034DD;
    font-size: 200px;
}

.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #0034DD;
}

.carousel-indicators li {
    border-color: #0034DD;
}

.carousel-indicators li.active {
    background-color: #0034DD;
}

.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}

.item span {
    font-style: normal;
}

.panel {
    border: 1px solid #0034DD; 
    border-radius:0 !important;
    transition: box-shadow 0.5s;
}

.panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
}

.panel-footer .btn:hover {
    border: 1px solid #0034DD;
    background-color: #fff !important;
    color: #0034DD;
}

.panel-heading {
    color: #fff !important;
    background-color: #0034DD !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panel-footer {
    background-color: white !important;
}

.panel-footer h3 {
    font-size: 32px;
}

.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}

.panel-footer .btn {
    margin: 15px 0;
    background-color: #0034DD;
    color: #fff;
}

.navbar {
    margin-bottom: 0;
    background-color: #1d344f;
    z-index: 99999;
    border: 0;
    font-size: 13px ;
    line-height: 1.42857143 ;
    letter-spacing: 1px;
    border-radius: 0;
}

.navbar li a, .navbar .navbar-brand, .navbar-default .navbar-nav>li>a {
    color: #fff ;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li.active>a {
    color: #0034DD;
    background-color: #fff ;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff ;
}

.navbar.navbar-default .navbar-collapse.collapse.in .navbar-nav>li.active a,
.navbar.navbar-default .navbar-collapse.collapsing .navbar-nav>li.active a {
	background-color: transparent;
	opacity: 0.5;
	color: #ffffff;
}

#nav .navbar-toggle {
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    height: 40px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
    height: 3px;
}

.navbar-default .navbar-toggle[aria-expanded="false"] .icon-bar {
    transform: rotate(0);
    opacity: 1;
    transition: opacity 0.2s, transform 0.2s;    
}

.navbar-default .navbar-toggle[aria-expanded="true"] .icon-bar {
    transition: transform 0.2s ease-in;    
}

.navbar-default .navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(2) {
    transform: rotate(45deg);
    transition: transform 0.2s ease-in;    
}

.navbar-default .navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(3) {
    transform: rotate(-45deg);
    transition: transform 0.2s ease-in;   
    margin-top: -3px; 
}

.navbar-default .navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(1) {
    opacity: 0.01; 
    transition: opacity 0.2s ease-in;  
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

body .navbar-default .navbar-brand:hover {
    opacity: 0.5;
    background-color: transparent;
    color: #ffffff;
}

/* MIGAS */
.breadcrumb {
	background-color: transparent;
	padding: 0;
	text-transform: uppercase;
	color: #808080;
	font-size: 1.2rem;
}

.breadcrumb a {
	color: #808080;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #303030;
}

/* MAPA */
#map {
	width: 100%; 
	height: 650px;
	position: relative;
	overflow: hidden;
}

#map .map-icon {
	font-size: 19px;
	background-color: #0034DD;
	color: #ffffff;
	width: 28px;
	height: 28px;
	overflow: hidden;
	text-align: center;
	line-height: 28px;
	display: block;
	border: 1px solid #1d344f;
	position: relative;
	border-radius: 2px;
}

#map .map-icon-corner, #map .map-icon-corner-2 {
	background-color: transparent;
    border-style: solid;
    border-width: 7px 6px 0;
    bottom: 0;
    content: " ";
    display: block;
    left: 9px;
    margin-top: -1px;
    position: relative;
    width: 0;	
}

#map .map-icon-corner {
    border-color: #1d344f transparent;
}

#map .map-icon-corner-2 {
    border-color: #0034DD transparent;
	top: -7px;
}

#map .marker-gasolinera {
	width: 200px;
}

#map .map-icon.map-icon-highlighted {
	background-color: #6fa25f;
	border: 1px solid #3a5432;
}

#map .map-icon-corner.map-icon-corner-highlighted {
    border-color: #3a5432 transparent;
}

#map .map-icon-corner-2.map-icon-corner-2-highlighted {
    border-color: #6fa25f transparent;
}

.modal-map-container {
	height: 0;
	padding-bottom: 100%;
}

.modal-map-container .modal-map {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal-content {
	overflow: hidden;
}

/* MAPA GASOLINERA */
.mapa-gasolinera-container #map {
	padding-bottom: 100%;
	height: 0;
}

/* TABLA */
.tablesorter .header {
	cursor: pointer;
	text-align: center;
}

.tablesorter .header:after {
	font-family: FontAwesome;
	content: "\f062";
	display: block;
	font-size: 1.2rem;
	font-weight: normal;
	text-align: center;
}

.tablesorter .header.headerSortDown, .tablesorter .header.headerSortUp {
	background-color: #1d344f;
}

.tablesorter .header.headerSortDown:after {
	content: "\f062";
}

.tablesorter .header.headerSortUp:after {
	content: "\f063";
}

table td.mas-barata > span {
	/*background-color: #edffe7;*/
	color: green;
	font-weight: bold;
}

/* CAJA PRECIO GASOLINA */
.caja-precio-gasolina {
	border: 1px solid #eeeeee;
	border-radius: 4px;
	overflow: hidden;
}

.caja-precio-gasolina .caja-precio-gasolina-header {
	background-color: #0034DD;
	padding: 10px;
}

.caja-precio-gasolina .caja-precio-gasolina-header a {
    color: #ffffff;
}

.caja-precio-gasolina h2 {
	font-size: 1.6rem;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	color: #ffffff;
}

.caja-precio-gasolina .caja-precio-gasolina-container {
	padding: 10px;
}

.caja-precio-gasolina .caja-precio-gasolina-primero .caja-precio-gasolina-precio {
	font-size: 4rem;
	font-weight: bold;
	border-bottom: 1px solid #303030;
	margin-bottom: 15px;
	position: relative;
}

.caja-precio-gasolina .caja-precio-gasolina-primero .caja-precio-gasolina-precio::after {
	background-color: transparent;
    border-style: solid;
    border-width: 14px 10px 0;
    bottom: -13px;
    content: " ";
    display: block;
    left: 9px;
    position: absolute;
    width: 0;	
	border-color: #ffffff transparent;
	
}

.caja-precio-gasolina .caja-precio-gasolina-primero .caja-precio-gasolina-precio::before {
	background-color: transparent;
    border-style: solid;
    border-width: 14px 10px 0;
    bottom: -14px;
    content: " ";
    display: block;
    left: 9px;
    position: absolute;
    width: 0;	
	border-color: #303030 transparent;
}

.caja-precio-gasolina .caja-precio-gasolina-primero .caja-precio-gasolina-datos .gasolinera-marca {
	font-size: 2rem;
}

.caja-precio-gasolina .caja-precio-gasolina-primero .caja-precio-gasolina-datos .gasolinera-localidad {
	font-size: 1.8rem;
	line-height: 1.8rem;
}

.caja-precio-gasolina .gasolinera-precio-grande {
	font-weight: bold;
	font-size: 1.6rem;
}

footer {
	border-top: 1px solid #eeeeee;
	margin-top: 30px;
	padding-top: 30px;
	margin-bottom: 30px;
}

footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: #0034DD;
}

.slideanim {visibility:hidden;}
.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

.mobile-only {
    display: none !important;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    color: #1d344f;
    text-align: center;
    line-height: 30px;
    font-size: 1.8rem;
    background-color: #ffffff;
    display: inline-block;
}

.social-links a:hover {
    opacity: 0.5;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    } 
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    } 
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) {
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
}

@media only screen and (min-device-width: 780px) {
    #s_uno{
        margin-top: 150px;
        margin-left: 150px;
    }
}
#s_dos {
    margin-left: 100px;
    margin-right: 50px;
}
@media only screen and (min-device-width: 780px) {
    #s_dos{
        margin-bottom: 50px;
    }
}
#map {
    height: 500px;
	 margin-bottom: 40px;
}

.form-control {
	width:auto;
	display:inline-block;
	margin-top: 10px;
}
/*
.table tr:hover {
	background-color: #4876ad;
	color: #ffffff;
}
*/
.glyphicon-usd {
	margin-left: 15px;
}

#a {
	margin-left: 12px;
}

.table-bg tr:nth-child(even){
    background: #FFFFFF;
}
 
.table-bg tr:nth-child(odd){
    background: #E9E9E9;
}
th {
	background-color: #0034DD;
   color: #fff;
}

.concejos-nav {
    text-transform: uppercase;
    font-size: 1.3rem;
}

.concejos-nav .active a {
    font-weight: bold;
}
select#a option.first {
    text-transform: uppercase !important;
}

/* MEDIA QUERIES */
/* TAMAÑO XS */
@media (max-width: 768px) {
	h1 {
		font-size: 1.8rem;
	}
	html body h1 > span.map-icon, html body h1 > span.glyphicon {
		display: none;
	}
	#tabla-gasolineras {
		margin-left: -15px;
		margin-right: -15px;
		width: 100vw;
	}
    .nav-justified > li {
        display: table-cell;
        width: 1%;
      }
    .nav-justified > li > a  {
        border-bottom: none !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
    }
    .table-bg tr td:last-child {
        width: 75px;
    }
    select#a {
        font-size: 1.2rem;  
        max-width: 100%;
        overflow: hidden; 
    }
    .social-links {
        margin-top: 15px;
    }
    .social-links a {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 1.4rem;
    }
}

.well
{
    border:  0;
}