/*
Theme Name: Audience Connect
Description: Custom Wordpress theme
Author: Clever Starfish


---------------------------------------
BASIC STUFF AND TYPOGRAPHY
------------------------------------ */

html { overflow-y: scroll; }
article, aside, figure, footer, header, hgroup, nav, section { display: block; }
.touch body { -webkit-text-size-adjust: none; }
:focus { -moz-outline-style: none; outline: medium none; }

body {
    color: #333333;
	font-family:'AvenirNextLTW01-Regular', sans-serif;
	font-size: 14px;
	line-height: normal;
	margin: 0;
}

p {
  line-height: 1.7em;
  margin: 0 0 0.8em;	
}

a {
    color: #f7b333;
	text-decoration: none;
	outline: medium none;
	background: transparent;
}
a:hover {
	text-decoration:none;
}
a img {
	border: 0;
}
h1,h2, h3, h4, h5, h6 {
	font-family:'Avenir Next LT W01 Bold', sans-serif;
    font-weight: normal;
}
h1 {
	font-family:'AvenirNextLTW01-Regular',sans-serif;
	font-size: 30px;
	line-height: 37px;
	margin: 0px 0 13px 0;
	color: #738a96;
}
h2 {
	font-size: 20px;
	line-height:26px;
	margin: 0 0 9px 0;
}
h3 {
	font-size: 16px;
	line-height:18px;
	margin: 10px 0 5px 0;
}
h4 {
	font-size: 16px;
	line-height:18px;
	margin: 10px 0 5px 0;
	color: #899297;
}
h5 {
	font-size: 12px;
	line-height:14px;
	margin: 10px 0 5px 0;
	text-transform: uppercase;
}
h6 {
	font-size: 12px;
	line-height:14px;
	margin: 10px 0 5px 0;
	text-transform: uppercase;
	color: #899297;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: inherit;
}
strong {
    font-weight: 900;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid #d3d4d5;
  border-left: 1px solid #d3d4d5;
  margin: 25px 0;
}

td, th {
  border-bottom: 1px solid #d3d4d5;
  border-right: 1px solid #d3d4d5;
  padding: 10px 10px;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}

th {
  background: #f2f2f2;
}
ul, ol {
    margin: 0 0 20px;
}
ul {
    list-style: disc outside none;
}
ol {
    list-style: decimal outside none;
}
ul ul, ul ol, ol ol, ol ul {
    margin: 4px 0 5px 30px;
}
ul ul li, ul ol li, ol ol li, ol ul li {
    margin-bottom: 6px;
}
ul li {
    list-style-type: disc;
}
li {
    line-height: 26px;
    margin-bottom: 10px;
}
blockquote, blockquote p {
    font-size: 20px;
    font-style: italic;
    line-height: 30px;
}
blockquote p {
    margin: 0;
}
blockquote {
    margin: 30px 0 30px 20px;
    padding: 3px 20px 0 19px;
}
hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: rgba(0, 0, 0, 0.1) -moz-use-text-color rgba(255, 255, 255, 0.3);
    border-image: none;
    border-left: 0 none;
    border-right: 0 none;
    border-style: solid none;
    border-width: 1px 0;
    height: 0;
    margin: 30px 0;
}
/* ------------------------------------
HEADER
------------------------------------ */

header {
	background: #000000;
}
header a#logo {
    background: url(_inc/img/AudienceConnectLogo.svg) no-repeat;
    display:block;
    height: 108px;
    text-indent: -9999px;
    width:538px;
}
nav {
	height: 50px;
	padding-right: 58px;
}
.intro {
	color: #ffffff;
	font-size: 18px;
	width: 430px;
	padding-top: 19px;
}
/* ------------------------------------
GENERAL LAYOUT
------------------------------------ */

#content {
	background: #fadc5e;
}
.inner {
    margin: 0 auto;
    position: relative;	
    width: 910px;
}

#main {
	width: 537px;
	float: left;
	padding:58px;
	background: #ffffff;
	margin:-25px 0;
	min-height: 600px;
