/*
	Theme Name: CSIP
	Description: A customized theme for the Center for Safe Internet Pharmacies, based on the HTML5 Boilerplate WordPress base theme (http://wordpress.org/extend/themes/boilerplate). Based on work by Aaron T. Grogg, Paul Irish, Divya Manian, and Elliot Jay Stocks.
	Theme URI: http://www.safemedsonline.org/
	Author: Tracy Rotton
	Author URI: http://www.taupecat.com/
	Version: 1.0
	Tags: custom-menu, editor-style, theme-options, threaded-comments, sticky-post, microformats, rtl-language-support, translation-ready
    License: Boilerplate: GNU General Public License v2.0, CSIP: Copyright 2012 Perisphere Media
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* @group Variables */
/* @end */
/* @group Mixins */
.wrapper {
  margin: 0 auto;
  width: 1180px;
}
.intro-border {
  border-bottom: 2px solid #d8d8d8;
  margin: 0 0 31px;
  padding-bottom: 26px;
}
.body-typography {
  font-size: 0.875em;
  line-height: 1.42857142857143;
}
/* @end */
/* =============================================================================
   Fonts
   ========================================================================== */
@font-face {
  font-family: 'AlternateGothic';
  src: url('webfonts/230441_0_0.eot');
  src: url('webfonts/230441_0_0.eot?#iefix') format('embedded-opentype'), url('webfonts/230441_0_0.woff') format('woff'), url('webfonts/230441_0_0.ttf') format('truetype');
}
/** START HTML5 Boilerplate CSS **/
/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */
/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
audio:not([controls]) {
  display: none;
}
[hidden] {
  display: none;
}
/* =============================================================================
   Base
   ========================================================================== */
/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
html,
button,
input,
select,
textarea {
  font-family: sans-serif;
  color: #222;
}
body {
  background: url('images/background-shading.png') no-repeat center 74px;
  color: #272727;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1em;
  line-height: 1.4;
  margin: 0;
}
/* =============================================================================
   Links
   ========================================================================== */
a {
  color: #008be1;
  text-decoration: none;
}
a.more-link {
  font: 18px/1.66666666666667 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
}
a.more-link:after {
  content: '\00A0\00BB';
}
a:visited,
a:hover,
a:focus {
  text-decoration: underline;
}
/* =============================================================================
   Typography
   ========================================================================== */
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
}
dfn {
  font-style: italic;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
/* Redeclare monospace font family: h5bp.com/j */
pre,
code,
kbd,
samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}
/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
q {
  quotes: none;
}
q:before,
q:after {
  content: "";
  content: none;
}
small {
  font-size: 85%;
}
/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* =============================================================================
   Lists
   ========================================================================== */
ul,
ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}
ul li {
  margin-bottom: 10px;
}
dd {
  margin: 0 0 0 40px;
}
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}
/* =============================================================================
   Embedded content
   ========================================================================== */
/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}
/*
 * Correct overflow not hidden in IE9
 */
svg:not(:root) {
  overflow: hidden;
}
/* =============================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0;
}
/* =============================================================================
   Forms
   ========================================================================== */
form {
  margin: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/* Indicate that 'label' will shift focus to the associated form element */
label {
  cursor: pointer;
}
/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */
legend {
  border: 0;
  *margin-left: -7px;
  padding: 0;
  white-space: normal;
}
/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */
button,
input {
  line-height: normal;
}
/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
  *overflow: visible;
}
/*
 * Re-set default cursor for disabled elements
 */
button[disabled],
input[disabled] {
  cursor: default;
}
/*
 * Consistent box sizing and appearance
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

input#s {
  border-radius: 4px;
  background: #fff url(images/icon-search.png) no-repeat 192px 5px;
  border: solid 1px #fff;
  padding: 6px 6px 6px 8px;
  font-size: 11px;
  color: #333;
  min-width: 200px;
  width: auto !important;
  margin: 0 !important;
}

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
/* Colors for form validity */
input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}
/* =============================================================================
   Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td {
  vertical-align: top;
}
/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: black;
  padding: 0.2em 0;
}
/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */
.super-header {
  background-color: #004976;
  color: #fff;
  height: 48px;
  margin-bottom: 20px;
}
.super-header .wrapper h1 {
  color: #fff;
  float: left;
  font: normal 1em/3 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
.super-header .wrapper aside.search-form {
  background-color: #fff;
  border-radius: 4px;
  float: right;
  height: 27px;
  margin-top: 10px;
  overflow: hidden;
}
.super-header .wrapper aside.search-form form#searchform input.field {
  border: none;
  font-size: 10px;
  height: 11px;
  line-height: 11px;
  padding: 8px 12px;
  height: 27px;
  width: 190px;
  margin-top: -10px;
}
.super-header .wrapper aside.search-form .field:focus,
.super-header .wrapper aside.search-form .submit:focus {	
	outline: none;
}
.super-header .wrapper aside.search-form .submit {
  background: transparent url('images/icon-search.png') no-repeat center center;
  border: none;
  display: inline-block;
  height: 27px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  text-indent: 100%;
  white-space: nowrap;
  width: 27px;
}
.top-button {
  background-color: #ee2737;
    font: normal 1.125em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
    color: #fff;
    display: inline-block;
    padding: 15px;
    text-transform: uppercase;
    z-index: 500;
    position: relative;
    float: left;
    text-decoration: none;
    margin-right: 3px;
}
.top-button:hover {
  text-decoration: none;
}
.wrapper.main-content {
  background-color: #fff;
}
.wrapper.main-content .logo {
  height: 80px;
  margin: -12px auto 0;
  position: relative;
  width: 250px;
  z-index: 50;
}

.logo a {
  max-width: 100%;
  display: block;
}

.logo a > img {
  max-width: 100%;
  position: relative;
  top: -4px;
}

#desktop-logo {
  display: block;
}

#mobile-logo {
  display: none;
}

@media only screen and (max-width: 1001px) {
  #desktop-logo {display: none;}
  #mobile-logo {display: block;}
}

.wrapper.main-content nav#access {
  background-color: #ee2737;
  font-size: 1.25em !important;
  line-height: 1em;
  font-family: AlternateGothic, "Arial Narrow", Arial, sans-serif;
  height: 54px;
  margin: -67px 0 20px;
  text-transform: uppercase;
}
.wrapper.main-content nav.primary .primary-nav > ul > li {
  background: url('images/nav-divider.png') no-repeat left center;
  float: left;
  position: relative;
}
.wrapper.main-content nav.primary .primary-nav > ul > li a {
  color: #fff;
  display: block;
  line-height: 54px;
  padding: 0 30px;
  text-decoration: none;
}

.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li {
  background-color: #7f2737;
  transition: ease all 0.5s;
}

.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li a {
  line-height: 25px;
  padding: 13px 0 !important;
}

.wrapper.main-content nav.primary .primary-nav > ul > li.current-menu-parent,
.wrapper.main-content nav.primary .primary-nav > ul > li.current-page-ancestor,
.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li.current-menu-item {
  background-color: #004976;
} 

.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li:hover {
  background-color: #ee2737;
}

.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li {
  margin-bottom: 0;
}

.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu {
  background-color: #7f2737;
  display: none;
  font: normal 0.8em/1 Helvetica, Arial, sans-serif;
  position: absolute;
  text-transform: none;
  z-index: 50;
}
.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li a {
  border-bottom: 1px dotted #bb7073;
  display: block;
  margin: 0 20px;
  padding: 0;
  width: 190px;
  transition: ease all 0.5s;
}
.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu li:last-of-type a {
  border-bottom: none;
}
.wrapper.main-content nav.primary .primary-nav > ul > li ul.sub-menu ul {
  display: none;
}
.wrapper.main-content nav.primary .primary-nav > ul > li:hover {
  background-color: #7f2737;
}
.wrapper.main-content nav.primary .primary-nav > ul > li.current_page_item > a {
  background-color: #004976;
}
.wrapper.main-content nav.primary .primary-nav > ul > li:first-child {
  background-image: none;
}
.wrapper.main-content nav.primary .primary-nav.left {
  float: left;
}
.wrapper.main-content nav.primary .primary-nav.left > ul > li ul.sub-menu {
  left: 0;
}
.wrapper.main-content nav.primary .primary-nav.left > ul > li:hover ul.sub-menu {
  display: block;
}
.wrapper.main-content nav.primary .primary-nav.right {
  float: right;
}
.wrapper.main-content nav.primary .primary-nav.right > ul > li ul.sub-menu {
  right: 0;
}
.wrapper.main-content nav.primary .primary-nav.right > ul > li:hover ul.sub-menu {
  display: block;
}
.main-column {
  float: left;
  margin: 0 20px;
  width: 700px;
}
.home .main-column h1 {
  background-color: #ee2737;
  color: #fff;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0;
  padding: 12px 10px;
  text-transform: uppercase;
}
.home .main-column p {
  font-size: 14px;
  line-height: 1.42857142857143;
}
.home .main-column .slideshow {
  border: 3px solid #bcbec0;
  height: 425px;
  overflow: hidden;
  position: relative;
  width: 694px;
}
.rev_slider_wrapper {
  /*border: 3px solid #bcbec0;*/
}

