/* Kavanagh red: #ae1e03 */
/* Kavanagh = #00217a */

@media (max-width: 768px) {
	img {
		display:block;
		margin:20px auto 20px auto !important;
	}
}

.kavanagh {
	color:#00217a;
}

.small {font-size:0.8em;}

.topblock {
	margin:20px 0;
	padding:20px;
	background:#fff;
}
.topblock h1.small {
	font-size:0.9em;
	font-weight:bold;
}
.topblock h2.small {
	font-size:0.9em;
	font-weight:bold;
}
.topblock p.medium {
	font-size:1.2em;
	font-weight:bold;
}


.bot-mar-20 {
	margin-bottom:20px;	
}

.submenu_footer {
	margin:20px 0 30px 0;
	padding:20px;
	border:2px dashed #00217a;
	background:#fff;
}

.limitheight {
	overflow:auto;
    -face-color: #000000;
    scrollbar-shadow-color: #2D2C4D;
    scrollbar-highlight-color:#7D7E94;
    scrollbar-3dlight-color: #7D7E94;
    scrollbar-darkshadow-color: #2D2C4D;
    scrollbar-track-color: #7D7E94;
    scrollbar-arrow-color: #C1C1D1;
}
.scroll-pane
{
	width: 100%;
	height: 200px;
	overflow: auto;
}
.horizontal-only
{
	height: auto;
	max-height: 200px;
}
		
@media (max-width: 980px) {
	.limitheight {scrollbar:none;height:auto;}
	.scroll-pane {height:auto;}
}

		
.choice {
	font-size:80%;
	line-height:1.5em;
	background:#f1f2f7;
}
.choice ul {
	margin:0;
	padding-left:12px;
}
.choice li {
	line-height:1.5em;
}

.links {
	border-top:1px dotted #c0c0c0;
	padding-top:10px;
}


.missingimage {
	display:inline-block;
	position:relative;
	width:250px;
	height:250px;
	text-align:center;
	background:#fff;
	border:1px solid #e1e1e1;
}
.missingimage div {
	position:relative;
	z-index:10;
	margin:42% auto 0 auto;
	background:#fff;
	padding:5px;
}
.missingimage a {
	color:#e1e1e1;
}
.missingimage:after{
	content:"";
	position:absolute;
	z-index:0;
	border-top:1px solid #e1e1e1;
	width:140%;
	left:0;
	top:0;
	transform: rotate(45deg);
	transform-origin: 0% 0%;
}
.missingimage:before{
	content:"";
	position:absolute;
	z-index:0;
	border-top:1px solid #e1e1e1;
	width:140%;
	left:0;
	bottom:0;
	transform: rotate(-45deg);
	transform-origin: 0% 0%;
}

	
.popular {
margin:0 0 20px 0;
}

.overlay1 {
bottom:0%;
position: absolute;
left: 50%;
z-index:5;
}
.overlay1 div{
position: relative;
left: -50%;
background:rgba(255,255,255,0.8);
color: #00217a;
border-top:1px solid #00217a;
padding:5px;
min-width:300px;
z-index:6;
}

div.img-container {
     width: 300px;
     height: 200px;
     position: relative;
     margin-left: auto;
     margin-right: auto;
     overflow: hidden;
	 border:2px solid #00217a;
 }
img.cropped {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.page-mask { 
	width: 100%; 
	height: 100%; 
	position: fixed; 
	background: #fff; 
	top:0px; 
	left: 0px; 
	z-index: 1;
}

.page-loader { 
	width: 44px; 
	height: 44px; 
	text-align: center; 
	line-height: 44px; 
	margin: 23% auto 0 auto; 
	font-size: 12px;
}

.spinner {
  border: 2px solid #eeeeee;
  font-size: 40px;
  width: 1em;
  height: 1em;
  border-radius: .5em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


body {
	position:relative;
	z-index:0;
    color: #484848;
	background:#fff;
    font-family: "Calibri Light","Open Sans",Helvetica,Arial,sans-serif;
    font-size: 16px;
    line-height: 24px;
	padding: 39px 0 0 0;
}

body.boxed header {
    width: 100%;
}

.wrap {
    overflow: hidden;
}

img {
    max-width: 100%;
}

.main-header {
    display: block;
	position:relative;
	z-index:10;
	width:100%;
	background:#00217a !important;
    -webkit-box-shadow: 0 3px 3px -3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px -3px rgba(0,0,0,0.2);
	-webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

.main-header li.spacer {
	border-top:1px solid #fff;
}


.firstcharacter {float:left;color:#00217a;font-size:75px;line-height:60px;padding-top:4px;padding-right:12px;padding-left:3px; padding-bottom:18px;font-family: courier,courier new;letter-spacing:-10px;margin-top:10px;}

.para {display:block;padding-top:15px;}

hr {clear:both;border-top:1px solid #e1e1e1;}
hr.noline {clear:both;border:none;}

.clear {
	clear:both;
}

	
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    color: #777777;
    font-family: "Calibri Light",'Lato',sans-serif;
	font-weight: 300;
}

h1,h2,h3 {
    margin: 0 0 25px;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 28px;
    position: relative;
}
h2.white {
	color:#fff;
}

h3 {
    font-size: 22px;
    position: relative;
	margin-top:20px;
}

h4 {
    font-size: 18px;
    position: relative;
}

h2.title {
	overflow: hidden;
	line-height:34px;
	font-weight: 400;
	margin:20px 0 30px 0;
}

h2.title:after {
    background: url(../img/bg_off.png) repeat;
    content: "";
    height: 5px;
    margin-left: 10px;
    position: absolute;
    top: 12px;
    width: 99%;
}


h3.title {
	overflow: hidden;
	line-height:28px;
	font-weight: bold;
	margin:30px 0 20px 0;
	font-size:28px !important;
	color:#00217a !important;
}

h3.title_DISABLED:after {
    background: url(../img/bg_off.png) repeat;
    content: "";
    height: 5px;
    margin-left: 10px;
    position: absolute;
    top: 12px;
    width: 99%;
}

h3.product_title {
	overflow: hidden;
	line-height:34px;
	font-weight: 600;
	margin:0 0 20px 0;
	font-size:130%;
	color:#010521;
}


.strong {
	font-weight:800;
}

.bg-overlay {
	background: rgba(0, 0, 0, 0.5);
	padding: 60px 0;
}

.our-clients h3.title:after, .service-reasons h3.title:after {
    background: none;
}

.our-clients h3.title, .service-reasons h3.title {
    color: #fff;
}

.our-clients, .service-reasons {
    background: url(../img/img-blur-client.jpg) 50% 0 no-repeat fixed;
    margin: 0 auto;
	background-position: center center;
    background-size: cover;
}

.product-lead {
    background: url(../img/img-blur-lead.jpg) 50% 0 no-repeat fixed;
    margin: 0 auto;
	background-position: center center;
    background-size: cover;
}

.client, .service-reasons {
    position: relative;
    overflow: hidden;
}

.our-clients .carousel-controls {
    display: block;
    height: 25px;
    position: absolute;
    right: 0;
    top: 3px;
    width: 83px;
}

ul,li,ol {
    line-height: 24px;
    margin:0;
	margin-bottom:10px;
}

ul.plain,li.plain,ol.plain {
	list-style-type:none;
}
ul.tick,li.tick,ol.tick {
	list-style-type:none;
}
ul.tick li,ul.cross li {
	padding-left:0px;
}
ul.tick li:before {
	content: "\2713";
	color: darkgreen;
	margin-left: -20px;
	position: absolute;
}
ul.cross li:before {
	content: "\2717";
	color: crimson;
	margin-left: -20px;
	position: absolute;
}
ul.nobullets {
	list-style-type:none;
}
ul.nobullets li {
	margin:0 0 5px 5px;
	padding-left:0px;
}

.post-content ul {
	color:#010521;
	list-style-type:none;
	list-style-image: url('../img/list-triangle.png');
}
.post-content ul li {
	margin-left:20px;
	padding-left:0px;
	font-size:110%;
}

.post-content .intro {font-weight:bold;color:#010521;}
.post-content p {font-size:110%;color:#010521;}


#style-switcher ul, #style-switcher ul li {
    list-style: none;
    padding: 0;
}

a:hover,a:focus {
    text-decoration: none;
    outline: none;
	color: #777777;
}

.btn-special,.btn-normal,.btn-small,.btn-large,.comment-des,.steps .popup,.testimonial p,.contact-box {
    border-radius: 3px;
}


.topnav .navbar-toggle i {
    line-height: 20px;
}

header .social,footer .social {
    margin-right: 4px;
    line-height: 44px;
}

header #search-form {
    line-height: 44px;
}

footer .social li:last-child,footer .social {
    margin-right: 0 !important;
}

header .social li,footer .social li {
    background-color: transparent;
	border:2px solid #fafafa;
    border-radius: 100% 100% 100% 100%;
    display: inline-block;
    height: 35px;
    margin-right: 5px;
    width: 35px;
	line-height: 30px;
    text-align: center;
    background: transparent;
    -webkit-transition: background .5s ease-in-out;
    -moz-transition: background .5s ease-in-out;
    -o-transition: background .5s ease-in-out;
    -ms-transition: background .5s ease-in-out;
    transition: background .5s ease-in-out;
    padding: 1px;
	cursor:pointer;
}

header .social i,footer .social i {
    color: #fff;
    -webkit-transition: color .5s ease-in-out;
    -moz-transition: color .5s ease-in-out;
    -o-transition: color .5s ease-in-out;
    -ms-transition: color .5s ease-in-out;
    transition: color .5s ease-in-out;
}

#search-form input.search-text-box {
    background-color: transparent;
	border: 2px solid #FAFAFA;
    background-image: url(../img/search-icon.png);
    background-position: 8px 56%;
    background-repeat: no-repeat;
    color: #fafafa;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 40px;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0 0 0 30px;
}

#search-form .search-text-box:focus {
    font-size: 14px;
    background-color: transparent;
    width: 170px;
    height: 35px;
    color: #fafafa;
    cursor: text;
    text-align: left;
    padding: 0 15px 1px 30px;
}

#logo {
	float:left;
    height:40px;
	width:170px;
}
#logo img {
    height:40px;
	width:170px;
}

