/* CSS Document */
/* Flexslider */
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/
#content .flexslider ul, .flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 20px; background: #fff; position: relative; zoom: 1; overflow:hidden;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1; margin:0;}

.carousel li {margin-right: 5px}

.flexslider ul, .flexslider ol  {
    margin-bottom:0!important;
}

.flexslider ul li {
    margin-bottom:0!important;
    padding:0!important;
}


/* Direction Nav */
.flex-direction-nav a {width: 36px; height: 39px; margin: -20px 0 0; display: block; background: url(//d25w4yby8gyv0a.cloudfront.net/images/backgrounds/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 0 -39px; }/*right: -36px;}
.flex-direction-nav .flex-prev {left: -36px;}*/
.flexslider .flex-next {opacity: 1; right: 10px;}
.flexslider .flex-prev {opacity: 1; left: 10px;}
.flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

#homeBanner .flex-direction-nav a { opacity: 0.3; z-index: 9999; top: 48% !important; }
#homeBanner .flex-direction-nav a:hover { opacity: 1; }
#homeBanner .flex-direction-nav .flex-next { background-position: -39px 0; }

/* Control Nav */
.flex-control-nav {position: absolute; bottom: 10px; right:20px; text-align: center;}
.flex-control-nav li {display: inline-block; zoom: 1; *display: inline; margin-left:10px;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #fff; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px;}
.flex-control-paging li a:hover {background: #EEEEEE;}
.flex-control-paging li a.flex-active {background: #EC5C33; cursor: default; position: relative; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .active {opacity: 1; cursor: default;}

/* Editor Styles */
h1 {
    font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
    font-size: 40px;
    line-height: 45px;
    font-weight: 300;
    color: #383838;
}
h2, #homeFeaturedWork .featured_work_desc h3 {
    font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
    font-size: 38px;
    line-height: 45px;
    font-weight: 300;
    color: #383838;
}


/* transitions css */
.animate_, .animate_:hover {
    -webkit-transition : all 0.4s linear;
    -moz-transition    : all 0.4s linear;
    -o-transition      : all 0.4s linear;
    transition         : all 0.4s linear;
}
.quick_animate_, .quick_animate_:hover {
    -webkit-transition : all 0.2s linear;
    -moz-transition    : all 0.2s linear;
    -o-transition      : all 0.2s linear;
    transition         : all 0.2s linear;
}

#headerWrapper {
    border-bottom: 1px solid #323232;
    padding: 42px 0 0 0;
    padding: 26px 0 0 0;
    height: 46px;
}

/* Mobile Nav */
#mobile_nav #mobile_nav_launch {
    top: 9px;
    right: 5%;
}


/* Changing the navigation for the home page - Removing sticky functions & changing the styles slightly */
#header_top_non_stick {
    height: 63px;
    float: left;
    width: 100%;
    display: block;
    position: relative;
    width: 100%;
    background: #1E1E1E;
    z-index: 999;
    top: 0;
    left: 0;
    height: 63px;
    border-bottom: 1px solid #373737;
    border-top: 2px solid #EC5C33;
}
#header_top_non_stick #navigation {
    float: right;
}

#header_top_non_stick #mainNav {
    padding-top: 0;
    margin-right: 40px;
}

#header_top_non_stick #mainNav > li > a {
    padding: 23px 20px 24px;
}

#header_top_non_stick #mainNav > li {
    margin-left: 0;
}

#header_top_non_stick #mainNav > li > a:hover, #header_top_non_stick #mainNav li.current > a, #header_top_non_stick #mainNav > li:hover > a {
    background: #111;
}

#header_top_non_stick #mainNav > li.contact {
    margin-top: 0px;
}
#header_top_non_stick #mainNav > li.contact a{
    margin-top: 15px;
    padding: 5px 10px 4px;
}

#header_top_non_stick #mainNav li:hover ul, #header_top_non_stick #mainNav li.sfHover ul {
    top: 64px;
}

#header_top_non_stick #mainNav li.contact:hover ul, #header_top_non_stick #mainNav li.sfHover.contact ul {
    top: 49px;
}

