.topmargin-xs{
    margin-top: 8px;
}
#primary-menu > div > ul.secondary_menu{
    margin-top: 0!important;
}

.dark #primary-menu ul.secondary_menu li > a{
    color: #FFF!important;
}
#header.dark #primary-menu ul.secondary_menu li > a{
    color: #FFF!important;
}
@media (max-width: 767px) {


    #logo img {
        height: 80px;
        margin-top: 10px;
        margin-left: 5px;
    }
    #top-search form input{
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    #primary-menu-trigger {
        left: -10px;
    }
    #primary-menu #top-search-trigger{
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

.mega-menu-content{
}

.button-red {
    background-color: #d52b1e;
}
.button-border.button-red {
    color: #d52b1e;
    border-color: #d52b1e;
}

.button-red.red-cta {
    background-color: #d52b1e;
	color: white !important;
}

.button-3d.button-red:hover, .button-reveal.button-red:hover, .button-border.button-red:hover, .button-border.button-red.button-fill:before {
    background-color: #d52b1e !important;
}
#top-bar {
    font-size: 14px;
	z-index: 200;
}
#page-title.page-title-parallax{
    background-size: 100% auto;
}

#page-title span {
    width: 60%;

}

#page-title.page-title-parallax span {
    font-size: 18px;
    font-weight: bold;
}


@media (max-width: 767px) {
    #page-title.page-title-parallax h1 {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.25;
    }
    #page-title span {
        width: 100%;
    }
}
#page-title .breadcrumb {
    font-size: 16px;
}

#page-title.theme_blue{
    background-color: #44697C;
}
#page-title.theme_blue h1{
    color: #FFF;
}
#page-title.theme_blue h1 + span{
    color: #FFF;
}

#page-title.theme_blue .breadcrumb *{
    color: #FFF;
}


.clients-grid li a {
    opacity: 1;
}

.clients-grid li figcaption {
    min-height: 45px;
}


.button-light {
    color: #d52b1e;
}
.button.button-3d.button-light:hover,
.button.button-reveal.button-light:hover {
    color: #d52b1e;
}
#slider .heading-block::after {
    display: none;
}
@media (max-width: 767px) {
    .is-team #slider .slider-parallax-inner:before{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        content: '';

        background: -moz-linear-gradient(top, rgba(49,93,117,0) 0%, rgba(49,93,117,0.5) 60%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(49,93,117,0) 0%,rgba(49,93,117,0.5) 60%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(49,93,117,0) 0%,rgba(49,93,117,0.5) 60%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */0
    }
    .is-team #slider .slider-parallax-inner .heading-block h1{
        font-size: 24px;
        line-height: 1.25;
    }
}

#footer.dark,
.dark #footer {
    background-color: #315d75;
}
.heading-block:after {
    border-top: 2px solid #315d75;
}
a{
	color: #315d75;
}
.entry-image,
.portfolio-image,
.fbox-media{
	background-color: #315D75;
}
.button.footerbuttonblue {
	background-color: #315d75 !important
}

.bg-section {
    background-color: #FFF;
}
.bg-section a i{
	color: #d52b1e;
}
.bg-section a strong{
	color: #333;
}
.dark #primary-menu:not(.not-dark) ul ul, .dark #primary-menu:not(.not-dark) ul li .mega-menu-content, #primary-menu.dark ul ul, #primary-menu.dark ul li .mega-menu-content {
    background-color: #315d75;
}
.dark #primary-menu ul li .mega-menu-content ul.mega-menu-column:not(:first-child), #primary-menu.dark ul li .mega-menu-content ul.mega-menu-column:not(:first-child) {
    border-left-color: #315d75;
}
.heading-block h1, .heading-block h2, .heading-block h3, .heading-block h4, .emphasis-title h1, .emphasis-title h2 {
    color: #315d75;
}

.quick-contact-widget .style-msg{
    border-left: none;
}
.quick-contact-widget .style-msg.success + .holder_form{
    display: none;
}
.postcontent ul,
.postcontent ol{
    margin-left: 25px;
}

h3 span.subtitle {
    display: block;
    margin-top: 5px;
    color: #444;
    font-weight: 300;
    text-transform: none;
}

/* NW-2 */
.topmargin_neg_80 {
    margin-top: -80px !important;
}

/* NW-3 */
.ipost .entry-title h3.bigger,
.ipost .entry-title h4.bigger {
    font-size: 20px;
}

/* NW-4 */
h1, h2, h3, h4, h5, h6 {
    color: #315d75;
}

/* NW-5 */
.fancy-title h4 {
    font-size: 24px;
    font-weight: 700;
}

.portfolio-item {
    width: 100% !important;
}
@media (max-width: 767px) {
    ul.tab-nav li:first-child {
        margin-left: 0;
    }
    ul.tab-nav li a {
        font-size: 11px;
    }
}