/*
Theme Name: Rand Instruments
Description: Custom Theme for Rand Instruments
Author: Assemble
Author URI: http://assemble.co.za
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css?family=Lato:400,700|Ubuntu');

body{
	font-family: 'Lato', sans-serif;
	color:#8a8b8d;
	font-size:17px;
	line-height:1.2;
}
.wpcf7-form{
font-size:15px;
}
.clear{
clear:both;
}
h1, h2, h3{
	font-weight:700;
	margin-bottom:20px;
color:#0071BC;
}
h1{
	font-size:24px;
}
h2{
	font-size:20px;
}
h3{
	font-size:18px;
}
h4{
	font-size:18px;
	margin-top:0;
	margin-bottom:5px;
}
.pagetitle h2{
color:#fff;
}
.container{
	width:1130px;
	max-width:100%;
}
.header{
	padding:0 15px;
}
.navbar-inverse{
	background:none;
}
.navbar{
	border:none;
	margin-bottom:0;
}
.navbar-brand{
	padding-top:7px;
	padding-bottom:7px;
	height:auto;
}
.navbar-right{
	margin-right:0;
}
.nav > li{
	padding:16px 0;
}
.navbar-inverse .navbar-nav > li > a{
	text-transform: uppercase;
	color:#0071BC;
	padding:0 8px;
	border-right:1px solid #fdd52b;
	font-family:'Ubuntu', sans-serif;
	font-weight:700;
	font-size:14px;
}
.navbar-inverse .navbar-nav > li:first-child > a{
	padding-left:0;
}
.navbar-inverse .navbar-nav > li:last-child > a{
	border-right:none;
	padding-right:0;
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus{
	color:#0071BC;
}
.navbar-inverse .navbar-nav > li.menu-item-has-children{
	background:url(images/menu-arrow.png) no-repeat right;
}
.navbar-inverse .navbar-nav > li.menu-item-has-children a{
	padding-right:43px;
}
.nav > li > ul{
	display:none;
	position:absolute;
	top:52px;
	left:0;
	margin:0;
	padding:10px 0;
	list-style:none;
	background:#eff7fa;
	box-shadow:3px 3px 3px rgba(0,0,0,0.6);
	width:270px;
}
.nav > li:hover > ul{
	display:block;
}
.nav > li:last-child > ul{
	left:-128px;
}
.nav > li > ul > li > a{
	font-size:12px;
	padding:4px 27px;
	width:100%;
	float:left;
}
.nav > li > ul > li > a:hover{
	background:#ffce09;
	text-decoration: none;
}

/*VISUAL COMPOSER SECTIONS*/
#homesection1 .vc_col-has-fill > .vc_column-inner{
	padding-top:0;
}
#homesection1 h2{
	margin:0;
}
#homesection1 .wpb_content_element{
	margin-bottom:0;
}
#homesection2, #homesection3, #homesection4, #homesection5, #homesection6{
	padding-top:0;
}
#homesection2 .vc_row-has-fill > .vc_column_container > .vc_column-inner, #homesection3 .vc_row-has-fill > .vc_column_container > .vc_column-inner, #homesection4 .vc_row-has-fill > .vc_column_container > .vc_column-inner, #homesection5 .vc_row-has-fill > .vc_column_container > .vc_column-inner, #homesection6 .vc_row-has-fill > .vc_column_container > .vc_column-inner{
	padding-top:0;
}
#homesection2 .wpb_content_element, #homesection3 .wpb_content_element, #homesection4 .wpb_content_element, #homesection5 .wpb_content_element, #homesection6 .wpb_content_element{
	margin-bottom:0;
}
#homesection6 .vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner{
padding-top:0;
}
#homesection2 .img-wrap{
	margin-bottom:10px;
	border-radius:50%;
	background:#fff;
	width:70px;
	height:70px;
	padding:15px;
	position:relative;
	border:3px solid #ffce08;
}
#homesection2 img{
	position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width:45px;
}
#homesection3{
	color:#fff;
}
#homesection3 .sec3topleft, #homesection3 .sec3topright, #homesection3 .sec3bottomleft, #homesection3 .sec3bottomright{
	width:100%;
}
.sec3topleft, .sec3topright {
    margin-bottom: 30px;
}
.sec3-1, .sec3-3{
	width:42% !important;
z-index:2;
}
.sec3-1 a, .sec3-3 a{
color:#fff;
}
.sec3-1 a:hover, .sec3-3 a:hover{
text-decoration:none;
}
.sec3-2{
	width:16% !important;
}
#homesection6{
color:#fff;
}
.height536{
height:400px;
}

