
/* GLOBAL STYLES
-------------------------------------------------- */

body {
    padding-top: 3rem;
    padding-bottom: .5rem;
    color: #5a5a5a;
}

main {
    min-width: 300px;
    min-height:600px;
}

.ml-50 {
    margin-left:50px;
}
.mt-50 {
    margin-top:50px;
}
.mt-75 {
    margin-top:75px;
}


/* TYPOGRAPHY
-------------------------------------------------- */

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

h1, h2, h3, h4 {
	font-family: 'Cormorant Garamond', serif;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: .1rem;
    letter-spacing: .02em;
}

.lead {
    font-size: 1.15rem;
    line-height: 2;
}

p {
	line-height: 1.75;
}

a {
    color: #666;
    text-decoration: none;
}

.prominent {
	font-weight: 500;
}

a:hover, a.prominent:hover {
	color: #97bbe3;
	text-decoration: none;
}

/* NAV
-------------------------------------------------- */

nav.navbar {
    border-bottom:1px solid #dcdcdc;
}

.navbar-brand img{max-width: 150px;}


.nav-link{
    font-size: .9rem;
    letter-spacing: .05em;
}

.navbar-light .navbar-nav .nav-link {
    color: #555;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #97bbe3;
}

.navbar-collapse{
    margin:0;
    padding:10px;}

textarea:hover, input:hover, textarea:active, input:active, textarea:focus, input:focus,button:focus,button:active,button:hover,label:focus,
.btn:active,
.btn.active
{
    outline:0px !important;
    -webkit-appearance:none;
}


/* BUTTONS
-------------------------------------------------- */

.btn-member {margin-left:0;}

.btn-member:hover, .btn-main:hover {background: #bad1eb;
    border-color:#5a5a5a;
    color: #5a5a5a;}

.btn-submit {
    background: #97bbe3;
    color: #fff;
    border-color: #9f9d9d;
    font-weight: 500;
    letter-spacing: .07em;
}

.btn-submit:hover{background: #bccfe5;
    color: #5a5a5a;
    border-color:#5a5a5a;
    font-weight: 700;}


	/* MENU
-------------------------------------------------- */
.dropdown {
	position: relative;
	display: inline-block;
}
  
.dropdown-content {
	background-color: #f9f9f9;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	display: none;
	list-style-type: none;
	min-width: 160px;
	padding: 12px 10px;
	position: absolute;
	white-space: nowrap;
	z-index: 1;
}
  
.dropdown:hover .dropdown-content {
	display: block;
}

a.anchor {
    display: block;
    position: relative;
    top: -85px;
    visibility: hidden;
}


/* CAROUSEL
-------------------------------------------------- */

.logoHome {
    background: rgba(253, 253, 253, 0.9);
    border: 1px #000 solid;
    padding: 1rem;
    width: 288px;
    margin: 17rem auto;
    position: absolute;
    z-index: 1000;
    text-align: center;
    left: 50%;
    margin-left: -144px;
}

.logoHome img{
    width:250px;
}


/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

.carousel-inner {
    border-bottom: 1px solid #bad1eb;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height:auto;
    min-height: 43rem;
    background-color: #000;
}
.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height:auto;
    min-height: 43rem;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 5s;
    transition-property: opacity;
}

.carousel-fade  .carousel-item.active,
.carousel-fade  .carousel-item-next.carousel-item-left,
.carousel-fade  .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-right {
    opacity: 0;
}

.carousel-fade  .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}




/* CARDS
-------------------------------------------------- */

.homecard img.card-img-top {
    height: auto;
}

.cards h3{text-align: center;
    font-size: 1.75rem;}


.card-footer {
    text-align: center;
    background: #fff;
}

.card-deck .card {
    margin-bottom: 25px;
}


.homecard.card:hover {
    -webkit-filter: brightness(90%);
}

