/*
Theme Name:     responsive-honhist
Theme URI:      http://themeid.com/responsive-theme/
Description:    Child theme for the Responsive theme
Author:         Honest History committee
Author URI:     http://honesthistory.net.au
Template:       responsive                            
Version:        0.1.0
*//* 

Description: Responsive Theme modifications for Honest History
--------------------------------------------------------------

CSS Rules: Sorted alphabetically for better organization.
*/

/* =Reset CSS (v2.0) http://meyerweb.com/eric/tools/css/reset/
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  border: 0;
  font-size: 100%;
  font: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

/*HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button, input, select, textarea {
  font-size: 100%;
  overflow: visible;
  margin: 0;
  vertical-align: baseline;
  width: auto;
}

textarea {
  overflow: auto;
  vertical-align: text-top;
}

/* =Horizontal Rule
-------------------------------------------------------------- */
hr {
  background: #dddddd;
  border: none;
  clear: both;
  color: #aaaaaa;
  float: none;
  height: 1px;
  width: 100%;
}

hr.space {
  background: #ffffff;
  color: #ffffff;
}

/* =Base
-------------------------------------------------------------- */
html {
  height: 100%;
}

body {
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  background: #efefef;
  color: #0;
//  font-family: Arial, Helvetica, sans-serif;
   font-family: Verdana, sans-serif; 
//  font-family: Georgia, Times New Roman, serif;
  font-size: 14px;
  font-smoothing: antialiased;
  line-height: 1.5em;
  text-rendering: optimizeLegibility;
}

/* =Typography
-------------------------------------------------------------- */
p, ul li {
  word-wrap: break-word;
  font-family: Georgia, Times New Roman, serif;
}

i,
em,
dfn,
cite {
  font-style: italic;
}

tt,
var,
pre,
kbd,
samp,
code {
  font-family: monospace, serif;
  font-style: normal;
}

b,
strong {
  font-weight: 700;
}

pre {
  -moz-box-sizing: border-box;
  -moz-border-radius: 2px;
  -moz-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 2px;
  -webkit-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-box-sizing: border-box;
  box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  background: #f4f4f4;
  border: 1px solid #aaaaaa;
  border-bottom-color: #cccccc;
  border-radius: 2px;
  height: auto;
  margin: 0;
  outline: none;
  padding: 6px 10px;
  vertical-align: middle;
  width: 100%;
  word-wrap: break-word;
  white-space: pre-wrap;
}

del {
  color: #555555;
  text-decoration: line-through;
}

ins,
dfn {
  border-bottom: 1px solid #cccccc;
}

sup,
sub,
small {
  font-size: 50%;
}

abbr,
acronym {
  font-size: 85%;
  letter-spacing: .1em;
  text-transform: uppercase;
}

a abbr,
a acronym {
  border: none;
}

dfn[title],
abbr[title],
acronym[title] {
  border-bottom: 1px solid #cccccc;
  cursor: help;
}

sup {
  vertical-align: top;
}

sub {
  vertical-align: sub;
}

/* =Responsive 12 Column Grid
    http://themeid.com/responsive-grid/
-------------------------------------------------------------- */
.grid {
  float: left;
  margin-bottom: 2.127659574468%;
  padding-top: 0;
}

.grid-right {
  float: right;
  margin-bottom: 2.127659574468%;
  padding-top: 0;
}

.col-60,
.col-140,
.col-220,
.col-300,
.col-380,
.col-460,
.col-540,
.col-620,
.col-700,
.col-780,
.col-860 {
  display: inline;
  margin-right: 2.127659574468%;
}

.col-60 {
  width: 6.382978723404%;
}

.col-140 {
  width: 14.893617021277%;
}

.col-220 {
  width: 23.404255319149%;
}

.col-300 {
  width: 31.914893617021%;
}

.col-380 {
  width: 40.425531914894%;
}

.col-460 {
  width: 48.936170212766%;
}

.col-540 {
  width: 57.446808510638%;
}

.col-620 {
  width: 65.957446808511%;
}

.col-700 {
  width: 74.468085106383%;
}

.col-780 {
  width: 82.978723404255%;
}

.col-860 {
  width: 91.489361702128%;
}

.col-940 {
  width: 100%;
}

