@font-face {
  font-family: 'AmpleSoft';
  src: url('../fonts/AmpleSoft.otf') format('opentype');
  font-weight: normal;
}

@font-face {
  font-family: 'AmpleSoft';
  src: url('../fonts/AmpleSoft-Bold.otf') format('opentype');
  font-weight: bold;
}

@font-face {
  font-family: 'AmpleSoft';
  src: url('../fonts/AmpleSoft-Medium.otf') format('opentype');
  font-weight: 300;
}

@font-face {
  font-family: 'AmpleSoft';
  src: url('../fonts/AmpleSoft-Light.otf') format('opentype');
  font-weight: lighter;
}

body {
	font-family: 'Source Sans Pro', Arial, Helvetica, Verdana, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'AmpleSoft', sans-serif !important;
}

p {
    font-size: 16px;
}

.row {
	margin:0 !important;
}

/* Header */

#header {
	background:none;
	background-color: #fff;
}

#header-main {
    height: 120px;
    padding: 20px 0 3px;
}

#top-bar {
	background-image: linear-gradient(to bottom, #1478ba, #96ca47);
	height: 70px;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    display: block;
    float: left;
}

#top-bar-search {
	width: 300px;
	margin:0;
	padding: 20px 0;
	position: relative;
}

#top-bar-search input[type="text"] {
	width: 300px;
	height: 100%;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color:#1478ba;
	font-size: 14px;
}

#top-bar-search input {
	box-shadow: none;
}

#top-bar-search button[type="submit"] {
	background: none;
    color: #1478ba;
    font-size: 16px;
    margin: 0;
    padding: 3px 6px;
    right: 4px;
    top: 20px;
    position: absolute;
}

#top-bar-search button[type="submit"]:hover,
#top-bar-search button[type="submit"]:focus {
	box-shadow: none;
	background: #1478ba;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;

    color: #fff;
    font-size: 16px;
    margin: 0;
    padding: 3px 6px;
    right: 4px;
    top: 20px;
}

#top-bar-nav {
	height: 70px;
}


#top-bar-nav li {
	margin-right: 20px;
}

#top-bar-nav li.sitio-accesible {
	height: 100%;
	padding-bottom: 20px;
    padding-top: 20px;
}

#top-bar-nav li.sitio-accesible a {
    color: #fff;
    font-size: 14px;
    line-height: 28px;
    padding-top: 0;
    width: auto !important;
}

#top-bar-nav li.sitio-accesible a img {
	height:20px;
}

#top-bar-nav li.accesibilidad li, #top-bar-nav li.accesibilidad li a {
	border:none !important;
}

ul.nav.nav-h.article-tools li[class*="article-tools-btn-"] a {
	background:none;
	text-indent: inherit;
	color:#fff !important;
}

ul.nav.nav-h.article-tools li[class*="article-tools-btn-"] a:hover {
	text-decoration: none !important;
}

#top-bar-nav li.accesibilidad, #top-bar-nav li.accesibilidad ul {
	height: 100%;
	display: block;
	float:left;
}

#top-bar-nav li.accesibilidad ul li {
	height: 100%;
	padding-bottom: 20px;
    padding-top: 20px;
}

#top-bar-nav li.accesibilidad ul li a {
	font-size: 19px !important;
    height: auto !important;
    line-height: 28px;
    text-align: center;
}

#home {
	top:-2px;
	background-color: #fff !important;
}

#home section {
	margin-top:0;
	margin-bottom:0;
}

section header.article-header h2 {
	/*margin-top:25px;*/
}

section .row.bg .article-body{
	margin-bottom: 25px !important;
}

#home .home-calendario {
	margin-left:20px;
	width: calc(100% - 40px);
}

aside.campana {
	background-color: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	width: 370px !important;
	box-shadow: none;
	padding:0px;
}

aside.campana h1 {
	color:#1779ba;
	font-weight: bold;
	text-shadow: none;
	line-height: 23px;
}

aside.campana .content-camp h1 {
	margin-left:10px;
	margin-right:10px;
}

aside.campana a.link {
	color:#1779ba;
}

aside.campana a.link:hover {
	color:#4b4b4b;
}

aside.campana .pager span {
	background-color: #1779ba;
	margin-left: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

aside.campana .pager span.active {
	background-color: #4eaa5b;
}

aside.campana .line-separator-link {
	background-image: linear-gradient(to left, #1478ba, #96ca47) !important;
    display: block;
    float: left;
    margin: 5px 10px;
    padding-top: 1px;
    width: calc(100% - 20px);
}

#menu-mobile.canal-de-autogestion, #home .canal-de-autogestion {
	height: auto !important;
}

#menu-mobile.canal-de-autogestion h1,
#home .canal-de-autogestion h1 {
	margin:15px 0 25px 0;
}

#home .canal-de-autogestion h1,
#home .canal-de-autogestion h1 span {
	color:#535456;
	font-size:28px;
}

#menu-mobile.canal-de-autogestion .col-xs-12 .menu > p, #home .canal-de-autogestion .col-xs-12 > p {
	color:#1779ba;
}

#menu-mobile.canal-de-autogestion .col-xs-12 .menu > p a i, #home .canal-de-autogestion .col-xs-12 > p a i {
	background:none;
	top:0px;
}

#chat-tab {
    background: #fff url("../img/style/refresh/chat-icon.png") no-repeat scroll 40px 50%;
    box-shadow: none;
    color: #000;
    font-family: "AmpleSoft";
    font-size: 18px;
    font-weight: bolder;
    top: 453px;/*400px;*/
    padding:13px;
    left:3px;
}

#phone-tab {
    background: #fff url("../img/style/refresh/phone-icon.png") no-repeat scroll 12px 50%;
    box-shadow: none;
    color: #000;
    font-family: "AmpleSoft";
    font-size: 18px;
    font-weight: bolder;
    padding-left: 7px;
    padding-top: 14px;
    top: 542px;/*489px;*/
    left:3px;
}

.bck-contact {
	background-image: linear-gradient(to right, #1478ba, #96ca47);
	width: 323px;
	height: 64px;
	padding:0px;
	display: block;
	float:left;
	position: fixed;
	top:545px;/*492px;*/
	z-index: 10000000;
	transform:rotate(-90deg);
	transform-origin: 19px 19px 0;
    transition: all 0.3s ease-in-out 0s;
}

[data-tooltip]::before, .tooltip::before, .tooltip-top::before {
    border-top-color: rgba(255, 255, 255, 0.85);
}

.tooltip::after, [data-tooltip]::after {
	background: rgba(255, 255, 255, 0.85) url("../img/style/refresh/tips.png") no-repeat scroll 16px 15px;
	color:#1779ba;
}

#home .impuestos h1 {
	font-size: 22px !important;
}

#home .impuestos ul li > ul {
	background-color: #f2f2f2;
}

#home .impuestos .col-xs-12 > ul > li > a {
	background-color: #fff !important;
	box-shadow: none !important;
	border:2px solid #4b4b4b;
	line-height: 33px;
}

#home .impuestos .col-xs-12 > ul > li.color-azul > a {
	border-color:#9cc9f0;
}

#home .impuestos .col-xs-12 > ul > li.color-azul > ul li:hover {
	/*background-color: #1269a3;*/
}

