/* Button Styles */

.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-transform: uppercase;
	margin-bottom: 15px;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

.black {
	border: solid 2px #333;
}
.black:hover {
	color: #d7d7d7;
	background: #333;
}

.gray {
	color: #999;
	border: solid 2px #999;
}

.gray:hover {
	color: #e9e9e9;
	background: #999;
}

.orange {
	border: solid 2px #da7c0c;
}
.orange:hover {
	color: #fef4e9;
	background:  #da7c0c;
}

.red {
	border: solid 2px #980c10;
}
.red:hover {
	color: #faddde;
	background: #980c10;
}

.blue {
	border: solid 2px #0076a3;
}
.blue:hover {
	color: #d9eef7;
	background: #0076a3;
}

.green {
	border: solid 2px #6aa321;
    color: white !important;
	background: #6aa321;
}
.green:hover {
	color: #6aa321 !important;
	background: white;
}

.pink {
	border: solid 2px #d2729e;
}
.pink:hover {
	color: #feeef5;
	background:#d2729e;
}


.half {
	width: 47%;
	float: left;
	margin-right: 3%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.onethird {
	width: 30%;
	float: left;
	margin-right: 3%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.twothirds {
	width: 64%;
	float: left;
	margin-right: 3%;
	margin-top: 10px;
	margin-bottom: 10px;
}

@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {
	.half, .onethird, .twothirds {
		width: 100%;
		margin-right: 0;
	}
	
}

/* Contact Form 7 Style */

.wpcf7 {
	margin-top: 10px;
	float: left;
	clear: left;
	width: 70%;
}

.wpcf7 textarea,
.wpcf7 input {
	padding: 5px 8px;
	margin-top: 3px;
	width: 100%;
	border: solid 1px #919191;
	font-family: 'Open Sans', arial, sans-serif;
	color: black;
	background: none;
	font-weight: 300;
}

.wpcf7 textarea {
	height: 70px;
}

.wpcf7 input.wpcf7-submit {
	width: auto;
	cursor: pointer;
	border: none;
	border: solid 1px  #eaeaea;
	font-family: 'Open Sans', arial, sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	color: #fff;
	padding: 8px 25px;
	-webkit-transition: all 0.7s ease;
  	-moz-transition:    all 0.7s ease;
  	-ms-transition:     all 0.7s ease;
  	-o-transition:      all 0.7s ease;
	height: auto;
	
	background: #6aa321;
}

.wpcf7 input.wpcf7-submit:hover {
	border: 2px solid #6aa321;
    color: #6aa321;
	background: white;
}

.wpcf7 p {
	text-align: left;
	font-size: 16px;
	margin: 0;
	margin-bottom: 6px;
	text-transform: none;
}

/* misc */

.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
	max-width: 100%;
	padding: 8px;
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image,
img {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
	padding: 8px;
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
	background: #eaeaea;
	text-align: center;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-size: 10px;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.gallery { margin: 0 auto 18px; }
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery img {
	box-shadow: 0px 0px 4px #999;
	border: 1px solid white;
	padding: 8px;
	background: #f2f2f2;
}
.gallery img:hover {
	background: white;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl, .gallery dt { margin: 0; }
.gallery br+br { display: none; }

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

.entry pre {
	border: 1px solid #ededed;
	color: #666;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	overflow: auto;
	padding: 24px;
	padding: 1.714285714rem;
}

body .entry table {
	border-bottom: 1px solid #ededed;
	color: inherit;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 24px;
	width: 100%;
}

.entry dl {
	margin: 0 24px;
	margin: 0 1.714285714rem;
}
.entry dt {
	font-weight: bold;
	line-height: 1.714285714;
}
.entry dd {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}

body .entry table caption {
	font-size: 16px;
	font-size: 1.142857143rem;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
body .entry td {
	border: 1px solid #ededed;
	padding: 10px 12px;
}

p { margin-top: 6px; }

#archivelist {
	float:left;
	margin-right: 0;
	
}

#archivelist ul li {
	list-style: none;
	line-height: 35px;
}

#archivelist ul {
	height: auto;
	margin-bottom: 30px;
}

#archivelist ul li a {
	color: #666;
	text-transform: uppercase;
}

#archivelist ul li a:hover {
	text-decoration: none;
}

ol {
	margin: 10px;
	padding: 0;
}

ul {
	margin: 5px;
	padding: 0;
}

.sticky {
}

.bypostauthor {
}

p.form-allowed-tags {
	display: none;
}

