/* MAIN --------------------------------------- */

:root {
    --background-color: white;
    --plaxburg-color: black;
    
    --navbar-bg-color: rgba(30,30,30,0.9);
    --navbar-highlight-bg-color: rgb(90,90,90);
    --navbar-division-color: white;
    --navbar-text-color: rgba(255,255,255,0.9);
    
    --header-text-color: rgb(50,50,50);
    --section-main-color: rgb(245,245,245);
    --section-shade-color: linear-gradient(rgb(225,225,225), rgb(245,245,245));
    --section-text-color: rgb(70,70,70);
    --section-text-hover-color: rgb(255,255,255);
    --boton-shade-color: linear-gradient(rgb(100,100,100), rgb(130,130,130));
    
    --table-header-bg-color: rgb(232,232,232);
    --aclaracion: rgb(140,140,140);
    
    --input-bg-color: white;
    --input-border-color: rgb(200,200,200);
}
[data-theme="dark"] {
    --background-color: black;
    --plaxburg-color: white;
    
    --navbar-bg-color: rgba(50,50,50,0.9);
    --navbar-highlight-bg-color: rgb(80,80,80);
    --navbar-division-color: black;
    --navbar-text-color: rgba(255,255,255,0.9);
    
    --header-text-color: rgb(230,230,230);
    --section-main-color: rgb(25,25,25);
    --section-shade-color: linear-gradient(rgb(40,40,40), rgb(25,25,25));
    --section-text-color: rgb(210,210,210);
    --section-text-hover-color: rgb(255,255,255);
    --boton-shade-color: linear-gradient(rgb(85,85,85), rgb(65,65,65));
    
    --table-header-bg-color: rgb(40,40,40);
    --aclaracion: rgb(120,120,120);
    
    --input-bg-color: black;
    --input-border-color: rgb(70,70,70);
}

[data-theme="dark"] #diagrama_img { filter: invert(100%); }
[data-theme="dark"] #camaras_img { opacity: 0.0; }
[data-theme="dark"] #logoProTeja_img { opacity: 0.0; }
[data-theme="dark"] #aislacion_img { opacity: 0.0; }
[data-theme="dark"] #perfilInd_img { filter: invert(100%); }
[data-theme="dark"] #perfilRes_img { filter: invert(100%); }
[data-theme="dark"] #perfilOnd_img { filter: invert(100%); }
[data-theme="dark"] #logoArturito_img { opacity: 0.0; }
[data-theme="dark"] #reciclaje_img { filter: invert(100%); }
[data-theme="dark"] .telf_icon { filter: invert(100%); }

html {
    -webkit-font-smoothing: antialiased;
    background: var(--background-color);
    
    /* -webkit-user-select: none;  /* Safari 3.1+ */
    /* -moz-user-select: none;  /* Firefox 2+ */
    /* -ms-user-select: none;  /* IE 10+ */
    /* user-select: none;  /* Standard syntax */
}

@font-face {
    font-family: myArialBlack; src: url(fonts/myArialBlack.ttf);
}
@font-face {
    font-family: myHelveticaNeue; src: url(fonts/myHelveticaNeue.otf);
}
@font-face {
    font-family: myHelveticaNeueBold; font-weight: bold; src: url(fonts/myHelveticaNeueBold.otf);
}
@font-face {
    font-family: myHelveticaNeueMedium; src: url(fonts/myHelveticaNeueMedium.otf);
}


/* HEADER ------------------------------------- */

header {
    height: 120px;
}

#main_header_div {
    margin: 0 auto;
    width: 980px;
    height: inherit;
}

#main_header_div a {
    font-family: myArialBlack, ArialBlack;
    font-size: 53px;
    text-decoration: none;
    color: var(--plaxburg-color);
}


/* NAV BAR ------------------------------------ */

#navbar {
    height: 55px;
    margin-bottom: 40px;
    background: var(--navbar-bg-color);
}

nav {
    margin: 0 auto;
    width: 980px;
    height: inherit;
    
    font-family: myHelveticaNeueMedium, HelveticaNeue-Medium, Arial;
}

