/* General
---------------------------------------- */
html,
body {
    min-width:980px;
}
body{
    background-color: #e6e6e6;
    background-repeat:no-repeat;
    background-position:50% 0;
    background-image:url(images/body-bg.jpg);
    color: #000;
    font: 100%/1.125em Arial, Helvetica, sans-serif;
    position:relative;
}

::selection {background: #078daa; color: #fff;}
::-moz-selection {background: #078daa; color: #fff;}
img::selection {background: transparent;}
img::-moz-selection {background: transparent;}
body {-webkit-tap-highlight-color: #078daa;}

.tail-top {
    background-repeat:repeat-x;
    background-position:50% 0;
    background-image:url(images/tail-top.png);
}

#main {
    font-size:.75em;
    margin:0 auto;
    width: 980px;
}

/* Links */
a {
    color:#078daa;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight:bold;
    margin:0 0 1em 0;
}

h3 {
    font-size:21px;
    line-height:21px;
    font-weight:bold;
    letter-spacing:-1px;
    margin-bottom:14px;
    text-transform:uppercase;
}
h3 span {
    color:#343434;
}

h5 {
    margin-bottom:0;
}


/* List styling */
dl dt {
    background:url(images/list-arrow.gif) no-repeat 0 3px;
    padding:0 0 3px 32px;
    margin-bottom:.2em;
    font-size:18px;
    line-height:1.2em;
    color:#191919;
}
dl dd {
    padding:0 0 0 32px;
    margin:0 0 1.5em 0;
}

ul li {
    list-style-type: none;
    font-weight:bold;
    padding: 0 0 0 13px;
    margin: 0 0 7px 0;
    background-repeat:no-repeat;
    background-position:0 6px;
    background-image:url(images/arrow-right.gif);
}
ul li a {
    text-decoration:none;
}
ul li a:hover {
    text-decoration:underline;
}

ul ul {
    margin-top:7px;
    margin-bottom:7px;
}


/* Header
---------------------------------------- */
#header {
    height:232px;
    position:relative;
    z-index:99;
}

/* Logo */
.logo {
    position:absolute;
    left:0;
    top:29px;
    width: 400px;
}
.logo a#logo{
    color: #a10518;
    font-size: 25px;
    line-height: 30px;
    text-decoration: none;
}
.logo h1,
.logo h2 {
    font-size:55px;
    line-height:1.2em;
    margin:0 0 -11px -3px;
    font-weight:bold;
    letter-spacing:-2px;
}
.logo h1 a,
.logo h2 a {
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
}
.logo .tagline {
    font-size:12px;
    text-transform:uppercase;
    color: #000;
    padding: 9px 0 0 0;
}


/* Header widget */
#widget-header {
    position:absolute;
    right:0;
    top:0;
    z-index:1;
    width: 100%;
}
.widget-header h3 {
    display: none;
}
.widget-header ul {
    overflow: hidden;
}
.widget-header ul li {
    background:none;
    float: left;
    font-weight:normal;
}
.widget-header.widget_meta {
    margin: 14px 0 0 0;
    padding: 0 21px 0 4px;
    height:29px;
    background-image:url(images/tail-top.png);
    border-radius: 0 0 4px 4px;
    position:absolute;
    right: 0;
    top: 0;
}
.widget-header.widget_meta ul li {
    margin: -3px 0 0 0;
    padding: 0 0 0 22px;
}
.widget-header.widget_meta ul li a {
    color:#fff;
    text-decoration:none;
}
.widget-header.widget_meta ul li a:hover {
    color:#6491a1;
}

.widget-header.social_networks_widget {
    position:absolute;
    right: 0;
    top: 108px;
}

/* Social Networks */
.social-networks {
    list-style-type:none;
    padding:0;
    margin:0;
    border:none;
}
.social-networks li {
    border:none;
    padding:0;
    margin:0 0 0 18px;
    list-style-type:none;
    height:30px;
    font-weight:normal;
}
.social-networks li img {
    float: left;
    margin:0 10px 0 0;
}
.social-networks li a {
    text-decoration:none !important;
    float:left;
    height:30px;
    line-height:30px;
    display:block;
    color:#6491a1;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}
.widget-header .social-networks li a span {
    color:#fff;
}
.social-networks li a:hover span {
    text-decoration:underline;
}
.widget .social-networks li a span {
    color:#333333;
}
.widget .social-networks li {
    margin: 0 0 10px 0;
}
.socialmedia-buttons {
    position: absolute;
    right: 0;
    top: 108px;
}
/* Request a quote */
#widget_my_requestquotewidget {
    width:100%;
    overflow:hidden;
}

.top-box {
    background:#eee;
    border:1px solid #dbdbdb;
    padding:20px;
    margin-bottom:20px;
    overflow:hidden;
    zoom:1;
    position:relative;
    min-height:80px;
}
.box-button {
    float:right;
    background:#dbdbdb;
    font-size:21px;
    color:#fff;
    text-decoration:none;
    padding:10px;
    position:absolute;
    right:30px;
    top:50%;
    margin-top:-25px;
}
.box-text {
    float:left;
    width:75%;
}



/* Slider
---------------------------------------- */
#slider-wrapper {
    height:466px;
    overflow:hidden;
    position:relative;
}
.nivoSlider a.nivo-imageLink:before {
    content: "";
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:67px;
    background-repeat:repeat-x;
    background-position:0 0;
    background-image:url(images/slider-shadow.png);
    z-index: 70;
}
#slider-wrapper .fright {
    width:320px;
}
#slider {
    position:relative;
    width:660px;
    height:468px;
    background:#0c0c0c url(images/loading.gif) no-repeat 50% 50%;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
}


/* The Nivo Slider styles */
.nivoSlider {
    position:relative;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:60;
    display:none;
}
/* The slices in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:50;
    height:100%;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
}
/* Caption styles */
.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    height:95px;
    overflow: hidden;
    background-repeat:repeat;
    background-position:0 0;
    background-image:url(images/caption-tail.png);
    color:#fff;
    opacity:1; /* Overridden by captionOpacity setting */
    width:100%;
    z-index:89;
}
.nivo-caption .nivo-caption-inner {
    padding:24px 20px 0 20px;
    margin:0;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-caption h2 {
    margin-bottom:4px;
    font-weight:600;
    color:#fff;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:99;
    cursor:pointer;
}
.nivo-prevNav {
    left:0px;
}
.nivo-nextNav {
    right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    position:absolute;
    width:620px;
    height:29px;
    left:20px;
    bottom:95px;
}
.nivo-controlNav a {
    position:relative;
    z-index:99;
    cursor:pointer;
    display:inline-block !important;
    width: 31px;
    height:29px;
    line-height:29px;
    font-weight:bold;
    text-align:center;
    text-decoration:none;
    color: #385a72;
    border-radius: 4px 4px 0 0;
    background-image:url(images/caption-tail.png);
    margin: 0 1px 0 0;
}
.nivo-controlNav a.active,
.nivo-controlNav a:hover {
    color:#6491a1;
}

.nivo-directionNav {

}
.nivo-directionNav a {
    position:absolute;
    display:block;
    width:36px;
    height:35px;
    text-indent:-9999px;
    border:0;
    top:50%;
    margin: -17px 0 0 0;
    background:url(images/direction_nav.png) no-repeat 0 0;
}
a.nivo-nextNav {
    right:10px;
    background-position:-36px 0;
}
a.nivo-nextNav:hover {
    background-position:-36px -35px;
}
a.nivo-prevNav {
    left:10px;
    background-position:0 0;
}
a.nivo-prevNav:hover {
    background-position:0 -35px;
}

#slider .nivo-controlNav img {
    display:inline; /* Unhide the thumbnails */
    position:relative;
    margin-right:10px;
    width:120px;
    height:auto;
}









/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
    position:relative;
    top: 178px;
    z-index:2;
}