-webkit-box-shadow: 0px -1px 12px 0px rgba(125,123,125,0.24);
-moz-box-shadow: 0px -1px 12px 0px rgba(125,123,125,0.24);
box-shadow: 0px -1px 12px 0px rgba(125,123,125,0.24);;
}
article {
	color: #1b1c21;
	padding: 6px 18px 14px 52px;
	display: block;
    position: relative;
}
article:hover {
	background: #f1f3f4;	
	border-radius: 7px;
}
.cats, .tags-inline, .count, .documents, .related-posts {
	font-size: 10px;
	text-transform: uppercase;
	font-family:'Avenir Next LT W01 Bold', sans-serif;
	color: #7cafb9;
}
.count {
	color: #aeb9bf;
	display: block;
	margin-bottom: 7px;
}

article .description p {
    margin-bottom: 4px;
    line-height: 1.4em;    
}
article .docicon {
    width: 48px;
    height: 49px;
    position: absolute;
    left: 4px;
    top: 3px;
}

article .docicon.purple path, #content.purple .documents .download-icon .doc_icon path {
    fill: #ba9daf;
}
article .docicon.green path, #content.green .documents .download-icon .doc_icon path {
    fill: #a5c26f;
}
article .docicon.blue path, #content.blue .documents .download-icon .doc_icon path {
    fill: #7cafb9;
}
article .docicon.orange path, #content.orange .documents .download-icon .doc_icon path {
    fill: #f7b333;
}
article .docicon.red path, #content.red .documents .download-icon .doc_icon path {
    fill: #f09266;
}

article h2 a {
	color: #1b1c21 !important;
}

#content.purple .article-content a, a.purple {
	color: #ba9daf;
}
#content.green .article-content a, a.green {
	color: #a5c26f;
}
#content.blue .article-content a, a.blue {
	color: #7cafb9;
}
#content.orange .article-content a, a.orange {
	color: #f7b333;
}
#content.red .article-content a, a.red {
	color: #f09266;
}


header .inner {
	position: relative;
	height: 314px;
	background-size: cover;
	background-size: contain;
	overflow: hidden;
	background-repeat: no-repeat;
}
.search h3 {
	margin-bottom: 20px;
}
.home h2, .search h2, .category h2 {
	margin-bottom: 5px;
	line-height: 22px;
}
.cloud a {
	font-family:'Avenir Next LT W01 Bold', sans-serif;
	color: #1b1c21;	
	padding-right: 5px;
}
.cloud a:hover, article h2 a:hover {
	opacity: 0.8;
}
.pagination  {
    clear: both;
    text-align: right;
    margin: 20px 0 -20px;
}
.pagination ol {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
.pagination ol li {
	display: inline-block;
}
.pagination ol li a, .pagination ol li span {
    background: #000000;
    border-radius: 7px;
    color: #ffffff !important;
    display: inline-block;
	font-family:'Avenir Next LT W01 Bold', sans-serif;
    font-size: 12px;
    line-height: 15px;
    margin-right: 7px;
    padding: 8px 12px;
    text-transform: uppercase;
}
.pagination ol li a.next, .pagination ol li a.prev{
	padding: 8px 21px;
}
.pagination ol li span.current {
	background: #fadc5e;
	border: 1px solid #899297;
}
/* ------------------------------------
SINGLE POST
------------------------------------ */
.single h1{
	font-family:'Avenir Next LT W01 Bold', sans-serif;
	color: #1b1c21;
	font-size: 30px;	
	line-height: 35px;
	margin: 12px 0 11px;
}
.tags-inline{
	color: #4d5d66;
	margin-bottom: 12px;
}
.documents, .related-posts {
	background: #f1f3f4;	
	border-radius: 7px;
	display: block;
	padding: 12px 18px 14px;
	color: #4d5d66;
	margin-bottom: 26px;
}
.related-posts {
	margin: 30px 0 0;
}
.related-posts article {
	padding: 6px 0 14px;
}
.related-posts h2 {
	text-transform: none;
	font-size: 18px;
}

.documents a {
    display: block;
    width: 99px;
    height: 54px;
    border: 1px solid #899297;
    position: relative;
    display: inline-block;
    margin:  6px 8px 0 0;
    border-radius: 5px;
    background: white;
}
.documents a span {
    font-size: 12px;
    position: absolute;
    left: 42px;
    top: 14px;
    color: #000;
    line-height: 14px; 
}
.documents a span.size {
    font-family: 'AvenirNextLTW01-Regular', sans-serif;
    top: 27px;
}
.documents a .download-icon {
    width: 48px;
    height: 49px;
    position: absolute;
    left: 0px;
    top: 5px;
}
.documents .download-icon .doc_icon path {
    fill: #f7b333;
}
.documents a.active, .documents a:hover {
    background: #f7b333;
}
.documents a.active span, .documents a:hover span {
    color: #fff;
}
.documents a.active .download-icon .doc_icon path, .documents a:hover .download-icon .doc_icon path {
    fill: #fff !important;
}

/* ------------------------------------
SIDEBAR
------------------------------------ */
#sidebar {
	width: 232px;
	float: left;
	padding: 33px 25px 0 0;
}
#sidebar h2 {
	font-size: 18px;
	color: #4d5d66;
	text-transform: uppercase;
	line-height: 17px;
	margin-bottom: 11px;
}
#sidebar .widget.search{
	margin-bottom: 35px;
}
#sidebar .widget.search input[type="text"]{
    border: 2px solid #899297;
    border-radius: 7px;
    display: inline-block;
    line-height: 18px;
    width: 178px;
}
#sidebar .widget.search label {
	display: none;
}
#sidebar .widget.search input[type="submit"] {
    display: inline-block;
    width: 45px;
    text-indent: -9999px;
    background: #000000 url(_inc/img/search.png) no-repeat 9px 8px;
    padding: 3px 21px;
}