nav ul {
    margin: 0;
    padding: 0;
    
    font-size: 24px;
}

nav ul li {
    display: block;
    position: relative;
    float: left;
}

nav li ul { 
    display: none; 
}
 
nav ul li a {
    display: block;
    border-right: 1px solid var(--navbar-division-color);
    height: 55px;
    padding: 0px 15px 0px 15px;
    text-align: center;
    line-height: 54px;
    text-decoration: none;
    color: var(--navbar-text-color);
}

nav ul li:first-child a {
    border-left: 1px solid var(--navbar-division-color);
}

#selected_nav_button a { 
    background: var(--navbar-highlight-bg-color);
}

#selected_nav_button a:hover { 
    background: rgb(251,68,38); 
}

nav ul li a:hover { 
    background: rgb(251,68,38);
    border-right: 1px solid var(--navbar-division-color);
}

nav li:hover ul {
    display: block;
    position: absolute;
}

nav ul li ul li a {
    text-align: left;
    width: 334px;
}

nav li:hover li {
    font-size: 21px;
    background: var(--navbar-bg-color);
}

nav li:hover a {
    height: 55px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.sticky + .section_div {    
    margin-top: 95px;
}


/* NAV COTIZACION --------------------------------------- */

#cot_rap a { 
    background: rgb(0,153,0);
}

#cot_rap a:hover { 
    background: rgb(251,68,38); 
}


/* BODY --------------------------------------- */

body {
    margin: 0 auto;
    min-width: 980px;
    
    font-family: myHelveticaNeue, HelveticaNeue, Arial;
    }

h1, h2, h3 {
    margin-top: 0px;
    padding-top: 11px;
    padding-left: 15px;
    
    font-family: myHelveticaNeueMedium, HelveticaNeue-Medium, Arial;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3em;
    color: var(--header-text-color);
}

.section_div {
    margin: 0 auto;
    margin-top: 20px;
    width: 980px;
    background: var(--section-main-color);
    
    font-size: 20px;
    line-height: 1.6em;
    color: var(--section-text-color);
}

.section_header_div {
    height: 50px;
    background: var(--section-shade-color);
}

.p_div {
    margin-top: -10px;
    padding-left: 15px;
    padding-right: 15px;
}


/* SPECS TABLE ---------------------------------- */

.specs_table {
    margin-top: 25px;
    background-color: var(--section-main-color);
    border-collapse: collapse;
    font-size: 17px;
}

.specs_table th{
    background-color: var(--table-header-bg-color);
    border: 2px solid var(--background-color);
    
    font-weight: normal;
    font-family: myHelveticaNeueMedium, HelveticaNeue-Medium, Arial;
}

.specs_table th:first-child {
    border-left: 0;
    padding-left: 20px;
    
    text-align: left;
}

.specs_table td {
    border: 2px solid var(--background-color);
    height: 30px;
}

.specs_table tr td:first-child {
    border-left: 0;
}

.specs_table tr > td:first-child {
    background-color: var(--table-header-bg-color);
    
    padding-left: 20px;
    font-family: myHelveticaNeueMedium, HelveticaNeue-Medium, Arial;
    text-align: left;
}

.specs_table tr {
    text-align: center;
}

.aclaracion {
    margin: 5px 5px 0px 17px;
    
    font-size: 14px;
    line-height: 1.6em;
    color: var(--aclaracion);
}

.aclaracion2 {
    margin: 0px 20px 0px;
    
    font-size: 14px;
    line-height: 1.6em;
    color: var(--aclaracion);
}


/* SUCURSALES TABLE ----------------------------- */

.sucursales_table {
    margin-top: 25px;
    background-color: var(--section-main-color);
    border-collapse: collapse;
    font-size: 19px;
}

.sucursales_table tr {
    text-align: center;
}

.sucursales_table tr td:first-child {
    border-left: 0;
}

.sucursales_table tr td:last-child {
    border-right: 0;
}

.sucursales_table tr:last-child td {
    border-bottom: 0;
}

