/*
	Theme Name: Cost Saver
	Version: 1.0
	Description: Cost Saver Website template.
	Author: getso.pl
*/
/* ---------------------------
	Reset
--------------------------- */
*,
*:before,
*:after {
  	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
}
abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; background-color: transparent; }
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
address, cite, q, dfn { font-style: normal; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; line-height:1; }
a, ins, del { text-decoration:none }
q, blockquote { quotes: none; }
th, td {  vertical-align: top; }
th { text-align: left; }
nav li { display:inline-block; list-style:none; }
img { display:inline-block; max-width:100%; height:auto; }
button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
button,input{*overflow:visible;line-height:normal;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}
textarea{overflow:auto;vertical-align:top;}
label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:30px;}
input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
label{display:block;margin-bottom:5px;line-height: 20px;}
select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:40px;padding:5px 10px;font-size:14px;line-height:1;color:#555555;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;vertical-align:middle;width:100%;}
textarea{height:auto;padding:4px 6px;}
textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#ffffff;border:1px solid #cccccc;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear .2s, box-shadow linear .2s;-moz-transition:border linear .2s, box-shadow linear .2s;-o-transition:border linear .2s, box-shadow linear .2s;transition:border linear .2s, box-shadow linear .2s;}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datef-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82, 168, 236, 0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);}
input[type="radio"],input[type="checkbox"]{margin:5px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal;cursor:pointer;}
input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto;}
input[type="submit"] { border: none; }
select,input[type="file"]{height:30px;*margin-top:4px;line-height:1;}
select{border:1px solid #cccccc;background-color:#ffffff;}
select[multiple],select[size]{height:auto;}
select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}


/* -------------------- 
	General
-------------------- */
html {
    -webkit-text-size-adjust: none;
}
body {
    background: #fff;
    color: #000;
    font: normal 13px/20px 'PT Sans', Arial, sans-serif;
}
a {
	text-decoration: none;
	color: #555555;
}
a:hover {
	color: #1f1954;
}
p {
    margin: 0;
    padding: 0 0 15px;
}
table { 
	margin-bottom: 30px;
	border-collapse:collapse;
	width: 100%;
}
caption {
	padding: 10px;
	background: #FF277C;
	color: #fff;
}
tr {
	border-bottom: 1px solid #eee;
}
tr:hover td {
	background: #f9f9f9;
}
th {
	background: #eee;
}
th,
td {
	padding: 5px 5px 5px 15px;
}
article ul,
article ol {
	padding:0 0 15px 22px;
}

h1 {
	padding: 0 0 10px;
	font-size: 26px;
	line-height: 32px;		
}
h2 {
	padding: 20px 0 10px;
	font-size: 22px;
	line-height: 26px;	
}
h3 {
	padding: 20px 0 10px;
	font-size: 18px;
	line-height: 24px;
}
h4,
h5 {
	padding: 15px 0;
	font-size: 16px;
	line-height: 22px;
}
hr {
	width: 100%;
	height: 0;
	border: 0;
	border-bottom: 1px dotted #ccc;
}
aside {
	text-align: right;
}
aside h5 {
	color: #1f1954;
	font-size: 18px;
}
aside li {
	display: block;
	list-style: none;
}


/* -------------------- 
	Layout
-------------------- */
#header .social{
  position: absolute;
	right: 0;
	top: 10px;
}

#header {
	border-bottom: 2px solid #e7e7e7;
	margin-bottom: 20px;
	position: relative;
}
#header h1 {
	padding: 0 0 30px;
}
#header .btn-newsletter {
	position: absolute;
	top: 35px;
	right: 0;
}
#header form input {
	width: 300px;
	padding: 5px 50px 5px 30px;
	height: 30px;	
	line-height: 1;
	background: url(images/search-icon.png) 5px center no-repeat;
}
#header form button {
	height: 30px;
	line-height: 1;
	display: block;
	background: url(images/search-button.png) left center no-repeat;
	color: #777;
	width: 40px;
	font-size: 12px;
	border: none;
	position: absolute;
	right: 0;
	top: 0;
}

