/*----------------------------------------------------------------------------------------
    Contiene:

    + Breadcrumb
    + Card
    + Personal card
    + card deslizante
    + Sombras (z-depth)
    + Bs-callout
    + Cajas modales (modal)
    + Caja emergente
    + Formularios (estilos generales)
    + Barra Debug
    + Tab
    + Panel
    + Listado de items
    + Galeria de imagenes
    + TinyMCE
----------------------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------------------
    Igualar altura de capas bootstrap
----------------------------------------------------------------------------------------*/

@media (min-width: 0px) and (max-width: 767px) {
  .fsi-row-xs-level {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .fsi-row-sm-level {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .fsi-row-md-level {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (min-width: 1200px) {
  .fsi-row-lg-level {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}


/*----------------------------------------------------------------------------------------
    Breadcrumb
----------------------------------------------------------------------------------------*/

#breadcrumb {
    width: 100%;
    position: relative;
    background: #fff;
    padding: 8px;
    overflow: hidden;
    font-size: 1.3rem;
    border-bottom: solid 1px #ddd;
}

#breadcrumb.menu_fijo {
    position: fixed;
    top: 110px;
    z-index: 80;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

#breadcrumb .breadcrumb {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
    color: #999;
    display: inline-block;
    font-weight: 400;
}

#breadcrumb .container-fluid {
    width: 85%;
    margin: 0 auto;
}

#breadcrumb .breadcrumb li {
    color: #999;
    font-family: 'Roboto';
}

#breadcrumb .breadcrumb li:first-child {
    color: #999;
}

#breadcrumb .breadcrumb li:first-child:before {
    content: '/ ';
}

#breadcrumb .breadcrumb > li + li::before {
    padding: 0;
}

#breadcrumb .breadcrumb li a {
    color: #cb2124;
}

#breadcrumb button.btn-volver {
    float: right;
    font-size: 1.3rem !important;
    padding: 1px 10px;
    border-radius: 2px;
}

@media (max-width: 992px) {
    #breadcrumb .container-fluid {
        width: 90%;
    }
}

@media (max-width: 768px) {
    #breadcrumb .container-fluid {
        width: 100%;
    }
}


/*----------------------------------------------------------------------------------------
    CARD
----------------------------------------------------------------------------------------*/

.card {
    position: relative;
    border-radius: 2px;
    background: #fff;
    margin: 0rem 0 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    overflow: hidden;
    transition: box-shadow 0.25s ease 0s;
}

.card .card-image {
    position: relative;
}

.card .card-image img {
    position: relative;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    display: block;
    width: 100%;
    border-radius: 2px 2px 0 0;
}

.card .card-title {
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    margin-bottom: 20px;
}

.card .card-content {
    padding: 20px;
    border-radius: 0 0 2px 2px;
    overflow: hidden;
    font-weight: 300;
}

.card .card-action {
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    padding: 5px;
    text-align: right;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    overflow: hidden;
}

.card .card-content .card-block {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 20px 20px;
    clear: both;
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: solid 1px #ddd;
}

.card .card-content .card-block:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}


/** card-inverse **/

.card.card-inverse {
    background: #cb2124;
}

.card.card-inverse .card-title {
    color: #fff;
}

.card.card-inverse .card-content {
    color: #fff;
}

.card.card-inverse .card-action {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .card .card-title {
        font-size: 1.7rem;
        line-height: 2.3rem;
    }
}


/*----------------------------------------------------------------------------------------
    Ejemplo de CARD con VIDEO de YOUTUBE
    ---------------------------------------------

    <div class="card z-depth-1">
        <div class="embed-responsive embed-responsive-16by9">
            <iframe class="embed-responsive-item" src="//www.youtube.com/embed/ePbKGoIGAXY?modestbranding=1&rel=0&controls=0&showinfo=0&html5=1&autoplay=1"></iframe>
        </div>
        <div class="card-content">
            <div class="card-title">Título</div>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
        </div>
        <div class="card-action">
            <button class="btn flat-buttons btn-default">Acción</button>
       </div>
    </div>

----------------------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------------------
    PERSONAL CARD
    ---------------------------------------

    <div class="personal-card">
        <div class="card-heading" style="background-image:url(imagen_fondo.jpg);"></div>
        <div class="card-content">
            <img src="imagen_perfil.jpg" class="card-img" alt="Nombre perfil">
            <div class="card-title">Nombre perfil</div>
            Contenido del perfil...
        </div>
    </div>
----------------------------------------------------------------------------------------*/

