/*ezkutatu*/
/*#header,*/
/*.site-footer,*/
#block-local-barrio-page-title,
#main-content,
#block-local-barrio-page-title,
#block-mainpagecontent,
.tabledrag-toggle-weight-wrapper,
.field-multiple-drag,
.highlighted #block-languageswitcher{
  display: none;
}
/*egitura*/
/*#page-wrapper *,*/
.highlighted *,
#main-wrapper *{
  padding: 0;
  margin: 0;
}	
.highlighted{
	margin-bottom: 0 !important;
}
.site-footer{
	margin-block-start:0 !important;
}
#main{
	max-width: 100%;
}
:not(.path-frontpage).node--type-page #main-wrapper{
    width: 100%;
    margin: auto !important;
}
.irudia{
	flex-basis: unset !important;
}
/*koloriak*/
:root{
  --main-urdina: #333e92;
  --main-arroxa:  #ed6e71;
  --main-urdin-argia: #7ccad6;
  --main-horia:  #f2cf72;
}
body{
  padding: 0;
  margin: 0;
  font-family: myriad-pro, sans-serif;
  font-weight: 400;      
}
.node--type-page h1{
  color: var(--main-urdin-argia);
  font-size: 3em;
  text-align: left;
}
.eduki-nagusia{
  max-width: 1600px;
  max-width: 100%;
  margin: auto;
  color: var(--main-urdina);
}

.edukia{
  /*display: grid;
  grid-template-columns: repeat(2, 50%);*/
  display: block;
}

.goiburua .irudia img{
  width: 100%;
  line-height: 0;
}
.goiburua .testua img{
  max-width: 440px;
}
/*hizkuntzak*/
#block-languageswitcher {
    position: absolute;
    right: 2%;
    top: 20px;
    z-index: 1;
}
#block-languageswitcher span{
  margin-right: .5em !important;
  padding-right: .5em !important;
  line-height: 1em;
}
#block-languageswitcher span:first-child{
  border-right: 1px solid white;  
}
#block-languageswitcher a{
  color: white;
}
#block-languageswitcher a.is-active{
  color: var(--main-arroxa);
}
/*goiburua*/
.goiburua{
  display: grid;
  grid-template-columns: 925px 550px;
  grid-gap: 7%;/*11em*/
  color: white;
  background-color: var(--main-urdina);
  background-image: url("../../../../../themes/custom/local_barrio/images/bg1.svg"), url("../../../../../themes/custom/local_barrio/images/bg2.svg");
  background-repeat: no-repeat;
  background-position: 40% 3%, 96% 91%;
  background-size: 112px 112px;
  position: relative;
}
.testua h1 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1em;
}
.testua > div:first-child{
  position: absolute;
  top: 15px;
 
}
.testua > div:nth-child(2) p{  
  font-size: 2.5em;
  line-height: 1em;
  margin: .75em 0 !important;
  font-weight: 300;
}
/*testu nagusia eta formularioa*/
#edit-actions button{
	display:block;
	width: 100%;
	padding-block: .65em !important;
}
#block-matrikulazioaedukia{
  background-color: #f2f2f2;
}
/*mezua eta formularioa*/
.edukia{
  max-width: 1600px;
  width: 100%;
  padding: 0em !important;
  margin: auto !important;  
  color: var(--main-urdina);  
}
.mezua{
  
}
.mezua p {
    width: 90%;
    margin-bottom: 1em !important;
}
.mezua h2,
.mezua p:last-child {
    font-weight: 400 !important;
    font-size: 2.25em !important;
    line-height: 1em !important;
    margin-bottom: 1.25em !important;
    color: #333e92 !important;
}
.mezua p:last-child {
  font-size: 1.75em;
  margin-top: 2em !important;
}

/*aukerak*/
.aukerak{
 display: flex;
 justify-content: center;
 align-content: center;
}
.aukerak > div{
  padding: 3em !important;
  flex-grow: 1;
  width: 33%;
}
.aukerak h2{
  font-size: 2em !important;
  font-weight: 400;
}
.aukerak h2,
.aukerak p{
  color:  var(--main-urdina);
}
.aukerak p{
  font-size: 1.1em;
  font-weight: 400 !important;
}
.col1{
  background-color: var(--main-arroxa);
}
.col1 > div:first-child{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  width: 100%;
  margin: auto;
  gap: 2rem;
}
.col1 > div:first-child p {
    grid-column: 1/3;
    align-self: start;
   
    left: 0em;
    margin-top: 1em !important;    
}
.col1 img{
  position: relative;
  right: 2em;
}
.col1 h2,
.col1 p{
  position: relative;  
}
.col1 h2{
  left: 0em;
}
.col2{
  background-color: var(--main-urdin-argia);
}
.col2 > div {
    display: grid;
    grid-template-columns: 50% 45%;
    grid-gap: 5%;
    align-items: center;
}
.col2 h2{
  margin-bottom: .25em !important;
}
.col3{
  background-color: var(--main-horia);
}
.col3 > div{
  max-width: 380px;
  margin: auto !important;  
}
.col3 h2{
  margin: .25em 0 !important;
}
.col3 > div p{
  width: 40ch;
}
.col2 p a, .col3 p a{
  color: var(--main-arroxa);
  text-decoration: underline;
}
/*bideoak*/
.bideoak{
  background-color: #f2f2f2;
  padding: 6em 0 !important;
}
.bideoak > div{
  max-width: 1600px;
  width: 100%;
  margin: auto !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  grid-gap: 2em;
}
.bideoak2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1em;
  padding: 7em !important;
}
.bideoak3{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-top: 4em !important;
}

