/*
Theme Name: RMCR
Description: Real Maestranza de Caballeria de Ronda
Author: Enfoque SI
Author URI: https://www.enfoque-si.com
Template: hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

html {
    background-color: #D6D6D6;
    text-align:center;
    --max-width: 1440px;
}
body {
    /*max-width: 1440px!important;*/
    max-width: var(--max-width)!important;
    margin-left: auto!important;
    margin-right: auto!important;
    text-align: left;
}
/*#616161*/
.filterGray {
    /*filter: invert(43%) sepia(0%) saturate(612%) hue-rotate(159deg) brightness(85%) contrast(92%);*/
    filter: invert(40%) sepia(0%) saturate(0%) hue-rotate(178deg) brightness(94%) contrast(94%);
}
/*#D6D6D6*/
.filterLightGrey {
    /*filter: invert(70%) sepia(64%) saturate(0%) hue-rotate(230deg) brightness(109%) contrast(93%);*/
    filter: invert(0%) sepia(6%) saturate(67%) hue-rotate(257deg) brightness(108%) contrast(68%);
}

.textRed .elementor-button-link,
.textRed .elementor-button-text {
    color: #D32F40;
    text-decoration: none !important;
}
.textRed .elementor-button-link:hover{
    background-color:#EAECEE !important;
    color:#003a78 !important;
}

.rmcrDate {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 13.2203px;
    line-height: 15px;
    color: #003A78;
}


/*
.elementor-nav-menu--dropdown,
.elementor-nav-menu__container
*/
#mainMenu .elementor-menu-toggle__icon--close {
    -webkit-transform:rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
#mainMenu nav {
    width:100vw;
    margin-left: -30px;
    max-width: var(--max-width);
    height: 0px;
    max-height:9999px;
    padding: 30px 0px 30px 0px;
}
#mainMenu .elementor-menu-toggle.elementor-active ~ nav {
    height: 99999px;
}
#mainMenu nav::before {
    content: "Real Maestranza de Caballería de Ronda";
    color: #616161;
    font-family: "Abril Display";
    font-size: 1.9vw;
    font-weight: 400;
    text-align:center;
    display:block;
    padding-bottom: 30px; /*60px;*/
}

/*#mainMenu nav ul {
    padding-left: 40%;
}*/
#mainMenu nav ul a {
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none !important;
    justify-content: center;
}
#mainMenu nav ul a:hover {
    color:#D32F40 !important;
}
#mainMenu nav ul a.elementor-item-active {
    color:#003A78 !important;
}

@media only screen and (max-width: 750px) {
    #mainMenu nav::before,
    #mainMenu nav ul a {
        font-size: 4vw;
    }
}
/*@media only screen and (max-width: 400px) {
    #mainMenu nav::before {
        font-size: 4.5vw;
    }
    #mainMenu nav ul { padding-left:20%; }
    #mainMenu nav ul a {
        font-size: 4vw;
        line-height: 1;
    }
}*/
/*
@media only screen and (min-width: 650px) {
    #mainMenu i::after {
        content: 'MENU';
        font-size: 0.8rem;
        padding-left: 20px;
    }
}
*/
/*
#mainMenu i::before_ {
    content: '\e816';
    font-size: 1.1rem;
}
*/

.elementor-social-icon svg {
    font-size: 20px;
    line-height:20px;
    margin:6px;
    filter: invert(0%) sepia(6%) saturate(67%) hue-rotate(257deg) brightness(108%) contrast(68%);
}

.elementor a:not(.tag-cloud-link) {
    color:inherit;
    text-decoration: underline !important;
}
.elementor a:hover {
    color: #D32F40;
    text-decoration: none !important;
}
.imagen-fit-cover,
.imagen-cabecera img{
    object-fit: cover;
}

.link-text a {
    text-decoration: underline !important;
}
.link-text a:hover {
    text-decoration: none !important;
    color: #fff !important;
}

