/*
  njra-layout.css    -    Layout for actidea.es/nochesalcazar2025
--------------------------------------------------------------------------------------------------------*/

/*
  CSS VARIABLES
--------------------------------------------------------------------------------------------------------*/
:root {
  --jardines-article-marginTop: calc(100vh - 130px);
}
/*
  UTILS
--------------------------------------------------------------------------------------------------------*/
.clear {
  clear: both;
}
:focus {
  outline: none;
}
img {
  border: none;
}
a img {
  border: none;
}
p img {
  padding: 0;
  max-width: 100%;
}
.valignM {
  vertical-align: middle;
}
error {
  margin: 20px;
  display: block;
  border: 1px dotted #565656;
  position: relative;
  z-index: 2000;
}
#codeigniter_profiler {
  position: relative;
  z-index: 200;
}
.spectrum.sp-container {
  left: 400px;
  top: 200px;
}
.spectrum.sp-container.cp-open {
  left: 400px;
  top: 200px;
}

/*
  HTML BODY
--------------------------------------------------------------------------------------------------------*/
/*body {background-color: transparent;}*/
/*html {background: black;}*/
html,
body {
  margin: 0;
  padding: 0;
  text-align: center;
  height: auto;
  min-height: 100%;
}
html {background-color: black;background-size: cover;}
body {background-color: transparent;}
/*
  SITE-WRAPPER
--------------------------------------------------------------------------------------------------------*/
.site-wrapper {
  margin: 0 auto 0 auto;
  padding: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  height: auto;
}
header,
nav,
article,
footer {
  display: block;
  position: relative;
  padding: 0 4px;
}
article {
  padding: 0 8px;
}

/*
  HEADER
--------------------------------------------------------------------------------------------------------*/
header {
  background: var(--header-background);
  margin: 0 auto 0 auto;
  height: auto;
}
header {
  left: 0;
  right: 0;
  top: 0;
  z-index: 22000;
}
header > p > a {
  max-width: 48%;
}

body.home header {
  background: var(--home-header-background);
}

#njrapatronato {
  padding: 0;
  width: 84px;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 21000;
    margin-top:6px;
}
.site-logo>img {
  width: 104px;
  height: auto;
}
#ls1 {
  left: 24px;
  top: 24px;
  width: 36px;
  height: 10px;
}
#ls2 {
  left: 50px;
  top: 34px;
  width: 10px;
  height: 32px;
}
#ls3 {
  left: 24px;
  top: 56px;
  width: 26px;
  height: 10px;
}
#ls4 {
  left: 24px;
  top: 34px;
  width: 10px;
  height: 22px;
}
#ls5 {
  left: 24px;
  top: 69.8px;
  width: 9.4px;
  height: 41.8px;
}
#ls6 {
  left: 37.2px;
  top: 69.8px;
  width: 8.8px;
  height: 41.8px;
}
#ls7 {
  left: 50.9px;
  top: 69.8px;
  width: 9px;
  height: 41.8px;
}
#ls8 {
  left: 33.4px;
  top: 69.8px;
  width: 3.8px;
  height: 9.8px;
}
#ls9 {
  left: 46px;
  top: 101.8px;
  width: 4.4px;
  height: 9.8px;
}

/*
  NAV
--------------------------------------------------------------------------------------------------------*/
nav {
  left: 0;
  right: 0;
  z-index: 22001;
  padding: 4px 0;
  background: transparent;
}

/*
  ARTICLE
--------------------------------------------------------------------------------------------------------*/
article {
  background: var(--main-bg-color);
  overflow: hidden;
  padding-top: 8px;
  padding-bottom: 56px;
  margin-bottom: 100vh;
}
article div.tab {
  margin-bottom: 28px;
}
article.vídeos-2010-2013 img {
  width: 236px;
  height: 162px;
}

/*
  ARTICLE - tweeking by page
--------------------------------------------------------------------------------------------------------*/

body.home article {
  padding: 0 0 0 0;
}
article.home > h1 {
  display: none;
}
article.home p {
  color: var(--main-color);
}
article.home > .mensaje-institucional p {padding: 8px 12px;}

