/*
Theme Name: Family of Twelve 2018
Description: Family of Twelve theme 2018
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
html, body {
    height:100%;
}

body {
	margin: 0;
	background: #fff;
	min-width: 320px;
}

html, body, p, li, dd, td {
	color: #231f20;
	line-height: 200%;
	font-size: 1.0em;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

.pace-running {
	background: url(images/preloader.gif) center 200px no-repeat #fff;
}

.pace-running > :not(.pace) {
  /*opacity: .8;*/
}

.pace-done > :not(.pace) {
  /*opacity: 1;*/
  transition: opacity .5s ease;
}

img a, a img {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
}

td {
	vertical-align: top;
}

b, strong {
    font-weight: 900;
}

a {
	color: #be531c;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #ff9900;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 150%;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    color: #be531c;
}

h1 {
	font-size: 2.2em;
	margin-top: 0;
}

h2 {
	font-size: 2.0em;
}

h3 {
	font-size: 1.7em;
}

h4 {
    color: #231f20;
    font-size: 1.2em;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    margin-bottom: 0;
}

hr {
	height: 2px;
	border: 0;
	width: 100%;
	background: #cccccc;
	color: #cccccd;
	margin: 50px 0;
}

.wrapper {
	width: 950px;
	padding: 0 25px;
	margin: 0 auto;
}

/* Header                                           */
/* ------------------------------------------------ */
#social {
    position: absolute;
    top: 210px;
    width: 48px;
    z-index: 998;
}

#social img {
    display: block;
}

/*
img.winery-header-logo {
    opacity: 0.60;
    filter: alpha(opacity=60);
}
*/

#header {
    height: 100%;
}

.section {
    clear: both;
    height: 100%;
    position: relative;
}

.section-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 30px 0;
}

.display-table {
    display: table;
    width: 100%;
    height: 100%;
}

.display-table-cell {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
}

.section-text-wrapper h2 {
    font-size: 36px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    color: #fff;
    margin: 0 25px 20px 25px;
    text-align: center;
}

.header-text-wrapper h2 {
    font-size: 48px;
}

#header-logo {
    margin: 0 auto 290px auto;
    display: block;
}

#header-logo-inner {
    float: left;
}

.red-section, .black-section, .white-section {
    padding: 130px 0;
    background: #be531c;
    text-align: center;
}

.red-section h2, .black-section h2, .white-section h2 {
    font-size: 36px;
}

.black-section {
    background: #000;
    padding: 80px 0 50px 0;
}


.white-section {
    background: #fff;
}

.white-section h2 {
    color: #be531c;
}

.red-section, .red-section h1, .red-section h2, .red-section p, .red-section a,
.black-section, .black-section h1, .black-section h2, .black-section p, .black-section a {
    color: #fff;
}

#newsitems {
    overflow: hidden;
    text-align: center;
}

#newsitems div {
    float: left;
    width: 24%;
    margin-right: 1%;
    text-align: left;
}

#newsitems div img {
    display: block;
    width: 100%;
    height: auto;
    margin: 100px 0 25px 0;
}

#newsitems p {
    margin: 0;
    margin-right: 15px;
}

#newsitems a {
    text-decoration: none;
    font-weight: 900;
}

.post-excerpt-title {
    font-weight: 700;
    color: #000;
}

/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 100px 0 100px 0;
	overflow: hidden;
	min-height: 200px;
    background: #fff;
}

.content, .content p, .content li {
	line-height: 200%;
}

.content img {
	max-width: 100%;
	height: auto;
}

.no-header {
    padding-top: 170px;
}

#post-navigation {
    margin: 30px auto 0 auto;
    text-align: center;
    max-width: 580px;
}

a.readmore, #post-navigation a {
	color: #be531c;
    border: 2px solid #be531c;
	padding: 15px 40px;
    min-width: 190px;
	text-decoration: none;
	display: inline-block;
	margin: 55px auto 0 auto;
	font-size: 10px;
	font-family: 'Lato', sans-serif;
    text-transform: uppercase;
	font-weight: 700;
	line-height: 100%;
    letter-spacing: 0.2em;
	cursor: pointer;
}

