/* Copyright (C) 2012 Technical Lapping Company Ltd. All rights reserved. */
div.ccm-head {
    top: 0px;
    left: 0px;
    min-width: 1000px;
    width: 100%;
    position: fixed;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, .8);
    border-bottom: 2px solid rgba(255, 255, 255, .8);
}

div.ccm-head ul {
    list-style: none;
}

div.ccm-head-links {
    background: #131623;
    height: 22px;
    float: left;
    width: 100%;
    color: #A1A2A7;

    background: -webkit-linear-gradient(top, #131623, #1A1C27);
    background: -moz-linear-gradient(top, #131623, #1A1C27);
    background: -o-linear-gradient(top, #131623, #1A1C27);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#131623', endColorstr='#1A1C27');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#131623', endColorstr='#1A1C27')";
}

div.ccm-head-links ul {
    background-color: #131623;
    float: right;
    margin-right: 5%;
    border-left: 1px solid #2b2d39;
    border-right: 1px solid #02050e;
}

div.ccm-head-links li {
    line-height: 22px;
    border-left: 1px solid #02050E;
    border-right: 1px solid #2B2D39;
    float: left;
}

div.ccm-head-links span,
div.ccm-head-links a {
    padding: 3px 20px;
    text-decoration: none;
    color: #a1a2a7;
}

.about-active div.ccm-head-links a.about,
.careers-active div.ccm-head-links a.careers,
div.ccm-head-links a.active,
div.ccm-head-links a:active,
div.ccm-head-links a:hover {
    color: white;
}

div.ccm-head-nav {
    background: #131623;
    height: 50px;
    float: left;
    width: 100%;
    color: #A1A2A7;
    border-top: 1px solid rgba(255, 255, 255, .5);

    background: -webkit-linear-gradient(top, #a20000, #420000);
    background: -moz-linear-gradient(top, #a20000, #420000);
    background: -o-linear-gradient(top, #a20000, #420000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a20000', endColorstr='#420000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#a20000', endColorstr='#420000')";
}

div.ccm-head-nav ul.ccm-head-nav-pages,
div.ccm-head-nav ul.ccm-head-nav-home {
    height: 50px;
    margin: 0px 20px;
    float: left;
    overflow: hidden;
}

div.ccm-head-nav ul.ccm-head-nav-home li {
    position: absolute;
    float: left;
    width: 100px;
    height: 50px;
    display: block;
    overflow: hidden;
}

div.ccm-head-nav ul.ccm-head-nav-home li > a {
    background-image: url(/images/tlc-head-nav-logo.png);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 100px;
    height: 50px;
    left: 0px;
    top: 0px;
    display: block;
    overflow: hidden;
    text-indent: -2000px;
    float: left;
    z-index: 10;
    -moz-opacity: 0.8;
    -webkit-opacity: 0.8;
    opacity: 0.8;
}

div.ccm-head-nav ul.ccm-head-nav-home li > a:hover {
    background-image: url(/images/tlc-head-nav-logo-flare.png);
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
}

div.ccm-head-nav ul.ccm-head-nav-pages li {
    float: left;
}

div.ccm-head-nav ul.ccm-head-nav-pages li:first-child {
    margin-left: 20px;
}

div.ccm-head-nav ul.ccm-head-nav-pages li > a {
    display: block;
    font-size: 18px;
    padding: 15px 20px;
    text-decoration: none;
    color: #ddd;
}

div.ccm-head-nav ul.ccm-head-nav-pages li:first-child > a {
    background-color: transparent !important;
}

.quantity_surveying-active div.ccm-head-nav ul.ccm-head-nav-pages li > a.quantity_surveying,
.cost_expertise-active div.ccm-head-nav ul.ccm-head-nav-pages li > a.cost_expertise,
.contact-active div.ccm-head-nav ul.ccm-head-nav-pages li > a.contact,
div.ccm-head-nav ul.ccm-head-nav-pages li > a.active,
div.ccm-head-nav ul.ccm-head-nav-pages li > a:active,
div.ccm-head-nav ul.ccm-head-nav-pages li > a:hover {
    background-color: #680000;
    color: #fff;
    text-shadow: 0 0 3px white;
}