article.home > div.cartelNJRA > h1 {
  margin: 84px 0 124px 0;
  background: black;
  padding: 12px;
  width: fit-content;
}
article.home > div.cartelNJRA {
  display: flex;
  flex-direction: column;
  align-items: center;
}
article.home > p.firma {
  margin-top: 12px;
}
/*body.home .align_R {
  float: none;
  margin: 0;
}*/
p.firma {
  margin-top: 12px;
  text-align: right;
}
p.enlaceVerVideo {
  margin: 24px 12px 0 0;
}
p.enlaceVerVideo > a {
  color: #3fc7f7 !important;
  font-size: 20px;
}

body.descargas---download article {
  min-height: 80vh;
}

article.error404 {
  background: #000000;
  height: 100%;
}
.error404 article p {
  color: #f2f2f2 !important;
}
article.error404 a {
  color: #e07101 !important;
}

article.contacto {
  min-height: 100vh;
}

article.grupos p {
  margin-bottom: 8px;
}

article.video-promocional {
  height: 100%;
}

article.programación div.tab {
  margin-bottom: 48px;
}
article.programación li > p {
  line-height: 1.2em;
}
article.programación li {
  margin-bottom: 8px;
}
article.programación ul {
  margin-bottom: 28px;
}

/*
  FOOTER
--------------------------------------------------------------------------------------------------------*/
footer {
  margin: 0 auto 0 auto;
  padding: 0 8px;
  background: rgba(0, 0, 0, 0.84);
  text-align: left !important;
  clear: both;
  z-index: 21010;
  font-size: 12px;
  line-height: 14px;
}
footer DIV.masArriba {
  padding: 16px 0 0 0;
}
footer DIV.masArriba p {
  padding: 0 0 0 0;
}
footer p {
  padding: 5px 0 5px 0;
  line-height: 16px;
  text-align: left;
}
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}
footer > ul {
  padding: 8px 0 12px 0;
  margin: 0;
}
footer > ul > li {
  display: inline;
}
footer > ul > li:first-child {
  margin-left: 0;
}
.produce {
  margin: 12px 12px 6px 12px;
  position: absolute;
  right: 0;
  bottom: 0;
}
.produce > a > img {
  padding: 6px 0 0 0;
}
footer,
footer p {
  color: rgba(255, 255, 255, 0.8) !important;
}
footer span.edicion16 {
  font-size: 1.2em;
  color: var(--main-title-color);
}
@media screen and (max-width: 769px) {
  footer {
    text-align: center !important;
  }
  footer > ul {
    text-align: center;
    margin-top: 12px;
  }
  footer > ul > li {
    display: block;
    clear: both;
    margin-bottom: 8px;
  }
  footer .separator {
    display: none;
  }
  footer > p > a {
    display: block;
    clear: both;
  }
  footer .produce {
    position: relative;
    float: none;
    margin: 12px auto;
    padding-bottom: 12px;
  }
  footer .masArriba {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
  }
  footer .masArriba p {
    width: 224px;
    text-align: center;
    margin: 0 auto;
  }
}
.produce-y-programa {
  padding-left: 8px;
}

/*
  JARDINES
--------------------------------------------------------------------------------------------------------*/

body.jardines article {
  margin-top: 0;
  animation: slideToBottom 1s forwards;
  animation-delay: 3s;
}

body.jardines footer {
  background: rgba(0, 0, 0, 0.86);
}

body.jardines h1 {
  font-size: 18px;
  line-height: 1;
}

body.jardines .over {
  display: block;
}
body.jardines article {
  background: var(--jardines-bg);
}

/*
  TOC
--------------------------------------------------------------------------------------------------------*/
#toc {
  display: none;
}
#toc {
  float: right;
  text-align: right !important;
  padding: 0 0 20px 148px;
  z-index: 10000;
  top: 0;
  right: 0;
}
#toc h2 {
  font-size: 14px;
  line-height: 16px;
  margin: 0 0 4px 0;
  cursor: pointer;
  font-weight: normal;
  text-transform: none;
}
#toc h2:hover {
  color: var(--toc-hover-color);
}
#toc p {
  text-align: right;
}

ul.otras-ediciones {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
}
ul.otras-ediciones li {
  margin: 10px;
  background: #e6e6e6;
  padding: 1rem 1rem 1rem 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
  text-align: right;
}
ul.otras-ediciones li h2 {
  font-size: 1.4em;
  color: rgba(154, 154, 154, 1);
}
ul.otras-ediciones li a h2 {
  color: rgba(41, 42, 43, 1);
}

