/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 29-oct-2019, 8:33:43
    Author     : sergio
*/

.colorw{ color: white }

/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap ul, #nav-wrap li, #nav-wrap a {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

/* nav-wrap */
#nav-wrap {
    position: relative;
    font-size: 14px;
    z-index: 99999;
    margin-top: 5px;
}

/* hide toggle button */
#nav-wrap > a.mobile-btn {
    display: none;
    border-radius: 3px;
}

ul#nav {
    min-height: 50px;
    width: auto;
}
ul#nav li {
    position: relative;
    list-style: none;
    height: 50px;
    display: inline-block;
}


/* Links */
ul#nav li a {
    /* 8px padding top + 8px padding bottom + 32px line-height = 48px */
    display: inline-block;
    /*padding: 15px 20px;*/
    
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 15px;
    padding-bottom: 5px;
    
    line-height: 25px;
    text-decoration: none;
    text-align: left;
    color: #8a8383;
    font-weight: 300;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}
ul#nav li a:active { background-color: transparent !important; }

ul#nav li:hover > a,
ul#nav li.current a { color: #878787 !important;}

ul#submenupvc li:hover > a,
ul#submenupvc li.current a { color: #fff !important;}


ul#nav li a:hover{ background-size: 100% 2px;}

.aluminio-heder{ color: #BDB3A5!important;  }
.pvc-heder{ color: #1184e3!important;  }
.refine-heder{ color: #008b92!important; }

ul#nav li:hover > .aluminio-heder,
ul#nav li.current .aluminio-heder { color: #BDB3A5 !important;}

ul#nav li:hover > .pvc-heder,
ul#nav li.current .pvc-heder { color: #1184e3 !important;}

ul#nav li:hover > .refine-heder,
ul#nav li.current .refine-heder { color: #008b92 !important;}


/*a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

a:hover, a:focus {
    background-size: 100% 2px;
}*/







/* adds down arrow */
ul#nav span:after {
    width: 0;
    height: 0px;
    border: 4px solid transparent;
    border-bottom: none;
    border-top-color: #8a8383;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: 5px;
}

/* Sub Menu
----------------------------------------------------- */
ul#nav ul {
    position: absolute;
    width: 300px;
    top: 120%;
    left: 0;
    background: #008b92;
    min-width: 100%;
    border-radius: 0 0 0px 0px;
    /* for transition effects */
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity .25s ease .1s;
    -moz-transition: opacity .25s ease .1s;
    -o-transition: opacity .25s ease .1s;
    -ms-transition: opacity .25s ease .1s;
    transition: opacity .25s ease .1s;
}

#submenualuminio{
    background: #BDB3A5!important
}
#submenupvc{
    background: #1184e3!important
}

ul#submenupvc li:hover > ul li {
    border-bottom: 0px solid #fff !important;
}

/* Third level sub menu
ul#nav ul ul {
        position: absolute;
        top: 0;
        left: 100%;

        border-radius: 0 3px 3px 3px;
}
*/

ul#nav ul li {
    padding: 0;
    display: block;
    text-align: left;

    /* for transition effects */
    height: 0;
    overflow: hidden;

    -webkit-transition: height .25s ease .1s;
    -moz-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
}

/*On Hover */
ul#nav li:hover > ul { opacity: 1; filter: alpha(opacity=100); }
ul#nav li:hover > ul li {
    height: 42px;
    overflow: visible;
    border-bottom: 0px solid #26272C;
}
ul#nav li:hover > ul li:last-child  { border: none; }

/* Sub Menu Anchor links */
ul#nav ul li a {
    padding: 10px 15px;
    margin: 0;
    white-space: nowrap;
    font-size: 12px;
    color: #fff;
}

.actives { font-weight: 900!important; color:#dd0030!important }

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

    .paralax{ min-height: 300px !important;  background-size: inherit !important;}
    .headcomplet { min-height: 300px !important; }
    header{ min-height: 70px;}
    
    .h2index{ font-size: 13px; line-height: 16px;}
    
    /* mobile navigation
   -------------------------------------------------------------------- */
    #nav-wrap {
        width: auto;
        /*      margin: 0;
              position: absolute;
              top: 0;
              right: 0;*/
    }
    #nav-wrap > a {
        width: 45px;
        height: 45px;
        text-align: center;
        background-color: #008b92!important;
        position: relative;
        border: none;
        float: none;
        font: 0/0 a;
        text-shadow: none;
        color: transparent;
        position: relative;
        /*       top: 2px;
               right: 36px;*/
        margin: auto;
    }

    #nav-wrap > a:before,
    #nav-wrap > a:after {
        position: absolute;
        border: 2px solid #fff;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
    }
    #nav-wrap > a:after { top: 60%; }

    /* toggle buttons */
    #nav-wrap:not( :target ) > a:first-of-type,
    #nav-wrap:target > a:last-of-type  {
        display: block;
    }

    /* hide menu panel */
    #nav-wrap ul#nav {
        height: auto;
        display: none;
        clear: both;
        width: auto;
        position: relative;
        /*top: 48px;*/
        right: 0px;
    }

    /* display menu panels */
    #nav-wrap:target > ul#nav	{
        display: block;
        padding: 30px 20px 48px 20px;
        background: #f3f3f3;
/*        margin: 0 20px;*/
        clear: both;
        border-radius: 3px;
        width: 100%;
    }

    ul#nav li {
        width: 92%;
        display: block;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }
    ul#nav  li {
        border-bottom: 1px solid #2D2E34;
        border-bottom-style: dotted;
    }
    ul#nav li a {
        background-image: none;
        margin: 0;
        padding: 0;
        font-size: 14px;
        margin: 12px 0;
        line-height: 14px; /* reset line-height from 48px */
        border: none;
    }
    ul#nav span:after {
        left: 5px;
    }

    /* Sub Menu */
    ul#nav ul {
        position: static;
        background: none;
        width: 100%;
        padding-left: 15px !important;
        /* for transition */
        opacity: 0;
    }
    ul#nav ul li {
        width: 100%;
        padding: 0;
        display: list-item;
        border: none;
        /* for transition */
        height: 0px;
        overflow: hidden;
        border-bottom: 1px dotted #595B6A;
    }

    /*On Hover  */
    #nav li:hover > ul li { height: 30px; }
    #nav li:hover > ul li:last-child { margin-bottom: 9px; }

    /* Sub Menu Anchor links */
    #nav ul li a {
        white-space: normal;
        padding-left: 0px !important;
        color:#C0C0C0;
        font-weight: bold;
        font-size: 13px;
        font: 13px/27px raleway-regular, sans-serif;
        line-height: 30px; /* should be the same with li's height */
    }

}