#header_top_non_stick #mainNav li li.sfHover ul {
    top: 0px;
}
#header_top_non_stick .global_subnav {
    display: none;
}

#header #header_top_non_stick a.logo {
    background-image: url('//d25w4yby8gyv0a.cloudfront.net/images/backgrounds/nbm-logo-small.png');
    background-size: 96px auto;
    height: 45px;
    width: 100px;
    margin: 10px 0 0 5px;
}

/* Navigation Styles - Overwrites */

#mainNav > li.contact > a, #mainNav > li.contact > a:active, #mainNav > li.contact > a:link {
    background: #5B5B5B!important;
}
#mainNav > li.contact > a:hover {
    background: #EC5C33 !important;
    color: #fff;
}
#mainNav > li.contact span {
    background-position: bottom right;
}
#mainNav > li.contact a:hover span {
    background-position: top right;
}

/* Home Page Featured Banner */

.featureHomeBanner {
    overflow: hidden;
    height: 800px;
    position: relative;
    display: block;
    float: left;
    width: 100%;
}
#homeBanner {
    margin:  0px;
    min-height: 400px;
}
#homeBanner ul.slides > li {
    position: relative;
    /*display: inline-table;*/
    width: 100%;
    vertical-align: middle;
    text-align: center;
    transition: background-postion linear 0.6s;
}
.flex-control-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 999;
}
.flexslider .slides img {
    width: 100%;
    display: block;
    height: auto;
}
.flex-control-paging li a {
    width: 16px;
    height: 16px;
}
#homeBanner .banner_text .button.homebutton {
    color: #fff;
    margin-top: 15px;
    background: none;
    background-image: none;
    border: solid 1px #fff!important;
    font-weight: normal;
    font-size: 12px;
    -webkit-border-radius:0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    padding: 15px 30px!important;
    line-height: 22px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
}

#homeBanner .banner_text .button.homebutton:hover {
    color: #EB6031!important;
    border-color: #EB6031!important;
 }

#homeBanner .banner_text .button.homebutton:active {
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    filter: blur(1px);
 }

.position_wrapper {
    position: relative;
    display: inline-table;
    height: 800px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}
/* Default position - Middle */

#homeBanner .banner_text, #homeBanner .banner_text.middle {
    display: table-cell;
    text-align: center;
    z-index: 2;
    height: 100%;
    position: static;
    vertical-align: middle;

    -webkit-transition : all 0.1s linear;
    -moz-transition    : all 0.1s linear;
    -o-transition      : all 0.1s linear;
    transition         : all 0.1s linear;
}
#homeBanner .banner_text_container, #homeBanner .banner_text.middle .banner_text_container{
    width: 38%;
    background: url("/images/backgrounds/transparent-line-home.png") no-repeat bottom center;
    display: inline-block;
    padding: 0 0 60px 0;
}
#homeBanner .banner_text h2, #homeBanner .banner_text.middle h2{
    color: #fff;
    padding: 60px 0 0 0;
    background: url("/images/backgrounds/transparent-line-home.png") no-repeat top center;
    font-size: 36px;
    line-height: 55px;
    font-weight: 300;
}

/* Position - Top */

#homeBanner .banner_text.top {
    vertical-align: top;
    padding-top: 3%;
}

/* Position - Bottom */

#homeBanner .banner_text.bottom {
    vertical-align: bottom;
    margin-bottom: 3%;
}

/* No top and bottom borders on the banner text */
#homeBanner .banner_text h2.no_lines {
    background: none;
}
#homeBanner .banner_text_container.no_lines {
    background: none;
}


/*---------------------------------*/
/*------Introduction Slide---------*/
/*---------------------------------*/