/*
  MAIN MENU
--------------------------------------------------------------------------------------------------------*/
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav {
  flex: 1 auto;
}

.mainMenu {
  display: none;z-index: 500009;position:relative;
}

.mainMenu a {
  color: var(--main-color);
  background: var(--main-bg-color);
  display: flex;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px dotted var(--mainMenu-border-color);
  flex-flow: column nowrap;
}

.mainMenu>li>a {
  white-space: nowrap;
}

.mainMenu li {
  flex: 1;
  position:relative;
}

html.no-js ul.jardines,
html.no-js ul.más-información {
  display: block;height:auto;opacity: 1;visibility:visible;
}

/*
  MAIN MENU ON MOBILE SCREENS
--------------------------------------------------------------------------------------------------------*/

.mainMenu li>div {
	display: grid;
	grid-template-rows: 0fr;
	/*transition: grid-template-rows 500ms;*/
	transition: grid-template-rows 500ms, -ms-grid-rows 500ms;
}

.mainMenu li>div.sub-menu-open {
	grid-template-rows: 1fr;
}

.mainMenu ul {
	overflow: hidden;
}

@media only screen and (max-width: 1279px) {

	#show-menu-input-checkbox:checked ~ .mainMenu {
		display: block;
	}
	.mainMenu ul > li > a {
		padding: 0.6rem 1rem;
		background: var(--mainMenu-submenu-bg-color);
		border-bottom: 1px dotted var(--mainMenu-submenu-border-color);
	}

	.mainMenu>li.has-sub-menu>a{
		background:var(--mainMenu-a-has-sub-menu) var(--mainMenu-a-has-sub-menu-url-png)  no-repeat center 100%;
	}

}


/*
  MAIN MENU ON WIDE SCREENS
--------------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 1280px) {
	.mainMenu {
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: flex-start;
		max-height:56px;
		overflow:visible;
	}
	.mainMenu > li > a {
		border-bottom: none;
	}
  .mainMenu li>div>ul {
	  width:100%;
	  min-width:max-content;
  }
  .mainMenu li>div {
	  position:absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 0;
  }
  .mainMenu li>div>ul {
     margin-left: -50%;
  }
	.mainMenu li:hover>div {
		grid-template-rows: 1fr;
	}
}

/*
  MAIN MENU TOGGLE BUTTON
--------------------------------------------------------------------------------------------------------*/

#show-menu-input-checkbox {
  display: none;
}

#main-menu-toggler {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: -50px;
  padding: 24px 8px 24px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (min-width: 1280px) {
	#main-menu-toggler {
		display: none;
	}
}
#main-menu-toggler-icon:after,
#main-menu-toggler-icon:before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
}
#main-menu-toggler-icon:after {
  top: 7px;
}
#main-menu-toggler-icon {
  position: relative;
  display: block;
}
#main-menu-toggler-icon,
#main-menu-toggler-icon:after,
#main-menu-toggler-icon:before {
  width: 100%;
  height: 2px;
  background-color: rgba(222, 222, 222, 1);
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

#show-menu-input-checkbox:checked
  ~ #main-menu-toggler
  > #main-menu-toggler-icon {
  background-color: transparent;
}
#show-menu-input-checkbox:checked
  ~ #main-menu-toggler
  > #main-menu-toggler-icon:before {
  transform: rotate(45deg) translate(5px, 2px);
}
#show-menu-input-checkbox:checked
  ~ #main-menu-toggler
  > #main-menu-toggler-icon:after {
  transform: rotate(-45deg) translate(7px, -5px);
}

/*
  HEADER TWEAKS for screen widths
--------------------------------------------------------------------------------------------------------*/

