/* 
Theme Name: VIM Theme
Theme URI: https://www.vimberkshires.org
Description: Custom theme for Volunteers in Medicine (Berkshires)
Version: 1.1
Author: Andrew Liebchen, Deelux
Author URI: http://www.deeluxdesign.com
Tags: */

/*--------------------------- HTML5 reset */

html, body, body div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, input, textarea
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  list-style: none;
  outline: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

/*--------------------------- GENERAL */

body, html { 
	height: 100%;
    background-color: rgb(0,51,98);
    color: rgb(0,51,98);
	font-family: 'Droid Sans', helvetica, arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
}

h1, h2, h3, h4 { 
	color: #BF0B34; /* old color */
    color: rgba(0,51,98,1.0);
	font-family: 'Droid Serif', serif;
}

h2 {
	padding-bottom: 20px;
	font-size: 30px;
	font-weight: bold;
	line-height: 30px;
	font-weight: 300;
}

h3 {	
	padding-bottom: 5px;
	font-size: 22px;
	line-height: 30px;
	font-weight: 100;
}

h3 a {
	font-weight: 100;
}

h4 {
	color: #999;
	padding-bottom: 20px;
	font-size: 24px;
	font-weight: bold;
	font-style: italic;
}

h5 {
	padding-bottom: 10px;
	font-size: 18px;
}

p {
	padding-bottom: 15px;
}

img { }

a {
    color: rgb(0,51,98);
	font-weight: bold;
	text-decoration: none;
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
}

a:hover {
	text-decoration: underline;
}

a:active { }

a img { 
	border: none; 
}

.clear { 
	clear: both; 
}

.mobile {
	display: none;
}

.wrapper { 
	height: 100%;
}

/*--------------------------- LEFT-HAND SLIDES */

.logo_container {
	width: 25%;
	height: 289px;
    background-color: rgb(0,51,98);
	position: fixed;
	float: left;
	cursor: pointer;
}

.slide_container {
	width: 25%;
	height: 100%;
	background-color: #CCC;
	position: fixed;
	float: left;
	cursor: pointer;
    height: calc(100% - 289px);
    top: 289px;
}

.main .logo, .logo_container .logo {
	width: 60%;
	height: auto;
	position: relative;
	z-index: 999;		
	display: block;
    max-width: 200px;
    min-width: 180px;
    margin: 20px auto;
}

.banner {
    float: left;
    margin: 15px 15px 15px 30px;
    
}

.mask {
	width: 110%;
	height: 100%;
	background: url('images/bg_mask.png') top left;
	position: absolute;
	top: 0;
	left: -10%;
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
}

#slides li {
	width: 100%;
	height: 100%;
	background-color: rgb(207, 224, 235);
    background-color: rgb(0,51,98);
	border-left: 1px solid #CCC;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8;
	overflow: hidden;
	display: none;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
		-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
		-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#slides .current {
	display: block;
	z-index:10;
}

#slides .last-active {
	z-index: 9;
}

#slides img {
	width: auto;
    max-width: none;
	height: 100%;
	position: absolute;
	left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
	/*opacity: 0.5;	
		filter: alpha(opacity=50);
		-moz-opacity: 0.5;*/	
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
}

#slides:hover img {
	opacity: 1;	
		filter: alpha(opacity=100);
		-moz-opacity: 1;	
}

.info {
	width: 80%;
	padding: 10% 10% 10% 20%;
    background-color: rgba(164, 198, 220, 0.5);
	border-top: 2px solid rgba(255, 255, 255, 0.5);
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
	position: absolute;
	right: 0;
	bottom: 0;
}

.info h3 {
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
}

.info a {
	width: 100%;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.5);
	border: 1px solid #575756;
	color: #575756;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
	display: block;	
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
		-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
		-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.info a:hover {
	background-color: rgba(255, 255, 255, 0.9);
	color: #BF0B34;
	text-shadow: none;
}

.info h3 {
	font-size: 24px;
}

.info p {
	font-size: 18px;
	font-style: italic;
}

/* MAIN CONTENT */