/* Blog Page Navigation */

#blognav {
	float: left;
	clear: left;
	width: 100%;
	height: 50px;
}

#blognav a.page-numbers {
    border: solid 2px #eaeaea;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
	padding: 10px 16px; 
	margin-right: 5px;
	text-decoration: none;
	color: #333;
	font-size: 12px;
	text-transform: uppercase;
}

#blognav a.page-numbers:hover,
#blognav span.current {
    background: #eaeaea;
	border: solid 2px #eaeaea;
	padding: 10px 16px; 
	margin-right: 5px;
	color: #333;
	font-size: 12px;
	text-transform: uppercase;
}

.sl-slider {
	position: absolute;
	top: 0;
	left: 0;
}

/* Slide wrapper and slides */

.sl-slide,
.sl-slides-wrapper,
.sl-slide-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
} 

.sl-slide {
	z-index: 1;
}

/* The duplicate parts/slices */

.sl-content-slice {
	overflow: hidden;
	position: absolute;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background: #fff;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	opacity : 1;
}

/* Horizontal slice */

.sl-slide-horizontal .sl-content-slice {
	width: 100%;
	height: 50%;
	left: -200px;
	-webkit-transform: translateY(0%) scale(1);
	-moz-transform: translateY(0%) scale(1);
	-o-transform: translateY(0%) scale(1);
	-ms-transform: translateY(0%) scale(1);
	transform: translateY(0%) scale(1);
}

.sl-slide-horizontal .sl-content-slice:first-child {
	top: -200px;
	padding: 200px 200px 0px 200px;
}

.sl-slide-horizontal .sl-content-slice:nth-child(2) {
	top: 50%;
	padding: 0px 200px 200px 200px;
}

/* Vertical slice */

.sl-slide-vertical .sl-content-slice {
	width: 50%;
	height: 100%;
	top: -200px;
	-webkit-transform: translateX(0%) scale(1);
	-moz-transform: translateX(0%) scale(1);
	-o-transform: translateX(0%) scale(1);
	-ms-transform: translateX(0%) scale(1);
	transform: translateX(0%) scale(1);
}

.sl-slide-vertical .sl-content-slice:first-child {
	left: -200px;
	padding: 200px 0px 200px 200px;
}

.sl-slide-vertical .sl-content-slice:nth-child(2) {
	left: 50%;
	padding: 200px 200px 200px 0px;
}

/* Content wrapper */
/* Width and height is set dynamically */
.sl-content-wrapper {
	position: absolute;
}

.sl-content {
	width: 100%;
	height: 100%;
	background: #fff;
}

/* Default styles for background colors */
.sl-slide-horizontal .sl-slide-inner {
	background: #ddd;
}

.sl-slide-vertical .sl-slide-inner {
	background: #ccc;
}

.sl-slider-wrapper {
	width: 100%;
	height: 720px;
	overflow: hidden;
	position: relative;
	border-bottom: solid 3px #eaeaea;
}

.sl-slider h2,
.sl-slider blockquote {
	padding-top: 325px;
	width: 80%;
	max-width: 920px;
	color: #fff;
	margin: 0 auto;
	position: relative;
	z-index: 100;
	font-weight: 300;
	text-align: center;
	text-transform: uppercase;
}

.sl-slider h2 {
	font-size: 50px;
}

.sl-slider blockquote {
	font-size: 28px;
	padding-top: 10px;
	font-weight: 300;
	border: none;
	font-style: normal;
}

.sl-slider blockquote a {
	font-size: 20px;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
	padding: 10px 20px;
	margin-top: 30px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	border: solid 2px #fff;
}

.bg-img {

	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: center center;
}

/* Custom navigation arrows */

.nav-arrows span {
	position: absolute;
	z-index: 2000;
	top: 50%;
	width: 40px;
	height: 40px;
	border: 8px solid #fff;
	border: 8px solid rgba(255,255,255,0.4);
	text-indent: -90000px;
	margin-top: -40px;
	cursor: pointer;
	
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.nav-arrows span:hover {
	border-color: rgba(255,255,255,0.9);
}

.nav-arrows span.nav-arrow-prev {
	left: 5%;
	border-right: none;
	border-top: none;
}

.nav-arrows span.nav-arrow-next {
	right: 5%;
	border-left: none;
	border-bottom: none;
}

/* Custom navigation dots */

.nav-dots {
	text-align: center;
	position: absolute;
	bottom: 2%;
	height: 30px;
	width: 100%;
	left: 0;
	z-index: 1000;
}

.nav-dots span {
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin: 3px;
	background: #ddd;
	background: rgba(150,150,150,0.4);
	cursor: pointer;
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1);
}