#nav ul ul li a {
	border: 0;
	padding: 10px 15px;
}
#nav {
	font-family: 'Open Sans Condensed';
	position: absolute;
	right: 0;
	bottom: 0;
}
#nav ul {
	font-size: 0;
}
#nav li {
	margin-left: 2px;
	position: relative;
}
#nav > ul > .active a:after,

#nav a {
	display: block;
	padding: 0 15px;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 50px;
	color: #1f1954;
	border-bottom: 4px solid transparent;
}
#nav .active > a,
#nav li:hover a {
	color: #0293d2;
	border-bottom-color: #0293d2;
}
#nav .menu-bars {
	display:none;
	width: 40px;
	height: 40px;
	background: #0293d2 url(images/mobile-menu-icon-open.png) center no-repeat;
	cursor:pointer;
}


nav.secondary {
	font-size: 15px;
	font-style: italic;
}
nav.secondary a,
nav.secondary li {
	display: block;
}
nav.secondary > ul > li {
	margin-bottom: 5px;
}
nav.secondary > ul > li > a {
	display: block;
	padding: 10px 15px;
	background: #e9531a;
	background: -moz-linear-gradient(left,  #e9531a 0%, #f39100 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e9531a), color-stop(100%,#f39100));
	background: -webkit-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -o-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -ms-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: linear-gradient(to right, #1e5799 0%,#7db9e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	color: #fff;
}
nav.secondary ul ul {
	display: none;
}
nav.secondary ul ul li {
	padding: 12px 0 12px 40px;
	border-bottom: 1px solid #ddd;
}
nav.secondary ul ul li:last-child {
	border: none;
}
nav.secondary ul ul a {
	color: #1f1954;	
	position: relative;
	font-size: 14px;
	line-height: 18px;	
	font-weight: 700;
}
nav.secondary ul ul a:before {
	display: block;
	width: 20px;
	line-height: 20px;
	content: '+';
	background: #ebebeb;
	color: #444;
	position: absolute;
	top: 50%;
	margin-top: -10px;
	left: -32px;
	text-align: center;
	font-weight: normal;
	font-size: 14px;
}
nav.secondary ul ul a:hover:before,
nav.secondary ul ul .active a:before {
	background: #e9531a;
	background: -moz-linear-gradient(left,  #e9531a 0%, #f39100 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e9531a), color-stop(100%,#f39100));
	background: -webkit-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -o-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -ms-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: linear-gradient(to right,  #1e5799 0%,#7db9e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	color: #fff;
}
nav.secondary > ul > li > a:hover,
nav.secondary > ul > li.active > a {
	background: #1f1954;
	color: #fff;
}
nav.secondary .active > ul {
	display: block;
}

#main {
	min-height: 400px;
	padding-bottom: 50px;
}

#footer {
	border-bottom: 1px solid #ebebeb;
	
}
#footer h5 {
	font-size: 18px;
	padding: 0 0 10px;
	margin-bottom: 20px;
	color: #038ecf;
	border-bottom: 1px solid #ebebeb;	
	font-weight: 400;
	position: relative;
}
#footer h5:after {
	content: '';
	background: #038ecf;
	height: 4px;
	position: absolute;
	display: block;
	left: 0;
	bottom: 0;
	width: 100px;
}
#footer nav li {
	display: block;
	margin-bottom: 5px;
}

.copyrights {
	padding: 20px 0;
	background: url(images/pw-logo.png) right center no-repeat;
}
.copyrights p {
	padding: 0;
	font-size: 14px;
	line-height: 1;	
}
.copyrights a {
	font-size: 11px;
	color: #959595;
}
#newsletter-popup {
	display: none;
}

#newsletter-popup form {
	text-align: center;
}
#newsletter-popup label {
	text-align: left;
}
#newsletter-popup input {
	margin-bottom: 5px;
	
}
#newsletter-popup .btn {
	width: 250px;
	font-weight: 350;
	font-size: 15px;
	text-transform: capitalize;
}

