/*
 Theme Name:   COR - The Kashruth Council of Canada
 Theme URI:    https://cor.ca
 Description:   Website development for COR
 Author:       Iceberg Web Design
 Author URI:   https://www.icebergwebdesign.com
 Template:     iceberg
 Text Domain:  cor

 START YOUR CHILD THEME CSS HERE
*/

body {
    word-break: keep-all;
}

/* --- NAVIGATION --- */
.iceberg-fixed-navigation.iceberg-style-fixed, .iceberg-fixed-navigation.iceberg-style-slide {
    box-shadow: 0 0 20px rgba(20,20,20,0.1);
}
.iceberg-navigation-submenu-indicator .sf-menu > li > a.sf-with-ul-pre:after {
    display: inline-block;
    margin-left: 6px;
    content: "\f107";
    font-family: fontAwesome;
}
.sf-menu > .iceberg-normal-menu li {
    position: relative;
    white-space: normal;
}
.iceberg-fixed-navigation.iceberg-style-slide .iceberg-logo-inner img {
    max-height: unset !important;
}

.iceberg-header-background-transparent .sf-menu > li > a {
	background-color: inherit !important;
}

.iceberg-sticky-navigation .sf-menu > li > a {
	background-color: #00518F; 
}

.sf-menu > li > a {
	background-color: inherit;
}

/* add big pictures to mega menu */
.iceberg-navigation .sf-menu > .menu-item-117 .sf-mega-section-wrap:first-child {
    border-top: none;
    background: url(/wp-content/uploads/2021/12/Kosher-Consumer.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.iceberg-navigation .sf-menu > .menu-item-118 .sf-mega-section-wrap:first-child {
    border-top: none;
    background: url(/wp-content/uploads/2021/12/Kosher-Certification.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.iceberg-navigation .sf-menu > .iceberg-mega-menu .sf-mega-section:first-child {
    background: none;
}
.iceberg-navigation .sf-menu > .iceberg-mega-menu .sf-mega-section {
    background: #ffffff;
}
/* hide title for picture section */
.hide-title a {
  display: none !important;
}

/* hide section headings */
.iceberg-navigation .sf-menu > .iceberg-mega-menu .hide-section.sf-mega-section-inner > a {
    display: none;
}

/* add icons to mega-menu */
.ask-rabbi::before {
  content: "";
  float: left;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  margin-top: -5px;
  background: url(/wp-content/uploads/2021/11/blue-question.svg) no-repeat 0 0;
  background-size: 40px;
}
.kosher-alerts::before {
  content: "";
  float: left;
  width: 39px;
  height: 39px;
  margin-right: 10px;
  margin-top: -5px;
  background: url(/wp-content/uploads/2021/12/bell.svg) no-repeat 0 0;
  background-size: 40px;
}
.newly-certified::before {
  content: "";
  float: left;
  width: 39px;
  height: 39px;
  margin-right: 10px;
  margin-top: -5px;
  background: url(/wp-content/uploads/2021/12/star.svg) no-repeat 0 0;
  background-size: 40px;
}

/* --- HERO --- */

#hero, #Hero, #trusted_by h2{
/* 	background-color: rgb(0 0 0 / 55%);
    box-shadow: 0 0 25px 25px rgb(0 0 0 / 55%); */
	width: fit-content;
	max-width: 550px;
	padding: 0 0 20px 20px;
}

#hero > div > h1,
#Hero > div > h1,
#hero > span,
#Hero > span {
  text-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.iwd-core-pbf-column-content-margin {
	z-index: 1;
}
.iwd-core-pbf-column-content-margin p {
/* 	background: #00518F; */
	margin-bottom: 10px !important;
}
/* sticky side button */
#ssb-container {
    position: fixed;
    top: 25%;
}
#ssb-btn-0 {
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
}
#ssb-container ul li span {
    font-size: 28px;
    top: 3px;
    position: relative;
}


/* --- ICONS --- */

.icon-title > div > h3 {
	border-bottom: 10px solid #c3eefe;
}
.iwd-core-title-item .iwd-core-title-item-title i {
    margin-right: 15px;
}

.home-icons > div > a > img {
	height: unset !important;
	width: unset !important;
}

/* --- FORMS --- */