#home .impuestos .col-xs-12 > ul > li.color-verde > a {
	border-color:#91d0b1;
}

#home .impuestos .col-xs-12 > ul > li.color-verde > ul li:hover {
	/*background-color: #04b7a3;*/
}

#home .impuestos .col-xs-12 > ul > li.color-rojo > a {
	border-color:#f3b29e;
}

#home .impuestos .col-xs-12 > ul > li.color-rojo > ul li:hover {
	/*background-color: #f58239;*/
}


#home .impuestos .col-xs-12 > ul > li.color-gris > a {
	border-color:#d1d1d1;
}

#home .impuestos .col-xs-12 > ul > li.color-gris > ul li:hover {
	/*background-color: #4e3076;*/
}

#home .impuestos .col-xs-12 > ul > li > ul li:hover a {
	/*color:#fff;*/
}

#home .impuestos .col-xs-12 > ul > li > ul li:hover ul li a {
	/*color:#000 !important;*/
}

#home .impuestos .col-xs-12 > ul > li > ul li:hover ul li:hover a {
	/*color:#fff !important;*/
}


#home .impuestos ul ul li, #home .impuestos ul ul li a {
	font-size: 14px;
}

#home .impuestos ul ul li::before {
	left:12px;
}

#home .impuestos ul ul li, #home .impuestos ul ul li a {
	padding: 0 0 0 13px;
}

#home .impuestos, #home .links, #home > div > section.otros {
	background: none;
}

#home .impuestos, #home .links, #home > div > section.otros ul li a {
	font-weight: bold;
	font-size: 14px;
}

#home > div > section.otros ul li a i.fa{
	color: #424242;
    float: left;
    font-size: 18px;
    margin-right: 5px;
    margin-top:2px;
}

#home > div > section.otros ul li a span {
    float: left;
    font-size: 17px;
    line-height: 23px;
    position: relative;
    width: calc(100% - 28px);
}

#home > div > section.otros {
	background-image: linear-gradient(to bottom, #ffffff 50%, #f2f2f2 100%) !important;
}

#home .links ul {
	padding: 0 32px;
	list-style: none;
}

#home .links li {
	background-image: linear-gradient(to right, #1478ba, #96ca47);
	padding: 0;
	margin:0px;
	width: 50%;
	height: 98px !important;
	background-position: top;
}

#home .links li:first-child {
	margin-right: 33px;
	width: calc(50% - 33px);
}

#home .links li:last-child {
	margin-left: 33px;
	width: calc(50% - 33px);
}

#home .links a {
	background-color: #fff;
	height: calc(86px);
	box-shadow: none;
	color:#535456;
	font-size: 22px;
	text-align: center;
	text-transform:inherit;
	line-height: 22px;
	margin:6px;
	width: calc(100% - 12px);
	display: block;
	float:left;
	padding: 19px 0;
}



#home .links a .content-link {
	width: auto;
	float:left;
	display: block;
	height: 100%;
}

#home .links a .content-link img, #home .links a .content-link span {
	float:left;
	text-align: left;
}

#home .links a .content-link img {
	margin-top:0;
	margin-right: 25px !important;
}

#home .links a .content-link span {
	height: 100%;
}

#home .links a .content-link span br {
	display: block;
}

/*#home .links li:first-child a .content-link {
	margin-left: 145px;
}

#home .links li:last-child a .content-link {
	margin-left: 124px;
}*/

#home > div > section.otros .col-md-6 > h1 {
    border:none;
    color: #535456;
    font-size: 22px;
    margin-top: 30px;
    padding-bottom:0px;
    text-align: left;
    text-transform: uppercase;
    font-family: "AmpleSoft" !important;
    font-weight: bold;
    border-bottom: 1px solid #d1d1d1;
}

#home > div > section.otros .col-md-12 .col-md-6 li {
    background-image: none;
    border:none;
    border-bottom: 1px solid #d1d1d1;
    display: table;
    font-family: Helvetica,Arial;
    padding: 0 10px;
    position: relative;
    text-align: left;
    height: 82px;
    line-height: 18px

}

#home > div > section.otros .col-md-12 .col-md-6 li a{
	text-decoration: none;
	height: 50px;
	display: table-cell;
	vertical-align: middle;
}

#home > div > section.otros .col-md-12 .col-md-6 li a:hover {
	text-decoration:underline;
}

#home > div > section.otros .col-md-12 .col-md-6 li a img {
	display: none;
}

#home .otros .col-md-4, #home .otros .col-md-7 {
	width: 33.3333% !important;
}

#home .otros h1 {
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #d1d1d1;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 1px;
    color: #535456;
    font-family: "AmpleSoft" !important;
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    padding-bottom: 0;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 15px;
}

#home .otros .col-md-4 {
	padding:0;
}

#home .otros .col-md-4 form{
	margin-left:0;
	border-bottom: none;
}

#home .otros .col-md-4 form.explicacion {
	background:none !important;
}

#home .otros .col-md-4 form.explicacion p, #home .otros .col-md-4 form.explicacion span {
	color:#535456;
	font-family: "AmpleSoft";
	font-weight: bold;
}

#home .otros .col-md-4 form.explicacion label {
	text-transform: inherit;
	font-size: 1.4em;
	margin-top:15px;
}

#home .otros .col-md-4 form select {
	background-color: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#home .otros .explicacion button.btn-default {
	background-color: #fff;
	font-size: 20px;
	float:left;
}

#home .otros .explicacion button.btn-default:hover {
	box-shadow: none;
	background-color: #f2f2f2;
}

#ver-todos {
	font-family: "AmpleSoft";
	font-weight: bold;
	font-size: 16px !important;
	line-height: 46px !important;
}

#home .otros .explicacion #ver-todos i {
	background:none;
	color:#535456;
	font-size: 20px;
    position: relative;
    top: 1px !important;
}

#home .otros .col-md-4.calcol2 {
	padding:0 70px;
}

#home .otros .col-md-4.calcol2 .ui-icon-circle-triangle-w {
	left: 70px !important;
}

#home .otros .col-md-4.calcol2 .ui-icon-circle-triangle-e {
	right: 70px !important;
}

#home .otros .col-md-4.calcol2 .cal .cal-month th, .cal .cal-month th {
	color:#04b7a3 !important;
}

#home .otros .col-md-4.calcol2 .cal-day-event.ui-datepicker-today a, .cal-day-event.ui-datepicker-today a, a.ui-state-highlight {
	background-color: #04b7a3 !important;
	color:#fff !important;
	font-weight: normal;
}

#home .otros .col-md-4.calcol2 .ui-datepicker-title, .ui-datepicker-title {
	color: #535456;
	font-size: 16px !important;
}

.ui-icon-circle-triangle-w, .ui-icon-circle-triangle-e {
	background:rgba(0, 0, 0, 0) url("../img/style/refresh/cal-nav-icons.png") no-repeat scroll 3px 2px;
	cursor: pointer;
}

.ui-icon-circle-triangle-e {
	background-position: -171px 2px !important;
}

#home .otros .col-md-4.calcol3 .cal-event-title, a.grey-color {
	color: #535456 !important;
	font-size: 16px !important;
}

#home .otros .col-md-4.calcol3 .cal-event-data{
	font-size: 12px;
	font-weight: normal !important;
}

