@font-face {
    font-family: 'jamal-icons';
    src: url('../font/jamal-icons.eot?61365856');
    src: url('../font/jamal-icons.eot?61365856#iefix') format('embedded-opentype'),
    url('../font/jamal-icons.woff?61365856') format('woff'),
    url('../font/jamal-icons.ttf?61365856') format('truetype'),
    url('../font/jamal-icons.svg?61365856#jamal-icons') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'jamal-icons';
    src: url('../font/jamal-icons.svg?61365856#jamal-icons') format('svg');
  }
}
*/

[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "jamal-icons";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-home:before { content: '\e800'; } /* '' */
.icon-ok:before { content: '\e801'; } /* '' */
.icon-phone-circled:before { content: '\e802'; } /* '' */
.icon-angle-down:before { content: '\e803'; } /* '' */
.icon-up-big:before { content: '\e804'; } /* '' */
.icon-location:before { content: '\e805'; } /* '' */
.icon-map:before { content: '\e806'; } /* '' */
.icon-menu:before { content: '\e807'; } /* '' */
.icon-twitter-circled:before { content: '\e808'; } /* '' */
.icon-facebook-circled:before { content: '\e809'; } /* '' */
.icon-gplus-circled:before { content: '\e80a'; } /* '' */
.icon-upload:before { content: '\e80b'; } /* '' */
.icon-up-open-big:before { content: '\e80c'; } /* '' */
.icon-info-circled:before { content: '\e822'; } /* '' */
.icon-gauge-1:before { content: '\e823'; } /* '' */


html,
button,
input,
select,
textarea {
    color: #474747;
}

html {
    font-size: 1em;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.l{float:left;}
.r{float: right;}


.full-width{
    width:100%;
}

.quick-contact{
    position: fixed;
    right: 0;
    background: #fff;
    padding:10px;
    top: 10%;
    z-index: 999;
    color: #F26C63;
    font-size: 1.2em;
    font-family: "nexa_boldregular",san-serif;
    -webkit-box-shadow:  0px 0px 4px 1px rgba(000, 000, 000, .1);

    box-shadow:  0px 0px 4px 1px rgba(000, 000, 000, .1);
}

.ie7 .quick-contact,
.ie8 .quick-contact{
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    border-left:1px solid #ccc;
}

.icon-phone-circled{
    margin-right: 5px;
    line-height: 1.4;
    overflow: visible;
}

.inner{
    width:96%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2%;
}

header nav.primary{
    float: right;
    width: 80%;
    max-width: 880px;
}

nav.primary ul li{
    float: left;
    width: 18%;
    position: relative;
}
nav.primary ul li.homebutton {
    width: 10%;
}
nav.primary ul li.homebutton i.icon-home {
     width: 50px !important;
    height: 50px !important;
}
nav.primary ul li a{
    color: #FFF;
    text-transform: uppercase;
    padding: 10px 0;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}
header nav.primary ul.sub-menu {
    position: relative;
    top:52px;
}


header nav.primary ul.sub-menu li a{
    text-align: left;
}

.footer nav.primary ul li a{
    text-align: left;
    padding: 10px 0;
}

#nav-header-container ul.sub-menu {
    display: none;
    position: absolute;
    margin: 0;
    padding: 5px 0 0 0;
    z-index: 1000;
    min-width: 260px;
    font-size: .8em;
    left:0;
}



#nav-header-container .sub-menu li{
    display: block;
    float: none !important;
    background: #18A3FF;
    width: auto;
    text-align: left;
    border: none;
    position: relative;
    padding:0;
}

#nav-header-container nav.primary ul.sub-menu li a:hover{
    background: none;
}

#nav-header-container ul li:hover ul.sub-menu{
    display: block;
}

nav.primary ul li ul.sub-menu li a{
    padding: 10px;
}

#nav-header-container nav.primary ul li a:hover,
#nav-header-container nav.primary ul li:hover,
#nav-header-container nav.primary ul li.current{
    background: #1D96F1;
}

#banner-bg{
    background: url("../images/banner-bg.jpg") no-repeat 0 0;
    width:100%;
    background-size: cover;
}