.iceberg-body input, .iceberg-body textarea {
    color: #4e4e4e;
    background-color: #f5f5f5;
    padding: 10px !important;
    border: 1px solid #e2e2e2;
    font-size: 16px;
}
.gform_wrapper textarea.medium {
    margin-top: 8px;
}
h3.gsection_title,
.contact-7-form h3 {
  line-height: 1;
  color: #0066a4;
  margin-bottom: 0;
}
.gform_wrapper.gravity-theme .gsection {
  border-bottom: 1px solid #e2e2e2 !important;
  margin: 30px 0 !important;
}

/* form button */
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit],
.mailchimp-form input[type=submit],
.contact-7-form input[type=submit] {
  background-color: #C3EEFE;
  padding: 15px 33px !important;
  border: none;
  border-radius: 5px;
  color: #00518f;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1em;
  font-family: "Open Sans", sans-serif;
  line-height: 1em !important;
  width: 100% !important;
	margin-top: 0 !important;
}

.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=submit]:hover,
.mailchimp-form input[type=submit]:hover,
.contact-7-form input[type=submit]:hover {
  background-color: #9AE3FE;
}
/* .contact-7-form {
	padding: 20px 0 0 0;
} */
.contact-7-form label {
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
    display: inline-block;
    padding: 0;
}

.contact-7-form h3 {
  padding: 40px 20px 0 20px;	
}
.contact-7-form hr {
  padding-bottom: 10px; 
}
.contact-7-form .contact-row {
	display: flex;
    flex-flow: row wrap;
	gap: 20px;
}
.contact-7-form .around-row {
	padding: 10px 0;
}
.contact-7-form .contact-row div {
	flex: 1 0 250px;
}
.mailchimp-form input {
	width: 100%;
}
.wpcf7-response-output {
	position: relative;
	top: -40px;
}
/* .contact-7-form input[type="checkbox"] {
    width: 13px !important ;
height: 20px;
} */
/* form placeholder text */
::-webkit-input-placeholder { /* Chrome */
  color: #494949 !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #494949 !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #494949 !important;
  opacity: 1 !important;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  color: #494949 !important;
  opacity: 1 !important;
}

/* 404 placeholder text */
.error404 ::-webkit-input-placeholder { /* Chrome */
  color: #aaa !important;
}
.error404 :-ms-input-placeholder { /* IE 10+ */
  color: #aaa !important;
}
.error404 ::-moz-placeholder { /* Firefox 19+ */
  color: #aaa !important;
  opacity: 1 !important;
}
.error404 :-moz-placeholder { /* Firefox 4 - 18 */
  color: #aaa !important;
  opacity: 1 !important;
}

/* form input color for White Text skin */
.iwd-core-page-builder-body [data-skin="White Text"] input:not([type="button"]):not([type="submit"]):not([type="reset"]), 
.iwd-core-page-builder-body [data-skin="White Text"] textarea {
    color: #494949;
}

/* --- FAQs --- */
.iwd-core-tab-featurev-item .iwd-core-tab-featurev-title-wrap {
  padding-left: 0;
}
.iwd-core-tab-featurev-item .iwd-core-tab-featurev-content-wrap {
    padding: 50px 60px 60px 60px;
}
.iwd-core-tab-featurev-item .iwd-core-tab-featurev-title-wrap li {
    background: #11518f;
    color: #ffffff;
    border-bottom: 1px solid #0c467e !important;
    font-weight: 600;
    line-height: 1.5;
}
.iwd-core-tab-featurev-item .iwd-core-tab-featurev-title-wrap li.iwd-core-active {
    background: #C3EEFE;
    color: #11518f;
}
.iwd-core-toggle-box-style-background-title-icon .iwd-core-toggle-box-item-title {
    font-size: 16px;
    text-transform: none;
    cursor: pointer;
    font-weight: 600;
    padding: 23px 25px 22px;
    letter-spacing: 0;
    margin-bottom: 20px;
	font-family: 'Open Sans', sans-serif;
	line-height: 1.5;
}

/* --- GALLERY --- */

/* put overlay caption in center of image */
.iwd-core-image-overlay.iwd-core-gallery-image-overlay .iwd-core-image-overlay-content {
    top: 50% !important;
}

/* lightbox captions */
.ilightbox-holder.dark .ilightbox-container .ilightbox-caption {
    background: none;
    color: #ffffff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.ilightbox-holder .ilightbox-container .ilightbox-caption {
    font-size: 18px;
}

/* --- LOGO SALAD --- */