#content > section{
  display: grid;
  grid-template-columns: repeat(2, 50%);  
  align-items: flex-start;
  background-color: #f2f2f2;
  background-image: url("../../../../../themes/custom/local_barrio/images/bg3.svg"), url("../../../../../themes/custom/local_barrio/images/bg4.svg");
  background-repeat: no-repeat;
  background-position: 5% 21%, 94% 61%;
  background-size: 73px 73px;
}
#block-matrikulazioamezua,
#block-contentform{   
    width: 70%;
    margin-inline: auto !important;
    padding-top: 5em !important;
    padding-bottom: 0em !important;
}
#block-matrikulazioamezua{
  margin-left: 25% !important;
}
#block-contentform{
  margin-right: 25% !important;
   padding-top: 5em !important;
}  
#block-contentform .layout-region-node-secondary{
  display: none;
}
#block-contentform .col-md-6 {
    max-width: 100%;
    width: 90%;
}
#block-matrikulazioaaukerak,
#block-matrikulazioabideoakbi{
  grid-column: 1/3;
}
#block-matrikulazioaaukerak{
  margin-top: 0em !important;
}
/*matrikulazio formularioa*/
#node-larramendi-bisita-form > div{
  display: flex;
  flex-direction: column;
  align-items: center;
}
form label{
  text-transform: uppercase;
  font-size: .9em;
  color: var(--main-urdina);
}
input[type="text"],
input[type="email"],
input[type="date"],
textarea.form-control,
.form-select{
  padding: .5em !important;
  border: 1px solid var(--main-urdina);
  background-color: #f2f2f2;
  accent-color:  var(--main-urdina);
  color: var(--main-urdina);
}
button[type="submit"]{
  background-color: var(--main-urdina);
  padding: .25em 1em !important;
  color: white;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: 100vw;
}
form .table-striped>tbody>tr:nth-of-type(odd)>*,
form .table-striped>tbody>tr:nth-of-type(even)>*{
background-color: transparent !important;
    border: none !important;
    --bs-table-accent-bg: transparent;
}
.table>:not(caption)>*>* {
     border: 0;
}
table *,
tr.odd,
tr.even{
    background: #e4e4e4;
    background: transparent !important;
}
thead > tr,
.table>:not(:first-child) {
    border: 0px !important;
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-color-type: unset;
    --bs-table-bg-type: unset;
}
#content table {
   margin: 2em 0 0em 0;
}
#content form table tr,
#content form table td{
	padding: .5em 0 !important;
	border: 0;
}
form h4{
	color: #333e92 !important;
	padding: 0em !important;
}
.js-form-type-checkbox{
	display: flex;
	gap: .5rem;
	align-items: center;
}
form legend,
.text-muted,
form input[type="date"]{
	color: var(--main-urdina) !important;
}
#edit-field-bisita-lopd-onarpena-wrapper{
  margin-left: 2.25em !important;
}
#edit-actions {
    max-width: 90%;
    margin-inline: auto;
    margin-top: 2em !important;
    text-align: right;
}

