/**********************************************************************************/
/*                                      HEADER                                    */
/**********************************************************************************/
header
{
    width: 100%;
    display: block;
    position: static;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .spacer
{
    height: 15px;
    background-color: #333;
}

header .top-menu-bar
{
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header .top-menu-bar table td:nth-of-type(1)
{
    padding: 10px;
    width: 100px;
}

header .top-menu-bar table td:nth-of-type(2)
{
    text-align: center;
}

header .top-menu-bar table td:nth-of-type(2) li
{
    text-align: left;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li > a
{
    border-top: 6px solid transparent;
    font-size: 16px;
    color: #ffffff;
    font-weight: normal;
    /*text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);*/
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    padding: 34px 11px 32px 11px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li > a:hover
{
    color: #ffffff;
}

header .top-menu-bar table td:nth-of-type(2) > ul
{
    float: none;
    display: inline-block;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li .submenu
{
    border-top: 6px solid transparent;
    width: 280px;
    background-color: #ececec;
    color: #333333;
    font-size: 12px;
    top: 100px;
    padding: 20px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li .submenu li
{
    width: 100%;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li .submenu li a
{
    width: 100%;
    padding: 2px 10px 2px 10px;
    margin: 2px 0 2px 0;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    color: #333333;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li .submenu li a:hover
{
    color: #ffffff;
}

header .top-menu-bar table td:nth-of-type(3)
{
    text-align: right;
    width: 100px;
}

header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(1) > a:hover { border-top-color: #399294; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(2) > a:hover { border-top-color: #f77d7b; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(3) > a:hover { border-top-color: #b5d34a; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(4) > a:hover { border-top-color: #ff8631; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(5) > a:hover { border-top-color: #84c3c6; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(6) > a:hover { border-top-color: #e7c7ad; }

header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(1) .submenu { border-top-color: #399294; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(2) .submenu { border-top-color: #f77d7b; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(3) .submenu { border-top-color: #b5d34a; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(4) .submenu { border-top-color: #ff8631; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(5) .submenu { border-top-color: #84c3c6; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(6) .submenu { border-top-color: #e7c7ad; }

header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(1) .submenu a:hover { background-color: #399294; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(2) .submenu a:hover { background-color: #f77d7b; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(3) .submenu a:hover { background-color: #b5d34a; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(4) .submenu a:hover { background-color: #ff8631; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(5) .submenu a:hover { background-color: #84c3c6; }
header .top-menu-bar table td:nth-of-type(2) > ul > li:nth-of-type(6) .submenu a:hover { background-color: #e7c7ad; }

header.scrolled .top-menu-bar
{
    background-color: #ffffff;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(179,179,179,1);
    -moz-box-shadow: 0px 3px 5px 0px rgba(179,179,179,1);
    box-shadow: 0px 3px 5px 0px rgba(179,179,179,1);
}

header.scrolled .top-menu-bar table td:nth-of-type(2) li a
{
    text-shadow: none;
    color: #333333;
}

header.scrolled .top-menu-bar table td:nth-of-type(2) li a:hover
{
    color: #000000;
}

/**********************************************************************************/
/*                                      FOOTER                                    */
/**********************************************************************************/

footer .first-footer
{
    background-color: #464646;
    padding: 50px 0;
    color: #ffffff;
    font-weight: normal;
    font-size: 14px;
}

footer .first-footer h2
{
    display: block;
    margin: 0 0 14px;
    padding: 0 0 14px;
    text-transform: uppercase;
    color: #c4d42c;
    font-size: 16px;
    border-bottom: 1px solid #c4d42c;
}

footer .first-footer ul
{
    margin: 0;
    padding: 0;
}

footer .first-footer ul li
{
    margin: 0;
    list-style: none;
    display: block;
    float: none;
    position: static;
}

footer .first-footer .menu ul li:first-child
{
    margin-top: 0;
}

footer .first-footer .menu a
{
    color: #fff;
    padding: 3px 10px 3px 20px;
    background: url(/includes/images/footer-link-arrow.png) center left no-repeat;
    background-size: 6px 9px;
    transition: 0.2s all ease;
    width: 100%;
}

footer .first-footer .menu a:hover
{
    color: #eee;
}

footer .second-footer
{
    background-color: #c3c2bd;
}

footer .second-footer a
{
    color: #000;
    font-weight: bold;
}

footer .second-footer div
{
    color: #333;
    font-size: 14px;
    line-height: 40px;
}