/*
Theme Name: Andrews Laboratory Services Theme
Theme URI: htt/leoncalder.com/als/
Author: Ravenscroft and Calder
Author URI: http://leoncalder.com/
Description: The bespoke theme designed for Andrews Laboratory Services website
Version: 0.2
License: GNU General Public License v2 or later
License URI: htt/www.gnu.org/licenses/gpl-2.0.html

*/

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid\9;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top:   @caret-width-base dashed;
  border-top:   @caret-width-base solid ~"\9"; // IE8
  border-right: @caret-width-base solid transparent;
  border-left:  @caret-width-base solid transparent;
}



#navlogo .dropdown-menu li {
    float: none;
    padding: 3px;
    height: auto;
    text-align: left;
}

#navlogo ul {
	padding: 2px;
}

#navlogo .dropdown-menu ul {
    width: auto;
}

#footerbox .dropdown-menu {
 background-color: #848484;
 font-size:inherit;
 height: auto;
 left: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  width: auto;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}



.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: normal;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background: none;
  border: 0;
}

#footerbox .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: normal;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background: none;
  border: 0;
}

.dropdown-item:focus, .dropdown-item:hover {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}

.dropdown-item.disabled, .dropdown-item:disabled {
  color: #868e96;
  background-color: transparent;
}

.show > a {
  outline: 0;
}

.dropdown-menu.show {
  display: block;
}

body {
	font-family: Verdana, Arial, Geneva, helvetica, sans-serif;
	font-size: 13px;
	margin: 0px 0px 0px 0px;
	color: #000000;
	background-color: #ffffff;
}

header,h1 {
    color: #1d6cc3; 
    font-size: 28px;
}

.errormessages{
    background-color: #FF5555;
    color: #FFF;
}

#contentbox h2{
color: #1d6cc3; 
font-size: 28px; 
font-weight: normal;
}


#content{
    margin-left: 25px;
    margin-right: 25px;
}


a:link { text-decoration: none; color: #fff;}
a:visited {text-decoration: none; color: #fff;}
a:active {text-decoration: none; color: #fff;}
a:hover {text-decoration: none; color: #fff;}

header a, h1 a, header a:visited, h1 a:visited{
     color: #1d6cc3; 
    font-size: 28px;
   
}
.dropdown-menu.show a {color: #1d6cc3;}
#footerbox .dropdown-menu.show a {color: #fff;}



#navlogo li {
	list-style-type: none;
	float: left;
	padding: 7px;
	height: 17px;
	color: #ffffff;
	margin-left: 5px;
	font-size: 19px;
	text-align: center;
}

#navlogo a {
	border-bottom: 2px solid #ffffff;
}

#navlogo a:hover {
	color: #3586d0;
	border-bottom: 2px solid #3586d0;
}

#navigation {
	height: 67px;
	padding: 3px;
	background-image: url(images/topbarbg.png);
	background-repeat:repeat-x;
}

#secnavigation {
	width: 1055px;
	height: 20px;
	padding: 15px;
	margin: auto;
	background-image: url(images/secondnavhead.png);
	background-repeat:no-repeat;
}

#navcontainer {
	width: 1080px;
	display: block;
	overflow: hidden;
	margin: auto;
}

#homepageimg1 {
	margin: 15px 0px 0px 20px;
	float: left;
}

#homepageimg1:hover {
	opacity: 0.9;
}

#homepageimg2 {
	margin: 15px 0px 0px 15px;
	float: left;
}

#homepageimg2:hover {
	opacity: 0.9;
}

.social:hover {
	opacity: 0.7;
}

.button {
	width: 130px;	
	padding: 7px;
	color: #ffffff;
	font-size: 15px;
	text-align: center;
	background-color: #3586d0;
	border-radius: 10px;
	-moz-box-shadow: inset 0 0 20px 1px #164c7d;
	-webkit-box-shadow: inset 0 0 20px 1px #164c7d;
	box-shadow: inset 0 0 20px 1px #164c7d;
}

.button a:hover {
	color: #16248d;
}


.button2 {
	width: 130px;	
	float: right;
	padding: 7px;
	color: #ffffff;
	font-size: 15px;
	text-align: center;
	background-color: #3586d0;
	border-radius: 10px;
	margin-top: 16px;
	-moz-box-shadow: inset 0 0 20px 1px #164c7d;
	-webkit-box-shadow: inset 0 0 20px 1px #164c7d;
	box-shadow: inset 0 0 20px 1px #164c7d;
}

.button2 a:hover {
	color: #16248d;
}

#contentbox {
	width: 927px;
	display: block;
	overflow: hidden;
	background-color: #e5e5e5;
	border-top: 0px solid #ffffff;
	border-right: 3px solid #ffffff;
	border-bottom: 3px solid #ffffff;
	border-left: 3px solid #ffffff;
	box-shadow: 0px 5px 11px #888888;
	margin: auto;
	position: relative;
	border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}