.section1{
	padding:50px 150px;
	float:left;
}
.section1-left{
	font-size:20px;
	color:#0b73ba;
	text-align:right;
	border-right:1px solid #fdcf0e;
	font-weight:700;
	padding:0 20px 0 0;
line-height:1.4;
}
.section1-right{
	text-align: justify;
	padding: 0 0 0 20px;
}
.section2-title{
	width:100%;
	float:left;
	background:#f47613;
	color:#fff;
	text-align:center;
}
.section2{
	background:#F7931E;
	padding:50px 0;
	color:#fff;
	width:100%;
	float:left;
}
.section2 .container{
	padding:0 200px;
}
.section2 .img-wrap{
	float:right;
	margin-bottom:10px;
	border-radius:50%;
	background:#fff;
	width:70px;
	height:70px;
	padding:15px;
	position:relative;
	border:3px solid #ffce08;
}
.section2 img{
	position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width:45px;
}
.section3-title{
	width:100%;
	float:left;
	text-align:center;
	color:#fff;
	background:#0852a1;
}
.section3{
	width:100%;
	float:left;
	background:#0f72ba url(images/bluecross.png) no-repeat center center;
	padding:40px 0;
	color:#fff;
}
.sec3topleft, .sec3bottomleft{
	position:relative;
	width:42%;
	float:left;
	height:80px;
	background:#0c65b0;
}
.sec3topright, .sec3bottomright{
	position:relative;
	width:42%;
	float:right;
	height:80px;
	background:#0c65b0;
}
.sec3topleft, .sec3topright{
	margin-bottom:30px;
}
.sec3topleft .text, .sec3bottomleft .text{
	width:100px;
	text-align:right;
	float:right;
	display:table;
}
.text-inner{
	display:table-cell;
	vertical-align:middle;
	height:80px;
}
.sec3topleft .imgborder, .sec3bottomleft .imgborder{
	float:right;
	width:80px;
	height:80px;
	border-radius:50%;
	border:4px solid #013287;
	margin-left:20px;
	margin-right:-40px;
}
.sec3topright .text, .sec3bottomright .text{
	width:100px;
	text-align:left;
	float:left;
}
.sec3topright .imgborder, .sec3bottomright .imgborder{
	float:left;
	width:80px;
	height:80px;
	border-radius:50%;
	border:4px solid #013287;
	margin-right:20px;
	margin-left:-40px;
}
.sec3topleft img, .sec3bottomleft img, .sec3topright img, .sec3bottomright img{
	width:100%;
	height:100%;
	border-radius:50%;
	border:1px solid #fff;
}
.section4{
	padding:50px;
}
.section4 .container{
	padding:0 45px;
}
.section4-title{
	text-align:center;
	background:#f2f2f2;
	border-top:1px solid #dfe0e0;
	border-bottom:1px solid #dfe0e0;
	width:100%;
	float:left;
	color:#0f72ba;
}
ul.section4-list{
	list-style:none;
	margin:20px 0;
	padding:0;
	float:left;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}