/* Essential styles for dropdown menu */
.sf-menu, .sf-menu * {
    margin:			0;
    padding:		0;
    list-style:		none;
}
.sf-menu {
    line-height:	1.0;
}
.sf-menu ul {
    position:		absolute;
    top:			-999em;
    width:			10em; /* left offset of submenus need to match (see below) */

}
.sf-menu ul li {
    width:			100%;
}
.sf-menu li:hover {
    visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
    float:			left;
    position:		relative;
    background:		none;
}
.sf-menu a {
    display:		block;
    position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
    left:			0;
    top:			54px; /* match top ul list item height */
    z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
    top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
    left:			162px; /* match ul width */
    top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
    top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
    left:			162px; /* match ul width */
    top:			0;
}


/* Our skin for dropdown menu */
.sf-menu {
    background-repeat:repeat-x;
    background-position:0 0;
    background-image:url(images/nav-tail.gif);
    width: 100%;
    height:54px;
    border-radius: 4px 4px 0 0;
    background: #00395d;
}
.sf-menu a {
    text-decoration:none !important;
    color:#fff;
}
.sf-menu > li {
    background-repeat:repeat-y;
    background-position:right 0;
    background-image:url(images/nav-divider.gif);
    padding-right:2px;
}
.sf-menu > li > a {
    font-family: 'Open Sans', sans-serif;
    font-size:15px;
    line-height:47px;
    text-transform:uppercase;
    padding: 0 18px;
    background-repeat:no-repeat;
    background-position:-47px 0;
    background-image:url(images/nav-current.png);
    font-weight:bold;
}
.sf-menu > li:first-child > a {
    border-radius: 4px 0 0 0;
}
.sf-menu > li > a:hover,
.sf-menu > li.sfHover > a,
.sf-menu > li.current_page_item > a {
    background-position:0 0;
    background-repeat:repeat;
}
.sf-menu li ul {
    background-color:#232324;
    background-repeat:repeat-x;
    background-position:0 0;
    background-image:url(images/subnav-shadow.gif);
    width:161px;
    border-radius: 0 0 4px 4px;
}
.sf-menu li li {
    border-top: 1px solid #323132;
    font-weight:normal;
}
.sf-menu li li:first-child {
    border: none;
}
.sf-menu li li a {
    padding: 11px 34px 11px 21px;
    color:#fafafa;
    background-repeat:no-repeat;
    background-position:136px 14px;
    background-image:url(images/subnav-arrow.gif);
}
.sf-menu li li a:hover,
.sf-menu li li.sfHover > a,
.sf-menu li li.current_page_item > a {
    color:#6491a1;
}
.sf-menu li li ul {
    background-image:none;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active, .sf-menu li.current-menu-item > a {
    outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
    padding-right: 	2.25em;
    min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
    position:		absolute;
    display:		block;
    right:			.75em;
    top:			1.05em; /* IE6 only */
    width:			10px;
    height:			10px;
    text-indent: 	-999em;
    overflow:		hidden;
    background:		url(images/arrows-ffffff.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
    top:			1.2em;
    background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
    background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; top: -99em; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
    background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
    background:	url(images/shadow.png) no-repeat bottom right;
    padding: 0 8px 9px 0;
    -moz-border-radius-bottomleft: 17px;
    -moz-border-radius-topright: 17px;
    -webkit-border-top-right-radius: 17px;
    -webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
    background: transparent;
}




/* Top search */
#top-search {
    position:absolute;
    right:13px;
    top:189px;
    z-index: 2;
    height:25px;
    width:157px;
    background-repeat:no-repeat;
    background-position:0 0;
    background-image:url(images/top-search-bg.png);
}
#top-search .input-search {
    width:125px;
    margin: 0;
    background:none;
    border: none;
    color: #fff;
    padding-top:5px;
    padding-bottom:5px;
}
#top-search #submit {
    width:9px;
    height:9px;
    cursor:pointer;
    padding-left:0;
    padding-right:0;
    margin: 0;
    background:none;
    background-repeat:no-repeat;
    background-position:0 0;
    background-image:url(images/top-search-button.png);
    position:absolute;
    right: 9px;
    top: 8px;
    border-radius: 0;
}





/* Content
---------------------------------------- */
.primary_content_wrap {
    position:relative;
    z-index:1;
    background-repeat:repeat-y;
    background-position:right 0;
    background-color:#FFF;
    border-radius:0 0 4px 4px;
}
.events-archive .primary_content_wrap {
    background-image:none !important;
}
.events-single  .primary_content_wrap {
    background-image:none !important;
}
.blog_sidebar_pos_left.primary_content_wrap {
    background-position:0 0;
}
body.home .blog_sidebar_pos_left.primary_content_wrap {
    background-position:right 0;
}
body.error404 .primary_content_wrap,
body.single-portfolio .primary_content_wrap,
body.page-template-page-faq-php .primary_content_wrap,
body.page-template-page-fullwidth-php .primary_content_wrap,
body.page-template-page-Portfolio1Col-php .primary_content_wrap,
body.page-template-page-Portfolio2Cols-php .primary_content_wrap,
body.page-template-page-Portfolio3Cols-php .primary_content_wrap,
body.page-template-page-Portfolio4Cols-php .primary_content_wrap {
    background-image:none;
}
body.home .primary_content_wrap {
    border-radius: 0;
}


#content {
    padding:35px 0 25px 0;
}
body.home #content {
    padding-top:18px;
}
#content.left {
    float:right !important;
}
#content .page .header-title {
    margin-bottom:14px;
}
#content .page .header-title h1 {
    margin-bottom:0;
}


/* Page */
.page {

}
#page-content {

}
#page-meta {

}




/* Comments
---------------------------------------- */
h3#comments {
    padding-top:15px;
    margin-bottom:10px;
}
.commentlist {
    list-style-type:none;
    padding:0 0 20px 0;
    margin:0;
}
li.comment {
    list-style-type:none;
    overflow:hidden;
    padding: 0;
    margin: 0;
    background:none;
    text-transform:none;
    font-weight:normal;
}
.odd {

}
.even {

}
li.comment .comment-body {
    padding:24px 21px 27px 135px;
    position:relative;
    zoom:1;
    border:1px solid #e4e4e4;
    border-radius: 1px;
    margin-top:20px;
}
li.comment .comment-body p {
    min-height: 65px;
    margin-bottom:14px;
}
.author-comment {

}
.comment-author.vcard {
    position:absolute;
    left:29px;
    top:29px;
    border: none;
    padding-top:0;
    margin-top:0;
}
.comment-author .author {
    font-style:italic;
    text-transform:capitalize;
    width:65px;
    text-align:center;
    display: block;
    font-size:15px;
    padding-top: 6px;
}
.comment-text {

}

/* Comment meta */
.comment-meta {
    float: right;
    color: #fff;
    font-weight:bold;
    line-height:22px;
    border-radius: 2px;
    padding: 0 8px;
    background-color:#385a72;
}
.comment-meta a {

}

/* Avatar */
li.comment .avatar {
    float:none;
    margin:0;
    vertical-align:top;
    overflow:hidden;
    border:1px solid #e5e5e5;
}
li.comment .avatar {
    display:block;
    vertical-align:top;
    overflow:hidden;
}

.commentlist ul.children {
    margin:0 0 0 20px;
    overflow:hidden;
}
.commentlist ul.children li.comment {

}

/* Reply */
.reply {
    float: right;
    margin-left: 22px;
}
.reply a {
    display:inline-block;
    text-decoration:none !important;
    color:#6491a1;
    font-weight:bold;
    line-height:22px;
}
.reply a:hover {
    text-decoration:underline !important;
}


.waiting-for-approval {

}
#trackbacks {

}
li.trackback {

}
p#no-comments {

}
#comments-form {

}

.allowed_tags {
    background:#eee;
    padding:15px;
    font-size:11px;
    font-family:"Courier New", Courier, monospace;
    color:#666;
}
.allowed_tags strong {
    font-family:Tahoma, Geneva, sans-serif;
}
#respond {
    padding-top:20px;
}
.cancel-comment-reply a {
    color:#959494 !important;
    text-decoration:underline;
}
.cancel-comment-reply a:hover {
    text-decoration:none;
}





/* Post
---------------------------------------- */
.post {

}
.postContent {

}
.post-excerpt {

}


.post-holder {
    margin-bottom:18px;
    position:relative;
    overflow:hidden;
}