/*#rev_slider_1_1_wrapper {
  width: 99.2%;
}*/

.home .main-column .slideshow .slide {
  background: no-repeat 0 0;
  color: #fff;
  height: 305px;
  padding: 120px 310px 0 37px;
  text-align: left;
  width: 347px;
}

.home .main-column .slideshow .slide .slide-overlay {
  background: rgba(0,0,0,.4);
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.home .main-column .slideshow .slide .tagline {
  color: #d0d0d0;
  font: normal 0.875em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0;
  text-transform: uppercase;
  z-index: 500;
  position: relative;
}
.rev_slider .tagline {
  color: #d0d0d0 !important;
  font-family: AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0;
  font-weight: normal !important;
  text-transform: uppercase !important;
  z-index: 500;
  position: relative;
}
.home .main-column .slideshow .slide h1 {
  background: none;
  color: #fff;
  font-size: 2.25em;
  margin: 0 0 16px;
  padding: 0;
  z-index: 500;
  position: relative;
}
.rev_slider .slideH1 {
  font-family: AlternateGothic, "Arial Narrow", Arial, sans-serif;
  color: #fff !important;
  z-index: 500;
  position: relative;
  font-weight: normal !important;
  text-transform: uppercase !important;
}

.home .main-column .slideshow .slide p {
  position: relative;
  z-index: 500;
}

.rev_slider .slideP {
  font-family: Helvetica, Arial, sans-serif;
}

.home .main-column .slideshow .slide a.read-more,
section.about p a.read-more,
.rev_slider a.read-more, .more-link-button {
  background-color: #008be1;
  font: normal 1.125em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  color: #fff;
  display: inline-block;
  padding: 15px;
  text-transform: uppercase;
  z-index: 500;
  position: relative;
}
.home .main-column .slideshow .slide a.read-more:hover,
section.about p a.read-more:hover,
.rev_slider a.read-more:hover,
.home .main-column .slideshow .slide a.read-more:active,
section.about p a.read-more:active,
.rev_slider a.read-more:active,
.home .main-column .slideshow .slide a.read-more:focus,
section.about p a.read-more:focus,
.rev_slider a.read-more:focus {
  text-decoration: none;
}
.home .main-column .slideshow ul.pagination {
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.39);
  border-radius: 100em;
  bottom: 38px;
  height: 28px;
  left: 47%;
  margin: 0 auto;
  padding: 0 5px;
  position: absolute;
  z-index: 20;
}
.home .main-column .slideshow ul.pagination li {
  display: block;
  float: left;
  list-style: none;
}
.home .main-column .slideshow ul.pagination li a {
  background: url('images/slideshow-dots.png') no-repeat 8px 8px;
  display: block;
  height: 28px;
  opacity: 0.3;
  overflow: hidden;
  padding: 0;
  text-indent: 200%;
  white-space: nowrap;
  width: 28px;
}
.home .main-column .slideshow ul.pagination li.current a {
  opacity: 1;
}
.gyges .tp-bullet {
  border: none !important;
}
.gyges.tp-bullets:before {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.39) !important;
  border-radius: 30px !important;
  padding: 8px 20px !important;
  margin-left: -20px !important;
  margin-top: -8px !important;
}

.gyges .tp-bullet {
  background: rgba(255,255,255,0.6) !important;
}

.gyges .tp-bullet:hover, .gyges .tp-bullet.selected {
  background: rgba(255,255,255,1) !important; 
}

.home .main-column .about {
  background-color: #fffef2;
  border: solid #bcbec0;
  border-width: 0 3px 3px;
  margin-bottom: 20px;
  padding: 37px;
}
.home .main-column .about h1 {
  background: none;
  color: #ee2737;
  font-size: 1.875em;
  line-height: 1;
  margin: 0 0 18px;
  padding: 0;
  text-transform: uppercase;
}
.home .main-column .about p {
  font-size: 1.125em;
  line-height: 1.33333333333333;
  margin: 0;
}

@media screen and (min-width: 1180px) {
  .home .main-column .home-half-block {
    float: left;
    width: 48.5%;
    margin-left: 0;
    margin-right: 20px;
    margin-bottom: 30px;
  }

  .home .main-column #home-right-column {
    margin-left: 0;
    margin-right: 0;
    float: right;
  }
}

.home .main-column .vbyb h1 {
  border-top: solid 4px #00d7ff;
  background: #f2f2f2 !important;
  color: #00d7ff;
  font: normal 1.45em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

.home .main-column .somm h1 {
  border-top: solid 4px #1e0faf;
  background: #f2f2f2 !important;
  color: #1e0faf;
  font: normal 1.45em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

aside.vbyb h1 {
  border-top: solid 4px #00d7ff !important;
  background: #f2f2f2 !important;
  color: #00d7ff !important;
}

aside.somm h1 {
  border-top: solid 4px #1e0faf !important;
  background: #f2f2f2 !important;
  color: #1e0faf !important;
}

.home-half-block .widget-text {
  padding: 10px;
  border-left: solid 1px #e5e5e5;
  border-right: solid 1px #e5e5e5;
  border-bottom: solid 1px #e5e5e5;
  min-height: 280px;
}

.home-half-block .widget-text p:first-of-type {
  margin-top: 0;
}

.home-half-block.somm img {
  max-width: 150px;
}

.home .main-column .home-page-block {
  float: left;
  width: 300px;
  margin-right: 20px;
}

.home .main-column .home-page-block:last-child {
  margin-right: 0;
}
.home .main-column .home-page-block .content {
  border-bottom: 1px dotted #ccc;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.home .main-column .home-page-block .content ul {
  margin: 0;
  padding: 0;
}
.home .main-column .home-page-block .content ul li {
  border-top: 1px dotted #ccc;
  list-style-type: none;
  margin-top: 20px;
/*  padding-top: 20px; */
  padding-top: 40px;
}
.home .main-column .home-page-block .content ul li:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 10px;
}
.home .main-column .home-page-block .content .icon {
  margin: 0 0 -22px;	
}
.home .main-column .home-page-block .content .date {
  color: #666;
  font-size: 12px;
  padding: 0 0 0 0;
/*  padding: 0 0 0 35px; */
  /* 12/16 */

  font-weight: bold;
  line-height: 1.66666666666667;
  /* 20/12 */

  text-transform: uppercase;
}
.home .main-column .home-page-block .content .title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.125;
  padding: 0 0 0 0;
  /* padding: 0 0 0 35px; */
  /* 18/16 */

}
.home .main-column .home-page-block .content .excerpt p {
  font-size: 14px;
  margin: 5px 0 0;
  padding: 0 0 0 0;
 /* padding: 0 0 0 35px; */
}

.social-box {
  float:right;
  width: 522px;

}

#social-media-stream {
  margin: 20px;
  width: auto;
  float: none;
  clear: both;
}

@media screen and (min-width: 1180px) {
  #social-media-stream {
    margin: 20px 20px 20px 0;
    width: 35%;
    float: right;
    clear: none;
  }
}

#social-media-stream .widget_twitter ul {
  list-style-type: none;
  margin-left: 0;
  margin-top: 0;
  padding: 10px !important;
  border-left: solid 1px #e5e5e5;
  border-right: solid 1px #e5e5e5;
  border-bottom: solid 1px #e5e5e5;
}

#social-media-stream .widget_twitter ul li {
  font-size: 0.8125em;
  padding-bottom: 10px;
  border-bottom: dotted 1px #e5e5e5;
}

#social-media-stream .widget_twitter ul li:last-of-type {
  border-bottom: none;
}

#social-media-stream h1,
#partners-header h1 {
  border-top: solid 4px #004976;
  background-color: #f2f2f2 !important;
  color: #004976;
  font: normal 1.5em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
  margin: 0;
  padding: 12px 10px;
  text-transform: uppercase;
}