.nav-dots span {
	background: rgba(150,150,150,0.1);
	margin: 6px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1),
		0 0 0 2px rgba(255,255,255,0.5);
}

.nav-dots span.nav-dot-current,
.nav-dots span:hover {
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1),
		0 0 0 5px rgba(255,255,255,0.5);
}

.nav-dots span.nav-dot-current:after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: rgba(255,255,255,0.8);
}


/* Animations for content elements */

.sl-trans-elems .deco{
	-webkit-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	-moz-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	-o-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	-ms-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	animation: roll 1s ease-out both, fadeIn 1s ease-out both;
}
.sl-trans-elems h2{
	-webkit-animation: moveUp 1s ease-in-out both;
	-moz-animation: moveUp 1s ease-in-out both;
	-o-animation: moveUp 1s ease-in-out both;
	-ms-animation: moveUp 1s ease-in-out both;
	animation: moveUp 1s ease-in-out both;
}
.sl-trans-elems blockquote{
	-webkit-animation: fadeIn 0.5s linear 0.5s both;
	-moz-animation: fadeIn 0.5s linear 0.5s both;
	-o-animation: fadeIn 0.5s linear 0.5s both;
	-ms-animation: fadeIn 0.5s linear 0.5s both;
	animation: fadeIn 0.5s linear 0.5s both;
}
.sl-trans-back-elems .deco{
	-webkit-animation: scaleDown 1s ease-in-out both;
	-moz-animation: scaleDown 1s ease-in-out both;
	-o-animation: scaleDown 1s ease-in-out both;
	-ms-animation: scaleDown 1s ease-in-out both;
	animation: scaleDown 1s ease-in-out both;
}
.sl-trans-back-elems h2{
	-webkit-animation: fadeOut 1s ease-in-out both;
	-moz-animation: fadeOut 1s ease-in-out both;
	-o-animation: fadeOut 1s ease-in-out both;
	-ms-animation: fadeOut 1s ease-in-out both;
	animation: fadeOut 1s ease-in-out both;
}
.sl-trans-back-elems blockquote{
	-webkit-animation: fadeOut 1s linear both;
	-moz-animation: fadeOut 1s linear both;
	-o-animation: fadeOut 1s linear both;
	-ms-animation: fadeOut 1s linear both;
	animation: fadeOut 1s linear both;
}
@-webkit-keyframes roll{
	0% {-webkit-transform: translateX(500px) rotate(360deg);}
	100% {-webkit-transform: translateX(0px) rotate(0deg);}
}
@-moz-keyframes roll{
	0% {-moz-transform: translateX(500px) rotate(360deg); opacity: 0;}
	100% {-moz-transform: translateX(0px) rotate(0deg); opacity: 1;}
}
@-o-keyframes roll{
	0% {-o-transform: translateX(500px) rotate(360deg); opacity: 0;}
	100% {-o-transform: translateX(0px) rotate(0deg); opacity: 1;}
}
@-ms-keyframes roll{
	0% {-ms-transform: translateX(500px) rotate(360deg); opacity: 0;}
	100% {-ms-transform: translateX(0px) rotate(0deg); opacity: 1;}
}
@keyframes roll{
	0% {transform: translateX(500px) rotate(360deg); opacity: 0;}
	100% {transform: translateX(0px) rotate(0deg); opacity: 1;}
}
@-webkit-keyframes moveUp{
	0% {-webkit-transform: translateY(40px);}
	100% {-webkit-transform: translateY(0px);}
}
@-moz-keyframes moveUp{
	0% {-moz-transform: translateY(40px);}
	100% {-moz-transform: translateY(0px);}
}
@-o-keyframes moveUp{
	0% {-o-transform: translateY(40px);}
	100% {-o-transform: translateY(0px);}
}
@-ms-keyframes moveUp{
	0% {-ms-transform: translateY(40px);}
	100% {-ms-transform: translateY(0px);}
}
@keyframes moveUp{
	0% {transform: translateY(40px);}
	100% {transform: translateY(0px);}
}
@-webkit-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-moz-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-o-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-ms-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-webkit-keyframes scaleDown{
	0% {-webkit-transform: scale(1);}
	100% {-webkit-transform: scale(0.5);}
}
@-moz-keyframes scaleDown{
	0% {-moz-transform: scale(1);}
	100% {-moz-transform: scale(0.5);}
}
@-o-keyframes scaleDown{
	0% {-o-transform: scale(1);}
	100% {-o-transform: scale(0.5);}
}
@-ms-keyframes scaleDown{
	0% {-ms-transform: scale(1);}
	100% {-ms-transform: scale(0.5);}
}
@keyframes scaleDown{
	0% {transform: scale(1);}
	100% {transform: scale(0.5);}
}
@-webkit-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@-moz-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@-o-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@-ms-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}