#sidebar .widget.category-nav {
    margin-bottom: 26px;
}
#sidebar .category-nav ul, #sidebar .category-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}
#sidebar .category-nav a {
    color: #1b1c21;
    font-size: 12px;
    display: block;
    padding: 7px 13px;
    background: #aeb9bf;
    line-height: normal;
    margin-bottom: 4px;
    border-radius: 5px;
    border: 1px solid #899297;
}
#sidebar .category-nav a:hover {
    opacity: 0.9;   
}
#sidebar .category-nav a.purple, #content.purple, #content.purple .pagination ol li span.current,
#content.purple .documents a.active, #content.purple .documents a:hover {
    background-color: #ba9daf;
}
#sidebar .category-nav a.green, #content.green, #content.green .pagination ol li span.current,
#content.green .documents a.active, #content.green .documents a:hover {
    background-color: #a5c26f;
}
#sidebar .category-nav a.blue, #content.blue, #content.blue .pagination ol li span.current,
#content.blue .documents a.active, #content.blue .documents a:hover {
    background-color: #7cafb9;
}
#sidebar .category-nav a.orange, #content.orange, #content.orange .pagination ol li span.current,
#content.orange .documents a.active, #content.orange .documents a:hover {
    background-color: #f7b333;
}
#sidebar .category-nav a.red, #content.red, #content.red .pagination ol li span.current,
#content.red .documents a.active, #content.red .documents a:hover {
    background-color: #f09266;
}
#sidebar .category-nav li.current-cat a {
    background-color: #fff;
}

/* ------------------------------------
NAVIGATION
------------------------------------ */

nav {
	margin: 0;
	position: relative;
}
.menu {
	float: right;
	padding:14px 0 0 0;
}
nav ul, nav ul li {
	list-style:none;
	margin:0;
	padding:0;
	display:inline-block;
	position:relative;
}
nav ul li a {
	font-family:'Avenir Next LT W01 Bold', sans-serif;
    display: inline-block;
    line-height: 16px;
	text-decoration: none;
	display: inline-block;
	padding: 8px 14px;
    box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    -ms-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
}
nav > ul > li > a:hover, nav > ul > li:hover > a, nav > ul > li.current_page_item > a, nav > ul > li.current_page_parent > a {
	background: none;
	color: #fadc5e;
}
nav .sub-menu {
	display: none;
}