.fit {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =Visibility
-------------------------------------------------------------- */
.hidden {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

.none {
  display: none;
}

.hide-desktop {
  display: none;
}

.show-desktop {
  display: block;
}

/* =Responsive Images
-------------------------------------------------------------- */
img {
  -ms-interpolation-mode: bicubic;
  border: 0;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.ie8 img {
  height: auto;
  width: auto\9;
}

.ie8 img.size-large {
  max-width: 60%;
  width: auto;
}

/* =Responsive Videos
-------------------------------------------------------------- */
video {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* =Responsive Embeds/Objects
-------------------------------------------------------------- */
embed,
object {
  max-width: 100%;
}

svg:not(:root) {
  overflow: hidden;
}

/* =Links
-------------------------------------------------------------- */
a {
  color: #0040aa;
  font-weight: 500;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: red;
  outline: 0;
  text-decoration: underline;
}

::selection {
  background: #999999;
  color: #ffffff;
  text-shadow: none;
}

/* =Forms
-------------------------------------------------------------- */
label {
  display: inline-block;
  font-weight: 700;
  padding: 2px 0;
}

legend {
  padding: 2px 5px;
}

fieldset {
  border: 1px solid #cccccc;
  margin: 0 0 1.5em;
  padding: 1em 2em;
}

select,
input[type="text"],
input[type="password"],
input[type="email"] {
  -moz-box-sizing: border-box;
  -moz-border-radius: 2px;
  -webkit-box-sizing: border-box;
  -webkit-border-radius: 2px;
  -webkit-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  box-sizing: border-box;
  border: 1px solid #aaaaaa;
  border-bottom-color: #cccccc;
  border-radius: 2px;
  margin: 0;
  outline: none;
  padding: 6px 8px;
  vertical-align: middle;
  width: 100%;
}

select {
  height: auto;
  width: 100%;
}

area,
textarea {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-border-radius: 2px;
  -webkit-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  border: 1px solid #aaaaaa;
  border-bottom-color: #cccccc;
  border-radius: 2px;
  height: auto;
  overflow: auto;
  margin: 0;
  outline: none;
  padding: 8px 10px;
  width: 100%;
}

input,
select {
  cursor: pointer;
}

area:focus,
input:focus,
textarea:focus {
  border: 1px solid #66ccff;
}

input[type='text'],
input[type='password'] {
  cursor: text;
}

/* =IE Forms
-------------------------------------------------------------- */
.ie7 area,
.ie7 select,
.ie7 textarea,
.ie7 input[type="text"],
.ie7 input[type="password"],
.ie7 input[type="email"] {
  width: 96%;
}

/* =IE6 Notice
-------------------------------------------------------------- */
.msie-box {
  background-color: #f9edbe;
  border: 1px solid #f0c36d;
  color: #212121;
  display: block;
  margin: 0 auto;
  max-width: 960px;
  padding: 10px;
  position: absolute;
  top: 60px;
  text-align: center;
  width: 100%;
}

.msie-box a {
  color: #212121;
}

/* =Tables
-------------------------------------------------------------- */
th,
td,
table {
  border: 1px solid #dddddd;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* =Lists
-------------------------------------------------------------- */
ul {
  list-style-type: disc;
  margin: 0;
  padding: 0;
}

ol {
  line-height: 22px;
  list-style-position: outside;
  list-style-type: decimal;
  margin: 0;
  padding: 0;
}

dt {
  font-weight: 400;
}

/* =Blockquote
-------------------------------------------------------------- */
blockquote {
  background: #f9f9f9;
  border: none;
  border-left: 2px solid #d6d6d6;
  margin: 10px;
  overflow: auto;
  padding: 0 0 10px 12px;
}

blockquote p {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 18px;
}

/* =Headings
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-weight: 700;
  line-height: 1.0em;
  word-wrap: break-word;
}
h1, h1 a{
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}
div.category-references h1{
  font-weight: 500;
  margin-bottom: .25;
  margin-top: .25em;
  font-size: 1em; /* = 24px */
}

h2, h2 a {
   font-size: 1.2em;
   font-weight: 500;
   margin-bottom: 0.25em;
   margin-top: 0.5em;
}

h3, h3 a {
  font-size: 1.1em; /* = 16px */
  font-weight: 600;
  margin-bottom: 0.2em;
  margin-top: 0.5em;
}

h4, h4 a {
  font-size: 1.000em; /* = 16px */
  font-weight: 700;
  margin-left: 0;
  margin-bottom: .25em;
  margin-top: .5em;
}

h5, h5 a {
  font-weight: 500;
  font-style: italic;
  margin-left: 2em;
  margin-bottom: .25em;
  margin-top: .25em;
}

/* =Margins & Paddings
-------------------------------------------------------------- */
p,
hr,
dl,
pre,
form,
table,
address,
blockquote {
  margin: 1.6em 0;
}
p {
  margin-bottom: 1em;
  margin-top: .5em;
}
div.category-references p{
  margin-top: .5em;
}
th, td {
  padding: .8em;
}

caption {
  padding-bottom: .8em;
}

blockquote {
  padding: 0 1em;
}

blockquote:first-child {
  margin: .8em 0;
}

fieldset {
  margin: 1.6em 0;
  padding: 0 1em 1em;
}

legend {
  padding-left: .8em;
  padding-right: .8em;
}

legend+* {
  margin-top: 1em;
}

input,
textarea {
  padding: .3em .4em .15em;
}

select {
  padding: .1em .2em 0;
}

option {
  padding: 0 .4em;
}

dt {
  margin-bottom: .4em;
  margin-top: .8em;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ul,
ol {
  margin: 0 1.5em 1.5em 0;
  padding-left: 2.0em;
}

li ul,
li ol {
  margin: 0;
}

form div {
  margin-bottom: .8em;
}

/* =Globals
-------------------------------------------------------------- */
#container {
  margin: 0 auto;
  max-width: 700px;
  padding: 0px 25px;
}

#wrapper {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  clear: both;
  margin: 20px auto 20px auto;
  padding: 0 20px 20px 20px;
  position: relative;
}

.front-page #wrapper {
  background-color: transparent;
  border: none;
  margin: 20px auto 20px auto;
  padding: 0;
}

#header {
  margin: 0;
}

#footer {
  clear: both;
  margin: 0 auto;
  max-width: 700px;
  padding: 0 25px 0 25px;
}

#footer-wrapper {
  margin: 0;
  padding: 0;
}

/* =Header
-------------------------------------------------------------- */
#logo {
  float: left;
  margin: 0;
  width: 100%;
  min-width: 560px;
}

.site-name {
  display: block;
  font-size: 2.063em; /* = 33px */
  line-height: 1.0em;
  padding-top: 20px;
}

.site-name a {
  color: #333333;
  font-weight: 700;
}

.site-description {
  color: #afafaf;
  display: block;
  font-size: 0.875em; /* = 14px */
  margin: 10px 0;
}

/* =Content
-------------------------------------------------------------- */
#content {
  margin-top: 20px;
  margin-bottom: 20px;
  min-width: 220px;
}

#content-full {
  margin-top: 20px;
  margin-bottom: 20px;
min-width: 220px;
}

#content-blog {
  margin-top: 20px;
  margin-bottom: 20px;
min-width: 220px;
}

#content-images {
  margin-bottom: 20px;
}

#content-search {
  margin-bottom: 20px;
  margin-top: 20px;
min-width: 220px;
}

#content-archive {
  margin-top: 20px;
  margin-bottom: 20px;
min-width: 220px;
}
#content-archive .post-entry p {
  margin-top: 0px;
  margin-bottom: 0px;
}
#content-archive .tag-sticky, .category-sticky {
        padding: 6px 6px 0px; 
        border-style: solid; 
        border-width: 1px; 
        border-color: #7f7f7f; 
        border-radius: 10px; 
        font-size: 1.2;  
}

#content-sitemap {
  margin-top: 40px;
  margin-bottom: 20px;
min-width: 220px;
}

#content-sitemap a {
  font-size: 12px;
}

#content .sticky {
  clear: both;
}