a.readmore:hover {
	background: #be531c;
	color: #fff !important;
}

.red-section a.readmore, .black-section a.readmore {
    color: #fff;
    border: 2px solid #fff;
}

.red-section a.readmore:hover, .black-section a.readmore:hover {
    background: #fff;
    color: #be531c !important;
}

a.readmore, a.sbi_load_btn, .homepagebox-image img, input[type="submit"], #map-dots .absolute, #homepage-gallery img {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* override the Instagram Feed plugin's "load more" button style */
a.sbi_load_btn {
    color: #fff !important;
    background: #000 !important;
    font-size: 10px !important;
    font-family: 'Lato', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    line-height: 100% !important;
    border: 2px solid #fff !important;
    padding: 15px 40px !important;
    border-radius: 0 !important;
}

a.sbi_load_btn:hover {
    background: #fff !important;
    color: #be531c !important;
}

.clearfix {
    clear: both;
}

.key-image {
    margin-bottom: 30px;
}

.winery-images {
    clear: both;
    padding-top: 80px;
    margin: -2px;
}

.winery-images img {
    vertical-align: top;
    width: 49%;
    height: auto;
    padding: 2px;
}

#homepage-gallery {
    margin: 100px 0;
    overflow: hidden;
}

#homepage-gallery img {
    vertical-align: top;
    width: 25%;
    float: left;
    padding: 2px;
    box-sizing: border-box;
    bbackground: red;
}

#homepage-gallery img:hover {
    opacity: 0.90 !important;
}

/* Wineries maps                                    */
/* ------------------------------------------------ */
#wineries-list {
    float: left;
    width: 25%;
    padding-right: 5%;
    overflow: visible;
    color: #555;
}

#wineries-list a {
    padding: 6px 0;
    color: black;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

#map-small {
    float: right;
    margin-left: 30px;
    position: relative;
    z-index: 10;
}

#map-small #map-dots .absolute {
    position: absolute;
    z-index: 50;
    width: 15px;
    height: 20px;
    border-radius: 10px;
    background: #9e4733;
}


#map {
    float: left;
    width: 70%;
    text-align: center;
    margin-bottom: 1em;
    margin-top: -6em;
    position: relative;
    z-index: 10;
}

#map img, #map-small img {
    width: 100%;
    height: auto;
    display: block;
}
#map ul, #map-small ul, #wineries-list {
    list-style-type: none;
    margin: 0;
}


#map-dots {
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
    width: 100%;
    height: 100%;
}

#map #map-dots .absolute {
    position: absolute;
    z-index: 50;
    width: 0;
    height: 0;
    border-radius: 5px;
    background: #9e4733;
}

#dot14 {
    top: 19%;
    left: 58%;
}

#map-small #dot14 {
    top: 19%;
    left: 63%;
}

#dot16 {
    top: 20%;
    left: 58%;
}

#map-small #dot16 {
    top: 20%;
    left: 63%;
}

#dot19 {
    top: 32%;
    left: 73%;
}

#map-small #dot19 {
    top: 31%;
    left: 86%;
}

#dot21 {
    top: 38%;
    left: 68%;
}

#map-small #dot21 {
    top: 38%;
    left: 77%;
}

#dot24 {
    top: 50%;
    left: 60%;
}

#map-small #dot24 {
    top: 48%;
    left: 67%;
}

#dot26 {
    top: 50%;
    left: 60.0%;
}

#map-small #dot26 {
    top: 48%;
    left: 67.5%;
}

#dot28 {
    top: 52%;
    left: 47%;
}

#map-small #dot28 {
    top: 52%;
    left: 47%;
}

#dot30 {
    top: 53.5%;
    left: 51%;
}