.website_introduction {
    background: url('//d25w4yby8gyv0a.cloudfront.net/images/backgrounds/transparent-line-home-grey.png') bottom center no-repeat #fff;
    padding: 80px 0 80px;
    float: left;
    display: block;
    width: 100%;
}
.half_intro {
    width: 40%;
    margin-right: 6%;
    float: left;
    font-size: 16px;
    line-height: 23px;
    color: #757575;
}
.half_intro.right {
    width: 54%;
    margin-right: 0;
    float: left;
    font-size: 13px;
    line-height: 19px;
    color: #383838;
}
.website_introduction h2{
    margin-bottom: 10px;
}
.website_introduction .padding{
    padding: 0 30px;
}
.homebuttontwo {
    background: #EB6031!important;
    color: #fff;
    border: 1px solid transparent;
    padding: 7px 10px!important;
    margin-top: 15px;
    text-shadow: none;
    border-radius: 0;
    -mos-border-radius: 0;
    -webkit-border-radius: 0;
    -ms-border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.homebuttontwo:hover {
    background: transparent!important;
    color: #EB6031!important;
    border: #EB6031 solid 1px;
}
.homebuttontwo:active {
    background: transparent!important;
    color: #EB6031!important;
    border: #EB6031 solid 1px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    filter: blur(1px);
}
.homebuttontwo.reverse {
    background: transparent!important;
    color: #EB6031!important;
    border: #EB6031 solid 1px;
}
.homebuttontwo.reverse:hover {
    background: #EB6031!important;
    color: #fff!important;
}
/*--------------------------------------*/
/*------Client's Featured Slide---------*/
/*--------------------------------------*/

.featured_clients {
    padding: 70px 0 90px;
    background: #FFFFFF;
}
.featured_clients h2{
    text-align: center;
    margin-bottom: 30px;
}

#clients_banner {
    text-align: center;
}
#clients_banner a.logo{
    width: auto;
    display: inline-block;
    margin-right: 3%;
    margin-bottom: 20px;
    margin-top: 10px;
}
#clients_banner a.logo.bottom_line{
    margin-right: 6.6%;
}
#clients_banner a.logo.extra_margin {
    margin-right:3%;
    margin-left:1%;
}
#clients_banner a.logo.bottom_line.sophie_g{
    margin-left: -2%;
    margin-right: 8%;
}
#clients_banner a.logo.bottom_line.last{
    margin-right: 2.6%;
    margin-left: -1%;
}
/*#clients_banner a.logo:hover img{
    /*opacity: 0.7;*/
}*/
.featured_client_divider {
    margin: 20px 0;
}

/*--------------------------------------*/
/*------We're Experts In Slide---------*/
/*--------------------------------------*/
.experts_are_us {
    background: #F5F7F6;
    padding: 40px 0 130px;
    text-align: center;
}
.experts_are_us h2 {
    font-size: 37px;
    line-height: 46px;
    margin: 20px 0 40px;
}
.expert_panel {
    width: 22%;
    float: left;
    margin-right: 4%;
}
.expert_panel.right {
    margin-right: 0%;
}
.expert_panel .icon {
    margin-bottom: 30px;
}
.expert_panel .icon i {
    color: #EB6031;
    font-size: 80px;
    line-height: 80px;
}
.expert_panel h3{
    font-family: Arial, helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}
.expert_panel h3:hover {
    color: #EB6031;
}
.expert_panel .text {
    min-height: 200px;
}
.expert_panel:hover .icon {
    animation: pulse .7s;
    -webkit-animation: pulse .7s; /* Safari and Chrome */
}
/*--------------------------------------*/
/*------Featured Work Slide---------*/
/*--------------------------------------*/
.featured_work {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 29%, #f5f7f7 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(29%,#ffffff), color-stop(100%,#f5f7f7)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 29%,#f5f7f7 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 29%,#f5f7f7 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 29%,#f5f7f7 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 29%,#f5f7f7 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f7f7',GradientType=0 ); /* IE6-9 */

    padding: 90px 0 0px;
    text-align: center;
}
.featured_work h2{
    margin-bottom: 30px;
}
#homeFeaturedWork {
    background: none;
}
#homeFeaturedWork .featured_work_desc {
    width: 200px ;
    margin-top: 80px;
    float: left;
    text-align: left;
}