#content .sticky p {
}
//#homepage2 {
//background-image: url(http://honesthistory.net.au/wp/wp-content/uploads/parade2.jpg);
//   background-repeat: no-repeat;   
//   background-size: 100%;
//   background-position: center;
   font-weight: 500;
   color: black;

}
#homepage2 a{
   font-weight: 600;
}
#homepage2 .textbox{
	padding: 6px 6px 0px; 
        border-style: solid; 
        border-width: 2px; 
        border-color: #7f7f7f; 
        border-radius: 10px; 
        font-size: 1.2;
}   
/* =Templates (Landing Page)
-------------------------------------------------------------- */
.page-template-landing-page-php .menu,
.page-template-landing-page-php .top-menu,
.page-template-landing-page-php .main-nav,
.page-template-landing-page-php .footer-menu,
.page-template-landing-page-php .sub-header-menu {
  display: none;
}

/* =Author Meta (Author's Box)
-------------------------------------------------------------- */
#author-meta {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  background: #f9f9f9;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  clear: both;
  display: block;
  margin: 30px 0 40px 0;
  padding: 10px;
  overflow: hidden;
}

#author-meta img {
  float: left;
  padding: 10px 15px 0 5px;
}

#author-meta p {
  margin: 0;
  padding: 5px;
}

#author-meta .about-author {
  font-weight: 700;
  margin: 10px 0 0 0;
}



/* =Post
-------------------------------------------------------------- */
.comments-link a {
  font-size: 1em;
  font-weight: 600;
}

#cancel-comment-reply-link {
  color: #990000;
}
.post-title a {
 font-size: 1em;
  margin-top: 0px;
}

.post-data {
  clear: both;
  font-size: 12px;
  font-weight: 700;
  margin-top: 0px;
// display: none;
}
div {
 margin-top: 0px;
 margin-bottom: 0px;
}
.post-data a {
  color: #111111;
  margin-top: 0px;
  margin-bottom; 0px;
}

div.post-entry {
  clear: both;
  display: inline;
  margin-bottom: 0px;
}
p.post-entry {
  margin-top: 0px;
  margin-bottom: 0px;
  display: inline;
}
div.responsive-read-more a{
  display: inline;
}

.post-meta {
/*  display: none;  */
  clear: both;
  color: #9f9f9f;
  font-size: 12px;
  margin-bottom: 10px;
}

.post-edit {
  clear: both;
  display: block;
  font-size: 12px;
  margin: 1.5em 0;
}

.post-search-terms {
  clear: both;
}

.read-more {
 clear: both;
 font-weight: 700;
}

.attachment-entry {
  clear: both;
  text-align: center;
}
.boxed {
	padding: 4px 4px 0px; 
        border-style: solid; 
        border-width: 2px; 
        border-color: #7f7f7f; 
        border-radius: 10px; 
        font-size: 1.2;
	margin: 4px;
}

/* =Symbols
-------------------------------------------------------------- */
.ellipsis {
  color: #aaaaaa;
  font-size: 18px;
  margin-left: 5px;
}

.form-allowed-tags {
  display: none;
  font-size: 10px;
}
/*--------------------------
* attempt to compress References display without crippling other lists
*/
#reference-archive h2 {
  padding:0px;
  margin-top: 0;
}
#reference-archive h2 a{
  font-family: Georgia, Times New Roman, serif;
  font-size: 14px;
  color: #222222;
  padding: 0;
}
#reference-archive .entry-title .post-title {
  line-height: 0;
  margin-top: 0;
  margin-bottom: 0;
}
#reference-archive h2 a:hover {color:blue;}
#reference-archive .post-data {display:none;}
#reference-archive .read-more {display:none;}
#reference-archive .post-meta {display:none;}
#reference-archive .post-edit {display:none;}
#reference-archive  span.comments-link {display:none;}

.popwrap {
//position: absolute;
// width:0px;
// height:0px;
/* Position Information */
/* Appearance Information */
}
div.information_popup_container > div.information {
/* Position Information */
/* Appearance Information */
}
.popwrap > .post-entry {
display: none;
/* Position Information */
/* Appearance Information */
}
.popwrap > .popdown:hover + .post-entry{
display: block;
z-index: 200;
font-size: .8em;
margin-left: 15px;
color:#888888;
border: 1px solid blue;
border-radius: 6px;
padding: 3px;
}

/* =Widgets
-------------------------------------------------------------- */
.widget-wrapper {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background-color: #f0f0e4;
  border: 1px solid #888888;
  border-radius: 10px;
  margin: 0 0 10px;
  padding: 6px;
  width:80%;	
}

.widget-wrapper select,
.widget-wrapper input[type="text"],
.widget-wrapper input[type="password"],
.widget-wrapper  input[type="email"] {
  
}

#widgets {
  margin-top: 40px;
  min-width: 140px;
}

#widgets a {
  display: inline-block;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

#widgets form {
  margin: 0;
}

#widgets ul,
#widgets ol {
  padding: 0 0 0 20px;
}

#widgets ul li a {
  display: inline;
  text-decoration: underline;
  font-weight: 500;
}

#widgets .widget-title img {
  float: right;
  height: 11px;
  position: relative;
  top: 4px;
  width: 11px;
}

#widgets .rss-date {
  line-height: 18px;
  padding: 6px 12px;
}

#widgets .rssSummary {
  padding: 10px;
}

#widgets cite {
  font-style: normal;
  line-height: 18px;
  padding: 6px 12px;
}

#widgets .tagcloud,
#widgets .textwidget {
  display: block;
  line-height: 1.5em;
  margin: 0;
  word-wrap: break-word;
}

#widgets .textwidget a {
  display: inline;
}
#widgets .textwidget ul{
	margin-bottom:0;
	padding-bottom:0;
	margin-right:0;
}
#widgets ul .children {
  padding: 0 0 0 10px;
}

#widgets .author {
  font-weight: 700;
  padding-top: 4px;
}

.widget_archive select, #cat {
  display: block;
  margin: 0 15px 0 0;
}

#colophon-widget ul {
}

.colophon-widget {
  background: none;
  min-height: 0;
}

.colophon-widget select,
.colophon-widget input[type="text"],
.colophon-widget input[type="password"],
.colophon-widget input[type="email"] {
  width: 100%;
}

#top-widget {
}

.top-widget {
  background: none;
  border: none;
  clear: right;
  float: right;
  min-height: 0;
  padding: 0 3px 0 0;
  text-align: right;
  width: 45%;
}