.main {
	width: 75%;
	border-left: 1px solid #CCC;
	float: right;
	position: relative;
	z-index: 10;
	overflow: hidden;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.header {
	max-width: 920px;
	padding-right: 9999px;
	padding-bottom: 15px;
	margin-right: -9999px;
	
}

.header {
	padding-bottom: 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cfe0eb+0,a4c6dc+95,7ca1ba+100 */
    background: #cfe0eb; /* Old browsers */
    background: -moz-linear-gradient(top, #cfe0eb 0%, #a4c6dc 95%, #7ca1ba 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cfe0eb 0%,#a4c6dc 95%,#7ca1ba 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cfe0eb 0%,#a4c6dc 95%,#7ca1ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe0eb', endColorstr='#7ca1ba',GradientType=0 ); /* IE6-9 */    max-width: 100%;
    padding-right: 0;
    margin-right: 0;
    position: relative;
}

/*--------------------------- superheader menu */

.superheader {
	font-size: 16px;
	text-shadow: 0 1px 0 rgba(120,171,218,1.0);
	position:relative;
	z-index:9999;
    float: right;
    margin-top: 0;
    width: 97%;
    width: auto;
    padding: 5px 15px;
}

.superheader ul {
    float: right;
}

.superheader li {
	background-color: rgb(255,212,87);
    margin: 0 10px 0 0;
	float: left;
	position: relative;
    border: 1px solid rgba(225,182,57,1.0);
	text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
}

.superheader a {
	cursor: pointer;
    padding: 10px;
    color: rgb(0,51,98);
    background-color: rgb(255,212,87);
	text-align: center;
	text-decoration: none;
	display: block;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;		
	transition: all .2s;
	     -webkit-transition: all .2s; 
	     -moz-transition: all .2s;
}

.superheader a:hover {
    color: rgb(86,155,190);
}

.superheader .sub-menu {
    right: 0;
	background-color: rgb(255,212,87);
}

.superheader .sub-menu li a {
    width: 200px;
    text-align: right;
}

.superheader .sub-menu li {
    border: none;
    box-shadow: none;
}

.buy-now-button {
	font-size: 16px;
	text-shadow: 0 1px 0 rgba(120,171,218,1.0);
	position:relative;
	z-index:9999;
    width: 180px;
    padding-top: 5px;
    padding-bottom: 15px;
}

.buy-now-button a {
	cursor: pointer;
    padding: 10px;
    color: rgb(0,51,98);
    background-color: rgb(255,212,87);
	text-align: center;
	text-decoration: none;
	display: block;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;		
	transition: all .2s;
	     -webkit-transition: all .2s; 
	     -moz-transition: all .2s;
}

.buy-now-button a:hover {
    color: rgb(86,155,190);
}

/*--------------------------- navigation menu */

.nav {
	font-size: 16px;
    font-size: 20px;
	text-shadow: 0 1px 0 rgba(120,171,218,1.0);
	position:relative;
	z-index:9998;
    float: left;
    margin-top: 0;
    width: 97%;
    width: auto;
    padding: 5px 15px;
}

.nav li {
	margin: 0 10px 0 0;
	float: left;
	position: relative;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
}

.nav a {
	cursor: pointer;
    padding: 10px;
    color: rgb(0,51,98);
	text-align: center;
	text-decoration: none;
	display: block;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;		
	transition: all .2s;
	     -webkit-transition: all .2s; 
	     -moz-transition: all .2s;
}

.nav a:hover {
    color: rgb(86,155,190);
}

#search {
	width: 17%;
	height: 20px;
	padding: 5px 5px 5px 30px;
	background: #F0F0F0 url('images/bg_search.png') no-repeat 5% center;
	margin: 5px 0 0;
	color: #ACACAC;
	font-size: 12px;
	text-shadow: 0 1px 0 #FFF;
	float: right;
	display: block;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0 1px 0 #FFF, inset 0 1px 4px rgba(0, 0, 0, 0.3);
		-moz-box-shadow: 0 1px 0 #FFF, inset 0 1px 4px rgba(0, 0, 0, 0.3);
		-webkit-box-shadow: 0 1px 0 #FFF, inset 0 1px 4px rgba(0, 0, 0, 0.3);
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
    display: none;	
}


#search:focus {
	background-color: #FFF;
	color: #333;
}

