/*
	Theme Name: Silver Pail Dairy
	Theme URI: http://www.silverpail.com/
	Description: Based on Divi Framework
	Author: Spiralli Business Solutions
	Author URI: http://www.spiralli.ie
	Template: Divi
	Version: 2.0.0
*/

@import url("../Divi/style.css");

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

::-moz-selection {
	color: white;
	background: #ec0044;
}
::selection {
	color: white;
	background: #ec0044;
}

::-webkit-input-placeholder {
   color: #ccc;
   font-style: italic;
}
:-moz-placeholder {
   color: #ccc;
   font-style: italic;
}
::-moz-placeholder {
   color: #ccc;
   font-style: italic;
}
:-ms-input-placeholder {
   color: #ccc;
   font-style: italic;
}

h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img {
	vertical-align: middle;
}
h1,
.et_pb_slide_title {
	font-size: 6em !important;
}
.page-id-48 h1 {
	background: #009cd4;
	background: -moz-linear-gradient(left, #0075c9 0%, #00c1de 100%);
	background: -webkit-linear-gradient(left, #0075c9 0%,#00c1de 100%);
	background: linear-gradient(to right, #0075c9 0%,#00c1de 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gecko.page-id-48 h1,
.ie.page-id-48 h1 {
  color: #009cd4 !important;
  background: transparent;
	filter: none;
}
h2,
.et_pb_text h1 {
	font-size: 3.4em !important;
}
h3 {
	font-size: 3em !important;
}
h4 {
	font-size: 2.4em !important;
}
h5 {
	font-size: 2em !important;
}
h6 {
	font-size: 1.4em !important;
}

/* Global transition for animated elements, can be changed */
a,
a::before,
a::after,
input[type=text],
input[type=password],
input[type=tel],
input[type=email],
input[type=date],
input[type=submit],
input[type=button],
textarea,
button,
select {
  -webkit-transition: all .25s ease-out;
  -moz-transition: all .25s ease-out;
  transition: all .25s ease-out;
}

/* Form elements styles and behaviors */
input[type=text],
input[type=password],
input[type=tel],
input[type=email],
input[type=date],
input[type=submit],
textarea,
button,
select {
  color: #333;
  border-radius: 3px;
	padding: 10px !important;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=tel]:focus,
input[type=date]:focus,
input[type=email]:focus,
textarea:focus,
button:hover,
select:focus {
  color: white;
  background-color: #333;
}
.gform_wrapper input[type=submit],
.gform_wrapper input[type=button] {
	text-transform: uppercase;
	color: white;
	background-color: #ec0044;
	display: block !important;
	margin: auto !important;
	border: 0;
	padding: 15px 50px !important;
	cursor: pointer;
	border-radius: 35px;
}
.gform_wrapper input[type=submit]:hover,
.gform_wrapper input[type=button]:hover {
  color: white;
  background-color: #333;
}
.gform_confirmation_wrapper {
	text-align: center;
	background-color: white;
	padding: 20px !important;
}

/* Hiding header+footer for the Glenown Farm Fridge Form */
#page-container {
	padding-top: 0 !important;
}
.page-id-486 .et_pb_section_0,
.page-id-486 .et_pb_row_0 {
	padding: 0;
}
.page-id-486 #main-header,
.page-id-486 #main-footer {
	display: none;
}

/****************************************************************************/
/******************************* HEADER STYLES ******************************/
/****************************************************************************/

#top-header {
	z-index: 100;
}

.nav li ul {
	text-align: center;
	margin-left: -70px;
}
#main-header .nav li ul a {
	border-bottom: 2px dotted white;
}
#main-header .nav li ul li:last-child a {
	border-bottom: 0;
}
#top-menu-nav #top-menu a:hover {
	border-color: #ec0044;
}
.nav ul li a:hover {
	background-color: white;
}

.et_header_style_left .logo_container {
	width: auto;
	min-height: 141px;
	margin-top: -40px;
}

