/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */





/* make things hide */
.hidden {	display: none; }





/* make commodity table from mysql shorter */
table.commoditypricediffchart td {
	padding: 5px;
} 
table.commoditypricediffchart {
  border-collapse: collapse;
  width: 100%;
}
table.commoditypricediffchart td, table.commoditypricediffchart th {
  border: 1px solid #ddd;
  padding: 5px;
}
table.commoditypricediffchart tr:nth-child(even){background-color: #f2f2f2;}
table.commoditypricediffchart tr:hover {background-color: #ddd;}
table.commoditypricediffchart th {
  text-align: center !important;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #096033;
  color: white;
}




/* homepage ticker settings */
.ticker-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px;
	background-color: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}
.city-dropdown {
	z-index: 1;
	margin-right: 20px;
	min-width: 150px;
}
.ticker-contentPrices {
	font-size: large;
	display: flex;
	white-space: nowrap;
	animation: ticker-scroll var(--ticker-speed) linear infinite;
}
@keyframes ticker-scroll {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(-100%);
	}
}
.arrow-up {
	color: red;
	margin-left: 5px;
}
.arrow-down {
	color: green;
	margin-left: 5px;
}






/* food in focus page */
.image-division-dropdown .e-n-accordion-item-title {	height: 200px;	margin-top: -225px; 	clip-path: content-box; }
.image-division-dropdown2 .e-n-accordion-item-title {	height: 200px;	margin-top: -225px; 	clip-path: content-box; }
@media only screen and (max-width: 950px) and (min-width: 768px)  {
	.image-division-dropdown .e-n-accordion-item-title {	height: 150px;	margin-top: -175px;} }
@media only screen and (max-width: 767px) and (min-width: 530px)  {
	.image-division-dropdown .e-n-accordion-item-title,
	.image-division-dropdown2 .e-n-accordion-item-title {	height: 510px;	margin-top: -550px;} }
@media only screen and (max-width: 529px) and (min-width: 480px)  {
	.image-division-dropdown .e-n-accordion-item-title,
	.image-division-dropdown2 .e-n-accordion-item-title {	height: 460px;	margin-top: -500px;} }
@media only screen and (max-width: 479px) and (min-width: 430px)  {
	.image-division-dropdown .e-n-accordion-item-title,
	.image-division-dropdown2 .e-n-accordion-item-title {	height: 415px;	margin-top: -450px;} }
@media only screen and (max-width: 429px) and (min-width: 380px)  {
	.image-division-dropdown .e-n-accordion-item-title,
	.image-division-dropdown2 .e-n-accordion-item-title {	height: 365px;	margin-top: -400px;} }
@media only screen and (max-width: 379px) and (min-width: 330px)  {
	.image-division-dropdown .e-n-accordion-item-title,
	.image-division-dropdown2 .e-n-accordion-item-title {	height: 315px;	margin-top: -350px;} }
@media only screen and (max-width: 329px) and (min-width: 130px)  {
	.image-division-dropdown .e-n-accordion-item-title,
	.image-division-dropdown2 .e-n-accordion-item-title {	height: 260px;	margin-top: -300px;} }





/* Resolve Main Menu and Top Bar Menu display when using Bootstrap */
#top-bar .dropdown-menu, #site-navigation-wrap .dropdown-menu {
    display: block;
    float: none;
    position: relative;
    top: auto;
    left: auto;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
	background-color: #f9f9f9;
}
ul a.menu-link span.text wrap {
	font-size: large;
}




/* a link coloring */
a {	color: #c29246; }
a:hover {	color: #096033 !important; font-weight: 700; text-decoration: underline; }
body .contact-info-widget.default i {	color: #ffffff !important; }
#footer-widgets a:hover {	color: #C29246 !important; }
.wp-block-essential-blocks-row a {	text-decoration: underline; } 




/*milk page by hassan bhai */
.sidebarhassan {
    background-color: #096033;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    padding: 10px;
}
.sidebarhassan input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#sidebarhassan-menu {
	color: #ffffff;
    list-style: none;
    padding: 0;
}
#sidebarhassan-menu > li {
    margin-bottom: 10px;
    cursor: pointer;
}
#sidebarhassan-menu li ul {
    list-style: none;
    padding-left: 20px;
    display: none;
}
#sidebarhassan-menu li ul li {
    cursor: pointer;
    color: #ffffff;
}
#sidebarhassan-menu li ul li:hover {
    text-decoration: underline;
}
#details h2 {
    color: #666;
}
#details {
	padding-top: 20px;
	padding-left: 20px;
}




/* single post header and feature image */
.single-header-ocean-4, .single-header-ocean-5 {	background-color: #096033 !important; }
.single-header-ocean-4 {	margin:0 !important;	}
.blog-post-author {		display:none;	}



/* removing sidebar from news page */
.content-area {
	width: 99%;
}