#content .wall-outer .dcsns-toolbar {
  display: none;
}

.dcwss.dc-feed {
  padding: 10px 10px 15px 10px !important;
}

.dcwss.dc-feed .dcsns-toolbar {
  top: -10px;
}

.dcwss.dc-feed.dc-feed-light {
  background: #f2f2f3 !important;
  border-radius: 0;
}

.dcwss.dc-feed .stream li {
  display: inline-block !important;
  max-width: 217px !important;
  margin: 0 10px 10px 0 !important;
  vertical-align: top;
}

@media screen and (min-width: 1180px) {
.dcwss.dc-feed .stream li .inner {max-height: 138px; min-height: 138px; overflow: hidden;}
}

#promotional-banner {
  background: #ee2737;
  padding: 20px 50px 20px 160px;
  position: relative;
  text-align: left;
  margin: 0 0 20px 0;
  color: #fff;
  min-height: 80px;
}

#promotional-banner > a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
}

#promotional-banner-two {
  background: #4bb753;
  padding: 20px 50px 20px 160px;
  position: relative;
  text-align: left;
  margin: 0 0 20px 0;
  color: #fff;
  min-height: 80px;
}

#promotional-banner-two > a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
}

#promotional-banner-three {
  background: #00a8ac;
  padding: 20px 50px 20px 160px;
  position: relative;
  text-align: left;
  margin: 20px 0 20px 0;
  color: #fff;
  min-height: 80px;
}

#promotional-banner-three > a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
}
.opioid-sidebar {
  background: #ee2737 !important;
  color: #ffffff !important;
}

.ms-sidebar {
  background: #4bb753 !important;
  color: #ffffff !important;
}

.techtogether-sidebar {
  background: #00a8ac !important;
  color: #fff !important;
}

.opioid-sidebar h1 {
  border-top: none !important;
  background: #ee2737 !important;
  color: #ffffff !important;
}

.ms-sidebar h1 {
  border-top: none !important;
  background: #4bb753 !important;
  color: #ffffff !important;
}

.techtogether-sidebar h1 {
  border-top: none !important;
  background: #00a8ac !important;
  color: #fff !important;
}

.opioid-sidebar h1 a,
.opioid-sidebar h1 a:hover,
.ms-sidebar h1 a,
.ms-sidebar h1 a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

.techtogether-sidebar h1 a,
.techtogether-sidebar h1 a:hover {
  color: #fff !important;
  text-decoration: none;
}

.opioid-sidebar .widget-text,
.ms-sidebar .widget-text,
.techtogether-sidebar .widget-text  {
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  text-align: center;
  padding-bottom: 15px !important;
}

.opioid-sidebar .widget-text img {
  display: block;
  margin: 0 auto;
  transform: scale(0.8);
}

.ms-sidebar .widget-text img {
  display: block;
  margin: 0 auto;
  width: 130px;
}
.techtogether-sidebar .widget-text img {
  display: block;
  margin: 0 auto 0;
  width: 130px;
}

.opioid-sidebar .widget-text .learn-more-btn,
.ms-sidebar .widget-text .learn-more-btn {
  display: block;
  background: transparent;
  border: solid 1px #ffffff;
  padding: 10px 0;
  text-transform: uppercase;
  margin: 20px 0 0;
}

.opioid-sidebar .widget-text .learn-more-btn a,
.ms-sidebar .widget-text .learn-more-btn a {
  color: #fff;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

.techtogether-sidebar .widget-text .learn-more-btn {
  display: block;
  background: #ffffff;
  border: solid 1px #ffffff;
  padding: 10px 0;
  text-transform: uppercase;
  margin: 20px 0 0;
}

.techtogether-sidebar .widget-text .learn-more-btn a {
  color: #00a8ac;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

#medicine-safe-banner {
  background: #4bb753 !important;
  color: #ffffff !important;
  padding: 30px 30px 10px;
  margin: 20px auto 40px;
  text-align: center;
}

#medicine-safe-banner h1 {
  font-size: 30px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  background: none !important;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

#medicine-safe-banner img {
  max-width: 75%;
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 480px) {
  #medicine-safe-banner img {
    max-width: 90%;
  }
}

#medicine-safe-banner a.learn-more-btn {
  color: #4bb753;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
  text-transform: uppercase;
  background: #fff;
  padding: 15px;
  display: inline-block;
}

/* Tech Together In Page Banner */

#techtogether-page-banner {
  background: #00a8ac !important;
  color: #fff !important;
  padding: 15px 30px 10px;
  margin: 20px auto 40px;
  text-align: center;
}

#techtogether-page-banner h1 {
  font-size: 30px;
  margin: 0 !important;
  padding: 0 !important;
  color: #000;
  background: none !important;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

#techtogether-page-banner img {
  max-width: 70%;
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 480px) {
  #techtogether-page-banner img {
    max-width: 90%;
  }
}

#techtogether-page-banner a.learn-more-btn {
  color: #00a8ac;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
  text-transform: uppercase;
  background: #fff;
  padding: 15px;
  display: inline-block;
}

/* End of Tech Together In Page Banner */

.opioid-media-sb h1.widget-title {
  border-top: solid 4px #b81e2b !important;
  background-color: #ee2737 !important;
  color: #ffffff !important;
}

a.ms-read-more {
  background-color: #4bb753;
  border: solid 1px #4bb753;
  font: normal 1.125em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  color: #fff;
  display: inline-block;
  padding: 15px;
  text-transform: uppercase;
  z-index: 500;
  position: relative;
}

a.ms-read-more:hover {
  background-color: #fff;
  border: solid 1px #4bb753;
  font: normal 1.125em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  color: #4bb753;
  display: inline-block;
  padding: 15px;
  text-transform: uppercase;
  z-index: 500;
  position: relative;
}

#promotional-banner h1,
#promotional-banner-two h1,
#promotional-banner-three h1 {
  font-size: 30px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  background: none !important;
}



#promotional-banner h1 a,
#promotional-banner-two h1 a,
#promotional-banner-three h1 a {
  color: #fff !important;
}

#promotional-banner h1 a:hover,
#promotional-banner-two h1 a:hover,
#promotional-banner-three h1 a:hover {
  text-decoration: none;
}

#promotional-banner img.op-banner-image {
  position: absolute;
  left: -25px;
  top: -10px;
  transform: scale(0.7);
}

#promotional-banner-two img.ms-banner-image {
  position: absolute;
  left: 25px;
  top: 6px;
  width: 105px;
}

#promotional-banner-three img.tt-banner-image {
  position: absolute;
  left: 18px;
  top: 5px;
  width: 116px;
}

#promotional-banner-three .textwidget {
  margin-right: 20px;
}

#promotional-banner .learn-more-btn,
#promotional-banner-two .learn-more-btn,
#promotional-banner-three .learn-more-btn  {
  display: block;
  background: transparent;
  position: absolute;
  right: 15px;
  top: 45px;
  text-transform: uppercase;
}

#promotional-banner .learn-more-btn a,
#promotional-banner-two .learn-more-btn a {
  color: #fff;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

#promotional-banner-three .learn-more-btn a {
  color: #000;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
}

#promotional-banner .learn-more-btn a:before,
#promotional-banner-two .learn-more-btn a:before {
  content:'\f0a9';
  font-family: 'FontAwesome';
  font-size: 32px;
  color: #fff;
  padding: 3px;
}

#promotional-banner-three .learn-more-btn a:before {
  content:'\f0a9';
  font-family: 'FontAwesome';
  font-size: 32px;
 /* color: #641b9e; */
  color: #fff;
  padding: 3px;
}

#promotional-banner .learn-more-btn a:hover,
#promotional-banner-two .learn-more-btn a:hover,
#promotional-banner-three .learn-more-btn a:hover {
  text-decoration: none;
}

#promotional-banner .learn-more-btn a:hover:before,
#promotional-banner-two .learn-more-btn a:hover:before,
#promotional-banner-three .learn-more-btn a:hover:before  {
  text-decoration: none;
  opacity: 0.7;
}

