/*
Theme Name: IPL Design Custom Theme
Theme URI: http: //www.redsentence.co.uk
Description: Child theme based on Twitter Bootstrap.
Author: Jason Lawes
Template: the-bootstrap
Version: 0.1
*/

@import url("../the-bootstrap/style.css");

body {
font-family: 'Open Sans', sans-serif;
font-weight: 300;
overflow-x: hidden;
font-size: 14px;
line-height: 24px;
}


@font-face {
    font-family: 'heroregular';
    src: url('font/hero-webfont.eot');
    src: url('font/hero-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/hero-webfont.woff') format('woff'),
         url('font/hero-webfont.ttf') format('truetype'),
         url('fonts/hero-webfont.svg#heroregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

#page {
margin-right: 0;
margin-left: 0;
padding-top: 0;
margin-top: 0;
background:url(images/background.png)
}

h2 {
font-weight: 300;
font-size: 22px;
}

hr {
border-top: none;
border-bottom: 1px solid #8fa6b3;
}


@media (min-width: 1200px) {
.container  {
width: 940px;
}

.span2 {
width: 140px;
}


.span3 {
width: 220px;
}

.span4 {
width: 300px;	
}

.span5 {
width: 380px;	
}

.span6 {
width: 460px;
}

.span7 {
width: 540px;	
}

.span8 {
width: 620px;
}

.span9 {
width: 700px;
}

.span12 {
width: 940px;
}

[class*="span"] {
margin-left: 20px;
}

.row {
margin-left: -20px;
}

}




/* Header */

#social {
float: right;	
height: 50px;
}

.ie8 #social {
width: 100px;	
}

#logo {
width: 350px;
float: left;
text-align: left;
height: auto;
padding: 15px 0 5px;
}

#branding {
background-color: rgb(0,0,0); 
background-color: rgba(0,0,0,0.7);
position: fixed;
width: 100%;
height: 110px;
z-index: 999;
}

.ie8 #branding {
margin-top: -25px;	
}

/* /////////////////// */







/* Nav */

nav {
background-color: none;	
margin-top: -66px;
}

.navbar {
overflow: visible;
margin-bottom: 0;
min-height: 50px;
}

.navbar .nav {
float: right;
margin-right: 0;
}