.top-widget ul {
  padding: 0;
}

.top-widget select,
.top-widget input[type="text"],
.top-widget input[type="password"],
.top-widget input[type="email"] {
  width: auto;
}

.top-widget #searchform {
  margin: 0;
}

/* =Titles
-------------------------------------------------------------- */
.featured-title {
  font-size: 60px;
  letter-spacing: -1px;
  margin: 0;
  padding-top: 20px;
  text-align: center;
}

.featured-subtitle {
  padding: 0 10px;
  text-align: center;
}

.widget-title a, 
.widget-title h3, 
.widget-title-home h3 {
  display: block;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1em;
  margin: 0;
  padding: 0 0 20px 0;
  text-align: left;
}

.top-widget .widget-title {
  font-size: 1.2em;
  padding: 0;
  text-align: right;
}

.widget-title a, .widget-title h3{
  border-bottom: none;
  padding: 0 !important;
}

.title-404 {
  color: #993333;
}

/* =404 Page 
-------------------------------------------------------------- */
.error404 select,
.error404 input[type="text"],
.error404 input[type="password"],
.error404 input[type="email"] {
  width: auto;
}

/* =Top Menu
-------------------------------------------------------------- */
.top-menu {
  float: right;
  margin: 10px 0;
  padding: 0;
}

.top-menu li {
  display: inline;
  list-style-type: none;
}

.top-menu li a {
  border-left: 1px solid #cccccc;
  color: #333333;
  font-size: 11px;
  padding: 0 4px 0 8px;
}

.top-menu > li:first-child > a {
  border-left: none;
}

.top-menu li a:hover {
  color: #333333;
}