ul.section4-list li{
	padding-top:15px;
	padding-bottom:15px;
	display: -webkit-flex;
	/*display: -ms-flexbox;
	display: flex;*/
	width: calc(100%/4);
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}
.sec4-listitem-wrap{
	position:relative;
}
ul.section4-list li .sec4-list-text{
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	background:rgba(64,76,145,0.9);
	padding:9px 0;
	text-align:center;
	color:#fff;
	font-size:14px;
	line-height:1.3;
	font-weight:700;
}
ul.section4-list li .sec4-list-text a{
color:#fff;
}
ul.section4-list li .sec4-list-text a:hover{
text-decoration:none;
}
ul.section4-list li:nth-child(even) .sec4-list-text{
background:rgba(249,160,57,0.9);
}
ul.section4-list li:hover .sec4-list-text{
	color:#fff;
}
.section5{
	text-align:center;
	float:left;
	width:100%;
margin-bottom:30px;
}
.section5-title{
	text-align:center;
	width:100%;
	float:left;
	background:#394954;
	padding:15px 0 25px;
}
.section5 .container{
	padding:0 175px;
}
.section5 h2{
color:#e07627;
}
.section6-title{
	width:100%;
	float:left;
	background:#08519f;
	color:#fff;
	text-align:center;
}
.section6-top{
	background:#0f71b9;
	color:#fff;
	width:100%;
	float:left;
}
.section6-bottom{
	padding:30px 0;
	font-size:14px;
	float:left;
	width:100%;
}
.home form.wpcf7-form{
	padding-top:30px;
	padding-bottom:20px;
}
form.wpcf7-form input[type=text], form.wpcf7-form input[type=email], form.wpcf7-form input[type=tel], form.wpcf7-form textarea, form.wpcf7-form select{
	max-width:100%;
	width:100%;
}
.home form.wpcf7-form input[type=text], .home form.wpcf7-form input[type=email], .home form.wpcf7-form input[type=tel], .home form.wpcf7-form textarea, .home form.wpcf7-form select{
	background:none;
	border:1px solid #fff;
	box-shadow:none;
	margin-top:10px;
}
.home form.wpcf7-form input[type=text], .home form.wpcf7-form input[type=email], .home form.wpcf7-form input[type=tel], .home form.wpcf7-form textarea{
	padding:5px;
}
.home form.wpcf7-form textarea{
height:166px;
}
.home form.wpcf7-form select{
	padding:3px;
}
form.wpcf7-form input[type=submit]{
	background:#f89522;
	border:none;
	color:#fff;
	font-weight:700;
	padding:7px 38px;
float: left;
clear: both;
margin: 20px 15px;
}
.home form.wpcf7-form input[type=submit]{
float:right;
margin:0;
}
.pagetitle{
	width:100%;
	float:left;
	text-align:center;
	color:#fff;
	background:#08519f;
	text-transform: uppercase;
}
.storycontent{
	float:left;
	color:#211f1f;
	width:100%;
}
.product-title{
	background:url(images/shortunderline.jpg) no-repeat bottom center;
	padding-bottom:10px;
	text-align:center;
	text-transform: uppercase;
	color:#08519f;
}
.subprofilebox{
height:520px;
}

/* BLOG PAGE */
.blogpage .pageheader img{
	width:100%;
	height:200px;
	object-fit:cover;
}
.pageheader.careers-header img{
	height:400px;
}
.blogcontent{
	width:100%;
	float:left;
	padding:50px 0;
}
.yarpp-related h3{
	text-align:center;
	padding-top:20px !important;
}

.footer{
	background:#3c3d3d;
	padding:30px 0;
	color:#fff;
	width:100%;
	float:left;
}
.footer .container{
	padding:0 30px;
}
.footer .widget-title{
	text-transform: uppercase;
	color:#f89522;
}
.footer-widget{
	float:left;
	width:25%;
	line-height:1.5;
	padding:0 15px;
}
.footer-widget a{
	color:#fff;
}

/*CAREERS PAGE*/
.blogcontent .col-sm-4{
	margin:15px 0;
}
.job-index-title{
	width:100%;
	float:left;
	background:#0071BC;
	color:#fff;
	padding:0 15px;
}
.job-index-title h2, .job-index-title a, .job-index-title:hover{
	color:#fff;
}
.job-index-excerpt{
	width:100%;
	float:left;
	background:#ddd;
	padding:15px;
}

/*Flexslider*/
#home-slider.flexslider{
background:url(images/Loading_icon.gif) no-repeat center center;
width:100%;
height:545px;
}
.flexslider{
	padding:0;
	margin:0;
	border-radius:0;
	background:none;
	box-shadow:none;
	border:none;
}
.flexslider .slides > li{
	position:relative;
}
.flex-caption{
	position:absolute;
	color:#fff;
	top:50%;
	left:40px;
	width:415px;
	max-width:100%;
	font-weight:700;
	font-size:15px;
margin-top:-20px;
}
.flex-caption a{
	color:#fff;
}
.caption-top{
	padding:20px;
	background:#dfcc36;
}
.caption-bottom{
	padding:10px 20px;
	background:#f8cc10;
}
.flex-direction-nav .flex-prev, .flexslider:hover .flex-prev{
	left:0;
}
.flex-direction-nav .flex-next, .flexslider:hover .flex-next{
	right:0;
}
.flex-direction-nav .flex-prev{
	background:#0b73ba url(images/arrow-left.png) no-repeat center center;
}
.flex-direction-nav .flex-next{
	background:#0b73ba url(images/arrow-right.png) no-repeat center center;
}
.flex-direction-nav a{
	opacity:1;
}
.flex-direction-nav a::before, .flex-direction-nav a.flex-next::before{
	content:'';
}
.flex-control-nav{
	bottom:30px;
}
.flex-control-nav li{
	margin:0 2px;
}
.flex-control-paging li a{
	background:none;
	text-indent:0;
	border:1px solid #fff;
	font-size:10px;
	width:20px;
	height:20px;
	color:#fff;
	line-height:17px;
}
.flex-control-paging li a.flex-active, .flex-control-paging li a:hover{
	background:none;
	color:#fdcf0e;
	border-color:#fdcf0e;
}
.flex-control-paging li a:hover{
	text-decoration: none;
}