.logo-salad {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.logo-salad img {
	padding: 10px;
	max-width: 180px;
}

/* --- BLOG --- */

.iwd-core-blog-modern .iwd-core-blog-title {
    margin-bottom: 0 !important;
    line-height: 1.1;
}
.iwd-core-blog-modern .iwd-core-blog-modern-content-overlay-gradient2 {
    background: linear-gradient(180deg, rgba(255,255,255,0) 25%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.8) 100%);
}
.iwd-core-blog-info-wrapper a {
    background-color: rgba(0,0,0,0.8) !important;
}
.iwd-core-blog-thumbnail img {
    margin: 0px;
    height: 400px;
    object-fit: cover;
}
.iwd-core-blog-modern.iwd-core-style-3:hover .iwd-core-blog-modern-content {
    bottom: 0;
}
.new-button {
  color: #fff !important;
	background-color: #0064A7;
  padding: 5px 15px;
  position: relative;
	z-index: 99;
  float: right;
  margin-top: -22px;
	margin-right: 10px;
	border-radius: 5px;
}

.iceberg-page-title-wrap.iceberg-style-custom .iceberg-page-caption {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- PRODUCE --- */

.produce-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.produce-item {
  max-width: 300px;
  padding: 20px 10px;
}

.produce-title {
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  font-size: x-large;
  text-align: center;
}

.produce-img img {
    height: 200px;
	border-radius: 5px;
    object-fit: cover;
}

/* --- FOOTER --- */

.iceberg-footer-wrapper .widget {
    margin-bottom: 60px;
    height: 220px;
}
.footer-icons i {
    font-size: 35px;
    margin-right: 15px;
}
.iceberg-footer-wrapper .iceberg-widget-title {
    margin-bottom: 20px;
}

#our-history > div > div {
    background-size: contain !important;
    background-position: 0 -10px !important;
}

/* --- SEARCH --- */

.wp-block-search .wp-block-search__button {
    background: #f7f7f7;
    border: 1px solid #ccc;
    padding: 0.375em 0.625em;
    color: #32373c;
    margin-left: 0.625em;
    word-break: normal;
    background: #0064a7;
    border: none;
    border-radius: 5px;
    color: #fff;
}

input.cor-search-input {
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px 0 0 8px;
    height: 45px;
    position: relative;
    top: -3px;
    width: calc(100% - 60px);
    padding: 10px 20px !important;
}

button.cor-search-wrapper {
    background-color: #0064a7;
    border: none;
    border-radius: 0 8px 8px 0;
    color: #fff;
    height: 45px;
    width: 60px;
    font-size: 20px;
    margin-left: -5px;
}

/* --- HISTORY ARROWS --- */


.arrow1::after {
  content:"";
  background: url(/wp-content/uploads/2022/01/1.svg) no-repeat;
  display: block;
  width: 100px;
  height: 350px;
  position: absolute;
  left: 55%;
  margin-top: -10px;
}
.arrow2::after {
  content:"";
  background: url(/wp-content/uploads/2022/01/2.svg) no-repeat;
  display: block;
  width: 100px;
  height: 200px;
  position: absolute;
  right: 10%;
  margin-top: -10px;
}
.arrow3::after {
  content:"";
  background: url(/wp-content/uploads/2022/01/Arrow-3a.svg) no-repeat;
  display: block;
  width: 100px;
  height: 305px;
  position: absolute;
  left: 55%;
  margin-top: -10px;
}
.arrow4::after {
  content:"";
  background: url(/wp-content/uploads/2022/01/4.svg) no-repeat;
  display: block;
  width: 120px;
  height: 200px;
  position: absolute;
  left: 22%;
  margin-top: -5px;
}
.arrow5::after {
  content:"";
  background: url(/wp-content/uploads/2022/01/5a.svg) no-repeat;
  display: block;
  width: 120px;
  height: 360px;
  position: absolute;
  left: 40%;
  margin-top: -10px;
}

/* --- RESPONSIVE --- */

.mm-listview .mm-divider, .mm-listview>li>a, .mm-listview>li>span, .mm-navbar .mm-title {
    white-space: unset;
}
ul.mm-listview li {
    margin: 0 20px;
}
.mm-panel.mm-hasnavbar .mm-navbar {
	margin: 0 20px 30px;
}
.iceberg-overlay-menu-content {
    background-color: #00518f !important;
}
.iceberg-overlay-menu-content ul.menu {
  max-width: 75%;
  text-align: left;
}
.iceberg-overlay-menu-content ul li a:hover {
    color: #C3EEFE !important;
}

@media screen and (max-width: 1280px) {
  #hero > div > h1 {font-size: 48px !important;}
  #hero > span {font-size: 17px !important;}
}