.link-change-language a {
    text-decoration: none !important;
    color: #616161 !important;
}
.link-change-language a:hover {
    text-decoration: underline !important;
    color: #616161 !important;
}

/*
*[class*="active"] .elementor-button {
    background-color: #D6D6D6 !important;
}
*/

header .elementor-button {
    padding: 12px 24px !important;
    border: none !important;
    background-color: transparent !important;
}
header .elementor-item,
header .elementor-button-link {
    font-size: 0.8rem;
    color: #616161 !important;
    text-decoration: none !important;
}
header .elementor-item:hover,
header .elementor-button-link:hover {
    text-decoration: none !important;
    color: #003a78 !important;
}
.elementor-button,
.elementor-button-link,
.button-rmcr a,
.buttonRMR a,
.buttonRMRborder a,
.submit {
    margin: 10px 20px 10px 20px !important;
    padding: 0.76rem 3rem !important;
    border: 1px solid #616161 !important;
    border-radius: 51px !important;
    background-color: rgb(255, 255, 255)!important;
    color: rgb(97, 97, 97)!important;
    font-family: "abril", sans-serif!important;
    display: block !important;
    text-decoration: none !important;
}
.elementor-button:hover,
.elementor-button-link:hover,
.button-rmcr a:hover,
.buttonRMR a:hover,
.buttonRMRborder a:hover,
.submit:hover {
    color: #003A78!important;
    background-color: #EAECEE !important;
}
.buttonRMR.hoverSilver a:hover {
    background-color: #EAECEE!important;
}
.buttonRMRborder a {
    border: 1px solid #616161;
}
.buttonRMR .elementor-button-text div {
    font-family: aeonik;
    font-size: 136%; /*1.5rem;*/
    font-style: normal;
    margin: 0.6rem auto;
}
.button-video img {
    border-radius: 51px !important;
    background-color: #ffffff;
    cursor:pointer;
    width:130px!important;
    height:40px!important;
}
.button-video img:hover {
    background-color: #EAECEE;
}

#link-cabecera-entradas:hover{
    background-color: transparent !important;
}

#link-cabecera-entradas svg:hover {
  fill: #003A78 !important;
}

/*
.marginSection {
    margin: 60px 13.8% 60px 13.8% !important;
}
@media only screen and (max-width: 400px) {
    .marginSection {
        margin: 60px 5% 60px 5% !important;
    }
}
*/

.elementor-post__meta-data {
    margin: auto 7% auto 7%;
    padding: 15px 0px 15px 0px!important;
}
.elementor-post-author {
    float:left;
    text-transform: uppercase;
}
.elementor-post-date {
    float:right;
    font-style: italic;
}


/************************/
/* WIDGET RMR ELEMENTOR */
/************************/

/* CARD IMAGE VERTICAL */
.elementor-widget-card-image-vertical{
    display: flex;
    height: 100%;
}
.card-image-vertical {
    display:flex;
    flex-direction: column;
    height: 100%;
    font-family: 'aeonik';
    font-style: normal;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    color: #353535;
    background-color: #FFFFFF;
}
.card-image-vertical .image {
    max-width: 100%;
    max-height: 100%;
}
.card-image-vertical .title {
    margin:0;
    padding: 1.14rem 1.75rem 0.411rem 1.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-transform: uppercase;
    max-width: 100%;
}

.card-image-vertical .content {
    flex-grow: 1;
    padding: 0rem 1.75rem 0rem 1.75rem;
    font-weight: 400;
}
.card-image-vertical .button {
    margin: 0.535rem auto 1.435rem auto;
    padding: 1rem 3.5rem;
    background: #FFFFFF;
    border: 0.886792px solid #616161;
    border-radius: 51.434px;
    color: #616161 !important;
    text-decoration: none !important;
    font-family: 'Abril Display';
    font-style: normal;
    font-weight: 400;
    font-size: 0.997rem;
    line-height: 1; /*1.1875px;*/
    text-align: center;
}
.card-image-vertical .button:hover {
    color: #003a78 !important;
    background-color: #EAECEE !important;
}