.current-menu-item > a, .current-menu-item > a:hover, .current-menu-ancestor > a, .current-menu-ancestor > a:hover {
	background-color: rgb(164,198,220) !important;
	color: rgb(255,212,87);
}

li.current-menu-item, li.current-menu-item:hover, li.current-menu-ancestor, li.current-menu-ancestor:hover {
	border: none;
    box-shadow: none;
}

.sub-menu {
	font-size: 16px;
    padding: 10px 0;
    background-color:  rgba(164,198,220,1.0);
	position: absolute;
	z-index: 9999;
	top: 35px;
	display: none;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
}

.sub-menu li {
	margin: 0;
	float: none;
}

.sub-menu li a {
	height: 25px;
	width: 160px;
	padding: 0 10px;
	color: rgb(0,51,98);
	font-weight: normal;
	line-height: 25px;
	text-align: left;
	text-shadow: none;
	border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
}

.sub-menu li a:hover {
	background-color: rgb(0,51,98);
	color: #FFF;
}

.sub-menu > .current-menu-item > a {
	background-color: transparent;
	text-shadow: none;
	box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
}

.video_wrapper {
    border-top: 1px solid rgb(0,51,98);
    padding-top: 25px;
    margin-top: 5px;
}

.video {
	position: relative;
	padding-bottom: 52%;
	padding-top: 25px;
	height: 0;
    margin-top: 15px;
    margin-bottom: 10px;
}

.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
    border: 5px solid #FFF;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);	
}


/*--------------------------- content */

.content_container {
	width: 100%;
    background-color: rgb(207,224,235);
	position: relative;
	top: 0;
}

.content {
	width: 57%;
	padding: 20px 5%;
	position: relative;
	float: left;
	top: 0;
	bottom: 0;
}

.home h2 {
	font-size: 40px;
	font-weight: 100;
	line-height: 40px;
}

.template_bio .content {
	margin-top: 0;
}

.intro {
	width: 96%;
	float: left;
    margin-left: 2%;
    margin-top: 30px;
    width: 100%;
    margin-left: 0;
}

.home-content .widget_sow-button {
    border: 1px solid rgba(225,182,57,1.0);
	text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
		-moz-box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
		-webkit-box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
}

.post {
	padding-bottom: 10px;
	border-bottom: 1px dotted #CCC;
	margin-bottom: 20px;
}