/* Post header */
.post-holder .entry-title {
    font-size:17px;
    line-height:18px;
    margin-bottom:1em;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:normal;
}
.post-holder .entry-title a {
    color:#000;
    text-decoration:none;
}
.post-holder .entry-title a:hover {
    text-decoration:underline;
}
.single-post .post-holder {
    overflow: visible;
}

.addthis_toolbox.addthis_default_style > a {
    float: none !important;
    display: inline-block !important;
    vertical-align: top !important;
    margin: 3px 0 !important;
    padding: 0 !important;
}
.addthis_toolbox.addthis_default_style .addthis_button_facebook_like {
    width: 100px;
}
.addthis_toolbox.addthis_default_style .addthis_button_pinterest_pinit {
    width:70px;
}

/* Featured thumbnail */
.featured-thumbnail {
    position:relative;
    float:left;
    margin:5px 20px 10px 0;
}
.featured-thumbnail img {
    float:left;
    border-radius: 2px;
}

/* Small thumbnail */
.featured-thumbnail.small img {
    padding:4px;
}

/* Large thumbnail */
.featured-thumbnail.large {
    margin-right:0;
    overflow:hidden;
    margin-bottom:1.5em;
}
.featured-thumbnail.large img {
    max-width:100%;
    height:auto;
}

/* Post content */
.post-content {

}
.post-content .excerpt {
    margin-bottom:1.5em;
}
.pagination {

}
.pagination a {
    display:inline-block;
    padding:0 5px;
    background:#eee;
}

/* Post footer */
.post-holder .post-footer {
    clear:both;
    padding:15px 0 0 0;
}
.post-holder.single-post .post-footer {
    margin-top:20px;
}


/* Meta information for post */
.post-meta {
    padding:0;
    line-height:22px;
    width:100%;
    overflow:hidden;
    margin-bottom:15px;
    background-color:#f2f2f2;
    border-radius: 2px;
    color:#929292;
}
.post-meta time {
    background-color:#385a72;
    border-radius: 2px;
    color: #fff;
    font-weight:bold;
    padding: 0 8px;
    display: inline-block;
    margin-right:11px;
}
.post-meta a {
    color:#385a72;
    text-decoration:none;
}
.post-meta a:hover {
    text-decoration:underline;
}
.post-meta a[rel="author"] {
    color:#333333;
    text-transform:capitalize;
}
.post-meta .fright {
    padding-right:11px;
}
.post-meta .fright a {
    color:#385A72;
    text-decoration:underline;
}
.post-meta .fright a:hover {
    text-decoration:none;
}

.post-navigation {

}

p.gravatar {
    float:left;
    margin-right:20px;
}


/* Post edit link */
.post-edit-link {

}
.post-edit-link:hover {

}


/* Image styling */
.alignleft {
    float:left;
    margin:3px 20px 10px 0;
}
.alignright {
    float:right;
    margin:3px 0 10px 20px;
}
.aligncenter {
    text-align:center;
    margin:0 auto;
}
.alignnone {
    margin:0 0 10px 0;
}
.alignleft,
.alignright,
.aligncenter,
.alignnone {
    border-radius: 2px;
}
article .post-content img {
    max-width:710px;
}

.frame {
    padding:19px 20px;
    background:#2a2a2a;
}
.frame,
.frame h3,
.frame ul li a {
    color:#fff;
}
.frame ul li {
    background-image:url(images/arrow-right-alt.gif);
}
.frame h3 {
    margin-bottom:19px;
}
.frame .alignnone {
    margin: 0 0 16px 0;
}
#sidebar .frame {
    margin: 0 -20px;
}
.frame img.alignleft,
.frame img.alignright{
    margin:0;
    padding:0;
    border:none;
}

/* History Wrapper */
.history-wrap strong {
    color:#fff;
    background-color:#385a72;
    width: 62px;
    line-height:22px;
    height:22px;
    text-align:center;
    border-radius: 2px;
    display: inline-block;
    position:relative;
    top: 4px;
}
.history-wrap p {

}


/* Related Posts */
.related-posts {
    overflow:hidden;
    padding:0 0 40px 0;
    margin:0;
}
.related-posts li {
    list-style-type:none;
    padding:0;
    margin:0 14px 0 0;
    float:left;
    background:none;
    width:140px;
    font-weight:normal;
}
.related-posts li:first-child {
    margin-left:0;
}
.related-posts li .featured-thumbnail {
    float:none;
    margin:0 0 10px 0;
    overflow:hidden;
}



/* Page Navigaton */
.pagenavi {
    clear:both;
    padding:20px 0;
    position:relative;
    font-size:11px;
    line-height:13px;
}

.pagenavi span, .pagenavi a {
    display:block;
    float:left;
    margin: 2px 2px 2px 0;
    padding:6px 9px 5px 9px;
    text-decoration:none;
    width:auto;
    color:#fff;
    background: #555;
}

.pagenavi a:hover{
    color:#fff;
    background: #3279BB;
}

.pagenavi .current{
    padding:6px 9px 5px 9px;
    background: #3279BB;
    color:#fff;
}


/* Older and newer navigation */
nav.oldernewer {
    width:100%;
    overflow:hidden;
    border-top: 1px solid #e5e5e5;
    padding:14px 0 0 0;
}
nav.oldernewer a {
    color:#6491a1;
    text-decoration:none;
    font-weight:bold;
    background-repeat:no-repeat;
    background-position:0 4px;
}
nav.oldernewer a:hover {
    text-decoration:underline;
}
.older {
    float:left;
}
.older a {
    padding-left:11px;
    background-image:url(images/arrow-left.gif);
}
.newer {
    float:right;
}
.newer a {
    padding-right:11px;
    background-position:right 4px !important;
    background-image:url(images/arrow-right.gif);
}

nav.single-oldernewer {
    font-size:11px;
    border-top:1px solid #eaeaea;
    border-bottom:1px solid #eaeaea;
    padding:.5em 0;
    margin:1em 0 0 0;
}


/* Gallery post format */
.gallery_post {
    list-style-type:none;
    padding:0;
    margin:0 0 1em 0;
    width:100%;
    overflow:hidden;
}
.gallery_post .g_item {
    overflow:hidden;
    display:none;
}
.gallery_post .g_item:first-child {
    display:block;
}
.gallery_post .g_item .featured-thumbnail {
    float:none;
    margin:0;
}
.gallery_post .g_item .featured-thumbnail img {
    float:none;
}

.g_pagination {
    text-align:left;
    overflow:hidden;
}
.g_pagination ul {
    list-style-type:none;
    margin:0;
    padding:.5em 0;
    overflow:hidden;
}
.g_pagination ul li {
    padding:0 5px 0 0;
    display:inline;
    margin:0;
    background:none;
}
.g_pagination ul li a {
    display:inline-block;
    text-decoration:none;
    width:10px;
    height:10px;
    background:#385a72;
    font-size:0;
    line-height:0;
    border-radius:5px;
    vertical-align:top;
}
.g_pagination li.activeSlide a,
.g_pagination li a:hover {
    background:#2a2a2a;
}
.g_controls {
    float:right;
}
.g_controls a {
    display:inline-block;
    background:#385a72;
    color:#fff;
    vertical-align:top;
    font-size:11px;
    text-decoration:none;
    border-radius:4px;
    font-family:"Times New Roman", Times, serif;
}
.g_controls a span {
    display:inline-block;
    padding:2px 6px 4px 6px;
}
.g_controls a:hover {
    background:#2a2a2a;
}

/* Author
---------------------------------------- */
#post-author {
    overflow:hidden;
    border:1px solid #dbdbdb;
    padding:20px;
    margin-bottom:2em;
}
#author-link {
    margin-top:1.5em;
}
#post-author .gravatar {
    margin:0 20px 0 0;
}
#post-author .gravatar img {
    background:#fff;
    border:1px solid #dbdbdb;
    padding:5px;
}
#author-description {

}

/* Recent author posts */
#recent-author-posts {
    margin-bottom:3em;
}

/* Recent author comments */
#recent-author-comments {
    padding-top:35px;
}
#recent-author-comments ul li {
    font-weight:normal;
}
#recent-author-comments ul li a {
    font-weight:bold;
}

.author-info {
    width:100%;
    overflow:hidden;
    margin-bottom:3em;
    padding-bottom:2em;
    border-bottom:1px solid #e4e4e4;
}
.author-info .avatar {
    margin:0 20px 0 0;
}
.author-info .avatar img {
    float:left;
    border:1px solid #e5e5e5;
}