.personal-card {
    position: relative;
    border-radius: 2px;
    background: #fff;
    margin: 0rem 0 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    overflow: hidden;
    transition: box-shadow 0.25s ease 0s;
}

.personal-card .card-heading {
    background-size: cover;
    background-position: 50% 50%;
    height: 100px;
}

.personal-card .card-heading.card-heading-lg {
    height: 180px !important;
}

.personal-card .card-heading.card-heading-md {
    height: 140px !important;
}

.personal-card .card-heading.card-heading-sm {
    height: 120px !important;
}

.personal-card .card-heading.card-heading-xs {
    height: 100px !important;
}

.personal-card .card-content {
    text-align: center;
    padding: 20px;
    font-weight: 400;
}

.personal-card .card-content img.card-img {
    border: solid 3px #fff;
    border-radius: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    margin-bottom: 10px;
    margin-top: -70px;
    max-width: 100px;
    background: #fff;
}

.personal-card .card-content .card-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Roboto Condensed';
    margin-bottom: 15px;
}

.personal-card .card-action {
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    padding: 5px;
    text-align: right;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    overflow: hidden;
}


/*----------------------------------------------------------------------------------------
	SLIDING CARD
	---------------------------------------------

	<div class="sliding-card z-depth-1">
		<div class="card-image activador">
			<img src="img/fondo.jpg">
		</div>
		<div class="card-content">
			<div class="card-title activador">Titulo del card<code class="material-icons pull-right">more_vert</code></div>
			<p>Texto corto.</p>
		</div>
		<div class="card-large-content">
			<div class="card-title">Titulo del card<code class="material-icons pull-right">close</code></div>
			<p>Texto extendido...</p>
			<div class="card-action">
				<button class="btn btn-secondary flat-buttons">ACCION 2</button>
				<button class="btn btn-default flat-buttons">ACCION 1</button>
			</div>
		</div>
	</div>
----------------------------------------------------------------------------------------*/

.sliding-card {
    position: relative;
    border-radius: 2px;
    background: #fff;
    margin: 0rem 0 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.sliding-card .card-image,
.sliding-card .card-image-lg,
.sliding-card .card-image-md,
.sliding-card .card-image-sm,
.sliding-card .card-image-xs {
    background-size: cover;
    background-position: 50% 50%;
    cursor: pointer;
    height: 300px;
    overflow: hidden;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0) inset;
    transition: all .5s;
}

.sliding-card .card-image:hover,
.sliding-card .card-image-lg:hover,
.sliding-card .card-image-md:hover,
.sliding-card .card-image-sm:hover,
.sliding-card .card-image-xs:hover {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, .8) inset;
}

.sliding-card .card-image-lg {
    height: 400px !important;
}

.sliding-card .card-image-md {
    height: 300px !important;
}

.sliding-card .card-image-sm {
    height: 200px !important;
}

.sliding-card .card-image-xs {
    height: 100px !important;
}

.sliding-card .card-title {
    font-size: 1.8rem;
    line-height: 2.3rem;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    margin-bottom: 1.2rem;
    cursor: pointer;
}

.sliding-card .card-content {
    padding: 20px;
    border-radius: 0 0 2px 2px;
    overflow: hidden;
    font-weight: 300;
}

.sliding-card .card-large-content {
    position: relative;
    display: none;
    padding: 20px;
    font-weight: 300;
    z-index: 10;
    background: #fff;
}

.sliding-card .card-action {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-left: -20px;
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    padding: 5px;
    text-align: right;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    overflow: hidden;
}

@media (max-width: 768px) {
    .sliding-card .card-title {
        font-size: 1.7rem;
        line-height: 2.3rem;
    }
    .sliding-card .card-content {
        font-size: 1.2rem;
    }
    .sliding-card .card-large-content {
        font-size: 1.2rem;
    }
}


/*----------------------------------------------------------------------------------------
	Sombras
----------------------------------------------------------------------------------------*/

.z-depth-0 {
    box-shadow: none !important;
}

.z-depth-1 {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2) !important;
    transition: all .3s;
}

.z-depth-2 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2) !important;
    transition: all .3s;
}

.z-depth-3 {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3) !important;
    transition: all .3s;
}