.sucursales_table tr > td:first-child, .sucursales_column {
    text-align: left;
    padding-left: 20px;
}

.sucursales_table td {
    border: 2px solid var(--background-color);
    height: 45px;
}


/* SUCURSALES LINKS ----------------------------- */

a {
  color: inherit;
  text-decoration: none;
}

.suc_mapa_text_div, .suc_fijo_text_div, .suc_cel_text_div {
    float: left;
    text-align: right;   
}

.suc_mapa_text_div {
    width: 90px;
    margin-left: 25px;
}

.suc_fijo_text_div {
    width: 110px;
    margin-left: 19px;
}

.suc_cel_text_div {
    width: 100px;
    margin-left: 23px;
}

.suc_img_div {
    width: 40px;
    float: left;
}

.suc_icon {
    padding: 0px 0px 5px 5px;
    vertical-align: middle;
}

.telf_icon {
    padding: 0px 0px 5px 5px;
    vertical-align: middle;
}


/* FOLLETOS ------------------------------------- */

.folleto {
    width: 223px;
    height: 295px;
    margin: 17px 0px 0px 16px;
    float:left;
    
    border: 1px solid var(--input-border-color);
}


/* BUTTONS --------------------------------------- */

.botonEnlaces {
    width: 100%;
    height: 50px;
    
    background: var(--section-shade-color);
    border-style: none;
    
    font-family: myHelveticaNeueMedium, HelveticaNeue-Medium, Arial;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.0em;
    text-align: center;
    color: var(--header-text-color);
    
    -webkit-appearance: none;
}

.botonEnlaces:hover {
    background: var(--boton-shade-color);
    color: var(--section-text-hover-color);
    
    cursor: pointer;
}

.botonEnlaces:active {
}


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

table {
    width: 100%;
    padding-top: 10px;
}

label, input, select, textarea {
    font-family: myHelveticaNeue, HelveticaNeue, Arial;
    font-size: 19px;
    line-height: 1.6em;
    color: var(--section-text-color);
}

form input, form select, form textarea {
    background-color: var(--input-bg-color);
    border-color: var(--input-border-color);
}

.contacto_label_td {
    width: 28%;
    padding-right: 5px;
    text-align: right;
}

.contacto_input_td {
    width: 72%;
}

.label_td {
    padding-right: 5px;
    font-size: 19px;     /* !!! */
    text-align: right;
}

.input_td {
}

input {
    width: 60px;
    height: 33px;
    padding: 2px;
    padding-left: 5px;
    border: 1px solid;
    border-radius: 0px;
    text-align: left;
}

.contacto_input {
    width: 300px;
}

select {
    border-radius: 0px;
}

textarea {
    padding: 2px;
    padding-left: 5px;
    border: 1px solid;
    border-radius: 0px;
}


/* FOOTER --------------------------------------- */

footer {
    font-size: 15px;
    line-height: 1.5em;
    color: rgb(248,248,248);
}

#top_footer_div {
    height: 50px;
}

#middle_footer_div {
    height: 50px;
    
    background-repeat: repeat-x;
    background-size: contain;                
}

#bottom_footer_div {
    height: 220px;
    background: rgb(30,30,30);
}

#bottom_center_footer_div {
    margin: 0 auto;
    width: 980px;
    height: inherit;
}

.small_footer_div {
    float: left;
}

.small_footer_div a{
    font-weight: bold;
    text-decoration: none;
    color: #FFFF66;
}


/* THEME SWITCH ------------------------------- */

.theme_switch_div {
    margin-top: -20px;
    margin-left: 15px;
    float: left;
    display: flex;
    align-items: center;
}

.theme_switch_div p {
    font-weight: bold;
    color: rgb(180,180,180);
}

.theme_switch_label {
    margin-left: 10px;
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme_switch_label input {
    display:none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .2s;
}

.slider:before {
    background-color: white;  /* #fff */
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .2s;
    width: 26px;
}

input:checked + .slider {
    background-color: rgb(80,80,80);  /* #66bb6a */
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}