.author-meta {
    margin-bottom:20px;
    overflow:hidden;
    width:100%;
}
.author-meta p.gravatar {
    margin:0;
}




/* 404
---------------------------------------- */
#error404 {
    padding:30px 200px 100px 200px;
    text-align:center;
}
.error404-num {
    font-size:250px;
    line-height:1.2em;
    color:#385a72;
}
#error404 hgroup {
    margin:0 0 2em 0;
    padding-top:0;
}
#error404 hgroup h1 {
    font-size:3em;
    margin-bottom:.2em;
}
#error404 #searchform .searching {
    width:300px;
}




/* Portfolio
---------------------------------------- */
.latestwork {
    width:100%;
    overflow:hidden;
    list-style-type:none;
    padding:0;
    margin:0;
}
.latestwork li {
    float:left;
    margin-right:20px;
}


/* Gallery */
.header-title {
    margin-bottom:2em;
}
.header-title h1 {
    margin:0 0 .1em 0;
    color:#385a72;
    font-size:21px;
    line-height:21px;
    text-transform:uppercase;
    font-weight:bold;
    letter-spacing:-1px;
}
.header-title .page-desc {
    font-size:.91em;
}



/* Default layout 3 columns */
#gallery {

}
#gallery .portfolio {
    width:100%;
    overflow:hidden;
    list-style-type:none;
    padding:0;
    margin:0;
}
#gallery .portfolio li {
    list-style-type:none;
    display:-moz-inline-box;
    display:inline-block;
    zoom:1;
    vertical-align:top;
    width:300px;
    margin:0 17px 50px 0;
    position:relative;
    background:none;
    padding:0;
    font-weight:normal;
}
* + html #gallery .portfolio li {
    display:inline;
}
#gallery .portfolio li.nomargin {
    margin-right:0 !important;
}
#gallery .portfolio li span.image-border {
    display:block;
    height:200px;
    width:300px;
    position:relative;
}
#gallery .portfolio li a.image-wrap {
    display:block;
    overflow:hidden;
    height:200px;
    width:300px;
    position:relative;
    background:#f2f2f2 url(images/loading-folio.gif) 50% 50% no-repeat;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}
#gallery .portfolio li a.image-wrap:hover {
    filter: alpha(opacity = 50);
    background-position:-999em -999em;
}
#gallery .portfolio li a.image-wrap:hover img {
    opacity:.5;
}
#gallery .portfolio li a.image-wrap img {
    float:left;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

#gallery .portfolio h3 {
    text-transform:none;
    font-family:Arial, Helvetica, sans-serif;
    letter-spacing:0;
    font-weight:normal;
    font-size:17px;
    margin-bottom:12px;
}
#gallery .portfolio h3 a {
    color:#000000;
}
#gallery .portfolio .folio-desc {
    margin-bottom:0;
    padding:1.4em 0 0 0;
}
#gallery .portfolio p.excerpt {
    padding:0;
}

.zoom-icon {
    display:block;
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    cursor:pointer;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    opacity:0;
}
.no-rgba .zoom-icon {
    visibility:hidden;
}
.zoom-icon:before {
    content:"";
    display:block;
    position:absolute;
    left:50%;
    top:50%;
    width:101px;
    height:101px;
    margin:-50px 0 0 -50px;
    background:url(images/magnify.png) 50% 50% no-repeat;
}
.image-wrap:hover .zoom-icon {
    opacity:1;
}
.no-rgba .image-wrap:hover .zoom-icon {
    visibility:visible;
}


/* 1 column portfolio*/
#gallery.one_column .portfolio li {
    width:100%;
    margin-right:0;
    margin-left:0;
}
#gallery.one_column .portfolio li span.image-border {
    width:540px;
    height:240px;
    float:left;
}
#gallery.one_column .portfolio li a.image-wrap {
    width:540px;
    height:240px;
}
#gallery.one_column .folio-desc {
    float:left;
    margin:0 0 0 21px;
    padding: 0;
    overflow:hidden;
    width:366px;
}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
    width:460px;
}
#gallery.two_columns .portfolio li span.image-border {
    width:460px;
    height:240px;
}
#gallery.two_columns .portfolio li a.image-wrap {
    width:460px;
    height:240px;
}

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
    width:220px;
}
#gallery.four_columns .portfolio li span.image-border {
    width:220px;
    height:160px;
}
#gallery.four_columns .portfolio li a.image-wrap {
    width:220px;
    height:160px;
}



/* Single Portfolio Page
---------------------------------------- */
.entry-meta {

}

/* Info */
.portfolio-meta-list {
    border:none;
    margin:0 0 2em 0;
    border-top:1px solid #eaeaea;
    border-bottom:1px solid #eaeaea;
    padding:1em 0;
}
.portfolio-meta-list li {
    list-style-type:none;
    padding:0;
    margin:.5em 0 0 0;
    border:none;
    background:none;
    text-transform:none;
    font-weight:normal;
}
.portfolio-meta-list li:first-child {
    margin-top:0;
}
.portfolio-meta-list li strong {
    display:inline;
    padding-right:.3em;
}

/* Single Image */
.image-holder {
    position:relative;
}
.image-holder img {
    max-width:100%;
}

/* Single Video */
.video-holder {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin:0 0 2% 0;
}
.video-holder iframe,
.video-holder object,
.video-holder embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Audio Single */
.single-audio-holder .audiojs {
    width:620px;
}
.single-audio-holder .audiojs .scrubber {
    width:440px;
}
.single-audio-holder object{overflow:hidden;}

/* Grid Gallery */
.grid_gallery {
    position:relative;
    overflow:hidden;
    padding:0 0 0 0;
}
.grid_gallery_inner {
    width:640px;
    position:relative;
    overflow:hidden;
}
.grid_gallery .gallery_item {
    float:left;
    margin:0 15px 15px 0;
}
.grid_gallery .gallery_item .featured-thumbnail img {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}
.grid_gallery .gallery_item .featured-thumbnail a:hover img {
    opacity:.5;
    filter: alpha(opacity = 50);
}

.single-gallery-item {
    margin:0;
}



/* Sidebar
---------------------------------------- */
#sidebar {
    padding-top:18px;
}
#widget-sidebar {

}
.widget {
    margin-bottom:22px;
    padding-left:20px;
}
.blog_sidebar_pos_left .widget {
    padding-left:0;
    padding-right:20px;
}
body.home .blog_sidebar_pos_left .widget {
    padding-left:20px;
    padding-right:0;
}

.widget.widget_text .textwidget {
    color:#333333;
}
body.page-template-default .widget.widget_text .textwidget {
    color:#929292;
}
body.page-template-default .widget.widget_text .textwidget .button {
    color:#385a72;
}

.widget.widget_my_postwidget:first-child {
    margin-top:-18px;
}


.widget.widget_links ul li {
    font-size:13px;
}


/* Calendar */
#calendar_wrap {
    padding:0;
}
#wp-calendar {
    width:100%;
    background-color:#FFF;
    background-repeat:repeat-x;
    background-position:0 37px;
    background-image:url(images/calendar-body-tail.gif);
}
#wp-calendar caption {
    text-align:center;
}
#wp-calendar td {
    text-align:center;
    padding:11px 0 10px 0;
    border:none;
    font-weight:bold;
}
#wp-calendar caption {
    font-size:16px;
    color:#6491a1;
    font-weight:normal;
    padding:4px 0;
    margin-bottom:5px;
}
#wp-calendar tfoot {
    background:#f2f2f2;
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
}
#wp-calendar tbody td {
    border: 1px solid #d7d7d7;
    color:#616060;
    padding: 4px;
    line-height:31px;
}
#wp-calendar tbody tr:first-child td {
    border-top: none;
}
#wp-calendar tbody td a {
    color:#fff;
    background-color:#333333;
    text-decoration:none;
    display: block;
    margin: 0;
}
#wp-calendar tbody td a:hover {
    background-color:#6491a1;
}
#wp-calendar thead {
    border-left: 1px solid #0788a4;
    border-right: 1px solid #0788a4;
    background-repeat:repeat-x;
    background-position:0 0;
    background-image:url(images/calendar-head-tail.gif);
}
#wp-calendar thead th {
    padding:0;
    height:37px;
    line-height:37px;
    font-size:12px;
    color:#fff;
    font-weight:bold;
    text-align:center;
    border: none;
    border-left: 1px solid #39a2b9;
}
#wp-calendar thead th:first-child {
    border-left: none;
}
#wp-calendar #prev {
    text-align:left;
}
#wp-calendar #next {
    text-align:right;
}