.form-group{
  margin-bottom: .5em !important;
}
/*mediqueriak*/
@media (max-width: 1700px){
  .goiburua {
      grid-template-columns: 850px 550px; 
  }
}
@media (max-width: 1440px){
  .goiburua {
      grid-template-columns: 60% 27%; 
      background-position: 52% 5%, 98% 90%;
    background-size: 100px, 80px;
  }
  .testua h1 {
    font-size: 3em;    
  }
  .testua > div:nth-child(2) p {
      font-size: 2.0em;
   }
  .goiburua .testua img {
    max-width: 80%;
  }
/*aukerak*/
  .aukerak > div {
    padding: 3em 0.5em !important;
    display: flex;
    justify-content: center;
  }
  .col1 > div:first-child {
      max-width: 325px;
      width: 100%;
      overflow: hidden;    
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
  }
  .col1 h2 {
      left: 0;
  }
  .col1 img {
      position: relative;
      right: 0em;
      width: 280px;
  }
  .col1 > div:first-child p {
      width: 34ch;
      left: 0em;
  }
}
@media (max-width: 1366px){
  /*goiburua*/
  .goiburua {
      grid-template-columns: 60% 32%;
      grid-gap: 3%;
      background-size: 70px;
  }
  .testua > div:first-child {
    right: 9%;
  }
  .testua h1 {
    font-size: 2.75em;  
  }
  .testua > div:nth-child(2) p {
    font-size: 1.75em; 
  }
  .goiburua .testua img {
    max-width: 315px;
  }
  /*mezua*/
  /*mezua eta formularioa*/
  #block-matrikulazioamezua, 
  #block-contentform {
      width: 85%;      
      padding-top: 3em !important;
  }
  #block-matrikulazioamezua {
    margin-left: 15% !important;
  }
  #block-contentform {
    margin-right: 10% !important; 
    padding-top: 6em !important; 
  }
  #content > section{
    background-position: 2% 2%, 996% 42%;
    background-size: 50px;    
  }
  .mezua {
    
  }
  .mezua h2, .mezua p:last-child {
    font-size: 2em;    
  }
  .mezua p:last-child {
    margin-top: 1em !important;
  }
  .mezua p {
    width: 85%;  
  }
  /*aukerak*/
  .aukerak > div {
    padding: 3em 0.5em !important;
    display: flex;
    justify-content: center;
  }
  .col1 > div:first-child {
      max-width: 325px;
      width: 100%;
      overflow: hidden;    
      margin: auto;
  }
  .col1 h2 {
      left: 0;
  }
  .col1 img {
     
     
  }
  .col1 > div:first-child p {
      width: 65%;
      left: 0em;
  }
  .col2 > div {
    display: grid;
    grid-template-columns: 45% 55%;
    grid-gap: 0%;
    align-items: center;
    width: 375px;
  }
  .col2 img{
    width: 88%;
  }
  .col3 > div {
    max-width: 290px;
  }
  .col3 img{
    max-width: 270px;
    width: 100%;
  }
  .col3 > div p {
    width: 100%;
  }
  /*bideoak*/
  .bideoak2 {
    grid-gap: 1em;
    padding: 4em !important;
  }
}
@media (max-width: 1024px){
  .goiburua {
    grid-template-columns: 60% 32%;
    grid-gap: 3%;
    background-size: 60px;
  }
  .testua > div:first-child {
    right: 11%;
    top: 2.75%;
  }
  .testua > div:nth-child(2) p {
    font-size: 1.5em;
  }
  .testua h1 {
    font-size: 2.5em;
  }
  .goiburua .testua img {
      max-width: 235px;
  }
  /*mezua eta form*/
  #content > section {
    background-position: 2% 2%, 96% 47%;
    background-size: 40px;
 }
  .mezua p {
    width: 90%;
} 
  .mezua h2, 
  .mezua p:last-child {
    font-size: 1.75em;
    line-height: 1.2em;
}
  .mezua {
    max-width: 100%;
  }
  /*aukerak*/
  .aukerak {
    justify-content: center;
    align-content: center;
  display: grid;
  grid-template-columns: repeat(3, 340px);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  }
  .aukerak > div {
    flex-grow: 1;
    flex-basis: 340px;
    padding-block-start: 1em !important;
  }
  
  .aukerak h2 {
    font-size: 1.5em;
    font-weight: 600;
  }
  .col1 > div:first-child {
    max-width: 260px;  
    gap: 0rem;
  }

  .col1 img {
     
  }
  .col1 > div:first-child p {
      width: 74%;      
  }
  .col2 > div {
      grid-template-columns: 49% 51%;
      width: 308px;
  }
  .col3 img {
    max-width: 245px;  
  }
  .col3 > div p {
    width: 90%;
  }
  /*formularioa*/
  #block-matrikulazioamezua {
    padding-top: 1em !important;
	}
  #block-contentform{
  	 padding-top: 3em !important;
	}
  #block-contentform .col-md-6 {
    max-width: 100%;
    inline-size: 90%;
  }
}
@media (max-width: 768px){
  .goiburua {
      grid-template-columns: 55% 35%;
      grid-gap: 3%;
      background-size: 45px;
      background-position: 41% 5%, 91% 90%;
  }
  .testua {
      justify-content: end; 
      margin-bottom: 1em !important;
  }
 .testua > div:first-child {
    right: 14%;
    font-size: 1em;
    top: 4.25%;
  }
  .testua h1 {
      font-size: 1.75em;
  } 
  .testua > div:nth-child(2) p {
      font-size: 1.1em;
      font-weight: 300 !important;
      line-height: 1.2em;
  }
  .goiburua .testua img {
      max-width: 180px;
  }
  #content > section {
    background-position: 2% .5%, 96% 91%;
    background-size: 25px;   
  }
  #block-matrikulazioamezua, 
  #block-contentform {
    width: 90%;
    padding-top: 1em !important;
  }
  #block-matrikulazioamezua {
    margin-left: 10% !important;
  }
  #block-contentform {
    margin-right: 0% !important;
    padding-top: 2em !important;
}
  .mezua p {
      width: 34ch;
  }  
  .col1 > div:first-child {
      max-width: 270px;
  }
  .aukerak h2 {
    font-size: 2.0em;
}
  .col1 img {
   max-inline-size: 70% !important;
  }
  .col1 > div:first-child p {
      width: 65%;
  }
  .col2 > div {
      grid-template-columns: 49% 51%;
      width: 315px;
  }
  .col3 > div {
      max-width: 440px;
  }
  .col3 img {
      max-width: 265px;
       max-inline-size: 70% !important;
  }
  .col3 > div p {
      width: 31ch;
  }
  /*bideoak*/
  .bideoak3,
  .bideoak2{
    grid-template-columns: 1fr;
    grid-gap:3em;
  }
  .bideoak2 {
    grid-gap: 4em;
    padding: 4em 5% !important;
}
}
@media (max-width: 680px){
    /*goiburua*/
   .goiburua {
    display: flex;
    flex-direction: column;
    background-position: 85% 4%, 65% 94%;
    background-size: 80px, 50px;
  }
  .goiburua .irudia img {
      width: 100%;
      line-height: 0;
   }
 .goiburua .testua {
    margin-bottom: 1em !important;
    padding: 2em 5% !important;
    
    display: block;
    flex-basis:unset;
    
}
  .testua h1 {
      font-size: 3em;
  }
 .testua > div:first-child {
    left: 5%;
    font-size: .9em;
    width: auto;
    top: 95%;
    text-transform: uppercase;
}
  .testua > div:nth-child(2) p {
      width: 90%;
      font-size: 1.5em;
  }
  .goiburua .testua img {
      max-width: 230px;
  }
  #content > section {
    display: flex;
    flex-direction: column;
    background-position: 2% .5%, 96% 52%;
    background-size: 25px;
  }
 
  #block-matrikulazioamezua {
    margin-left: 0% !important;
  }
  #block-matrikulazioamezua,
  #block-contentform {
    width: 90%;
    margin: auto !important;
  }
  #block-contentform .col-md-6 {
    inline-size: 100%;
	}
  #edit-actions {
    margin-left: 0% !important; 
  }
  #edit-actions button{
	display:block;
	width: 100%;
}
  #block-matrikulazioabideoakbi{
    width: 100%;
  }
  #block-contentform .col-md-6 {
    max-width: 100%;
  }
  #edit-actions {
    max-width: 100%;
}
#edit-actions button{
	display:block;
	width: 100%;
	
}
  .mezua p:last-child {
    margin-bottom: 0 !important;
  }
  .mezua p {
      width: 90%;
  }
  .col2 > div {
    width: 70%;
 }
}
@media (max-width: 480px){
.goiburua {
    background-position: 93% 14%, 72% 94%;
    background-size: 50px;
}
.testua { 
    padding: 2em !important;
}
.testua h1 {
    font-size: 2.5em;
}
.testua > div:nth-child(2) p {
    width: 94%;
    font-size: 1.25em;
}
.testua > div:first-child {
    left: 5%;
    font-size: .9em;
    width: auto;
    top: 94.5%;
}
#content > section {
     background-position: 2% .5%, 96% 43%; 
}
#block-matrikulazioamezua, 
#block-contentform {
  padding-bottom: 2em !important;
}
#edit-actions {
   margin-left: 0% !important; 
}
.aukerak > div {
    max-width: 100%;
    width: 100%;
    margin: 0em auto !important;
  padding-block: 1.5em !important;
}
.col2 > div {
    width: 90%;
}
/*formularioa*/
#block-matrikulazioamezua, 
#block-contentform {
	padding-block-start: 0em !important;
    width: 92%;
}
#block-contentform .col-md-6 {
   
    inline-size: 100%;
}
.mezua p:last-child {
    margin-bottom: 0 !important;
}
.bideoak2 {
    grid-gap: 2em;
    padding: 0em 5% !important;
}
}
@media (max-width: 425px){
  .goiburua {
    background-position: 93% 53%, 96% 94%;
    background-size: 50px, 40px;
  }
  .mezua p {
    width: 100%;
  }
}