/* CARD IMAGE HORIZONTAL */
.elementor-widget-card-image-horizontal{
    display: flex;
}
.elementor-widget-card-image-horizontal > div:first-child {
    width: 100%;

}
.card-image-horizontal {
    display:flex;
    flex-direction: row;
    align-items: stretch;
    font-family: 'aeonik';
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    color: #353535;
    background-color: hsl(0, 0%, 100%);
}
.card-image-horizontal img{
    width: 38%;
    min-width: 38%;
    overflow: hidden;
    object-fit: cover;
    height: 100%;
}
.card-image-horizontal .content {
    box-sizing:border-box;
    display:flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
    padding: 2rem;
}
.card-image-horizontal .title{
    width:100%;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25rem;
}
.card-image-horizontal .text {
    width:100%;
}

.card-image-horizontal .button {
    margin: 0.535rem 0 0 0;
    padding: 1rem 3.5rem;
    background: #FFFFFF;
    border: 0.886792px solid #616161;
    border-radius: 51.434px;
    color: #616161 !important;
    text-decoration: none !important;
    font-family: 'Abril Display';
    font-style: normal;
    font-weight: 400;
    font-size: 0.997rem;
    line-height: 1; /*1.1875px;*/
    text-align: center;
}
.card-image-horizontal .button:hover {
    color: #003a78 !important;
    background-color: #EAECEE;
}

@media only screen and (max-width: 1024px) {
    .card-image-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-image-horizontal img,
    .card-image-horizontal .content {
        min-width:100%;
        height: auto;
        align-items:center;
    }

}

.elementor-widget-card-publication{
    display: flex;
    height: 100%;
}
.elementor-widget-card-publication > div:first-child {
    width: 100%;
    height: 100%;
}
.card-image-publication {
    display:flex;
    height: 100%;
    flex-direction: row;
    align-items: stretch;
    font-family: 'aeonik';
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.025em;
    background: #FFFFFF;
    color: #616161;
}
.card-image-publication img {
    width: 181px;
    min-width: 181px;
    overflow: hidden;
    object-fit: contain;
    align-self: flex-start;
}

.card-image-publication .content {
    box-sizing:border-box;
    display:flex;
    flex-direction: column;
    align-items: left;
    height: 100%;
    padding: 21px;
}
.card-image-publication .title {
    width:100%;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 20px;
}
.card-image-publication .text {
    margin-top: 1.5rem;
    height: 99%;
}
.card-image-publication hr {
    margin-top: 1rem !important;
    width: 100%;
    border: 0px;
    border-top: 0.5px solid #C4C4C4;
}
.card-image-publication .year {
    font-style: italic;
    font-size: 11px;
    line-height: 18px;
    letter-spacing: 0.025em;
}

@media only screen and (max-width: 767px) {
    .card-image-publication {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-image-publication img,
    .card-image-publication .content {
        min-width:100%;
        height: auto;
    }
    .elementor-nav-menu__align-right .elementor-nav-menu, .elementor-nav-menu__align-right .elementor-nav-menu--layout-vertical>ul>li>a { justify-content: center !important;}
}

/* CATEGORIAS */
.cat-item a{
    text-decoration: none !important;
}
.cat-item a:hover {
    color: #003A78!important;
}

/* NUBE DE ETIQUETAS */
.tag-cloud-link{
    color: rgb(97, 97, 97);
    font-size:0.8rem !important;
    border: 1px solid #616161;
    padding: 5px 8px;
    border-radius: 0.9rem;
    line-height: 2.2rem;
    text-decoration: none !important;
    white-space: nowrap;
}
.tag-cloud-link:hover
{
    color: #003A78!important;
    background-color: #EAECEE !important;
}


/* COMÚN A TODOS */
.card-image-vertical a,
.card-image-horizontal a,
.card-image-publication a {
    text-decoration: underline !important;
}
.card-image-vertical a:hover,
.card-image-horizontal a:hover,
.card-image-publication a:hover {
    text-decoration: none !important;
}