/* =Header Menu (Primary)
-------------------------------------------------------------- */
.menu {
  background-color: #ffffff;
  display: inline;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5858dd), to(#3d3d3d));
  background-image: -webkit-linear-gradient(top, #5858dd, #3d3d3d);
  background-image: -moz-linear-gradient(top, #5858dd, #3d3d3d);
  background-image: -ms-linear-gradient(top, #5858dd, #3d3d3d);
  background-image: -o-linear-gradient(top, #5858dd, #3d3d3d);
  background-image: linear-gradient(top, #5858dd, #3d3d3d);
  clear: both;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#5858dd, endColorstr=#3d3d3d);
  margin: 0 auto;
}

.main-nav {
  clear: both;
}
/*  .menu, */
.menu ul {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  border: 0;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 5;
}

.menu li:hover {
  white-space: normal;
  z-index: 10000;
}

.menu li li {
  float: none;
}

.menu ul {
  left: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  z-index: 10;
}

.menu li:hover > ul {
  top: 100%;
  visibility: visible;
}

.menu li li:hover > ul {
  left: 100%;
  top: 0;
}

.menu:after,
.menu ul:after {
  clear: both;
  content: '.';
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.menu,
.menu ul {
  min-height: 0;
}

.menu ul,
.menu ul ul {
  margin: 0;
  padding: 0;
}

.menu ul li a:hover,
.menu li li a:hover {
  color: #484848;
  text-decoration: none;
}

.menu ul {
  margin-top: 1px;
  min-width: 15em;
  width: auto;
}

.menu a {
/*  border-left: 1px solid #585858; */
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 13px;
  font-weight: 700;
  height: 30px;
  line-height: 30px;
  margin: 0;
  padding: 0 0.6em;
  position: relative;
  text-decoration: none;
  text-shadow: 0 -1px 0 #000000;
  white-space: nowrap;
}

.menu a:hover {
  background-color: #808080;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#363636));
  background-image: -webkit-linear-gradient(top, #808080, #363636);
  background-image: -moz-linear-gradient(top, #808080, #363636);
  background-image: -ms-linear-gradient(top, #808080, #363636);
  background-image: -o-linear-gradient(top, #808080, #363636);
  background-image: linear-gradient(top, #808080, #363636);
  color: #ffffff;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#808080, endColorstr=#363636);
}

ul.menu > li:hover {
  background-color: #363636;
  color: #ffffff;
}

.menu .current_page_item a,
.menu .current-menu-item a {
  background-color: #343434;
}

.front-page .menu .current_page_item a {
  background: none;
  background-color: transparent;
  background-image: none;
  filter: none;
}

.menu li li {
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #00009f;
  color: #444444;
  filter: none;
  margin: -1px 0 1px 0;
  width: auto;
}

.menu li li a {
  background-color: #ffffff;
  border: none;
  color: #444444;
  font-size: 12px;
  font-weight: 400;
  height: auto;
  height: 20px;
  line-height: 20px;
  padding: 5px 10px;
  text-shadow: none;
  white-space: nowrap;
}

.menu li li a:hover {
  background: #f5f5f5 !important;
  background-image: none;
  border: none;
  color: #444444;
  filter: none;
}

.menu li li:hover {
  background: #f5f5f5 !important;
  filter: none;
}

.menu ul > li + li {
  border-top: 0;
}

.menu li li:hover > ul {
  left: 100%;
  top: 0;
}

.menu > li:first-child > a {
  border-left: none;
}

#responsive_menu_button a{
  display: none;
}

.main-nav #responsive_current_menu_item {
  display: none;
}

.js .main-nav .menu {
  display: block;
}
ul .menu {
/*  background-color: #363636;
/*  background-color: blue; */
background-color: transparent;
}
ul#menu-navigation li {
  border: solid 1px;
  border-radius: 4px;
}

/* =Primary Main Menu IE Fixes
-------------------------------------------------------------- */
.ie7 .menu ul {
  background: url(core/images/ie7-fix.gif) repeat;
}

.ie7 .menu li li a {
  min-width: 100%;
}

/* =Sub-Header Menu
-------------------------------------------------------------- */
.sub-header-menu {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-top: none;
  clear: both;
  margin: 0 auto;
}

.sub-header-menu,
.sub-header-menu ul {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.sub-header-menu li {
  border: 0;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 5;
}

.sub-header-menu li:hover {
  white-space: normal;
  z-index: 10000;
}

.sub-header-menu li li {
  float: none;
}

.sub-header-menu ul {
  left: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  z-index: 10;
}

.sub-header-menu li:hover > ul {
  top: 100%;
  visibility: visible;
}

.sub-header-menu li li:hover > ul {
  left: 100%;
  top: 0;
}

.sub-header-menu:after,
.sub-header-menu ul:after {
  clear: both;
  content: '.';
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.sub-header-menu,
.sub-header-menu ul {
  min-height: 0;
}

.sub-header-menu ul,
.sub-header-menu ul ul {
  margin: 0;
  padding: 0;
}

.sub-header-menu ul li a:hover,
.sub-header-menu li li a:hover {
  color: #484848;
  text-decoration: none;
}

.sub-header-menu ul {
  margin-top: 1px;
  min-width: 15em;
  width: auto;
}

.sub-header-menu a {
  border-left: 1px solid #e5e5e5;
  color: #333333;
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: 400;
  height: 35px;
  line-height: 35px;
  margin: 0;
  padding: 0 0.9em;
  position: relative;
  text-decoration: none;
  text-shadow: none;
}

.sub-header-menu a:hover {
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-color: #f9f9f9;
  background-clip: padding-box;
}

.sub-header-menu .current_page_item a,
.sub-header-menu .current-menu-item a {
  background-color: #f9f9f9;
}

.sub-header-menu li li {
  background: #ffffff;
  background-image: none;
  border: 1px solid #e5e5e5;
  color: #444444;
  filter: none;
  margin: -1px 0 1px 0;
  width: auto;
}

.sub-header-menu li li a {
  border: none;
  color: #444444;
  font-size: 12px;
  font-weight: 400;
  height: auto;
  height: 20px;
  line-height: 20px;
  padding: 5px 10px;
  text-shadow: none;
}

.sub-header-menu li li a:hover {
  background: #f9f9f9;
  background-image: none;
  border: none;
  color: #444444;
  filter: none;
}

.sub-header-menu ul > li + li {
  border-top: 0;
}

.sub-header-menu li li:hover > ul {
  left: 100%;
  top: 0;
}

.sub-header-menu > li:first-child > a {
  border-left: none;
}

.sub-header-menu ul.children a,
.sub-header-menu .current_page_ancestor,
.sub-header-menu .current_page_ancestor ul a {
  background: none;
  background-image: none;
  filter: none;
}
#responsive_current_menu_item {
background-color: transparent;
}
/* =Sub Header Menu IE Fixes
-------------------------------------------------------------- */
.ie7 .sub-header-menu ul {
  background: url(core/images/ie7-fix.gif) repeat;
}

.ie7 .sub-header-menu li li a {
  min-width: 100%;
}

/* =Footer Menu
-------------------------------------------------------------- */
.footer-menu {
  margin-left: 0;
  padding: 0;
}

.footer-menu li {
  display: inline;
  list-style-type: none;
}

.footer-menu li a {
  border-left: 1px solid #cccccc;
  color: #333333;
  padding: 0 8px;
}

.footer-menu li a:hover {
  color: #222222;
}

.footer-menu > li:first-child > a {
  border-left: none;
  padding: 0 8px 0 0;
}

/* =Navigation
-------------------------------------------------------------- */
.navigation {
  color: #111111;
//no sequential navigation needed here
  visibility: hidden;
  display: none;
  font-size: 13px;
  height: 28px;
  line-height: 28px;
  margin: 20px 0;
  padding: 0 5px;
}

.navigation a {
  color: #aaaaaa;
  padding: 4px 10px;
}

.navigation a:hover {
  color: #111111;
  text-decoration: none;
}

.navigation .previous {
  float: left;
}

.navigation .next {
  float: right;
}

.navigation .bracket {
  font-size: 36px;
}

/* =Pagination (pages)
-------------------------------------------------------------- */
.pagination {
  clear: both;
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0;
  padding: 5px 0;
}

.pagination a {
  text-decoration: none;
}

/* =Breadcrumb Lists
-------------------------------------------------------------- */
.breadcrumb-list {
  font-size: 12px;
}

/* =Comments
-------------------------------------------------------------- */
#commentform {
  margin: 0;
}

.commentlist {
  border-bottom: 1px solid #e5e5e5;
  list-style: none;
  margin: 0;
  padding: 0;
}

.commentlist ol {
  list-style: decimal;
}

.commentlist li {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background-color: #ffffff;
  border-radius: 4px;
  margin: 0;
}

.commentlist .bypostauthor {
}

.commentlist li cite {
  color: #111111;
  font-size: 1.1em;
  font-style: normal;
  font-weight: 400;
}

.commentlist li.alt {
  background: #f9f9f9;
}

.commentlist .children {
  list-style: none;
  margin-left: 10px;
  padding: 10px;
}

.commentlist .avatar {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  float: left;
  margin-right: 10px;
  padding: 0;
  vertical-align: middle;
}

.comment-author .fn {
}

.comment-author .says {
  color: #999999;
}

.comment-body .comment-meta {
  color: #999999;
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align: left;
}

.comment-body .comment-meta a {
  font-size: 11px;
}

.comment-body {
  clear: both;
  padding: 10px;
}

.comment-body p {
  clear: both;
}

.comment-body .reply {
}

.pingback, .trackback {
  list-style: none;
  margin: 20px 0;
}

.pingback cite,
.trackback cite {
  font-style: normal;
}

#pings,
#comments {
  text-align: left;
}

#respond {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  background-color: #eaeaea;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eaeaea));
  background-image: -webkit-linear-gradient(top, #ffffff, #eaeaea);
  background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
  background-image: -ms-linear-gradient(top, #ffffff, #eaeaea);
  background-image: -o-linear-gradient(top, #ffffff, #eaeaea);
  background-image: linear-gradient(top, #ffffff, #eaeaea);
  border: 1px solid #cccccc;
  border-bottom-color: #aaaaaa;
  border-radius: 4px;
  clear: both;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff, endColorstr=#eaeaea);
  margin-top: 15px;
  padding: 10px 20px 50px;
}

#respond label {
  display: inline;
}

.reply {
  margin: 10px 0;
}

.comment-form-url input,
.comment-form-email input,
.comment-form-author input,
.comment-form-comment textarea {
  display: block;
}

.nocomments {
  color: #999999;
  font-size: .9em;
  text-align: center;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 20px auto;
}

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

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

.aligncenter {
  display: block;
  margin: 5px auto;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#content img {
	border: solid 1px;
}
.wp-caption {
  background: #f9f9f9;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 13px 10px 10px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 12px;
  line-height: 1.5em;
  margin: 0;
  padding: 10px;
}

img.wp-smiley {
  vertical-align: middle;
}
/* part-columns, pics and captions as class
------------------------------------------------------------- */
.halfleft {
	width: 50%; 
	float: left; 
	text-align: center; 
	font-size: .9em;
	padding:0 10px 0 10px;"
}
.halfright {
	width: 50%; 
	float: right; 
	text-align: center; 
	font-size: .9em;
	padding:0 10px 0 10px;"
}

.thirdleft {
	width: 33%; 
	float: left; 
	text-align: center; 
	font-size: .9em;
	padding:0 10px 0 10px;
}
.thirdright {
	width: 33%; 
	float: right; 
	text-align: center; 
	font-size: .9em;
	padding:0 10px 0 10px;
}
.quarterleft {
	width: 25%; 
	float: left; 
	text-align: center; 
	font-size: .9em;
	padding:0 10px 0 10px;
}
.quarterright {
	width: 25%; 
	float: right; 
	text-align: center; 
	font-size: .9em;
	padding:0 10px 0 10px;
}
/* =WordPress Gallery
-------------------------------------------------------------- */
.gallery {
  margin: 0 auto 18px;
}

.gallery .gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
  max-width: 155px;
}

.gallery img {
  border: 1px solid #dddddd;
}

.gallery .gallery-caption {
  font-size: 12px;
  margin: 0 0 12px;
}

.gallery dl {
  margin: 0;
}

.gallery br+br {
  display: none;
}

.attachment-gallery img {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  display: block;
  height: auto;
  margin: 15px auto;
  max-width: 96%;
  padding: 5px;
  width: auto;
}

.gallery-meta .iso,
.gallery-meta .camera,
.gallery-meta .shutter,
.gallery-meta .aperture,
.gallery-meta .full-size,
.gallery-meta .focal-length {
  display: block;
}

/* =Post Thumbnails 
-------------------------------------------------------------- */
img.wp-post-image,
img.attachment-full,
img.attachment-large,
img.attachment-medium,
img.attachment-thumbnail {
  display: block;
  margin: 15px auto;
  width: auto;
}

/* =Buttons
------------------------------------------------------------- ul {
  left: 100%;
  top: 0;
}

.sub-header-menu - */
a.button,
input[type='reset'],
input[type='button'],
input[type='submit a {
  border-left: none;
}

.menu a#responsive_menu_button {
  display: none;
}

.main-nav #responsive_current_menu_item {
  display: none;
}

.js .main-nav .menu {
  display: block;
}

/* =Primary Main Menu IE Fixes
-------------------------------------------------------------- */
.ie7 .menu ul {
  background: url(core/images/ie7-fix.gif) repeat;
}

.ie7 .menu li li a {
  min-width: 100%;
}

/* =Sub-Header Menu
-------------------------------------------------------------- */
.sub-head li:first-child er-menu {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-top: n l li:first-child i:first-child one;
  clear: both;
  margin: 0 auto;
}

.sub-header-menu,
.sub-header-menu ul {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.sub-header-menu li {
  border: 0;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 5;
}

.sub-header-menu li:hover {
  white-space: normal;
  z-index: 10000;
}

.sub-header-menu li li {
  float: none;
}

.sub-header-menu ul {
  left: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  z-index: 10;
}

.sub-header-menu li:hover '] {
  -moz-border-radius: 2px;
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  -webkit-border-radius: 2px;
  background-color: #f9f9f9; /* Alabaster */
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f1f1f1));
  background-image: -webkit-linear-gradient(top, #f9f9f9, #f1f1f1);
  background-image: -moz-linear-gradient(top, #f9f9f9, #f1f1f1);
  background-image: -ms-linear-gradient(top, #f9f9f9, #f1f1f1);
  background-image: -o-resetlinear-gradient(top, #f9f9f9, #f1f1f1);
  background-image: linear-gradient(top, #f9f9f9, #f1f1f1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  border: 1px solid #dddddd;
  border-radius: 2px;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#f1f1f1);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
  padding: 4px 10px;
  text-decoration: none;
  text-shadow: 0 1px 0 #ffffff;
  vertical-align: middle;
  white-bubuttonttonspace: nowrap;
}
#content img{border: solid 1px;}

/* Textbox
--------------------------------------------------------------*/
.boxed {
	padding: 6px 6px 0px 6px; 
        border-style: solid; 
        border-width: 3px; 
        border-color: #7f7f7f; 
        border-radius: 10px; 
        font-size: 1.2;
}
/* homepage3 styles
--------------------------------------------------------------
*/
div#homepage3 img {
	border: solid 1px black;
	}
div#thumbpanel ul{
	list-style-type: none;
}
div#thumbpanel ul li a{
	display: inline-block;
	max-width:28%;
}
/*
 =Info Boxes
-------------------------------------------------------------- */

.info-box {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  display: block;
  margin: 20px 0;
  padding: 15px;
  text-align: left;
}

.alert {
  background-color: #faebeb;
  border: 1px solid #dc7070;
  color: #212121;
}

.address {
  background-color: #f6f5ef;
  border: 1px solid #cdc9a5;
  color: #212121;
}

.notice {
  background-color: #fbf9e9;
  border: 1px solid #e3cf57;
  color: #212121;
}

.success {
  background-color: #f9fde8;
  border: 1px solid #a2bc13;
  color: #212121;
}

.download {
  background-color: #fff4e5;
  border: 1px solid #ff9912;
  color: #212121;
}

.information {
  background-color: #eef3f6;
  border: 1px solid #6ca6cd;
  color: #212121;
}

.required {
  color: #d5243f;
}
/* =WooCommerce
-------------------------------------------------------------- */
#breadcrumb {
  padding: 40px 0 0 0;
}

#breadcrumb a {
  color: #0066cc;
  font-size: 12px;
  font-weight: 400;
}

#breadcrumb a:hover {
  color: #444444;
  text-decoration: none;
}

#content-woocommerce {
  margin-top: 40px;
  margin-bottom: 20px;
}

.products ul, ul.products {
  margin-top: 40px;
}

.cart-collaterals .shipping_calculator {
  width: 100%;
}

table.shop_table {
}

table.cart td.actions .coupon .input-text,
table.cart td.actions .coupon .input-text {
  cursor: text;
}

/* =WPML
-------------------------------------------------------------- */
.icl_languages_selector {
  float: right;
  text-align: left
}

.rtl .icl_languages_selector {
  float: left;
  text-align: right
}
div#phonewarn {
	display: none;
}

@media screen and (max-width: 650px) {
  .icl_languages_selector,
  .rtl .icl_languages_selector {
    float: none;
  }
	div#phonewarn {
	display: block;
		color: red;
	}
}

