﻿/*---GENERAL---*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* height of sticky header */
}
/*Sin esto en los celulares y algunos monitores se pasan de ancho con el body*/
html, body {
    padding-bottom: 0 !important;
    width: auto !important;
    overflow-x: hidden !important;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin-top: 106px;
}

h1, h2, h3, h4, h5, h6, p {
    line-height: 1.45;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: .83em;
}

h6 {
    font-size: .75em;
}

p {
    text-align: justify;
}

.spinner-container {
    background-color: #ffffffbd;
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    transition: .2s all;
}

.spinner-large {
    width: 3em;
    height: 3em;
    display: block;
    position: fixed;
    top: calc( 50% - ( 3em / 2) );
    right: calc( 50% - ( 3em / 2) );
}

.form-group label {
    font-size: 0.8em;
}

.list-item {
    font-size: 0.8em;
}

.list-group-item {
    font-size: 0.8em;
}

.list-group-item:before,
.list-item:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f101";
    color: #385e9d;
    margin-right: 1rem;
    float: left;
    font-weight: 900;
}

#sectionBreadcrumb {
    font-size: 0.7em;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f105";
    font-weight: 900;
}

.main-description {
    font-size: 1.2em;
    text-align: center;
    margin: 2em;
}

.primary-title {
    text-align: center;
    font-weight: 300;
    line-height: 1.2;
    font-size: 2.3em;
}

.secondary-title {
    text-align: center;
    background-color: #cb333b;
    color: white;
    font-weight: 300;
    line-height: 1.2;
    font-size: 2em;
}

.secondary-title-smaller {
    font-size: 2.5em;
    text-align: center;
    background-color: #cb333b;
    color: white;
    font-weight: 300;
    line-height: 1.2;
    font-size: 1.2em;
}

.terciary-title {
    text-align: center;
    background-color: #cb333b;
    font-weight: 500;
    line-height: 1.2;
    color: white;
    padding: 1em;
    font-size: 1em;
}

.quaternary-title {
    color: #17a2b8;
    font-weight: 800;
    font-size: large;
    background-color: #f7f7f7;
    padding: 0.3rem;
    padding-left: 1rem;
    margin: 0.5rem;
    font-size: 0.8em;
}

.module-primary-title {
    text-align: center;
    font-weight: 300;
    line-height: 1.2;
    background: rgb(56,94,157);
    background: linear-gradient(90deg, rgba(56,94,157) 0%, rgba(130,73,108) 60%, rgba(203,51,59) 100%);
    color: white;
    margin-bottom: 0;
    padding: 3rem;
    font-size: 1.6em;
}

.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

p.notification-ok {
    color: green;
    font-size: 0.8em;
    font-weight: 600;
}

p.notification-ok::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f058";
    color: green;
    font-weight: 900;
    margin-right: 0.5em;
}


p.notification-error {
    color: red;
    font-size: 0.8em;
    font-weight: 600;
}

p.notification-error::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f06a";
    color: red;
    font-weight: 900;
    margin-right: 0.5em;
}
/*---/GENERAL---*/

#btnBackToTop {
    width: 50px;
    height: 50px;
    text-align: center;
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #d29800; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 12px; /* Some padding */
    border-radius: 50%; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#btnBackToTop:hover {
    background-color: #d26c00; /* Add a dark-grey background on hover */
}

.aclaracion {
    text-align: center;
    font-size: 0.7em;
    font-style: italic;
    color: #c1c1c1;
}

.aclaracionMobile {
    display: none;
    text-align: center;
    font-size: 0.7em;
    font-weight: bold;
}


/*---MOBILE---*/
#mobileCover {
    display: none;
    height: 85vh;
}

.blurCover {
    background: url(../../Images/cfi_cover_blurred.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-filter: blur(1rem);
    filter: brightness(60%);
    height: inherit;
    overflow: hidden;
}

.mobileCoverItem {
    z-index: 10;
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.mobileCoverSlogan {
    font-size: 1.5em;
    color: white;
    text-align: center;
    width: 80%;
    top: 62%;
    left: 50%;
}

.mobileCoverButton {
    width: auto;
    white-space: nowrap;
    border-radius: 20px;
}

.logo-carousel-overlay {
    background: url('../images/logo_cfi_transparente2.png') top left no-repeat;
    width: 260px;
    position: absolute;
    z-index: 10;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/*---/MOBILE---*/

#informativa {
    background: url("../../Images/aboutbackground-salon.jpg") center top no-repeat scroll;
    background-size: cover;
    padding: 60px 0 40px 0;
    position: relative;
}


#informativa::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgb(56,94,157);
    background: linear-gradient(180deg, rgba(56,94,157,0.70) 0%, rgba(130,73,108,0.6) 50%, rgba(203,51,59,0.70) 100%);
}


/*--BOLETIN FEDERAL--*/

#boletinFederalContainer {
    background-color: #cb333b;
    border: 1px solid #58585861;
    box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 1.2em;
}