#logo h1 {
    margin: 13px 0;
}

.navbar-fixed-top {
    position: fixed !important;
}

.main-header .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

header .top-bar {
	display:block;
	position:absolute;
	top:0;
	width:100%;
	z-index:100;
    background: #272727;
	border-bottom: 1px solid #414f5a;
    padding: 5px;
	height:45px;
	font-size:14px;
	line-height:14px;
}

.phone-email {
	float:left;
	margin-top:10px;
}

.phone-email a {
    padding:0 !important;
	margin:0 !important;
	display:inline-block !important;
}

.topmenu {
	position:relative;
	z-index:1000;
	display:inline-block;
	float:right;
	padding:0;
	margin:5px 0 5px 0;
}
.topmenu .sf-menu {
	position:relative;
	z-index:10000;
}
.topmenu .sf-menu li{
	display:inline-block;
	padding:0;
	margin:0 0 3px 0;
}
.topmenu .sf-menu li > a {
	border-right:1px solid #d1d1d1;
	padding:3px 3px 3px 6px;
	margin:0;
}
.topmenu .sf-menu li ul {
	margin-top:10px;
	padding:0;
	background:#fff;
	width:200px;
}
.topmenu .sf-menu li ul.x100 {
	width:100px;
}
.topmenu .sf-menu li ul.x150 {
	width:150px;
}
.topmenu .sf-menu li ul li {
	border-bottom:1px solid #000;
	margin:0;
	padding:0;
	width:100%;
}
.topmenu .sf-menu li ul li a {
	display:block;
	color:#000;
}
.topmenu .sf-menu li ul li:hover {
	background:#e1e1e1;
	color:#fff;
}

.topmenu .sf-menu li a.active{
	font-weight:italic;
}


h1 i, h2 i, h3 i, h4 i, h5 i {
    margin-right: 7px;
}

.box-bg {
    background: #fff;
    margin-bottom: 25px;
    padding: 10px 15px;
	border-radius: 4px;
}

/* Breadcrumbs */
.breadcrumb-wrapper, .login-page, .register-page  {
    background: #f1f2f7;
}

h1.title {
    font-size: 36px;
    line-height: 46px;
    margin: 20px 0;
}
/*
h2.title {
    font-size: 26px;
    line-height: 30px;
    margin: 20px 0;
}
*/

.breadcrumbs {
    margin: 24px 0;
}

.breadcrumbs ul li {
    display: inline-block;
    line-height: 24px;
    font-size: 13px;
    color: #9e9e9e;
    margin: 0 0 0 5px;
}

.breadcrumbs ul li a {
    color: #898989;
    font-weight: 600;
}

.breadcrumbs ul li:first-child {
    margin-left: 2px !important;
}

.breadcrumbs ul li:nth-child(2):before,.breadcrumbs ul li:first-child:before {
    content: " ";
    margin: 0;
}

.breadcrumbs ul li:before {
    color: #9e9e9e;
    content: "\f105";
    font-family: FontAwesome;
    font-size: 12px;
    margin: 0 9px 0 0;
}
/* Slider */
.fullwidthbanner-container {
    width: 100% !important;
    position: relative;
    max-height: 470px !important;
    overflow: hidden;
    background-image: url(../img/loader.gif);
    background-repeat: no-repeat;
    background-position: 50%;
    padding: 0;
}

.tp-leftarrow.default,.nivo-prevNav {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    z-index: 100;
    cursor: pointer;
    position: relative;
    background: transparent;
	border-color: #eee;
	border-style:solid;
	border-width:1px 1px 1px 0;
    padding-top: 20px !important;
    width: 45px;
    height: 60px;
    text-align: center;
    -webkit-transition: background .5s ease-in-out;
    -moz-transition: background .5s ease-in-out;
    -o-transition: background .5s ease-in-out;
    -ms-transition: background .5s ease-in-out;
    transition: background .5s ease-in-out;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    filter: alpha(opacity=0);
    opacity: 0;
    -khtml-opacity: 0;
    -moz-opacity: 0;
    visibility: visible;
}

.tp-leftarrow.default:before,.nivo-prevNav:before {
    content: "\f053";
    font-family: FontAwesome;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    color: #fafafa;
    text-align: center;
    visibility: visible;
}

.tp-rightarrow.default,.nivo-nextNav {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    z-index: 100;
    cursor: pointer;
    position: relative;
    background: transparent;
	border-color: #eee;
	border-style:solid;
	border-width:1px 0 1px 1px;
    padding-top: 20px !important;
    width: 45px;
    height: 60px;
    text-align: center;
    -webkit-transition: background .5s ease-in-out;
    -moz-transition: background .5s ease-in-out;
    -o-transition: background .5s ease-in-out;
    -ms-transition: background .5s ease-in-out;
    transition: background .5s ease-in-out;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    filter: alpha(opacity=0);
    opacity: 0;
    -khtml-opacity: 0;
    -moz-opacity: 0;
    visibility: visible;
}

.tp-rightarrow.default:before,.nivo-nextNav:before {
    content: "\f054";
    font-family: FontAwesome;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    color: #fafafa;
    text-align: center;
    visibility: visible;
}

.nivo-caption h2 {
	margin:0;
	line-height:60px;
}




/* Buttons */
.btn:hover,.btn:focus {
    color: #fff;
}

.btn-default {
	height:44px;
	background: #EEEEEE;
	text-shadow: none;
	box-shadow: none;
}

.btn-default:hover, .btn-default:focus {
	background: #E0E0E0;
}

.btn-pad {
    margin: 7px;
}

.btn-grey {
    color: #767676 !important;
    outline: 0;
    white-space: nowrap;
    word-wrap: normal;
    cursor: pointer;
    background-color: #fff;
    text-shadow: none !important;
}

.btn-grey:hover {
    background: #E0E0E0;
}

.btn-color {
    color: #fff !important;
}

.btn-special {
    border-radius: 4px;
}

.btn-special {
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    outline: none;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.btn-normal {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    padding: 12px 30px;
}

.btn-small {
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    padding: 7px 20px;
}

.btn-large {
    display: inline-block;
    cursor: pointer;
    font-size: 20px;
    padding: 17px 50px;
}

.btn-blue {
	color: #fff !important;
    outline: 0;
    white-space: nowrap;
    word-wrap: normal;
    cursor: pointer;
    background-color: #00217a;
    border:1px solid #00217a;
    text-shadow: none !important;
}
.btn-blue:hover {
    background: green;
	color:#000;
    border:1px solid green;
}

.btn-color,.btn-grey,.btn-blue {
    -webkit-transition: all .4s ease-in-out !important;
    -moz-transition: all .4s ease-in-out !important;
    -o-transition: all .4s ease-in-out !important;
    -ms-transition: all .4s ease-in-out !important;
    transition: all .4s ease-in-out !important;
}

.btn-red {
	color: #fff !important;
    outline: 0;
    white-space: nowrap;
    word-wrap: normal;
    cursor: pointer;
    background-color: red;
	color:#fff;
    border:1px solid red;
    text-shadow: none !important;
}
.btn-red:hover {
    background-color: #fff;
	color:red !important;
}


/* Main Content */
#main {
	position:relative;
	z-index:0;
    background-color: #fff;
	padding: 60px 0 60px 0;
}

.home #main, .home-3 #main, .home-4 #main, .page-services #main, .about #main {
	padding:0;
}


/*Blog page*/

.page article.post {
    border-bottom: none;
}

.post-header h3.content-title {
    text-align: left !important;
    margin-bottom: 15px;
}


.blog-entry-meta {
    font-size: 0;
}

.blog-entry-meta-date {
    display: inline-block;
    margin-right: 25px;
    margin-bottom: 10px;
    font-size: 14px;
    vertical-align: top;
}

.blog-entry-meta-author {
    display: none;
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    vertical-align: top;
}

.blog-entry-meta-tags {
    display: none;
    margin-right: 25px;
    margin-bottom: 10px;
    font-size: 14px;
    vertical-align: top;
}

.blog-entry-meta-comments {
    display: none;
    margin-bottom: 10px;
    font-size: 14px;
    vertical-align: top;
}

ol.commentlist, ol.commentlist li {
    list-style: none;
    padding: 0;
}

.blog-entry-meta i {
	margin-right: 4px;
}



.blog.meta_author .blog-entry-meta-author {
    display: inline-block;
}

.blog.meta_tags .blog-entry-meta-tags {
    display: inline-block;
}

.blog.meta_comments .blog-entry-meta-comments {
    display: inline-block;
}

.blog.meta_authortags .blog-entry-meta-author,.blog.meta_authortags .blog-entry-meta-tags {
    display: inline-block;
}

.blog.meta_authorcomments .blog-entry-meta-author,.blog.meta_authorcomments .blog-entry-meta-comments {
    display: inline-block;
}

.blog.meta_tagscomments .blog-entry-meta-tags,.blog.meta_tagscomments .blog-entry-meta-comments {
    display: inline-block;
}

.blog-entry-meta-author,.blog-entry-meta-tags,.blog-entry-meta-comments {
    display: inline-block;
}

.post-content {
    padding-bottom: 10px;
}

.blog-small article .post-image {
	float:left;
	width: 43%;
	margin-bottom:25px;
}

.blog-small article .post-content-wrap {
	float:left;
	width: 50%;
	margin:0 0 0 4%;
}