/* Media Queries for custom slider */

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

	.sl-slider-wrapper {
		height: 500px;
	}

.sl-slider h2 {
		font-size: 36px;
	}

	.sl-slider blockquote {
		font-size: 16px;
	}

}

.flag-russia,  .flag-japan,  .flag-chinese,  .flag-hungary,  .flag-poland,  .flag-portugal {
	display:inline-block;
	margin-right:5px;
	height:25px;
	margin-top:5px;
	width:98px;
}
.flag-russia {
	background:url(images/flags.png);
}
.flag-japan {
	background:url(images/flags.png) 0px -25px;
}
.flag-hungary {
	background:url(images/flags.png) 0px -50px;
}
.flag-chinese {
	background:url(images/flags.png) 0px -75px;
}
.flag-poland {
	background:url(images/flags.png) 0px -100px;
}
.flag-portugal {
	background:url(images/flags.png) 0px -125px;
}

/* ================================================
   Migrated from Customizer CSS (post 1671)
   Moved here 2026-02-17 for single source of truth
   ================================================ */

/* Top message bar — hidden desktop, shown mobile */
.top_message {
  display: none;
}

@media screen and (max-width: 720px) {
  .top_message {
    display: block !important;
    background: #fff;
    color: #6aa321;
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    line-height: 1.3;
  }

  #logo img {
    margin-top: 10px !important;
  }

  .video_block img {
    width: 100%;
    height: auto !important;
  }

  .raduss_baner.fixed_b img.raduss_baner_mob_fix {
    z-index: 99;
  }

  .raduss_baner.fixed_b {
    background: rgba(95, 95, 95, 0.8) !important;
    box-shadow: 1px 1.732px 3px 0px rgba(0, 0, 0, 0.6) !important;
  }
}

/* Mobile font fixes — blog posts/articles only, NOT homepage */
@media screen and (max-width: 720px) {
  article.post p,
  article.post li,
  .single-post .entry-content p,
  .single-post .entry-content li,
  .blog .entry-content p,
  .blog .entry-content li,
  .archive .entry-content p,
  .archive .entry-content li {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  article.post h2,
  .single-post .entry-content h2,
  .blog .entry-content h2,
  .archive .entry-content h2 {
    font-size: 24px !important;
  }

  article.post h3,
  .single-post .entry-content h3,
  .blog .entry-content h3,
  .archive .entry-content h3 {
    font-size: 20px !important;
  }
}

/* Table header weight */
body .entry table th,
.page .entry-content table th,
.single-post .entry-content table th,
article.post table th,
.wptb-table-container th {
  font-weight: 600;
}

@media screen and (max-width: 720px) {
  body .entry table,
  body .entry table th,
  body .entry table td,
  .page .entry-content table,
  .page .entry-content table th,
  .page .entry-content table td,
  .single-post .entry-content table,
  .single-post .entry-content table th,
  .single-post .entry-content table td {
    font-size: 15px;
    line-height: 1.45;
  }
}

/* Landing form (blue theme) */
.landing-form .wpcf7 {
  width: 100%;
  background: #d4d4dd;
  padding: 20px;
  border: 1px solid #272d9e !important;
}

.landing-form .wpcf7 p {
  text-align: center;
}

.landing-form .wpcf7 input {
  background-color: #ffffff;
  border: 1px solid #272d9e !important;
  border-radius: 3px;
  height: 4em;
  padding: 0 1em;
  width: 96%;
}

.landing-form .wpcf7 textarea {
  background-color: #ffffff;
  border: 1px solid #272d9e !important;
  border-radius: 3px;
  min-height: 10em;
  height: auto;
  padding: 12px 1em;
  width: 96%;
}

.landing-form input[type="submit"] {
  background: #272d9e;
  border: 0px solid #e7ce4d;
  border-radius: 3px;
  line-height: 1.2;
  padding: 12px 25px;
  color: #ffffff;
  font-size: 100%;
  font-family: inherit;
  width: auto;
}

/* Contact form inputs (green theme) */
.contact_field input[type="text"],
.contact_field input[type="email"] {
  background: #f1f1f1 !important;
  border: solid 1px #6aa321 !important;
  padding: 10px !important;
  width: 100%;
  margin-bottom: 10px;
  color: #000000;
  height: 40px;
  line-height: 40px;
  box-sizing: border-box;
}

.contact_right textarea {
  background: #f1f1f1 !important;
  border: solid 1px #6aa321 !important;
  padding: 10px !important;
  width: 100%;
  margin-bottom: 10px;
  color: #000000;
  height: auto !important;
  min-height: 140px;
  line-height: 1.4 !important;
  box-sizing: border-box;
}

/* Responsive video embeds */
.videoWrapper {
  position: relative;
  padding-bottom: 52.25%;
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* WooCommerce layout fixes */
.single-product #content,
.woocommerce-cart #content,
.woocommerce-checkout #content {
  width: 100%;
}

.woocommerce-cart #rightbar,
.woocommerce-checkout #rightbar {
  display: none;
}