.z-depth-4 {
    box-shadow: 0 8px 16px rgba(0, 0, 0, .5) !important;
    transition: all .3s;
}

a .z-depth-1:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;
}

a .z-depth-2:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3) !important;
}

a .z-depth-3:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, .5) !important;
}

a.z-depth-1:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;
}

a.z-depth-2:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3) !important;
}

a.z-depth-3:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, .5) !important;
}


/*----------------------------------------------------------------------------------------
	Material icons
----------------------------------------------------------------------------------------*/

.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}


/* Para usar iconos oscuros sobre fondos claros */

.material-icons.md-dark {
    color: rgba(0, 0, 0, 0.54);
}

.material-icons.md-dark.md-inactive {
    color: rgba(0, 0, 0, 0.26);
}


/* Para usar iconos blancos sobre fondos oscuros */

.material-icons.md-light {
    color: rgba(255, 255, 255, 1);
}

.material-icons.md-light.md-inactive {
    color: rgba(255, 255, 255, 0.3);
}


/*----------------------------------------------------------------------------------------
	Clases generales de mensajes (BS-CALLOUT)
----------------------------------------------------------------------------------------*/

.bs-callout {
    margin: 2rem 0;
    padding: 2rem;
    font-size: 1.35rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    border-radius: 2px;
    font-weight: 400;
}

.bs-callout h1,
.bs-callout h2,
.bs-callout h3,
.bs-callout h4,
.bs-callout h5 {
    margin: 0;
}

.bs-callout code,
.bs-callout .highlight {
    background-color: #fff;
}

.bs-callout-error {
    background-color: #EE6E73;
    color: #fff;
}

.bs-callout-ok {
    background-color: #26a69a;
    color: #fff;
}

.bs-callout-warning {
    background-color: #ff9900;
    color: #fff;
}

.bs-callout-info {
    background-color: #fdf8ce;
    color: #333;
}

@media (max-width: 768px) {
    .bs-callout {
        font-size: 1.2rem;
    }
}


/*----------------------------------------------------------------------------------------
    Cajas modales
----------------------------------------------------------------------------------------*/

.modal-dialog.modal-xl {
    width: 75%;
}

.modal-content {
    border-radius: 6px 6px 2px 2px !important;
}

.modal-header {
    background-color: #cb2124;
    color: #fff;
    border-radius: 2px 2px 0 0 !important;
}

.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5 {
    margin: 0;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
}

.modal-header .modal-title {
    font-size: 2rem;
    margin: 0;
}

.modal-header .close {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 1px 0 #000;
    opacity: .4;
    filter: alpha(opacity=40);
}

.modal-header .close:hover {
    color: #fff;
    opacity: 1;
    filter: alpha(opacity=100);
}

.modal-body {
    padding: 2.5rem;
    font-weight: 300;
}

.modal-footer {
    padding: 5px;
}

@media (max-width: 768px) {
    .modal-dialog.modal-xl {
        width: 95%;
        margin: 0 auto;
    }
    .modal-header .modal-title {
        font-size: 1.6rem;
    }
    .modal-header .close {
        font-size: 2.2rem;
    }
    .modal-body {
        padding: 2rem;
        font-size: 1.3rem;
    }
    .modal-body ul,
    .modal-body ol {
        padding-left: 2rem;
    }
}


/** modal-pie (caja modal que se muestra en la parte inferior) **/

.modal-pie .modal-dialog {
    width: 100%;
    position: absolute;
    bottom: 0 !important;
    height: 35%;
    overflow-x: none;
    overflow-y: scroll;
    margin: 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, .5);
    background: #fff;
}

.modal-pie .modal-content {
    border-radius: 0 !important;
}

.modal-pie .modal-dialog .modal-header {
    margin: -1px;
    border-radius: 0 !important;
}

.modal-pie.fade {
    bottom: -25%;
    -webkit-transition: opacity 0.3s linear, bottom 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, bottom 0.3s ease-out;
    -o-transition: opacity 0.3s linear, bottom 0.3s ease-out;
    transition: opacity 0.3s linear, bottom 0.3s ease-out;
}

.modal-pie.fade.in {
    bottom: 0;
}


/*----------------------------------------------------------------------------------------
    Cajas modales (EMERGENTE)
----------------------------------------------------------------------------------------*/