#home .otros .col-md-4.calcol3 .cal-event-data strong {
	font-weight: bold;
	font-size: 14px;
}

#home .otros .col-md-4.calcol3 .cal-event-data span, #home .otros .col-md-4.calcol3 .cal-event-data p span{
	font-weight: normal;
	font-size: 12px;
}

#home .otros .col-md-4.calcol3 .cal-event-box > a {
	color: #535456;
    float: left;
    font-family: Source Sans Pro;
    font-size: 16px;
    font-weight: 700;
    margin-right: 20px;
    text-decoration: underline;
    text-transform: uppercase;
}

#home > div > section.otros {
	padding-bottom: 25px;
}

#footer {
	background:none;
	font-family: "Source Sans Pro";
}

#footer .container:first-child {
	color:#535456;
	padding-top:45px;
	padding-bottom:45px;
}

#footer .container.border-top-home {
	border-top: 1px solid #ccc;
}

#footer .container .row{
	border:none;
}

#footer .container-gradients {
	background-image: linear-gradient(to bottom, #1478ba, #96ca47);
	max-width: 100%;
    padding: 30px 9.5%;

}

#footer a { 
	font-weight: bold !important;
}

#footer .direccion .txt-small {
    color:#fff !important;
}

#footer .w3cCol {
	margin-top:15px;
}

#footer .container:first-child * {
	color:#535456 !important;
}


#footer * {
	font-family: "Source Sans Pro" !important;
	font-size: 14px;
}

#footer .datos .txt-dark {
	font-size: 24px !important;
	line-height: 56px;
	background: rgba(0, 0, 0, 0) url("../img/style/refresh/phone-icon.png") no-repeat scroll 5px 50%;
	font-family: "AmpleSoft", Arial, Helvetica, Verdana, sans-serif !important;
	font-size:21px !important;
}

#footer .datos .validateChat {
	font-size: 24px !important;
	line-height: 56px;
	font-family: "AmpleSoft", Arial, Helvetica, Verdana, sans-serif !important;
}

#footer .datos .validateChat span {
	width: 200px !important;
	padding: 0 !important;
	font-family: "AmpleSoft", Arial, Helvetica, Verdana, sans-serif !important;
	font-size:21px !important;
}

#footer .datos #chat-footer {
	background:rgba(0, 0, 0, 0) url("../img/style/refresh/chat-icon.png") no-repeat scroll 0 50%;
}

#footer .educacion-tributaria {
	margin-top:33px !important;
}

#footer .reportes {
	margin-top:24px !important;	
}

[data-tooltip]::before, [data-tooltip]::after, .tooltip::before, .tooltip::after, .tooltip-top::before, .tooltip-top::after {
	bottom:120% !important;
}

#home #slider .text > h1 {
	bottom:260px;
}

[data-tooltip]::before, [data-tooltip]::after, .tooltip::before, .tooltip::after, .tooltip-top::before, .tooltip-top::after {
	left:212px;
}

[data-tooltip]::before, .tooltip::before, .tooltip-top::before {
	margin-left:-34px;
}

/* INNER PAGES */

.inner-top-bar-nav {
	width: 100%;
	height: 55px;
	display: block;
	float: left;
	background-color: #f2f2f2;
	margin-top:-2px;
	position: relative;
	border-bottom:1px solid #eaeaea;
}

.inner-top-bar-nav ul {
	width: 100%;
	float:left;
	margin:0;
	padding: 0;
}

.inner-top-bar-nav ul li{
	width: auto;
	float:left;
	margin:0 15px 0 0;
	padding:0;
	height: 100%;
	background:none;
	max-width: 160px;
}

.inner-top-bar-nav ul li a .cnt-img-icon {
	height: 55px;
	width: 60px;
	display: block;
	float:left;
	overflow:hidden;
	padding: 5px;
}

.inner-top-bar-nav ul li a .cnt-img-icon img{
	height: auto;
	display: block;
	float:left;
	width: 70px;
	margin-left:-10px;
}

.inner-top-bar-nav ul li.ayuda a .cnt-img-icon img {
	margin-top: 6px;
    width: 65px;
}

.inner-top-bar-nav ul li.tramites a .cnt-img-icon img {
	margin-top: 10px;
    width: 58px;
    margin-left:-5px;
}

.inner-top-bar-nav ul li a span, .inner-top-bar-nav ul li.ingresoPorImpuesto a.dropdown-toggle{
	color: #4b4b4b;
    display: block;
    float: left;
    height: 55px;
    line-height: 17px;
    padding: 11px 0 0;
    text-transform: uppercase;
    text-decoration:none;
    font-weight: bold;
}

.inner-top-bar-nav ul li a:hover span{
	color:#000;
}

.inner-top-bar-nav ul li.inforentas a span {
	line-height: 33px;
}

.inner-top-bar-nav ul li.ingresoPorImpuesto {
	border-left:1px solid #ccc;
	padding-left:15px;
}

.inner-top-bar-nav ul li.dropdown ul li a::before {
	left:8px;
	top:0;
}

.inner-top-bar-nav ul li.dropdown ul li a {
	text-decoration: none;
}

.dropdown-submenu-link > .dropdown-submenu-content {
	margin-top:0 !important;
}

.inner-top-bar-nav ul li {
	max-width: 185px;
}

.dropdown-submenu-link > .dropdown-submenu-content li a{
	padding:5px 10px;
}

.dropdown-submenu-link > .dropdown-submenu-content {
	margin-left:-7px;
}

li.dropdown-submenu-link {
	margin-right: 0 !important;
}

.bg {
	background-color: #fff;
}

.volverBT {
    color: #4b4b4b;
    display: block;
    float: right;
    font-family: Source Sans Pro;
    font-size: 17px;
    font-weight: 600;
    height: 31px;
    line-height: 6px;
    margin-left: 48px;
    margin-right: 20px;
    margin-top: 0;
    position: absolute;
    right: 0;
    text-decoration: none;
    text-transform: uppercase;
    top: 25px;
}

#main section {
	margin:15px;
	background-color: #fff;
}

section .row{
	margin:0 !important;
}

section .container {
    max-width: 93% !important;
}

section .article-header {
	margin-top:25px;
}

section .article-header h2 {
	color:#3e3e40;
}

section .article-header ul.breadcrumbc li {
	font-size: 14px;
	font-weight: bold;
}

section .article-header form.full .select {
	width: 87%;
}

section .article-header form select, section .article-header form input {
	color:#1478ba;
	font-size: 14px;
	-webkit-border-radius: 5px 0 0 5px !important;
	-moz-border-radius: 5px 0 0 5px !important;
	border-radius: 5px 0 0 5px !important;
	box-shadow: none;
	border-width: 1px;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus {
	border:1px solid #ccc;
	box-shadow: none;
}

.article-header form.full button[type="submit"], .article-header form.medium button[type="submit"],
.article-header form#form_category button[type="submit"] {
	background:none;
	-moz-border-radius: 0 5px 5px 0 !important;
	-webkit-border-radius: 0 5px 5px 0 !important;
	border-radius: 0 5px 5px 0 !important;
    height: 42px;
    margin-left: -2px;
    margin-top: 0;
    background-color: #3e3e40 !important;
    color:#fff;
    font-size: 14px;
}

.article-header form#form_category button[type="submit"] {
	padding-left: 15px;
	padding-right: 15px;
}

