/*
Theme Name: NetconPlay
Description: tema creado para netconplay
Version: 1.0
License: GNU General Public License
*/

:root {
  --pale-orange: #ffb224;
  --orange: #c2770d;
  --dark-orange: #a65c00;
  --purple: #663399;
  --turquoise: #0e939f;
}

* {
  /*padding: 0;
  margin: 0;*/
  box-sizing: border-box;
}

body {
  background-color: black;
  color: white;
  font-family: "Rubik", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

a, a:visited, a:active {
  color: white;
}

header {
  padding: 0;
  background: transparent;
  background-image: url(/wp-content/uploads/2026/01/bak_header.png);
  background-repeat: repeat-x;
  background-position: 50% 50%;
  margin: 0px auto;
  width: 100%;
}

header > a:first-of-type {
  max-width: 978px;
  display: block;
  margin: auto;
}

header > a:first-of-type > img {
  max-width: 100%;
}

/* ------- Content -------- */
#content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 978px;
  margin: auto;
  margin-top: 20px;
  padding: 0 10px;
}

.page-template-page-aplicacion #content {
  max-width: 1200px;
}

#content section {
  width: 100%;
}

#content section h1 {
  color: var(--orange);
  font-size: 2.5em;
  font-weight: 400;
}

#content section h1 a {
  color: var(--orange);
}

#content section h2 {
    color: var(--orange);
    color: #c2770d;
    padding-top: 0;
    font-size: 1.8em;
    font-weight: 400;
    padding-bottom: 10px;
}

/* ------- Aside -------- */
#content aside {
  width: 100%;
}

#content aside > div {
  padding: 10px;
  border-radius: 8px 8px 0px 0px;
  border: 1px solid var(--purple);;
  margin-bottom: 10px;
}

#content aside > div > h3 {
    line-height: 1;
    color: var(--orange);
    padding-top: 0;
    font-size: 24px;
    font-weight: 400;
    padding: 0px 0 10px 0;
    margin: 0;
    text-transform: uppercase;
}

#content aside > div > p {
  margin-bottom: 10px;
}

#content aside > div > h3 > a {
    color: var(--orange);
}

#content aside > div ul {
  margin: 0 0 0 8;
  padding: 0;
}

#content aside > div li {
  list-style: none;
  padding: 0;
  padding-left: 20px;
  background-image: url(./img/flecha.png);
  background-repeat: no-repeat;
  background-position: 0 2px;
  padding-bottom: 8px;
  border: 0px;
}

#content aside > div img {
  max-width: 100%;
}

.page-template-page-aplicacion #content aside {
  display: none;
}

/* ------------ Footer ----------- */
footer {
  width: 100%;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  padding-bottom: 200px;
  border-top: dotted 3px #666;
  background-color: #181a1b;
}

footer a {
  text-decoration: underline;
  color: var(--orange);
}

footer a:hover {
  color: var(--dark-orange);
}

/* ------------ Menú ------------ */
.menu-menu-cabecera-container {
  background-color: var(--turquoise);
}

#menu-menu-cabecera {
  display: flex;
  max-width: 978px;
  margin: auto;
  flex-wrap: wrap;
}

#menu-menu-cabecera li {
  list-style-type: none;
}

#menu-menu-cabecera li a {
  padding: 14px 10px;
  text-decoration: none !important;
  background-color: var(--turquoise);
  font-weight: 500;
  display: inline-block;
}

#menu-menu-cabecera li a:hover {
  background: var( --pale-orange);
}

#menu-menu-cabecera .current-menu-ancestor > a,
#menu-menu-cabecera .current-menu-item > a {
  background-color: var(--dark-orange);
}

#menu-menu-cabecera .sub-menu {
  display: none;
}

#menu-menu-cabecera .menu-item-has-children {
  position: relative;
}

#menu-menu-cabecera .menu-item-has-children:hover .sub-menu {
  display: block;
}

#menu-menu-cabecera .menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 0px;
  min-width: 120px;
  padding: 0;
} 

#menu-menu-cabecera .menu-item-has-children .sub-menu li a {
  display: block;
  width: 100%;
}

/* ------ Responsivo ------- */
@media (min-width: 600px) {

  #content {
    padding: 0;
  }

  #content section  {
    width: calc(70% - 10px);
  }

  .page-template-page-aplicacion #content section  {
    width: 100%;
  }

  #content aside {
    width: calc(30% - 10px);
  }

}