#banner{
    height: 500px;
    position: relative;
    overflow:hidden;
}

#banner img{

}

.HomePage #bannerText{
    position: absolute;
    top: 34%;
    left: 2%;

}

.HomePage #bannerText p{
    color: #FFF;
    font-size: 1.7em;
    background: rgba(58, 170, 255, 0.72);
    float: left;
    clear: left;
    padding: 5px 15px;
}

.no-rgba .HomePage #bannerText p{
    background: url("../images/banner-text-bg.png") repeat 0 0;
}

.HomePage .content-container{
    padding: 0;
}

.content-container {
}


.box{
    width: 27.97788%;
    margin: 80px 2.66761362% 0;
}

.btn-container{
    text-align: center;
}

.ArticleDetailPage .btn-container{
    text-align: right;
}

.ContactPage .btn-container {
    padding-bottom: 2rem;
}
.ContactPage .btn-container a {
    padding: 15px 0;
    max-width: 300px;
    margin: 10px auto 0 auto;
}

.HomePage .btn-container.book-online-button {
    width: 300px;
    max-width: 100%;
    margin: 10px auto 0 auto;
    padding-bottom: 1rem;
}

.btn-container a.btn{
    float: none;
}

.HomePage #services{
    position: relative;
    margin-bottom: 30px;

}

.HomePage #services h3{
    margin-top:20px;
}

.HomePage #services img{
    width: 100%;
    max-width: 290px;
    height: auto!important;
}

#case-studies{
    margin-bottom: 30px;
}

#case-studies h2{
    padding: 20px 0;
}

#case-studies .box{
    margin-top: 10px;
    width: 44%;
}

.after p,
.before p{
    clear:both;
    margin-bottom: 5px!important;
}

#case-studies .btn-container {
    text-align: right;
}

.before, .after{
    position: relative;
    margin-bottom:20px;
}

.before p, .after p{
    position: absolute;
    bottom: 0;
    left: 5px;
    z-index: 20;
    color: #FFF;
    font-family: "nexa_boldregular",san-serif;
}
/* ==========================================================================
   Main
   ========================================================================== */

.main{
    margin-bottom: 20px;
}

.HomePage .main > .inner{margin-top:0;}
.main > .inner{
    margin-top: 143px;
}

.typography h1{
    background: #3aaaff;
    color:#fff;
    padding: 5px;
    text-indent: 7px;
}

.featureimg img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* ---------------------------------SERVICES PAGES-----------------------*/

.item{
    padding: 3% 0 2%;
    border-bottom: 1px dashed #E0E0E0;
    width:100%;
}

.item:first-child{
    border-top: 1px dashed #E0E0E0;
}

.ArticleDetailPage h1{
    clear:left;
}


.item img,
.ArticleDetailPage .content-container img{
    margin: 0px 15px 10px 0;
}

.ArticleDetailPage .content-container img{
    margin: 0px 30px 10px 0;
}



.ArticleHolderPage .btn-container{
    text-align: right;
}

#intro{
    font-size: 1.2em;
    font-family: "nexa_boldregular", san-serif;
}

#Breadcrumbs {
    background: #474747;
    padding: 5px 10px;
    color: #FFF;
    font-size: .8em;
    font-family: "nexa_boldregular", san-serif;
    margin-bottom: 10px;
    float: none;
    display: inline-block;
}

.ArticleHolderPage .item{
    width: 100%;
    margin: 0;
    padding: 2% 0;
    border-top: 1px dashed #E0E0E0;
    border-bottom: none;
}

.ArticleHolderPage .item article{
    width: 100%;
}

.ArticleHolderPage .item img{
    width: 41%;
    max-width: 200px;
}



/* ---------------------------------CONTACT PAGE-----------------------*/

.ContactPage .box{
    width: 44%;
    margin:0;
}

#map{
    width: 100%;
    height: 300px;
    margin: 20px 0;
}



/* ==========================================================================
   Blog
   ========================================================================== */

.BlogHolder .blog-content{
    width: 53%;
}

.BlogHolder .thumbnails {
    width: 45%;
    max-width: 300px;
    margin:0;
}