.woocommerce #rightbar {
  display: none !important;
}

.woocommerce #content {
  width: 100%;
}

.woocommerce-result-count {
  display: none;
}

.single-product .new-footer,
.single-product .related-posts-wrap {
  display: none !important;
}

/* WooCommerce form styles */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce .select2-selection--single {
  background: #f1f1f1 !important;
  border: solid 1px #6aa321 !important;
  padding: 10px !important;
  width: 100%;
  margin-bottom: 10px;
  color: #000000;
  height: 40px;
  line-height: 40px;
}

.woocommerce textarea {
  background: #f1f1f1 !important;
  border: solid 1px #6aa321 !important;
  padding: 10px !important;
  width: 100%;
  margin-bottom: 10px;
  color: #000000;
  min-height: 150px;
  height: auto;
  line-height: 1.4;
}

.woocommerce .select2-selection--single {
  padding: 7px !important;
}

.button.product_type_variable.add_to_cart_button {
  background: #6aa321;
  color: #fff;
  padding: 15px 25px;
}

/* Testimonials background */
.testimonials_main:not(.nitro-lazy) {
  background-image: url("https://d3eh3svpl1busq.cloudfront.net/QgxJNjxAVszanQkokEEXWqwvgNnzDCgy/assets/static/source/wp-content/themes/indigo-child-01/images/7d97876e7af9d9efec5abb8e24b9039a.rev-310b373.testimonial_bg.jpg") !important;
}

/* Footer (.new-footer) */
.new-footer div h2 a {
  color: #fff;
}

.new-footer {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0px;
}

.new-footer div {
  flex: 1 33%;
  margin: 10px;
  color: #555;
}

.new-footer div h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: #66be2b;
  padding: 10px;
}

.new-footer div h2:before {
  content: "\00BB";
  opacity: 0;
  transition: 0.5s;
  color: #000;
  padding-right: 10px;
}

.new-footer div h2:hover {
  background: #0e76bb;
  transition-duration: 1s;
}

.new-footer div h2:hover:before {
  opacity: 1;
}

.new-footer div ul {
  margin-left: 10px;
}

.new-footer div ul li {
  padding-bottom: 5px;
}

.new-footer ul li:hover {
  list-style: square;
}

.new-footer div ul li a {
  color: #555;
}

.new-footer div ul li a:hover {
  color: #66be2b;
}

@media screen and (max-width: 720px) {
  .new-footer {
    clear: both;
    display: block;
  }
}

/* Misc layout overrides */
.post {
  margin-bottom: 10px;
}

.three_menu li span {
  font-size: 14px;
}

@media screen and (max-width: 1180px) and (min-width: 940px) {
  .three_menu li span {
    left: 125px !important;
    top: 22px !important;
    font-size: 13px;
  }
}

#Wcontainer {
  max-width: 100% !important;
}

li.g-icon {
  display: none !important;
}

/* Screen reader text (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Twitter icon mobile fix */
.t-icon::before,
.t-icon::after,
.t-icon a::before,
.t-icon a::after {
  pointer-events: none !important;
}

.t-icon {
  position: relative !important;
  pointer-events: auto !important;
}

.t-icon a {
  position: relative !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  display: block !important;
  touch-action: auto !important;
  min-width: 40px !important;
  min-height: 40px !important;
}

@media (max-width: 768px) {
  .t-icon a {
    animation: none !important;
    transition: none !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
  }
}