#emergente .modal-body {
    padding: 0 !important;
    border-radius: 6px 6px 2px 2px !important;
}

#emergente .modal-title {
    font-size: 2.4rem;
}

#emergente .modal-title a {
    color: inherit;
}

#emergente .modal-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

#emergente .modal-info {
    font-size: 1.4rem;
    padding: 20px;
    color: #333;
}

#emergente .modal-info .resumen {
    font-weight: 400;
    margin-bottom: 20px;
}

#emergente .modal-info .resumen:empty {
    display: none;
}

#emergente .modal-info .texto {
    font-weight: 300;
}

#emergente .modal-info .mas_info a {
    display: block;
    margin-top: 15px;
    color: #cb2124;
}

@media (max-width: 768px) {
    #emergente .modal-title {
        font-size: 1.7rem;
    }
}


/*----------------------------------------------------------------------------------------
    Formularios
----------------------------------------------------------------------------------------*/

.required:after {
    content: "*";
    margin-left: 4px;
}

span.texto_hidden {
    display: inline-block;
    min-height: 27px;
    padding-top: 7px;
    color: #666;
}

.form-group label {
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.5rem;
}

input[type="file"].form-control {
    height: inherit;
}

.form-horizontal .checkbox .control-label {
    text-align: left;
}


/** Errores **/

.form-control.has-error,
.has-error .form-control {
    background: #fde1df;
    border: none;
    color: #fd322e;
}

.alert.alert-danger {
    background: #fde1df;
    border: none;
    border-radius: 2px;
    font-size: 1.35rem;
    padding: 10px;
    color: #a94442;
    margin-top: 5px;
    display: inline-block;
}

.has-error .help-block .glyphicon {
    color: #EE6E73;
}


/** Estilos para los input, select, textarea,... **/

.form-control {
    border-radius: 2px !important;
    box-shadow: none !important;
}

.help-block {
    font-family: 'Roboto Condensed';
    margin-bottom: 0;
    font-weight: 300;
    color: #999;
    font-size: 1.45rem;
}

.help-block .glyphicon {
    color: #999;
}


/** Estilos para los campos de fecha **/

form span.fecha {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
}

.es_campo_fecha {
    display: inline-block;
    width: 80%;
}

.ui-datepicker-trigger {
    margin-left: 10px;
    cursor: pointer;
}

.campo_fecha .ico_calendario {
    font-size: 14px;
    background: #cb2124;
    border: solid 1px #cb2124;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
}

.campo_fecha .ico_calendario:hover {
    background: #a81d24;
}

.campo_fecha .ico_calendario.disabled {
    background: #bbb;
    cursor: default;
    border: solid 1px #bbb;
    cursor: not-allowed;
}


/** Estilos para campos File **/

.group-span-filestyle label.btn {
    font-size: 1.5rem !important;
}

.group-span-filestyle label .glyphicon {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .form-group label {
        font-size: 1.25rem;
    }
    .help-block {
        font-size: 1.2rem;
    }
}


/** Estilos para buscador interactivo **/

.buscador_interactivo {
    position: relative;
    z-index: 2;
}

.resultados_buscador_interactivo {
    position: absolute;
    width: 100%;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, .1);
    z-index: 2;
}

.resultado_buscador_interactivo {
    padding: 5px;
    background: #fec514;
    border: solid 1px #d0d0d0;
    cursor: pointer;
    border-top: none;
}

.resultado_buscador_interactivo:hover {
    background: #cb2124;
    color: #fff;
}

.resultado_buscador_interactivo:first-child {
    border-top: solid 1px #d0d0d0;
}

.resultados_buscador_interactivo + #ayuda_id_poblacion {
    z-index: 1;
}

.capa_buscador_interactivo .ico_cancelar {
    cursor: pointer;
}

.capa_buscador_interactivo .ico_cancelar:hover {
    color: #8F0000;
}

.has-error .capa_buscador_interactivo .ico_cancelar {
    border: none;
    background: #8F0000;
    color: #fff;
}


/*----------------------------------------------------------------------------------------
    Barra DEBUG
----------------------------------------------------------------------------------------*/

.debug {
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .1);
    background: #fff;
    padding: 2px;
    overflow: auto;
    z-index: 10000;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: solid 1px #ccc;
    max-height: 500px;
    opacity: 1;
}

.debug:hover {
    opacity: 1;
}