.navbar-inner {
height: 50px;
padding-left: 0;
padding-right: 0;
background: none;
background-color: none;
background-image: none;
filter: none;
border: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.navbar .nav>li>a {
color: #fff;
text-decoration: none;
background-color: none;
-webkit-box-shadow:none;
-moz-box-shadow: none;
box-shadow:none;
text-shadow: none;
font-size: 16px;
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
padding: 15px 15px 15px;
margin-right: 0;
}


.navbar .nav>li>a:hover {
color: #8fa6b3;
text-decoration: none;
background-color: none;	
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

.navbar .nav>.active>a, .navbar .nav>.active>a:hover, .navbar .nav>.active>a:focus  {
color: #8fa6b3;
text-decoration: none;
background: none;
background-color: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.navbar .nav li.dropdown.open>.dropdown-toggle, .navbar .nav li.dropdown.active>.dropdown-toggle, .navbar .nav li.dropdown.open.active>.dropdown-toggle {
background: none;
color: #8fa6b3;
outline: none;
}

.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 8px 0 0;
list-style: none;
background-color: rgb(0,0,0); 
background-color: rgba(0,0,0,0.7);
border: none;
color: #fff;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow:none;
-moz-box-shadow: none;
box-shadow: none;
}

.dropdown-menu li>a {
display: block;
padding: 6px 20px;
clear: both;
font-weight: 300;
font-size: 16px;
line-height: 20px;
color: #ffffff;
white-space: nowrap;
}

.dropdown-menu .active>a, 
.dropdown-menu .active>a:hover, 
.dropdown-menu li>a:hover, 
.dropdown-menu li>a:focus, 
.dropdown-submenu:hover>a {
text-decoration: none;
color: #8fa6b3;
background: none;
background-image: none;
filter: none;
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

.dropdown li a {
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;	
}

.navbar .nav>li>a:focus {
background-color: transparent;
color: #ffffff;
text-decoration: none;
outline: none;
}

.navbar .nav li.dropdown>.dropdown-toggle .caret {
border-top-color: #ffffff;
border-bottom-color: #ffffff;
}

.navbar .nav li.dropdown>a:hover .caret,
.navbar .nav li.dropdown.open>.dropdown-toggle .caret, 
.navbar .nav li.dropdown.active>.dropdown-toggle .caret, 
.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret {
border-top-color: #8fa6b3;
border-bottom-color: #8fa6b3;
}

.navbar .nav>li>.dropdown-menu:after {
display: none;	
}


/* /////////////////// */







/* Images */

a img:hover {
opacity: 0.5;
filter:alpha(opacity=50);
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

a img {
opacity: 1;
filter:alpha(opacity=100);
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

/* /////////////////// */







/* Home slider */


.flexslider {
margin: 0!important;
background: #fff;
border: none!important;
position: relative;
-webkit-border-radius: 0!important;
-moz-border-radius: 0!important;
-o-border-radius: 0!important;
border-radius: 0!important;
box-shadow: none!important;
-webkit-box-shadow: none!important;
-moz-box-shadow: none!important;
-o-box-shadow: none!important;
width: 100%;
}
.home .flexslider {
max-width:1600px;
margin: 0 auto!important;
}

    
.home .flex-control-nav {
bottom: 0!important;
left: 50%!important;
width:940px!important;
margin-left: -470px!important;
padding: 10px 0!important;
text-align: left;
}

.home .flex-control-nav li {
margin: 0 6px;
float: left;
zoom: 1;
}

.loader {
background: url('images/loading.gif') no-repeat center center;
}

/*@media (min-width: 1200px) {
.home .flex-control-nav {
width: 1170px!important;
margin-left: -585px!important;
}
}*/

@media (min-width: 768px) and (max-width: 979px) {
.home .flex-control-nav {
width: 724px!important;
margin-left: -362px!important;
}
}

@media (max-width: 767px) {
.home .flex-control-nav {
width: 100%!important;
margin-left: 0!important;
left: 0!important;
}	
}


.flex-control-paging li a {
width: 11px;
height: 11px;
display: block;
background: #666;
background: rgb(0,0,0);
background: rgba(0,0,0,0.5);
cursor: pointer;
text-indent: -9999px;
-webkit-border-radius: 0!important;
-moz-border-radius: 0!important;
-o-border-radius: 0!important;
border-radius: 0!important;
box-shadow: none!important;
background: #fff!important;
}

.flex-control-paging li a.flex-active {
background: #8fa6b3!important;
}

.flex-control-paging li a {
width: 15px!important;
height: 15px!important;
}

.sideshow .flex-control-nav {
width: 100%;
padding-left: 10px;
bottom: 5px;
text-align: left;
}

.featured-outer {
width: 100% !important;
margin: 0 auto;
overflow: hidden;
}


.home .flex-control-nav li {
height: auto;
}

.home .slider li {
max-height: 500px;	
}

@media (max-width: 767px) {
.home .slider li {
height: 400px;	
}	

.home .slider li img {
height: 100%;
width: auto!important;
max-width: 300%;
}

.home .flex-control-nav li {
height: 30px;
}
}

.home .slider {
   margin-bottom: 10px;
    background: #222;
    padding-bottom: 0;
    border-bottom: 5px solid #fff!important;
}

.slider-box {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
opacity:0;
}
    
.flex-active-slide .slider-box {
position: absolute;
bottom: 80px;
left: 0;
width: 100%;
color: #fff;
text-align: left;
opacity:1;
transition-property:all;
transition-duration:0.3s;
transition-delay:1s;
-webkit-transition-property:all;
-webkit-transition-duration:0.3s;
-webkit-transition-delay:1s;
-moz-transition-property:all;
-moz-transition-duration:0.3s;
-moz-transition-delay:1s;
}

h2.slideheading {
color: #fff;
background-color: rgb(154,179,192);
background-color: rgba(154,179,192,0.7);
text-align: left;
font-weight: 300!important;
font-size: 25px;
padding-left: 10px;
margin: 0;
}

/*h2.slideheading:after {
content: "\f105";
 font-family: 'FontAwesome';
float: right;
font-size: 22px;
float: right;
padding: 0 15px;
background-color: rgb(90,110,120);
background-color: rgba(90,110,120,0.8);
}*/

.slidetext {
float: right;
width: 35%;
background-color: rgb(0,0,0); 
background-color: rgba(0,0,0,0.7);
font-size: 12px;
line-height: 24px;
text-align: justify;
}

.slidetext p {
padding: 10px	
}

/* /////////////////// */



/* Pages */

.page h1, .error404 h1 {
font-weight: 300;
color: #8fa6b3;
margin-bottom: 0;
padding-bottom: 10px;
}

.page-header {
padding-bottom: 9px;
margin: 20px 0 30px;
border-bottom: 1px solid #8fa6b3;
}


/* /////////////////// */





/* Portfolio */

.sliders {
width: 100%;
margin: 0 auto;
}

.portfolio {
margin-top: 100px;	
min-height: 500px;
}

.carousel li {
margin-right: 10px!important;
width: 170px!important;
}

.flex-direction-nav .flex-prev {
left: -30px!important;
opacity: 1;
}

.flex-direction-nav .flex-next {
right:-30px!important;
opacity: 1;
}

.flex-direction-nav a.flex-prev {
background: url(images/mini_direction_nav.png) no-repeat 0 0!important;
}

.flex-direction-nav a.flex-next {
background: url(images/mini_direction_nav.png) no-repeat -40px 0!important;
}

.slider {
padding-bottom: 40px;	
}

.slider li {
max-height: 575px;	
position: relative;
}

.slider li img {
margin-bottom: 5px;	
}

.folioslidepic {
position: relative;	
font-size: 12px;
font-weight: 400;
}

.folioslidetext {
position: absolute;
bottom: 10px;
left: 10px;
}

.foliotext {
position: absolute;
bottom: 0;
width: 100%;
background-color: rgb(0,0,0); 
background-color: rgba(0,0,0,0.8);
padding: 2px 10px;
}

.thumbtext {
position: absolute;	
width: 170px;
height: 100px;
bottom: -105px;
color: #fff;
background-color: rgb(0,0,0); 
background-color: rgba(0,0,0,0.8);
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

.carousel img {
width: 210px;
height: 100px;
}

.thumbtext h2 {
color: #fff;
background-color: #8fa6b3;
text-align: left;
font-weight: 300!important;
font-size: 14px;
padding: 0 0 0 5px;	
margin-top: 0;
}

.thumbtext h2:after {
content: "\f105";
 font-family: 'FontAwesome';
float: right;
font-size: 15px;
padding: 0 15px;
background-color: rgb(90,110,120);
background-color: rgba(90,110,120,0.8);
}	

.carousel li:hover .thumbtext {
bottom: 0;
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

.foliotext h2 {
color: #fff;	
}

.carousel li:hover {
cursor: pointer;
}

.slider img {
width: 100%;	
}

/* /////////////////// */









/* Home portfolio */

.folio {
width: 100%;
margin: 0 auto 40px;
overflow: hidden;
padding-bottom: 20px;
border-bottom: 1px solid #8fa6b3;
}

.modal-body {
max-height: 500px;
}

.modal {
width: 800px;
margin-left: -400px;
}

.folio h2 {
	margin: 10px;
font-size: 32px;
color: #8fa6b3;
padding-bottom: 15px;
border-bottom: 1px solid #8fa6b3;
}

.da-thumbs {
list-style: none;
position: relative;
margin: 20px auto;
padding: 0;
margin-left: 0;
}

.da-thumbs li {
float: left;
text-align: center;
width: 32.3%;
padding: 0.5%;
position: relative;
}



.da-thumbs li img {
width: 100%;	
}

.da-thumbs li a,
.da-thumbs li a img {
display: block;
position: relative;
}

.da-thumbs li a {
overflow: hidden;
}

.da-thumbs li a .rolloverbox {
position: absolute;
background: rgb(0,0,0);
background: rgba(0,0,0,0.7);
width: 100%;
height: 100%;
}

.da-thumbs li a .rolloverbox h2 {
color: #fff;
background-color: rgb(154,179,192);
background-color: rgba(154,179,192,0.7);
text-align: left;
font-weight: 300!important;
font-size: 22px;
padding: 0 0 0 10px;
margin: 0;
border-bottom: 0;
}

.da-thumbs li a .rolloverbox h2:after {
content: "\f105";
 font-family: 'FontAwesome';
float: right;
font-size: 22px;
padding: 0 15px;
background-color: rgb(90,110,120);
background-color: rgba(90,110,120,0.8);
}	

.da-thumbs li a .rolloverbox span {
display: block;
padding: 10px 0;
margin: 10px 20px 20px 20px;
font-weight: normal;
color: rgb(255,255,255);
color: rgba(255,255,255,0.9);
font-size: 12px;
}

.da-thumbs li a div span.more {
padding: 4px 6px;
background-color: #8fa6b3;
margin-left: 0;
width: 70px;
}

/* /////////////////// */




/* Tables */

table {
background-color: #000;
border-spacing: 0;
font-size: 18px;
}

.table td {
border: none;	
vertical-align: middle;
}

table tr:first-child {
background-color: #000;
}

tr {
border: none;	
}

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th,
.table-striped tbody > tr:nth-child(odd):hover > td,
.table-striped tbody > tr:nth-child(odd):hover > th,
.table-striped tbody > tr:nth-child(even):hover > td,
.table-striped tbody > tr:nth-child(even):hover > th {
background: #000;
}


.wpcf7 table {
background: none;
background-color: none;
border-spacing: 0;
font-size: 14px;
}

.wpcf7 .table td {
border: none;	
vertical-align: middle;
}

.wpcf7 table tr:first-child {
background: none;
background-color: none;
}

.wpcf7 tr {
 border: none;	
}

.wpcf7 .table-striped tbody > tr:nth-child(odd) > td,
.wpcf7 .table-striped tbody > tr:nth-child(odd) > th,
.wpcf7 .table-striped tbody > tr:nth-child(odd):hover > td,
.wpcf7 .table-striped tbody > tr:nth-child(odd):hover > th,
.wpcf7 .table-striped tbody > tr:nth-child(even):hover > td,
.wpcf7 .table-striped tbody > tr:nth-child(even):hover > th {
background: none;
background-color: none;
}

/* /////////////////////// */



/* Forms */


input[type="text"], input[type="email"], input[type="url"] {
width: 80%;
height: 30px;
border: none;
padding: 5px;
color: #fff;
font-size: 16px;
margin-right: 5px;
background-color: #8fa6b3;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
margin-bottom: 0;
}


.wpcf7-form-control-wrap.captcha-450 input[type="text"] {
width: 80%;
margin-top: 5px;
}

textarea {
width: 80%;
height: 100px;
border: none;
padding: 5px;
color: #fff;
font-size: 16px;
margin-right: 5px;
background-color: #8fa6b3;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;	
}

input[type="submit"] {
height: 40px;
padding: 5px;
width: 100px;
background-color: #333; 
border: none;
color: #fff;
font-size: 16px;
margin-top: 0;
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
-webkit-appearance: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
margin-bottom: 10px;
}

input[type="submit"]:hover {
background-color: #8fa6b3; 
cursor: pointer;
color: #fff;
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}

#respond input[type="submit"] {
width: 140px;
}

#respond .btn-primary {
color: #ffffff;
background: none;
filter: none;
background-color: #8fa6b3;
}

/* /////////////////// */



/* Pages */

.home #primary {
margin-top: 0;
}

article.page {
margin-bottom: 20px;
}

#primary, #secondary{
margin-top: 120px;	
}

/* ///////////////////////// */




/* Widgets */

.well {
min-height: 20px;
padding: 0;
margin-bottom: 20px;
background-color: #fff;
border: 1px solid #e3e3e3;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: 0;
-moz-box-shadow: 0;
box-shadow: 0;
}

.well a {
color: #8fa6b3;
}

.well a:hover {
color: #000;
text-decoration: none;
}

.widget li {
color: #8fa6b3;	
list-style: none;
margin: 10px 0;
padding-left: 0;
}

.widget li:before {
font-family: 'FontAwesome';
content: "\f105 ";
padding-right: 5px;
}


#secondary h2.widget-title {
color: #fff;
background-color: #8fa6b3;
text-align: left;
font-weight: 300!important;
font-size: 22px;
padding-left: 10px;
margin: 0;
}

#secondary h2.widget-title:after {
content: "\f105";
font-family: 'FontAwesome';
float: right;
font-size: 22px;
float: right;
padding: 0 15px;
background-color: #76909e;
}

#secondary ul {
padding: 10px;
margin: 0 0 10px 15px;	
}