/* -------------------- 
	Specific
-------------------- */
.header > h1, h3, h5{
  font-weight: normal;
  font-family: Arvo;
}
.header h1,
.header h3 {
	font-size: 24px;
	padding: 0 0 10px;
	margin-bottom: 20px;
	color: #1f1954;
	border-bottom: 1px solid #ebebeb;	
	position: relative;
}
.header h1:after,
.header h3:after {
	content: '';
	background: #0290d0;
	height: 4px;
	position: absolute;
	display: block;
	left: 0;
	bottom: 0;
	width: 80px;
}

.alert {            
	font-family:tahoma, verdana, sans-serif;
	text-align:left;
	padding: 15px 20px;
	border-left: 10px solid #eee;
	font-size: 16px;
	line-height: 20px;
	background:#fafafa;
	position:relative;
	z-index:9998;
	margin-bottom: 15px;
}
.alert-error {
	background-color: #fcf2f2;
	border-color: #b94a48;
	color:#b94a48;
}
.alert-warning {
	color: #c09853;
	background-color: #fefbed;
	border-color: #c09853;
}
.alert-info {
	background-color: #f0f7fd;
	border-color: #d0e3f0;
}
.alert-success {
	color: #468847;
	background-color: #dff0d8;
	border-color: #468847;
}                 
.alert h5 {
	color:inherit;
	font-weight:bold;
	font-size:16px;
	padding: 10px 0 5px;
	margin: 0;
}
.alert ul {
	padding: 5px 0 5px 20px;
}
.alert p {
	padding: 10px 0;
	margin: 0;
}
.alert-cookies {
	margin:0;
	padding-right:50px;
}
.alert .close {
	position:absolute;
	top:50%;
	right:15px;
	line-height:26px;
	font-size:30px;
	margin-top:-15px;
}

.hidden {
	display: none;
}

.clearfix:before,
.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix:after {
    clear: both
}
.clearfix {
    zoom: 1
}

.prev,
.next {
    max-width: 49%
}
.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.prev,
.alignleft {
    float: left;
    text-align: left;
}
.next,
.alignright {
    float: right;
    text-align: right;
}
.alignleft {
    margin: 0 25px 15px 0
}
.alignright {
    margin: 0 0 15px 25px
}
.wp-caption {
	font-size: 12px;
	font-style: italic;
	color: #999;
}
img.alignright,
img.alignleft {
	border: 4px solid #eee;	
}