.article-header form.full button[type="submit"] i{
	margin-left: 10px;
	box-shadow: none !important;
}

.article-header form.full button[type="submit"]:hover {
	background-color: #1478ba !important;
	box-shadow: none !important;
}

.article-header form .select {
    float: left;
    width: calc(100% - 40px);
}

.article-header form .select select {
	width: 100%;
}

.modulos {
    padding-bottom: 20px;
    padding-top: 25px;
}

.modulos article {
	//float:left !important;
	width: 100% !important;
	padding: 0;
	margin: 15px 0;
	//border:1px solid #ccc;
}

.row.modulos.centro-de-ayuda article {
	//width: calc(50% - 38px) !important;
}

#centro-de-ayuda .modulo {
	margin:0;
}

#centro-de-ayuda .modulo h1 {
	margin:20px 10px 0 10px;
}

#centro-de-ayuda .modulo li::before {
    color: #333;
    content: "›";
    display: block;
    float: left;
    font-size: 22px;
    font-weight: bold;
    margin-right: 0;
    position: relative;
    top: -1px;
}

.centro-de-ayuda .modulo > a {
    bottom: 10px;
    color: #1779ba;
    float: right;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-right: 30px;
    margin-top: 0;
    position: static;
    text-transform: uppercase;
}

.centro-de-ayuda .modulo > h2 {
	text-transform: uppercase;
	color:#3e3e40;
	margin-top:0;
}

#centro-de-ayuda aside h6 {
	margin-left: 0;
	margin-bottom:5px;
	text-transform: none;
	font-size: 22px;
	font-weight: bold;
}

#centro-de-ayuda aside {
	border-left: 1px solid #ccc;
}

#centro-de-ayuda aside a {
	border: 1px solid #ccc;
    box-shadow: none;
    color: #4b4b4b;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 20px;
    padding: 25px 25px 25px 90px;
}

#centro-de-ayuda aside a strong{
	font-family: "AmpleSoft";
	font-weight: bold;
	color:#3e3e40;
	font-size: 18px;
}

#centro-de-ayuda aside ul li.tut-icon a img, #centro-de-ayuda aside ul:nth-of-type(1) li:first-child a img, #centro-de-ayuda aside ul:nth-of-type(1) li a img {
    left: -8px;
    margin-top: -12px;
    width: auto;
}

#centro-de-ayuda aside ul li.tut-icon a{
	min-height: 106px;
}

#centro-de-ayuda aside ul li.tut-icon a strong{
	line-height: 54px;
}


.row.modulos .container {
	padding-left: 0;
}

.row.modulos article .modulo {
	margin-bottom: 0;
	box-shadow: none;
	background-color: #f9f9f9 !important;
	width: 100%;
	border: 1px solid #ccc;
}

@media only screen and (max-width: 724px){
	.row.modulos article .modulo {

	}
}

.boletas-pagos-y-planes .modulo ul li a{
	border:1px solid #ccc;
	font-size: 14px;
	background-color: #fff;
	line-height: initial;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.boletas-pagos-y-planes .modulo ul li a i{
	float: left;
	width: 10%;
	text-align: center;
}
.boletas-pagos-y-planes .modulo ul li a span{

}

.boletas-pagos-y-planes .modulo ul li a:hover {
	background-color: #1478ba;
}

.otros-planes h1 {
    color: #3e3e40;
}

.otros-planes li {
	height: 30px;
}

.tabs li h5.active a {
	background-color: #1478ba !important;
	color:#fff;
}

.tabs h5 a {
    border-bottom: 2px solid #cdcdcd;
    border-right: 2px solid #cdcdcd;
}

.tabs li h5.active a span {
    background: rgba(0, 0, 0, 0) url("../img/style/arrow.png") no-repeat scroll center center;
}

.tabs h3, .modulo > h1, #tramites .modulo .content h4 {
    color: #3e3e40 !important;
}

body#tinymce .content h2, body > .modulo .content h2, .mce-visualblocks .modulo .content h2, .tabs article > ul li .content h2 {
	color: #3e3e40 !important;
}

.tabs article > ul li {
	background:none;
}

.interna .container > h5:first-child, .tips .container > h5:first-child, .faqs .container > h5:first-child {
	color: #3e3e40 !important;
	font-family: "AmpleSoft";
	margin-bottom: 4px !important;
}

.interna .container > h5:first-child span::after, .tips .container > h5:first-child span::after, .faqs .container > h5:first-child span::after {
	content:url("../img/style/arrow.png") !important;
	left:11px;
	top:-5px;
}

.interna .container > h5.active:first-child span::after, .tips .container > h5.active:first-child span::after, .faqs .container > h5.active:first-child span::after {
	left:14px;
}

.interna .container > h5:first-child span, .tips .container > h5:first-child span, .faqs .container > h5:first-child span {
    background-color: #f2f2f2;
    box-shadow: none;
    color: #607010;
    display: block;
    height: 40px;
    margin: 0;
    position: absolute;
    right: 0;
    top: 2px;
    vertical-align: top;
    width: 40px;
}

.interna .otros .nav a.link {
	color:#1478ba;
}

section#impuestos.interna h2{
	margin-top:0 !important;
}

.bg, .interna > .row:nth-child(2n+1) {
	background-color: #fff;
}

.interna nav li {
	border: 1px solid #ccc;
}

.tabs .modules {
	border: 1px solid #ccc;
	background-color: #f9f9f9;
}

.tabs .modulo {
    border:none;
    box-shadow: none;
    margin-bottom: 10px !important;
}

.row.plan-row {
	margin-top:25px !important;
	margin-bottom:25px !important;
}