#homeFeaturedWork .featured_work_desc h3{
    font-size: 28px;
    line-height: 33px;
    font-weight: normal;
    margin-bottom: 8px;
}
#homeFeaturedWork .featured_work_desc p {
    margin-bottom: 22px;
}
#homeFeaturedWork .featured_work_desc .homebuttontwo {
    font-family: Arial, helvetica, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 12px!important;
}
#homeFeaturedWork.flexslider .slides img{
    width: auto;
    display: block;
    float: none;
}
.portfolioImageHolder {
    width: 735px;
    margin: 8px 10px -30px 0;
}
.portfolioImageHolder .portfolioImageOverflow {
    width: 733px;
    height: 455px;
}

#homeFeaturedWork.flexslider {
    margin: 0 0 0px;
}
#homeFeaturedWork.flexslider .portfolioImageHolder_mobile {
    margin: -277px 0 0px 228px;
    width: 223px;
    height: 306px;
    overflow: hidden;
    position: relative;
    background-position: top center;
}

#homeFeaturedWork.flexslider .slides .portfolioImageOverflow_mobile img{
    width: 145%;
    height: auto;
    left: -22%;
    position: relative;
}

#homeFeaturedWork.flexslider .flex-direction-nav a {
    width: 82px;
    height: 74px;
    z-index: 999;
}
#homeFeaturedWork.flexslider .flex-direction-nav .flex-prev {
    background: url(//d25w4yby8gyv0a.cloudfront.net/images/backgrounds/home-nav-arrows-left.png) no-repeat 0 0;
    left: 103px;
    opacity: 0.9;
    z-index: 999;
}
#homeFeaturedWork.flexslider .flex-direction-nav .flex-next {
    right: 103px;
    opacity: 0.9;
    background: url(//d25w4yby8gyv0a.cloudfront.net/images/backgrounds/home-nav-arrows-right.png) no-repeat 0 0;
}
#homeFeaturedWork.flexslider .flex-direction-nav .flex-prev:hover, #homeFeaturedWork.flexslider .flex-direction-nav .flex-next:hover {
    opacity: 0.6;
    z-index: 999;
}


#thumb_navi.flexslider {
    margin: 0 0 0px;
    border-top: solid 1px #E0E0E0 ;
    z-index: 999;
}

#thumb_navi .flex-viewport {
    height: 136px !important;
}

#thumb_navi img {
    border-right: 1px #fff solid;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition : all 0.1s linear;
    -moz-transition    : all 0.1s linear;
    -o-transition      : all 0.1s linear;
    transition         : all 0.1s linear;
}
#thumb_navi img:hover{
    cursor: pointer;
    -webkit-transition : all 0.1s linear;
    -moz-transition    : all 0.1s linear;
    -o-transition      : all 0.1s linear;
    transition         : all 0.1s linear;
    opacity: 0.7;
}
#thumb_navi img:active{
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    filter: blur(1px);
}


/*--------------------------------------*/
/*------Contact Us Slide---------*/
/*--------------------------------------*/

.contact_us {
    background: #1B1F23;
    text-align: center;
}
.contact_us .padding {
    padding: 90px 0 100px;
}
.contact_us:hover {
    /*background: #EB6031;*/
}
.contact_us i{
    position: relative;
    z-index: 1;
    font-size: 220px;
    color: #fff;
    display: block;
    line-height: 160px;
 }
.contact_us:hover i{
    z-index: -1;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -khtml-opacity: 0;
    -moz-opacity: 0;
}
.contact_us h2.like{
    color: #fff;
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 30px;
}
.contact_us .question {
     margin-top: 0;
     z-index: 100;
     margin-bottom: 0px;
    position: relative;
 }
.contact_us .button_container {
    margin-top: -183px;
    z-index: 100;
     margin-bottom: 0px;
    position: relative;
 }