.BlogHolder .thumbnails img{
    width: 100%;
}


#BlogContent{
    width: 65%;
    float: left;
    padding: 0;
    clear:left;
}

.BlogEntry #BlogContent{
    border-bottom: none;
}

/* PAGINATION & PAGE NUMBERS
-------------------------------------------- */

.pagination {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    border-top:1px dashed #e0e0e0;
    padding-top: 20px;
    padding-bottom: 0;
}

.pagination ul li{
    list-style-type: none;
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #FFFFFF;
}

.pagination ul li.active {
    border: 1px solid #F26C63;
}

.pagination ul li:hover{
    padding: 2px 10px;
    background-color: #F26C63;
    cursor: pointer;
    color: #FFFFFF;
    border: 1px solid #F26C63;
}

.pagination ul li:hover a, .pagination ul li.active:hover a {
    color: #FFFFFF;
}

.pagination ul li:hover a.disabled,
.pagination li a.disabled,
.pagination li a.paginate-left.disabled:hover {
    color: #999999;
}

.pagination ul li.disabled:hover {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
}





#Sidebar{
    clear:left;
    width: 25%;
    float: right;
    padding: 2%;
    background: #474747;
    border-radius: 3px;
}

#Sidebar h3{
    color: #FFF!important;
    font-size: 1em;
    text-transform: capitalize;
}

.ArticleDetailPage .sidebar{
    width: 25%;
}

.ArticleDetailPage .sidebar ul{
    margin:0;

}
.ArticleDetailPage .sidebar li{
    list-style-type: none;
    background: #3aaaff;
    padding: 10px;
}
.ArticleDetailPage .sidebar li.current {
    background: #515151;
}

.ArticleDetailPage .sidebar .child-element{
    margin: 0 0 0 20px;
    color: #fff;
}

.ArticleDetailPage .sidebar .child-element li{
    margin-bottom:0;
    list-style-type: disc;
}

.ArticleDetailPage .sidebar li,
.sidebar a{
    color: #fff!important;
    position: relative;
    font-family: 'nexa_boldregular', verdana, san-serif;
}

.ArticleDetailPage .sidebar li.current:after{
    content: '\2192';
    position: absolute;
    right: 16px;
    color: #fff;
    top: 12px;
}


.ArticleDetailPage .sidebar a:hover{
    border-bottom: 1px solid #fff;
}

.typography .blogSummary h3 a,
.typography #Sidebar ul li a,
.ArticleHolderPage article h3 a {
    color: #3aaaff;
}
.typography .blogSummary h3 a:hover,
#Sidebar ul li a:hover,
.ArticleHolderPage article h3 a:hover{
    color: #3aaaff;
    border-bottom: 1px solid #3AAAFF;
}

.blogSummary{
    padding: 3% 0 0;
    border-top: 1px dashed #E0E0E0;
}

.blogSummary .btn-container{
    text-align: right;
}
.blogSummary .btn-container a.btn{
    float: none;
    font-size: .7em;
    padding: 12px 20px;
}

.thumbnails{
    float: left;
    min-width: 180px;
    margin: 5px 0;
}

#Sidebar{
    display: block;
}

#filter-btn{
    display: none;
}

#filter-btn i{
    text-transform: uppercase;
    background: #474747;
    color: #FFF;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    padding: 0 16px 0 6px;
    font-size: .75em;
    font-family: "nexa_boldregular";
}


#Sidebar ul li {
    color:#fff;
}

.BlogEntry .thumbnails{
    float: none;
}

.BlogEntry .blogEntry h2{
    text-align: left;
    padding: 5px;
    text-indent: 7px;
}
.BlogEntry .blogEntry{
    border-bottom: 1px dashed #E0E0E0;
}

.typography .authorDate{
    margin-bottom: 10px;
    font-style: italic;
    font-size: .7em;
    font-weight: bold;
}

.blogSummary{
    border-top: 1px dashed #e0e0e0;
}
.typography h3.cat{
    margin: 5px 0;
    text-transform: lowercase;
    color: #474747;
    font-size:1em;
}