.row.modulos article .modulo h1{
	border-bottom: 1px solid #ccc;
    color: #3e3e40;
    margin: 20px 10px;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.modulos > h1 {
	color: #3e3e40;
	font-family: "AmpleSoft";
	padding-left:0;
}

.modulo > a, .modulo .link {
	color:#2d76ae;
}

.modulo > a:hover {
	color:#4b4b4b;
}

.modulo > ul li {
	background:none;
}

.modulo > ul li > a > i{
    margin-right:10px;
    position: relative;
    float: left;
}

.modulo > ul a {
	color:#666666;
	font-family: Source Sans Pro;
    font-size: 15px;
}

.block-separator {
	width: 100%;
	display: block;
	float: left;
	height:15px;
	background-color: #f2f2f2;
}

.content-explicacion {
    background-image: linear-gradient(to right, #1478ba, #96ca47);
    display: block;
    float: left;
    height: auto;
    margin: 0 5px 20px;
    padding: 1px;
    width: calc(100% - 30px);
}

.explicacion {
	background-color: #f9f9f9;
	margin:0;
	padding:0 10px;
	border:none;
}

.explicacion > p, .explicacion span {
	color:#3e3e40;
	font-family: "Source Sans Pro";
	font-weight: bold;
	font-size: 20px;
	text-transform: none;
}

.negative-margin {
	margin-left: -15px;
}

.modulos.modulos-linea .modulo .tipos-tramites img {
	width: inherit;
}

.tipos-tramites .cnt-img-explicacion {
	background-color: #fff;
    border: 1px solid #666;
    border-radius: 50%;
    display: block;
    float: left;
    height: 45px;
    margin-right: 10px;
    margin-top: 7px;
    overflow: hidden;
    width: 45px;
}

.tipos-tramites .cnt-img-explicacion img{
	margin-left: -1px;
    margin-top: 10px;
    width: 45px;
}

.tipos-tramites span.por-mail .cnt-img-explicacion img{
	margin-left: -2px;
    margin-top: 6px;
    width: 48px !important;
}

.tipos-tramites span.por-online .cnt-img-explicacion img{
	margin-top: 9px;
    width: 46px !important;
}

.tipos-tramites span.presencial .cnt-img-explicacion img{
	margin-left: 0;
    margin-top: 4px;
    width: 44px !important;
}

.modulos.modulos-linea .modulo .bottom .link {
	bottom:-20px;
}

h3 {
    color: #3e3e40;
}

ul.breadcrumbc li::after {
    content: " | ";
}

.interna header.article-header {
	width: calc(100% - 370px);
	float:left;
}

.interna aside.campana {
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    margin-top: 25px;
    padding: 3px;
    width: 100% !important;

	background-image: -webkit-linear-gradient(to right, #96ca47, #1478ba);
	background-image: -moz-linear-gradient(to right, #96ca47, #1478ba);
	background-image: -o-linear-gradient(to right, #96ca47, #1478ba);
	background-image: linear-gradient(to right, #96ca47, #1478ba);
}

.interna aside.campana .cnt-camp, .interna aside.campana .content-camp{
	background-color: #fff;
	padding-top:10px;
	padding-bottom:10px;

	min-height:143px !important;
}

#acceso-clave-ciudad.interna aside.campana .cnt-camp {
	text-align: left;
}

#acceso-clave-ciudad.interna aside.campana .cnt-camp a {
	float: left;
}



.interna aside.campana .cnt-camp h1 {
	margin-top:0;
}

.interna aside.campana .cnt-camp p {
	margin-bottom: 0;
}

.tramites article {
	//width:calc(100% - 390px) !important;
	font-size: 16px;
}

.tramites .cnt-modulo{
	background-image: -webkit-linear-gradient(to right, #96ca47, #1478ba);
	background-image: -moz-linear-gradient(to right, #96ca47, #1478ba);
	background-image: -o-linear-gradient(to right, #96ca47, #1478ba);
	background-image: linear-gradient(to right, #96ca47, #1478ba);
	height: auto;
	display: block;
	float: right;
    width: 100%;
    margin-bottom:15px;
}

.tramites .cnt-modulo aside.modulo {
	background-color: #fff !important;
    width: calc(100% - 6px);
    box-shadow: none;
	padding:0 0 10px 0;
	height: auto;
	margin:3px;
}

.tramites .cnt-modulo aside.modulo > h1 {
	color:#1779ba;
	padding:16px 24px 6px;
}

.tramites .cnt-modulo aside.modulo > .tipos-tramites{
	float: left;
    width: calc(100% - 45px);
    padding-bottom: 15px;
}

.tramites .cnt-modulo aside.modulo > .tipos-tramites > a {
    font-family: "AmpleSoft";
    font-size: 17px;
    //line-height: 63px;
    margin-bottom: 0;
    margin-top: 0;
    text-decoration: none;
    margin-right: 0;
    float: left;
    position: relative;
    height: 55px;
        width: 100%;
}

.tramites .cnt-modulo aside.modulo > .tipos-tramites > a > span{
	position: absolute;
    top: 50%;
    margin-top: -4%;
        width: 60%;
}

@media (max-width: 996px) {
	.tramites .cnt-modulo aside.modulo > .tipos-tramites > a > span{
		position: relative;
	    top: 0;
	    margin-top: 15px;
	    //line-height: 55px;
	}

}

.tramites .cnt-modulo aside.modulo > .tipos-tramites a.por-mail img {
	top:-4px;
	width: 48px;
	margin-left:-2px;
	vertical-align: middle;
}

.tramites .cnt-modulo aside.modulo > .tipos-tramites a.online img {
	margin-left: -2px;
    top: -1px;
    width: 46px;
}

.tramites .cnt-modulo aside.modulo > .tipos-tramites a.presencial img {
	margin-left: -1px;
    top: -6px;
    width: 44px;
}

.tramites .cnt-modulo aside.modulo > p {
	padding:0;
	color:#4b4b4b;
}

.tips {
	background-color: #fff !important;
    padding-bottom: 0px;
}

.tips.tips-custom {
    border-top:15px solid #f2f2f2 !important;
}

.tips.tips-custom h5{
	margin-top:0 !important;
}

.tips.tips-custom h5 a span{
	top: 0 !important;
}

.tips .container > h5:first-child a, .interna .container > h5:first-child a, .faqs .container > h5:first-child a {
	font-family: "AmpleSoft" !important;
	color:#3e3e40 !important;
	font-size: 28px !important;
}

.tips .nav div strong {
    font-size: 17px !important;
    font-weight: bold !important;
    line-height: 14px !important;
}

.tips .container span {
	border:0 !important;
	box-shadow: none !important;
}

.interna .container > h5:first-child, .tips .container > h5:first-child, .faqs .container > h5:first-child {
	margin-bottom: 0;
}

.tips .nav div {
    background: rgba(0, 0, 0, 0) url("../img/style/refresh/tips.png") no-repeat scroll 0 0;
}

.modulos .paginador a:hover, .modulos .paginador a.active, .modulos .paginador .active span {
	background-color: #1478ba;
}

.modulos .paginador a, .modulos .paginador span {
	box-shadow: none !important;
	border:1px solid #ccc !important;
}

.modulos .paginador a {
	box-shadow: none !important;
	border:1px solid #ccc !important;
}

.row.formularios {
    padding-bottom: 20px;
    padding-top: 25px;
}

.interna .row.formularios {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.row.formularios h5 {
	font-size:2em !important;
	color: #3e3e40 !important;
    font-family: "AmpleSoft" !important;
}

#centro-de-ayuda .formularios .col-md-4 {
	margin: 15px 19px;
    padding: 0;
    width: 30% !important;
    max-width: inherit !important;
}

#centro-de-ayuda .formularios .col-md-4 h6{
	font-weight: bold;
}

#centro-de-ayuda .formularios li {
	min-height: 30px;
	padding-left: 40px;
}

#centro-de-ayuda .formularios li::after {
	transform:rotate(90deg);
	top:-3px;
	left:7px;
}

.accordeon-nav-title a, .toggle-nav-title a {
	color: #3e3e40 !important;
    font-family: "AmpleSoft" !important;
    text-transform: none;
}

.nav.accordeon-nav-content h3 a {
	color:#1478ba !important;
}

#tutoriales .tutoriales li {
	box-shadow: none;
	border:1px solid #ccc;
}

#tutoriales .acordeon .accordeon-nav-title {
	border-bottom-color: transparent;
}

#tutoriales .tutoriales li {
	float: left;
}

.toggle-nav-title a {
	font-weight: bold;
}

.line-gradient {
	background-image: linear-gradient(to left, #1478ba, #96ca47) !important;
    display: block;
    float: left;
    margin: 0 -50px;
    padding-top: 1px;
    width: calc(100% + 50px);
}

.toggle-nav-border {
	border-top-color: transparent;
}

.faq-acc .line-gradient {
	margin:0;
	width: 100%;
}

.boletas-pagos-y-planes .modulo > p {
	line-height: 22px;
}

.boletas-pagos-y-planes .modulo.dependencia > a {
	border:1px solid #ccc;
	background-color: #fff;
	color: #3e3e40 !important;
	box-shadow: 1px 1px 0 rgb(172, 172, 172);
}

.boletas-pagos-y-planes .modulo.dependencia > a:hover {
	text-decoration: none;
	background-color: #1478ba;
	color:#fff !important; 	
}

.tips .container > h5:first-child span {
	background-color: #f2f2f2;
	box-shadow: none;
}

.interna .container > h5:first-child a {
	font-size: 22px !important;
}

.article-body nav ul.group-buttons li a {
	border:1px solid #ccc;

	display: table-cell;
    line-height: 19px;
    padding:3px 5px 5px 5px !important;
    vertical-align: middle;
}

.article-body nav ul.group-buttons li a:hover {
	background-color: #1478ba;
}

.interna nav li a:hover {
	background-color: #1478ba;
	color:#fff;	
}

.formas-de-pago.tabs article h3 {
	padding-top: 30px;
}

header.acordeon-article-header {
	width: calc(100% - 16px) !important;
}

.interna .faqs .acordeon > a:hover {
    background-color: #1478ba;
    color: #fff !important;
}

.acordeon-article-header form.full button[type="submit"] {
	margin-left: -10px !important;
}

.interna .agenda .fecha {
	background-color: #fff;
	height: auto !important;
}

.interna .agenda .fecha h1 {
	background-color: #1478ba;
	color: #fff;
}

ul.small-list li, #home .otros .col-md-4.calcol3 .cal-event-data span, #home .otros .col-md-4.calcol3 .cal-event-data p span {
	font-size:16px;
}

#centro-de-ayuda .formularios li a {
	font-size: 16px;
}

.blk-sep-custom {
	margin-top:25px;
	margin-left:-70px;
	width:calc(100% + 124px);
}

.modulos .paginador {
	width: 100% !important;
}

.interna nav {
	padding:0;
}

/* GOOGLE SEARCH */

.custom-google-search {
	margin: -20px;
    padding: 0 !important;
}

#menu-mobile.canal-de-autogestion h1, #menu-mobile.canal-de-autogestion span,
#menu-impuestos-mobile h1 {
	background-color: #1478ba;
	color: #fff !important;
	margin-bottom: 10px !important;
}