/* ------------------------------------
DROPDOWN MENU
------------------------------------ */

.sub-menu {
	list-style: none;
	position:absolute;
	display:none;
	width:200px;
	top:30px;
	left:0;
	padding: 0;
	margin: 0;
}
.sub-menu li {
	position: relative;
	width: 200px;
}
.sub-menu a {
	width: 180px;
	margin: 0;
	display:block;
	float:none;
	font-size:16px;
	color: #555;
	padding:8px 14px;
	background: white;
	text-align:left;
	font-weight:normal;
}
.sub-menu a:hover {
	color:#18a3de;
	background: #fdfdfd;
}
.sub-menu li.current_page_item > a {
	
}
/*second level dropdown */
.sub-menu ul {
	position:absolute;
	top:0;
	left:200px;
	margin:0;
}
/*show/hide on hover*/
nav ul li:hover ul ul, nav ul li:hover ul ul ul, nav ul li:hover ul ul ul ul {display:none;}
nav ul li:hover ul, nav ul li li:hover ul, nav ul li li li:hover ul, nav ul li li li li:hover ul {display:block;}


/* ------------------------------------
FOOTER
------------------------------------ */

footer {
	background: #000000;	
}
footer .inner {
	padding:50px 0;
}
nav.footer {
	height:auto;
	float: left;
}
nav.footer ul, nav.footer ul li {
	display: block;
}
nav.footer ul li {
	line-height: 21px;
}
footer .menu {
	padding:0;
	margin-bottom: 12px;
}
footer nav ul li a{
	padding: 1px 0;
}
.companies {
	display: inline-block;
	float: right;
}
.single-logo, .single-logo a {
	display: inline-block;
	width: 216px;
}
a#starfish {
	display: block;
	height:23px;
	background: url(_inc/img/clever-logo.png) no-repeat;	
	width: 84px;
	clear: both;
	text-indent: -9999px;
}
a#starfish:hover {
	opacity: 0.8;
}
/* ------------------------------------
FORMS
------------------------------------ */

input[type='text'], input[type='password'], input[type='email'], input[type='number'],
textarea,
button, input[type=submit], .button,
div.selector span {
	font-family:'AvenirNextLTW01-Regular', sans-serif;
  display: inline-block;
  background: #ffffff;
  border: none;
  color: #3a3a38;
  font-size: 15px;
  line-height: 19px;
  -webkit-appearance: none;
    border: 2px solid #899297;
    border-radius: 7px;
  box-sizing: border-box;
  width: 100%;
}

input[type='text'], input[type='password'], input[type='email'], input[type='number'] {
  padding: 9px 10px;
  height: 43px;
}

textarea {
  padding: 10px;
  height: 130px;
}

button, input[type=submit], .button {
  padding: 9px 49px;
  width: auto;
  text-align: center;
  cursor: pointer;
  background: #000;
  height: 43px;
  color: #fff;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 4px;
	font-family:'Avenir Next LT W01 Bold', sans-serif;
	display: inline-block;
	float: right;
}
button:hover, input[type=submit]:hover, .button:hover {
  background: #f38c64;
  color: #fff;
}

div.selector {
  padding: 0;
  width: 100% !important;
  border: none;
  background: transparent !important;
}
div.selector, div.selector span, div.selector select {
  height: 38px;
}
div.selector span {
  display: block;
  background: #f2f2f2 url("_inc/img/select.png") no-repeat right 16px !important;
  width: auto !important;
  padding: 9px 40px 9px 10px;
  text-shadow: none;
}
div.selector select {
  width: 100%;
  top: 0px;
  left: 0px;
}