.dont-hate-the-dentist {
    width: 100%;
    margin: 20px 0;
    padding: 15px 0px;
    background: #18A3FF;
    color: white;
}
.dont-hate-the-dentist div.ban2 {
    margin: 0;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.dont-hate-the-dentist b {
    font-size: 38px;
    font-weight: bold;
    font-family: 'nexa_boldregular', verdana, san-serif;
    text-transform: uppercase;
    line-height: 36px;
    text-align: left;
}
.dont-hate-the-dentist p {
    font-size: 16px;
    margin: 0 0 20px;
    padding: 0 15px;
}
.dont-hate-the-dentist .tow2 {
    width: 90%;
    margin: 0 auto;
    padding: 10px 0 5px;
    background: #515151;
    height: 30px;
    text-align: center;
}
.dont-hate-the-dentist a {
    padding:4px;
    margin: 4px auto;
    text-transform: uppercase;
    font-size: 20px;
}

.btn-container a {
    margin: 10px 0 0 !important;
    width: 100% !important;
    padding:30px 0;
}
.phone-container {
    width: 90%;
    margin: 10px;
    text-align: center;
}
.phone-container a {
    font-size: 24px;
    color: #f26263 !important;
}

.leadheader {
    float:right;
    color: #515151;
    padding:8px 20px 2px 0;;
    font-weight: bold;
}
.leadheader ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.leadheader ul li {
    float: right;
    margin-right: 30px;
    text-transform: uppercase;
    font-size: 16px;
}

.leadheader ul li.socialsi {
    margin:0;
    font-size: 25px;
    position: relative;
    top: -5px;
    margin-bottom: -10px;
}

.leadheader ul li a {
    color: #515151;
}

.topbar {
    height:35px;
    width: 100%;
    background: white;
}
.phone-number a, .socialsi a {
    color: #f26263 !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer.full-width{
    background: #474747;
}

.footer ul.sub-menu{
    font-size: .8em;
}

.footer ul.sub-menu li{
    float: none;
    width: 100%;
}


.footer nav.primary ul li a{
    font-family: "nexa_boldregular", san-serif;
    font-size: .9em;
    width: 100%
}
.footer nav.primary ul li ul.sub-menu li a {
    padding: 5px 0;
    font-family: "nexa_lightregular", san-serif;
    text-transform: capitalize;
}

.footer nav.primary ul li ul.sub-menu li a:before{
    content: "- "
}

.footer ul.sub-menu li.current {
    background: none;
}

.footer ul.sub-menu li.current a{
    font-weight: bold;
}

.footer .inner{
    display: block;
    overflow: hidden;
    padding: 20px 0 0;
    position: relative;
}

#footer-contact{
    padding-top: 10px;
    position: relative;
    font-size: .8em;
    font-family: "nexa_lightregular", san-serif;
    text-transform: capitalize;
}
#footer-contact i{
    position: absolute;
    left: -43px;
    font-size: 2em;
}

#footer-contact .icon-phone-circled{
    bottom: -9px;
    line-height: 1.4;
    overflow: visible;}

#footer-contact .icon-location{
    font-size: 3em;
    left: -51px;
}

#social{
    background: #FFF;
    float: left;
    clear: both;
    margin-top: 15px;
}

#social ul li{
    float: left;
    padding: 5px 0 5px 5px;}

#social li img {
    margin: -6px .2em 0;
}

#social ul li a{
    font-size: 1.9em;
    color: #F26C63;
}

#social ul li a:hover{
    color: #F25950;
}

#mobileNavUL{
    display: none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* --- Thank You Page --- */
.ThankfullyPage .main {
    margin: 50px 50px 80px;
    font-size: 21px;
    color: white;
    text-align: center;
}

.ThankfullyPage .main .inner {
    width: 50%;
    min-width: 300px;
    max-width: 500px;
    background-color: #4eb3ff;
    padding: 50px 10px;
    box-sizing: border-box;
}

.ThankfullyPage .main a {
    display: inline-block;
    background: #f26c63;
    color: #fff;
    font-weight: bold;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    text-align: center;
}

.ThankfullyPage .main a:hover {
    color: white!important;
    background-color: #f25950;
}