/* FAQs
---------------------------------------- */
.faq_list {

}
.faq_list dt {
    color:#333;
    position:relative;
    padding:0 0 5px 28px;
    font-size:15px;
    font-weight:normal;
    margin:0;
    background:none;
}
.faq_list span.marker {
    display:block;
    position:absolute;
    left:0;
    top:0;
    font-size:15px;
    color:#333;
    font-weight:bold;
}
.faq_list dd {
    padding:0 0 0 28px;
    position:relative;
    margin:0 0 2em 0;
}
.faq_list dd .marker {
    top:0;
}




/* Custom widgets
---------------------------------------- */


/* Recent Comments */
ul.recentcomments {
    padding:0;
    margin:0;
}
ul.recentcomments li {
    border-top:1px solid #dadada;
    padding:25px 0 25px 0;
    margin:0;
    border-bottom:none;
    background:none;
    overflow:hidden;
    list-style-type:none;
    font-weight:normal;
}
ul.recentcomments li:first-child {
    padding-top:0;
    border-top:none;
}
ul.recentcomments li img {
    float:left;
    margin:0 12px 0 0;
}
ul.recentcomments .comment-body {
    padding:15px 0 0 0;
}
ul.recentcomments .comment-body a {
    text-decoration:none;
    color:#96999d;
}
ul.recentcomments .comment-body a:hover {
    color:#000;
    text-decoration:underline;
}
ul.recentcomments li h4 {
    margin-bottom:.1em;
}
ul.recentcomments li h4 a {
    text-decoration:none;
}
ul.recentcomments li h4 a:hover {
    color:#000;
}
ul.recentcomments li small {
    font-size:11px;
    color:#6a6a6a;
}

/* Posts Type widget */
.post_list {
    list-style-type:none;
    padding:0;
    margin:0;
}
.post_list li {
    list-style-type:none;
    overflow:hidden;
    background:none;
    padding: 0;
    margin:0 0 9px 0;
    border: none;
    color:#078daa;
    font-weight:normal;
}
.post_list li:first-child {
    border:none;
    padding-top:0;
}
.post_list li .featured-thumbnail {
    margin-top:0;
}
.post_list li time {
    color:#fff;
    background-color:#747474;
    font-weight:bold;
    padding: 0 6px;
    line-height:22px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom:9px;
}

/* Team Posts */
.post_list.our_team_posts li {
    color:#929292;
    margin: 7px 0 0 0;
    padding: 0;
}
.post_list.our_team_posts li:first-child {
    margin-top:0;
}
.post_list.our_team_posts .featured-thumbnail {
    margin-top:3px;
}
.post_list.our_team_posts h5 {
    margin-bottom:13px;
}
.post_list.our_team_posts h5 a {
    color:#333333;
}
.post_list.our_team_posts .post_content {
    display: inline;
}
.post_list.our_team_posts .button {
    color:#385A72;
}


/* Carousel widget */
.es-carousel-wrapper{
    background: #2a2a2a;
    padding:10px 37px;
    margin:0 0 20px 0;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position:relative;
}
.es-carousel{
    overflow:hidden;
    background:#2a2a2a;
}
.es-carousel ul{
    display:none;
}
.es-carousel ul li{
    height:100%;
    float:left;
    display:block;
    list-style-type:none;
    padding:0;
    margin:0;
    color:#fff;
    font-weight:normal;
}
.es-carousel ul li .thumbnail{
    display:block;
    border-style:solid;
    border-color:#222;
}
.es-carousel ul li a img{
    display:block;
    border:none;
    max-height:100%;
    max-width:100%;
}
.es-nav span{
    position:absolute;
    top:50%;
    left:12px;
    background:transparent url(images/nav.png) no-repeat top left;
    width:14px;
    height:26px;
    margin-top:-13px;
    text-indent:-9000px;
    cursor:pointer;
    opacity:0.8;
}
.es-carousel ul li h4 {
    margin-bottom:.5em;
}
.es-carousel ul li .excerpt {
    margin-bottom:10px;
}
.es-nav span.es-nav-next{
    right:12px;
    left:auto;
    background-position:top right;
}
.es-nav span:hover{
    opacity:1.0;
}


/* Post Cycle */
.post_cycle {
    padding:0;
    margin:0;
}
.post_cycle .cycle_item {
    display:none;
}
.post_cycle .cycle_item:first {
    display:block;
}


/* Folio Cycle */
.folio_cycle {
    list-style-type:none;
    padding:0;
    margin:0;
    width:100%;
    overflow:hidden;
}
.folio_cycle .folio_item {
    overflow:hidden;
    display:none;
}
.folio_cycle .folio_item:first {
    display:block;
}
.folio_cycle .folio_item .featured-thumbnail {
    float:none;
    margin:0 0 15px 0;
}
.folio_cycle .folio_item .featured-thumbnail img {
    float:none;
}
.folio_cycle .folio_item .excerpt {
    padding-left:1px;
}
#folio-controls {
    text-align:center;
    overflow:hidden;
}
#folio-controls ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
#folio-controls ul li {
    padding:0 5px 0 0;
    margin:0;
    display:inline;
}
#folio-controls ul li a {
    display:inline-block;
    text-decoration:none;
    width:9px;
    height:9px;
    background:#000;
    font-size:0;
    line-height:0;
    border-radius:5px;
}
#folio-controls ul li a:hover {
    background:#999;
}


/* Testimonials */
.testimonials {
    padding: 0;
    margin: 0;
}
.testimonials div.testi_item {
    padding: 0;
    margin: 0 0 2em 0;
    background: none;
    overflow:hidden;
}
.testimonials div.testi_item blockquote {
    display: block;
    position: relative;
    margin: 0;
    padding: 30px;
    background: #dbdbdb;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
.testimonials div.testi_item blockquote:before {
    content: "";
    display: block;
    position: absolute;
    left: 65px;
    bottom: -20px;
    width:0;
    height:0;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-top: 20px solid #dbdbdb;
}
.testimonials div.testi_item blockquote:after {
    content: "";
    display: block;
    position: absolute;
    left: 20px;
    top: 10px;
    width: 41px;
    height: 38px;
    background: url(images/quotes.png) 0 0 no-repeat;
}
.testimonials div.testi_item blockquote a {
    text-decoration: none;
    color: #4e4e4e;
    display: block;
    font-style: normal;
    position: relative;
}
.testimonials div.testi_item blockquote a:hover {
    color: #ffffff;
}
.testimonials div.testi_item .featured-thumbnail {
    position:relative;
    z-index:2;
    margin:0 20px 0 10px;
}
.name-testi {
    padding: 12px 0 0 0;
    text-align: right;
    display: block;
}
.name-testi a {
    font-weight: normal;
}
.testimonials .thumb {
    float: left;
    margin-right: 20px;
}

/* Misc for Cycle widgets */
#testi-cycle .testi_item {
    display:none;
}
#testi-cycle .testi_item:first {
    display:block;
}
#testi-controls {
    text-align:center;
    overflow:hidden;
}
#testi-controls ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
#testi-controls ul li {
    padding:0;
    margin:0 2px 0 0;
    display:inline-block;
}
* + html #testi-controls ul li {
    display:inline;
    zoom:1;
}