.post-date a.date {
    background: #fff;
    display: block;
    float: left;
    margin-right: 20px;
    padding: 10px 0 0;
    text-align: center;
    text-decoration: none;
    width: 55px;
	border-radius:2px;
}

.post-date a.date strong {
    color: #1889C1;
    display: block;
    font-size: 27px;
    font-weight: normal;
    margin-bottom: 10px;
}

.post-date a.date i {
    background-color: #1889C1;
    border-top: 1px solid #F3F3F3;
    color: #FFFFFF;
    display: block;
    font-size: 11px;
    font-style: normal;
}

.blog-small .blog-entry-meta-author, .blog-small .blog-entry-meta-tags, .blog-small .blog-entry-meta-comments {
	font-size:11px;
}

/* Sidebar */
.sidebar ul.slide li {
    padding-left: 0;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.sidebar ul.slide li:hover {
    padding-left: 5px;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.sidebar p {
    text-align: left !important;
    margin: 0 0 2px;
}

.sidebar .widget, .widget {
    margin-bottom: 35px;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.search-input {
    height: 44px !important;
    width: 218px;
}

/* Tabs */
#horizontal-tabs {
	margin-bottom:30px;
}

#horizontal-tabs ul.tabs li {
    cursor: pointer;
    float: left;
    font-size: 15px;
    padding: 12px;
}



#horizontal-tabs ul.tabs li.current {
    background: #fff;
    cursor: default;
}

#horizontal-tabs ul.tabs {
    overflow: hidden;
	background: #E0E1E7;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	list-style:none;
	margin:0;
	padding:0;
}

#horizontal-tabs .contents {
	border-bottom-left-radius:4px;
	border-bottom-right-radius:4px;
	background: #fff;
}

#horizontal-tabs .tabscontent.no-padding {
    padding-left: 0;
    padding-right: 0;
}

#horizontal-tabs .tabscontent {
    display: none;
    overflow: hidden;
    padding: 20px 20px 0;
}

.tabs ul.posts li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    overflow: hidden;
    border-bottom: 1px solid #f8f8f8;
}

.tabs ul.posts li img {
    height: 68px;
    width: 68px;
    -webkit-transition: all .4s ease-in 0;
    -moz-transition: all .4s ease-in 0;
    -o-transition: all .4s ease-in 0;
    -ms-transition: all .4s ease-in 0;
    transition: all .4s ease-in 0;
    float: left;
}

.recent-post-img {
    margin: 0 13px 5px 0;
}

.sidebar .testimonials-title h3 {
    margin: 0 0 20px !important;
}

.category ul li:before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding-right: 10px;
}

.widget.category ul li {
    margin-bottom: 7px;
    border-bottom: 1px solid #E0E1E7;
    padding: 3px 0;
}

.widget .ads-img img {
    margin-bottom: 30px;
	max-width: 100%;
}


/* Author Info */
.about-author {
    margin-top: 30px;
}

.author-content {
    padding: 20px;
}

.author-content .avatar {
    float: left;
    margin: 0 20px 0 0;
	
}

.avatar {
	border-radius: 100%;
}

.avatar img {
	border-radius: 100%;
}

.author-content .data {
    margin: -10px 0 0;
}


/* Comments Section */
.comments-sec {
    float: left;
    width: 100%;
    margin: -5px 0 25px;
}

ol.commentlist li {
    float: left;
    padding: 10px 0 15px;
}

ol.commentlist {
    float: left;
    width: 100%;
    margin: 0;
}

ol li ol.childlist {
    float: right;
    width: 86%;
    margin: 0;
}

ol.commentlist li ol.childlist li:first-child {
    padding: 25px 0 0;
}

ol.commentlist li:first-child {
    margin: 0 0 7px;
    padding: 25px 0 0;
}

.avatar img {
    float: left;
    max-width: 70px;
}

.comment-des p {
    line-height: 23px;
    margin: 0;
}

.comment-des {
    float: left;
    background: #fff;
    color: #888;
    margin: -70px 0 0 100px;
    padding: 19px 22px 22px;
}



.comment:before {
    position: absolute;
    display: block;
    content: "";
    margin-left: 93px;
    margin-top: 25px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: none;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right: none;
    border-top: 0;
    z-index: 1;
}

.comment-des strong {
    float: left;
    padding-right: 5px;
    font-size: 14px;
    color: #777777;
}

.comment-des span {
    float: left;
    color: #999;
}

.comment-by {
    float: left;
    width: 100%;
    padding-bottom: 8px;
    padding-top: 5px;
}

.comment-by span.reply {
    float: right;
    display: inline;
}

.comment-by span.reply a {
    float: right;
    height: 17px;
    margin-left: 5px;
    font-weight: 400;
    color: #999;
}

.comment-by span.reply a i {
    color: #bbb;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.comment-by span.reply a:hover,.comment-by span.reply a:hover i {
    color: #a0a0a0;
}

.comment-by span.date {
    color: #999;
    float: left;
    font-weight: 300;
    margin: 0 0 0 2px;
    padding: 0 0 0 9px;
}









.reply label {
    margin: 0 0 4px;
}

.reply label span {
    color: #e24747;
}

.reply input {
    margin: 0 0 20px;
}

.reply textarea {
    min-width: 97.5%;
    min-height: 180px;
    -webkit-resize: vertical;
    -moz-resize: vertical;
    -webkit-resize: vertical;
    -moz-resize: vertical;
    resize: vertical;
    margin: 0 0 18px;
}


/* Slogan Area */
.slogan {
    min-height: 100px;
    background: #f1f2f7;
    width: 100%;
}

.slogan-content {
    padding: 25px 0;
}

.slogan-title {
    display: inline-block;
    margin: 10px 0;
	font-size:32px;
	font-weight: 300;
}

.page-services .slogan-content {
    padding: 40px 0;
}

.page-services .get-started  {
	padding-top: 15px;
}

.get-started {
    padding-top: 1px;
	vertical-align:middle;
}

/* Product Lead Section*/

.app-service, .app-service h3, .app-service h4 {
    color:#fff;
}



/* Main Content Boxes */
.main-content {
	position:relative;
	z-index:-1;
    padding: 60px 0 0;

}

.home-3 .main-content, .home-4 .main-content {
	margin: 45px 0 40px;
	padding:0;
}

.main-content {
	margin: 45px 0 35px;
}


div.content-box {
    clear: both;
}

div.content-box div.content-box-info {
    padding-left: 135px;
}

div.content-box.big {
	padding:0 20px 30px;
	border-radius: 5px;
	background:#fff;
	-webkit-transition: background .5s ease-in-out;
    -moz-transition: background .5s ease-in-out;
    -o-transition: background .5s ease-in-out;
    -ms-transition: background .5s ease-in-out;
    transition: background .5s ease-in-out;
}


div.content-box.big .ch-info-wrap {
	margin: -52px auto 25px auto;
	position:relative;
	left:auto;
	top:auto;
}

div.content-box.big:hover {
	background: #fff;
}

div.content-box.big div.content-box-info {
    padding-left: 0;
	text-align:center;
	margin:25px 0 0;
}

div.content-box.big div.content-box-info p {
	text-align:center;
	margin-top: 25px;
}

.service-reasons div.content-box.big {
	transition:none;
	margin-top: 30px;
	border: 1px solid #fff;
}

.main-content h3 {
    color: #777777;
    line-height: 32px;
    margin: 0 0 5px;
}

.main-content p,.content p {
    text-align: left;
}

/* Box border and background */

.author-content, div.content-box.big, #cn-tabs .service, .comment-des, .contact-box {
	border-style:solid;
	border-width: 1px 1px 3px;
	background: #fff;
	border-color:transparent;
	
}



/*Graph Style*/

ul.graph-container {
	margin-left:10em;
}


/*************************************
 *   Bars Fill                       *
 * Just an example of filling 3 bars *
 *************************************/
.graph-container > li:nth-child(1) .bar-inner { height: 25%; bottom: 0; }
.graph-container > li:nth-child(2) .bar-inner { height: 50%; bottom: 0; }
.graph-container > li:nth-child(3) .bar-inner { height: 75%; bottom: 0; }
.graph-container > li:nth-child(4) .bar-inner { height: 85%; bottom: 0; }
.graph-container > li:nth-child(5) .bar-inner { height: 90%; bottom: 0; }




/* Isotope Portfolio  Gallery */
#options {
    padding: 10px 0 25px;
}

#options li {
    float: left;
    margin: 4px 8px 4px 0;
}

#options li a {
    display: inline-block;
    background: #fafafa;
    color: #727272;
    font-size: 16px;
    text-decoration: none;
    padding: 7px 20px;
	border:1px solid #ddd;
}

.portfolio-pad {
    margin-bottom: 30px;
}

.portfolio .item {
    position: relative;
    overflow: hidden;
}

.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

.isotope,.isotope .isotope-item {
    -webkit-transition-duration: .8s;
    -moz-transition-duration: .8s;
    -o-transition-duration: .8s;
    -ms-transition-duration: .8s;
    transition-duration: .8s;
}

.isotope {
    -webkit-transition-property: height,width;
    -moz-transition-property: height,width;
    -o-transition-property: height,width;
    -ms-transition-property: height,width;
    transition-property: height,width;
}

.isotope .isotope-item {
    -webkit-transition-property: 0;
    -moz-transition-property: 0;
    -o-transition-property: 0;
    -ms-transition-property: 0;
    transition-property: 0;
}

.isotope.no-transition,.isotope.no-transition .isotope-item,.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0;
    -moz-transition-duration: 0;
    -o-transition-duration: 0;
    -ms-transition-duration: 0;
    transition-duration: 0;
}

.isotope.infinite-scrolling {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    transition: none;
}