.contact_us .homebuttontwo{
    background: none!important;
    padding: 0px 0!important;
    display: inline-block;
    height: 170px;
    width: 170px;
    font-size: 20px;
    text-transform: uppercase;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -khtml-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    border: 2px solid #fff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 262px;
    box-sizing: border-box;
    line-height: 170px;
}
.contact_us .homebuttontwo:hover {
    background: transparent !important;
    color: #EB6031!important;
    border-color: #EB6031!important;
}
.contact_us:hover .homebuttontwo{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=100);
    -khtml-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    animation: pulse 1s;
    -webkit-animation: pulse 1s; /* Safari and Chrome */
}

/* footer fix */
#footerContact {
    background: #fff;
}

/* Only mobile */
.only_mobile {
    display: none;
}

/*--------------------------------------*/
/*------ Featured Video ---------*/
/*--------------------------------------*/
.video .intro_video_wrapper,
.video .intro_video {
    background: #222;
    width: 100%;
    display: block;
    float: left;

    background: rgba(51,51,51,1);
    background: -moz-linear-gradient(top, rgba(51,51,51,1) 0%, rgba(117,117,117,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(51,51,51,1)), color-stop(100%, rgba(117,117,117,1)));
    background: -webkit-linear-gradient(top, rgba(51,51,51,1) 0%, rgba(117,117,117,1) 100%);
    background: -o-linear-gradient(top, rgba(51,51,51,1) 0%, rgba(117,117,117,1) 100%);
    background: -ms-linear-gradient(top, rgba(51,51,51,1) 0%, rgba(117,117,117,1) 100%);
    background: linear-gradient(to bottom, rgba(51,51,51,1) 0%, rgba(117,117,117,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#757575', GradientType=0 );
}

.intro_video_wrapper {
    position: relative;
    height: 100%;
    min-height: 600px;
    -webkit-transition: linear 0.4s height;
    -moz-transition: linear 0.4s height;
    -o-transition: linear 0.4s height;
    transition: linear 0.4s height;
    overflow-y: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.intro_video video {
    display: block;
    float: left;
    height: 100%;
    width: 100%;
    height: auto;
    opacity: 0.7;
    z-index: 1;
    position: relative;
}

.intro_video_text,
.intro_video_text h2 {
    background: url(//d25w4yby8gyv0a.cloudfront.net/images/backgrounds/transparent-line-home.png) top center no-repeat;
}

.intro_video_text {
    display: block;
    width: 100%;
    position: absolute;
    z-index: 2;
    text-align: center;
    padding: 50px 0 0;
    top: 300px;
}

.intro_video_text h2 {
    color: #fff;
    font-size: 60px;
    line-height: 1.2em;
    background-position: bottom center;
    padding: 0 0 50px;
}

.scroll_down {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    color: #FFF;
    font-size: 60px;
    width: 100%;
    text-align: center;
}
.scroll_down i {
    -webkit-animation: bounce 1s 4;
    -moz-animation:    bounce 1s 4;
    animation:         bounce 1s 4;
    cursor: pointer;
}

@media only screen and (max-width: 767px) {
    .intro_video_text {
        top: 175px;
    }

    .intro_video_text h2 {
        font-size: 30px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .intro_video_wrapper { min-height: 300px; }
    .intro_video_text { top: 50px; }
}

@media only screen and (max-width: 480px) {
    .intro_video_wrapper { min-height: 400px; }
    .intro_video_text { top: 75px; }
}

/*--------------------------------------*/
/*------Media Queries---------*/
/*--------------------------------------*/

@media only screen and (max-width: 1498px) {
    #homeBanner .banner_text_container, #homeBanner .banner_text.middle .banner_text_container {
        width: 45%;
    }
    /* Home banner */
    .flex-direction-nav a {
        top: 67%;
    }
    #homeFeaturedWork.flexslider .flex-direction-nav .flex-next {
        right: 2%;
    }
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1181px) {

    /* Home Banner */
    .featureHomeBanner {
        min-height: 0;
    }
    .position_wrapper {
        height: 600px;
    }
    #homeBanner .banner_text_container, #homeBanner .banner_text.middle .banner_text_container {
        width: 73%;
    }
    /*Into slide */
    .half_intro {
        width: 50%;
        margin-right: 2%;
    }
    .half_intro.right {
        width: 47%;
    }

    /*Featured clients & intro */
    .website_introduction {
        padding: 80px 0 51px;
    }

    #clients_banner a.logo {
        width: 98px;
        display: inline-block;
        margin-right: 3%;
    }
    #clients_banner a.logo.bottom_line {
        margin-right: 2.6%;
    }
    #clients_banner a.logo.bottom_line.sophie_g {
        margin-left: 0%;
        margin-right: 3%;
    }
    #clients_banner a.logo.bottom_line.last {
        margin-right: 1.6%;
        margin-left: 0%;
    }
    #clients_banner a.logo img{
        width: 100%;
        height: auto;
    }
    /*Contact slide */
    .contact_us i {
        z-index: -1;
        opacity: 0;
    }
    .contact_us .homebuttontwo {
        opacity: 1;
    }

}