/* Recent Posts */
.widget_my_postwidget {
    background-color:#385a72;
    background-repeat:repeat-x;
    background-position:0 0;
    background-image:url(images/slider-shadow.png);
    padding: 19px 20px 0 19px !important;
    height: 447px;
    overflow: hidden;
    margin-right:-20px;
    position:relative;
}
.blog_sidebar_pos_left .widget_my_postwidget {
    margin-right:0;
    margin-left:-20px;
}
body.home .widget_my_postwidget {
    margin-right:0;
}
.widget_my_postwidget h3 {
    color:#fff;
    font-weight:bold;
    letter-spacing:-1px;
    margin-bottom:18px;
}
#latestpost-cycle .cycle_item {
    margin:0 0 0 0;
    padding: 0;
    background:none;
    color:#fff;
    list-style-type:none;
    height: 388px;
    width: 280px;
    overflow: hidden;
}
#latestpost-cycle .cycle_item .inner {
    margin: 0 0 18px 0;
}
#latestpost-cycle .cycle_item .featured-thumbnail {
    margin: 0 19px 0 0;
}
#latestpost-cycle .cycle_item time {
    font-weight:bold;
    background-color:#6491a1;
    line-height:22px;
    padding: 0 6px;
    display: inline-block;
    border-radius: 2px;
}
#latestpost-cycle .cycle_item .excerpt {
    margin:8px 0 0 0;
}

#latestpost-cycle .buttons.disable {
    visibility: hidden;
}
#latestpost-cycle .pagination {
    position:absolute;
    right: 20px;
    top: 24px;
}
#latestpost-cycle .pagination li {
    float: left;
    margin: 0 0 0 5px;
    padding: 0;
    background:none;
}
#latestpost-cycle .pagination li a {
    width:9px;
    height:0;
    padding:9px 0 0 0;
    margin:0;
    overflow: hidden;
    background:none;
    background-repeat:no-repeat;
    background-position:-14px 0;
    background-image:url(images/pagination-sprite.png);
    float: left;
}
#latestpost-cycle .pagination li.current a,
#latestpost-cycle .pagination li.current a:hover {
    background-position:0 0;
}
#latestpost-cycle .pagination li a:hover {
    background-position:-28px 0;
}


/* Twitter widget */
.twitter {
    position:relative;
}
.twitter_update_list {
    overflow:hidden;
}
.twitter ul {
    margin: 0;
    padding: 0;
}
.twitter ul li {
    list-style-type:none;
    background:none;c
color:#fff;
    margin:0 0 16px 0;
    padding:0 0 11px 0;
    border-bottom: 1px solid #363636;
    font-weight:normal;
}
.twitter ul li.firstTweet.lastTweet {
    border: none;
}
.twitter ul li .twitt-body {
    padding:0 0 5px 0;
}
.twitter ul li a {
    text-decoration:none;
}
.twitter ul li a:hover {
    text-decoration:underline;
}
.twitter ul li a.timesince {
    font-size:12px;
    color:#fff;
    font-style:italic;
}
.twitter  .preloader {
    margin-top:-27px;
}



/* Flickr widget */
.flickrImages {
    overflow:hidden;
    position:relative;
    padding: 0;
    margin: 0 0 10px 0;
}
.flickrImages a {
    float:left;
    display:block;
    width:75px;
    height:75px;
    background:#000;
    margin:0 1px 1px 0;
}
.flickrImages a img {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}
.flickrImages a:hover img {
    opacity:.5;
}
.flickrImages a.link {
    display:inline;
    float:none;
    width:auto;
    height:auto;
    margin:0;
    background:none;
}

/* Banner widget */
.banners-holder {
    list-style-type:none;
    padding:0;
    margin:0;
}
.banners-holder li {
    list-style-type:none;
    float:left;
    margin:0 3px 3px 0;
    padding:0;
}
.banners-holder li img {
    vertical-align:top;
    float:left;
}



/* vCard widget */
.vcard {
    border-top: 1px solid #385a72;
    padding-top:15px;
    margin-top:16px;
}
.vcard small {
    color: #fff;
    font-size:1em;
}
.vcard .adr {
    padding-bottom:12px;
    display: block;
}
.vcard .fax {
    display: block;
    padding:2px 0 11px 0;
}
.vcard .value {
    color:#fff;
    font-weight:bold;
}
.vcard a {
    text-decoration:none;
}
.vcard a:hover {
    text-decoration:underline;
}


/* Testimonials
---------------------------------------- */

/* Testimonials list */
article.testimonial {
    border:1px solid #e4e4e4;
    padding:30px 30px 30px 235px;
    width:auto;
    background:url(images/quotes.png) no-repeat 170px 20px;
    font-weight:normal;
    margin-bottom:35px;
}
article.testimonial .featured-thumbnail {
    position:absolute;
    left:20px;
    top:20px;
}
article.testimonial .name-testi {
    display:block;
    text-align:right;
    font-style:normal;
    color:#222c36;
    font-size:13px;
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.2em;
}
article.testimonial .name-testi a {
    text-decoration:none;
}
article.testimonial .name-testi a:hover {
    text-decoration:underline;
}





/* Shortcodes
---------------------------------------- */

/* Recent Posts */
.recent-posts {
    margin:0;
    padding:0;
    width:100%;
    overflow:hidden;
    border:none;
}
.recent-posts li {
    list-style-type:none;
    margin:0 0 20px 0;
    padding:0;
    border:none;
    background:none;
}
.recent-posts li img.thumb {
    float:left;
    margin:0 20px 0 0;
}
.recent-posts li h5 {
    font-size:1em;
    margin-bottom:0;
}
.recent-posts li .excerpt {
    margin-bottom:1.5em;
}
.recent-posts li span.meta {
    display:block;
    margin-bottom:.5em;
    font-size:10px;
    color:#888;
    text-transform:uppercase;
    overflow:hidden;
}
.recent-posts li .post-date {
    float:left;
}
.recent-posts li .post-comments {
    float:right;
}

/* Images Format Type */
.recent-posts .format-image {
    float:left;
    margin:0 20px 20px 0;
}

/* Quote Format Type */
.recent-posts .format-quote {

}

/* Link Format Type */
.recent-posts .format-link {

}

/* Link Format Type */
.recent-posts .format-link {

}

/* Audio Format Type */
.recent-posts .format-audio {
    margin-bottom:2em;
}
.recent-posts .format-audio .audio-wrapper {
    margin-bottom:.5em;
}

/* Video Format Type */
.recent-posts .format-video {
    float:left;
    width:300px;
    margin:0 20px 20px 0;
}
.recent-posts .format-video iframe {
    width:300px;
    height:200px;
}

/* Our team */
.recent-posts.team {
    margin: 0;
    padding: 0;
}
.recent-posts.team li {
    float: left;
    width: 174px;
    overflow: hidden;
    margin: 0 19px 20px 0;
    background: #dbdbdb;
    padding: 10px;
    color: #969695;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.recent-posts.team li:hover {
    background: #999;
    color: #000;
}
.recent-posts.team li:nth-child(3n) {
    margin-right: 0;
}
.recent-posts.team li.nomargin {
    margin-right: 0;
}
.recent-posts.team li .featured-thumbnail {
    width: 174px;
    overflow: hidden;
    float: none;
    margin: 0 0 3px 0;
    background:none;
    padding:0;
    border:none;
}
.recent-posts.team li .excerpt {
    margin-bottom: 0;
}
.recent-posts.team li:hover a {
    color: #ffffff;
}

/* Services */
.recent-posts.services {
    list-style-type:none;
    padding:1.5em 0 0 0;
    margin:0 0 -30px 0;
    overflow:hidden;
}
.recent-posts.services li {
    float:left;
    width:300px;
    margin:0 20px 30px 0;
    background:none;
    padding:0;
}
.recent-posts.services li:nth-child(2n) {
    margin-right:0;
}
.recent-posts.services li.nomargin{
    margin-right:0;
}
.recent-posts.services li img.thumb {
    margin-right:3px;
}
.recent-posts.services li h3 {
    padding-top:8px;
}
.recent-posts.services li h3 a {
    color:#191919;
}

/* Popular Posts */
.popular_posts {
    list-style-type:none;
    padding:0;
    margin:0;
}
.popular_posts li {
    list-style-type:none;
    padding:0 0 20px 0;
    margin:0;
    overflow:hidden;
}



/* Tags */
.tags-cloud a,
.tagcloud a,
.post-footer a {
    display:inline-block;
    background:#e0e0e0;
    padding:2px 7px;
    border-radius:3px;
    text-decoration:none;
    color:#838383;
    margin:0 1px 4px 0;
    font-size:11px !important;
    box-shadow:1px 1px 0 rgba(0, 0, 0, .2);
    line-height:1.5em;
    vertical-align:top;
}
.tags-cloud a:hover,
.tagcloud a:hover,
.post-footer a:hover {
    background:#000;
    color:#fff;
}