#secondary .flexslider ul {
padding: 0;
margin: 0;
}

.well ul li {
line-height: 28px;	
}

/* ///////////////////////// */



/* Blog */

.nocomments {
display: none;	
}

.form-actions {
background: none;
}

.blog .page-header {
margin-bottom: 0;
border-bottom: 0;
background-color: #fff;
padding-bottom: 0;
}

.blog .entry-meta {
font-size: 11px;
color: #8fa6b3;
padding: 5px;
border-bottom: 1px dashed #8fa6b3; 

}

.blog .entry-content .post-thumbnail {
margin: 0;
}

.blog .excerpt {
font-size: 13px;	
border-bottom: 1px dashed #8fa6b3; 
padding: 5px;
}

.blog .page-header h2 {
color: #fff;
background-color: #8fa6b3;
text-align: left;
font-weight: 300!important;
font-size: 18px;
padding: 0 10px;
margin: 0;	
}

.single h1 {
font-weight: 300;
color: #8fa6b3;
}

.singletop {
clear: both;	
margin-bottom: 20px;
}

/* ///////////////////////// */



/* Footer */

.footer {
min-height: 280px;
border-top: 5px solid #8fa6b3;
background:#000000;
padding: 15px 0;
color: #fff;
}

.footer h2 {
color: 	#8fa6b3;
}

