.headertext h1, .headertext h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300; /* This is 'Light' weight for Open Sans */
    text-shadow: 2px 2px 4px black; /* Adds a black shadow around the text */
    color: white; /* Ensure the text color remains white */
}
.headertext h1 {
    font-family: "Cormorant", serif;
    margin-top: 30px;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 12rem;
    font-weight: 800; /* This makes the h1 text bold/thicker */
    text-transform: uppercase; /* Changed to uppercase */
    margin-bottom: -60px; /* Increased negative margin for more overlap */
    position: relative; /* Add this to ensure proper stacking */
    z-index: 2; /* Ensure the h1 is above the tagline */
    letter-spacing: 0.1em; /* Add letter-spacing to space out the text */
}

.headertext .tagline {
    font-family: 'Allison', cursive;
    font-size: 10.5rem; /* Increased font size even more */
    color: #c69c6d; /* Color matching the animated underline in the menu */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adjusted shadow for better visibility */
    position: relative;
    left: 300px; /* Increased offset to the right */
    top: -15px; /* Adjusted top position for better overlap */
    z-index: 1; /* Ensure the tagline is below the h1 */
}

.headertext:has(h2) {
    position: relative;
    margin-bottom: 40px; /* Ensure enough space below the heading */
    margin-top: 15px; /* Ensure enough space below the heading */
}

.headertext h2 {
    font-family: "Cormorant", serif;
    margin-top: 30px;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 4.5vw;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: -60px;
    position: relative;
    z-index: 2;
    text-align: left; /* Added to make left aligned */
    display: block; /* Ensure the title occupies its own block */
    margin-top: 0;
    margin-bottom: 10px; /* Add margin to ensure it pushes down the tagline */
}

.headertext h2 + .tagline {
    font-family: 'Allison', cursive;
    font-size: 3.5vw;
    color: #c69c6d;
    position: relative;
    left: 50%;
    top: -15px;
    z-index: 3;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Adjusted shadow for better visibility */
}