@media (max-width: 767px) {
    .ThankfullyPage .main {
        margin: 50px auto;
    }
    .ThankfullyPage .main .inner {
        padding: 30px 20px;
    }
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media only screen and (min-width: 20.000em) {
    /* 320PX */
    .before, .after {
        width: 49%;
    }
    .before img, .after img {
        width: 100%;
    }

    .BlogEntry .after{
        margin-left: 4px;
    }
    .ArticleDetailPage .content-container img{
        max-width: 100%;
    }

    .ArticleHolderPage .content-container{
        border-bottom: 1px dashed #e0e0e0;
    }

    .ArticleDetailPage .content-container table{
        width: 100%;
    }

    footer.footer{
        display: none;
    }



}

@media only screen and (max-width: 47.938em) {
    /* 767PX */

    body{
        padding-bottom: 73px;
    }

    #mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 300;
    }

    #mobile-bottom-nav ul li{
        float: left;
        width: 33.333%;
        background: #474747;
        text-align: center;
        padding: 10px 0;
    }

    #mobile-bottom-nav ul li a {
        color:#fff;
    }

    #mobile-bottom-nav ul li a span{
        display: block;
    }

    #banner-bg,
    .quick-contact,
    header nav.primary,
    #mobileNavUL{
        display: none;
    }

    .mobileTopBlue{
        width: 100%;
        display: block;
        overflow: hidden;
        background: #474747;
        font-size: 1.5em;
    }

    .HomePage .content-container {
        padding: 2%;
    }

    #services .box,
    #case-studies .box {
        margin: 10px 0;
        width: 100%;
        border-bottom: 1px dashed #CCC;
        padding-bottom: 30px;
    }
    .btn{
        display: block;
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

    .btn-container{
        text-align: center!important;
    }

    #mobileNavUL{
        padding: 2%;
        background: #3AAAFF;
    }
    #mobileNavUL li{
        padding-left: 28px;
        position: relative;
    }
    #mobileNavUL li a{
        color: #FFF;
        line-height: 2;
        display: block;
    }

    #mobileNavUL ul.sub-menu{
        display: none;
    }

    #mobileNavUL li a.icon-angle-down:before{
        position: absolute;
        left: -6px;
        top: 4px;
        font-size: 1.3em;
    }

    .main > .inner{
        margin-top: 0px;
    }
    .ContactPage .box{
        width: 96%;
        margin: 0;
        padding: 0 2%;
    }

    .mobile-btn {
        color: #FFF!important;
        background: #F26C63;
        padding: 10px;
        width: 100%;
        display: block;
        box-sizing: border-box;
        border-radius: 3px;
        font-size: 1.4em;
        text-align: center;
        border: 1px solid #CC4C43;
    }
    .mobile-btn:hover{
        border-bottom: none!important;
    }

    .ContactPage .box.r{
        margin-top:20px;
    }

    .footer nav.primary ul li{
        float: none;
        width:100%;
    }

    .ArticleHolderPage .content-container img{
        display: none;
    }

    .ArticleDetailPage .content-container img{
        float: none;
    }

    #Sidebar-container{
        display: block;
        width: 96%;
        position: relative;
        right: 0;
        padding: 0 2%;
    }

    #Sidebar{
        float: none;
        width: 100%;
        padding: 2% 7%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        border-radius: 0;
        display: none;
    }

    #BlogContent {
        width: 96%;
        padding: 0 2%;
    }

    #filter-btn{
        display: inline-block;
    }

    #header-logo img{
        display: block;
        margin: 0 auto;
        width: 50%;
        min-width: 180px;
        max-width: 250px;
    }

    #Breadcrumbs{
        display: none;
    }

    .BlogHolder .thumbnails {
        width: 100%;
    }

    .BlogHolder .blog-content {
        width: 100%;
        margin-top: 10px;
    }

    .mobileNav{
        width: 100%;
        color: #FFF;
        padding: 5px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        font-size: 18px;
    }

    .HomePage #services img{
        display: none;
    }

    .ArticleDetailPage .sidebar {
        width: 96%;
        padding: 0 2%;
    }


    .leadheader {
        display: none;
        visibility: hidden;
    }
    .ArticleDetailPage .content-container img {
        margin-right: 0!important;
    }
    iframe {
        width:100%;
    }
}

