/* Theme Name: Back in Time
* Author: Wesley Marquis of 449 Design
* Author URI: http://www.449design.ca
* Description: Congratulations on your new theme! This theme was created specifically for the Labor Heritage Foundation by the fine folks at 449 Design. It was a pleasure to design the theme and give the Labor Heritage Foundation's website a new look. 
* Version: 1.0
* Tags: Retro, News, Orange, Blue, News, Labor Unions, Labor Heritage
*/


/* Import WooCommerce Styles */

@import 
url('http://www.laborheritage.com/wp-content/lhf/woocommerce/css/woocommerce.css');

/* Adjust Woo Commerce For Theme */

.woocommerce #sidebar{display:none} 

/* image adjustment and placement */
.entry img {float: left;
clear: both;
margin-right: 20px;
padding-bottom: 20px;}
img {max-width: 100%;}
.entry h3 {clear: left;
margin-top: 20px;
padding-top: 20px;
max-width: 80%}

/* Fonts */

@font-face {font-family: Bellerose;
src: url(fonts/Bellerose.ttf);
}

@font-face {font-family: Caviar Dreams;
src: url(fonts/CaviarDreams.ttf);}
h1, h2, h3, h4, h5, h6 {font-family: Bellerose;
color: #04458d;
margin-bottom: 10px;
text-transform: uppercase;}
#content-area h1, #content-area h3, #content-area h2 {
padding-bottom: 15px;
font-style: italic;
font-weight: normal;
text-transform: normal;}
#content-area h1, #content-area h3 {font-size: 1.5em;}
#content-area h2 {font-size: 1.24em;}
p {font-family:, 'Open Sans','Myriad Pro', sans-serif;
padding-left: 3%;
font-size: 110%;}
footer p {font-size: 90%;
margin-top: 15px;}
footer a {color: #04458d;}
#content-area a {color: #04458d;
font-weight: bold;
}
#content-area a:hover {color: #3E7FB0;
text-decoration: underline;}


/* Header */
header {background-image: url('img/header.png');
background-repeat: repeat;
padding-top: 20px;}

img.logo {width:50%;
padding: 5%;
float: left;}

header h1 {font-family: Bellerose;
padding-bottom: 20px;
margin-top: -3px;
font-size: 2.3em;
color: #b0e5f2;
text-shadow: 1px 1px #000}

/* social media icons */
#socialicons {text-align: right;}
img.social {width: 90px;
margin-top: 3%;}
img.rss {margin-top: -2%;
width: 85px;}

/* navigation */
.navbar-default {background-color: #04458D;
	border-radius: 0;
	border: none;
margin-bottom: 1px;}
.menu-header {
    display: block;
    float: left;
    margin: 0 auto;
    margin-top: -40;
    width: 100%;
    height: 42px;
    margin-bottom:-40px;
}
.menu-header ul,
    div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
 
.menu-header li,
    div.menu li {
    float: left;
    position: relative;
    font-family: impact;
    font-size: 1.7em;
    text-shadow: 4px 4px #000;
}.menu-header li,
    div.menu li {
    float: left;
    position: relative;
}
 
.menu-header ul ul {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    float: left;
    width: 10px;
    z-index: 99999;
}
.menu-header a {
    color: #fff;
    display: block;
    line-height: 41px;
    padding: 0 10px;
    text-decoration: none;
    font-weight: normal;
}

.menu-header ul li:hover > ul {
    display: block;
    font-size: .88em;
}
.menu-header li:hover > a,
#menu-primary .menu-header ul ul :hover > a {
    background: #333;
    color: #fff;
}
.menu-header ul ul a {
    background: #333;
    line-height: 1em;
    padding: 10px;
    width: 300px;
    height: auto;
    font-size: .65em;
    font-family: Bellerose;
    opacity: .90;
    padding-bottom: 10px;
    text-shadow: none;
}


.menu-header ul ul a:hover {background: #000}
.menu-header ul li.current_page_item > a,
.menu-header ul li.current-menu-ancestor > a,
.menu-header ul li.current-menu-item > a,
.menu-header ul li.current-menu-parent > a {
    color: #abc;
    text-shadow: 2px 2px #000;
}
.navbar-default .navbar-nav > li > a:hover {text-shadow: none;}


/* Search Form */

.gsc-clear-button {display: none;}

/* Polls Widget */
.wp-polls-form {border: 1px solid gold;
border-radius: 0px 15px 0px 15px;
margin: 0 auto;
width: 200px;
padding: 4px;
background-color: orange;
margin-top: 20px;
font-family: caviar dreams}
input.Buttons {border-radius: 10px;
color: blue;
font-weight: bolder;
font-family: Caviar Dreams;}
.wp-polls-form a {color: #fff;}


.empty {
	color: #524630;
}

/* Main Area */
body {background-image: 
url('https://www.laborheritage.org/wp-content/themes/lhf/img/mainbg.png');
background-size: 80%;
background-position: left -5px top 100px;}
#main {
z-index: -2;}

/* side menu */


#side-menu {border: 5px solid #04458d;
	background-color: #efe4b7;
padding-bottom: 20px;
}