/* Portfolio */
ul#filters {
    list-style: none;
    padding: 0;
}

.portfolio-single .work-title h3 {
    margin-bottom: 20px !important;
}

.portfolio-wrap .item {
    width: 24.99%;
}

.portfolio-item-title.bg-color a {
	color: #fff;
	transition: none;
}

.item .item-inner,.post-image {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.post-image img, .img-content img{
	border-radius: 4px;
}

.img-content {
	float: left;
	margin: 5px 20px 20px 0;
}

.img-content img {
	width: 100%;
}

.post-image a {
	display:block;
	position:relative;
}

.post-image .nivoSlider a {
	position: absolute !important;
}

.portfolio .item .portfolio-item {
	margin-bottom: 30px;
}

/*Project details*/

.project_details span {
    border-bottom: 1px solid #E3E3E3;
    color: #454545;
    float: left;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 5px 0;
    width: 100%;
}

.project_details strong {
    float: left;
    margin: 0;
    padding: 0;
    width: 40%;
}

.project_details em {
    float: left;
    font-style: normal;
    margin: 0;
    padding: 0;
    width: 60%;
}


.project_details span a {
    background-color: #fff;
    border-radius: 2px;
    color: #777777;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    margin: 0 0 5px 5px;
    padding: 3px 10px;
	display:inline-block;
}

.portfolio-desc h3, .portfolio-desc p {
	color: #fff;
}

.recentworks {
	background: url(../img/img-bg-blur.jpg) 50% 0 no-repeat fixed;
    margin: 0 auto;
	background-position: center center;
    background-size: cover;
}


/* Circular navigation */
.cn-wrapper {
	background: #fff;
    width: 26em;
    height: 26em;
    position: relative;
    z-index: 10;
    bottom: 0;
    left: 50%;
	overflow: hidden;
    margin-left: -185px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.cn-wrapper:after {
    content: "";
    display: block;
    height: 8px;
    width: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -4px;
    margin-left: -4px;
    border-radius: 50%;
    z-index: 11;
}

.cn-wrapper li {
    position: absolute;
    font-size: 1.5em;
    width: 10em;
    height: 10em;
    overflow: hidden;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    border: 1px solid #fff;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.cn-wrapper li a {
    display: block;
    font-size: 1.2em;
    height: 13.5em;
    width: 13.5em;
    position: absolute;
    bottom: -6.75em;
    right: -6.75em;
	overflow: hidden;
    text-decoration: none;
    -webkit-transition: background-color .3s ease, -webkit-transform .8s ease;
    -moz-transition: background-color .3s ease, -moz-transform .8s ease;
    -o-transition: background-color .3s ease, -o-transform .8s ease;
    -ms-transition: background-color .3s ease, -ms-transform .8s ease;
    transition: background-color .3s ease, transform .8s ease;
}

.cn-wrapper li a:hover,.cn-wrapper li a.active {
    background-color: #fff;
    -webkit-transition: background-color .5s ease;
    -moz-transition: background-color .5s ease;
    -o-transition: background-color .5s ease;
    -ms-transition: background-color .5s ease;
    transition: background-color .5s ease;
}

.cn-wrapper span {
    font-size: 1.3em;
}


/*Cirular Navigation Content*/
.cn-content {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}

.circular-nav {
	overflow:hidden;
}

#cn-tabs .service {
	display:none;
	overflow:hidden;
	background: #fff;
    padding: 15px 25px;
    border-radius: 4px;
}

.cn-content {
    
	overflow:hidden;
	
}

.cn-content p {
    z-index: 9999;
}

#cn-tabs .service:before {
    position: absolute;
    display: block;
    content: "";
    top: 44%;
    right: -3px;
    width: 35px;
    height: 35px;
    background-color: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-left: none;
    border-bottom: 0;
    z-index: 1;
}


/* Carousel Controls */

a.prev.disabled,a.next.disabled {
    cursor: default;
}

.carousel-controls-color {
    background: #fff;
}

.carousel-controls a.next {
    right: 15px;
    position: absolute;
}

.carousel-controls a.prev {
    right: 45px;
    position: absolute;
}

a.prev,a.next {
    width: 25px;
    height: 25px;
    display: block;
    cursor: pointer;
    background: #323B44;
    color: #fafafa;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
}

a.next {
    padding-left: 3px;
}

a.prev.disabled,a.next.disabled {
    display: block;
    cursor: default;
    background: #323B44;
    color: #fafafa;
    font-size: 20px;
    text-align: center;
}


/* Testimonials */
.testimonial p {
    background: #fff;
    font-weight: 500;
    margin: 0;
    padding: 27px 25px;
}

.our-clients .testimonial p, .our-clients .testimonials-arrow {
	border: none;
}
	

.testimonials-arrow {
    display: block;
    content: "";
    margin-top: -7px;
    margin-left: 45px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-bottom: 10px;
    border-top: 0;
}

.testimonial .author {
    margin: 0px 0 0 19px;
}

.testimonial-image {
    float: left;
    height: 70px;
    position: relative;
    width: 70px;
}

.testimonial-image img {
    border-radius: 50px;
    height: 70px !important;
    width: 70px !important;
	padding:4px;
}

.our-clients .testimonial-image img {
	border:none;
	padding:0;
}

.our-clients .testimonial-author-info {
    color: #ddd;
}

.testimonial-author-info {
    padding: 10px 0 0 90px;
    color: #777777;
}

.testimonial-author-info a {
	display:block;
}

.our-clients .testimonial-author-info a {
    color: #fff;
}

span.color {
    font-size: 14px;
    font-weight: 700;
}


/* Footer */
#footer ul, #footer li {
	padding:0;
	margin:0;
}

.footer-top {
    background: #252C34; /*323B44*/
	border-bottom: 1px solid #414f5a;
    color: #A1A1A1;
    padding: 50px 0;
}

.footer-bottom {
    background: #272727;
    color: #888;
    padding: 15px;
}
.footer-bottom a {
    color: #888;
}

.social-icons-footer-bottom {
    float: right;
    margin: 6px 0 0;
}

.social-icons-footer-bottom li {
    display: inline;
    float: left;
    margin-right: 7px !important;
    list-style: none;
    -webkit-transition: all .2s ease-in-out 0;
    -moz-transition: all .2s ease-in-out 0;
    -o-transition: all .2s ease-in-out 0;
    -ms-transition: all .2s ease-in-out 0;
    transition: all .2s ease-in-out 0;
}

.social-icons-footer-bottom li i {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 16px;
    padding-top: 0;
    text-align: center;
    text-decoration: inherit;
    text-transform: none;
}

.scrollup {
    width: 40px;
    height: 40px;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
    opacity: 0.8;
    position: fixed;
    bottom: 100px;
    right: 15px;
    display: none;
    text-align: center;
    color: #fafafa;
    font-size: 28px;
    background: #9e9e9e;
    z-index: 9999;
}

.scrollup i {
    line-height: 38px;
}

a.scrollup:hover i,a.scrollup:focus i {
    text-decoration: none;
    color: #fafafa;
    outline: none;
}

#tweets li:before {
    color: #767676;
    content: "\f099";
    float: left;
    font-family: FontAwesome;
    font-size: 16px;
    margin: 0 0 0 -28px;
}

#tweets li {
    line-height: 24px;
    margin: 0 0 15px;
    padding: 0 0 0 28px;
}

#tweets .content {
    padding-top: 0;
    margin-bottom: 5px;
}

#flickrfeed li {
	float:left;
	margin:5px 5px 0 0;
}

.contact-us {
    margin: 15px 0 0;
}

.business-hour i {
    margin-right: 5px;
}

footer .contact-us a {
    color: #fff !important;
}

.contact-us .icon-map-marker {
    font-size: 16px;
}

.contact-us li i {
    color: #777777;
    float: left;
    margin: 4px 0 0;
}

.contact-us p {
    line-height: 24px;
    margin-left: 20px;
    margin-top: -2px;
}

.contact-us li p strong {
    color: #767676;
    float: left;
    font-weight: 600;
    margin: 0 5px 5px 0;
}

.contact-pad {
    padding-bottom: 20px;
}

.subscribe-btn {
    height: 44px;
	padding: 6px 16px;
    background-image: none;
    color: #fff;
    text-shadow: none;
    font-size: 16px;
    border: none;
	text-shadow: none !important;
}

.subscribe-btn i {
	line-height: 32px;
}

.subscribe {
    height: 38px !important;
    width: 100%;
}

#not-found {
    margin: 60px 0 45px;
}

#not-found h2 {
    font-size: 200px;
    font-weight: 500;
    letter-spacing: -5px;
    line-height: 210px;
    text-align: center;
}

#not-found p {
    color: #9e9e9e;
    font-size: 32px;
    line-height: 48px;
    text-align: center;
}

#not-found i {
    color: #F03;
    font-size: 210px;
    position: relative;
    top: -12px;
}

.back-home p {
	text-align:center !important;
	margin: 0 auto;
}

.back-home .search-form {
	width: 290px;
	margin:30px auto 0;
}

.sitemap {
	margin-bottom:15px;
}

blockquote {
	
    border-left: 4px solid #E0E1E7;
}


.hero {
    background: #fff;
    border-left: 4px solid #DDD;
    color: #777777;
    font-size: 16px;
    margin: 20px 0;
    padding: 18px;
}

/* Services */
ul.why {
	
	list-style:none;
	padding:0;
	margin:0;
}

ul.why li {
    margin: 7px 0;
}

ul.why li:before {
    content: "\f00c";
    font-family: FontAwesome;
    position: relative;
    color: #fff;
    background: #777777;
    border-radius: 100%;
    margin: 0 7px 0 0;
    padding: 3px;
}