.btn {
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	width: auto;
	position: relative;
	padding: 0 10px;
	font-size: 12px;
	font-weight: 100;
	line-height: 30px;
	background: #e9531a;
	background: -moz-linear-gradient(left, #e9531a 0%, #f39100 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e9531a), color-stop(100%,#f39100));
	background: -webkit-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
	background: -o-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
	background: -ms-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
	background: linear-gradient(to right, #1e5799 0%,#7db9e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	color: #fff;
	cursor: pointer;
}
.btn-large {
	padding: 0 25px;
	line-height: 35px;
}
.btn:hover {
	background: #0394d3;
	color: #fff;
}

.social li {
	display: inline-block;
	margin: 0 2px;
}
.social a {
	display: block;
	width: 20px;
	height: 16px;
	text-indent: -9999px;	
	background-image: url(images/social.png);
	background-position: center;
	background-repeat: no-repeat;
}
.social a:hover {
	opacity: .7;
}
.social li:nth-child(1) a {
	background-position: 0 0;
}
.social li:nth-child(2) a {
	background-position: -30px 0;
}
.social li:nth-child(3) a {
	background-position: -62px 0;
}
.social li:nth-child(4) a {
	background-position: -92px 0;
}
.vcard .adr {
	padding: 0 0 15px 25px;
	background: url(images/icon-home.png) left 2px no-repeat;
}
.vcard p {
	padding-left: 25px;
	padding-bottom: 10px;
}
.vcard .tel {
	background: url(images/icon-tel.png) left 1px no-repeat;
}
.vcard .email {
	background: url(images/icon-email.png) left 2px no-repeat;
}
.vcard .url {
	background: url(images/icon-info.png) left 2px no-repeat;
}

.pagination {
	text-align: center;
	font-size: 0;
	padding: 30px 0;
}
.pagination li {
	margin: 0 2px 2px 2px;
	list-style: none;
	display: inline-block;
}
.pagination a {
	font-family: verdana;
	display: block;
	text-align: center;
	font-size: 14px;
	line-height: 35px;
	padding: 0 13px;
	background: #bbb;
	color: #fff;
}
.pagination .controls a {
	padding: 0 13px;
	width: auto;
}
.pagination a:hover,
.pagination .active a {
	background: #e9531a;
}

.post-listing {
	padding: 30px 0;
	border-bottom: 1px solid #ddd;
}
.post-listing header {
	margin-bottom: 20px;
}
.post-listing time {
	color: #D3D3D3;
	font-style: italic;
	font-size: 14px;
}
.post-listing h3 {
	padding: 0;
	font-size: 18px;
}
.post-listing h3 a {
	color: #1f1954;
}
.post-listing .more a {
	color: #D3D3D3;	
}
.post-listing a:hover {
	text-decoration: underline;
}

.post-event h3 {
	margin-bottom: 10px;
}

.post-team {
	border-bottom: 1px solid #eee;
}
.post-team h2 {
	cursor: pointer;
	color: #1f1954;
	font-size: 18px;
	padding: 10px 40px;
	position: relative;
}
.post-team h2:before {
	display: block;
	width: 20px;
	line-height: 20px;
	content: '+';
	background: #ebebeb;
	color: #444;
	position: absolute;
	top: 50%;
	margin-top: -10px;
	left: 0;
	text-align: center;
	font-weight: normal;
	font-size: 14px;
}
.post-team .vcard span {
	display: block;
	padding: 2px 0 2px 25px;
	color: #414141;
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 12px;
}
.post-team .vcard .tel {
	background-image: url(images/icon-orange-tel.png);
}
.post-team .vcard .email {
	background-image: url(images/icon-orange-email.png);	
}
.post-team .vcard .url {
	background-image: url(images/icon-orange-twitter.png);	
}
.post-team.active .hidden {
	display: block;
	padding-bottom: 40px
}
.post-team.active strong {
	color: #1f1954;	
}
.post-team.active h2:before {
	background: #e9531a;
	background: -moz-linear-gradient(left,  #e9531a 0%, #f39100 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e9531a), color-stop(100%,#f39100));
	background: -webkit-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -o-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -ms-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: linear-gradient(to right,  #1e5799 0%,#7db9e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	color: #fff;
	content: '-';
}
.panel {
	background: #EEE;
	border-left: 4px solid #696969;
	padding: 20px 10%;
	font-style: italic;
	color: #606060;
	font-size: 18px;
	line-height: 22px;	
	margin-bottom: 30px;
}
.panel h2 {
	font-size: 24px;
	padding: 10px;
	color: #1f1954;
	font-style: normal;	
}
.panel strong {
	font-weight: normal;
}

.testimonials p {
	padding: 15px;
	background: #fbf3f0;
	font-style: italic;
	color: #777;
	position: relative;
	margin-bottom: 15px;
}
.testimonials p:after {
	content: "";
	position: absolute;
	right: 30px;
	bottom: -20px;
	border-top: 20px solid #fbf8f7;
	border-left: 20px solid #fff;
}
.testimonials cite {
	display: block;
	text-align: right;
	padding: 4px 30px;
	
}
.testimonials strong {
	color: #038ecf;
	font-style: italic;
}

/* Pages */
/* Home */
.home .boxes h3 {
  font-family: arvo;
  font-weight: normal;
}
.home .boxes .box {
	margin-bottom: 30px;
}
.home .boxes h2 {
  font-family: arvo;
  font-weight: normal;
	color: #1f1954;
	font-size: 18px;
}
.home .boxes a:hover h2 {
  color: #3cb1e8;
}
.home .boxes .more {
	text-align: right;
}
.home .boxes .more a {
	display: inline-block;
	padding: 5px 25px 5px 15px;
	background: #eee;
	text-shadow: -1px 1px 1px #fff;
	position: relative;
}
.home .boxes .more a:hover {
	background: #038ecf;

	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	color: #fff;
	text-shadow: -1px 1px 1px #444;	
}
.home .boxes .more a:after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	border-top: 15px solid #fff;
	border-left: 15px solid #ccc;
}
.home .boxes .more a:hover:after {
	border-left-color: #3cb1e8;
}
.home .intro {
	margin-bottom: 20px;
}


/* -------------------- 
	Grid
-------------------- */
.container {
	max-width: 940px;
	margin: 0 auto;
	position: relative;
}

.row {
	padding: 0;
	  padding-bottom: 20px;
  	margin-left: -15px;
  	margin-right: -15px;
}
.row:before,
.row:after {
  	content: " ";
  	display: table;
}
.row:after {
  	clear: both;
}

[class^="col"] {
	float: left;
	display: block;
  	padding: 0 15px;
}
.col12 {
  width: 100%;
}
.col11 {
  width: 91.66666666666666%;
}
.col10 {
  width: 83.33333333333334%;
}
.col9 {
  width: 75%;
}
.col8 {
  width: 66.66666666666666%;
}
.col7 {
  width: 58.333333333333336%;
}
.col6 {
  width: 50%;
}
.col5 {
  width: 41.66666666666667%;
}
.col4 {
  width: 33.33333333333333%;
}
.col3 {
  width: 25%;
}
.col2 {
  width: 16.666666666666664%;
}
.col1 {
  width: 8.333333333333332%;
}


/* -------------------- 
	Plugins  
-------------------- */
/*!
 * jQuery UI Datepicker 1.8.22
 */
.ui-datepicker { width: 100%; display: none; }
.ui-datepicker .ui-datepicker-header { 
	text-transform:uppercase; width: 100%; position:relative; padding: 8px 0; font-size:14px; 
	background: #e9531a;
	background: -moz-linear-gradient(left,  #e9531a 0%, #f39100 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e9531a), color-stop(100%,#f39100));
	background: -webkit-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -o-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: -ms-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
	background: linear-gradient(to right,  #1e5799 0%,#7db9e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	color: #fff;
}
.ui-datepicker .ui-datepicker-prev, 
.ui-datepicker .ui-datepicker-next { position:absolute; top: 50%; cursor:pointer; color:#fff; font-size:28px; display:block; padding: 0 10px; }
.ui-datepicker .ui-datepicker-prev { left:8px; }
.ui-datepicker .ui-datepicker-next { right:10px; }
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover { color:#333; }
.ui-datepicker .ui-datepicker-prev span, 
.ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -12px; line-height: 20px; }
.ui-datepicker .ui-datepicker-next span { margin-left:0; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year { width: 49%; line-height:1; height:22px; padding:0; }
.ui-datepicker table { width: 100%; font-size: 12px; border-collapse: collapse; table-layout: fixed; }
.ui-datepicker th,
.ui-datepicker td { padding: 0; border:1px solid #e6e6e6; }
.ui-datepicker th { text-align:center; padding:5px 0; font-size:12px; }
.ui-datepicker td:nth-child(6) a, .ui-datepicker td:nth-child(7) a { background:#f3f3f3; }
.ui-datepicker td span, 
.ui-datepicker td a { display: block; line-height:40px; font-size: 14px; width:100%; text-align: center; text-decoration: none; color:#333; background:#fafafa; }
.ui-datepicker td a:hover { background: #fff; }
.ui-datepicker td.ui-datepicker-other-month span { background:#fff; color: #bbb; }
.ui-datepicker td.ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker td.ui-datepicker-event a { background:#f8d6c3; }
.ui-datepicker td.ui-datepicker-current-day a { background:#1f1954; color:#fff; }

/* Contact Form 7 */
.form-group,
.form-submit {
	margin-bottom: 20px;
}
.wpcf7 .screen-reader-response {
	display: none;
}
.wpcf7 label strong { 
	color: #f95900; 
}
.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	position: relative;
}
.wpcf7 input,
.wpcf7 textarea {
	background-color: #eee;
}
.wpcf7 textarea {
	height: 150px;
}
.wpcf7 .wpcf7-submit {
	display: inline-block;
	padding: 5px 15px;
	background: #038ecf;
	
	color: #fff;
	font-size: 16px;
	border: 0;
}
.wpcf7 .wpcf7-submit:hover {
	background: #038ecf;
}
.wpcf7 .ajax-loader {
	float: right;
}
.wpcf7-response-output { 
	padding: 15px 5%;
	width: 100%;	
	text-align: center;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.wpcf7-display-none { 
	display: none; 
} 
.wpcf7-validation-errors { 
	background: #b00; 
	color: #fff; 
} 
.wpcf7-not-valid-tip { 
	-webkit-border-radius: 0 10px 10px 10px; 
	-moz-border-radius: 0 10px 10px 10px; 
	border-radius: 0 10px 10px 10px; 
	position: absolute; 
	top: 30px; 
	z-index: 100; 
	display: block; 
	color: #fff; 
	background: #d00; 
	padding: 5px 20px; 
	border: none; 
	right: -40px; 
	width: auto; 
} 
.wpcf7-not-valid-tip-no-ajax { 
	color: #f00; 
	display: block; 
}

/* Google Maps */
#map_canvas {
	margin-bottom: 40px;
	width: 100%;
	height: 400px;
}
#map_canvas img {
	max-width: none;
	width: auto;
}


/* mouse grab icon */
.grabbing { 
    cursor:url(grabbing.png) 8 8, move;
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: static;
  list-style-type: none;

}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 600px;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}
.fancybox-box-skin{
list-style-type: none;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('images/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('images/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #555555;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('images/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('images/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

.bxslider li {
	width: 100%;
	display:block;
	background-size: cover;
	
}

.bx-wrapper {
	position: relative;
	padding: 0;
	*zoom: 1;
}
.bx-wrapper img {
	width: 100%;
	height:auto;
	display: block;
}
.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}
.bx-wrapper .bx-pager {
  position: absolute;
  width: 8%;
  right: 0;
  bottom: 10px;
  z-index: 99;
  text-align: center; 
}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
	background: url('images/bx-normal.png') no-repeat;
	background-position: center;
	text-indent: -9999px;
	display: block;
	width: 14px;
	height: 14px;
	margin: 0 4px;
	outline: 0;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: url('images/bx_active.png') no-repeat;
  background-position: center;
}
/* DS */
.video-banner .textbox,
.bxslider .textbox {
  font-size: 14px;
  color: #FFF;
	float: right;
  width: 33%;
  padding: 20px 30px;
  height: 100%;
  background: #e9531a;
  background: -moz-linear-gradient(left, #e9531a 0%, #f39100 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e9531a), color-stop(100%,#f39100));
  background: -webkit-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
  background: -o-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
  background: -ms-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
  background: linear-gradient(to right, #1e5799 0%,#7db9e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9531a', endColorstr='#f39100',GradientType=1 );
	min-height: 300px;
}
.video-banner .textbox {
  height: 98%;
}
.video-banner .textbox h4,
.bxslider .textbox h4 {
  font-size: 16px;
  color: #1f1954;
  font-weight: 100;
  font-family: arvo;
}
.bxslider .textbox a {
  margin-top: 15px;
  color:#FFF;
  display:block;
  font-weight:bold;
}
.bxslider .textbox a:hover {
  color: #1f1954;
}
.page-about-us .bx-wrapper .bx-pager.bx-default-pager a {
  text-indent: 0;
  background: #aaa;
  border-radius: 0;
  padding: 2px 8px;
  display: block;
  text-align: center;
  width: auto;
  height: auto;
}
.page-about-us .bx-wrapper .bx-pager.bx-default-pager a:hover,
.page-about-us .bx-wrapper .bx-pager.bx-default-pager a.active {
  color: #fff;
	background: #1f1954;
  border-radius: 0;
}
.page-about-us .bx-wrapper .bx-pager {
  bottom: -20px;
  width: 100%;
}
.video-banner {
  position: relative;
  margin-bottom: 20px;
}
.hidden-video {
  display:none;
}

@media (max-width:768px) {
	
	#footer h5:after {
	  content: '';
	  /* background: #038ecf; */
	  height: 4px;
	  position: absolute;
	  display: none;
	
	}
	.header h1:after, .header 
	h3:after {
	  content: '';
	  display: none;
	 
	}

	#header h1 {
	  padding: 10px 0;
	}
	#header h1 img {
		display:block;
		text-align:center;
		margin: 0 auto;
		width: 260px;
	}
	#header .social {
		display: none;
	}
	#header .btn-newsletter {
		display:none;
	}
	.video-banner .textbox {
	  display: none;
	}
	.description {
	  text-align: left;
	}
	
	#nav {
		position: static;
		width: 100%;
	}
	#nav ul {
		display: none;
		padding: 0;
	}
	#nav li {
		display: block;
		border: 0;
		border-bottom: 1px solid #ccc;
		width: 100%;
		margin: 0;
	}
	#nav a,
	#nav > div ul li:first-child a {
		padding: 0 14px;
		border:0;
	}
	#nav li ul {
		display: block;
	}
	#nav ul ul {
		position: static;
		margin: 0;
		padding: 0;
		z-index: 9999;
		width:100%;
	}
	#nav ul ul a {
		background: #D3D3D3;
		color:#333;
  	}
	#nav ul ul:after {
		content: ' ';
		position: absolute;
		top: 25px;
		left: 30px;	
		display: block;
		width: 0; 
		height: 0; 
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-bottom: 5px solid #D3D3D3;
	}
	#nav ul ul a:hover {
		background: #D3D3D3
	}
	#nav .menu-bars {
		display: block;
		  width: 100%;
	}
	
	#main {
	    padding-left: 15px;
	    padding-right: 15px;	
		text-align: center;	
	}
	
	#footer {
		text-align: center;			
	}
	#footer [class^="col"] {
		margin-bottom: 20px;
	}
	
	.row {
		margin:0;
	}

	.post-team .col10 {
		text-align:left;
	}
	[class^="col"] {
		float: none;
		width:100%;
		padding: 0;
	}
	.vcard {
		width:212px;
		margin:auto auto;
	}
	
	.bxslider .textbox {
		width:100%;
		padding: 20px 30px;
		min-height:200px;
		float:none;
    }
	.bx-wrapper .bx-pager {
		width:100%;
	}
	.testimonials {
		margin: 0 0 50px 0;
	}
	.page-about-us .bx-wrapper .bx-pager {
	  width: 100%;
	  bottom: -30px;
	}
	.fancybox-wrap {
		width:300px;
	}
	nav.secondary {
		margin-bottom:20px;
	}
	article .post-team [class^="col"],
	article .post-team .col10 {
		text-align:left;
	}
	
	.video-banner .textbox,
	.bxslider .textbox { 
		position: static;
	}
	
	.intro .bx-wrapper img {
	  width: 100%;
	  height: auto;
	}
	.intro .bxslider .textbox {
	  width: 100%; 
	}
	iframe{
		max-width: 100%;
	}
	img{
	width: 100%;
	}
	aside {
	text-align: left;
	}
	article ul, article ol {
	text-align: left;
	}
}