/* Media query for smaller screens */
@media (min-width: 769px) and (max-width: 1023px) {
    .headertext h2 {
        font-size: 10vw; /* Larger font size for medium screens */
    }

    .headertext h2 + .tagline {
        font-size: 8vw; /* Larger font size for medium screens */
        left: 40%;
        top: -20px; /* Adjust overlap for medium screens */
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .headertext h2 {
        font-size: 10vw; /* Larger font size for medium screens */
    }

    .headertext h2 + .tagline {
        font-size: 8vw; /* Larger font size for medium screens */
        left: 50%;
        top: -20px; /* Adjust overlap for medium screens */
    }
}

@media (max-width: 480px) {
    .headertext h2 {
        font-size: 12vw; /* Larger font size for small screens */
    }

    .headertext h2 + .tagline {
        font-size: 8.5vw; /* Larger font size for small screens */
        left: 50%;
        top: -15px; /* Adjust overlap for small screens */
    }
}

.pirathonbg {
    background: url(https://cms.admin.containerize.com/templates/pirathonv2.0/images/header-vines.jpg) center center no-repeat fixed!important;
    margin-top: 30px;
    color: #fff;
    text-align: center;
    background-size: cover!important;
}
.static_header.header3 {
    min-height: 400px;
    background: url(https://cms.admin.containerize.com/templates/pirathonv2.0/images/header-vines.jpg) top center no-repeat #fff;
    background-size: cover;
}
.imagebg {
    background: url(https://cms.admin.containerize.com/templates/pirathonv2.0/images/header-vines.jpg) center center no-repeat fixed!important;
    margin-top: 30px;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    background-size: cover!important;
    height: inherit!important;
}
.static_header.header3 .headertitle h1 {
    margin-top: 125px!important;
    font-size: 65px;
    letter-spacing: -1px;
    color: #fafafa;
    white-space: nowrap;
}
@media (max-width: 1024px) and (min-width: 0px){
.static_header.header3 .headertitle h1 {
    margin-top: 80px!important;
    font-size: 35px;
    letter-spacing: -2px;
    text-align: center;
    white-space: normal;
}}
@media (max-width: 1024px) and (min-width: 0px){
.static_header.header3 {
    min-height: auto;
    padding-bottom: 50px;
}}
.homeheadline{
    font-size: 45px;
    font-family: 'Poppins', sans-serif;
}

.venturelogo a.pirathonv2 {
    background-image: url(/img/new-logo.png)
}
.header1 {
    background: url(https://cms.admin.containerize.com/templates/pirathonv2.0/images/header-vines.jpg)!important;
}
.header1.header2.minify-header{
    background:url(https://cms.admin.containerize.com/templates/pirathonv2.0/images/header-vines.jpg)!important;
}
.d1-net .d1-left UL li::after, .d1-net .d1-right UL li::before, .d1-net HEADER i, .1.d2.d1-net HEADER, .diagram1.d2.d1-net UL>li::before {
    background: #BE0116;
}
.d1-net .d1-left UL li::after, .d1-net .d1-right UL li::before, .d1-net HEADER i, .diagram1.d2.d1-net HEADER, .diagram1.d2.d1-net UL>li::before {
    background: #BE0116;
}

.sub-menu-container .nav a:hover,.sub-menu-container .nav li.active a{
	text-decoration:none;
	background-color:transparent;
	border-bottom:2px solid #BE0116;
	border-radius:0;
	color:#BE0116;
	transition:0s all ease-in-out;
}
.sub-menu-container .nav a.active {
    text-decoration: none;
    background: #fafafa!important;
    color: #BE0116;
    border-bottom: 0 solid #BE0116;
    border-radius: 0;
    transition: all 0s ease-in-out;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #fff;
  text-decoration: none;
  background-color: #BE0116;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #fff;
  text-decoration: none;
 background-color: #BE0116;
   outline: 0;
}
.btn-danger {
    color: #fff;
    background-color: #BE0116;
    border-color: #A50013;
}
.btn-danger :hover{
    color: #fff;
    background-color: #84000F;
    border-color: #A50013;
}
.btn-warning {
    color: #fff;
    background-color: #BE0116;
    border-color: #A50013;
}

.btn-warning:hover {
  background-color: #84000F;
  border-color: #A50013;
}

.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #BE0116;
    border: 1px solid #BE0116;
}
.sub-rhs .btn-primary{
    color: #fff;
    background-color: #BE0116;
    border: 0px solid #BE0116;
}
.btn-primary:hover {
  background-color: #84000F;
  border-color: #A50013;
}
.title {
	color: #BE0116;
	font-weight: 700;
}
.testimonials-msg {
    width: 80%;
    display: table;
    padding: 50px 50px;
    margin: 20px auto 0;
    border: 10px solid #BE0116;
    border-radius: 200px;
    line-height: 1.4em;
    font-weight: 300;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #333;
    font-size: 1.2em;
    position: relative;
    min-height: 215px;
}
.gallery-images {
    width: 80%;
    display: table;
    padding: 0px 0px;
    margin: 20px auto 0;
    line-height: 1.4em;
    font-weight: 300;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #333;
    font-size: 1.2em;
    position: relative;
    min-height: 215px;
}
@media screen and (min-width: 600px) {
.videoplayer {
width: 75%;
}
}
@media screen and (max-width: 600px) {
.videoplayer {
width: 100%;
}
}
#testimonialcarousel .carousel-indicators li.active {
    background: #BE0116;
    padding: 3px;
    width: 16px;
    height: 16px;
}
.btn-primary.whitebg {
    border-radius: 0;
    background: 0 0;
    border: 1px solid #BE0116;
    color: #BE0116;
    font-weight: 600;
    padding-left: 50px;
    padding-right: 50px;
}
.btn-primary.whitebg:hover {
    background: #BE0116;
    color: #fff;
}
.mid {
    margin-bottom: 30px;
    font-size: 18px;
    color: #7c7c7c;
	padding-top: 
	padding-left: 10px;
    padding-right: 10px;
}

.diagram1 .d1-left HEADER, .diagram1 .d1-right HEADER {
	font-size: 24px;
}

@media (max-width: 1024px){
	.container-fluid.sub-menu-container {
    background: #323232 !important;
    margin-top: 0!important;
}
}
.diagram1 {
    width: 100%;
    color: #6a6a6a;
    padding: 20px 10px;
    position: relative;
    margin: 0 auto;
    text-align: left;
    min-height: 200px;
}
@media (min-width: 980px){
.d2 .d1-col:nth-child(2) {
    padding-left: 23%;
	}}
@media (max-width: 980px) {
.diagram1 .d1-logo IMG {
    display: none;
	}}
.diagram1 .d1-logo IMG {
    width: 63px;
    padding-bottom: 5px;
}
.vin-img{
	align-content: center;
	padding-top: 40px;
}

.vin-img .img-responsive {
	display:block;
    margin:auto;
}
.pir-range{
	display:block;
    margin:auto;
}
@media (max-width: 480px){
.col-lg-3, .col-lg-4, .col-lg-6, .col-lg-12{
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}}
.pir-zoom img {
	height:310px;
}
@media (min-width: 1025px){
	.pir-zoom img{
	margin: -35px auto 0!important;
	height: 475px !important; 
}
}
@media (min-width: 1025px){
	.pir-zoom {
	height:500px;
}
}
.popover {
	padding-top: 60px;
}
@media (max-width: 600px) {
	.popover {
    display: none;
  }
  .popover img {
    display: none;
  }
}
.pir-diagram {
	padding-top: 0px;
	padding-bottom: 20px;
        overflow: hidden;
	
}
.pir-shop-h3 {
	margin-top: 0px;
}
.pir-tbl-left {
	width: 150px;
}
tr.pir-tbl-row td{
	padding: 10px;
	border-bottom: solid #d7d7d7;
}
.pir-tbl {
	cellpadding: 10px;
	}

.iframe-container {
  overflow: hidden;
   height:1800px;
  padding-top: 80%;
  position: relative;
}

.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
   overflow: hidden;
}
.pir-pur-msg{
		width:330px;
	}
@media (max-width: 1010px){
	.iframe-container {
  		overflow: hidden;
  		height:3400px;
  		position: relative;
		}
	
}
.productbox h6 {
    min-height: auto !important;
}
.casestudies h4 {
    font-size: 22px;
	font-weight: bold;
}
.bg-red {
    background: #A50013;
}
.bg-red .hp-testi .row .col-md-5 p {
    font-style: italic;
    color: #FFF;
    font-size: 16px;
}
.bg-red .hp-testi .row .col-md-5 h4 {
    font-style: normal;
    color: #FFF;
    font-weight: 600;
    font-size: 16px;
    margin-top: 30px;
}
.bg-red .hp-testi small {
    color: #fff;
    font-size: 16px;
}
.bg-red .hp-testi h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}
.bg-red .hp-testi .row .col-md-5 h4 span {
    font-weight: 100;
    font-size: 13px;
    margin-left: 5px;
}
.pir-about{
	line-height:1.8;
	padding-top: 15px;
}
.liveimage .product-bar h2 a {
    font-size: 30px;
    color: #be0116;
    font-weight: 100;
    padding: 0;
    margin: 0 0 15px;
    float: left;
}
.liveimage .product-bar h2 a:focus, .liveimage .product-bar h2 a:hover {
    color: #84000F!important;
    opacity: .8;
    text-decoration: none!important;
}
.liveimage .rhs-box .api-link h3 {
    background: #be0116;
    color: #fff;
    padding: 10px 15px;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 100;
}
.liveimage .product-bar a:hover, .liveimage .product-bar a:hover em {
    color: #be0116!important;
    transition: all .3s ease;
}
.liveimage .api-link a:hover {
    color: #BE0116 !important;
}
.liveimage .androidbg, .liveimage .cloudbg, .liveimage .jasperbg, .liveimage .javabg, .liveimage .netbg, .liveimage .sharepointbg, .liveimage .ssrsbg, .liveimage .totalbg, .liveimage .xamarinbg {
    border: 1px solid #333;
}
.liveimage .brdr-spacer {
    margin: 10px 0 25px;
    float: left;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
}
@media (min-width: 992px){
	.pir-prod {
	width: 390px !important;
	}}
@media (max-width: 975px) and (min-width: 481px){
	.pir-prod {
	width: 390px !important;
	}
	.panel-heading{
		text-align: center !important;
	}
}
@media (max-width: 481px) and (min-width: 0px){
	.pir-prod {
	width: 100%;
	}
	.list-group{
		height: auto;
		background-color: #f0f0f0;
	}
	.panel-heading{
		text-align: center !important;
	}
}
.productbox:hover {
    border: 1px solid #be0116;
}
.pir-order-header .h2title-white {
	font-size: 40px;
    font-weight: 700;
}
.pir-order-header a{
	color: #fff;
	font-size: 18px !important;
	display: inherit !important;
}
.pir-order-header p{
	font-size: 18px;
	margin: 25px 0;
}
.pir-zoom .pir-total-pic img {
	margin: 0px auto 0!important;
    height: 250px !important;
	width: auto;
	max-width: 350px;
}
.pir-total{
	height:400px;
}
@media (min-width: 1025px){
	.pir-total {
	height:400px;
}
}
.bg-red .hp-testi {
    color: #fff;
}
.bg-red .hp-testi h3 {
    color: #fff;
}
.btn-warning :active{
    color: #fff;
    background-color: #BE0116;
    border-color: #A50013;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning {
    color: #fff;
    background-color: #BE0116;
    border-color: #A50013;
}
a {
    color: #BE0116;
    text-decoration: none;
}
a:hover, a:focus {
    color: #A0522D;
}

.static_header.header3.new1 {
    min-height: 400px;
    background: url(/img/pirathon_vineyard.jpg) top center no-repeat #fff;
    background-size: cover;
}
.static_header.header3.new1 .headertitle h1 {
    margin-top: 125px!important;
    font-size: 65px;
    letter-spacing: -1px;
    color: #000;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 1024px) and (min-width: 0px){
.static_header.header3.new1 .headertitle h1 {
    margin-top: 80px!important;
    font-size: 35px;
    letter-spacing: -2px;
    text-align: center;
    white-space: normal;
}}
.static_header.header3.new1 .headertitle h4 {
    color: #000;
    background-color: rgba(255, 255, 255, 0.6);
}