.services-big div.content-box div.content-box-icon {
    border-radius: 4px;
    display: block;
    float: none;
    position: relative;
}

.services-big div.content-box div.content-box-icon img {
	border-radius:4px;
}

.services-big .content-box-icon span {
    z-index: 4;
    display: block;
    width: 130px;
    height: 130px;
    border-radius: 130px;
    background-color: #777777;
}

.services-big .content-box-icon i {
    color: #fff;
    float: left;
    font-size: 48px;
    line-height: 130px;
    left: 34%;
    position: relative;
    z-index: 5;
}

.services-big div.content-box div.content-box-info {
    padding-left: 0;
}

.services-big h4 {
    margin: 20px 0;
}

.services-big img {
	
	width:100%;
}


/* Common Elements */
.divider {
    margin: 60px 0;
}

.blog-divider {
	margin:35px 0;
	background: url(../img/bg_off.png) repeat;
    content: "";
    height: 5px;
}

.top-pad {
    margin-top: 25px;
}

.no-divider {
    margin: 0;
}

.bottom-pad {
    margin-bottom: 60px;
}

.bottom-pad-small {
    margin-bottom: 30px;
}

.no-bottom-pad {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Form */

input.form-control, textarea.form-control { 
	border: solid 1px #CCC;
	background: #fff !important;
	box-shadow: none !important;
}

.form-control input {
	height: 44px;
}

.radio {
	margin:0 0 30px 0;
}

.radio span {
	color:#e24747;
	font-weight:800;
}

.radio ul{
  list-style: none;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.radio ul li{
  color: #767676;
  display: block;
  position: relative;
  float: left;
  width: 100%;
	font-size:14px;
  }

.radio ul li input[type=radio]{
  position: absolute;
  visibility: hidden;
}

.radio ul li label{
  display: block;
  position: relative;
  font-weight: 300;
  font-size: 1.35em;
  padding: 10px 10px 10px 40px;
  margin: 5px auto;
  height: 15px;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
}

.radio ul li:hover label{
	color: #ae1e03;
}

.radio ul li .check{
  display: block;
  position: absolute;
  border: 2px solid #767676;
  border-radius: 100%;
  height: 20px;
  width: 20px;
  top: 18px;
  left: 10px;
	z-index: 5;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
}

.radio ul li:hover .check {
  border: 5px solid #ae1e03;
}

.radio ul li .check::before {
  display: block;
  position: absolute;
	content: '';
  border-radius: 100%;
  height: 20px;
  width: 20px;
  top: -5px;
	left: -5px;
  margin: auto;
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}

.radio input[type=radio]:checked ~ .check {
  border: 5px solid #00217a;
}

.radio input[type=radio]:checked ~ .check::before{
  background: #00217a;
}

.radio input[type=radio]:checked ~ label{
  color: #00217a;
}

input:hover, textarea:hover,
input:focus, textarea:focus { 
	border-color: #00217a; 
}

/* end form */



/* Accordion */
.accordionMod .panel-heading .accordion-toggle {
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 10px 45px;
}

.accordion-body,.panel-heading {
    background: #fff;
    border-radius: 4px;
    padding: 0;
}

.accordionMod .panel-heading .accordion-toggle .icon:before {
    content: "\f067";
    font-family: FontAwesome;
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 15px;
    top: 11px;
}

.accordionMod .panel-heading .accordion-toggle .iconActive:before {
    content: "\f068";
    font-family: FontAwesome;
}

.accordionMod .panel-heading .current {
    color: #fff;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.contact-box,.contact-box i,.contact-box p,.contact-box h3 {
    -webkit-transition: all .5s ease-in-out 0;
    -moz-transition: all .5s ease-in-out 0;
    -o-transition: all .5s ease-in-out 0;
    -ms-transition: all .5s ease-in-out 0;
    transition: all .5s ease-in-out 0;
}














/* Contact Box */
.contact-box {
    text-align: center !important;
    -webkit-box-shadow: 0 -1px 0 0 rgba(0,0,0,0.05) inset;
    box-shadow: 0 -1px 0 0 rgba(0,0,0,0.05) inset;
    -webkit-transition: background .5s ease-in-out;
    -moz-transition: background .5s ease-in-out;
    -o-transition: background .5s ease-in-out;
    -ms-transition: background .5s ease-in-out;
    transition: background .5s ease-in-out;
    margin: 0 0 20px;
    padding: 32px 28px;
}

.contact-box:hover {
	border: none;
}

.contact-box i {
    font-size: 48px;
}


/* Home page posts section */
.blog-showcase {
    padding: 0;
}

.blog-showcase ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: block;
    overflow: hidden;
}

.blog-showcase ul li {
    position: relative;
    display: inline-block;
}

.blog-showcase ul li:last-child {
    padding-right: 0 !important;
}

.blog-showcase ul li.blog-first-el {
    padding-right: 270px;
}

.blog-showcase ul li.blog-first-el .blog-showcase-extra-info {
    zoom: 1;
    filter: alpha(opacity=100);
    filter: alpha(opacity=100);
    opacity: 1;
}

.blog-showcase ul li.blog-first-el .blog-showcase-thumb {
    border-right: 0;
}

.blog-showcase ul li img,.blog-showcase-extra-info,.blog-showcase ul li {
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.blog-showcase ul li img, .post-item-hover {
	border-radius: 4px;
}

.blog-showcase-thumb {
    position: relative;
    overflow: hidden;
    z-index: 20;
    margin-bottom: 5px;
    width: 297px;
}

.blog-showcase-thumb:hover .showcase-blog-overlay {
    zoom: 1;
    filter: alpha(opacity=50);
    filter: alpha(opacity=50);
    opacity: .5;
}

.blog-showcase-extra-info {
    width: 277px;
    height: 180px;
    z-index: 10;
    margin: 0;
    position: absolute;
    left: 297px;
    top: 2px;
    overflow: hidden;
    zoom: 1;
    filter: alpha(opacity=0);
    filter: alpha(opacity=0);
    opacity: 0;
}

.blog-showcase-extra-info span {
    display: block;
    border: 1px solid rgba(0,0,0,0.1);
    border-left: none;
    border-right: 0;
    margin-bottom: 5px;
    line-height: 24px;
}

.blog-showcase-extra-info span a {
    font-size: 10px;
    color: #999;
}

.blog-showcase-title {
    font-size: 13px;
    font-weight: bold;
    line-height: 20px !important;
    display: inline-block;
    margin-bottom: 0;
    color: #333;
}

.blog-showcase-more {
    font-size: 12px;
    text-decoration: underline;
}

.web-normal i {
    display: inline-block;
    margin: 15px;
}



/* Utility */
.progress {
    height: 40px;
	background: #fff;
	box-shadow:none;
}

.progress .progress-bar {
    font-size: 15px;
    font-weight: 600;
    line-height: 40px;
    padding-left: 20px;
    text-align: left;
}

a.mobile-menu {
    color: #000;
    cursor: pointer;
}

.mobile-menu {
    height: 40px;
    position: absolute;
    right: 0;
    top: 25px;
}

.google-maps {
    height: 400px;
}

.google-maps img {
  	max-width: none;
}

.tabs ul.posts li img,.author-content,li.work img,.recentworks .pic,.img-caption,a.prev,a.next,.scrollup,#options li a,.portfolio img.pic,.portfolio .img-caption {
    border-radius: 2px;
}

#search-form form,ul.post-meta,.sidebar ul,ul.tabs,.testimonials ul,ul.why,.panel-heading h3,.features .panel-heading h4,#options ul,.gallery ul {
    margin: 0;
}

#horizontal-tabs ul.tabs li,#vertical-tabs ul.tabs li,.content h3,.latest-posts h4 a {
    color: #777777;
}

ul.posts {
    padding: 0;
}

ul.posts li {
    list-style: none;
}

ul.posts span.color {
    color:#767676;
}

/*Project Carousel*/


.recentworks ul,.our-clients ul,ul#tweets {
    list-style: none;
    margin: 0;
}

.our-clients ul,#footer ul {
    list-style: none;
}

ul#projects-carousel {
    overflow: hidden;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
}

.portfolio-item {
    background: #fff;
    border-radius: 4px;
	overflow:hidden;
	display:block;
}

.portfolio-item img {
	display:block;
	width: 100%;
}

.fullscreen {
    position: absolute;
    left: 50%;
    top: 65%;
    color: #fff;
    font-size: 18px;
    margin-top: -30px;
    margin-left: -24px;
    width: 60px;
    height: 60px;
	opacity:0;
}

.fullscreen i {
    color: #fff !important;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 11;
    background: rgba(0,0,0,0.6);
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 100px;
}

.portfolio-item-link {
    display: block;
    position: relative;
}

.post-item-link {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.post-body {
    border-radius: 4px;
}

.portfolio-item-link span.portfolio-item-hover, .post-item-link span.post-item-hover, .img-hover {
	background: rgba(50,50,50,0.75)
}


.portfolio-item.round img {
    border-radius: 2px;
}

a.portfolio-item-link {
    line-height: 0;
    padding: 0;
    margin: 0;
}


.portfolio-item-link span.portfolio-item-hover,.post-item-link span.post-item-hover, .img-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
 /* IE 8 */
    top: 0;
    left: 0;
    -webkit-transition: all 0.35s ease-out;
    -moz-transition: all 0.35s ease-out;
    -o-transition: all 0.35s ease-out;
    -ms-transition: all 0.35s ease-out;
    transition: all 0.35s ease-out;
}

.portfolio-item-link span.portfolio-item-hover:hover,.post-item-link span.post-item-hover:hover, .img-hover:hover {
    background-position: center center;
}

.portfolio-item-title {
    text-align: center;
    padding: 10px 5px 10px 5px;
    background: #fff;
}