img.rosie {margin-top: 20px;} 

/* Content Area */

/*Thumbnail image correction */
.wp-post-image {width: 300px;
height: auto;
margin: 0 auto;}
img.old-photos {margin-top: -200px;
margin-bottom: -5px;
overflow: visible;
}
#content-area {border: 5px solid #04458d;
background-color: #efe4b7;
margin-top: 200px;
margin-bottom: 40px;
}

/* Featured Content Slider Adjustments */

.feat_next, .feat_prev {margin-top: 24px !important;}
/*ul#slider{max-width: 500px;
margin-left: -10px;}
.www_slider {display: none;}*
.content_left {margin-top: -40px;
margin-left: -20px;}
.feat_next {float: right;}
.img_right {width: 350px;}*/
.www_slider {display: none;}
/* Front Page Columns */
#column1 {border-right: 1px solid #999;
margin-bottom: 20px;}
#column3 {border-left: 1px solid #999;
margin-bottom: 20px;}
hr {  border: 0; height: 1px; background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); }}
footer {
margin-top: 40px;
padding: 5px;}
footer p {text-align: center;
color: #000;
font-weight: bold;
}

/* Youtube Widget Style */

#ff_youtube_widget-2 {list-style: none;
}
#ff_youtube_widget-2 h3{display: none;}

/* Side Menu */
#side-menu {list-style: none;}
#side-menu h4, #side-menu h3, #side-menu a {margin-left: 20px;
font-weight: bolder;
}
#side-menu p {margin-left: 15px}

/* Post Styles */
#content-post-area {border: 5px solid #04458d;
background-color: #efe4b7;
margin-top: 200px;
padding-bottom: 20px;
}
#content-post-area img {float: left; 
margin-right: 40px;
border: none;
}

#content-post-area p {padding-left: 20px;}

#content-post-area h2 {margin-bottom: 20px;
font-weight: bolder;
padding-bottom: 20px;
text-align: center;}