/* Recent Comments */
.recent-comments {
    list-style-type:none;
    padding:0;
    margin:0;
}
.recent-comments li {
    padding:0;
    margin:0;
    border:none;
    padding-bottom:.5em;
}


/* Footer
---------------------------------------- */
#footer {
    position:relative;
    z-index: 3;
}

/* Footer widget */
#widget-footer {
    background-color:#003455;
    border-radius: 0 0 4px 4px;
    padding: 27px 0;
}
#widget-footer h4 {
    color:#fff;
    text-transform:uppercase;
    font-weight:bold;
    margin-bottom:12px;
    font-size:15px;
    line-height:18px;
    font-family: 'Open Sans', sans-serif;
}
#widget-footer .post_list {
    margin-bottom:15px;
}
#widget-footer .post_list li {
    border: none;
    border-bottom:1px solid #385a72;
    padding:0 0 17px 0;
    margin:0 0 16px 0;
    color:#FFFFFF;
}
#widget-footer .post_list li .post-title {
    font-weight:bold;
    color:#6491a1;
    text-decoration:none;
}
#widget-footer .post_list li .post-title:hover {
    text-decoration:underline;
}
#widget-footer .post_list li time {
    color:#fff;
    font-style:italic;
    font-weight:normal;
    padding: 0;
    margin: 0;
    line-height:1em;
    background:none;
}

.twitter ul li {
    border-bottom: 1px solid #385a72;
}
.twitter ul li a.timesince {
    color:#fff;
}


/* Footer navigation */
nav.footer {
    float:right;
}
nav.footer ul {
    margin:0;
    padding:0;
}
nav.footer ul li {
    list-style-type:none;
    float:left;
    padding:0 0 0 15px;
    margin:0;
    background:none;
    font-weight:normal;
}
nav.footer ul li a {
    text-decoration:none !important;
    color: #888888;
}
nav.footer ul li a:hover,
nav.footer ul li.current_page_item a {
    color:#6491a1;
}

/* Copyright */
#copyright {
    color: #888888;
    padding: 25px 0 42px 0;
    position:relative;
}

/* Footer text */
#footer-text a {
    text-decoration:none;
    color: #888888;
}
#footer-text a:hover {
    text-decoration:underline;
}



/* Misc
---------------------------------------- */
.button {
    display:inline-block;
    color:#6491a1;
    text-decoration:none;
    font-weight:bold;
}
.button:hover {
    text-decoration:underline;
}

/* Small Button */
.button.small {
    font-size:10px;
    text-transform:uppercase;
    padding:3px 8px;
}

/* Large Button */
.button.large {
    font-size:18px;
    padding:16px 32px;
}

.no-results #searchform .searching {
    width:440px;
}


/* Lightbox */
.lightbox {
    display:block;
    position:relative;
}

/* Back to Top */
#back-top {
    position: absolute;
    top: -26px;
    right:0;
    display:none;
}

#back-top a {
    width: 25px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;

    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    color: #000;
}

/* arrow icon (span tag) */
#back-top span {
    width: 25px;
    height: 26px;
    display: block;
    background: #6491a1 url(images/up-arrow.gif) no-repeat center center;

    /* rounded corners */
    -webkit-border-radius:4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;

    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover span {
    background-color: #6491a1;
}

/* Tabs */
.tabs {
    margin: 1px 0 20px 0;
}

.tabs .tab-wrapper {
    border: 1px solid #dddddd;
    border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px 5px;
    -webkit-border-radius: 0 5px 5px 5px;
    margin: -1px 0 0 0;
}

.tabs .tab-menu ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.tabs .tab-menu li {
    display: inline;
    float: left;
    margin: 0;
    padding: 0;
}

.tabs .tab-menu a {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    color: #aaaaaa;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0 2px 0 0;
    padding: 8px 20px;
}

.tabs .tab-menu a:hover {
    background-color: #f2f2f2;
    color: #666666;
}

.tabs .tab-menu a.active {
    background-color: #ffffff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#fafafa');
    background: -moz-linear-gradient(bottom , #fafafa 0px, #f6f6f6 90%) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear,left bottom,left top, color-stop(0, #fafafa),color-stop(90%, #f6f6f6));
    border-bottom: none;
    color: #666666;
    padding: 8px 20px 9px 20px;
}

.tabs .tab {
    background-color: #fafafa;
    border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px 5px;
    -webkit-border-radius: 0 5px 5px 5px;
    padding: 20px;
}





/* Toggle */
.toggle {
    padding: 0;
}
.toggle .trigger {
    color: #078daa;
    display: block;
    padding: 6px 12px 5px 29px;
    position: relative;
    text-decoration:none;
    height:1%;
    font-weight:bold;
}

.toggle .trigger span {
    background: url(includes/images/toggle.png) 0 -101px no-repeat;
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
}

.toggle .trigger:hover,
.toggle .active {
    color:#6491a1;
}
.toggle .active span {
    background-position: 0 0;
}

.toggle .box {
    padding: 9px 0 10px 0;
    color:#929292 !important;
}



/* Dropcap */
.dropcap {
    display: block;
    float: left;
    margin: 3px 22px 20px 0;
    text-transform: uppercase;
    width: 59px;
    height: 59px;
    background: #385a72;
    border-radius:59px;
    font-size: 48px;
    line-height: 53px;
    vertical-align: top;
    color: #ffffff;
    text-align: center;
    text-transform:uppercase;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
}

.widget-area {

}

.hr {
    height:1px;
    background:#eee;
    overflow:hidden;
    font-size:0;
    line-height:0;
    margin:30px 5px;
}
.grid_1 .hr, .grid_2 .hr, .grid_3 .hr, .grid_4 .hr, .grid_5 .hr, .grid_6 .hr, .grid_7 .hr, .grid_8 .hr, .grid_9 .hr, .grid_10 .hr, .grid_11 .hr, .grid_12 .hr, .grid_13 .hr, .grid_14 .hr, .grid_15 .hr, .grid_16 .hr, .grid_17 .hr, .grid_18 .hr, .grid_19 .hr, .grid_20 .hr, .grid_21 .hr, .grid_22 .hr, .grid_23 .hr, .grid_24 .hr {
    margin-left:0;
    margin-right:0;
}
.sm_hr {
    height: 1px;
    background: #eee;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    margin: 25px 10px;
}
.grid_1 .sm_hr,
.grid_2 .sm_hr,
.grid_3 .sm_hr,
.grid_4 .sm_hr,
.grid_5 .sm_hr,
.grid_6 .sm_hr,
.grid_7 .sm_hr,
.grid_8 .sm_hr,
.grid_9 .sm_hr,
.grid_10 .sm_hr,
.grid_11 .sm_hr,
.grid_12 .sm_hr {
    margin-left: 0;
    margin-right: 0;
}
.spacer {
    height:25px;
    overflow:hidden;
    font-size:0;
    line-height:0;
}

/* Address */
.address {
    overflow:hidden;
    width:100%;
    margin:0;
    padding:0;
}
.address dt {
    float:left;
    width:165px;
    margin-right:20px;
    padding:0 0 0 55px;
    background:none;
    font-size:1em;
    line-height:18px;
    background:url(images/address-icon1.png) no-repeat 0 3px;
}
.address dd {
    float:left;
    width:217px;
    padding:0 0 0 53px;
    background:url(images/address-icon2.png) no-repeat 0 3px;
}
.address dd ul {
    list-style-type:none;
    padding:0;
    margin:0;
}
.address dd ul li {
    background:none;
    padding:0;
    margin: 0;
    font-weight:normal;
}
.address dd span {
    float:left;
    width:100px;
}
.address dd a {
    font-style:italic;
    color:#191919;
    text-decoration:underline;
}
.address dd a:hover {
    text-decoration:none;
}


/* Google Map */
.google-map {
    margin-bottom:20px;
    background-repeat:no-repeat;
    background-position:50% 50%;
    background-image:url(images/loading-map.gif);
}




/* VIDEO */
.video-wrap {
    margin-bottom: 10px;
    position:relative;
    zoom:1;
}
.video-wrap object {
    position:relative;
    z-index:2;
}
.video-bg {
    background-color:black;
    position:absolute;
    left:0;
    top:0;
    z-index:1;
}

/* AUDIO */
.audio-wrapper {
    margin-bottom:1.5em;
}
.audio-desc {
    font-size:.91em;
    color:#999;
    padding:.5em 0 0 0;
}
.audiojs audio { position: absolute; left: -1px; }
.audiojs { width: 460px; height: 36px; background: #404040; overflow: hidden; font-family: monospace; font-size: 12px;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));
    background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%);
    -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); }