.portfolio-item-title a {
    font-weight: 600;
    font-size: 14px;
    font-family: "Open Sans", Arial, Verdana;
    color: #777777;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.portfolio-item-title a:hover {
    text-decoration: none;
}

.portfolio-item-title p {
    font-style: italic;
    font-size: 12px;
    margin-bottom: 0;
	text-align:center;
	line-height:14px;
}


/* Circle items */
.ch-item {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: default;
}

.ch-info-wrap i {
    color: #FFFFFF;
    font-size: 40px;
    line-height: 100px;
    position: relative;
    z-index: 5;
}

.ch-info-wrap {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
   
    top: 10px;
    left: 0px;
}

.ch-info {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
	text-align:center;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.ch-info > div {
    display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-position: center center;
	-webkit-backface-visibility: hidden; /*Just for webkit to have a smooth font*/
}

.ch-info .ch-info-front {
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.ch-info .ch-info-back {
    -webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	-o-transform: scale(1.5);
	-ms-transform: scale(1.5);
	transform: scale(1.5);
	box-shadow: inset 0 0 3px rgba(0,0, 0, 0.2);
	-moz-box-shadow: inset 0 0 3px rgba(0,0, 0, 0.2);
	-webkit-box-shadow: inset 0 0 3px rgba(0,0, 0, 0.2);
	
	-webkit-transition: all 0.4s ease-in-out 0.2s;
	-moz-transition: all 0.4s ease-in-out 0.2s;
	-o-transition: all 0.4s ease-in-out 0.2s;
	-ms-transition: all 0.4s ease-in-out 0.2s;
	transition: all 0.4s ease-in-out 0.2s;
	opacity: 0;
}




.ch-item:hover .ch-info-front {
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
} 

.ch-item:hover .ch-info-back {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	
	opacity: 1;
	pointer-events: auto;
}


/* Team Section */

.team .item .team-member-links a.facebook:hover,.member-social.dark a.facebook:hover,header .social li.facebook:hover,footer .social li.facebook:hover {
    background: #4C66A4;
}

.team .item .team-member-links a.dribbble:hover,.member-social.dark a.dribbble:hover,header .social li.dribbble:hover,footer .social li.dribbble:hover {
    background: #EA4C89;
}

.team .item .team-member-links a.twitter:hover,.member-social.dark a.twitter:hover,header .social li.twitter:hover,footer .social li.twitter:hover {
    background: #2C77BA;
}

.team .item .team-member-links a.gplus:hover,.member-social.dark a.gplus:hover,header .social li.gplus:hover,footer .social li.gplus:hover {
    background: #9e0b0f;
}

.team .item .team-member-links a.linkedin:hover,.member-social.dark a.linkedin:hover,header .social li.linkedin:hover,footer .social li.linkedin:hover {
    background: #069;
}

.team .item .team-member-links a.pinterest:hover,.member-social.dark a.pinterest:hover,header .social li.pinterest:hover,footer .social li.pinterest:hover {
    background: #C92228;
}

header .social li.rss:hover,footer .social li.rss:hover {
    background: #f60;
}


/* Team member*/

.team-member {
    display: block;
    margin: 0 auto 50px;
    width: 100%;
    max-width: 350px;
    padding: 0;
}

.team-member-image {
    float: none;
    overflow: visible;
    height: 0;
    width: 100%;
    padding-bottom: 100%;
}

.team-member-image img {
    border-radius: 50%;
}

.team-member-links {
    top: 0;
    min-height: 1px;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.25) inset;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.team-member:hover .team-member-links {
    box-shadow: 0 0 0 175px rgba(50,50,50,0.75) inset;
}

.team-member-links-list {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.team-member:hover .team-member-links-list {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    opacity: 1;
}

.team-member-links-item {
    font-size: 22px;
    line-height: 44px;
    height: 44px;
    width: 44px;
    margin: 5px;
    position: relative;
    border-radius: 50%;
    background-color: #fff;
    color: #777777;
}

.team-member-links-item:hover,.color_alternate .team-member-links-item:hover,.color_primary .team-member-links-item:hover {
    background-color: #f8862c;
    color: #fff;
}

.team-member-meta {
    margin-left: 0;
    min-height: 1px;
    padding: 15px 0 0;
    text-align: center;
}

.team-member-name {
    margin-bottom: 6px;
}

.team-member-role {
    font-size: 13px;
    margin-bottom: 10px;
    color: #999;
}

.team-member-description p {
    margin-bottom: 0;
	text-align:center;
}

.member-social.dark a {
    background: #9e9e9e;
    -webkit-transition: background .5s ease-in-out;
    -moz-transition: background .5s ease-in-out;
    -o-transition: background .5s ease-in-out;
    -ms-transition: background .5s ease-in-out;
    transition: background .5s ease-in-out;
}

.team .item .team-member-links a {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.member-social a {
    width: 36px;
    float: left;
    text-align: center;
    margin: 0 6px 6px 0;
    padding: 7px 0 6px;
	border-radius: 2px;
}

.member-social a i {
    display: block!important;
    font-size: 20px;
    color: #fff;
    margin: 0 auto!important;
}

.pagination > .active > a,.pagination > .active > span,.pagination > .active > a:hover,.pagination > .active > span:hover,.pagination > .active > a:focus,.pagination > .active > span:focus {
    border-color: transparent;
}

.pager li > a:hover {
	border: none;
}

.pager li > a, .pager li > span {
    background-color: #FFFFFF;
    border: none;
    border-radius: 4px;
}

.menu > ul li {
    float: none;
}

.navbar-toggle {
    border: none;
    border-radius: 2px;
    padding: 9px 10px 5px;
}

input,button,select,textarea {
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
}

strong,.author-content .data a {
    font-weight: 600;
}

.breadcrumbs ul,.portfolio-single .sidebar h3 {
    margin-top: 5px;
}

.nivo-caption h2,.pagination-centered {
    text-align: center;
}

.page article.post .post-image,.portfolio-single .recentwork_wrapper .item {
    margin-bottom: 25px;
}

ol li ol.childlist .comment-des,header nav li,.avatar {
    float: left;
}

.recentworks li.slide,.portfolio-wrap {
    overflow: hidden;
}

footer a,.contact-box:hover,#options li a.selected,header .top-bar,header .top-bar a,header .social li:hover i,footer .social li:hover i,.content-box:hover>.content-box-icon i,div.content-box div.content-box-icon:hover,div.content-box div.content-box-icon:hover i,#footer h3,.contact-box:hover h3 {
    color: #fff;
}

.contact-box p {
    text-align: center !important;
}

.panel-group .panel,.accordionMod .accordion-group {
    margin-bottom: 15px;
}

.panel {
	border: none;
	box-shadow: none;
	border-radius: 4px;
}

.well {
	background: #E8E8E8;
	box-shadow: none;
	border: none;
}


/* Kavanagh specific - default red */

		#logo {margin-top:28px;}
		li.logo_nologo {display:none;}

		@media (min-width:1120px) {
			/* only make smaller on bigger screens */

/*			.smaller #logo {margin-top:0px;padding-top:0px;width:128px;height:30px;}
			.smaller #logo img {width:128px;height:30px;}
*/
			.smaller #logo {display:none;}
			.smaller .logo_plain {display:none;}
			.smaller li.logo_nologo {display:block;}

			.main-header.smaller {max-height:40px;height:40px !important;}
			#header .smaller {box-shadow: 0px 5px 15px #00217a;}
			.smaller nav.collapse.menu {background:#00217a;margin:5px 0 0 0;padding:5px 0 0 5px;border:none;}
			.smaller nav.collapse.menu li br {display: none;}
			.smaller nav.collapse.menu li.contact{display:block;}
			.smaller .menu ul>li>ul{
				margin:5px 0 0 0;
			}
			.smaller .menu ul>li>a{
				padding:3px 5px 0 5px !important;
				font-size:12px;
			}
			.smaller .menu ul>li>ul>li>a{
				padding:8px 10px 5px 10px !important;
				font-size:12px;
			}
		}
		@media (min-width:768px) {
			.text-center-sm {text-align:center;margin:0 auto;}	
		}
		
		.header {font-weight:bold;font-size:110%;}
		
/*
		.product-lead {background: url(banners/kavanagh-roofing-yard-tile-stock.jpg) 50% 0 no-repeat fixed;}
		.our-clients {background: url(banners/kavanagh-roofing-yard-tile-stock.jpg) 50% 0 no-repeat fixed;}
*/
		
		.testimonial p {
			text-align:left;
			font-size:0.9em;
		}
		.testimonial img {
			max-width:100px;
			padding:0 0 5px 5px;
		}
		.testimonial-author-info {
			padding:010px 0 0 0px;
		}

		.suppliers h3 {margin:0;}
		.suppliers .supplier-link a {font-size:70%;margin-top:-5px;color:#808080;}
		.suppliers .supplier-link a:hover {color:#9d9d9d;}
		
		.page-services .tabs img {max-width:300px;}
		
		.tp-caption h3 {line-height:0.9em;}
		.tp-caption h5 {margin:0;padding:3px 10px 3px 3px;background-color:rgba(0,0,0,0.4)}
		.tp-caption h5:hover {background:#ae1e03;}
		.tp-caption h5 a {color:#fff;}
		.tp-caption .slide-icon {background:#ae1e03}

		.ch-info.red {background:#ae1e03;border-radius:10px;color:#fff;width:auto;height:auto;padding:10px;}
		.ch-info.red h3 {color:#fff;}
		.ch-info.red h3 a {color:#fff;}

		.tradeassociations img {margin:5px;padding:2px;border:1px solid transparent;}
		.tradeassociations img:hover {border:1px solid #7a7a7a;}

		.thumbnail {max-width:175px;}
		
		.introimage {background:#fff;padding:5px;}
		
		.btn-kavanagh {
			color: #fff !important;
			outline: 0;
			white-space: nowrap;
			word-wrap: normal;
			cursor: pointer;
			background-color: #ae1e03;
			text-shadow: none !important;
			padding: 5px 20px;
			text-transform: uppercase;
			letter-spacing: 1px;
			font-weight: 400;
			-webkit-transition: all .5s ease-in-out;
			-moz-transition: all .5s ease-in-out;
			-o-transition: all .5s ease-in-out;
			-ms-transition: all .5s ease-in-out;
			transition: all .5s ease-in-out;
		}
		.btn-kavanagh:hover {
			color: #ae1e03 !important;
			background-color: #fff;
		}
		.btn-kavanagh-plain {
			color: #ae1e03 !important;
			outline: 0;
			white-space: nowrap;
			word-wrap: normal;
			cursor: pointer;
			background-color: #fff;
			padding: 5px 20px;
			text-transform: uppercase;
			letter-spacing: 1px;
			font-weight: 400;
			-webkit-transition: all .5s ease-in-out;
			-moz-transition: all .5s ease-in-out;
			-o-transition: all .5s ease-in-out;
			-ms-transition: all .5s ease-in-out;
			transition: all .5s ease-in-out;
			border:1px solid #ae1e03;
			border-radius:5px;
		}
		.btn-kavanagh-plain:hover {
			color:#fff !important;
			background-color: #ae1e03;
		}
		
		footer {font-size:0.8em}
		.footer-two {border-left:none /*1px dotted #7a7a7a;*/}
		footer .footer-two li {display:inline-block;}
		footer .footer-two li a {margin-right:5px;padding-right:10px;border-right:1px solid #7a7a7a;}
		
		.pull-left-xs {
			float:left;
			margin:0 10px 10px 0;
			text-align:center;
		}
		.pull-right-xs {
			float:right;
			margin:0 0 10px 10px;
			text-align:center;
		}
		@media (max-width: 900px) {
			.pull-left-xs {
				float: none;
				margin:10px auto 10px auto;
				text-align:center;
			}
			.pull-right-xs {
				float: none;
				margin:10px auto 10px auto;
				text-align:center;
			}
			img.pull-left-xs {
			display:inline-block;
			}
		}
		
		.pull-left-sm {
			display:block;
			margin:0 10px 10px 0;
			text-align:center;
		}
		.pull-right-sm {
			display:block;
			margin:0 0 10px 10px;
			text-align:center;
		}
		@media (min-width: 768px) {
			.pull-left-sm {
				float: left;
			}
			.pull-right-sm {
				float: right;
			}
		}

/*
		@media (min-width: 768px) {
			.pull-right-sm {float:right;margin:0 0 10px 10px;}
		}
*/
		
		@media only screen and (max-width: 768px) {
			.navbar-toggle {
				margin:0;padding:0;
			}
				
			.menu ul ul {left:155px;top:0;}
			.menu ul ul ul {left:-145px;width:150px;}

			h2.title {margin:10px 0 10px 0;}
			.breadcrumbs {margin:0 0 10px 0;}
			.list_slide {display:none;}
			.testimonial img {max-width:40%}
			img.pull-right {display:block;float:none !important;margin:0 auto 10px auto !important;text-align:center;}
			.pull-right-sm {display:block;float:none;margin:0 auto 10px auto;text-align:center;}

		}
		
		
		
		
		
		
		
		
		
/* change default theme to Kavanagh COlours */		
/* Kavanagh Blue = #00217a */

.btn:focus, .subscribe-btn, .progress .progress-bar, .accordionMod .panel-heading .current, #current:after, .tp-leftarrow.default:hover,.tp-rightarrow.default:hover, .nivo-prevNav:hover, .nivo-nextNav:hover, .contact-box:hover, #options li a.selected, .ch-info-front {
    background: #00217a;
}

.bg-color {
    background: #00217a;
	color: #fff;
}

.spinner {
	border-top-color: #00217a;
}

.ch-info-back {
	background: rgba(46, 174, 240, 0.7) !important;
}

.tp-leftarrow.default:hover,.tp-rightarrow.default:hover, .nivo-prevNav:hover, .nivo-nextNav:hover {
	border-color: #00217a;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus, .pager li > a:hover, .pager li > a:focus, .navbar-toggle i, .cn-wrapper li a, .cn-wrapper:after {
    background-color: #00217a;
    color: #fff;
}

.hero {
    border-left-color: #00217a;
}


.ie8 .btn-color, .ie9 .btn-color {
	background: #00217a !important;
}

.ie8 .btn-color:hover, .ie9 .btn-color:hover {
	background: #00217a !important;
}

.btn-color:hover, .subscribe-btn:hover {
	background: #0488cd;
}

.btn-color, .subscribe-btn {
	background: #00217a;
	cursor: pointer;
}

#current,.menu ul li a:hover,.menu ul>li:hover>a {
    border-bottom: 3px solid #00217a;
}

ul.why li:before {
    background: #00217a;
}

.menu ul ul {
    border-top: 3px solid #00217a !important;
}

.author-content, div.content-box.big, #cn-tabs .service, .comment-des, .contact-box {
	border-bottom-color:#00217a;
}

a, .post-item h4 a:hover, .cn-wrapper li a:hover, .cn-wrapper li a.active, .color {
    color: #00217a;
}

.content-box {
    background: #f1f2f7 !important;
}
.content-box2 {
	margin:20px 0 20px 0;
	padding:20px;
	color:#fff;
    background: #00217a !important;
}
.content-box2 a{
	color:#fff;
}



/* Kavanagh specific - changing all red items to blue */

		.tp-caption h5:hover {background:#00217a;}
		.tp-caption .slide-icon {background:#00217a}

		.ch-info.red {background:#00217a;border-radius:10px;color:#fff;width:auto;height:auto;padding:10px;}

		.btn-kavanagh {
			background-color: #00217a;
		}
		.btn-kavanagh:hover {
			color: #00217a !important;
		}
		.btn-kavanagh-plain {
			color: #00217a !important;
			border:1px solid #00217a;
		}
		.btn-kavanagh-plain:hover {
			background-color: #00217a;
		}
		
		footer {font-size:0.8em}
		.footer-two {border-left:none /*1px dotted #7a7a7a;*/}
		footer .footer-two li {display:inline-block;}
		footer .footer-two li a {margin-right:5px;padding-right:10px;border-right:1px solid #7a7a7a;}
	
		.supplierlogo {
			float:right;
			width:20%;
			margin:0 0 10px 10px;
		}
	
		@media (min-width: 768px) {
			.pull-right-sm {float:right;margin:0 0 10px 10px;}
		}
		@media (max-width: 768px) {
			.supplierlogo {width:30%;margin:10px auto 10px auto;}
		}

.image-block {display:inline-block;vertical-align:top;border:1px solid #e1e1e1;margin:0 0 5px 0;padding:5px;margin:0 auto;text-align:center;}
.image-block .image {margin:0 auto;border:5px solid #fff;}
.image-block .caption {font-size:12px;line-height:18px;padding:5px;}

.image-block.submenu_thumbnail {
	width:120px;
}
.image-block.submenu_thumbnail .caption{
	font-size:10px;line-height:14px;
}
@media (max-width: 768px) {
	.image-block {width:100%;}
}
		
.document-block {display:inline-block;vertical-align:top;border:1px solid #e1e1e1;margin:0 0 5px 0;padding:5px;width:200px;}
.document-block .image {margin:0 auto;}
.document-block .caption {font-size:12px;line-height:18px;padding:5px;}

.document-block.submenu_thumbnail {
	width:120px;
}
.document-block.submenu_thumbnail .caption{
	font-size:10px;line-height:14px;
}
					
					

/* magnify */
	.lightbox-image {
		position: relative;
		display: inline-block;
	}

	.lightbox-image img {
		vertical-align: top;
		width:250px;
	}

	#rightcolumn {
		text-align:center;
		margin:0 auto;
	}
	
	#rightcolumn .lightbox-image img {
		vertical-align: top;
		width:220px;
	}
	

	.magnifying-glass-icon {
		color: #fff;
		text-align: center;
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-o-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		border-radius: 50%;
		padding: 20px;
		border: 1px solid #fff;
		line-height: 1;
		opacity: 0;
	}
	.lightbox-image:hover .magnifying-glass-icon{
		background: rgba(0,0,0,0.5);
		color: #fff;
		opacity: 1;
	}

	.magnifying-glass-icon:hover {
		background: rgba(0,0,0,0.5);
		color: #fff;
	}

	.lightbox-image:hover .magnifying-glass-icon {
		opacity: 1;
	}

	.lightbox-image:hover .link-icon {
		opacity: 1;
	}


	@media only screen and (max-width: 400px) {
		.lightbox-image {
			display: block;
		}
	}
/* end of magnify */


#navheader {
	position:relative;
	z-index:10;
	width:100%;
	background:#00217a !important;
}



@media (max-width: 980px) {
	body {padding:0;}
	header .top-bar {
		position:relative;
		height:auto;
	}
	.main-header {
		position:relative;
	}
	.topmenu li ul {
		display: none !important;
	}
	.topmenu li .sf-sub-indicator {
		display: none;
	}

	.topmenu {
		display:inline-block;
		float:none;
		margin:0 auto;
		padding:0;
		text-align:center;
	}
	.phone-email {
		display:inline-block;
		float:none;
		margin:0 auto;
		padding:0;
		text-align:center;
		width:100%;
	}
	
	nav.collapse.menu li br {display:none;}
	.sf-menu {
		border:none;
	}

	nav.collapse.menu {
		border:none !important;margin-left:0px !important;
	}
	nav.collapse.menu li {
		display:inline-block;
		width:100%;
		margin:0;border:none;
	}
	nav.collapse.menu a {
		padding:10px;margin:0;border:none;
	}
	
	nav.collapse.menu li ul {
		position:relative;
		margin-left:0;
		left:0;
	}
}





@media all {
	.page-break	{display:inherit; }
}

@media print {
	body {
		background: white;
		font-size: 12pt;
	}
   
	.page-break	{
		display:block;
		margin:100px 0 0 0;
		page-break-before:always;
	}

/*
		header,.navbar-header,#navheader {display:none;}

		use class hidden-print instead
*/
	a[href]:after {
		content: none;
	}
	a.printit[href]:after {
		content:'(' attr(href) ')' ;
	}

	#menu {
	   display: none;
	   }
	#wrapper, #content {
	   width: auto;
	   margin: 0 5%;
	   padding: 0;
	   border: 0;
	   float: none !important;
	   color: black;
	   background: transparent none;
	   }
	div#content {
	   margin-left: 10%;
	   padding-top: 1em;
	   border-top: 1px solid #930;
	   }
	a:link, a:visited {
	   color: #520;
	   background: transparent;
	   font-weight: bold;
	   text-decoration: underline;
	   }
	#content a:link:after, #content a:visited:after {
	   content: " (" attr(href) ") ";
	   font-size: 90%;
	}
   

	.col-xs-12 {
		display:block;
		width:100%;
	}

	.col-xs-12 img {
	vertical-align: bottom;
		width:50%;
		margin:0 auto;
		text-align:center;
		display:block;
		page-break-inside: avoid; /* or 'auto' */
	}

	.col-xs-12 img .icon	 {
		width:auto;
		margin:0 auto;
		text-align:center;
		display:block;
		page-break-inside: avoid; /* or 'auto' */
	}




  	@page {
		size: auto;   /* auto is the initial value */
		margin: 0;  /* this affects the margin in the printer settings */
	}
	
	html
    {
        background-color: #FFFFFF; 
        margin: 0px;  /* this affects the margin on the html before sending to printer */
		padding:0;
    }

    body
    {
        border: solid 1px blue ;
        margin: 10mm; /* margin you want for the content */
		padding:0;
	}
}




/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 */

.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 100%;
	background: red;
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16px;
	background: red;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: #dde;
	position: relative;
}

.jspDrag
{
	background: #00217a;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background:#00217a;
	background-image: url('../img/ui-icons_888888_256x240.png');
	text-indent: -20000px;
	display: block;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

* html .jspCorner
{
	margin: 0 -3px 0 0;
}
.jspVerticalBar .jspArrow
{
	height: 15px;
}

.jspHorizontalBar .jspArrow
{
	width: 15px;
}

.jspArrowUp
{
	background-position: 0 0;
}

.jspArrowDown
{
	background-position: -64px 0 !important; 
}

.jspArrowLeft
{
	background-position: -96px 0 !important;
}

.jspArrowRight
{
	background-position: -32px 0 !important;
}

/* end of scrollpane */




.product-feature {
	margin:20px 0 20px 0;
	padding:20px 0 20px 0;
	clear:right;
}
.product-feature h4 {
	font-weight:bold;
	margin:0 0 10px 0;
}
.product-feature img {
	float:right;
	margin:0 0 20px 20px;
	border:1px solid #e1e1e1;
	padding:3px;
}
@media (max-width: 980px) {
	.product-feature img {
		display:block;
		float:none;
		margin:10px auto 10px auto;
	}
}





/* tabeleizer table - used on facias and soffits pages - tableizer.journalistopia.com/tableizer.php */

	table.tableizer-table {
		border: 1px solid #CCC; 
		margin:0 0 20px 0;
		font-size:14px;
	} 
	.tableizer-table td {
		padding: 5px;
		margin: 3px;
		border: 1px solid #CCC;
	}
	.tableizer-table th {
		padding: 5px;
		background-color: #00217A; 
		color: #FFF;
		font-weight: bold;
	}






@media print {
	.col-print-3 {
		width:30%;
		margin:0;
	  }
}



/* zoom search */
		.highlight { background: #FFFF40; }
		.searchheading { font-size: 130%; font-weight: bold; }
		.summary { font-size: 80%; font-style: italic; }
		.suggestion { font-size: 100%; }
		.results { font-size: 100%; }
		.category { color: #999999; }
		.sorting { text-align: right; }

		.result_title { font-size: 100%; }		
		.description { font-size: 100%; color: #008000; }
		.context { font-size: 100%; }
		.infoline { font-size: 80%; font-style: normal; color: #808080;}

		.zoom_searchform { font-size: 100%; }
		.zoom_results_per_page { font-size: 80%; margin-left: 10px; }
		.zoom_match { font-size: 80%; margin-left: 10px;}				
		.zoom_categories { font-size: 80%; }
		.zoom_categories ul { display: inline; margin: 0px; padding: 0px;}
		.zoom_categories li { display: inline; margin-left: 15px; list-style-type: none; }
		
		.cat_summary ul { margin: 0px; padding: 0px; display: inline; }
		.cat_summary li { display: inline; margin-left: 15px; list-style-type: none; }		
		
		input.zoom_button {  }
		input.zoom_searchbox {  }		
		
		.result_image { float: left; display: block; }
		.result_image img { margin: 10px; width: 80px; border: 0px; }

		.result_block { margin-top: 15px; margin-bottom: 15px; clear: left; }
		.result_altblock { margin-top: 15px; margin-bottom: 15px; clear: left; }
		
		.result_pages { font-size: 100%; }
		.result_pagescount { font-size: 100%; }
		
		.searchtime { font-size: 80%; }
		
		.recommended 
		{ 
			background: #DFFFBF; 
			border-top: 1px dotted #808080; 
			border-bottom: 1px dotted #808080; 
			margin-top: 15px; 
			margin-bottom: 15px; 
		}
		.recommended_heading { float: right; font-weight: bold; }
		.recommend_block { margin-top: 15px; margin-bottom: 15px; clear: left; }		
		.recommend_title { font-size: 100%; }
		.recommend_description { font-size: 100%; color: #008000; }
		.recommend_infoline { font-size: 80%; font-style: normal; color: #808080;}
		.recommend_image { float: left; display: block; }
		.recommend_image img { margin: 10px; width: 80px; border: 0px; }

.zoom_ac_dropdown 
{
    font-family: Tahoma;
    font-size: 10pt;
    background-color: white;
    border: 1px solid black;
    position: absolute;
    cursor: default;
    overflow: auto;
    overflow-x: hidden;    
    max-height: 150px;
}

.zoom_ac_item 
{
    padding: 1px;
    padding-left: 5px;
    color: black;
    width: 100%;    
}

.zoom_ac_item a { width: 100%; text-decoration: none; }
.zoom_ac_item a:hover { background-color: #00DDDD; width:100%; text-decoration: none; }

.zoom_ac_item_hl
{
	padding: 1px;
    padding-left: 5px;
    color: #FFFFFF;
    background-color: #00DDDD;    
    text-decoration: none;
}


/* end of zoom search */



/* Widget tags */
.widget {margin-top:15px;}
.widget.widget_tags .tags-list a { position: relative; display: inline-block; float: left; text-align: left; font-size: 12px; color: #a1a1a1; z-index: 1; padding: 4px 15px 4px 10px; margin: 0px 18px 9px 0px; font-family: 'Montserrat', sans-serif; border-top: 1px solid #001652; border-bottom: 1px solid #001652; border-left: 1px solid #001652; letter-spacing: 0.7px; }
.widget.widget_tags .tags-list a:before {content:'';position:absolute;top: 4px;	right: -12px;  height: 24px;width: 23px;border-radius: 4px; background-color: #fff;border-right: 1px solid #001652;border-top: 1px solid #001652;transform: rotate(45deg) skew(7deg); -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; z-index: -1; overflow: hidden;}
.widget.widget_tags .tags-list a { color:#fff; border: 0px; background-color:#001652;}
.widget.widget_tags .tags-list a:before { background-color: #001652; border-color:#001652;}
.widget.widget_tags .tags-list a:hover,
.widget.widget_tags .tags-list a:hover { background-color: #fff; color: #001652;}
.widget.widget_tags .tags-list a:hover:before,
.widget.widget_tags .tags-list a:hover:before { background-color: #fff; border-color:#fff;}
/* END Widget tags */


/* home page tabs (testimonials) */
	#exTab1 {
		margin:0 auto 20px auto;
	}

	#exTab1 .tab-content {
	  color : white;
	  background-color: #428bca;
	  padding : 5px 15px;
	}

	#exTab1 .nav-pills > li {
		margin:0 2px 0 0;
	}
	#exTab1 .nav-pills > li.active > a {
		background:#00217a;
		color:#fff;
		border-radius: 0;
	}
	#exTab1 .nav-pills > li > a {
		background:#7097fe;
		color:#00217a;
		border-radius: 0;
	}
	#exTab1 .tab-pane:hover {
		cursor: progress;
	}
	#exTab1 .tab-content {
		background:#00217a;
	}
	#exTab1 .tab-content a {
		color:#fff;
	}
	#exTab1 .tab-content h3 {
		color:#fff;
		padding:20px 0 20px 0;
		text-align:left;
	}
/* END home page tabs (testimonials) */



table.table-redbank-detail td {
	border:2px solid #fff;
}
table.table-redbank-detail td.subheader {
	background:#e1e1e1;
}
@media (max-width: 480px) {
	table.table-redbank-detail {
		max-width:100%;
	}
	table.table-redbank-detail th,table.table-redbank-detail td {
		border:1px solid #fff;
		padding:1px;
	}
	table.table-redbank-detail th + th + th + th + th {
	  display:none;
	}
	table.table-redbank-detail tr td + td + td + td + td + td + td {
	  display:none;
	}
}