/* END — Migrated from Customizer CSS */


/* ================================================
   Dairy School Blog Components (ds-* classes)
   Used on: conferences page, training pages
   ================================================ */

/* Blog container */
.ds-blog-container {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* Featured card (e.g. Dairy School promo) */
.ds-featured-card {
  background: linear-gradient(135deg, #f0f7e8 0%, #e8f3dc 100%);
  border: 2px solid #6aa321;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 30px 0;
  position: relative;
}

.ds-featured-badge {
  display: inline-block;
  background: #6aa321;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.ds-featured-card h3 {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 22px;
}

/* CTA button */
.ds-cta-button {
  display: inline-block;
  background: #6aa321;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 12px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.ds-cta-button:hover {
  background: #5a8c1c;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Event grid */
.ds-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0 36px;
}

/* Event card */
.ds-event-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ds-event-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #6aa321;
}

.ds-event-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 19px;
}

.ds-event-meta {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
}

.ds-event-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 14px;
}

.ds-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #272d9e !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ds-card-link:hover {
  color: #6aa321 !important;
  text-decoration: none;
}

/* ================================================
   Calendar Table
   ================================================ */

.ds-table-wrapper {
  overflow-x: auto;
  margin: 24px 0 36px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

table.ds-calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5;
  background: #fff;
}

table.ds-calendar-table thead th {
  background: #6aa321;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  text-align: left;
  border: none;
}

table.ds-calendar-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

table.ds-calendar-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

table.ds-calendar-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid #eef2e7;
  color: #333;
  vertical-align: middle;
}

table.ds-calendar-table tbody tr:last-child td {
  border-bottom: none;
}

table.ds-calendar-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
}

table.ds-calendar-table tbody tr:last-child td:last-child {
  border-radius: 0 0 10px 0;
}

/* Alternating rows */
table.ds-calendar-table tbody tr:nth-child(even) {
  background: #f8faf5;
}

table.ds-calendar-table tbody tr:hover {
  background: #eef5e4;
}