@media screen and (min-width: 284px) {
  #njrapatronato {
    width: 114px;
  }
  .site-logo>img {
    width: 134px;
  }
  body.jardines article {
    --jardines-article-marginTop: calc(100vh - 130px);
  }
}
@media screen and (min-width: 320px) {
  #njrapatronato {
    width: 144px;
  }
  .site-logo>img {
    width: 174px;
    height: auto;
  }
  body.jardines article {
    --jardines-article-marginTop: calc(100vh - 156px);
  }
}
@media screen and (min-width: 481px) {
  #njrapatronato {
    width: 184px;
  }
  .site-logo>img {
    width: 236px;
  }
  body.jardines article {
    --jardines-article-marginTop: calc(100vh - 166px);
  }
}
@media screen and (min-width: 525px) {
  .site-wrapper {
    width: 90%;
  }
}
@media screen and (min-width: 769px) {
  #njrapatronato {
    width: 204px;
  }
  .site-logo>img {
    width: 280px;
  }
  body.jardines article {
    --jardines-article-marginTop: calc(100vh - 176px);
  }

  .site-wrapper {
    width: 86%;
  }
  body.home .align_R {
    float: right;
    margin: 8px 0 6px 18px;
  }
}
@media screen and (min-width: 961px) {
  #toc {
    display: block;
  }
}
@media screen and (min-width: 1181px) {
  footer {
    position: fixed;
    bottom: 0;
    left: 7%;
    right: 7%;
  }
  body.jardines footer {
    position: relative;
    bottom: unset;
    left: unset;
    right: unset;
  }
}

/*
  IMÁGENES DE FONDO
--------------------------------------------------------------------------------------------------------*/
/*html:after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: -100000;
  background-size: cover;
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
}



html.home:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.programación:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.calendario:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.grupos:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.venta-de-entradas:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.más-información:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.accesibilidad:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.contacto:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}

html.aviso-legal-y-política-de-privacidad:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/1.jpg") no-repeat
    center center;
  background-size: cover;
}*/


/***********************************
 *
 *
 *
 * JARDINES
 *
 *
 * *****************************************/
/*html.jardines:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/13.jpg") no-repeat
    center center;
  background-size: cover;
}
html.galería-de-grutescos:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/7.jpg") no-repeat
    center center;
  background-size: cover;
}
html.jardín-del-cenador-de-la-alcoba:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/6.jpg") no-repeat
    bottom center;
  background-size: cover;
}
html.jardín-de-la-cruz:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/11.jpg") no-repeat
    center center;
  background-size: cover;
}
html.jardín-de-los-poetas:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/5.jpg") no-repeat
    bottom center;
  background-size: cover;
}
html.jardín-del-marqués-de-vega-inclán:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/2.jpg") no-repeat
    center 71%;
  background-size: cover;
}
html.jardín-inglés:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/14.jpg") no-repeat
    54% center;
  background-size: cover;
}
*/
/***********************************
 *
 *
 *
 * MÓVIL
 *
 *
 * *****************************************/
/*
@media screen and (max-width: 769px) {
html.jardines:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg_m//13.jpg") no-repeat
    center center;
  background-size: cover;
}
html.galería-de-grutescos:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg_m//7.jpg") no-repeat
    center center;
  background-size: cover;
}
html.jardín-del-cenador-de-la-alcoba:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg_m//6.jpg") no-repeat
    bottom center;
  background-size: cover;
}
html.jardín-de-la-cruz:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg_m//11.jpg") no-repeat
    center center;
  background-size: cover;
}
html.jardín-de-los-poetas:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg_m//5.jpg") no-repeat
    bottom center;
  background-size: cover;
}
html.jardín-del-marqués-de-vega-inclán:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg_m//2.jpg") no-repeat
    center 71%;
  background-size: cover;
}
html.jardín-inglés:after {
  background: black
    url("https://www.actidea.es/nochesalcazar2025/images/bkg/14.jpg") no-repeat
    54% center;
  background-size: cover;
}
}
*/

/*
  error messages
--------------------------------------------------------------------------------------------------------*/
.cc-revoke,
.cc-window {
  z-index: 49999;
}

/*
  CONTACT FORM
--------------------------------------------------------------------------------------------------------*/


.actidea.cform label {
  color: var(--formLabel-color);
}
.actidea.cform legend {
  color: var(--formLabel-color);
}

.actidea.cform input,
.actidea.cform textarea,
.actidea.cform select {
  color: var(--formLabel-color);
    background-color: var(--formField-color);
  border: 1px solid rgba(255, 255, 255, 0.4);
}


.actidea>.cf-fs1,.actidea>.cf_hidden{
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.actidea.cform fieldset {border: 1px solid rgba(255, 255, 255, 0.4);}