#menu-mobile.canal-de-autogestion h1,
#menu-impuestos-mobile h1 {
	background-position: 99% center;
}

#menu-mobile.canal-de-autogestion {
	height: auto !important;
}

.acordeon {
	margin-bottom: 20px !important;
}

.interna .formularios ul li a {
	color:#1478ba !important;
}

/* END GOOGLE SEARCH */

@media (min-width: 768px) {

	.cal-event-data {
	    margin-bottom: 10px;
	    max-height: 115px !important;
	    overflow-y: auto;
	}
}

.accordeon-nav-content li {
	font-size: 16px;
}

.calendarSlot form button[type="button"] {
    background: #1779ba none repeat scroll 0 0;
    -moz-border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    border-radius: 4px !important;
    color: #fff;
    display: block;
    font-weight: 700;
    line-height: 44px;
    margin: auto;
    padding: 0;
    text-align: center;
    text-indent: inherit;
    width: 340px;
}

.calendarSlot form button[type="button"] i {
	font-size: 20px;margin-left: 10px
}

.chosen-container-single .chosen-single, .chosen-container .chosen-drop {
	color:#1779ba !important;
}

/* END INNER PAGES */

.interna .agenda .col-md-6 img {
    float: right;
    height: auto !important;
    max-width: 95% !important;
}

#menu-mobile.canal-de-autogestion .col-xs-12 .menu > p, #home .canal-de-autogestion .col-xs-12 > p {
	height: auto;
	padding:3px;
	width: 350px;
	font-size: 16px;
	margin-top:-6px;
	margin-right: 20px;
}


/* Media Queries for Home */

@media (min-width: 1025px) {
	#home .links li:first-child a .content-link {
		margin-left: 145px;
	}

	#home .links li:last-child a .content-link {
		margin-left: 124px;
	}
}

@media (min-width: 1024px) and (max-width: 1024px) {
	#top-bar-nav li.accesibilidad {
		display: none;
	}

	#top-bar-nav li.buscador {
		margin-right: 0;
	}

	#home .impuestos .col-xs-12 > ul > li > a {
		width: 200px;
	}

	#home .impuestos ul li > ul {
		width: 200px;	
	}

	#home .links li:first-child {
		margin-right: 33px;
    	width: calc(50% - 18px);
	}

	#home .links li:last-child {
		margin-left: 3px;
    	width: calc(50% - 18px);
	}

	#home .links li:last-child .content-link {
		margin-left:39px;
	}

	#home .links li:first-child .content-link {
		margin-left: 60px;
	}

	#home .otros .col-md-4.calcol2 {
		padding: 0 20px;
	}

	#home .otros .col-md-4.calcol2 .ui-icon-circle-triangle-w {
		left:30px !important;
	}

	#home .otros .col-md-4.calcol2 .ui-icon-circle-triangle-e {
		right:30px !important;
	}

	#home .otros .col-md-4 form.explicacion label {
		font-size: 1.2em;
	}

	.container {
    	max-width: 88%;
	}

	#top-bar-search input[type="text"] {
		width: 100% !important;
	}

}

@media screen and (min-width: 1024px){
	.row.modulos article {
		//margin: 15px 8px;
		//width: 31% !important;
	}

	.nav.accordeon-nav-content {
		/*padding: 10px 0 20px;*/
	}

	.tips .nav div {
		background-size:15px;
		padding-left:23px;
		margin-right: 2%;
		width:22%;
	}

	.tips .nav div p {
		margin-top: -7px;
	}

	section .container {
		margin-right: 0;
		max-width: 96% !important;
	}

	#footer .col-md-4 {
		width: 30%;
	}

	#footer .col-md-3 {
		width: 28%;
	}

	.interna header.article-header {
	    width: calc(100% - 370px);
	}

	.row.modulos.centro-de-ayuda article {
	    //width: calc(50% - 20px) !important;
	}
}