.post .thumbnail {
	width: 110px;
	height: 110px;
	border: 5px solid #FFF;
	margin-right: 20px;
	display: block;
	float: left;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.content ul, .content ol {
	margin-bottom: 20px;
}

.content li {
	margin: 0 0 5px 20px;
	list-style: disc;
}

blockquote {
	margin-left: 20px;
}

/*--------------------------- sidebar and whatsnew*/

.sidebar-container {
    background-color: rgba(207,224,235,1.0);
}

.sidebar {
	width: 28%;
	padding: 20px 2.5% 20px 0;	
    color: rgb(0,51,98);
	font-size: 12px;
	line-height: 20px;
	float: left;
	position: relative;
}

.sidebar h3 {
    color: rgb(0,51,98);
}

.sidebar li {
	padding-bottom: 20px;
	border-bottom: 1px solid rgb(0,51,98);	
	margin-bottom: 20px;
}

.sidebar li:last-child {
	padding-bottom: 0;
	border: none;
	margin-bottom: 0;
	box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
}

.sidebar .thumbnail {
	line-height: 0;
    width: 100%;
	height: auto;
	margin: 5px 0 15px 0;
    border-bottom: none;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.sidebar .thumbnail img {
	width: calc(100% - 10px);
    border: 5px solid #fff;
	border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
}

.sidebar p {
	text-align: left;
    padding-bottom: 10px;
}

.sidebar p:last-child {
    padding-bottom: 0;
}

.whatsnew {
    border-bottom: 1px solid rgb(0,51,98);
    padding-bottom: 30px;	
}

.whatsnew .post {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.whatsnew h4 {
	padding: 0;
    padding-bottom: 15px;
	font-size: 22px;
	color: #999;
    color: rgb(86,155,190);
    font-style: italic;
    line-height: 30px;
}

.whatsnew h5 {
    padding-top: 10px;
}

.whatsnew p:last-child {
    padding-bottom: 0;
    margin-bottom: -5px;
}

/*--------------------------- support */

.home .support {
    width: 31%;
    float: right;
    margin-right: 2%;
}

.support {
	color: #57461E;
	font-size: 16px !important;
	line-height: 20px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.support h3 {
	font-weight: normal;
}

.thumbnail {
	width: 31%;
	height: 140px;
	border-bottom: 1px solid #FFF;
	background-repeat: no-repeat;
	margin-right: 2%;
	overflow: hidden;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6);
		-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6);
		-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6);
	float: left;
	overflow: hidden;
	position: relative;	
}

.support ul {
	width: 100%;
	margin: 24px 0 0;
	padding: 0;
	background-color: transparent;
}

.support li {
    width: 100%;
	padding: 0;
	margin: 0;
	margin-right: 2%;
    margin-top: 15px;
	float: left;
	list-style: none;
}

.support li:last-child {
	width: 100%;
	margin-right: 0;
}

.support ul a {
	height: 140px;
	border: 1px solid #57461E;	
	display: block;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0 1px 0 #FFF;
		-moz-box-shadow: 0 1px 0 #FFF;
		-webkit-box-shadow: 0 1px 0 #FFF;
	position: relative;
	overflow: hidden;
}

.support > ul > li > a > img {
	width: auto;
	height: 140px;
	position: absolute;
	border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
}

.support ul span, input[type=submit] {
	width: 90%;
	min-height: 20px;
	padding: 10px 0 10px;
	margin: -21px 5% 0;
	background-color: #BF0B34;
	background-color: rgba(191, 11, 52, 0.7);
	border: 2px solid #61061A;
	color: #FFF;
	font-size: 18px;
	text-align: center;
	text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.4);
	position: absolute;
	top: 50%;
	z-index: 2;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	transition: all .2s;
	     -webkit-transition: all .2s; 
	     -moz-transition: all .2s;
}

input[type=image] {
	width: auto;
	height: auto;
	border: none;
	margin-bottom: 20px;
	box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
}

.support ul a:hover {
	text-decoration: none;
}