/* =Polylang
-------------------------------------------------------------- */
.widget_polylang li {
  display: inline;
  list-style-type: none;
}

/* =Footer
-------------------------------------------------------------- */
#footer {
  font-size: 11px;
  line-height: 1.5em;
}

#footer a {
  color: #333333;
  font-weight: 400;
}

#footer a:hover {
  color: #444444;
}

#footer-wrapper .grid.col-940 {
  margin: 0;
}

.scroll-top {
  text-align: center;
}

.copyright {
  text-align: left;
}

.powered {
  text-align: right;
}

/* =Social Icons
-------------------------------------------------------------- */
#footer .social-icons {
  list-style: none;
  line-height: normal;
  padding: 0;
  margin: 0;
  text-align: right;
}

#footer .yelp-icon,
#footer .vimeo-icon,
#footer .youtube-icon,
#footer .twitter-icon,
#footer .facebook-icon,
#footer .linkedin-icon,
#footer .rss-feed-icon,
#footer .instagram-icon,
#footer .pinterest-icon,
#footer .foursquare-icon,
#footer .google-plus-icon,
#footer .stumble-upon-icon {
  display: inline;
  margin: 1px;
  padding-left: 3px;
}

/* =Alignments Extras
-------------------------------------------------------------- */
.left {
  float: left;
}