@media screen and (max-width: 1180px) {
  .iceberg-navigation .sf-menu > li > a {font-size: 12px;}
  .iceberg-navigation .sf-menu > li {padding-left: 14px; padding-right: 14px;}
  .iceberg-logo-inner {max-width: 100px;}
  .iceberg-navigation {padding-top: 33px;}
  .iceberg-navigation .sf-menu > li > a {padding-bottom: 34px;}
  .iceberg-animate-fixed-navigation.iceberg-header-style-plain .iceberg-navigation, .iceberg-animate-fixed-navigation.iceberg-header-style-boxed .iceberg-navigation {padding-top: 33px;}
}

@media screen and (max-width: 1080px) {
  .iwd-core-blog-modern-content:after {margin-top: 15px;}
}

@media screen and (max-width: 850px) {
	#hero > div > h1 {font-size: 40px !important;}
	#hero > span {font-size: 17px !important;}
	.logo-salad img {padding: 5px; max-width: 110px;}
}

/* Breakpoint for mobile header - 999px */


/* Breakpoint for column stacking - 768px */
@media screen and (max-width: 768px) {
    .iceberg-page-title-wrap .iceberg-page-title {font-size: 28px !important;}
    .iwd-core-title-item .iwd-core-title-item-title {font-size: 28px !important;}
    .logo-salad {flex-wrap:wrap;}
    .logo-salad img {max-width: 100px;}
    .flex-on-mobile > div > div {display: flex;flex-direction: column-reverse;}
    #hero > div > h1 {font-size: 38px !important;}
    .home .iwd-core-pbf-background {background-position: 70% 50% !important;}
	.iceberg-footer-wrapper .widget {height: unset;}
	div.iceberg-footer-wrapper > div > div:nth-child(1) {display: flex; flex-direction: column-reverse; margin-bottom: 0px !important;}
	div.iceberg-footer-wrapper > div > div:nth-child(2) {display: flex; flex-direction: column; margin-bottom: 0px !important;}
	.iceberg-footer-wrapper .widget {margin-bottom: 20px !important;}
	#our-history > div > div {background: none !important;}
  .iceberg-page-title-wrap .iceberg-page-title {font-size: 38px !important;}
  .arrow1::after, .arrow2::after, .arrow3::after, .arrow4::after, .arrow5::after {
    background: none;
  }
}

.news-wrapper .iwd-core-blog-info-date a {
	color: #00518f  !important;
}
.iwd-core-blog-grid.iwd-core-blog-grid-with-frame {
	border-radius: 15px;
}
.iwd-core-load-more {
/* 	z-index: 5; */
}

.search-results .iwd-core-pbf-wrapper-container,
.search-results .iwd-core-pbf-column-content,
.search-produce-results .iwd-core-pbf-wrapper-container{
	display: flex;
	flex-wrap: wrap;
}

.cor-search-card {
	margin: 10px;
	width: 300px;
	background-color: #ffffff;
	border-radius: 0 20px 20px 0;
	padding: 10px 10px 0 0;
}
.newly-certified-card .cor-search-card {
	min-height: 180px;
}

.cor-search-details {
	padding: 12px;
	overflow-wrap: anywhere;
}
.search-category {
    padding-top: 10px;
}
.search-category .search-indent {
	font-size: smaller;
}
.search-name {
	background-color: #00518f;
	color: white;
	font-size: larger;
	text-align: center;
	border-radius: 0 13px 13px 0;
}
.search-icon {
	width: 25px;
}

.search-produce-list {
	display: flex;
	flex-wrap: wrap;
	padding: 0 35px;
	justify-content: space-evenly;
}

.hdr {
	padding: 3px;
	font-weight: bold;
	font-size: larger;
}
.dtls {
	margin: 5px 30px;
}
.insect-scenario {
	font-style: italic;
}
.insect-slick {
	margin-bottom: 10px;
}
.insect-flex {
	display: flex;
	flex-wrap: wrap;
}
.insect-wrapper {
	height: 240px;
	margin: 0 10px;
}
.insect-name {
	text-align: center;
	font-weight: bolder;
}
.insect-spider {
	width: 200px;
}

