/* Google Font's Droid Sans */
@font-face {
    font-family: 'Droid Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf') format('truetype');
  }
  /* Google Font's Droid Sans Bold */
@font-face {
    font-family: 'Droid Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf') format('truetype');
}

#headerTemplate { /* default style */
    background-color: #000;
}

#headerTemplate.entorno-externo {
    background-color: #008BD0;
}

#headerTemplate.entorno-interno {
    background-color: #000;
}

#headerTemplate.entorno-externo #header a:not(.active) {
    color: #8CD2EA;
}

#headerTemplate.entorno-externo #header a:not(.active).bordered-a {
    border-color: #8CD2EA;
}

.navbar-collapse {
    padding: 0px !important;
    border-top: 0px !important;
}

.navbar-brand {
    height: inherit !important;
}

body {
    position: relative;
    min-height: 100%;
}

#header {
    font-family: "Roboto", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

#header i {
    font-size: 24px !important;
}

.topImage {
    width: 245px;
}

.content-block {
    margin: 10px 0px !important;
}

#footerTemplate {
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: "Roboto", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.05;   
    background-color: #59656E;
}

#footerTemplate table {
    line-height: 1.05;
    color: white;
    font-weight: 500;
}

#footerTemplate table th {
    font-size: 12px;
    padding: 0.3rem 1.6rem 0.3rem 0;
}

#footerTemplate table td {
    font-size: 10px;
    padding: 0.1rem 1.6rem 0.2rem 0;
}

#footerTemplate th {
    text-align: left;
}

#footerTemplate a {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    touch-action: manipulation;
}

#footerTemplate .footer-content .logos {
    padding-top: 10px;
}

#footerTemplate .footer-content .logos div:not(:last-child) {
    margin-bottom: 25px;
}

#footerTemplate .footer-content .logos div:last-child a {
    margin-right: 15px;
}

#footerTemplate .footer-content .logos2 div:not(:last-child) {
    margin-bottom: 30px;
}

#footerTemplate .footer-content .links {
    padding-top: 10px;
}

#footerTemplate .footer-content .links .links-wrapper a {
    float: left;
    clear: both;
    margin-bottom: 25px;
}

#footerTemplate .footer-content .links .links-wrapper {
    width: 40%;
    float: left;
    padding-right: 0px;
}

#footerTemplate .footer-content .links .social {
    width: 60%;
    float: right;
    text-align: right;
}

#footerTemplate .footer-content .links .social a {
    padding-left: 10px;
}

#footerTemplate .footer-content .links .social a img {
    margin-bottom: 10px;
}

@media (min-width: 768px) { 

    #footerTemplate .footer-content .contact {
        border-right: white solid 2px;
    }

    #footerTemplate .footer-content .links {
        border-right: white solid 2px;
    }
}

@media (max-width: 767px) {
    .content {
        padding-bottom: 40px;
    }

}

@media (min-width: 768px) and (max-width: 1199px) {
    .content {
        padding-bottom: 40px;
    }

}

@media (min-width: 1200px) { 
    .content {
        padding-bottom: 40px;
    }

    #footerTemplate .footer-content .links {
        border-right: white solid 2px;
    }

    #footerTemplate .footer-content .logos {
        border-right: white solid 2px; 
    }

}

@media (min-width: 1200px) and (max-width: 1420px){ 
    
    #footerTemplate .footer-content .logos div:not(:last-child) a img {
        height: 50px;
    }

    #footerTemplate .footer-content .logos div:last-child a img {
        height: 35px;
    }
}

#footerTemplate #gobiernoDeCanarias {
    color: #999;
    font-size: 12px;
}

.logo-img-30 {
    height: 30px;
}

.logo-img-40 {
    height: 40px;
}

.logo-img-45 {
    height: 45px;
}

.logo-img-50 {
    height: 50px;
}

.logo-img-60 {
    height: 60px;
}

.footerImage {
    width: 120px;
}

.section {
	font-family: "Droid Sans", sans-serif;
	font-size: 15px;
	color: #000;
	max-width: 960px;
	margin: 0 auto;
	padding: 5px 0 0 0;
	clear: both;
}

.top .section {
    display: inline-block;
    min-width: 100%;
    padding: 0;
    min-height: 70px;
}

.top .section .left {
    float: left;
    width: 35%;
    height: 70px;
    margin-left: 5%;
    padding-top: 9px;
    vertical-align: middle;
}

.top .section .right {
    float: right;
    width: 60%;
}

.top .section .right .section {
    margin: 0;
}

#header ul {
    list-style-type: none;
	margin: 0;
    padding: 0;
    height: 70px;
}

#header li {
    float: right;
    margin: 0px 25px 0px 0px !important;
    padding-top: 28px;
    height: 100%;
}

#header a {
    color: #9c9c9c;
	font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

#header a:hover {
    font-weight: 600;
    text-decoration: none;
	color: #fff;
}

#header a.active {
    font-weight: 600;
    color: #fff;
    position: relative;
}

#header a.active::after {
    content: '\F0D8';
    font: normal normal normal 55px/1 FontAwesome;
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
}

#header a.active.bordered-a  {
    border: 1px solid white;
}

.bordered-a {
    border: 1px solid #9c9c9c;
    padding: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

#selectData form {
    margin-top: 4%;
    margin-bottom: 4%;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 3%;
    font-family: 'Droid Sans', sans-serif;
}

#selectData form #divButton {
    margin-top: 3%;
    margin-right: 7%;
}

#selectData form input[type="radio"] {
    margin-right: 10px;
}

#selectData form input[type="checkbox"] {
    margin-right: 10px;
}

#selectData form .radioLabel {
    display: block;
    margin-left: 5%;
    margin-top: 2%;
}

#selectData form label {
    font-weight: 500;
}

#selectData form .radioDiv {
    margin: 2% 7% 2% 7%;
}

#selectData form .radioDiv button {
    margin-top: 2%;
    float: right;
}

#selectData form .selectDiv {
    margin-top: 2%;
}

#selectData form .btn-primary {
    margin-bottom: 2%;
}


#errorMsg {
    color: #CD3030;
    font-weight: 600;
    text-align: center;
}

h3 {
    margin-top: 5%;
}

#decodeWrapper {
    overflow: hidden;
}

#errorNotSelectedDecoded {
    transition: all 0.2s linear;
    float: right;
    padding-top: 10px;
    color: #CD3030;
    position: relative;
    right: -350px;
}

.subtitle {
    margin-left: 3%;
    margin-top: 2%;
}

.responseFormat {
    margin-top: 5%;
}

/* Spinner */

.loader {
    border: 6px solid #D8D8D8;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 32px;
    height: 32px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    float: right;
    margin: 0%;
}

.first-loader {
    margin-top: 1%;
}


 .btn-success {
    background-color: #008BD0; /* Corporativo */
    border-color: #0072A2;
}

.btn-success:hover,
.btn-success.focus, .btn-success:focus,
.btn-success.active.focus, .btn-success.active:focus, 
.btn-success.active:hover, .btn-success:active.focus,
.btn-success:active:focus, .btn-success:active:hover {
    background-color: #005980;
    border-color: #003956;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