.right {
  float: right;
}

.center {
  text-align: center;
}

/* =Clearfix
-------------------------------------------------------------- */
.clearfix:after,
.clearfix:before,
#container:after,
#container:before,
.widget-wrapper:after,
.widget-wrapper:before {
  content: ' ';
  display: table;
}

.clearfix:after,
#container:after,
.widget-wrapper:after {
  clear: both;
}

.ie7 .clearfix,
.ie7 #container,
.ie7 .widget-wrapper {
  zoom: 1;
}

.clear {
  clear: both;
}
/* Social media links plugin display formatting
-------------------------------------------------------------*/
.ssba {
      width:80%;
      float: right;
}
.printbutton a{
      float:left;
      width:15%;
      padding: 3px;
      border: 1px solid black;
      border-radius: 6px;
}
 #post-18574.sbba {
	display:none;
}

/* =Begin bidirectionality settings (do not change)
-------------------------------------------------------------- */
BDO[DIR="ltr"] {
  direction: ltr;
  unicode-bidi: bidi-override;
}

BDO[DIR="rtl"] {
  direction: rtl;
  unicode-bidi: bidi-override;
}

[DIR="ltr"] {
  direction: ltr;
  unicode-bidi: embed;
}

[DIR="rtl"] {
  direction: rtl;
  unicode-bidi: embed;
}

/*	Retina (HiDPI) Display
    http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html
-------------------------------------------------------------- */
@media only screen and (-moz-min-device-pixel-ratio:1.5), only screen and (-o-min-device-pixel-ratio:3/2), only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min-device-pixel-ratio:1.5) {

  body {
  }
}
/* =Responsive (Mobile) Design
-------------------------------------------------------------- */

@media screen and (max-width: 980px) {

	body {
	}

	.grid,
	.grid-right {
		display: block;
		float: none;
		width: 100%;
		margin-right: 0;
	}

	.copyright,
	.scroll-top,
	.powered {
		float: left;
	}

	#featured-image .fluid-width-video-wrapper {
		margin: 20px 0 0 0;
	}

	.front-page  #widgets {
		margin-top: 40px;
	}

	.top-widget,
	.front-page  .top-widget {
		margin-top: 0 !important;
	}

	.hide-desktop {
		display: block;
	}

	.show-desktop {
		display: none;
	}

	.hide-980 {
		display: none;
	}

	.show-980 {
		display: block;
	}
	
// TRY TO TAME RESPONSIVE MENU
.js div#responsive_current_menu_item .main-nav  {
    display: none;
        }
	.phonewarn {
		display:none;
	}
}

@media screen and (max-width: 650px) {

	body {
	}
	
	#logo {
		float: none;
		margin: 0;
		text-align: center;
	}
	.phonewarn {
		display:block;
		color:red;
	}
	.main-nav {
		display: none; 
//		display: block;   ANOTHER TRY TO FIX MENUS
	}

	.grid,
	.grid-right {
		float: none;
	}

	#featured-image .fluid-width-video-wrapper {
		margin: 20px 0 0 0;
	}

	.top-widget {
		float: none;
		margin: 0 auto 10px auto;
		position: relative;
		text-align: center;
		width: auto;
	}

	.top-widget .widget-title h3 {
		text-align: center;
	}

	.js .sub-header-menu {
		display: none;
	}