#map-small #dot30 {
    top: 53.5%;
    left: 53%;
}

#dot32 {
    top: 54.5%;
    left: 51%;
}

#map-small #dot32 {
    top: 54.5%;
    left: 54%;
}

#dot34 {
    top: 54%;
    left: 51%;
}

#map-small #dot34 {
    top: 54%;
    left: 51%;
}

#dot36 {
    top: 66%;
    left: 44%;
}

#map-small #dot36 {
    top: 66%;
    left: 44%;
}

#dot38 {
    top: 80%;
    left: 28%;
}

#map-small #dot38 {
    top: 80%;
    left: 22%;
}

/* Album                                            */
/* ------------------------------------------------ */

.album-images {
    margin-top: 40px;
}

.album-images img {
    width: 29.333%;
    height: auto;
    vertical-align: top;
    margin: 0 3% 3% 0;
}


/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 60px 0;
	text-align: center;
}

#footer a, #footer, #footer p {
	color: #fff;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.png') no-repeat;
	opacity: 0.7;
}

#copyright {
    margin-top: 85px;
}

#copyright, #copyright a {
    color: #939598;
    font-size: 12px;
    text-transform: uppercase;
}

#footer-signup {
    margin: 50px 0;
}

#footer-social {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    margin-right: 20px;
}

#footer-social img {
    margin: 0 6px;
}

#mc_embed_signup {
    height: 50px;
    display: inline-block;
    width: 530px;
}

#mc_embed_signup span {
    float: left;
    line-height: 50px;
    padding-right: 10px;
    height: 50px;
}

#mce-EMAIL {
    float: left;
    background: #555;
    color: #fff;
    border: 0;
    padding: 0 20px;
    width: 230px;
}

#mc-embedded-subscribe {
    background: #be531c;
    border: 0;
    color: #fff;
    font-weight: 300;
    padding: 0 30px;
    font-size: 15px;
    float: left;
    cursor: pointer;
}

#mce-EMAIL, #mc-embedded-subscribe {
    height: 50px;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (max-width: 1280px) {
	.wrapper {
		width: auto;
	}

/*
    .content {
        padding-left: 70px;
    }
*/
}

@media screen and (max-width: 800px) {
    #social {
        top: 138px;
    }

    #header {
        height: 500px;
    }

    .content {
        padding-top: 130px;
    }

    .header-text-wrapper h2 {
        font-size: 36px;
    }

    .section h2 {
        font-size: 30px;
    }

    #header-logo {
        width: 230px;
        height: auto;
        margin: -22px auto 160px auto;
    }

    #footer-social {
        display: block;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 720px) {
    #newsitems div {
        width: 49%;
    }

    #newsitems div:first-child + div + div {
        clear: both;
    }


    #homepage-gallery img {
        width: 33.3333%;
    }

    #footer-logo {
        width: 200px;
    }
}

@media screen and (max-width: 620px) {
    #post-navigation .alignleft, #post-navigation .alignright {
        float: none;
    }
}

@media screen and (max-width: 570px) {
    #homepage-gallery img {
        width: 50%;
    }

    #mc_embed_signup {
        width: auto;
    }

    #mc_embed_signup span {
        display: block;
        float: none;
    }

    #mce-EMAIL {
        width: 120px;
        padding: 0 10px;
    }

    #mc-embedded-subscribe {
        padding: 0 10px;
    }

    .winery-images img {
        width: 100%;
        padding: 0 0 2px 0;
    }

    #map-small {
        float: none;
    }

}

@media screen and (max-width: 420px) {
    #newsitems div {
        width: 99%;
    }

    #newsitems p {
        margin-right: 0;
    }

    #homepage-gallery img {
        width: 100%;
        padding: 0 0 4px 0;
    }
}


/* WP Common Styles */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	padding-left:13px;
	}

.commenttext {
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}

@media screen and (max-width: 560px) {
	.alignleft, .alignright {
		float: none;
		margin: 20px auto;
	}
}