/* ===> VANTAGE THEME OVERRIDES */

#main {
  padding: 0;
}

.entry-content {
  color: var(--black-color);
}

#pg-1107-0,
#pg-3879-0,
#pl-3879 .so-panel {
  margin-bottom: 0;
}

#pgc-3956-0-0,
#pgc-3956-1-1 {
  align-self: stretch;
}

#pgc-1107-0-0,
#pgc-1107-0-1 {
  width: 50%;
}

.widget_headline-widget h1 {
margin-top: 2rem;
line-height: 1.2
}

#secondary .widget .widget-title {
  background-color: #57728b;
  color: #ffffff;
  text-align: center;
  padding: .5em;
}

#secondary .widget ul li {
  padding-bottom: .5em;
}

#panel-1107-1-0-0 h3 {
  font-size: 1.2em;
  color: #666666;
}

.entry-content h3 {
  font-size: 1.5em;
}

article.post .entry-header h1.entry-title {
  text-align: center;
  font-size: 1.8em;
  font-weight: 900;
  margin: 0;
  padding: 2rem 0 0 0;
}

.entry-content h2 {
  font-size: 1.5em;
}

.contact_msg {
  background: #f6f6f6;
  padding: 1em;
}

.cntctfrm_contact_form {
  margin: 3em auto;
}

.entry-content dl dt {
  font-size: 1.2em;
}

.entry-content dl dd {
  font-size: 1.1em;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.subtitle {
  text-align: center;
  font-weight: bold;
}

.rse li {
  padding: .5em;
}

.video-container {
  background-color: #343538;
}

.entry-content ol.noBullet {
  list-style-type: none;
}

.cptv-video-container video {
  width: 100%;
  height: 100%;
}

/* ===> MESSAGE WIDGET */

.message {
  background: #80a01b;
  color: #fff;
  text-align: center;
 /* padding: 1.5em;*/
  /*margin: 2rem;*/
  text-transform: uppercase;
/*	min-height: 50vh; */
		display: flex; 
		align-items: center; 
		justify-content: center;
}
.message.widget {margin:0}
.message h2 {
  color: #000;
  font-size: 3rem;
  margin: 1rem 1rem 2rem 1rem;
}
.message a {
  color: #fff;
}

/* FOOTER */

footer {
  font-size: 1rem;
  text-transform: uppercase;
}

#footer-widgets .widget .widget-title {
  font-size: 2.5rem;
  color: #bada55;
}

.groton {
  text-align: right;
}

.links {
  text-align: center;
}

small {
  display: block;
  background: #000;
  color: #fff;
  font-size: 1rem;
  text-transform: capitalize;
  text-align: center;
}

#scroll-to-top {
  background: #bada55;
}

#scroll-to-top.displayed {
  opacity: .5 !important;
}

/* ===> WELCOME MESSAGE */

.welcome-msg-container {
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.welcome-msg {
  text-align: center;
}

.welcome-msg hr {
  width: 42px;
  height: 5px;
  margin: 1rem auto 2.5rem auto;
  background-color: var(--black-color);
}

.welcome-msg h1 {
  font-size: 2.25rem;
  line-height: 1.4;
}
.entry-content article h1 {
	font-size: 1.5rem
}

.welcome-msg h2 {
  color: var(--primary-color);
}

/* Hidding the video on devices smaller or equal to iPad 10.5 */

@media screen  and (max-width: 834px) {
  
  #pgc-1107-0-0 {
    width: 100%;
  }
  
  #pgc-1107-0-1 {
    display: none;
  }
} 

/* ==>  NEWSLETTER */

.newsletter {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center !important;
  height: 420px;
}

.newsletter-form {
  width: 95%;
  margin: auto;
  max-width: 980px;
  box-shadow: -1px -0.02px 4px 0px rgba(0,0,0,0.6);
  background-color: rgba(255, 255, 255, 0.73);
  border: solid transparent 0px;
  padding: 2rem 1rem;
}

@media screen and (max-width: 1080px) {
  .newsletter-form {
    max-width: 90vw;
  }
}

.mc4wp-form-fields {
  display: flex;
}

.mc4wp-form-fields input {
  border: 0;
  border-radius: 0;
  background: var(--primary-color);
  margin: 0 0.8rem 0 0;
}

.mc4wp-form-fields input[type=submit] {
  background: var(--black-color);
  border: 0;
  border-radius: 0;
  font-size: 1rem;
}

/* ===> ABOUT */

.image-quote {
  position: relative;
}

.image-quote .widget-title {
  position: absolute;
  line-height: 4rem;
  width: 40%;
}

.aaren .widget-title {
  right: 3rem;
  bottom: 1.5625rem;
  text-align: right;
}

.precious .widget-title {
  top: 1.5625rem;
  left: 3rem;
}

.widget-title span {
  background: #fff;
}

.quality .widget-title {
  color: #fff;
}