.footer li {
line-height: 28px;	
}

.addressinfo {
font-size: 10px;	
}

.footer a {
color: #fff;	
}

.footer a:hover {
color: 	#8fa6b3;
text-decoration: none;
}

/* /////////////////// */





button#catapultCookie {
border-radius: 0!important;
}





/* Responsive */


@media (max-width: 979px) {

.navbar .btn-navbar {
float: right;
padding: 7px 10px;
margin: 15px 5px 10px;
color: #ffffff;
text-shadow: none;
background-image: none;
background-color: #8fa6b3;
filter: none;
border: none;
border-color:none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.navbar .btn-navbar:hover {
background-color: #fff;	
color: #8fa6b3;
}

.btn  {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;	
}

.nav-collapse.in.collapse {
background-color: rgb(0,0,0); 
background-color: rgba(0,0,0,0.7);
margin-top: 10px;
}

.navbar .nav {
float: none;
display: inline-block;
text-align: center;
width: 100%;	
}

.navbar .nav>li>a {
font-weight: 400;	
}

.nav-collapse .nav>li>a:hover, .nav-collapse .dropdown-menu a:hover {
background-color: #8fa6b3;
color: #fff;
font-weight: 400;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;	
}

.nav-collapse .nav>li>a, .nav-collapse .dropdown-menu a {
padding: 9px 15px;
font-weight: 400;
color: #fff;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

#header-image, .entry-content {
margin-bottom: 5px;
}

#branding #logo {
padding-bottom: 0;
margin-bottom: 10px;
}

.ie8 #branding {
margin-top: 0;	
}