#mobile_menu {
	text-align: center;
}
.et_mobile_menu,
.et_mobile_menu li li {
	padding: 0;
}
.et_mobile_menu li a {
	border-bottom: 0;
}
.mobile_nav.opened .mobile_menu_bar_toggle::before {
	content: '\4d';
}
#main-header .et_mobile_menu li ul {
	background-color: rgba(0,0,0,.1);
	padding-left: 0;
}

/****************************************************************************/
/******************************** BODY STYLES *******************************/
/****************************************************************************/

.floatleft {
  float: left;
}
.floatright {
  float: right;
}
.clear {
  clear: both;
}

#main-content {
	min-height: calc(100vh - 250px);
}

.et_pb_slider {
	font-size: 14px;
}
.et_pb_slide .et_pb_slide_description {
	text-align: left;
	width: 50%;
	max-width: 960px;
	float: left;
	padding: 15% 0 8%;
}

.et-pb-controllers {
	text-align: left;
	max-width: 960px;
	position: relative;
	margin: -23px auto 0;
}
.et-pb-controllers a {
	width: 14px;
	height: 14px;
}
.et_pb_bg_layout_light .et-pb-controllers a {
	background-color: rgba(255,255,255,.7);
}
.et_pb_slide .et_pb_slide_description {
	float: left;
}
.et_pb_slide .et_pb_slide_content {
	font-size: 18px !important;
}

@-webkit-keyframes flipInLeft {
	from { opacity: 0; -webkit-transform: perspective(800px) rotate3d(0,1,0,-14deg) translateX(-20%); }
	to   { opacity: 1; -webkit-transform: perspective(800px); }
}
@-moz-keyframes flipInLeft {
	from { opacity: 0; -moz-transform: perspective(800px) rotate3d(0,1,0,-14deg) translateX(-20%); }
	to   { opacity: 1; -moz-transform: perspective(800px); }
}
@-o-keyframes flipInLeft {
	from { opacity: 0; -o-transform: perspective(800px) rotate3d(0,1,0,-14deg) translateX(-20%); }
	to   { opacity: 1; -o-transform: perspective(800px); }
}
@keyframes flipInLeft {
	from { opacity: 0; transform: perspective(800px) rotate3d(0,1,0,-14deg) translateX(-20%); }
	to   { opacity: 1; transform: perspective(800px); }
}
.animated.flipInLeft {
	-webkit-animation-name: flipInLeft;
	-moz-animation-name: flipInLeft;
	-ms-animation-name: flipInLeft;
	-o-animation-name: flipInLeft;
	animation-name: flipInLeft;
}

@-webkit-keyframes flipInRight {
	from { opacity: 0; -webkit-transform: perspective(800px) rotate3d(0,1,0,14deg) translateX(20%); }
	to   { opacity: 1; -webkit-transform: perspective(800px); }
}
@-moz-keyframes flipInRight {
	from { opacity: 0; -moz-transform: perspective(800px) rotate3d(0,1,0,14deg) translateX(20%); }
	to   { opacity: 1; -moz-transform: perspective(800px); }
}
@-o-keyframes flipInRight {
	from { opacity: 0; -o-transform: perspective(800px) rotate3d(0,1,0,14deg) translateX(20%); }
	to   { opacity: 1; -o-transform: perspective(800px); }
}
@keyframes flipInRight {
	from { opacity: 0; transform: perspective(800px) rotate3d(0,1,0,14deg) translateX(20%); }
	to   { opacity: 1; transform: perspective(800px); }
}
.animated.flipInRight {
	-webkit-animation-name: flipInRight;
	-moz-animation-name: flipInRight;
	-ms-animation-name: flipInRight;
	-o-animation-name: flipInRight;
	animation-name: flipInRight;
}