@media only screen and (min-width: 48.000em) {
    /* 768PX */
    #nav-header-container{
        position: absolute;
        top: 0;
        background: #3aaaff;
        opacity: .9;
        z-index: 999;
    }

    header .primary ul {
        display:table;
    }

    header .primary ul li{
        display: table-cell;
        padding: 0 10px;
        float: none;
        width: 21%;
        vertical-align: middle;

    }

    .no-rgba #nav-header-container{
        background: url("../images/nav-bg.png") repeat 0 0 ;
    }

    #header-logo{
        max-width: 198px;
        width: 15%;
        position: absolute;
        z-index: 1;
        background: #FFF;
        border: 1px solid #f2f2f2;
        padding: 10px;
        top: 10px;
    }

    .HomePage #services h1{
        position: absolute;
        width: 100%;
        padding: 20px 0;
        top: -39px;
        left: 0;
        z-index: 284;
        font-size: 1.625em;
        line-height: 1.4;
        margin-bottom: 15px;
        text-align: center;
        font-weight: normal;
    }

    .HomePage #services h2{
        position: absolute;
        width: 100%;
        padding: 20px 0;
        top: -39px;
        left: 0;
        z-index: 284;

    }

    #header-logo img{
        width: 100%;
        height: auto!important;
    }

    #mobileNavUL, .mobileTopBlue{
        display: none;
    }
    .ArticleHolderPage .item{
        width: 48%;
        min-height: 350px;
        padding: 2% 0 0;
        margin-bottom: 10px;
    }
    .ArticleHolderPage .item article{
        width: 53%;
    }

    .ArticleDetailPage .hero {
        width: 30%;
        max-width: 400px;
    }

    footer.footer{
        display: block;
    }

    footer.mobile-footer{
        display: none;
    }


    .ArticleDetailPage .content-container{
        float:left;
        width: 75%;
        padding: 0;
    }

    .ArticleDetailPage.no-sidebar .content-container{
        width: 100%;
    }

    .width-constrain{
        margin: 0 20px;
    }

    .inner{
        width:98%;
        padding: 0 1%;
    }
    .leadheader ul li {
        font-size: 13px;
        margin-right: 22px;
    }

}

@media only screen and (min-width: 800px){

}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .HomePage #services h2 {
        position: static;
    }
    .HomePage #services img {
        width: 27%;
        max-width: 200px;
        float: left;
        margin-right: 20px;

    }

    #services .box{
        width:96%;
        box-sizing: border-box;
        border-bottom: 1px dashed #CCC;
    }

    .HomePage #services h3 {
        margin-top: 0;
        float: left;
    }

    #services .box > p{
        float: left;
        width: 70%;
    }

    #services .btn-container{
        text-align: right;
    }
    .HomePage #services {
        padding: 2%;
    }
    #services .box {
        margin-top: 20px;
        padding-bottom: 10px;
    }

    .ArticleHolderPage .item{
        width: 100%;
        min-height: inherit;
    }
    .ArticleHolderPage .item article{
        width: 76%;
    }
    .ArticleHolderPage .item img {
        width: 21%;
        max-width: inherit;
    }

    #mobileNavUL{
        padding: 2%;
        background: #3AAAFF;
    }
    #mobileNavUL li{
        padding-left: 28px;
        position: relative;
    }
    #mobileNavUL li a{
        color: #FFF;
        line-height: 2;
        display: block;
    }

    #mobileNavUL ul.sub-menu{
        display: none;
    }

    #mobileNavUL li a.icon-angle-down:before{
        position: absolute;
        left: -6px;
        top: 4px;
        font-size: 1.3em;
    }

}

@media (max-device-width: 768px) and (orientation: portrait) {
    .HomePage #bannerText p {
        font-size: 1.4em;
    }
    #banner-bg {
        max-height: 349px;
    }

}

@media only screen and (min-width: 1100px) {

    .ArticleDetailPage .content-container table {
        width: 66%;
    }

}