#social {
height: 30px;
}

.flex-active-slide .slider-box {
bottom: 10px;
}


.slidetext {
width: 50%;
}

#secondary h2.widget-title {
font-size: 19px;	
}

#secondary h2.widget-title:after {
font-size: 19px;
padding: 0 10px;
}
	

}


@media only screen and (max-width: 767px) {

#page {
padding: 0;	
}

.slidetext {
width: 70%;	
}

.da-thumbs li a .rolloverbox h2 {
font-size: 16px;
line-height: 22px;
}

.home .slider li {
height: 400px;	
}	

.featured-background {
height: 400px;	
}

.home .flex-control-nav li {
height: 30px;
}
	
}



@media (max-width: 480px) {
	
#branding {
position: relative;
width: 100%;
height: auto;
z-index: 999;
padding-bottom: 10px;
}

#logo {
width: 100%;
text-align: center;
clear: both;
}

#social {
width: 100%;	
text-align: center;
display: block;
clear: both;
}

.navbar .btn-navbar {
float: none;
margin: 15px 5px 5px;
}

.da-thumbs li {
width: 49%;
padding: 0.5%;
}

.portfolio {
min-height: 200px;
}

#primary, #secondary{
margin-top: 10px;	
}

.home .slider li {
height: 250px;	
}	

.featured-background {
height: 250px;	
}

.home .flex-control-nav li {
height: 30px;
}

.slidetext  {
display: none;	
}

nav {
margin-top: 0;
}

.flex-direction-nav .flex-prev {
left: 0!important;
opacity: 1;
}

.flex-direction-nav .flex-next {
right:0!important;
opacity: 1;
}

.flex-direction-nav a.flex-prev {
background: url(images/mini_direction_nav.png) no-repeat 0 0 rgba(0,0,0,0.9)!important;
}

.flex-direction-nav a.flex-next {
background: url(images/mini_direction_nav.png) no-repeat -40px 0 rgba(0,0,0,0.9)!important;
}

}