div.checker, div.radio {
  margin: 0px 8px 4px 0;
  vertical-align: text-bottom;
}
div.checker, div.radio, div.checker span, div.radio span, div.checker input, div.radio input {
  height: 15px;
  width: 15px;
  vertical-align: middle;
  box-sizing: border-box;
}
div.checker input, div.radio input {
  left: 0;
  position: absolute;
  top: 0;
}
div.checker span, div.radio span {
  background: #f2f2f2;
  vertical-align: top;
  border: 1px solid #f2f2f2;
  border-radius: 3px;
}
div.checker span.checked, div.radio span.checked {
  background: #f2f2f2 url("_inc/img/check.png") no-repeat center center !important;
}

div.radio span {
  border-radius: 25px;
  position: relative;
}
div.radio span.checked {
  background-image: none !important;
}
div.radio span.checked:after {
  background: #f17b4c;
  border-radius: 50px;
  content: " ";
  height: 7px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 7px;
}
.gform_wrapper {
	  max-width: 467px;
	  padding:27px 35px 35px;
	  background: #f1f3f4;
	  border-radius: 7px;
	  margin-top: 30px;
}
.gform_body ul {
	padding: 0;
	margin-bottom: 0;
}
.gform_body ul li {
	list-style-type: none;
}
.gform_wrapper .gform_validation_container {
  display: none;
}
.gform_wrapper .gfield_description {
  margin: -5px 0 5px 6px;
  font-size: 14px;
}
.gform_wrapper .validation_message {
  display: block;
  padding: 5px 0 0;
  line-height: normal;
  color: #eb0000;
  margin: 0;
}
.gform_wrapper .validation_error {
  margin: 10px 0;
  line-height: 1.6em;
  color: #eb0000;
}
.gform_wrapper .gform_ajax_spinner {
  margin: 10px;
  display: inline-block;
  vertical-align: middle;
}
.gform_wrapper .gfield_label {
	  padding: 0 0 7px 6px;
	  display: block;
	  font-family:'Avenir Next LT W01 Bold', sans-serif;
	  color:#4d5d66;
	  text-transform: uppercase;
	  height: 19px;
}
.gform_wrapper .gfield_radio li, .gform_wrapper .gfield_checkbox li {
  padding: 0 0 0 23px;
  position: relative;
}
.gform_wrapper .gfield_radio div.checker, .gform_wrapper .gfield_radio div.radio, .gform_wrapper .gfield_radio div.radio, .gform_wrapper .gfield_checkbox div.checker, .gform_wrapper .gfield_checkbox div.radio, .gform_wrapper .gfield_checkbox div.radio {
  position: absolute;
  top: 5px;
  left: 0;
}
.gform_wrapper .gf_left_half, .gform_wrapper .gf_right_half {
  width: 48.5%;
  float: left;
}
.gform_wrapper .gf_left_half + *, .gform_wrapper .gf_right_half + * {
  clear: both;
}
.gform_wrapper .gf_right_half {
  float: right;
  clear: none !important;
}
.gform_wrapper .gform_footer {
  clear: both;
}
.gform_wrapper .gform_footer:after {
  content: '* Required';
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
}

#gform_fields_1 {
  overflow: hidden;
}

.gform_confirmation_message {
  margin: 30px 0;
}

/* ------------------------------------
EVERYTHING ELSE, MISCELLANEOUS STUFF
------------------------------------ */
img {
  max-width: 100%;
  height: auto;
}
a img {
  border: 0;
}
.alignright {
	clear: right;
	float: right;
	margin: 0px 0px 20px 20px;
}

.alignleft {
	clear: left;
	float: left;
	margin: 0px 20px 20px 0px;
}
.alignnone {
  margin: 5px 0 0px;
  max-width: 100%;
}
.wp-caption-text {
	font-style: italic;
	font-size: 11px;
	line-height: 16px;
	margin-top: 3px;
}

a {-webkit-tap-highlight-color:#9ce2ff;}
::-moz-selection{background: #9ce2ff; !important}
::selection {background: #9ce2ff; !important}