ul#home-social-bar {
  width: 135px;
  list-style: none;
  padding: 0;
  margin: .5em;
  float: left;
}
ul#home-social-bar li {
  height: 30px;
  width: 30px;
  padding: 0 0;
  display: inline-block;
}
ul#home-social-bar li a {
  background-image: url('/wp-content/themes/csip/images/csip-social-icon-bar-2x.png');
  background-size: 120px 60px;
  display: block;
  height: 30px;
  width: 30px;
}
ul#home-social-bar li a:hover {
  cursor: pointer;
}
ul#home-social-bar li a.csip-fb {
  background-position: -30px 0;
}
ul#home-social-bar li a.csip-fb:hover {
  background-position: -30px -30px;
}
ul#home-social-bar li a.csip-tw {
  background-position: 0 0;
}
ul#home-social-bar li a.csip-tw:hover {
  background-position: 0 -30px;
}
ul#home-social-bar li a.csip-yt {
  background-position: -180px 0;
}
ul#home-social-bar li a.csip-yt:hover {
  background-position: -180px -30px;
}
ul#home-social-bar li a.csip-gp {
  background-position: -210px 0;
}
ul#home-social-bar li a.csip-gp:hover {
  background-position: -210px -30px;
}

/* Sub Page */
.page {
  /* LegitScript form */

}
.page h1 {
  color: #004976;
  font: normal 3em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 10px 0 10px;
  text-transform: uppercase;
}
.page p,
.page li {
  /*font-size: 0.875em; original setting turned off to stop flux of size */
  font-size: inherit;
  line-height: 1.42857142857143;
}

.page ol {
  list-style-type: decimal;
  list-style-position: inside;
}

.page p.intro {
  color: #999999;
  font: normal 1.5em/0.91666666666667 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  border-bottom: 2px solid #d8d8d8;
  margin: 0 0 31px;
  padding-bottom: 26px;
}

form#searchform {
  float: right;
  position: relative;
  top: 10px;
}

.page form,
.page .form {
  font-size: 0.875em;
  margin-bottom: 40px;
}
.page form label,
.page .form label,
.page form .label,
.page .form .label,
.gfield_label {
  color: #004976;
  font: normal 1.71428571428571em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
  text-transform: uppercase;
}
#gform_fields_1 .gfield_label {
  line-height: 1.75em !important;
}
.page form input[type="text"],
.page .form input[type="text"],
.page form input[type="url"],
.page .form input[type="url"],
.page form textarea,
.page .form textarea {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 0.85714285714286em;
  line-height: 1;
  padding: 9px 10px 7px;
  width: 248px;
  margin: 20px 0 0 0;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  padding: 10px 4px !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}
.page form input[type="submit"],
.page .form input[type="submit"],
.page form a,
.page .form a {
  background-color: #ee2737;
  border: none;
  color: #fff;
  display: inline-block;
  font: normal 1.28571428571429em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin-left: 10px;
  padding: 4px 0;
  text-align: center;
  text-transform: uppercase;
  width: 87px;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
  background-color: #ee2737 !important;
  border: none !important;
  color: #fff !important;
  display: inline-block !important;
  font: normal 1.28571428571429em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif !important;
  padding: 4px 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  width: 87px !important;
}
@media only screen and (min-width: 641px) {
  .gform_wrapper .gform_footer:not(.top_label) {
    margin-left: 28% !important;
  }
}
.page form input[type="submit"][name="fm_form_submit"],
.page .form input[type="submit"][name="fm_form_submit"],
.page form a[name="fm_form_submit"],
.page .form a[name="fm_form_submit"] {
  float: none;
  margin-left: 200px;
}
.page form a,
.page .form a {
  line-height: 23px;
  height: 23px;
}
.page form em,
.page .form em,
.gfield_required {
  color: #004976;
  font: normal 1.71428571428571em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
}
.gfield_required {
  color: #FF0000 !important;
}
.page.page-template-page-archive-hybrid-php p {
  border-bottom: none;
  margin: 0;
  padding-bottom: 1em;
}
.gform_confirmation {
  color: #FF0000 !important;
}
/* Single Post Page */
.single .page-header h1 {
  color: #004976;
  font: normal 3em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0 0 0.33333333333333em;
  text-transform: uppercase;
}
.single .post,
.single .resource {
  font-size: 0.875em;
  line-height: 1.42857142857143;
  position: relative;
}
.single .post h1,
.single .resource h1 {
  color: #004976;
  font: bold 2.25em/1 Helvetica, Arial, sans-serif;
  margin-bottom: 0.44444444444444em;
  text-transform: none;
}
.single .post section.date,
.single .resource section.date {
  left: -100px;
  position: absolute;
  top: 0;
}
.single .post .publication,
.single .resource .publication {
  color: #999999;
  font: italic 1.25em/1 Helvetica, Arial, sans-serif;
}
.single .post .post-thumbnail,
.single .resource .post-thumbnail {
  float: right;
  margin: 0 0 1.5em 1.5em;
}

/*.post-thumbnail {
  float: left !important;
  margin: 0 0 10px 0 !important;  
} */

div#resource-img,
img.resource-img {
  float: right !important;
  padding: 0 0 20px 20px;
}

div.resource p:first-of-type {
  text-align: center;
}

div.resource p img.attachment-article-img {
  margin: 0 auto;
}

.single .post {
  margin-left: 80px;
}
/* Pagination */
.pagination {
  border-top: 2px solid #d8d8d8;
  margin-bottom: 40px;
  overflow: hidden;
  padding-top: 30px;
}
.pagination a {
  background-color: #ee2737;
  color: #fff;
  display: block;
  font: normal 1.125em/1.66666666666667 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  padding: 15px;
  text-transform: uppercase;
}
.pagination a.older {
  float: left;
}
.pagination a.newer {
  float: right;
}
/* Date Block */
section.date {
  background-color: #004976;
  color: #fff;
  float: left;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  line-height: 1;
  margin-right: 20px;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
  width: 40px;
}
section.date span {
  display: block;
}
section.date span.month {
  font-size: 18px;
}
section.date span.day {
  font-size: 34px;
}
section.date span.year {
  font-size: 16px;
}

/* Media Center Section */
section.entry-content {
  padding-top: 15px;
}

/* 404 page */
.error404 h1 {
  color: #004976;
  font: normal 3em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0 0 0.33333333333333em;
  text-transform: uppercase;
}
.error404 p,
.error404 li {
  font-size: 0.875em;
  line-height: 1.42857142857143;
}
.error404 form {
  font-size: 0.875em;
  margin-bottom: 40px;
}
.error404 form label {
  color: #004976;
  font: normal 1.71428571428571em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
}
.error404 form input[type="text"] {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 0.85714285714286em;
  line-height: 1;
  padding: 9px 10px 7px;
  width: 248px;
}
.error404 form input[type="submit"] {
  background-color: #ee2737;
  border: none;
  color: #fff;
  display: inline-block;
  font: normal 1.28571428571429em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin-left: 10px;
  padding: 4px 0;
  text-align: center;
  text-transform: uppercase;
  width: 87px;
}
.post-listing {
  clear: both;
  margin-bottom: 40px;
  overflow: hidden;
}
.post-listing > div {
  float: left;
  width: 530px;
}
.post-listing > div.full-width-post {
  float: left;
  width: 610px;
}
.post-listing div h1 {
  font: bold 24px/1 Helvetica, Arial, sans-serif;
  margin: 0;
  text-transform: none;
}
.post-listing div h2 {
  font-size: 14px;
  margin: 0.25em 0 0.5em;
}
.post-listing div .more-link {
  font: bold 14px Helvetica, Arial, sans-serif;
}
.post-listing div .more-link:after {
  content: '';
}
.post-listing .addtoany_content {
  display: none !important;
}
.widget_archive label.screen-reader-text {
  display: none;
}
#archives-dropdown-3 {
  margin: 10px 0 0 10px;
}
.sidebar aside.widget p, .sidebar aside.widget li {
    font-size: 0.8125em;
}
/* Search Results */
.search-results h1 {
  color: #004976;
  font: normal 3em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0 0 0.33333333333333em;
  text-transform: uppercase;
}
.search-results .post-listing {
  font-size: 0.875em;
  line-height: 1.42857142857143;
}
.search-results .entry-date {
  color: #999;
  font-style: italic;
}
/* Category Archive */
.category .entry-meta {
  color: #999;
  font-style: italic;
  margin: -20px 0 0;
}
/* Sub Page Summary */
section.page-summary article.sub-page {
  float: left;
  margin: 26px 26px 26px 0;
  width: 202px;
  min-height: 392px;
}
section.page-summary article.sub-page img {
  max-width: 202px;
  height: auto;
}
section.page-summary article.sub-page.last {
  margin-right: 0;
}
section.page-summary article.sub-page h1 {
  font: bold 1.125em/1.11111111111111 Helvetica, Arial, sans-serif;
  text-transform: none;
}