.debug .boton {
    background-color: #63BD66;
    color: #FFF;
    padding: 10px;
    display: inline-block;
    cursor: pointer;
    font-size: 11px;
}

.debug .boton:hover {
    background-color: #63B5E8;
}

.debug .aviso_vg {
    background-color: #E0DAD2;
    color: red;
    padding: 10px;
    display: inline-block;
    cursor: default;
    font-size: 11px;
}

.debug #debug_error_php,
.debug #debug_consulta_sql,
.debug #debug_error_sql,
.debug #debug_consola {
    display: none;
    margin: 15px;
}

.debug .rojo {
    background: red;
}

.debug .verde {
    background: green;
}

.debug .error_debug {
    border-bottom: 1px solid #f0f0f0;
    padding: 5px;
}

.debug .error_debug:before {
    content: '»';
}

.debug #debug_consulta_sql div {
    border: 1px solid #f0f0f0;
    margin: 5px 0;
    padding: 5px;
}

.debug #debug_consulta_sql div:hover {
    background-color: #F7FCDE;
}


/*----------------------------------------------------------------------------------------
    Tabs
----------------------------------------------------------------------------------------*/

.nav-tabs {
    background-color: #fff;
    /*box-shadow:0 1px 1px rgba(0,0,0,.1);*/
}

.nav-tabs > li {
    transition: all .3s;
    border-bottom: solid 4px transparent;
}

.nav-tabs > li a {
    color: #cb2124;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    font-size: 1.8rem;
    border: none;
    border-radius: 0;
    transition: all .3s;
}

.nav-tabs > li.active {
    border-bottom: solid 3px #a81d24;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: none;
    color: #cb2124;
    text-decoration: none;
}

.nav-tabs > li > a:hover {
    background-color: transparent;
    color: #a81d24;
}

.tab-content {
    padding-top: 20px;
}

@media (max-width: 768px) {
    .nav-tabs > li a {
        font-size: 1.4rem;
    }
}


/*----------------------------------------------------------------------------------------
	Panel
----------------------------------------------------------------------------------------*/

.panel-default > .panel-heading {
    background: #cb2124;
    color: #fff;
    font-family: "Roboto Condensed";
    font-size: 1.7rem;
}

.panel-default > .panel-heading h3 {
    font-family: 'Roboto Condensed';
    font-weight: 400;
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .panel-default > .panel-heading .material-icons {
        font-size: 1.9rem;
    }
    .panel-default > .panel-heading h3 {
        font-size: 1.5rem;
    }
}


/*----------------------------------------------------------------------------------------
    Listado de items
----------------------------------------------------------------------------------------*/

.formato-item-listado {
    padding: 20px 0;
    border-bottom: solid 1px #ddd;
}


/*----------------------------------------------------------------------------------------
    Galeria de imagenes
----------------------------------------------------------------------------------------*/

.gallery-container {
    display: inline-block;
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-container .gallery-image {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 75%;
    transform: rotate(0deg) scale(1);
    transition: all .5s;
}

.gallery-container:hover .gallery-image {
    transform: rotate(5deg) scale(1.2);
}

.gallery-container .gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(143, 0, 0, 0);
    opacity: 0;
    filter: alpha(opacity: 0);
    transition: all .5s;
}

.gallery-container:hover .gallery-content {
    background-color: rgba(42, 105, 148, .6);
    opacity: 1;
    filter: alpha(opacity: 100);
}


/** gallery-action **/

.gallery-container .gallery-content .gallery-action {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 4rem;
    transition: top .5s;
}

.gallery-container:hover .gallery-content .gallery-action {
    top: 40%;
}


/** gallery-text **/

.gallery-container .gallery-content .gallery-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
    transition: bottom .5s;
}

.gallery-container:hover .gallery-content .gallery-text {
    bottom: 0;
}

@media (max-width: 1200px) {
    .gallery-container:hover .gallery-content .gallery-action {
        top: 35%;
    }
    .gallery-container .gallery-content .gallery-text {
        display: none;
    }
}

@media (max-width: 992px) {
    .gallery-container .gallery-content .gallery-action {
        font-size: 3rem;
    }
}


/*----------------------------------------------------------------------------------------
    TinyMCE
----------------------------------------------------------------------------------------*/

.contenido_tinymce img {
    max-width: 100% !important;
    height: inherit !important;
}