@media (max-width: 980px) {

	.inner-top-bar-nav {
		display: none;
	}

	.container, #home .container {
	    max-width: 100% !important;
	    width: 100%;
	}

	.container .col-xs-12{
		//padding-left: 0;
		//padding-right: 0;
	}

	#top-bar-search input[type="text"] {
		width: 100% !important;
	}

	.bck-contact {
		display: none;
	}

	#logo-bsas img {
	    margin-right: 23px;
	    width: auto;
	    margin-top:1px;
	}

	#logo-rentas img {
	    margin-left: 20px;
	    margin-top: 0;
	    width: 146px;
	}

	aside.campana {
		width: 100% !important;
	}

	#home .links ul {
		padding:0;
	}

	#home .links li:first-child {
    	margin-right: 0;
    	width: calc(100% - 30px);
    	margin-bottom:5px;
    	border:none;
	}

	#home .links li:last-child {
    	margin-left: 15px;
    	margin-right: 0;
    	width: calc(100% - 30px);
    	margin-bottom:5px;
    	border:none;
	}

	#home .links a .content-link span br {
		display: none;
	}

	#home .links a:first-child .content-link, #home .links a:last-child .content-link {
		margin-left:0;
	}

	#home .links a .content-link span {
	    padding-top: 14px;
	}

	#home .links li {
		margin-top:10px !important;
	}

	#home .otros .col-md-4 {
		margin:0;
		float:left;
	}

	#home .otros .col-md-4.calcol2 {
		padding:0 20px;
	}

	#home .otros .col-md-4.calcol2 .ui-icon-circle-triangle-w {
		left:30px !important;
	}

	#home .otros .col-md-4.calcol2 .ui-icon-circle-triangle-e {
		right:30px !important;
	}

	#footer > .container > .row:first-child > .col-md-5,
	#footer > .container > .row:last-child > .col-md-4:nth-child(3),
	#footer > .container > .row:last-child > .col-md-4:first-child {
		border-bottom: none !important;
	}

	#footer, #footer .container {
		padding:0 !important;
	}

	#footer .container:first-child .row .col-md-4 {
		width: 270px;
	}

	#footer > .container > .row:first-child > .col-md-5 {
	    border-bottom: 1px solid #44520c;
	    display: block;
	    float: left;
	    min-width: 150px;
	    padding-bottom: 20px;
	    position: relative;
	    top: 10px;
	    width: 460px;
	}

	#footer .container:first-child .row .col-md-3 {
		width: 270px;
		padding-right: 50px;
		right: 15px;
	}

	#footer > .container:last-child > .row > .col-md-4 {
		width: 33.3333%;
		margin-bottom:0 !important;
	}

	#footer > .container:last-child > .row > .col-md-4.w3cCol  {
		width: 33.3333%;
	}

	#footer > .container > .row:last-child > .col-md-4:nth-child(3) {
	    border-bottom: 1px solid #44520c;
	    display: block;
	    height: 54px;
	    max-width: 100%;
	    padding-right: 60px;
	    position: relative;
	    right: 15px;
	    top: 28px;
	    width: 33.3333%;
	}

	#footer > .container .row {
		margin:0;
	}

	section .article-header form.full .select {
		width: 87%;
	}

	section .container {
    	max-width: 100% !important;
	}

	.row.modulos article {
	    border: 1px solid #ccc;
	    float: left !important;
	    //margin: 15px 21px;
	    padding: 0;
	    //width: 45% !important;
	}

	#main {
		padding:5px;
	}

	#header {
		margin-bottom:10px;
	}

	#menu-mobile, #menu-impuestos-mobile {
		padding:5px;
	}

	#menu-mobile .container, #menu-impuestos-mobile .container{
		padding:0 !important;
	}

	#menu-mobile h1, #menu-impuestos-mobile h1 {
		margin-top:0 !important;
		margin-bottom: 0 !important;
		padding:20px 0 !important;
	}

	.tramites article {
		//width: calc(100% - 401px) !important;
	}

	.interna aside.campana .cnt-camp {
		min-height: 150px !important;
	}

	.interna header.article-header {
	    width: 100%;
	}

	.explicacion {
		margin-bottom: 0 !important;
	}

	.row.centro-de-ayuda.modulos article {
	    margin: 15px 17px;
	}
}

@media (max-width: 800px) {

	#footer .container:first-child .row .col-md-4 {
	    width: 235px;
	}

	#menu-mobile.canal-de-autogestion li, #home .canal-de-autogestion li {
	    margin: 0 10px;
	}

	#footer > .container > .row:first-child > .col-md-5 {
	    width: 323px;
	}

	#footer .container:first-child .row .col-md-3 {
	    width: 215px;
	}

	#footer > .container:last-child > .row > .col-md-4 {
	    width: 37.333%;
	}

	#footer > .container > .row:last-child > .col-md-4:nth-child(3) {
		width: 25.333%;
	}

	section .article-header form.full .select {
	    width: 85%;
	}

	.row.modulos article {
	    border: 1px solid #ccc;
	    float: left !important;
	    //margin: 15px 22px;
	    padding: 0;
	    //width: 44% !important;
	}

	section .container {
		margin-right: 0 !important;
		padding-right: 0;
		max-width: 100% !important;
	}

	.tramites article {
		//width: calc(100% - 412px) !important;
	}

	.interna aside.campana {


	}

	.interna aside.campana .cnt-camp {
		min-height: 150px !important;
	}

	.interna header.article-header {
	    width: 100%;
	}

	.row.modulos article {
	   // margin: 11px;
	    //width: 46% !important;
	}

	.row.modulos.centro-de-ayuda aside.col-md-4 {
	    width: 100%;
	    padding:0 10px;
	}

	.row.modulos.centro-de-ayuda .modulos-container.col-md-8 {
	    width: 100%;
	    padding:0 10px;
	}
}

@media (max-width: 768px) {

	section {
		margin:0 !important;
	}

	.row.modulos .container {
		padding:0;
	}

	.container {
		padding:0;
	}


	#footer .container:first-child .row .col-md-4 {
	    width: 218px;
	}

	#footer .container:first-child .row .col-md-3 {
	    padding-right: 22px;
	}

	#menu-mobile.canal-de-autogestion li {
	    margin: 0;
	}

	section .article-header form.full .select {
	    width: 84%;
	}

	.row.modulos article {
	    border: 1px solid #ccc;
	    //float: left !important;
	    //margin: 15px 25px;
	    //padding: 0;
	    //width: 43% !important;
	}

	.row.tips.tips-custom .container {
		padding-left: 15px;
	}

	.interna header.article-header {
	    width: calc(100% - 412px);
	}

	#header-main {
	    height: 95px;
	    padding: 20px 0 3px;
	}

	#logo-rentas img {
	    height: 50px;
	    margin-right: 0;
	    margin-top: 0;
	    width: auto;
	}

	#logo-bsas img {
	    height: 50px;
	    margin-right: 0;
	    margin-top: 0;
	    width: auto;
	}

	#logo-rentas {
		margin-left:20px;
	}

	#logo-bsas {
		margin-right:40px;
	}

	#menu-mobile.canal-de-autogestion .col-xs-12 .menu > p, #home .canal-de-autogestion .col-xs-12 > p {
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}

	#home .minibanner {
		margin-left:15px !important;
		margin-right:15px !important;
	}

	#home #slider aside.campana, aside.campana {
	    left: -15px;
	    width: calc(100% - 30px) !important;
	}

	#home #slider aside.campana .pager span, aside.campana .pager span {
		background-color: #1779ba;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	#home #slider aside.campana .pager span.active, aside.campana .pager span.active {
		background-color: #4eaa5b;
	}

	aside.campana a.close {
		display: none !important;
	}

	#menu-mobile.canal-de-autogestion li, #home .canal-de-autogestion li {
		margin:0 7px;
	}
}