#boletinFederalContainer h3 {
    margin: 0;
    font-size: 2em;
    padding: 0.3em;
    color: white;
    text-align: center;
    background-color: #a01920;
}

#boletinFederalContainer hr {
    margin: 0;
    border-color: #8c2c31;
}

#boletinFederalContainer p {
    margin: 0;
    color: white;
    text-align: center;
    padding: 0.8em;
    font-weight: 800;
}

#boletinFederalContainer h3 + p {
    font-weight: 300;
}

#boletinFederalContainer a {
    font-size: 0.9em;
    border-radius: 34px;
    margin: 1em;
}

#boletinFederalContainer a:hover {
    background-color: #14284a;
    border-color: #0a111d;
}


/*--/BOLETIN FEDERAL--*/
/*--/About*/
#mainNav {
    position: fixed;
}

nav.navbar.solid {
    transition: 500ms ease;
    background-color: #000 !important;
}

.image-container-overlay {
    position: relative;
}

.marketing-funciones-body {
    text-align: justify;
    font-size: .8em;
}

.index-header {
    font-weight: 300;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

/*FUNCIONES*/

.funciones-icon {
    margin: 0.8em;
    width: 5rem;
    float: left;
}

.list-item {
    transition: 0.1s;
    font-size: 0.8em;
}

.list-item:hover {
    color: white;
    background-color: #17a2b8;
    transform: translateX(1.2rem);
}

/*SECTION*/
.section {
    margin-bottom: 1.2em;
    background-color: #fbfbfb;
    border: 1px solid #30528a;
    box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.1);
}

.section-header {
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    background-color: #385e9d;
}

.section-header p {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.section-content {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-content > .novedades {
    height: 500px;
}

.novedad {
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: all .2s;
}

.novedad:hover {
    box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.1);
    transform: translateX(0.3em);
    border: 1px solid #b1b1b1;
    transition: all .2s;
}

.novedad-date {
    font-size: 0.6em
}

.novedad .card-title {
    font-weight: 800;
    color: #2550b0;
}

.novedad .card-subtitle {
    font-size: 0.7em;
    text-align: justify;
}

.novedad .card-text {
    margin-top: 1em;
    font-size: 0.7em;
    color: #c5c5c5;
    overflow: hidden;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/*--MODAL--*/

.modal-open {
    padding-right: 0px !important; /*Evita el problema del modal que agrega padding al body sin razon*/
}

.modal-body {
    max-height: 65vh;
    overflow: auto;
    overflow-x: hidden;
}

.modal-header {
    background-color: #cb333b;
    color: white;
}

.modal-novedad-title {
    font-weight: 900;
    font-size: 1em;
}

.modal-novedad-date {
    font-size: 0.7em;
    text-align: right;
}

.modal-novedad-subtitle {
    font-size: 0.8em;
    margin-top: 0.5em;
    font-weight: 700;
}

.modal-novedad-synthesis {
    font-size: 0.7em;
    margin-top: 0.7em;
    text-align: justify;
}

.modal-novedad-links {
    padding-top: 0.8em;
    padding-bottom: 0.8em;
}

.modal-novedad-external-link {
    float:right;
    font-size: 0.8em;
}

.modal-novedad-external-link:before {
    font-size: 0.8em;
}

.modal-novedad-external-link:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f0c1";
    font-weight: 900;
    margin-right: 0.5em;
}

/*--/MODAL--*/

input[class='toggle'] {
    display: none;
}

.lbl-toggle {
    display: block;
    cursor: pointer;
}

.lbl-toggle:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f053";
    float: right;
    -moz-transition: all .1s linear;
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
    font-weight: 900;
}

.lbl-toggle.active:before {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.lbl-toggle:hover {
    background-color: #b11b23;
}

.collapsible-content {
    max-height: 0px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 400px;
}

.autoridad {
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    width: 75%;
    transition: all .2s;
    margin-top: .5rem;
    height: 90%;
    padding: 1rem;
    text-align: center;
    background-color: #f7f7f7;
}

.autoridad-title {
    font-weight: 600 !important;
    text-align: center;
}

.autoridad-nombre {
    text-align: center;
}

.autoridad-cargo {
    font-weight: 300;
    text-align: center;
}

.autoridades-table {
    font-size: 0.8em;
}

#tblPlenarioRepresentantes td:nth-child(1),
#tblComiteEjecutivo td:nth-child(1),
#tblAdministracion td:nth-child(1) {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    vertical-align: middle;
}

.col-left-border {
    border-left: 1px solid #ccc;
}

/*RESOLUCIONES*/
#busquedaResoluciones label {
    font-size: 0.8em;
}