/*
 !IMPORTANT: Do not edit this file (so that it will be easier to update the template)!
 Put your css modifications into css/custom.css

 - Header
 - Slider
 - Main content
 - Footer
 - 768px >= width <= 959px
 */


/************************ Header */

/* Logo */

#logo {
    float: left;
    margin-top: -10px;
    height: 124px;
    padding: 0 12px 0 20px;
    background: #fff;
}

    #logo > a {
        display: block;
        margin-top: 5px;
    }

#logo-sep {
    float: left;
    width: 67px;
    height: 124px;
    margin-top: -10px;
    background: transparent url(../images/logo-sep.png) no-repeat right 0;
}

.ie7 #logo-sep {
    background: transparent url(../images/logo-sep-ie7.png) no-repeat right 0;
}

.ie7 .nav-dark #logo-sep {
    background: transparent url(../images/logo-sep-ie7-dark.png) no-repeat right 0;
}


#header-shadow {
    top: 114px;
}

#header-shadow-right {
    position: absolute;
    z-index: 3;
    width: 7px;
    height: 120px;
    right: 3px;
    top: 112px;
    background: url(../images/black-7.png) repeat;
}


#page-title {
    padding: 40px 25px 0 25px;
}

    #page-title h1 {
        color: #fff;
    }


/* Nav */

#nav-container {
    height: 114px;
    background: url(../images/white-90.png) repeat;
}

.nav-dark #nav-container,
.nav-dark #header-corner-r {
    background-image: url(../images/black-80.png);
}

.nav-dark #header-shadow {
    background-image: url(../images/black-15.png);
}

.nav-dark #header-corner-r div {
    border-color: #111 transparent transparent #111;
}

.nav-dark #header-corner-l div {
    border-color: #111 #111 transparent transparent;
}

.nav-dark #nav > li > a {
    color: #ccc;
}

.nav-dark #header-social .popover-trigger {
    background: none;
    color: #ccc;
}

.nav-dark #nav > li:hover > a,
.nav-dark #header-social .popover-trigger:hover,
#header-social.active .popover-trigger,
.nav-dark #nav > .current-menu-item > a {
    color: #fff;
}


#nav-trigger {
    display: none;
}

#nav {
    margin: 0;
    position: relative;
    z-index: 2;
}

    #nav li {
        position: relative;
    }

    #nav > li {
        margin-top: 55px;
        float: left;
    }
    
        #nav > li > a {
            margin: 0;
            padding: 20px 25px 0 25px;
            position: relative;
            z-index: 2;
            height: 39px;
            display: block;
            font-size: 14px;
            text-transform: uppercase;
        }
        
        #nav > li:hover > a,
        #nav > .current-menu-item > a {
            color: #fff;
            background-color: #007DAB;
            transition: background-color 0.3s;
            -webkit-transition: background-color 0.3s;
            -moz-transition: background-color 0.3s;
        }
        
        #nav ul {
            display: none;
            position: absolute;
            left: 0;
            top: 59px;
            min-width: 180px;
            padding: 10px 0 10px 0;
            background: #007DAB;
        }
        
        #nav ul ul {
            top: -10px;
            left: 100%;
        }
        
        /*#nav li:hover > ul {
            display: block;
        }*/
        
            #nav ul li a {
                display: block;
                padding: 5px 20px;
                font-size: 12px;
                color: #fff;
                font-family: Arial, Helvetica, sans-serif;
            }
            
            #nav ul li > span {
                display: block;
                width: 4px;
                height: 6px;
                position: absolute;
                right: 20px;
                top: 50%;
                margin-top: -3px;
                background: url(../images/pointer-right-small-white.png) no-repeat 0 0;
            }


/************************ Slider */

#header-slider {
    top: -124px;
    margin-bottom: -121px;
    height: 500px;
    overflow: hidden;
}

.slider-description {
    position: absolute;
    z-index: 3;
    left: -20px;
    bottom: -20px;
}

    .slider-description-inner {
        height: 190px;
        min-width: 360px;
        max-width: 480px;
    }
    
        .slider-description h1 {
            font-size: 18px;
            line-height: 24px;
        }
        
        .slider-description .button-primary {
            position: absolute;
            right: 25px;
            bottom: 25px;
            font-size: 14px;
        }


/************************ Main content */

.content-page {
    padding-top: 40px;
    padding-bottom: 5px;
}

.content {
    width: 610px;
    float: left;
}

.sidebar {
    position: relative;
    z-index: 2;
    float: right;
    width: 280px;
    margin-right: -25px;
}

    .sidebar .widget {
        padding: 0 25px 5px 25px;
    }

.sidebar-bg {
    background: #f9f9f9;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    border-left: 1px solid #eee;
}

.sidebar-shadow {
    width: 5px;
    position: absolute;
    z-index: 2;
    right: 275px;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: 0.02;
    filter: alpha(opacity=2);
}


/************************ Footer */

#footer-2 p {
    margin-bottom: 0;
}

#footer-nav {
    float: right;
    margin: 0;
}

#footer-nav li {
    float: left;
    margin: 0 0 0 20px;
}


/************************ 768px >= width <= 959px */

@media only screen and (min-width: 768px) and (max-width: 959px) {
    #header-slider {
        margin-bottom: -121px;
        height: 423px;
    }
    
    .header-image {
        width: 748px;
    }
    
    
    .content {
        width: 480px;
    }
    
    .sidebar {
        width: 217px;
    }
    
    .sidebar-bg {
        width: 217px;
    }
    
    .sidebar-shadow {
        right: 212px;
    }
    
    
    /* Main nav */
   
    #nav > li > a {
        font-size: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }
}