a:hover{color:#000;}

.card-img-top {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}


/* PEOPLE CARDS
-------------------------------------------------- */

.people .card {
    border: none;
    text-align: center;
}

.people .card-img-top {
	width: 60%;
    margin: 0 auto;
}

.people .card-title {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    font-size: 1.5rem;
}

.people .card-text{
	text-align: left;
}


/* WINE Index CARDS
-------------------------------------------------- */

.wineIndex .card{margin:10px;
}

.wineIndex .card-img-top {
    width: 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: #000;
    padding: 10px;
}

.wineIndex .card-title {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    font-size: 1.8rem;
}

.wineIndex .card-text{
	text-align: center;
}

.wineIndex .card-footer {
    background-color: #fff;
    border-top: none;
}

.wineIndex .card-footer p {
	font-weight: 600;
}

.wineIndex .card:hover {
    -webkit-filter: brightness(60%);
    background-color:#5a5a5a80;
}


/* WINE Detail Page
-------------------------------------------------- */


nav.navbar.sideMenu{
    border-left: none;
    margin-top:2rem;
    padding:0;
    border-top:1px solid #dcdcdc;
}

.sideMenu ul.navbar-nav {
    flex-direction: row;
}

.sideMenu ul.navbar-nav li{
    padding-right:10px;
}

.wineDetail {margin-top:.7rem;}

.wineDetail img {
    clear: both;
    margin: 10px auto;
    text-align: center;
    min-width: 120px;
    background: #000;
    padding: 10px;
    border-radius: 5px;
}

.wineDetail p.lead{font-size: .88rem;
    line-height: 1.4;}

.wineDetail h1{font-size: 1.4rem;
    margin-bottom: .2rem;}


/* DIVIDERS
------------------------- */

.divider {
    margin: 4.5rem 0;
}

.divider1 {
    margin: 3.5rem 0;
}

.divider2 {
    margin: 2.9rem 0;
}

.divider3 {
    margin: 3.2rem 0 2rem 0;
}

.divider4 {
    margin: 1.9rem 0;
}

.dividerTop{margin: 1.8rem 0 1rem 0;}


/* EVENT PAGE
------------------------- */



/* FORMS
------------------------- */
.form-row h4{text-align:center; }


form {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.form-control {
    font-size: .9rem;
}

.form-check-label {
    padding-left: .2rem;
}

.form-radio-label {
    padding-left: .1rem;
}
.form-radio-input {
    margin-right: .4rem;
}
input[type=checkbox]
{
	-webkit-appearance: checkbox;
	filter: grayscale(100%);
}

input[type=radio]
{
	-webkit-appearance: radio;
	filter: grayscale(100%);
}


/* TESTIMONIALS
------------------------- */

.row.testiHead, .row.testimonials {margin: 0;
}
p.quote{font-style: italic;}
p.reviewer{font-weight:500;
    text-align: right;
    padding-right:1rem;}




/* Hero
-------------------------------------------------- */

.hero-image{margin-top:.75rem;
}



/* FOOTER
------------------------- */
.footerIcons{margin-left:10px; color: #5a5a5a;}
.footerIcons:hover{color:#97bbe3;}

.footerIconsEnd{margin-left:50px; color:#97bbe3;}

.footerIconsEnd:hover {color: #5a5a5a;}

p.copyright {
	display: inline-block;
	font-size: .8rem;
	white-space: nowrap;
}


/*  Blogs  and Posts */
.post-preview > a {
  color: #212529;
}

.post-preview > a:focus, .post-preview > a:hover {
  text-decoration: none;
  color: #0085A1;
}

.post-preview > a > .post-title {
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.post-preview > a > .post-subtitle {
  font-weight: 300;
  margin: 0 0 10px;
}

.post-preview > .post-meta {
  font-size: 18px;
  font-style: italic;
  margin-top: 0;
  color: #868e96;
}

.post-preview > .post-meta > a {
  text-decoration: none;
  color: #212529;
}

.post-preview > .post-meta > a:focus, .post-preview > .post-meta > a:hover {
  text-decoration: underline;
  color: #0085A1;
}

@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}


/* MEDIA QUERIES
-------------------------------------------------- */

@media (max-width: 350px) {
    .logoHome {
        left: 2px;
        margin-left: 0;
    }

    .logoHome img{
        width:200px;
    }
}


@media (min-width: 576px) {
    .logoHome {
        width: 356px;
        margin-left: -178px;
    }

    .logoHome img{
        width:300px;
    }

    .card-deck .card {
        margin-bottom: 15px;
    }
    .wineDetail p.lead{font-size: 1rem;
        line-height: 1.7;}

    .wineDetail h1{font-size: 1.9rem;
        margin-bottom: .5rem;}

}



@media (min-width: 768px) {

    .logoHome {
        width: 388px;
        margin-left: -194px;
    }

    .logoHome img{
        width:350px;
    }

    nav.navbar.sideMenu{
        border-left: 1px solid #ddd;
        margin-top:4rem;
        border-bottom:none;
        border-top:none;
        padding: 10px;
    }

    .sideMenu ul.navbar-nav {
        flex-direction: column;
    }

    .sideMenu ul.navbar-nav li{
        padding-right:0;
    }

    .wineDetail {
        margin-top: 4rem;
    }
    .wineDetail img{float:right;}

    .wineDetail p.lead{font-size: 1.15rem;
        line-height: 2;}

    .wineDetail h1{font-size: 2.5rem;}

}

@media (min-width: 992px) {

    .btn-member {
		margin-left: 5px;
	}

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: .2rem;
        font-size: 95%;
	}
	
	#ourvineyardimage {
		float: right;
		margin-left: 50px;
	}

}

@media (min-width: 1200px) { .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1.5rem;
} }