/*Extra sizes for more tricky elements */
@media only screen and (min-width: 1009px) and (max-width: 1181px) {
    /* featured work */
    .portfolioImageHolder_mobile {
        background-size: auto;
        padding: 64px 27px
    }
    .portfolioImageOverflow_mobile {
        height: 304px;
        width: 168px;
    }
}
/* For the featured work */
@media only screen and (max-width: 1008px) {
    /* featured work */
    .portfolioImageHolder {
        background-size: 100% auto;
        width: 476px;
        margin: 8px 10px -30px 0;
        right: 40px;
    }
    .portfolioImageHolder .portfolioImageOverflow {
        width: 474px;
        height: 455px;
    }
    .portfolioImageHolder .portfolioWebsite {
        height: 20px;
        text-align: left;
        padding-left: 40px;
        padding-top: 1px;
        font-size: 7px;
    }
 #homeFeaturedWork .featured_work_desc {
    width: 177px;
    margin-top: 0;
    margin-left: 30px;
    margin-bottom: 33px;
}
    #homeFeaturedWork.flexslider .portfolioImageHolder_mobile {
        background-size: auto 306px;
        margin: -226px 0 0px 177px;
        padding: 43px 53px;
        height: 226px;
    }
    #homeFeaturedWork.flexslider .flex-direction-nav {
        display: none;
    }

    /* Only small devices */
    .only_mobile {
        display: inline;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

    #clients_banner a.logo.extra_margin {
        margin-right: 0;
    }

    .animate_, .animate_:hover {
        -webkit-transition : none;
        -moz-transition    : none;
        -o-transition      : none;
        transition         : none;
    }
    .quick_animate_, .quick_animate_:hover {
        -webkit-transition : none;
        -moz-transition    : none;
        -o-transition      : none;
        transition         : none;
    }

    h1 {
        font-size: 30px;
        line-height: 36px;
    }
    h2, #homeFeaturedWork .featured_work_desc h3 {
        font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
        font-size: 34px;
        line-height: 40px;
        font-weight: 300;
    }
    /* Home Banner */
    .featureHomeBanner {
        min-height: 0;
        height: auto;
    }
    .position_wrapper {
        height: 400px;
    }
    #homeBanner .flex-control-nav {
        display: none;
    }
    #homeBanner .banner_text_container, #homeBanner .banner_text.middle .banner_text_container {
        width: 90%;
        /*background: url("/images/backgrounds/transparent-line-home.png") no-repeat bottom center;*/
    }
    #homeBanner .banner_text h2, #homeBanner .banner_text.middle h2 {
        padding: 60px 0 0 0;
        font-size: 30px;
        line-height: 44px;
    }
    .black_out_mobile {
        background-image: none!important;
        background-color: #000;
    }

    /* Overwrite mobile banner text positions */
    #homeBanner .banner_text h2.no_lines {
        background: url("/images/backgrounds/transparent-line-home.png") no-repeat top center;
    }
    #homeBanner .banner_text_container.no_lines {
        background: url("/images/backgrounds/transparent-line-home.png") no-repeat bottom center;
    }
    #homeBanner .banner_text.top, #homeBanner .banner_text.bottom {
        vertical-align: middle;
        padding-top: 0;
    }
    #clients_banner a.logo.extra_margin {
        margin-right: 0;
    }

    /*intro slide */
    .website_introduction {
        padding: 60px 0 37px;
    }
    .half_intro {
        margin-bottom: 30px;
    }
    .half_intro, .half_intro.right {
        width: 100%;
        margin-right: 0;
    }
    /* Featured Clients */
    .featured_clients {
        padding: 54px 0 38px;
    }


    /*expert panel */
    .experts_are_us {
        padding: 40px 0 50px;
    }
    .expert_panel .text {
        min-height: 0px;
    }
    .expert_panel {
        width: 100%;
        float: left;
        margin-right: 0;
        margin-bottom: 30px;
    }
    #clients_banner a.logo {
        margin-bottom: 25px;
        display: inline-block;
        width: 49%;
        margin-right: 0%;
    }
    .featured_client_divider {
        margin: 0 0;
    }
    #clients_banner a.logo.bottom_line, #clients_banner a.logo.bottom_line.sophie_g, #clients_banner a.logo.bottom_line.last {
        margin-right: 0;
        margin-left: 0%;
    }



    /* Featured Work */
    #homeFeaturedWork .featured_work_desc {
        width: 88%;
        margin-top: 0;
        margin-left: 5%;
        margin-bottom: 33px;
        text-align: center;
    }
    .mobile_overide_featrued {
        width: 95%;
    }
    .featured_work {
        padding: 68px 0 0px;
    }
    .portfolioImageHolder {
        position: static;
        height: 503px;
        margin-top: 24px;
        background-size: 100% auto;
        width: 100%;
        margin: 0 0 0 0;
        float: left;
        -webkit-border-top-left-radius: 0x;
        -webkit-border-top-right-radius: 0px;
        -moz-border-top-left-radius: 0px;
        -moz-border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: none;
    }

    .portfolioImageHolder .portfolioImageOverflow {
        width: 89%;
        display: inline-block;
        height: 455px;
    }
    .portfolioImageHolder {
         height: auto;
     }
    .portfolioImageHolder .portfolioWebsite {
        display: none;
    }
    #homeFeaturedWork.flexslider .portfolioImageHolder_mobile {
        display: none;
    }

    #thumb_navi.flexslider {
        display: none;
    }


    /*/  directional arrows for mobile  /*/
    .flex-direction-nav a {
        top: 0;
    }
    #homeFeaturedWork.flexslider .flex-direction-nav {
        display: block;
        position: relative;
        height: 21px;
        margin-top: 13px;
        padding-bottom: 14px;
    }
    #homeFeaturedWork.flexslider .flex-direction-nav .flex-next {
        right: 0%;
        height: 40px;
        position: relative;
        float: right;
        background: url("/images/backgrounds/mobile_arrows_right.png") #DFDFDF no-repeat center 10px;
    }
    #homeFeaturedWork.flexslider .flex-direction-nav .flex-prev {
        left: 0;
        height: 40px;
        position: relative;
        float: left;
        background: url("/images/backgrounds/mobile_arrows_left.png") #DFDFDF no-repeat center 10px;
    }


    /*Contact slide */
    .contact_us i {
        z-index: -1;
        opacity: 0;
    }
    .contact_us .homebuttontwo {
        opacity: 1;
    }

    /* footer */
    .socialConnect a {
        margin:  0 0 0 9px;
    }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {


    /* Home Banner */
    #homeBanner .banner_text_container, #homeBanner .banner_text.middle .banner_text_container {
        padding: 0 0 33px 0;
    }
    #homeBanner .banner_text h2, #homeBanner .banner_text.middle h2 {
        padding: 33px 0 0 0;
    }
    .portfolioImageHolder .portfolioImageOverflow {
        height: 219px;
    }
    .portfolioImageHolder {
        position: static;
        height: 220px;
    }

    /* Featured Clients */
    #clients_banner a.logo img{
        width: 80%;
    }

    .portfolioImageHolder .portfolioImageOverflow {
        height: 266px;
    }

    .portfolioImageHolder {
        position: static;
        height: 248px;
    }

}