/* Featured row (Dairy School) */
table.ds-calendar-table tbody tr.ds-row-featured {
  background: linear-gradient(90deg, #edf6e1 0%, #f0f7e8 100%);
  border-left: 3px solid #6aa321;
}

table.ds-calendar-table tbody tr.ds-row-featured:hover {
  background: linear-gradient(90deg, #e4f0d5 0%, #e8f3dc 100%);
}

table.ds-calendar-table tbody tr.ds-row-featured td {
  border-bottom-color: #d4e8c0;
}

/* Links in table */
table.ds-calendar-table a {
  color: #272d9e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

table.ds-calendar-table a:hover {
  color: #6aa321;
}

/* Date column */
table.ds-calendar-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

/* Location column */
table.ds-calendar-table td:last-child {
  color: #666;
  font-size: 14px;
}


/* Override .entry table defaults for ds-calendar-table */
.entry table.ds-calendar-table {
  border-bottom: none;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.entry table.ds-calendar-table td {
  border: none;
  border-bottom: 1px solid #eef2e7;
  padding: 13px 18px;
}

.entry table.ds-calendar-table th {
  border: none;
  padding: 14px 18px;
}

/* ================================================
   Responsive
   ================================================ */

@media screen and (max-width: 720px) {
  .ds-event-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ds-event-card {
    padding: 18px;
  }

  .ds-featured-card {
    padding: 20px;
  }

  .ds-table-wrapper {
    margin: 16px -10px 28px;
    border-radius: 8px;
  }

  table.ds-calendar-table {
    font-size: 14px;
    min-width: 480px;
  }

  table.ds-calendar-table thead th {
    padding: 10px 12px;
    font-size: 12px;
  }

  table.ds-calendar-table tbody td {
    padding: 10px 12px;
  }

  .ds-cta-button {
    display: block;
    text-align: center;
  }
}


/* ================================================
   ACSD Batch E — Accessibility & SEO fixes (2026-02-19)
   ================================================ */

/* H18: Focus indicators — restore keyboard focus visibility (WCAG 2.4.7) */
*:focus-visible {
  outline: 3px solid #0E76BB !important;
  outline-offset: 2px;
}

/* H19: Green contrast fixes — WCAG AA 4.5:1 minimum */
/* #6aa321 on white = ~2.9:1 (FAIL). #2d7600 on white = 5.17:1 (PASS) */
/* Only override where green TEXT appears on light backgrounds */
.green:hover {
  color: #2d7600 !important;
}
.wpcf7 input.wpcf7-submit:hover {
  color: #2d7600;
  border-color: #2d7600;
}
.new-footer div ul li a:hover {
  color: #2d7600;
}
.ds-card-link:hover {
  color: #2d7600 !important;
}

/* M24: Touch targets — minimum 44x44px (WCAG 2.5.8) */
.new-footer div ul li a,
#blognav a.page-numbers,
#blognav span.current {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* L6: Minimum font sizes — raise sub-16px text for readability */
.smt-label {
  font-size: 16px;
}
.smt-seo-text {
  font-size: 14px;
}
.three_menu li span {
  font-size: 15px;
}

/* ================================================
   ACSD Batch I — Accessibility Depth (2026-02-19)
   ================================================ */

/* L8: Respect prefers-reduced-motion — disable animations for users who prefer less motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .owl-carousel .owl-stage {
    transition: none !important;
  }
}



/* ================================================
   L5: System font stack declaration (2026-02-19)
   Open Sans / OpenSansHebrew fonts are referenced in CSS but never loaded.
   Declaring system fonts explicitly so the fallback is intentional.
   ================================================ */
body,
.entry,
.entry p,
.widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* N9 — Adopt new browser default: overflow:clip on replaced elements (PageSpeed Best Practices) */
img, video, canvas {
  overflow: clip;
  overflow-clip-margin: content-box;
}

/* N8 — Phone flag CSS polish (2026-02-20) */

/* Contact form phone field improvements */
.contact_field .intl-tel-input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  position: relative;
}
.contact_field .intl-tel-input input[type="text"] {
  padding-left: 90px !important;
  width: 100% !important;
  height: 44px;
  box-sizing: border-box;
}
.contact_field .intl-tel-input .flag-container {
  z-index: 2;
  height: 100%;
  padding: 0 8px;
}
.contact_field .intl-tel-input .selected-flag {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 8px;
}
.contact_field .intl-tel-input .selected-dial-code {
  margin-left: 6px;
  font-size: 14px;
  color: #333;
}
.contact_field .intl-tel-input .country-list {
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  min-width: 280px;
  left: 0;
}
.contact_field .intl-tel-input .country-list .country {
  padding: 8px 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.contact_field .intl-tel-input .country-list .country:hover {
  background: #f0f0f0;
}

/* WooCommerce checkout phone field improvements */
.woocommerce form .iti {
  display: block;
  width: 100%;
  position: relative;
}
.woocommerce form .iti input#billing_phone {
  width: 100% !important;
  padding-left: 90px !important;
  height: 44px;
  box-sizing: border-box;
}
.woocommerce form .iti .iti__flag-container {
  height: 100%;
}
.woocommerce form .iti .iti__selected-flag {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 8px 0 12px;
}
.woocommerce form .iti .iti__selected-dial-code {
  margin-left: 6px;
  font-size: 14px;
}
.woocommerce form .iti .iti__country-list {
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  min-width: 280px;
}
.woocommerce form .iti .iti__country-list .iti__country {
  padding: 8px 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.woocommerce form .iti .iti__country-list .iti__country:hover {
  background: #f0f0f0;
}

/* Shared phone field dropdown flag sprite fix */
.iti__flag {
  background-size: 5652px 15px;
}

/* === End N8 === */

/* N10 — Fix homepage video black bars / pillarboxing (2026-02-25)
   Root cause: no responsive 16:9 container on desktop + fixed height:270px on thumbnails
   + System B jQuery handler sets iframe height="270px"
   home-style.css loads AFTER custom.css so !important needed to override */

/* Desktop video container: 16:9 via aspect-ratio (NOT padding-bottom — % resolves against parent width) */
@media screen and (min-width: 768px) {
  .video_block.video-container {
    aspect-ratio: 16 / 9;
  }
  .video_block.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
  }
  /* > selector excludes play-button img; !important overrides home-style.css height:270px */
  .video_block > img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
  }
}

/* Mobile: fix padding from 52% (1.92:1) to 56.25% (correct 16:9) */
@media screen and (max-width: 767px) {
  .video_block.video-container {
    padding-bottom: 56.25% !important;
  }
}

/* === End N10 === */



/* === N11 — Testimonials continuous ticker (CSS-only, replaces Owl Carousel) === */

.ticker-wrap {
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
  padding: 20px 0 10px !important;
}

.ticker-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: ticker-scroll 90s linear infinite !important;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused !important;
}

.ticker-item.customer_say {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
  margin: 0 24px !important;
  text-align: center;
  color: #fff !important;
  display: block !important;
}

.ticker-item.customer_say p {
  font-style: italic;
  color: #fff !important;
  font-size: 14px;
  line-height: 1.6;
}

.ticker-item.customer_say .user_name {
  color: #a7dcff !important;
  font-weight: 700;
  display: inline-block;
  width: 100%;
  font-size: 16px;
}

.ticker-item.customer_say span {
  font-weight: bold;
  padding-bottom: 12px;
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation-play-state: paused !important;
  }
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .ticker-item.customer_say {
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 300px !important;
    margin: 0 18px !important;
  }
}