/* Custom Menu Icons */
ul#menu-media-categories {
  padding: 0 0 15px 15px;
}

ul#menu-media-categories li {
  line-height: 18px;
  margin: 0px;
  padding: 0px;
}

ul#menu-media-categories li.blogmenu:before {
  content: url(https://www.safemedsonline.org/wp-content/themes/csip/images/post_sprites/blog.jpg);
  position: relative;
  top: 7px;
  left: -5px;
}

ul#menu-media-categories li.csipnewsmenu:before {
  content: url(https://www.safemedsonline.org/wp-content/themes/csip/images/post_sprites/csip_in_the_news.jpg);
  position: relative;
  top: 7px;
  left: -5px;
}

ul#menu-media-categories li.latestmenu:before {
  content: url(https://www.safemedsonline.org/wp-content/themes/csip/images/post_sprites/recent_news.jpg);
  position: relative;
  top: 7px;
  left: -5px;
}

ul#menu-media-categories li.opioidmenu:before {
  content: url(https://www.safemedsonline.org/wp-content/themes/csip/images/post_sprites/opioid_news.jpg);
  position: relative;
  top: 7px;
  left: -5px;
}

ul#menu-media-categories li.newsmenu:before {
  content: url(https://www.safemedsonline.org/wp-content/themes/csip/images/post_sprites/news_release.jpg);
  position: relative;
  top: 7px;
  left: -5px;
}


/* Breadcrumbs */
.breadcrumbs {
  color: #999999;
  font-size: 1.125em;
  line-height: 1;
  border-bottom: 2px solid #d8d8d8;
  margin: 0 0 31px;
  padding-bottom: 26px;
}
.sidebar {
  float: right;
  margin-right: 20px;
  width: 390px;
}
.sidebar aside.widget {
  margin-bottom: 20px;
}

.sidebar aside.widget .widget-text {
  border-left: solid 1px #e5e5e5;
  border-right: solid 1px #e5e5e5;
  border-bottom: solid 1px #e5e5e5;
  padding: 0 10px;
}

.sidebar aside.widget h1 {
  border-top: solid 4px #004976;
  background-color: #f2f2f2;
  color: #004976;
  font: normal 1.25em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0;
  padding: 12px 10px;
  text-transform: uppercase;
}
.sidebar aside.widget p,
.sidebar aside.widget li {
  font-size: 0.8125em;
}
.sidebar aside.widget p {
  margin: 0;
  padding: 1em 0;
}
.sidebar aside.widget ul, ol {
  padding: 15px 10px 15px 40px;
  margin-top: 0;
  list-style-type: none;
  border-left: solid 1px #e5e5e5;
  border-right: solid 1px #e5e5e5;
  border-bottom: solid 1px #e5e5e5;
}
.sidebar aside.widget.widget_archive ul, ol {
  padding: 0;
}
.sidebar aside.widget.widget_caticons ul,ol {
  padding: 0 0 0 4px;
}
.sidebar aside.widget.widget_caticons img {
  margin-right: 6px;
}
.sidebar aside.widget .icon {
  margin: 0 0 -20px -30px;
}
.sidebar aside.widget.tweetview_widget h1,
.sidebar aside.widget.widget_facebook-like-box h1,
.sidebar aside.widget.csip_google_plus_widget h1,
.sidebar aside.widget.widget_FacebookLikeBox h1 {
  background-image: url('images/social-media-sprites.png');
  background-repeat: no-repeat;
  text-align: left;
}
.sidebar aside.widget.widget_FacebookLikeBox h1 a {
  color: #ffffff;
}
._1drp {
  font-size: 13px !important;
  white-space: normal;
  margin-bottom: 5px;
}

.sidebar aside.widget.tweetview_widget h1 {
  background-position: 97% 7px;
}
.sidebar aside.widget.tweetview_widget ul {
  margin: 0;
  padding: 15px 20px;
}
.sidebar aside.widget.tweetview_widget ul:first-of-type {
  border: solid #e5e5e5;
  border-width: 0 1px 1px !important;
}

.sidebar aside.widget.tweetview_widget .follow-button {
  margin-top: 10px !important;
}
.sidebar aside.widget.tweetview_widget ul:first-of-type li {
  border-bottom: 1px dotted #ccc;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.sidebar aside.widget.tweetview_widget ul:first-of-type li:last-child {
  margin-bottom: 0;
}
.sidebar aside.widget.tweetview_widget ul:nth-of-type(2) {
  border: solid #e5e5e5;
  border-width: 0 1px 1px;
  padding-top: 0;
}
.sidebar aside.widget.tweetview_widget ul li {
  list-style-type: none;
}
.sidebar aside.widget.tweetview_widget ul li .talos-tweetview.time-ago {
  color: #999;
}
.sidebar aside.widget.widget_facebook-like-box h1,
.sidebar aside.widget_FacebookLikeBox h1 {
  background-position: 97% -48px;
}
.sidebar aside.widget.widget_facebook-like-box,
.sidebar aside.widget_FacebookLikeBox {
  border: solid #e5e5e5;
  border-width: 0 1px 1px 1px;
  /*padding-bottom: 10px;*/
}
.sidebar aside.widget.csip_google_plus_widget h1 {
  background-position: 97% -103px;
}
.sidebar aside.widget.sign-up-form form {
  font-size: 0.875em;
  margin-bottom: 40px;
}
.sidebar aside.widget.sign-up-form form label {
  color: #004976;
  font: normal 1.71428571428571em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
}
.sidebar aside.widget.sign-up-form form input[type="text"],
.sidebar aside.widget.sign-up-form #mc4wp-form-1 form input[type="email"] {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 0.85714285714286em;
  line-height: 1;
  margin-bottom: 1em;
  padding: 9px 10px 7px;
  width: 198px;
}
.sidebar aside.widget.sign-up-form form input[type="submit"],
.sidebar aside.widget.sign-up-form form span {
  background: none;
  border: none;
  color: #008be1;
  font: 18px/1.66666666666667 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  width: auto;
}

div#featured-hero {
  position: relative;
  width: 100%;
  margin: 0;
  height: 450px;
}

@media screen and (min-width: 1180px) {
  div#featured-hero {
    position: relative;
    width: calc(100% - 40px);
    margin: 0 20px;
    height: 450px;
  }
}

section.latest-news.hero-block {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  background: rgba(0,0,0,0.45);
  padding: 0 20px;
  min-height: 450px;
  z-index: 101;
}
@media screen and (min-width: 768px) and (max-width: 1179px) {
  section.latest-news.hero-block {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 39%;
    background: rgba(0,0,0,0.45);
    padding: 0 20px;
    max-height: 450px;
    height: 450px;
    overflow: hidden;
  }
  #rev_slider_3_1_wrapper {
    min-height: 450px;
    height: 450px;
    overflow:hidden;
  }
}
@media screen and (min-width: 1180px) {
  section.latest-news.hero-block {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 32%;
    background: rgba(0,0,0,0.45);
    padding: 0 20px;
    max-height: 450px;
    height: 450px;
    overflow: hidden;
  }
}

.latest-news h1 {
  color: #fff !important;
  font: normal 1.85em/1 AlternateGothic, "Arial Narrow", Arial, sans-serif;
  margin: 15px 0 0;
}

.latest-news .content ul {
  padding-left: 0;
  list-style-type: none;
  list-style-position: outside;
}

.latest-news .content ul li:first-of-type {
  border-bottom: dotted 1px #666;
}

.latest-news .content ul li .date {
  text-transform: uppercase;
  font-size: 0.675em;
  color: #CCC;
}

.latest-news .content ul li .title {
  font-weight: bold;
  font-size: 0.975em;
}

.latest-news .content ul li .excerpt {
  font-size: 0.815em;
  color: #CCC;
}

.latest-news .content ul li .excerpt p:first-of-type {
  margin-top: 0;
}

section.about {
  margin: 0;
  padding: 20px 20px 10px;
  background: #e5e5e5;
}

@media screen and (min-width: 1180px) {
  section.about {
    margin: 0 20px;
    padding: 20px 20px 10px;
    background: #e5e5e5;
  }  
}


/****************************
Temporary Fix to Icon Plugin Being Broken
****************************/

#recent-posts-3 ul {
	list-style: inside;
}