#content-post-area h1 {background: none;
border-radius: none;
border:none;
padding-bottom: 40px;}
#side-menu ul li a {margin-left: -30px;
}
/* Side Menu Drop Down Styles */
.panel-default > .panel-heading {background: none;
background-color: #04458D;
padding-bottom: 10px;
padding-top: 4px;
color: #fff;
border-top: 1px solid #999;
border-bottom: none;
border-radius: 0;
margin-left: -40px;
}
.panel-default > .panel-heading a{color: #fff;}


.wp-polls-ans {margin-left: -10px;}

/* Contact Form Styles */
div.wpcf7 {
margin-top: 20px;
margin-bottom: 40px;
}

.wpcf7 p {font-weight: bold;
font-size: 150%;
color: #04458D;}
.wpcf7-form span.wpcf7-form-control-wrap {
display: block;
margin-bottom: 20px;
position: relative;
}
.wpcf7-form p {
font-size: 13px;
margin: 10px 0 0;
}
.wpcf7-form p:last-of-type {
margin: 0;
}
div.wpcf7-validation-errors {
margin: 25px 0 0;
}
span.wpcf7-not-valid-tip {
font-size: 0.95em;
font-family: 'Verdana';
}
.wpcf7-response-output {
background: #f4f4f4;
color: #888;
display: none;
line-height: 1.45em;
margin-top: 30px;
padding: 12px;
text-align: center;
}
input.wpcf7-not-valid[type="text"],
input.wpcf7-not-valid[type="password"],
input.wpcf7-not-valid[type="email"],
input.wpcf7-not-valid[type="url"],
input.wpcf7-not-valid[type="tel"],
textarea.wpcf7-not-valid {
border-color: #FF4847;
}

.wpcf7-submit {width: 100%;
padding: 5px;
font-size: 1.5em;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
 {width: 80%;
padding: 6px;
border-color: none;
margin-top: 10px;}
/* Woo Commerce Styles */
ul.products {display: inline-block;}
ul.product li {width: 100px;}
ul.products h3 {clear: both;
font-size: 1em;
font-family: 'Myriad Pro', 'Open Sans', 'Sans Serif';
display: block;
margin-left: auto;
margin-right: auto;
text-transform: normal;
padding-top: 10px;
}

table.shop_table {max-width: 100% !important;}

input.shipping_method {
margin-right: 30px;
}
li.type-product {list-style: none;
float: left;
width: 180px;
height: 250px;}
#tab-description {background: none;}
/*ul.tabs {display: none;}*/
#tab-description h2{text-align: left;
margin-top: 0;
font-size: 1.5em;}
thead {background-color: #04458D;
color: white;}
.woocommerce form {width: 70%;}
tr.cart_item {background-color: white;}
#main_content h2 {text-align: left;
}

.cart_collatorals {text-align: left;}
.actions {background-color: #333;}
input.button {background-color: #04458D;}
.cart_totals {background-color: white;
padding: 10px;
border: 3px solid #04458D;
border-radius: 5px;
text-align: left;}
tfoot {background-color: #fff;}

.orderby {margin-bottom: 20px;}

.product {background-color: #fff;
margin-right: 20px;
padding: 10px;
border: 3px solid #ddd;
border-radius: 4px;
box-shadow: 2px 2px #999;
margin-top: 20px;
}
.product a {text-decoration: none;}
.product a:hover {color: #ddd;}
a.button {
white-space: nowrap;
display: inline;
background-color: #04458d;
color: white;
padding: 6px;
margin-left: 4px;
margin-top: 4px;
border-radius: 2px;
clear: both;}
.wp-post-image {
clear: right;}
.products h3 {margin-bottom: 20px;
float: none;}
span.onsale {text-decoration: none;
color: green;
font-weight: bolder;}
ins {color: green;
font-weight: bold;}
.woocommerce-message {color: green;
margin-top: 20px;}
a.button{text-decoration: none;}
a.button:hover {color: yellow;}
div.product {background-color: inherit;
border: none;}
img.attachment-shop_catalog {width: 100px;height:100px;
display: block;
text-align: center;}

nav.woocommerce-pagination  {margin: 0;
padding: 20px 0;
list-style-type: none;
text-align: center;
}

ul.page-numbers {margin-left: 42.5%;
margin-top: 10px;}

.woocommerce-pagination:before {content: 'Jump to Page';
margin-top: 20px;
font-weight: bold;

color: #04458D;}
.woocommerce-pagination ul li {display: inline; float: left;
margin-right: 10px;
font-weight: bold;
}
.woocommerce-pagination ul li a {font-weight: bold;}
img.attachment-shop_single {box-shadow: 0px 0px 2px 2px #999;
background-color: inherit;
opacity: 0.95;}
#tab-additional_information {opacity: 0.45;}
.woocommerce-tabs ul li a:hover {color: #000;}
.product_meta a:hover {color: #000;}

ul.product-categories {list-style: none;
    background-color: #04458D;
    box-shadow: 2px 2px #999;
    padding: 10px;
    border-radius: 5px;
    line-height: 2em;
}

ul.product-categories li {display: inline;
line-height: 1.5em;
white-space: nowrap;}
ul.product-categories li a {font-size: 1em;
font-weight: bold;
margin-right: 5px;
margin-left: 5px;
color: #fff;}
.count {color: white;}
li.widget {list-style: none;}
#woocommerce_product_categories-2h3 h3 {list-style: none;}
.shop-content, h1.page-title {display:none;}


/* Responsive Styles */

@media screen and (max-width: 1199px) {
    #featured_slider .img_right {width: 175px;
margin-left: 20px;}
}

@media screen and (max-width: 990px) {
    #column1, #column3 {border: none;}
img.social{width: 75px;
margin-top: 60px;}
img.rosie {margin-left: 27%;}
}
@media screen and (max-width: 800px){
    .navbar, .navbar-nav, .navbar-default {display: none;}

img.social {width: 75px;
margin-top: 50px;}

#side-menu h3{text-align: center;}
/*make the input of the search have more padding for smaller devices */
#gsc-i-id1 {padding: 10px;}
}


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

  #featured_slider .img_right {width: 150px;}

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

    #featured_slider .img_right {width: 125px;}
    img.social {width: 65px;}
}

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

      #featured_slider .img_right {display: none;}
}
@media screen and (max-width: 640px){
    img.social {width: 50px;}
    img.rosie {margin-left: 20%;}
}
@media screen and (max-width: 569px) {
    li.type-product {margin: 10px auto;
        margin-right: 10px;}
}
@media screen and (max-width: 480px){
table {max-width: 10px}
li.type-product {margin-left: 15%;}
ul.page-numbers{margin-left: 25%;}
img.rosie {margin-left: 10%;}
#socialicons {display: none;}
img.logo {padding-bottom: 20px;}
#featured_slider {display: none;}
img.old-photos{margin-bottom: 30px;}

}

@media screen and (max-width: 320px) {
    img.rosie {margin-left: 2%;}
    img.logo{width: 300px;}
    li.type-product {margin-left: -37px;
        margin-bottom: 20px;}
        table.shop_table {width: 10px !important;
            margin-left: -60px !important;}
}

/* Accessibility */

#skipto { position: absolute;
    left: -999px;}