.about-beerd .widget-title {
  font-weight: 900;
  text-transform: uppercase;
}

.about-text--container p:first-child {
	padding-top: 0;
}

.about-text--container p {
  padding:1rem 2rem;
}

.about-text--container p:last-child {
	padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .image-quote .widget-title
 {
  	display:none !important;
  }
}

@media (min-width: 1440px) {
  .image-quote .widget-title
 {
  	display:block !important;
  }
}

/* TEAMS PLUGIN */

.tmm .tmm_member .tmm_photo {
  margin-top: -5rem;
  border-radius: 50% 50% !important
}

.team--wrapper {
  margin-top: 50px;
}

.tmm .tmm_theme_f .tmm_names {
  font-size: 1.3rem;
}

/* ===> UTILITIES */

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.fancy-header {
  line-height: 1em;
}

.entry-content h1.h1 {
  font-size: 3.75rem;
}

.h2 {
  font-size: 2.75rem;
}

.h3 {
  font-size: 2.5rem;
}

.h4 {
  font-size: 2rem;
}

.h5 {
  font-size: 1.75rem;
}

.h6 {
  font-size: 1.5rem;
}

.reverse-video {
  background-color: var(--black-color);
  color: var(--white-color);
}

.medium-padding {
  padding-right: 3rem;
  padding-bottom: 3rem;
  padding-left: 3rem;
}

/* FAQs */

.modal-wrapper.styled .modal h1 {
  text-align: center;
}

.entry-content h1 {
  font-size: 4rem
}

.pairs-well-text {
  width: 90%;
  max-width:960px;
  margin: auto;
  text-align:center;
  font-size: 1.75rem;
  line-height: 1.4;
   
  
}
.gallery-row {margin:auto}

/* BREWS SIGNATURE */

.beer--container {
  width: 90%;
  max-width: 960px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.beer--container:nth-of-type(even) {
	background: #f2f2f2;
  padding: 0 1rem;
}
.beer--title {
  grid-column: 1 / -1;
}

.beer--image {
  grid-row: 2 / 4;
}

.beer--description {
  grid-column: 2 / -1;
}
/* ===> BLOG */

.blog article.post:first-child {
	padding-top: 35px;
  margin: auto
}
.blog article.post
{
  width:90%;
  margin: 35px auto
}
.single-post article.post {
	width:90%;
  margin: auto;
  padding-top: 35px;
}

article.post .entry-title {
}

/* ===> CONTACT US */

@media screen and (max-width:834px) {
  #maps--container {
  	flex-direction: column;
  }
  
  #maps--container > div {
  	width: 100% !important;
  }
}

/* MEDIA QUERIES */

@media screen and (max-width: 320px) {
  .entry-content .welcome-msg h1 {
  	font-size: 2rem;
  }
}

@media screen and (max-width: 375px) {
  
	.message h2 {
    font-size: 2rem;
	}
  
  .entry-content .welcome-msg h1 {
  	font-size: 2.75rem;
  }
  
  .mc4wp-form-fields input {
  	width: 100%;
    height:44px;
  }
  .aaren .widget-title {
    right: 1rem;
    bottom: .5rem;
  }
  
  .precious .widget-title {
      top: 2rem;
      left: 1rem;
  }
  
  .image-quote .widget-title {
  	line-height: 2.5rem;
    font-size: 1.35rem
  }
}

.simcal-calendar {
	width: 98%;
	margin: auto;
}

.contact-form label {
		margin-block: 1rem 0.5rem
}

@media screen and (max-width: 482px) {
  
  .mc4wp-form-fields {
    flex-direction: column;
    justify-content: space-between;
  }
  
  .mc4wp-form-fields input {
    margin: .5rem auto;
  }
}

#cntctfrm_thanks {
	color: #bada55;
	font-weight: bold;
	background: black;
	padding: 1rem;
	margin-top: 2rem;
}
  
@media screen and (max-width: 800px) {
  footer .Stonington,
  footer .groton {
    text-align:center
	}
  
}

/* Any device smaller or eq to iPad Pro 10.5 in portrait mode gets the mobile layout */

@media screen and (max-width: 844px)  {
  /* ABOUT */
  #pl-3879 .panel-grid .panel-grid-cell-empty {
  	display:  none;
  }
  .standing--container .panel-grid-cell:not(.panel-grid-cell-empty) {
   width: 100% !important;
  }
  .the-brains--container {
  	flex-direction: column;
  }
  
  .the-brains--container div {
  	width: 100% !important;
  }
  
  #pg-3879-1 > .panel-row-style > .panel-grid-cell {
  	flex: auto !important;
  }
	/* PLAN YOUR VISIT */
  .stonington > .panel-grid-cell-empty {
   display: none;
  }
  .stonington> .panel-grid-cell:not(.panel-grid-cell-empty) {
    width: 100% !important;
  }
}