/*  STOP mOBILE MENU OVERRIDING */
	.js .main-nav {
		position: relative;
		margin: 0 auto;
		background-color: #585858;
		background-image: -webkit-gradient(linear, left top, left bottom, from(#585858), to(#3d3d3d));
		background-image: -webkit-linear-gradient(top, #585858, #3d3d3d);
		background-image: -moz-linear-gradient(top, #585858, #3d3d3d);
		background-image: -ms-linear-gradient(top, #585858, #3d3d3d);
		background-image: -o-linear-gradient(top, #585858, #3d3d3d);
		background-image: linear-gradient(top, #585858, #3d3d3d);
		clear: both;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#585858, endColorstr=#3d3d3d);
		margin: 0 auto;
	}

	.js .main-nav .menu {
		position: absolute;
/* make dropdown narrower   		
		width: 100%;   */
		width: 30%;
		top: 30px;
		z-index: 1000;
		display: none;
	}

	.js .main-nav .menu ul {
		margin-top: 1px;
     	}

	.js .main-nav .menu li {
		float: none;
		background-color: #ffffff;
		border: none;
		display: block;
	}

	.js .main-nav .menu li a {
		color: #444444;
		font-size: 13px;
		font-weight: normal;
//		height: 45px;
		height: 24px;
//		line-height: 45px;
		line-height: 1px;
		padding: 10 4 0 4px;
		border: none;
//		border-radius: 4px
		border-bottom: 1px solid #f5f5f5;
		text-shadow: none;
		text-align: left;
		cursor: pointer;
              
	}

	.js .main-nav .menu li.current_page_item,
	.js .menu .current_page_item a,
	.js .menu .current-menu-item a {
	background-color: #f5f5f5;
	}

	.js .main-nav .menu li li:hover {
		background: none !important;
	}

	.js .main-nav .menu li li a {
		position: relative;
		padding: 0 10px 0 30px;
	}

	.js .main-nav .menu li li li a {
		position: relative;
		padding: 0 10px 0 40px;
	}

	.js .main-nav .menu li a:hover,
	.js .main-nav .menu li li a:hover {
		background-image: none;
		filter: none;
		background-color: #f5f5f5 !important;
	}

	.js .main-nav .menu li li a::before {
		content: "\2013";
		position: absolute;
		top: 0;
		left: 20px;
	}

	.js .main-nav .menu li li li a::before {
		content: "\2013";
		position: absolute;
		top: 0;
		left: 20px;
	}

	.js .main-nav .menu li li li a::after {
		content: '\2013';
		position: absolute;
		top: 0;
		left: 30px;
	}

	.js .main-nav .menu li ul {
		position: static;
		visibility: visible;
		background-color: #ffffff;
	}

	.js .main-nav .menu ul {
		min-width: 0;
	}

	.js .main-nav #responsive_current_menu_item {
		display: block;
		padding: 5px 40px 5px 10px;
		color: #ffffff;
		font-weight: 700;
		cursor: pointer;
		height: 18px;
	}

	.js .main-nav a#responsive_menu_button {
		position: absolute;
		display: block;
		top: 0;
		left: 100%;
		height: 30px;
		width: 23px;
		margin-left: -30px;
		background: url('../images/select-icons.png') 0 5px no-repeat;
		cursor: pointer;
	}

	.js .main-nav a#responsive_menu_button.responsive-toggle-open {
		background: url('../images/select-icons.png') 0 -46px no-repeat;
	}
	#header .menu .main-nav {display:none;}
        #responsive_menu_button a {display: none;}
        #responsive_current_menu_item {display:none;}
	.top-menu,
	.footer-menu li {
		float: none;
		font-size: 11px;
		text-align: center;
	}

	#author-meta {
		padding: 20px;
	}

	#wrapper .gallery .gallery-item {
		max-width: 100%;
	}

	.hide-650 {
		display: none;
	}

	.show-650 {
		display: block;
	}

	.hide-mobile {
		display: none;
	}

	#footer {
		text-align: center;
	}

	#footer .social-icons {
		padding-bottom: 10px;
		text-align: center;
	}
/* Edited 24/8/16 to hide submenu items on small screens   */
/*	ul#menu-navigation.menu {
	display: none;
	}
 .js .main-nav {display: none; } /*  changed from none */
}

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

	body {
	}

	#logo {
		float: none;
		text-align: center;
	}

	.grid,
	.grid-right {
		float: none;
	}

	#featured-image .fluid-width-video-wrapper {
		margin: 20px 0 0 0;
	}

	.featured-title {
		font-size: 40px;
		padding: 40px 20px 0 20px
	}

	.featured-subtitle {
		font-size: 24px;
	}

	.navigation .next,
	.navigation .previous {
		display: block;
		margin: 0 auto;
		text-align: center;
	}

	.menu ul,
	.menu li,
	.top-menu,
	.footer-menu li,
	.sub-header-menu li {
		float: none;
		text-align: center;
		text-rendering: optimizeSpeed;
	}

	#wrapper .gallery .gallery-item {
		float: none;
	}

	.hide-480 {
		display: none;
	}

	.show-480 {
		display: block;
	}

	#footer {
		text-align: center;
	}

	#footer .social-icons {
		text-align: center;
	}
/*	#content, #widgets {
		width: 98%;
	}
 .js .main-nav {display: none; }   */
}

@media screen and (max-width: 320px) {

	body {
	}

	#featured p {
		font-size: 12px;
		line-height: 1.5em;
	}

	.featured-title {
		font-size: 35px;
	}

	.featured-subtitle {
		font-size: 15px;
	}

	.call-to-action a.button {
		font-size: 14px;
		padding: 7px 17px;
	}

	.hide-320 {
		display: none;
	}

	.show-320 {
		display: block;
	}
.js .main-nav {display: none; }   
}

@media screen and (max-width: 240px) {

	body {
	}

	#featured p {
		font-size: 11px;
		line-height: 1.5em;
	}

	.featured-title {
		font-size: 20px;
	}

	.featured-subtitle {
		font-size: 11px;
	}

	.call-to-action a.button {
		font-size: 12px;
		padding: 5px 15px;
	}

	.top-widget area,
	.top-widget select,
	.top-widget textarea,
	.top-widget input[type="text"],
	.top-widget input[type="password"],
	.top-widget input[type="email"] {
		width: 75%;
	}

	.widget-title h3,
	.widget-title-home h3 {
		font-size: 14px;
		height: 13px;
		line-height: 13px;
		text-align: left;
	}

	.hide-240 {
		display: none;
	}

	.show-240 {
		display: block;
	}
/*.js .main-nav {display: none; } /* deleted for mobile screens? */
}

/*styling for Responsive Menu */
/*div#click-menu {
	opacity: .3;
}
		
/* =Media Print
    If you're working on a Child Theme, make sure that all
	media queries are included in your style.css
-------------------------------------------------------------- */
@media only print and not screen {

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  ul, ol, dl {
    page-break-before: avoid;
  }
#header {display:none}
#respond {display:none}
#footer {display:none}
.ssba .navigation .post-data {
	display:none}
.page .post {
margin-left: 3em;
margin-right: 3em;
}
.sbba .navigation .post-data {
display: none;
}
}