@media (max-width: 640px) {
	#menu-mobile.canal-de-autogestion li, #home .canal-de-autogestion li {
		margin:0 -2px !important;
	}

	#menu-mobile.canal-de-autogestion li {
	    margin: 0 12px !important;
	}

	#home > div > section.otros .col-md-12 .col-md-6 li {
		width: 100%;
	}

	#home .otros .calcol1, #home .otros .calcol2, #home .otros .calcol3 {
		width: 100% !important;
	}

	#footer .container .row .col-md-4, #footer .container .row .col-md-5, #footer .container .row .col-md-3 {
		width: 100% !important;
		margin:0 !important;
		margin-bottom:15px !important;
	}

	#footer > .container > .row:first-child > .col-md-3 {
		padding: 0 !important;
		max-width: 100% !important;
		right: 0;
	}

	#footer > .container > .row:first-child > .col-md-3 a.reportes {
		float: left !important;
		left:calc(50% - 70px) !important;
		position: relative;
	}

	#footer > .container > .row:last-child > .col-md-4:nth-child(3) {
		display: block;
	    float: left;
	    margin: 0;
	    padding: 0;
	    width: 100% !important;
	    right: 0 !important;
	    top:0 !important;
	}

	#footer > .container > .row:last-child > .col-md-4:nth-child(3) a{
		float: left !important;
		left:calc(50% - 34px) !important;
		position: relative;
	}

	section .article-header form.full .select {
	    width: 81%;
	}

	.row.modulos article {
	    border: 1px solid #ccc;
	    float: left !important;
	    margin: 15px 19px;
	    padding: 0;
	    width: 94% !important;
	}

	.row.tips.tips-custom .container {
		padding-left: 15px;
	}

	.tramites article {
		width: calc(100% - 25px) !important;
	}

	.interna aside.campana {
	    /*float: left;
	    margin: 10px;
	    padding: 3px;
	    width: calc(100% - 20px) !important;*/
	}

	.interna aside.campana .cnt-camp {
		min-height: 195px !important;
	}

	.interna header.article-header {
	    width: 100%;
	}

	.row.modulos .negative-margin {
		margin:0;
	}

	.row.modulos.centro-de-ayuda article {
		width: calc(100% - 38px) !important;
	}

	#centro-de-ayuda .formularios .col-md-4 {
	    margin: 15px 5px;
	    width: calc(100% - 10px) !important;
	    float:left;
	}
}

@media (max-width: 480px) {
	#logo-bsas img {
	    height: 50px;
	    margin-right: 0;
	    margin-top: 0;
	    width: auto;
	}

	#logo-rentas img {
	    margin-left: 0;
	    margin-top: -4px;
	    width: auto;
	}

	#home .links a .content-link img {
	    margin-right: 12px !important;
	    margin-top: 0;
	}

	#home .links a .content-link span{
		font-size: 20px;
	}

	section .article-header form.full .select {
	    width: 73%;
	}

	.row.tips.tips-custom .container {
		padding-left: 15px;
	}

	.row.modulos article {
	    margin: 11px;
	    width: 95% !important;
	}

	.row.modulos.centro-de-ayuda article {
		width: calc(100% - 38px) !important;
	}

	#centro-de-ayuda .formularios .col-md-4 {
	    margin: 15px 5px;
	    width: calc(100% - 10px) !important;
	    float:left;
	}
}

/* 375 width */

@media (max-width: 375px) {

	h2 {
		font-size: 1.8em;
	}

	.full button[type="submit"] b {
		display: none;
	}

	.full  button[type="submit"] i {
		margin:0 !important;
		padding:8px !important;
	}

	#header-main {
	    height: 95px;
	    padding: 20px 0 3px;
	}

	#logo-bsas img {
	    height: 50px;
	    margin-right: 0;
	    margin-top: 0;
	    width: auto;
	}

	#logo-rentas img {
	    margin-left: 0;
	    margin-top: 3px;
	    width: auto;
	}

	#home .links a .content-link img {
	    font-size: 100%;
	}

	#home .links a .content-link span br {
		display: block;
	}

	#home .links a .content-link span {
		margin-left: 10px;
	    padding-top: 0;
	    text-align: left;
	}

	#home .links a {
		min-width: calc(100% - 12px) !important;
	}

	#menu-mobile.canal-de-autogestion h1, #home .canal-de-autogestion h1, #menu-mobile.canal-de-autogestion h1 span, #home .canal-de-autogestion h1 span {
		line-height: 29px;
	}

	section .article-header form.full .select {
	    width: 82%;
	}

	.row.modulos article {
	    border: 1px solid #ccc;
	    float: left !important;
	    margin: 15px 18px;
	    padding: 0;
	    width: 93% !important;
	}

	.row.tips.tips-custom .container {
		padding-left: 15px;
	}

	.row.modulos article {
	    margin: 11px;
	    width: 93% !important;
	}

	.tramites article {
		width: calc(100% - 25px) !important;
	}

	.interna aside.campana {
	    float: left;
	    margin: 10px;
	    padding: 3px;
	    width: calc(100% - 20px) !important;
	    min-height: 149px !important;
	}

	.interna aside.campana .cnt-camp {
		min-height: 225px !important;
	}

	.interna header.article-header {
	    width: 100%;
	}

	.interna .container > h5:first-child a strong, .faqs .container > h5:first-child a strong {
		font-size:20px;
		line-height: 47px !important;
	}

	.nav.accordeon-nav-content .col-md-12 {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.nav.accordeon-nav-content h3 {
		padding-left: 0 !important;
	}

	.row.modulos.centro-de-ayuda article {
		width: calc(100% - 38px) !important;
	}

	#centro-de-ayuda .formularios .col-md-4 {
	    margin: 15px 0;
	    width: 100% !important;
	}

	#logo-rentas {
		margin-left:0;
	}

	#logo-bsas {
		margin-right:0;
	}

	.boletas-pagos-y-planes .modulo ul li a {
		background: none !important;
		background-color: #fff !important;
		text-indent: inherit !important;
	}

	.boletas-pagos-y-planes .modulo ul li a:hover,
	.boletas-pagos-y-planes .modulo ul li a:focus {
		background-color: #23527c !important;
		color:#fff !important;
	}

	.nav.accordeon-nav-content {
		padding:10px !important;
	}

	.nav.accordeon-nav-content h3::after {
		content:"" !important;
	}

	.interna .container > h5:first-child a {
	    font-size: 18px !important;
	}

	.interna .container > h5:first-child a strong, .faqs .container > h5:first-child a strong {
		display: block;
	    float: left;
	    font-size: 18px;
	    line-height: 19px !important;
	    padding-top: 4px;
	    width: 80%;
	}


}

@media (max-width: 320px) {
	#top-bar-search {
		width: 250px;
	}

	#home #slider aside.campana, aside.campana {
		min-height: 190px;
	}

	#home .links a .content-link span {
	    font-size: 16px;
	}

	#menu-mobile.canal-de-autogestion li {
	    margin: 0 7px !important;
	}

	section .article-header form.full .select {
	    width: 79%;
	}

	.row.tips.tips-custom .container {
		padding-left: 15px;
	}

	.row.modulos article {
	    margin: 11px;
	    width: 93% !important;
	}

	.tips .nav div {
		background-size:15px;
		padding-left:23px;
		margin-right: 2%;
		width:95%;
	}

	.tips .nav div p {
		margin-top: -7px;
	}

	#menu-mobile.canal-de-autogestion .col-xs-12 .menu > p, #home .canal-de-autogestion .col-xs-12 > p {
		font-size: 14px;
	}

}

h5.nav-title.accordeon-nav-title a {
	text-transform: uppercase !important;
}

.row.tramitesrow .container.modulos.modulos-linea {
	padding-bottom: 0 !important;
}