.search-indent, .search-icon, .cor-search-contact, .cert-expire, .cert-ukd{
	display: table-cell;
}
.search-letter-border-1 {
	margin: 10px;
	padding: 3px;
	width: 300px;
	overflow-wrap: anywhere;
	background-color: #ffffff;
}
.search-letter-border-2 {
	border: 2px solid beige;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 8px;
}
.flex-row-1 {
	display: flex;
	height: 26px;
}
.cert-logo {
	width: 35px;
	vertical-align: inherit;
}
.logo-div {
	width: 43px;
	padding: 2px;
}
.logo-stripe {
    width: 230px;
	height: 26px;
    background: linear-gradient(to top, white 10%, beige 10% 90%, white 90% 100%);
}
.cert-brand {
	height: 26px;
    width: 222px;
	padding-left: 5px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 90%;
}
.cert-body {
	display: flex;
	padding: 0 8px 8px 8px;
}
.cert-owner {
	text-transform: uppercase;
	font-size: 90%;
}
.cert-names{
	
}
.cert-bottom {
	margin-top: auto;
}
.cert-status {
	font-style: italic;
}
.cert-expire {
	width: 135px;
	
}
.cert-ukd {
	width: 135px;
	text-align: right;
}
.produce-slick {
	max-width: 400px;
    max-height: 400px;
	margin: auto !important;
}
.produce-slick div {
	max-height: 400px;
}
.produce-slick img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}
.main-name-image{
	height: 450px;
}
.produce-name{
	font-size: large;
	font-weight: bold;
	text-align: center;
}
.insect-slick {
	width: 200px;
	height: 200px;
}

.insect-slick img {
    max-width: 200px;
    max-height: 200px;
    margin: auto;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus,
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    color: white;
    outline: none;
	background-color: rgba(153, 153, 153, 0.7);
	opacity: 0.7;
}
.slick-prev, .slick-next{
	background-color: rgba(153, 153, 153, 0.7);
    border-radius: 15px;
    padding: 5px;
    height: 30px;
    width: 30px;
}
.slick-prev {
	left: 5px;
	z-index: 1;
}
.slick-next{
	right: 5px;
	z-index: 1;
}
.slick-dots {
	bottom: 5px;
}
.slick-dots li button:before {
	font-size: 14px;
}

.shade {
  left: -3%;
  width: 103%;
  height: 35%;
/*   background: green; */
  transform: rotateX(65deg);
  transform-origin: 100% -10%;
  background: 
    linear-gradient(#0000, #0006),
    repeating-linear-gradient(to right, #00518f 0 6.25%, #f8f8f8 0 12.5%);
}

.shade::before {
  content: "";
  display:block;
  position: absolute;
  width: 100%;
  height: 15%;
  top: 100%;
  left: 0;
  transform: rotateX(-55deg);
  transform-origin: 50% 0;
  background:
    radial-gradient(50% 120% at 25% 0, #00518f 50%, #0000 0) 0 0 / 12.5% 100%,
    radial-gradient(50% 120% at 75% 0, #f8f8f8 50%, #0000 0) 0 0 / 12.5% 100%
}


/* Tablepress Passover */

.tablepress .header {
    background-color: #d9edf7;
}

.tablepress tr.red, .tablepress-id-4 tr.row-2, .tablepress-id-15 tr.row-2 {
    background-color: #dab7af
}

.tablepress tr.green, .tablepress-id-4 tr.row-3, .tablepress-id-15 tr.row-3 {
    background-color: #bfccb3
}

.tablepress tr.blue,.tablepress-id-4 tr.row-4 {
    background-color: #a5afce
}

.tablepress tr.gray, .tablepress-id-4 tr.row-5 , .tablepress-id-15 tr.row-4 {
    background-color: #efe7e3
}

.tablepress tr.darkblue {
    background-color: #2471A3
}
.tablepress{
  table-layout:fixed;
  width: 100%;
  border-collapse: collapse;
}
.tablepress td {
  border: 2px solid #fff;
  color: #000000;
}
.tablepress th {
	color: #000000;
	text-align: center;
}
.header, .heading{
  vertical-align: inherit;
  font-weight: bold;
  text-align: center;
}

.tablepress-id-16 .column-1 {
	width: 40px;
}

.hay img {
	height: 20px;
	max-width: 20px;
  -webkit-filter: grayscale(1) invert(1);
  filter: grayscale(1) invert(1);
}

#kashering_guide_div .iwd-core-sticky-banner {
	display: none;
}
#kashering_guide_div .iwd-core-media-image img {
    height: 130px;
	object-position: bottom;
}

#passover_faqs_div .iwd-core-media-image img {
    height: auto;
	object-position: bottom;
}

.loading-logo {
  margin: auto;
  font-weight: 900;
  font-size: 50px;
  text-align:center;
}