@-webkit-keyframes flipOut {
	from { opacity: 1; -webkit-transform: perspective(800px); }
	to   { opacity: 0; -webkit-transform: perspective(800px) rotate3d(0,1,0,10deg) translateX(20%); }
}
@-moz-keyframes flipOut {
	from { opacity: 1; -moz-transform: perspective(800px); }
	to   { opacity: 0; -moz-transform: perspective(800px) rotate3d(0,1,0,10deg) translateX(20%); }
}
@-o-keyframes flipOut {
	from { opacity: 1; -o-transform: perspective(800px); }
	to   { opacity: 0; -o-transform: perspective(800px) rotate3d(0,1,0,10deg) translateX(20%); }
}
@keyframes flipOut {
	from { opacity: 1; transform: perspective(800px); }
	to   { opacity: 0; transform: perspective(800px) rotate3d(0,1,0,10deg) translateX(20%); }
}

.et_pb_slide,
.et_pb_slide .et_parallax_bg,
.et_pb_slide_description,
.et_pb_image.animated {
	opacity: 0;
}
.et-pb-active-slide.et_pb_slide,
.et_pb_slide .et_parallax_bg,
.et-pb-active-slide .et_pb_slide_description,
.et-pb-moved-slide.et_pb_slide,
.et-pb-moved-slide .et_pb_slide_description {
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	-o-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-webkit-backface-visibility: visible !important;
	-ms-backface-visibility: visible !important;
	backface-visibility: visible !important;
 }
.et-pb-active-slide.et_pb_slide,
.et_pb_slide .et_parallax_bg {
	-webkit-animation: flipInLeft 1s ease-out .6s forwards;
	-moz-animation: flipInLeft 1s ease-out .6s forwards;
	-ms-animation: flipInLeft 1s ease-out .6s forwards;
	-o-animation: flipInLeft 1s ease-out .6s forwards;
	animation: flipInLeft 1s ease-out .6s forwards;
}
.et-pb-active-slide .et_pb_slide_description {
	-webkit-animation: flipInLeft .7s ease-out .9s forwards;
	-moz-animation: flipInLeft .7s ease-out .9s forwards;
	-ms-animation: flipInLeft .7s ease-out .9s forwards;
	-o-animation: flipInLeft .7s ease-out .9s forwards;
	animation: flipInLeft .7s ease-out .9s forwards;
}

.et-pb-moved-slide.et_pb_slide,
.et-pb-moved-slide .et_pb_slide_description {
	-webkit-animation: flipOut .6s ease-in forwards;
	-moz-animation: flipOut .6s ease-in forwards;
	-ms-animation: flipOut .6s ease-in forwards;
	-o-animation: flipOut .6s ease-in forwards;
	animation: flipOut .6s ease-in forwards;
}

.et-pb-active-slide,
.et-pb-moved-slide {
	background-color: transparent !important;
}

/* IE + mobile fix - slides animation replacement */
.ie .et_pb_slide,
.ie .et_pb_slide .et_parallax_bg,
.ie .et_pb_slide_description,
.et_mobile_device .et_pb_slide,
.et_mobile_device .et_pb_slide .et_parallax_bg,
.et_mobile_device .et_pb_slide_description {
	opacity: 0;
}
.ie.et_ie9 .et_pb_slide,
.ie.et_ie9 .et_pb_slide .et_parallax_bg,
.ie.et_ie9 .et_pb_slide_description {
	-ms-animation: none;
	animation: none;
	opacity: 1;
}

.ie .et-pb-active-slide.et_pb_slide,
.ie .et-pb-active-slide .et_parallax_bg,
.et_mobile_device .et-pb-active-slide.et_pb_slide,
.et_mobile_device .et-pb-active-slide .et_parallax_bg {
	-ms-animation: fadeInLeft 1.4s ease-out forwards;
	animation: fadeInLeft 1.4s ease-out forwards;
}
.ie .et-pb-active-slide .et_pb_slide_description,
.et_mobile_device .et-pb-active-slide .et_pb_slide_description {
	-ms-animation: fadeInLeft 1s ease-out .6s forwards;
	animation: fadeInLeft 1s ease-out .6s forwards;
}