.support ul a:hover span, .support_link:hover, input[type=submit]:hover {
	text-decoration: none;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#BF0B34), to(#D86D83));
	background-image: -moz-linear-gradient(90deg, #BF0B34 0%, #D86D83 100%);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
		-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
		-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.support_link:hover {
	border: 1px solid #61061A !important;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
		-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
		-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.support ul a:active span, .support_link:active {
	background-image: -webkit-gradient(linear, left bottom, left top, from(#D86D83), to(#BF0B34));
	background-image: -moz-linear-gradient(90deg, #BF0B34 100%, #D86D83 0%);
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.2) !important;
		-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.2) !important;
		-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.social_links {
	margin-top: 0 !important;
}

.social_links li {
	width: 100% !important;
	padding: 0;
	border-bottom: none;
	margin-bottom: 5px;
	float: none;
	list-style: none;
	box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
}

.social_links li a, .sidebar .support_link {
	min-height: 20px;
	padding: 10px;
	border: 1px solid #AA9C7E;
    background-color: rgb(0,51,98);
	color: rgb(255,212,87);
	font-size: 16px;
	line-height: 20px;
	text-align: left;
	display: block;
    border: 1px solid rgb(86,155,190);
	text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
		-moz-box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
		-webkit-box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
	transition: all .3s;
	     -webkit-transition: all .3s; 
	     -moz-transition: all .3s;
}

.social_links li a {
	height: 21px;
}

.social_links li a.newsletter::before {
  content: "\f199";
  font-family: "FontAwesome";
  font-size: 225%;
  vertical-align: middle;
  padding-right: 15px;
}

.social_links li a.facebook::before {
  content: "\f082";
  font-family: "FontAwesome";
  font-size: 225%;
  vertical-align: middle;
  padding-right: 15px;
}

.social_links li a.youtube::before {
  content: "\f166";
  font-family: "FontAwesome";
  font-size: 225%;
  vertical-align: middle;
  padding-right: 15px;
}

.social_links li:last-child{
	margin-bottom: 0;
	padding-bottom: 0;
}

.social_links a:hover, a.support_link:hover {
	text-decoration: none !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	border: 1px solid #2D2E80;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#1D71B4), to(#77A8D0));
	background-image: -moz-linear-gradient(90deg, #1D71B4 0%, #77A8D0 100%);
}

.social_links a:active, a.support_link:active {
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(255, 255, 255, 0.2);	
		-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(255, 255, 255, 0.2);
		-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(255, 255, 255, 0.2);
	background-image: -webkit-gradient(linear, left bottom, left top, from(#77A8D0), to(#1D71B4));
	background-image: -moz-linear-gradient(90deg, #1D71B4 100%, #77A8D0 0%);
}

.sidebar .support_link {
	font-size: 18px;
	text-align: center;
    margin-top: 15px;
}

/*--------------------------- woocommerce */

.woocommerce-breadcrumb {
    display: none;
}

.woocommerce .shop {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cfe0eb+0,a4c6dc+50,cfe0eb+100 */
    background: #cfe0eb; /* Old browsers */
    background: -moz-linear-gradient(top, #cfe0eb 0%, #a4c6dc 50%, #cfe0eb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cfe0eb 0%,#a4c6dc 50%,#cfe0eb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cfe0eb 0%,#a4c6dc 50%,#cfe0eb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe0eb', endColorstr='#cfe0eb',GradientType=0 ); /* IE6-9 */
    padding: 30px;
}

.woocommerce-products-header h1 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
    padding-bottom: 20px;
}

.product_meta {
    display: none;
}

.woocommerce .shop ul.products li.product .woocommerce-loop-category__title, .woocommerce .shop ul.products li.product .woocommerce-loop-product__title, .woocommerce .shop ul.products li.product h3 {
    font-family: 'Droid Sans', helvetica, arial, sans-serif;
    font-weight: bold;
    font-size: 1.25em;
}

.woocommerce .shop div.product .product_title {
    font-family: 'Droid Sans', helvetica, arial, sans-serif;
    font-weight: bold;
    font-size: 1.25em;
}

.woocommerce .shop ul.products li.product .price {
    font-size: 16px;
}

.wc-proceed-to-checkout .return-to-shop {
    text-align: center;
}

.return-to-shop {
    text-align: right;
}

.woocommerce .return-to-shop a.button {
    background-color: #dfdcde;
}

.checkout-tribute {
    font-size: 16px;
    font-weight: bold;
}

#order_comments {
    height: 10em;
}

/*--------------------------- footer */

.footer {
	padding: 40px 5% 0;
	background: #a99a7b url('images/bg_footer.gif') repeat-x;
	font-size: 14px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-shadow: none;
	clear: both;
	position: relative;
	z-index: 2;
}

.footer {
	padding-bottom: 20px;
    background:  rgb(164,198,220);
    background: #cfe0eb; /* Old browsers */
    background: -moz-linear-gradient(top, #cfe0eb 0%, #a4c6dc 95%, #7ca1ba 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cfe0eb 0%,#a4c6dc 95%,#7ca1ba 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cfe0eb 0%,#a4c6dc 95%,#7ca1ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe0eb', endColorstr='#7ca1ba',GradientType=0 ); /* IE6-9 */    max-width: 100%;
}

.footer .content_container {
	background-color: transparent;
	background-image: none;
}

.footer a {
	color: #E2DED3;
    color: rgba(0,51,98,1.0);
	color: rgba(86,155,190,1.0);
}

.left_column {
	width: 65%;
	color: rgba(86,155,190,1.0);
    color: rgba(0,51,98,1.0);
	margin-right: 4%;
	float: left;
}

.right_column {
	width: 30%;
	color: rgba(86,155,190,1.0);
    color: rgba(0,51,98,1.0);
	float: left;
}

.right_column p {
	text-align: left;
}

/*--------------------------- CLINICIAN PAGE */

.grid {
	width: 100%;
	padding: 0 !important;
	background-color: transparent !important;
	margin: 0 !important;
}

.grid li {
	width: 115px;
	height: 115px;
	border-bottom: 1px solid #FFF;
	margin: 10px 10px 0 0;
	overflow: hidden;
	float: left;
	position: relative;
	cursor: pointer;
	opacity: 0.8;
		filter: alpha(opacity=80);
		-moz-opacity: 0.8;	
	border-radius: 5px;
          -moz-border-radius: 5px;
          -webkit-border-radius: 5px;	
	transition: all .2s;
	     -webkit-transition: all .2s; 
	     -moz-transition: all .2s;
}

.grid li:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 5px;
	      -moz-border-radius: 5px;
	      -webkit-border-radius: 5px;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.6);
		-moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.6);
		-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.6);
}

.grid li.current {
	opacity: 1;
		filter: alpha(opacity=1);
		-moz-opacity: 1;	
}

.grid li.current:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-shadow: inset 0 0 0 5px #BF0B34;
		-moz-box-shadow: inset 0 0 0 5px #BF0B34;
		-webkit-box-shadow: inset 0 0 0 5px #BF0B34;
}

.grid li:hover:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-shadow: inset 0 0 0 5px rgba(191, 11, 52, 0.8);
		-moz-box-shadow: inset 0 0 0 5px rgba(191, 11, 52, 0.8);
		-webkit-box-shadow: inset 0 0 0 5px rgba(191, 11, 52, 0.8);
}

.grid a {
	width: 70%;
	height: 30px;
	margin: 0 15% 0;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#BF0B34), to(#D86D83));
	background-image: -moz-linear-gradient(90deg, #BF0B34 0%, #D86D83 100%);
	border: 2px solid #61061A;
	color: #FFF;
	font-weight: bold;
	font-style: italic;
	line-height: 30px;
	text-align: center;
	text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.4);
	position: absolute;
	bottom: 15%;
	opacity: 0;
		filter: alpha(opacity=0);
		-moz-opacity: 0;	
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
		-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
		-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
	transition: all .2s;
	     -webkit-transition: all .2s; 
	     -moz-transition: all .2s;
}

.grid a:hover {
	text-decoration: none;
}

.grid li:active a, .grid a:active {
	background-image: -webkit-gradient(linear, left bottom, left top, from(#D86D83), to(#BF0B34));
	background-image: -moz-linear-gradient(90deg, #BF0B34 100%, #D86D83 0%);
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.2) !important;
		-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.2) !important;
		-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.grid img {
	width: 115px;
	height: auto;
	border-radius: 5px;
	      -moz-border-radius: 5px;
	      -webkit-border-radius: 5px;
}

.grid li:hover {
	opacity: 1;
		filter: alpha(opacity=100);
		-moz-opacity: 1;	
}

.grid li:hover a {
	opacity: 1;
		filter: alpha(opacity=100);
		-moz-opacity: 1;	
}

.grid li.current:hover a{
	opacity: 0;
		filter: alpha(opacity=0);
		-moz-opacity: 0;	
}

.bios {
	width: 100%;
	padding: 0 0 20px !important;
	background-color: transparent !important;
	margin: 20px 0 0 0 !important;
}

.bios li {
	margin: 0 !important;
	list-style: none !important;
	display: none;
}

.bios li.current {
	display: block;
}

.pagination a {	
	height: 40px;
	padding: 0 10px;
	background-color: #CCC;
	border: 1px solid #C0C0C0;
	color: #666;
	font-weight: bold;
	line-height: 40px;
	display: block;
	border-radius: 5px;
	      -moz-border-radius: 5px;
	      -webkit-border-radius: 5px;
}

.pagination a:hover {
	color: #FFF;
	text-decoration: none;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#818181), to(#C0C0C0));
	background-image: -moz-linear-gradient(90deg, #818181 0%, #C0C0C0 100%);
}
	
.pagination a:active {
	background-image: -webkit-gradient(linear, left bottom, left top, from(#C0C0C0), to(#818181));
	background-image: -moz-linear-gradient(90deg, #818181 0%, #C0C0C0 100%);
}

.previous {
	float: left;	
}

.next {
	float: right;
}

/*--------------------------- WORDPRESS STUFF */

.aligncenter, .alignleft, .alignright {
	padding: 1%;
	background-color: #FFF;
	margin: 0 auto 20px;
	display: block;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
		-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);	
}

.aligncenter {
	width: 98%;
	height: auto;
}

.aligncenter img {
	display: block;
	margin: 0 auto;
}

.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 20px;
}

.wp-caption-text {
	padding: 5px 0 0;
	font-style: italic;
	text-align: center;
	font-size: 10px;
}

/* Google translate */

#google_translate_element {
	padding: 10px;
	background-color: #57461E;
    background: rgba(255,212,87,1.0);
    border: 1px solid rgba(225,182,57,1.0);
	text-shadow: none;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.4);
		-moz-box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.4);
		-webkit-box-shadow: 0px 1px 0 rgba(255, 255, 255, 0.4);
}

#google_translate_element:before {
	content: 'Translate this site into';
	padding-right: 10px;
	color: #FFF;
	line-height: 26px;
	float: left;
}

.goog-te-gadget {
	color: #FFF !important;
}

.goog-logo-link {
	color: #FFF !important;
}

/*--------------------------- FORMS */

input, textarea {
	width: 98%;
	height: 20px;
	padding: 10px 1%;
	margin-top: 5px;
	background-color: #FFF;
	border: 1px solid #CCC;
	color: #666;
	font-size: 16px;
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 1px 0 #FFF; 
		-moz-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 1px 0 #FFF;  
		-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 1px 0 #FFF;  
}

input[type="checkbox"], input[type="radio"] {
	width: auto;
	display: inline;
}

textarea {
	height: 60px;
}

input:focus, textarea:focus, select:focus {
	outline: none;
	box-shadow: 0 0 0 3px #BF0B34; 
		-moz-box-shadow: 0 0 0 3px #BF0B34;   
		-webkit-box-shadow: 0 0 0 3px #BF0B34; 
}

input[type=submit] {
	width: 120px;
	height: 40px;
	margin: 0;
	line-height: 16px;
	position: static;
}

input[type=submit]:hover {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
		-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
		-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

label {
	color: #999;
	font-size: 14px;
}

.widget form {
	padding: 20px 0 0;
	border-top: 4px solid #F0F0F0;
}

.wpcf7-not-valid-tip, .wpcf7-response-output {
	width: 504px !important;
	height: 20px !important;
	padding: 6px 5px !important;
	border:  none !important;
	background-color: #CB3C5D !important;
	color: #FFF !important;
	font-size: 16px !important;
	font-weight: bold !important;
	text-shadow: none !important;
	top: -6px !important;
	left: 4px !important;
	border-radius: 3px !important;
		-moz-border-radius: 3px !important;
		-webkit-border-radius: 3px !important;
}

.wpcf7-response-output {
	width: 510px !important;
	height: auto !important;
	margin: 0 0 20px !important;
	position: static !important;
	top: 0 !important;
	left: 0 !important;
	clear:  both !important;
}

.wpcf7-mail-sent-ok {
	background-color: #6BD9A3 !important;
}


/* MEDIA QUERIES */

@media screen and (max-width: 1100px) { /* IPAD LANDSCAPE */
	
	.content {
		width: 90%;
        position: static;
	}

    .sidebar {
        width: 90%;
        padding: 20px 5%;
        float: none;
        position: static;
    }

	#search {
		display: none;
	}
	
}

@media screen and (max-width: 800px) { /* IPAD PORTRAIT */
	
	.mobile {
		display: block;
	}
    
    .header {
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#003362+0,cfe0eb+100 */
        background: #003362; /* Old browsers */
        background: -moz-linear-gradient(top, #003362 0%, #cfe0eb 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #003362 0%,#cfe0eb 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #003362 0%,#cfe0eb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003362', endColorstr='#cfe0eb',GradientType=0 ); /* IE6-9 */
    }

    .menulink {
        display: none;
    }

	.slide_container {
		display: none;
	}
	
	.main {
		width: 100%;
	}
	
	.intro {
		width: 100%;
	}
	
    .home .sidebar ul {
        flex-direction: column;
    }
    
    .home .sidebar li {
        width: 100%;
    }
	
}

@media screen and (max-width: 480px) { /* IPHONE */

    .header {
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#003362+0,cfe0eb+100 */
        background: #003362; /* Old browsers */
        background: -moz-linear-gradient(top, #003362 0%, #cfe0eb 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #003362 0%,#cfe0eb 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #003362 0%,#cfe0eb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003362', endColorstr='#cfe0eb',GradientType=0 ); /* IE6-9 */
    }
    
    .banner {
		display: none;
	}
	
	h2 {
		font-size: 24px;
		line-height: 24px;
	}
	
    .superheader {
        position: relative;
        float: none;
        text-align: center;
        padding: 0;
    }
    
    .superheader ul {
        float: none;
        margin: 0 auto;
        display: inline-block;
    }
    
    .superheader li {
        border: 0;
        text-shadow: none;
        background-color: transparent;
    }
    
    .superheader ul li:last-child {
        margin: 0;
    }
    
    .superheader .sub-menu {
        display: none;
        background-color: transparent;
    }
    
    .superheader .sub-menu li a {
        text-align: center;
        padding: 5px 5px;
    }

	.header .mobile {
		position: relative;
	}
	
	.main .logo {
		width: 55%;
		margin: 15px 0 5px 15px;
		float: left;
	}
	
	.header .mobile a.logolink {
		padding: 0;
        color: #706F6F;
		text-align: center;
		text-decoration: none;
		text-shadow: 0 1px 0 #FFF;
		position: relative;
		display: inline-block;
	}

	.header .mobile a.menulink {
		padding: 10px;
		color: #FFF;
        background-color: rgb(86,155,190);
		text-align: center;
		text-decoration: none;
		border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-border-radius: 5px;	
		position: relative;
		display: inline-block;
        top: -20px;
        margin-left: 10px;
	}

	.header .mobile a.active {
		background-color: #FFF;
		color: rgb(86,155,190);
	}
	
	.nav {
		display: none;
        width: 92%;
        padding: 5px 4%;
		transition: all .2s;
		     -webkit-transition: all .4s; 
		     -moz-transition: all .4s;
	}
	
	.nav li, .sub-menu li {
		width: 100%;
		margin-bottom: 5px;
		position: static;
		float: none;
		border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-border-radius: 5px;
	}
	
	.nav li a, .sub-menu li a {
		width: 100% !important;
		padding: 10px 0;
		background-color: #FFF;
		color: rgb(0,51,98);
        text-shadow: none;
		text-align: center;
		text-decoration: none;
		display: block;
		border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-border-radius: 5px;
	}
	
	.sub-menu {
		width: 100%;
		padding: 0;
		background-color: transparent;
		margin: 10px 0 20px;
		position: static;
		display: none;
		border-radius: 0;
			-moz-border-radius: 0;
			-webkit-border-radius: 0;	
	}
	
	.sub-menu li a {
		background-color: rgb(86,155,190);
	}
	
	.main {
		width: 100%;
		min-width: 100%;
	}
	
	.video iframe {
		height: auto;
	}
	
	.content {
		padding: 20px 9999px 20px 20px;
	}
	
	.thumbnail {
		width: 100%;
		margin-bottom: 10px;
	}
	
	.support ul li {
		width: 100%;
		margin: 0 0 10px 0;
		float: none;
	}
	
	.support ul li:last-child {
		width: 100%;
	}
	
	.footer {
		padding: 20px 20px 0;
	}
	
	.left_column {
		width: 100%;
		float: none;
	}
	
	.right_column {
		width: 100%;
		float: none;
	}
	
	.page .header, .archive .header, .single .header, .search .header {
		padding-bottom: 6.25%;
	}
	
	.page .main, .archive .main, .single .main, .search .main {
		padding-bottom: 0;
		margin-bottom: 0;
	}
	
	.page .content, .archive .content, .single .content, .search .content {
		width: 87.5%;
		padding: 6.25%;
		margin-top: 0;
		float: none;
		box-shadow: none;
			-moz-box-shadow: none;
			-webkit-box-shadow: none;
	}
	
	.sidebar {
		width: 87.5%;
		padding: 6.25%;
		margin: 0;
		float: none;
	}
	
	.sidebar .thumbnail {
		width: 100%;
		background-size: auto 100% !important;
		margin: 0 0 10px 0;
	}
	
	.support_link {
		width: 94%;
	}
	
	.page .footer, .archive .footer, .single .footer, .search .footer {
		padding-bottom: 0;
		margin: 0;
	}
    
        li.product {
        min-width: 100%;
    }

}