#footerbox {
    clear: both;
	width: 927px;
	height: 260px;
	display: block;
	overflow: hidden;
 	bottom: 0;
 	right: 0;
	background-color: #4e4e4e;
	border-top: 3px solid #ffffff;
	-moz-box-shadow: inset 0 0 45px 5px #232323;
	-webkit-box-shadow: inset 0 0 25px 5px#232323;
	box-shadow: inset 0 0 45px 5px #232323;
}

#footerbox ul {
	height: 200px;
	width: 155px;
	color: #ffffff;
	margin-left:-15px;
}

#footerbox li {
	list-style-type: none;
	padding: 5px;
	width: 145px;
	border-bottom: 1px solid #868686;
}

#footerbox ul li:hover {
	padding: 5px;
	width: 145px;
	background-color: #414141;
}

#webdesign {
	width: 927px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 50px;
}

#webdesign a:link { text-decoration: none; color: #3586d0;}
#webdesign a:visited {text-decoration: none; color: #3586d0;}
#webdesign a:active {text-decoration: none; color: #3586d0;}
#webdesign a:hover {text-decoration: none; color: #3586d0;}


#contactusinfo {
	padding: 10px;
	float: right;
	width: 350px;
	color: #ffffff;
	border-radius: 10px;
	background-color: #434343;
	margin: 30px 0px 0px 0px;
	border-bottom: 1px solid #4f4f4f;
	-moz-box-shadow: inset 0 0 45px 5px #232323;
	-webkit-box-shadow: inset 0 0 25px 5px#232323;
	box-shadow: inset 0 0 45px 5px #232323;
}

#cfwc_contactform{
margin-left: 25px;
width: 400px;
}

#cfwc_contactform form{
    margin-left:auto;
    margin-right:auto;
    max-width: 500px;
    background: #F7F7F7;
    padding: 25px 15px 25px 10px;
    font: 12px Georgia, "Times New Roman", Times, serif;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border:1px solid #E4E4E4;

}

/* Basic Grey */

#cfwc_contactform form h1 {
    font-size: 25px;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom:1px solid #E4E4E4;
    margin: -10px -15px 30px -10px;;
    color: #1d82f1;
}
#cfwc_contactform form h1>span {
    display: block;
    font-size: 11px;
}
#cfwc_contactform form label {
    display: block;
    margin: 0px;
}
#cfwc_contactform form label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #888;
}

#cfwc_contactform form input[type="text"], #cfwc_contactform form input[type="email"], #cfwc_contactform form textarea, #cfwc_contactform form select {
    border: 1px solid #DADADA;
    color: #888;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px 3px 3px 5px;
    width: 70%;
    font-size: 12px;
    line-height:15px;
    box-shadow: inset 0px 1px 4px #ECECEC;
    -moz-box-shadow: inset 0px 1px 4px #ECECEC;
    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
}

#recaptcha_input_area input[type="text"] {
height: 18px;
}

#cfwc_contactform form textarea{
    padding: 5px 3px 3px 5px;
    height:100px;
}
#cfwc_contactform form select {
    background: #FFF url('down-arrow.png') no-repeat right;
    background: #FFF url('down-arrow.png') no-repeat right);
    appearance:none;
    -webkit-appearance:none; 
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height: 25px;
}

#cfwc_contactform form input[type="submit"] {
    background: #1d6cc3;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}

.get-a-quote h1 {
    font-size: 25px;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom:1px solid #E4E4E4;
    margin: -10px -15px 30px -10px;
    color: #888;
}
.get-a-quote h1>span {
    display: block;
    font-size: 11px;
}
.get-a-quote label {
    display: block;
    margin: 0px;
}
.get-a-quote label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #888;
}
.get-a-quote input[type="text"], .get-a-quote input[type="email"], .get-a-quote textarea, .get-a-quote select {
    border: 1px solid #DADADA;
    color: #888;
    height: 30px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px 3px 3px 5px;
    width: 70%;
    font-size: 12px;
    line-height:15px;
    box-shadow: inset 0px 1px 4px #ECECEC;
    -moz-box-shadow: inset 0px 1px 4px #ECECEC;
    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
}
.get-a-quote textarea{
	width: 387px;
	height: 170px;
    padding: 5px 3px 3px 5px;
}
.get-a-quote select {
    background: #FFF url('down-arrow.png') no-repeat right;
    background: #FFF url('down-arrow.png') no-repeat right);
    appearance:none;
    -webkit-appearance:none; 
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height: 25px;
}
.get-a-quote textarea{
    height:170px;
}
.get-a-quote .button {
    background: #1d6cc3;
    float: right;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}

.get-a-quote .instrument {
    background: #ff8f23;
    float: left;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
    margin-left: 86px;
}

#get-a-quote-box {
padding: 10px;
float: left;
width: 665px;
color: #000000;
border-radius: 10px;
background-color: #ffffff;
margin: 10px 0px 0px 120px;
border: 1px solid #dadada;
}

/* Alignment */

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
	margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
	margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
	margin-top: 7px;
	margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 17px;
	width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
	margin-bottom: 17px;
}

.wp-caption {
	margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption {
	color: #767676;
}

.wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	margin: 9px 0;
}

div.wp-caption .wp-caption-text {
	padding-right: 10px;
}

div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
	padding-right: 0;
}

.wp-smiley {
	border: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