.ie .et-pb-moved-slide.et_pb_slide,
.ie .et-pb-moved-slide .et_parallax_bg,
.ie .et-pb-moved-slide .et_pb_slide_description,
.et_mobile_device .et-pb-moved-slide.et_pb_slide,
.et_mobile_device .et-pb-moved-slide .et_parallax_bg,
.et_mobile_device .et-pb-moved-slide .et_pb_slide_description {
	-ms-animation: fadeOutRight .8s ease-in forwards;
	animation: fadeOutRight .8s ease-in forwards;
}
/* /IE fix */

.et_pb_fullwidth_header {
	font-size: 14px;
}
/*.page-id-50 .et_pb_fullwidth_header .et_parallax_bg {
	background-position: left 40% center;
}*/

.categories .et_pb_text {
	background-repeat: no-repeat;
	background-size: contain;
	min-height: 300px;
}
.categories .et_pb_text h2 {
	font-size: 14px !important;
	font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}
.categories .et_pb_text a {
	display: block;
}

.certifications img {
	max-width: 100px;
	max-height: 100px;
}

.et_pb_scroll_top.et-pb-icon {
	font-size: 40px;
	background: #ec0044;
	-webkit-border-top-left-radius: 50%;
	-moz-border-radius-topleft: 50%;
	border-top-left-radius: 50%;
	-webkit-border-bottom-left-radius: 50%;
	-moz-border-radius-bottomleft: 50%;
	border-bottom-left-radius: 50%;
}

.page-id-59 .et_pb_equal_columns,
.et_pb_equal_columns.accreditation {
	align-items: center;
}

.accreditation .et_pb_module {
	font-size: 11px;
	line-height: 1.2;
	width: 20%;
	float: left;
}
.accreditation a {
	display: block;
}

.gform_wrapper {
	margin-top: 0 !important;
}
.gform_wrapper ul li.gfield {
	margin-top: 0 !important;
	margin-bottom: 16px;
	clear: none !important;
}
.gform_wrapper .top_label input.medium,
.gform_wrapper .top_label select.medium,
#field_1_6,
#field_1_7 {
	width: 100% !important;
}
#field_1_6 {
	clear: both;
}
.gform_wrapper .gfield_required {
	color: #ec0044 !important;
}

.et_pb_divider:before {
	background: url(https://www.silverpail.com/wp-content/uploads/2016/08/divider.png) repeat-x;
	width: 100%;
	height: 3px;
	border: 0;
}

/*.et_password_protected_form .et_submit_button {
	color: white !important;
	float: none;
}*/

.post-password-required .et_password_protected_form h1 {
    display: inherit;
}

.et_password_protected_form {
	font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif;	
    width: 75%;
    margin: 50px auto;
}
.et_password_protected_form h1 {
	color:#ec0044;
	font-size: 9em;
}
button.et_submit_button.et_pb_button {
    text-transform: uppercase;
    color: white;
    background-color: #ec0044;
    display: block !important;
    margin: auto !important;
    border: 0;
    padding: 6px 20px !important;
    cursor: pointer;
    border-radius: 35px;
}
button.et_submit_button.et_pb_button:hover {
	color: white;
    background-color: #333;
}

.et_password_protected_form .et_submit_button {
    display: block;
    float: left;
	font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif;	
	font-size: 16.8px;
	font-weight: 400;
	text-transform: initial!important;
}
.et_password_protected_form p {
    font-family: 'Montserrat',Helvetica,Arial,Lucinda;
    font-weight: 600;
    font-size: 1.2em;
}
/****************************************************************************/
/******************************* FOOTER STYLES ******************************/
/****************************************************************************/
#main-footer {
	background: url(https://www.silverpail.com/wp-content/uploads/2016/07/footer-bg.jpg) no-repeat center top;
	background-color: #941329 !important;
	min-height: 220px;
	position: relative;
}

#footer-widgets {
	padding: 16% 0 0;
}
#footer-widgets .et_pb_widget a {
	color: white;
}

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