.audiojs .play-pause { width: 25px; height: 40px; padding: 4px 6px; margin: 0px; float: left; overflow: hidden; border-right: 1px solid #000; }
.audiojs p { display: none; width: 25px; height: 40px; margin: 0px; cursor: pointer; }
.audiojs .play { display: block; }
.audiojs .scrubber { position: relative; float: left; width: 280px; background: #5a5a5a; height: 14px; margin: 10px; border-top: 1px solid #3f3f3f; border-left: 0px; border-bottom: 0px; overflow: hidden; }
.audiojs .progress { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #ccc; z-index: 1;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(0.5, #ddd), color-stop(0.51, #ccc), color-stop(1, #ccc));
    background-image: -moz-linear-gradient(center top, #ccc 0%, #ddd 50%, #ccc 51%, #ccc 100%); }
.audiojs .loaded { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #000;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #333), color-stop(0.51, #222), color-stop(1, #222));
    background-image: -moz-linear-gradient(center top, #222 0%, #333 50%, #222 51%, #222 100%); }
.audiojs .time { float: left; height: 36px; line-height: 36px; margin: 0px 0px 0px 6px; padding: 0px 6px 0px 12px; border-left: 1px solid #000; color: #ddd; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); }
.audiojs .time em { padding: 0px 2px 0px 0px; color: #f9f9f9; font-style: normal; }
.audiojs .time strong { padding: 0px 0px 0px 2px; font-weight: normal; }
.audiojs .error-message { float: left; display: none; margin: 0px 10px; height: 36px; width: 400px; overflow: hidden; line-height: 36px; white-space: nowrap; color: #fff;
    text-overflow: ellipsis; -o-text-overflow: ellipsis; -icab-text-overflow: ellipsis; -khtml-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis; }
.audiojs .error-message a { color: #eee; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid #999; white-space: wrap; }

.audiojs .play { background: url(js/audiojs/player-graphics.gif) -2px -1px no-repeat; }
.audiojs .loading { background: url(js/audiojs/player-graphics.gif) -2px -31px no-repeat; }
.audiojs .error { background: url(js/audiojs/player-graphics.gif) -2px -61px no-repeat; }
.audiojs .pause { background: url(js/audiojs/player-graphics.gif) -2px -91px no-repeat; }

.playing .play, .playing .loading, .playing .error { display: none; }
.playing .pause { display: block; }

.loading .play, .loading .pause, .loading .error { display: none; }
.loading .loading { display: block; }

.error .time, .error .play, .error .pause, .error .scrubber, .error .loading { display: none; }
.error .error { display: block; }
.error .play-pause p { cursor: auto; }
.error .error-message { display: block; }



/* Alert boxes
---------------------------------------- */
.alert-box, .wpcf7-response-output {
    padding:20px 20px 20px 90px !important;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    font-size:.91em;
    line-height:1.4em;
    border:1px solid #dbdbdb;
    font-family:Arial, Helvetica, sans-serif;
    margin-bottom:15px;
}
.error-box, .wpcf7-mail-sent-ng {
    border-color:#ff9999;
    color:#c31b00;
    background:url(images/icons/alert/icon-error.png) no-repeat 20px 50% #ffcccc;
}
.attention-box, .wpcf7-validation-errors, .wpcf7-spam-blocked {
    border-color:#e6c555;
    color:#9e660d;
    background:url(images/icons/alert/icon-note.png) no-repeat 20px 50% #fdebae;
}
.notice-box {
    border-color:#68a2cf;
    color:#2e6093;
    background:url(images/icons/alert/icon-info.png) no-repeat 20px 50% #bfe4f9;
}
.approved-box, .wpcf7-mail-sent-ok {
    border-color:#a3c159;
    color:#5e6f33;
    background:url(images/icons/alert/icon-download.png) no-repeat 20px 50% #ccff99;
}



/* Forms
---------------------------------------- */

/* Form defaults */
input, select, textarea {
    font-family:Arial, Helvetica, sans-serif;
    font-size:1em;
    vertical-align:middle;
    font-weight:normal;
    border:1px solid #dbdbdb;
    outline:none;
}
input[type="text"], textarea {
    background:#fff;
    border:1px solid #e4e4e4;
    padding:9px 5px;
    border-radius:1px;
    color:#959494;
}
input[type="submit"], input[type="reset"] {
    position:relative;
    display:inline-block;
    line-height:31px;
    padding: 0;
    color:#6491a1;
    font-weight:bold;
    text-decoration:none;
    font-size:12px;
    background:none;
    border:none;
    height:31px;
    cursor:pointer;
    margin-right:4px;
}
input[type="submit"]:hover, input[type="reset"]:hover {
    color:#385a72;
}


/* Comment form */
#commentform a {
    color:#0792b1;
    text-decoration:underline;
}
#commentform a:hover {
    text-decoration:none;
}
#commentform p.field {
    margin-bottom:14px;
}
#commentform small {
    font-size:1em;
}
#commentform label {
    display:block;
    margin-bottom:5px;
}
#commentform input[type="text"] {
    width:208px;
}
#commentform textarea {
    width:448px;
    max-width:448px;
    min-width:448px;
    height:156px;
    min-height:156px;
    overflow:auto;
    margin-bottom:8px;
}




/* Contact form */
.wpcf7-form p.field {
    margin-bottom:9px;
    overflow:hidden;
    vertical-align:top;
    position:relative;
}
.wpcf7-form p.field input {
    width:290px;
}
.wpcf7-form p.field small {
    color:red;
}
.wpcf7-form .input-file {
    width: 79px;
    height: 22px;
    background: url(images/btn-choose-file.gif) 0 0 no-repeat;
    display: block;
    overflow: hidden;
    cursor: pointer;
    position:relative;
}
.wpcf7-form input[type="file"] {
    position: relative;
    height: 100%;
    width: auto;
    opacity: 0;
    cursor: pointer;
    -moz-opacity: 0;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}
.wpcf7-form textarea {
    width:368px;
    max-width:368px;
    min-width:368px;
    height:255px;
    min-height:255px;
    overflow:auto;
    margin-bottom:17px;
}
.wpcf7-form .submit-wrap {
    padding:0;
    margin:0;
}
span.wpcf7-form-control-wrap {
    display:block;
}
.wpcf7-not-valid-tip {
    width:295px !important;
    position:absolute;
    left:0 !important;
    top:0 !important;
    padding:7px 0 8px 5px !important;
    background:#f3b7b7 !important;
    color:red !important;
    border:1px solid red !important;
}
div.wpcf7-response-output {
    margin-left:0 !important;
    margin-right:0 !important;
}





/* Sidebar search form */
#searchform {

}
#searchform .searching {
    width:212px;
    margin-right:10px;
}
#searchform .submit {
    width:auto;
    cursor:pointer;
    padding-left:0;
    padding-right:0;
}



/* Fluid Columns */
.one_half{ width:48%; }
.one_third{ width:30.66%; }
.two_third{ width:65.33%; }
.one_fourth{ width:22%; }
.three_fourth{ width:74%; }
.one_fifth{ width:16.8%; }
.two_fifth{ width:37.6%; }
.three_fifth{ width:58.4%; }
.four_fifth{ width:79.2%; }
.one_sixth{ width:13.33%; }
.five_sixth{ width:82.67%; }
.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth{ position:relative; margin-right:4%; float:left; }
.last { margin-right:0 !important; clear:right; }


.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}

.wrapper {
    width:100%;
    overflow:hidden;
}
.extra-wrap {
    overflow:hidden;
}


/* Clear Floated Elements */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}