#recent-posts-3 ul li {
	margin: 0px;
	padding: 0 0 6px 0;
	display: block;
	position: relative;
}

#recent-posts-3 ul li:before {
	content: url("https://www.safemedsonline.org/wp-content/themes/csip/images/post_sprites/blog.jpg");
	position: absolute;
	top: -4px;
	left: -30px;
}

/* LIVE EVENTS PAGE CUSTOM STYLES *************/

body.page-id-4185 h2 {
  font: normal 2.5em/1 AlternateGothic, 'Arial Narrow', Arial, sans-serif; margin-bottom: 0;"
}

body.page-id-4185 h3 {
  margin-top: 5px;
}

@media only screen and (max-width: 767px) {
  body.page-id-4185 h1.entry-title {
      margin-left: 20px;
  }
  body.page-id-4185 h2 {
    font-size: 1.8em !important;
  }
  body.page-id-4185 h3 {
    font-size: 16px;
  }
}


/* FOOTER ********************/

footer.page-footer {
  clear: both;
  font-size: 0.875em;
  /* 14/16 */

  margin: 0 20px;
}
footer.page-footer section {
  border-top: 1px solid #dadada;
}
footer.page-footer section.partners {
  padding: 20px 0;
}
footer.page-footer section.partners .menu-partners-container {
  border-collapse: collapse;
  display: table;
  height: 34px;
  overflow: hidden;
  width: 100%;
}
footer.page-footer section.partners .menu-partners-container ul.menu {
  display: table-row;
  height: 34px;
  margin: 0;
  overflow: hidden;
  padding: 0;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item {
  display: table-cell;
  height: 61px;
  list-style: none;
  overflow: hidden;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item a {
  background: url('images/partner-logo-sprites.png') no-repeat 0 0;
  display: inline-block;
  height: 61px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.facebook a {
  background-position: 0 20px;
  width: 70px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.american-express a {
  background-position: 0 -55px;
  width: 34px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.discover a {
  background-position: 0 -126px;
  width: 48px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.enom a {
  background-position: 0 -186px;
  width: 58px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.go-daddy a {
  background-position: 0 -247px;
  width: 56px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.google a {
  background-position: 0 -308px;
  width: 54px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.mastercard a {
  background-position: 0 -392px;
  width: 68px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.microsoft a {
  background-position: 0 -464px;
  width: 67px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.neustar a {
  background-position: 0 -518px;
  width: 56px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.paypal a {
  background-position: 0 -572px;
  width: 54px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.ups a {
  background-position: 0 -628px;
  width: 34px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.visa a {
  background-position: 0 -684px;
  width: 34px;
}
footer.page-footer section.partners .menu-partners-container ul.menu li.menu-item.yahoo a {
  background-position: 0 -738px;
  width: 56px;
}
footer.page-footer section.utility {
  padding: 29px 0 59px;
}
footer.page-footer section.utility a {
  color: #272727;
}
footer.page-footer section.utility p {
  float: left;
  font-size: 1em;
  margin: 0;
}
footer.page-footer section.utility nav.utility {
  float: right;
}
footer.page-footer section.utility nav.utility ul li {
  display: block;
  float: left;
}
footer.page-footer section.utility nav.utility ul li:before {
  content: '\00A0\007C\00A0';
}
footer.page-footer section.utility nav.utility ul li:first-child:before {
  content: '';
}
form ul {
  padding: 0;
}

#partner-logo-area {
  /*background: #ff9900;*/
  border-top: 1px solid #dadada;
}

ul.logo-block {
  margin-left: 0;
  padding-left: 0;
  list-style-type: none;
  list-style-position: outside;
  text-align: center;
}

.logo-block li {
  display: inline-block;
  max-width: 100px; /* Adjusted Nov 2019 for Twitter, and again with Amex logo removal July 2021 */
  text-align: center;
  margin: 0 5px 0 5px;
}
.logo-block li:first-of-type {

}
.logo-block li a img {
  max-width: 100%;
}

#wooslider-id-1,
.flexslider {
  margin-bottom: 0px !important;
}

.wooslider {
  border: none !important;
  border-radius: 0 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -o-box-shadow: none !important;
  box-shadow: none !important;
}

body .wooslider .wooslider-control-nav {
  display: none !important;
}

body .wooslider.wooslider-type-slides img {
  /*display: none;*/
}

/* Direction Nav */
.wooslider-direction-nav,
.flex-direction-nav {
  *height: 0;
}

.wooslider-direction-nav a,
.flex-direction-nav a  { 
  display: block; 
  width: 40px; 
  height: 50px !important; 
  margin: -20px 0 0; 
  position: absolute; 
  top: 50%; 
  z-index: 10; 
  overflow: hidden; 
  opacity: 0.1 !important; 
  cursor: pointer; 
  color: rgba(0,0,0,0.5);
}
.wooslider-direction-nav .wooslider-prev,
.flex-direction-nav .flex-nav-prev { 
  left: -40px !important; 
}
.wooslider-direction-nav .wooslider-next,
.flex-direction-nav .flex-nav-next { 
  right: -40px !important; 
  text-align: right; 
}
.wooslider:hover .wooslider-prev,
.flexslider:hover .flex-nav-prev a { 
  opacity: 0.8 !important; 
  left: -40px !important; 
}
.wooslider:hover .wooslider-next,
.flexslider:hover .flex-nav-next a { 
  opacity: 0.8 !important; 
  right: -40px !important; 
}
.wooslider:hover .wooslider-next:hover, 
.wooslider:hover .wooslider-prev:hover,
.flexslider:hover .flex-nav-next:hover, 
.flexslider:hover .flex-nav-prev:hover { 
  opacity: 0.8 !important; 
}
.wooslider-direction-nav .wooslider-disabled,
.flex-direction-nav .flexslider-disabled { 
  opacity: 0.5 !important; 
  filter:alpha(opacity=0.5) !important; 
  cursor: default; 
}
.wooslider-direction-nav a:before  { 
  font-family: "flexslider-icon"; 
  font-size: 40px; 
  display: inline-block; 
  content: '\f001'; 
}
.wooslider-direction-nav a.wooslider-next:before  { 
  content: '\f002'; 
}

@media only screen and (max-width: 1023px) {
  .flex-direction-nav,
  .flexslider:hover .flex-nav-next:hover, 
  .flexslider:hover .flex-nav-prev:hover,
  .flexslider:hover .flex-nav-next a,
  .flexslider:hover .flex-nav-prev a {
    display: none !important;
  }
}





/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */
/* For image replacement */
.ir {
  display: block;
  border: 0;
  text-indent: -999em;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
  *line-height: 0;
}
.ir br {
  display: none;
}
/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden;
}
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden,
.assistive-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus,
.assistive-text.focusable:active,
.assistive-text.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/* Hide visually and from screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
}
/* Contain floats: h5bp.com */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}


#content form#searchform {
	float: left;
	width: 50%;
	border: solid 1px #CCC;
}

#content form#searchform input#s {
	width: 95% !important;
	min-width: inherit;
	background: #fff url(images/icon-search.png) no-repeat 320px 5px;
}


/* -----------------------------------------------
================================================== 
Styles for desktop due to Responsive Components
==================================================
------------------------------------------------*/
.tinynav { display: none }

.embed-container { 
  position: relative !important; 
  padding-bottom: 56.25% !important; 
  height: 0 !important; 
  overflow: hidden !important; 
  max-width: 100%;
  /* max-width: 80% !important; */
}
.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
  position: absolute !important; 
  top: 0 !important; 
  left: 0 !important; 
  width: 100% !important; 
  height: 100% !important;
}

/* -----------------------------------------------
================================================== 
Mobile Phone
==================================================
------------------------------------------------*/

@media only screen and (max-width: 480px) {
  .home .main-column .slideshow {
    height: 290px
  }
  .home .main-column .slideshow .slide {
    height: 240px;
  }
  .home .main-column .slideshow .slide h1,
  .home .main-column .slideshow .slide p {
    width: 320px;
  }
  .dcwss.dc-feed .dcwss-content {
    height: 380px !important;
  }
  .dcwss.dc-feed .stream li {
    max-width: 290px !important;
  }
  .dcwss.dc-feed {
    padding: 10px 10px 25px 10px !important;
  }
  .dcwss.dc-feed .dcsns-toolbar {
    top: 0px;
  }
  img.alignright {
    float: none;
    margin: 10px 0;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    padding: 0;
  }
}

@media only screen and (max-width: 539px) {
  .super-header {text-align: center;}
  .super-header .wrapper h1 {float: none;}
  .social-box {display: none;}
  #home-social-bar {display: none;}
  #fm-form-3 table tr td {display: block;}
  .fm-form input[type=text] {margin-top: 0 !important;}
  section#post-42 .entry-content p:first-of-type {margin: 0;}
  .page form input[type="submit"][name="fm_form_submit"] {
    margin-left: 0;
  }
  .single .post .post-thumbnail, .single .resource .post-thumbnail {
    float: none; margin: 0;
  }
}


@media only screen and (max-width: 767px) {
  body {
    background: #ffffff;
  }

  .home .main-column .home-half-block {
    float: none;
    width: auto;
    margin-right: 20px;
    margin-left: 20px;
  }

  div#featured-hero {
    height: auto;
  }

  section.latest-news.hero-block {
    display: block;
    position: relative;
    right: 0;
    top: 0;
    width: auto;
    background: rgba(0,0,0,0.8);
    padding: 20px !important;
    height: auto;
    min-height: 0;
    clear: both;
    margin: 0 0 20px 0; 
  }

  #promotional-banner .learn-more-btn {
    position: absolute;
    right: 2%;
    bottom: 2%;
    margin: 20px auto 0;
  }

  .menu-mobile-navigation-full-container {
    background-color: #ee2737;
    border-bottom: solid 4px #004976;
  }

  /*#rev_slider_1_1_wrapper {
    width: 98.3%;
  }*/

  .tinynav { display: block;
    width: 94%;
    border: 0;
    margin-left: 10px;
    background-color: transparent;
    color: #fff;
    font-size: 1em !important;
    line-height: 1em;
    font-family: AlternateGothic, "Arial Narrow", Arial, sans-serif;
    height: 50px;
    text-transform: uppercase;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  #nav { display: none; }

  .wrapper.main-content .logo {margin: 0 auto 20px;}
  .wrapper {
    width: 100%;
  }
  .sidebar {
    margin-left: 20px;
    margin-right: 20px;
    width: auto !important;
  }

  .sidebar aside.widget.widget_facebook-like-box, 
  .sidebar aside.widget_FacebookLikeBox,
  .sidebar aside.widget.tweetview_widget ul:first-of-type,
  .Yfd {
    border-width: 0;
    border: 0;
  }
  nav#access {
    display: none;
  }
  .main-column {
    float: none;
    width:  auto !important;
    margin: 0;
  }
  .home .main-column .slideshow {
    width: 100%;
    border: none;
  }
  .home .main-column .slideshow .slide {
    height: 410px;
    background-size: contain;
    width: 100%;
    padding: 50px 310px 0 20px;
  }
  .home .main-column .slideshow .slide h1,
  .home .main-column .slideshow .slide p {
    width: 540px;
  }
  ul.pagination {
    display: none;
  }
  div.slide p:nth-of-type(2) {
    display: none;
  }
  div.slide a.read-more {
    display: none;
  }
  .home .main-column .home-page-block {
    float: none;
    width: 100%;
  }
  .home .main-column .home-page-block .content ul {
    margin: 1em;
  }
  .home .main-column h1 {
    width: auto !important;
  }
  .home .main-column .about {
    padding: 1em;
  }
  .home .main-column .about p {
    font-size: 1em;
  }
  section.featured .title {
    margin-left: 1em;
  }
  .page h1 {
    font-size: 2em;
  }
  .page h1.entry-title {
    margin-left: 26px; 
  }

  .single .page-header h1 {
      margin-left: 24px;
      margin-top: 20px;
  }
  .breadcrumbs {
    padding-left: 26px;
  }
  .page-summary article.sub-page img {
    display: none;
  }
  .page .entry-content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page .entry-content h3,
  .page .entry-content h2 {
    margin-left: 10px;
  }
  ul li span.entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page .entry-content h2 {
    font-size: 1.2em;
  }
  .page-summary .excerpt {
    width: 90%;
  }
  .page-summary .excerpt p {
    margin-left: 0;
  }
  .main-column header img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page section.date {
    padding: 10px 15px;
    margin-bottom: 10px;
    width: 130px;
    margin-left: 10px;
  }
  .single .post section.date {
    padding: 10px 15px;
    margin-bottom: 10px;
    width: 130px;
  }
  .page section.date span,
  .single .post section.date span {
    display: inline-block;
  }
  .page section.date span.day,
  .single .post section.date span.day {
    font-size: 18px;
    margin: 0 8px 0 4px;
  }
  .page section.date span.year,
  .single .post section.date span.year {
    font-size: 18px;
  }
  .page .post-listing > div,
  .single .post-listing > div {
    width: 100%;
  }
  .page .post-listing div h1,
  .single .post-listing div h1 {
    font-size: 20px;
    margin-left: 10px;
  }
  .page div#resource-img, img.resource-img,
  .single div#resource-img, img.resource-img {
    float: none !important;
    padding: 0 0 20px 0;
    width: 100%;
    height: auto;
  }
  section.page-summary article.sub-page {
    float: none;
    width: 98%;
    margin: 1em;
    min-height: 10px;
  }
  .single .post {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
  }
  .single .resource {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
  }
  .single .post section.date, .single .resource section.date {
    position: absolute;
    left: 0;
  }
  .single .post h1 {
    position: relative;
    top: 50px;
  }
  .single .post div.entry-content {
    position: relative;
    top: 60px;
  }
  .single .post .publication, .single .resource .publication {
    position: relative;
    top: 42px;
  }
  .single .post div.entry-content p {
    margin-left: 0;
  }
  .single .post div.entry-content img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
  }
  .sidebar {
    clear: both;
    width: 100%;
  }
  .sidebar aside.widget p, 
  .main-column p,
  .page div.entry-content > p:first-of-type {
    margin: 1em 10px;
  }
  .main-column p {
    margin: 1em auto;
  }
  .sidebar aside#recent-posts-3 ul {
    padding-left: 40px;
  }
  .sidebar aside#recent-posts-3 ul li {
    margin-right: 10px;
  }
  aside.widget_FacebookLikeBox {
    margin: 20px auto;
    text-align: center;
  }
  aside.csip_google_plus_widget .textwidget {
    margin: 20px auto;
    text-align: center;
  }
  footer.page-footer section.utility nav.utility {
    float: left;
    clear: both;
    margin-bottom: 2em;
  }
  footer.page-footer section.utility nav.utility ul {
    margin-top: 1.5em;
  }
  footer.page-footer section.utility nav.utility ul li {
    display: inline-block;
    float: none;
    line-height: 1em;
    margin-bottom: 0;
  }
  .wooslider-direction-nav .wooslider-prev {
    left: -20px !important;
  }
  .wooslider-direction-nav .wooslider-next {
    right: -20px !important;
  }
  #partner-logo-area {
    background: transparent;
  }
  .page form input[type="submit"], 
  .page .form input[type="submit"], 
  .page form a, 
  .page .form a {
    margin-left: 0;
    margin-top: 10px;
    clear: both;
    display: block;
  }
}





/* -----------------------------------------------
================================================== 
Tablet
==================================================
------------------------------------------------*/

@media only screen and (min-width: 768px) and (max-width: 1179px) {
  .home .main-column .home-half-block {
    float: left;
    width: 45%;
    margin-right: 10px;
    margin-left: 20px;
    margin-bottom: 20px;
  }

  .home .main-column #home-right-column {
    margin-left: 10px;
    margin-right: 20px;
    float: right;
  }

  body {
    background: #ffffff;
  }
  
  .menu-mobile-navigation-full-container {
    background-color: #ee2737;
  }
  
  .tinynav { display: block;
    width: 100%;
    background-color: #ee2737;
    color: #fff;
    font-size: 1em !important;
    line-height: 1em;
    font-family: AlternateGothic, "Arial Narrow", Arial, sans-serif;
    height: 50px;
    text-transform: uppercase;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .wrapper.main-content .logo {margin: 0 auto 20px;}
  .wrapper {
    width: 100%;
  }
  #nav { display: none; }
  nav#access {
    display: none;
  }
  .main-column {
    float: none;
    width: auto !important;
    margin: 0;
  }
  .home .main-column .slideshow {
    width: 100%;
    height: auto !important;
  }
  .home .main-column .slideshow .slide {
    height: 575px;
    width: 100%;
    background-size: contain;
    padding: 50px 310px 0 20px;
  }
  .home .main-column .slideshow .slide h1,
  .home .main-column .slideshow .slide p {
    width: 440px;
  }
  .home .main-column .home-page-block {
    width: 46.5%;
  }
  .home .main-column .home-page-block:first-child {
    margin-left: 20px;
  }
  body.archive #content,
  body.search #content {
    padding: 0 1em;
    margin-bottom: 2em;
  }
  #content:after {
    content: "";
  display: table;
    clear: both;
  }
  /*.sidebar-left {width: 46%; float: left; margin-left: 20px;}*/
  .sidebar-left {width: auto; float: left; margin-left: 20px; margin-right: 20px;}
  
  .sidebar-left aside:nth-of-type(odd) {
    float: left;
    width: 48%;
    margin-right: 20px;
    clear: left;
  }

  .sidebar-left aside:nth-of-type(even) {
    float: right;
    width: 48%;
    clear: right;
  }

  /*.sidebar-right {width: 46%; float: right;}*/
  
  aside.widget_FacebookLikeBox {
    text-align: center;
  }
  aside.csip_google_plus_widget .textwidget {
    margin: 20px auto;
    text-align: center;
  }
  .main-column header img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page h1.entry-title {
    margin-left: 10px; 
  }
  .breadcrumbs {
    padding-left: 10px;
  }
  .page .entry-content,
  body.single-resource article.resource {
    padding-left: 10px;
    padding-right: 10px;
  }
  section.page-summary article.sub-page {
    width: 280px;
    min-height: 520px;
  }
  section.page-summary article.sub-page.last {
    margin-right: 20px;
  }
  section.page-summary article.sub-page img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
  }
  .post-listing > div {
    width: 86%;
  }
  article.post-listing div section.entry-content {
    padding-left: 0;
  }
  .single .post {
    margin-left: 120px;
    margin-right: 20px;
    margin-bottom: 60px;
  }
  .single .page-header h1 {
    margin: 0.5em 0 0.33333333333333em 0.2em;
  }
  footer.page-footer section.utility nav.utility {
    float: left;
  }
}