/********************************** DESKTOP *********************************/
@media (min-width: 981px) {
	#main-header {
		padding-top: 39.5px;
	}

	.et-fixed-header .logo_container {
		margin-top: -56px;
	}
	.et-fixed-header #top-menu ul a {
		color: white !important;
	}

	#top-menu li {
		padding-right: 20px;
	}

	.et_primary_nav_dropdown_animation_slide #et-top-navigation ul li > ul {
		opacity: 0;
	}
	.et_primary_nav_dropdown_animation_slide #et-top-navigation ul li:hover > ul {
		-webkit-animation: flipInRight .5s ease-out forwards;
		-moz-animation: flipInRight .5s ease-out forwards;
		-ms-animation: flipInRight .5s ease-out forwards;
		-o-animation: flipInRight .5s ease-out forwards;
		animation: flipInRight .5s ease-out forwards;
	}

	.et_pb_gutters3 .footer-widget {
		margin: 0 5.5% 0 0;
	}

	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content-container {
		width: 55%;
	}
	.page-id-59 .et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content-container {
		width: 80%;
	}
	.page-id-59 .header-content-container p {
		margin-bottom: .5em;
	}

	.gfield {
		width: 50%;
		float: left;
	}

	.et_password_protected_form form > p {
		text-align: left;
		width: 48%;
		float: left;
	}
	.et_password_protected_form form > p:first-child {
		margin-right: 4%;
	}
	.et_password_protected_form .et_submit_button {
		margin: 0;
	}

	.ie.et_ie9.et_primary_nav_dropdown_animation_slide #et-top-navigation ul li > ul.sub-menu {
		-ms-animation: none;
		animation: none;
		opacity: 1;
	}
}

/********************************** TABLET **********************************/
@media (max-width: 980px) {
	.et_header_style_left .logo_container {
		margin-top: -34px;
	}
	.et_header_style_left #logo {
		max-width: none;
		max-height: 60%;
	}

	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content-container {
		width: 70%;
	}

	h1,
	.et_pb_slide_title {
		font-size: 4em !important;
	}
	.et_pb_slide .et_pb_slide_description {
		width: 100%;
	}
	.et-pb-controllers {
		padding: 0 30px;
	}

	.et_pb_slide .et_pb_slide_description,
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content,
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content {
		width: 60%;
	}

	#main-footer::after {
		content: none;
	}
	#footer-widgets {
		padding-top: 15%;
	}
}

/********************************** MOBILE **********************************/
@media (max-width: 767px) {
	h1,
	.et_pb_slide_title {
		font-size: 2.6em !important;
	}
	h2 {
		font-size: 2.3em !important;
	}
	h3 {
		font-size: 2em !important;
	}
	h4 {
		font-size: 1.7em !important;
	}
	h5 {
		font-size: 1.4em !important;
	}
	h6 {
		font-size: 1.1em !important;
	}

	.et_pb_fullwidth_header {
		background-position: left;
	}
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content-container {
		width: 100%;
	}

	.et_pb_slide {
		padding: 50px 6% 0;
	}
	.et-pb-controllers {
		text-align: center;
	}

	.accreditation .et_pb_module {
		width: 100%;
	}

	.et_pb_scroll_top.et-pb-icon {
		font-size: 30px;
		padding: 3px;
	}

	#main-footer {
		background-image: none;
		background-color: #ec0044 !important;
	}
}

/********************************** MOBILE **********************************/
@media (max-width: 640px) {
	.et_pb_slide .et_pb_slide_description,
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content,
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content {
		width: 80%;
	}
}
p a {
	text-decoration: underline !important;
}