.wpb_gallery{
min-height:700px;
}
.wpb_gallery_slides ul.flex-direction-nav{
display:none;
}

/* Shortcodes */
.product-block{
	padding:0 15px;
	float:left;
	width:100%;
	color:#fff;
	font-size:20px;
	margin-bottom:30px;
}
.product-block a{
	color:#fff;
}
.product-block img{
	float:left;
	width:169px;
}
.block-text{
	float:right;
	width:235px;
}
.block-text h1{
	border-bottom:2px solid #fff;
	margin-bottom:10px;
	padding-bottom:10px;
	margin-top:10px;
}

.left-grey-grad{
background:#fff;
background: -webkit-linear-gradient(left, #ddd, #fff);
background: -o-linear-gradient(right, #ddd, #fff);
background: -moz-linear-gradient(right, #ddd, #fff);
background: linear-gradient(to right, #ddd, #fff);
}
.right-grey-grad{
background:#fff;
background: -webkit-linear-gradient(left, #fff, #ddd);
background: -o-linear-gradient(right, #fff, #ddd);
background: -moz-linear-gradient(right, #fff, #ddd);
background: linear-gradient(to right, #fff, #ddd);
}

/* Featured Image */

.attachment-single-post {
    float: left;
    margin: 0px 20px 0 0px;
    border:1px solid #ddd;
}
.attachment-index-categories {
    float: left;
    margin: 3px 8px 8px 0px;
}
.attachment-blog-page {
    float: left;
    margin: 3px 8px 8px 0px;
}

/* Images */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%;
	height: auto;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right:7px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left:7px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

.wp-caption {
	background: #ebebeb;
	line-height: 18px;
	margin-bottom: 3px;
	max-width: 630px !important;
	padding: 3px 13px 4px 3px;
	text-align: center;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.wp-caption img {
	margin: 5px;
}
.wp-caption p.wp-caption-text {
	color: #555;
	font-size: .875em;
	margin: 0;
	font-weight:bold;
}
.wp-smiley {
	margin: 0;
}

.bypostauthor{
}
.feedback{
	text-align:right;
	padding:0 20px 10px 0;
	clear:both;
}

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	padding:15px;
	overflow: hidden;
	position: relative;
	width:200px;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail,
.gallery-columns-4.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item {
	text-align: center;
}



.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery img {

	border-bottom: 3px solid #f89522;
	max-width: 100%;
height: auto;
}

#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* Comments */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
}
.reply a:hover,
a.comment-edit-link:hover {
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	font-weight: bold;
}
#respond label {
	font-size: 12px;
	width:7%;
}
#respond input {
	margin: 20px 5px;
}
#respond textarea {
	width: 99%;
}
#respond .form-allowed-tags {
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}
#advert{
	width:640px;
	margin-left:-40px;
}
#advert ul{
	list-style:none;
}
/* =Widget Areas
-------------------------------------------------------------- */

.textwidget{

}
.widget-area ul {
	list-style: none;
	margin: 0;
	padding-left:0;
}
.widget-area ul ul {
	margin: 0;
	padding-left:10px;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0;
	padding:0;
	list-style:none;
}
.widget-container ul{
margin:0;
padding:0;
}
.widget-container ul li{
list-style:none;
}
.widget-container a,
.widget-container a:link,
.widget-container a:visited {
	text-decoration: none;
}
.widget-container a:active,
.widget-container a:hover {
	text-decoration: none;
}
.widget-area a,
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: none;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #999;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
	text-shadow:none;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
}
#wp-calendar tbody td {
	border: 1px solid #333;
	padding: 3px 0 2px;
	text-align: center;
	font-size:12px;
}