/* -----------------------------------------------
================================================== 
Desktop
==================================================
------------------------------------------------*/
@media only screen and (min-width: 540px) and (max-width: 589px) {
  .social-box {width: 252px !important;}
  .top-button {
    padding: 17px 5px;
    font-size: 0.9em;
    margin-right: 0;
  }
}
@media only screen and (max-width: 1001px) {
  .super-header .wrapper h1 {margin-left: 10px;}
  .social-box {width: 300px;}
  .social-box form {display: none;}
  ul#home-social-bar {float: right; margin: 0.5em 0.5em 0 0;}

  .embed-container { 
    position: relative !important; 
    padding-bottom: 56.25% !important; 
    height: 0 !important; 
    overflow: hidden !important; 
    max-width: 100% !important;
  }
  .embed-container iframe, 
  .embed-container object, 
  .embed-container embed { 
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    height: 100% !important;
  }
  #content form#searchform {
    width: 85%;
    margin-left: 20px;
  }
  #content form#searchform input#s {
    width: 93% !important;
    background-position: 99% 5px;
  }
  body.archive #content,
  body.search #content,
  body.page-template-template-search #content {
    padding: 0 1em;
    margin-bottom: 2em;
    margin-top: 1em;
  }
  body.search .post-listing > div {
    width: auto;
  }

  body.archive #content h1.page-title,
  body.search #content h1 {
    font-size: 1.5em;
    line-height: 1.25em;
  }
  body.archive #content article h2,
  body.search #content .post-listing h1 {
    font-size: 1.25em;
    line-height: 1.35em;
  }
  body.archive #content article .entry-summary p,
  body.search #content article .entry-content p {
    margin: 1em 0;
  }
}