@media (max-width: 767px) {
  .ticker-item.customer_say {
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 14px !important;
  }
  .ticker-track {
    animation-duration: 70s !important;
  }
}

/* === End N11 === */

/* N12: ids_btn flex buttons (used on dairy-farming-course-in-israel page) */
.ids_btn_row{display:flex;gap:10px;align-items:stretch;flex-wrap:nowrap}
.ids_btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 16px;border-radius:8px;font:700 16px/1 Arial,sans-serif;text-decoration:none;box-sizing:border-box;min-height:48px;white-space:nowrap}
@media(max-width:720px){.ids_btn_row{flex-wrap:wrap}.ids_btn{flex:1 1 100%}}

/* === N13 — Testimonials section fixes (owner feedback 2026-02-26) === */
/* Fix 1: Remove white decorative lines on sides of heading */
.testimonial_main .theading_tt span:before,
.testimonial_main .theading_tt span:after {
  display: none !important;
}

/* Fix 2: Stretch background higher — remove top margin, add top padding */
.testimonial_main.test {
  margin-top: 0 !important;
  padding-top: 30px !important;
  margin-bottom: 0 !important;
  padding-bottom: 40px !important;
}

/* Fix 3: Hide the View All arrow link */
.testimonial_main .view_all {
  display: none !important;
}

/* Fix 4: Ensure full-width background — no side gaps */
.testimonial_main.test {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .testimonial_main.test {
    padding-top: 20px !important;
    padding-bottom: 30px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .testimonial_main .theading_tt {
    margin-bottom: 25px !important;
    margin-top: 15px !important;
  }
}
/* === End N13 === */

/* PERF: Hero image z-index fix (2026-03-02) — move text overlay above hero img instead of 
   pushing img behind with z-index:-1. Chrome demotes z-index:-1 images to Low priority. */
#titleinner { position: relative; z-index: 1; }
.frontwidget-bg-img { position: relative; }


/* === UberMenu dropdown image vertical crop fix (2026-03-04) ===
   Root cause: overflow:hidden + float:left on .ubermenu-image means
   parent <a> height follows text, not the 71px image. Flexbox fix. */
.ubermenu .ubermenu-target-with-image.ubermenu-item-layout-image_left {
  display: flex !important;
  align-items: center;
  overflow: visible;
}
.ubermenu .ubermenu-item-layout-image_left > .ubermenu-image {
  float: none;
  flex-shrink: 0;
  margin-right: 10px;
}
.ubermenu .ubermenu-item-layout-image_left > .ubermenu-target-text {
  padding-left: 0 !important;
}
/* === End UberMenu image fix === */

/* === IDS Seminars Page Styles (post 66) - moved from post_content 2026-03-06 === */
.ids-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-family: inherit;
  color: #333;
  line-height: 1.6;
}
.ids-wrapper h1,
.ids-wrapper h2,
.ids-wrapper h3 {
  color: #6aa321 !important;
  margin-top: 0;
  line-height: 1.3;
}
.ids-wrapper h1 {
  font-size: 2.4em;
  text-align: center;
  margin-bottom: 25px;
  color: #6aa321 !important;
}
.ids-wrapper h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #6aa321;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: inline-block;
  color: #6aa321 !important;
}
.ids-btn {
  display: inline-block;
  background-color: #f37021;
  color: #ffffff !important;
  padding: 15px 35px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin: 20px 0;
}
.ids-btn:hover {
  background-color: #d95e16;
  transform: translateY(-2px);
}
.ids-box {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #6aa321;
  margin-bottom: 30px;
}
.ids-track {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.ids-track:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.ids-center { text-align: center; }
.ids-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .ids-wrapper h1 { font-size: 1.8em; }
  .ids-btn { width: 100%; box-sizing: border-box; }
}
/* === End IDS Seminars Page Styles === */