#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #CC0000;
}
.widget_rss a.rsswidget:hover {
	color: #FF0000;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* RESPONSIVE */
img{
	max-width:100%;
	height:auto;
}
.navbar-toggle{
	background:#08519f;
	margin-right:0;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus{
	background:#08519f;
}

@media only screen and (max-width:1075px) {
.subprofilebox{
height:auto;
}
}

@media only screen and (max-width:991px) {
#home-slider.flexslider{
height:auto;
}
.flex-caption{
	top:40px;
}
.section1-left{
	border-right:none;
	text-align:center;
	padding:0;
	line-height:1.2;
	margin-bottom:20px;
}
.section1-right{
	text-align:center;
	padding:0;
}
.section4{
	padding:0;
}
.section4 .container{
	padding:0 15px;
}
form.wpcf7-form input[type="submit"]{
	position:relative;
	left:15px;
	right:0;
	bottom:0;
}
.block-text{
	float:left;
	margin-left:15px;
}
}

.homesect1pad{
padding-left:100px;
padding-right:100px;
}
.homesect2pad{
padding-left:200px;
padding-right:200px;
}
.homevidpad{
padding-left:45px;
padding-right:45px;
}
.home1panel1{
border-right:1px solid #fdcf0e;
}

@media only screen and (max-width:768px) {
.container > .navbar-header{
	float:left;
}
.navbar-inverse .navbar-collapse{
	width:100%;
}
.navbar-collapse{
	border-top:none;
}
.container > .navbar-collapse, .navbar-right{
	margin:0;
}
.nav > li{
	padding:0;
	float:left;
	width:100%;
}
.navbar-inverse .navbar-nav > li > a{
	padding:5px 0;
	border-right:none;
}
.navbar-inverse .navbar-nav > li.menu-item-has-children{
	background:none;
}
.nav > li > ul{
	display:block;
	position:relative;
	padding-top:0;
	width: 100%;
	top: 0;
	background: none;
	box-shadow: none;
}
.nav > li > ul > li > a:hover{
	background:none;
}
.nav > li:last-child > ul{
	left:0;
}
.flex-direction-nav, .flex-control-nav{
	display:none;
}
.section1{
	padding-left:0;
	padding-right:0;
}
.section2 .container{
	padding:0 15px;
}
ul.section4-list li{
	width: calc(100%/3);
}
.section5 .container{
	padding:0 15px;
}
.homesect1pad, .homesect2pad{
padding-left:0;
padding-right:0;
text-align:center;
}
.homesect1pad h2{
text-align:center !important;
}
.home1panel1{
border-right:none;
padding-right:0;
}
#homesection2 .img-wrap{
display:inline-block;
}
.homevidpad{
padding-left:0;
padding-right:0;
}
.sec3-2{
display:none;
}
.sec3-1, .sec3-3{
width:100% !important;
}
.sec3-3{
margin-top:30px;
}
.sec3topleft, .sec3bottomleft, .sec3topright, .sec3bottomright{
	width:100%;
}
.sec3topleft .imgborder, .sec3bottomleft .imgborder{
	margin-right:20px;
}
.sec3topright .imgborder, .sec3bottomright .imgborder{
	margin-left:20px;
}
.sec3bottomleft{
	margin-bottom:30px;
}
.wpb_gallery{
min-height:1px;
}
}

@media only screen and (max-width:600px) {
.flex-caption{
	position:relative;
	top:0;
	left:0;
	width:100%;
}
ul.section4-list li{
	width: calc(100%/2);
}
.footer-widget{
	width:50%;
	margin-bottom:20px;
}
}

@media only screen and (max-width:510px) {
.block-text{
	width:100%;
	margin-left:0;
}
.product-block img{
	display:none;
}
}

@media only screen and (max-width:430px) {
.gallery-item{
	float:none;
}
}

@media only screen and (max-width:380px) {
ul.section4-list li{
	width: calc(100%/1);
}
.footer-widget{
	width:100%;
}
}

.job-application-btn{
	width:100%;
	float:left;
	text-align:center;
}
.job-app-btn{
	background:#08519f;
	margin-top:50px;
}
.job-app-btn:hover, .job-app-btn:focus, .job-app-btn:active{
	background:#08519f;
}
h3.modal-title{
	text-align:center;
}
.modal-body .wpcf7-form-control-wrap div{
	display:inline-block;
}
.modal-body form.wpcf7-form input[type=submit]{
	float:none;
	margin: 20px 0;
	padding:7px 50px;
}