/* ----------------------------------------------
DESKTOP and UP
----------------------------------------------- */

@media only screen and (min-width: 1002px) {
  .sidebar.sidebar-right {clear: right;}
}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  /* Black prints faster: h5bp.com/s */
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  /* Don't show links for images, or javascript/internal links */
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  /* h5bp.com/t */
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page  {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
/** END HTML5 Boilerplate CSS **/
/** START Starkers CSS **/
/* LAYOUT */
/* ----------------------------------------- */
/* These rather presentational classes are generated by WordPress, so it's useful to have some styles for them. Edit as you see fit. More info: http://codex.wordpress.org/CSS */
.aligncenter {
  display: block;
  margin: 0 auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
  padding: 0 0 1.2em 1.2em;
}
.wp-caption {
  border: 1px solid #666;
  text-align: center;
  background: #ccc;
  padding: 10px;
  margin: 10px;
}
/* You might find the following useful */
/* div, ul, li { position:relative } This will save you having to declare each div / ul / li's position as 'relative' and allows you to absolutely position elements inside them
br.clear { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */
li#theme-switcher {
  background: #fff;
  border: 10px solid red;
  padding: 20px;
  position: fixed;
  top: 0;
  right: 0;
}
/* Use this if you have the Theme Switcher Reloaded plugin (http://themebot.com/webmaster-tools/1-wordpress-theme-switcher-reloaded) installed and want to make it nice and obvious */
/* TYPOGRAPHY */
/* ----------------------------------------- */
.alert {
  background: red;
  color: #ffffff;
}
/* 'alert' has a basic style, since it's useful to have it standing out for testing purposes.



/* Font stack options

	The following represents a list of font stacks, as recommended by Nathan Ford in
	http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/

	I've added inverted commas around the relevant family names to ensure compatibility.
	p = balanced for paragraphs or body copy
	t = balanced for headlines or titles

	- - - -

Arial, "Helvetica Neue", Helvetica, sans-serif - p, t

Baskerville, "Times New Roman", Times, serif - p
Baskerville, "Times, Times New Roman", serif - t

Cambria, Georgia, Times, "Times New Roman", serif - p, t
"Century Gothic", "Apple Gothic", sans-serif - p, t

Consolas, "Lucida Console", Monaco, monospace - p, t

"Copperplate Light", "Copperplate Gothic Light", serif - p, t

"Courier New", Courier, monospace - p, t

"Franklin Gothic Medium", "Arial Narrow Bold", Arial, sans-serif - p, t

Futura, "Century Gothic", "Apple Gothic", sans-serif - p, t

Garamond, "Hoefler Text", "Times New Roman", Times, serif - p
Garamond, "Hoefler Text", Palatino, "Palatino Linotype", serif - t

Geneva, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif - p
Geneva, Verdana, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif - t

Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif - p
Georgia, Times, "Times New Roman", serif - t

GillSans, Calibri, Trebuchet, sans-serif - p
GillSans, Trebuchet, Calibri, sans-serif - t

"Helvetica Neue", Arial, Helvetica, sans-serif - p
Helvetica, "Helvetica Neue", Arial, sans-serif - t

Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif - p, t

"Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif - p, t

Palatino, "Palatino Linotype", Georgia, Times, "Times New Roman", serif - p
Palatino, "Palatino Linotype", "Hoefler Text", Times, "Times New Roman", serif - t

Tahoma, Geneva, Verdana - p
Tahoma, Verdana, Geneva - t

Times, "Times New Roman", Georgia, serif - p, t

Trebuchet, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif - p
Trebuchet, Tahoma, Arial, sans-serif - t

Verdana, Geneva, Tahoma, sans-serif - p
Verdana, Tahoma, Geneva, sans-serif - t

*/
/** END Starkers CSS **/
/** START WordPress-Defined CSS Classes **/
/** END WordPress-Defined CSS Classes **/
/* Internet Explorer Fixes */
.ie.lte8 .main-content.wrapper .main-column .slideshow ul.pagination {
  background-color: #242424;
  border: 1px solid #636363;
}
.ie.lte8 .main-content.wrapper .main-column .slideshow ul.pagination li a {
  background-position: 8px -29px;
  opacity: 1;
}
.ie.lte8 .main-content.wrapper .main-column .slideshow ul.pagination li.current a {
  background-position: 8px 8px;
  opacity: 1;
}
.ie.lte7 .super-header .wrapper aside.search-form .field {
  border: 0;
}
.ie.lte7 .super-header .wrapper aside.search-form .submit {
  color: #fff;
  font-size: 0;
}
.ie.lte7 footer.page-footer .menu-partners-container .menu .menu-item {
  display: block;
  float: left;
  padding: 0 0.5em;
}
.ie.lte7 footer.page-footer .menu-partners-container .menu .menu-item a {
  display: block;
  float: left;
}
