/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {padding:0; margin:0; line-height: 160%; font-family: "Work Sans", sans-serif; font-size: 18px;}

.orange {background-color: #fd534a;}

div.contenido p a {color: #fd534a; text-decoration:underline;}


@media (min-width: 992px) { .page-id-89 .col-lg-8:has(.columna) { width: 83.33333333%; } .page-id-89 div.columna h3 { min-height: 44px; } .page-id-89 .row > .col-lg-4:last-child:has(.columna) { float: left; } }

header { width: 100%; background-color: #000; height: 48px; position: fixed; top: 0; left:0; z-index: 100;}
header h1 {margin: 13px 10px 13px 16px; font-size: 18px; display: inline-block; width: 100px; height: 22px;}
header h1 a {margin: 0; font-size: 18px; color:#FFF; display: block; text-indent: -9000px; background-image: url("https://sistemadiseno.udp.cl/cms/wp-content/uploads/2024/11/LUMINA.svg"); background-size: contain; background-repeat: no-repeat; background-position: 14px -1px; width: 100%; height: 100%;}
header h1 a:hover {color:#FFF; text-decoration: none;}
header p {display: inline-block; color:#FFF; opacity: 0.6; font-size: 12px;}


section.sidebar {position: fixed; top: 48px; left: 0; width: 256px; overflow: scroll;
    background-color: #EFEDE5; padding: 15px; height: 100vh; padding-bottom: 60px;}
section.sidebar ul {padding-left: 0;}
section.sidebar ul li {margin: 5px 0; padding-left: 30px;}
section.sidebar ul li a {display: block; padding: 6px 10px; color:#222; font-size: 16px; border-radius: 4px;}
section.sidebar ul.list-unstyled li { padding-left: 0;}
section.sidebar ul.list-unstyled li ul li a { font-size: 14px; padding: 3px 10px;}
section.sidebar ul.list-unstyled li a:hover, section.sidebar ul.list-unstyled li a:focus {background-color: #e9e6dc; text-decoration: none;}
section.sidebar ul.list-unstyled li ul.list-unstyled li a:hover {background: none; text-decoration: none;}

li.page-item-452 a {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/inicio.svg");}
a.item-empezar {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/empezar.svg");}
a.item-estilos {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/estilos.svg");}
a.item-componentes {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/componentes.svg");}
a.item-patrones {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/patrones.svg");}
a.item-contenidos {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/contenido.svg");}
li.page-item-83 a {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/udp-creativa.svg");}
li.page-item-1949 a {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/manual-de-identidad.svg");}
li.page-item-85 a {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/manual-de-identidad.svg");}
a.item-logotipos {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/logotipos.svg");}
a.item-recursos {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/recursos.svg");}
li.page-item-89 a {padding-left: 35px!important; background-attachment: scroll; background-position: 3px center; background-repeat: no-repeat; background-size: 9%; background-image: url("../img/icons/contacto.svg");}

/*Empezar*/
body.parent-pageid-9 ul#empezar {}

/*Búsqueda*/
ol.results {}
ol.results li {border-bottom:1px solid #CCC; margin-bottom: 15px; padding-bottom: 15px;}
ol.results li a {color: #ff6666;}

div.columna {margin-bottom: 30px; padding: 0 0; }
div.columna h3 {color: #fd534a; font-size: 20px;}
div.columna p {}
div.columna p a {color: #000}
body.page-id-89 div.contenido p a {color: #000}

a.btn-top-menu { height:50px; width:50px; cursor:pointer; position:fixed; top:10px; right:25px; color:#FFF; font-size:24px; text-align:center; z-index: 1100; display:none;}
a.btn-top-menu:hover {background:none;}
a.close-menu-global { background:none; }
a#boton-cerrar-menu { color:#FFF;}

/*Buena Practica*/
ul.buena-practica {}
ul.buena-practica li {list-style-image: url('https://sistemadiseno.udp.cl/cms/wp-content/uploads/2024/10/circle-check.svg')}
ul.buena-practica li:marker {}
ul.mala-practica {}
ul.mala-practica li {list-style-image: url('https://sistemadiseno.udp.cl/cms/wp-content/uploads/2024/10/circle-x.svg')}
ul.mala-practica li:marker {}


input#s{border:none; padding: 3px; width: 75%;}
input#s:focus {border: none;}
form#searchform {background-color: #FFF; border-radius: 15px; padding: 15px; margin-bottom: 30px;}
button#searchsubmit {background: none; border:none;}


section.content {width:calc(100vw - 256px); margin-left: 256px; overflow: scroll; margin-top: 48px;}
p.parent {    margin-top: 30px;
    text-transform: uppercase;
    font-family: 'NectoMono';
    letter-spacing: 1px;
    margin-bottom: 0;
	color:#FFF; padding: 2px 9px;
    border-radius: 17px;
    border: 1px solid #FFF;
    width: fit-content;
    font-size: 14px;}
.title-section {height: 336px; color:#1c2428; background-position: right top; background-repeat: no-repeat; background-size: contain;}
.title-section h2 {font-size: 54px; margin-bottom: 30px; font-family: 'ABCArizonaFlare', sans-serif;}

body.home .title-section {height: 434px;}
body.home .title-section h2 {    margin-top: 110px!important;
    margin-left: -20px;
    width: 48%!important;}

/*body.page-id-85 .title-section {background-color: #8587ec }
body.page-id-87 .title-section {background-color: #8587ec }
body.page-id-89 .title-section {background-color: #8587ec }
body.parent-pageid-455 .title-section {background-color: #8587ec }
body.parent-pageid-87 .title-section {background-color: #8587ec }*/

p.bajada {font-weight: 600;
    font-size: 18px;
    line-height: 140%; width: 70%; margin-bottom: 80px;}

.submenu {height: auto; padding: 20px 0; background-color: #FFE2E1; margin-bottom: 30px;}
.submenu .nav-pills>li {margin-right: 20px;}
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {background-color: #FFF; color:#E22A20; }
.nav-pills>li>a {border-radius: 25px; color:#1c2428;}


.contenido {margin-bottom: 30px; margin-top: 30px;}
.imagen {margin-bottom: 30px;}
.contenido p {margin-bottom: 30px;}
.contenido h2 {font-family: 'ABCArizonaFlare'; margin-top: 60px; margin-bottom: 30px; font-size: 36px; line-height: 120%; font-weight: 500;}
.contenido h3 {font-size: 24px; margin-bottom: 30px; font-weight: 700; line-height: 130%;}
.contenido hr {margin: 30px 0 60px 0; border-top:1px solid #1C1C1C;}
.contenido ol, .contenido ul {margin-bottom: 30px; padding-left: 30px;}
.contenido ol li, .contenido ul li {margin-bottom: 15px;}


div.repeat-subpages {margin-bottom: 50px;}
div.repeat-subpages h4 {margin-bottom: 15px;}
div.repeat-subpages h4 a {color:#000;}
div.repeat-subpages p {font-size: 14px; line-height: 155%;}

/* Recursos */
div.img-recurso {height: 80px; width: 100%; background-position: top center; background-size: contain; background-repeat: no-repeat;}
div.repeat-recurso {margin-top: 30px;}
div.repeat-recurso h4 { vertical-align: middle;}
a.btn-descarga {width: 40px; height: 40px; text-indent:-9000px; background-image: url("../img/icons/boton-descarga-recurso.svg"); background-position: center center; background-repeat: no-repeat; background-size: contain; display: inline-block;}

footer {background-color:#000; padding:30px 0; width:100%; margin-top:60px; font-size:14px; color:#666;}
footer a {color:#FFF;}
footer p {line-height:130%;}

pre.codigo-css {height:80vh; overflow:auto;}
a.copiar-codigo-css {margin:30px 0; text-align:center; width:fit-content; padding:10px 20px; background-color:#000; color:#FFF; border-radius:20px; display:inline-block; font-size:14px; }


/* ABCArizonaFlare-Bold */
@font-face {
  font-family: 'ABCArizonaFlare';
  src: url('../fonts/ABCArizonaFlare-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}
/* ABCArizonaFlare-BoldItalic */
@font-face {
  font-family: 'ABCArizonaFlare';
  src: url('../fonts/ABCArizonaFlare-BoldItalic.otf') format('opentype');
  font-weight: bold;
  font-style: italic;
}
/* ABCArizonaFlare-Medium */
@font-face {
  font-family: 'ABCArizonaFlare';
  src: url('../fonts/ABCArizonaFlare-Medium.otf') format('opentype');
  font-weight: 500; /* or whatever value 'Medium' represents */
  font-style: normal;
}
/* ABCArizonaFlare-MediumItalic */
@font-face {
  font-family: 'ABCArizonaFlare';
  src: url('../fonts/ABCArizonaFlare-MediumItalic.otf') format('opentype');
  font-weight: 500; /* or whatever value 'Medium' represents */
  font-style: italic;
}
/* ABCArizonaFlare-Regular */
@font-face {
  font-family: 'ABCArizonaFlare';
  src: url('../fonts/ABCArizonaFlare-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
/* ABCArizonaFlare-RegularItalic */
@font-face {
  font-family: 'ABCArizonaFlare';
  src: url('../fonts/ABCArizonaFlare-RegularItalic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}
/* NectoMono-Regular */
@font-face {
  font-family: 'NectoMono';
  src: url('../fonts/NectoMono-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.no-gutter {
  margin-right: 0;
  margin-left: 0;
}

.no-gutter > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Large desktop */
@media (min-width: 1200px) { 



}

/* Desktop 1024 */
@media (min-width: 980px) and (max-width: 1199px) { 
	
	body.home .title-section {background-position: 141% top;}

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 



}

/* Landscape phone to portrait tablet */
@media (min-width: 481px) and (max-width: 767px) { 
	
	section.sidebar {width:100%; z-index: 100; display:none;}
	section.sidebar ul li a {background-size:5%;}
	header p {display:none;}
	header img {margin-top:2px!important; float:none!important}
	section.content {margin-left:0; width:100%;}
	a.btn-top-menu {display:block;}
	body.home .title-section h2 {width:100%!important; margin-left:0!important; margin-top: 352px!important;}
	body.home .title-section {height:auto;}
	.title-section {height:auto;}
}

/* Landscape phones and down */
@media (max-width: 480px) {
	
	section.sidebar {width:100%; z-index: 100; display:none;}
	section.sidebar ul li a {background-size:5%;}
	header p {display:none;}
	header img {margin-top:2px!important; float:none!important}
	section.content {margin-left:0; width:100%;}
	a.btn-top-menu {display:block;}
	body.home .title-section h2 {width:100%!important; margin-left:0!important; margin-top: 352px!important;}
	body.home .title-section {height:auto;}
	.title-section {height:auto;}
}


