/* =====================================================================
   Φαρμακείο Έλενα Ευθυμίου – brand theme
   Load AFTER style.css and responsive.css. Recolours the MediCenter
   template from blue to the logo's green + charcoal.
   ===================================================================== */

/* Brand palette (from the logo)
   logo green ......... #34D42C  (accents, lines, borders)
   green .............. #24A81F  (boxes with white text)
   dark green ......... #1B7F17  (links, quotes, boxes)
   charcoal ........... #222222  (logo text, dark boxes)          */

/* --- fonts with Greek support --- */
h1, h2, h3, h4, h5,
.header_left a, .logo
{
	font-family: 'Manrope', 'Arial', sans-serif;
}
h1, h2 { font-weight: 600; }
.sentence, blockquote
{
	font-family: 'Noto Serif', Georgia, serif;
}

/* --- links & text accents --- */
a
{
	color: #1B7F17;
	border-bottom-color: #1B7F17;
}
blockquote
{
	color: #1B7F17;
	border-left-color: #34D42C;
}
.sentence
{
	color: #1B7F17;
}
.more,
.bread_crumb li a:hover,
.post_footer_details li a:hover,
#cancel_comment:hover
{
	color: #1B7F17;
}
.box_header:after
{
	background: #34D42C;
}
.footer .timeago
{
	color: #34D42C;
}

/* --- header & logo --- */
.header_left
{
	width: auto;
}
.header_left a img
{
	display: block;
	height: 70px;
	width: auto;
	max-width: 100%;
	margin-right: 0;
}
.header
{
	padding: 26px 0;
}
.header_right
{
	margin-top: 12px;
}

/* --- menu --- */
.sf-menu li:hover a, .sf-menu li.selected a
{
	background: #24A81F;
}
.sf-menu li.submenu:hover a
{
	color: #222;
	background: #FFF;
}
.sf-menu li ul li a:hover, .sf-menu li ul li.selected a,
.sf-menu li.submenu ul li a:hover, .sf-menu li.submenu:hover ul li.selected a,
.sf-menu li.submenu:hover ul li.selected ul li a:hover, .sf-menu li.submenu:hover ul li ul li.selected a, .sf-menu li.submenu:hover ul li.selected ul li.selected a
{
	border-bottom-color: #34D42C;
}

/* --- page header line --- */
.page
{
	border-top-color: #34D42C;
}
.page.noborder
{
	border: none;
}
.top_hint
{
	background-color: #24A81F;
}
.search .search_input:focus
{
	border-color: #34D42C;
}

/* --- slider: darker panel behind the text so it reads on bright photos --- */
.slider_content
{
	width: -moz-fit-content;
	width: fit-content;
	max-width: 90%;
	padding: 22px 28px 26px;
	background: rgba(20, 20, 20, 0.55);
	border-left: 4px solid #34D42C;
}
.slider_content h1
{
	font-weight: 700;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.slider_content .subtitle
{
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* --- home boxes (under the slider) --- */
.home_box.light_blue
{
	background-color: #24A81F;
}
.home_box.blue
{
	background-color: #1B7F17;
}
.home_box.dark_blue
{
	background-color: #222;
}
.items_list.dark_blue li
{
	border-color: #444;
}

/* --- buttons --- */
.more.dark_blue,
.more.blue:hover
{
	background-color: #34D42C;
	border-color: #34D42C;
}
.more.dark_blue:hover,
.more.blue
{
	background-color: #1B7F17;
	border-color: #1B7F17;
}
.home_box .more.light:hover
{
	color: #1B7F17;
}

/* --- accordion / tabs / pagination / controls --- */
.accordion .ui-accordion-header.ui-state-hover h3
{
	color: #1B7F17;
}
.accordion .ui-accordion-header.ui-state-active
{
	background: #1B7F17;
	border-bottom-color: #1B7F17;
}
.header_right a.scrolling_list_control_left:hover,
.header_right a.scrolling_list_control_right:hover,
.footer .header_right a.scrolling_list_control_left:hover,
.footer .header_right a.scrolling_list_control_right:hover,
.pagination li a:hover,
.pagination li.selected a,
.tabs_navigation li a:hover,
.tabs_navigation li a.selected,
.tabs_navigation li.ui-tabs-active a,
.categories li a:hover,
.scrolling_list li a:hover .number,
.controls .close:hover, .controls .prev:hover, .controls .next:hover
{
	border-color: #34D42C;
}

/* --- gallery / team cards --- */
.gallery_box:hover .description
{
	background-color: #24A81F;
}
.gallery_box:hover .item_details
{
	border-color: #34D42C;
}
.gallery_item_details_list .details_box .subheader
{
	color: #1B7F17;
}

/* --- info list on team profiles: wider label for Greek words --- */
.info_list li label
{
	width: 110px;
}
.info_list li .text
{
	width: 370px;
}

/* --- footer --- */
.footer_banner_box.super_light_blue
{
	background-color: #24A81F;
}
.footer_banner_box.light_blue
{
	background-color: #1B7F17;
}
.footer_banner_box.blue
{
	background-color: #2C2C2C;
}
.footer_logo
{
	display: block;
	height: 56px;
	width: auto;
	max-width: 100%;
	margin-bottom: 10px;
}
.footer a:hover
{
	color: #34D42C;
}
.copyright_area
{
	border-top-color: #34D42C;
}

/* --- misc template colours --- */
.notification_box.nb_info,
.tooltip .tooltip_content
{
	background-color: #24A81F;
}
.tip,
.dropcap .dropcap_label,
.timetable .event,
.comment_box .date .value
{
	background-color: #1B7F17;
}
.timetable .event:hover,
.comment_box .comments_number a
{
	background-color: #24A81F;
}
.comment_form .text_input:focus, .comment_form textarea:focus,
.contact_form .text_input:focus, .contact_form textarea:focus
{
	border-color: #34D42C;
}

/* --- responsive tweaks for the wider logo --- */
@media screen and (max-width:1009px)
{
	.header_left
	{
		width: auto;
	}
	.header_left a img
	{
		height: 56px;
	}
	.info_list li label
	{
		width: 100px;
	}
	.info_list li .text
	{
		width: 250px;
	}
}
@media screen and (max-width:767px)
{
	.header_right
	{
		margin-top: 0;
	}
	.info_list li .text
	{
		width: 350px;
	}
}
@media screen and (max-width:479px)
{
	.header_left
	{
		float: none;
		width: 100%;
	}
	.header_left a img
	{
		height: auto;
		width: 100%;
	}
	.slider_content
	{
		padding: 12px 14px 14px;
	}
	.info_list li label
	{
		float: none;
		display: block;
	}
	.info_list li .text
	{
		width: 100%;
	}
}

/* --- footer team list --- */
.footer_contact_info_left.footer_team
{
	float: none;
	width: auto;
	padding-bottom: 8px;
	line-height: 150%;
}
.footer_team span
{
	display: block;
	font-size: 11px;
	color: #909090;
}

/* --- slider text on small phones --- */
@media screen and (max-width:479px)
{
	.slider_content .subtitle
	{
		display: none;
	}
	.slider_content h1
	{
		font-size: 20px;
	}
}

/* --- footer layout fixes --- */
.footer
{
	padding-top: 45px;          /* space above the footer content (margin used to collapse outside) */
}
.footer_box_container
{
	margin-top: 0;
	padding-bottom: 35px;
}
.footer .box_header
{
	margin-bottom: 18px;        /* keep the green underline clear of the first link */
	font-size: 18px;
}
.footer .box_header:after
{
	visibility: visible;
	margin-top: 8px;
}
.footer_logo
{
	margin-bottom: 18px;
}
.footer_box p.info
{
	padding: 0 0 10px;
	line-height: 160%;
}
.footer_contact_info_row
{
	padding-top: 0;
	padding-bottom: 8px;
	line-height: 150%;
}
.footer_contact_info_left.footer_team
{
	padding-bottom: 6px;
}
.footer .copyright_area
{
	margin-top: 0;
	padding: 18px 0;
	border-top: 1px solid #353535;
}
.footer .copyright_right .scroll_top
{
	color: #C5C5C5;
}
.footer .footer_contact_info_left
{
	float: none;
	width: auto;
}

/* --- language switch (flags) --- */
.header
{
	position: relative;
}
.lang_switch
{
	position: absolute;
	top: 8px;
	right: 0;
	z-index: 10;
	line-height: 0;
}
.lang_switch li
{
	display: inline-block;
	margin-left: 6px;
}
.lang_switch a
{
	display: block;
	border: none;
	opacity: 0.55;
	transition: opacity .2s ease;
}
.lang_switch a:hover,
.lang_switch li.selected a
{
	opacity: 1;
}
.lang_switch img
{
	display: block;
	width: 28px;
	height: 19px;
	object-fit: cover;
	border: 1px solid #E0E0E0;
}
.lang_switch li.selected img
{
	outline: 2px solid #34D42C;
	outline-offset: 1px;
}
@media screen and (max-width:767px)
{
	.lang_switch
	{
		top: 4px;
	}
}
@media screen and (max-width:479px)
{
	.lang_switch
	{
		position: static;
		text-align: center;
		margin-bottom: 12px;
	}
	.lang_switch li
	{
		margin: 0 4px;
	}
}

/* --- copyright bar: terms / powered by / copyright --- */
.footer .copyright_area
{
	font-family: 'Manrope', 'Arial', sans-serif;
	font-size: 13px;
	color: #FFF;
	padding: 18px 0 26px;
}
.copyright_terms
{
	clear: both;
	padding: 0 0 14px 30px;
	font-size: 12px;
	letter-spacing: 0.02em;
}
.copyright_terms a,
.copyright_terms a:visited
{
	color: #FFF;
}
.footer .copyright_terms a:hover
{
	color: #34D42C;
	text-decoration: none;
}
.footer .copyright_left,
.footer .copyright_right
{
	color: #FFF;
}
.footer .copyright_right
{
	padding-right: 30px;
}
@media screen and (max-width:767px)
{
	.copyright_terms
	{
		padding-left: 0;
	}
	.footer .copyright_left,
	.footer .copyright_right
	{
		float: none;
		padding-right: 0;
	}
	.footer .copyright_right
	{
		margin-top: 8px;
	}
}
.footer .copyright_area
{
	line-height: 150%;
}

/* --- no grey hover box on photos (click the photo instead, see js/pharmacy.js) --- */
.gallery_box .controls,
.gallery_box:hover .controls,
.image_carousel .controls
{
	display: none !important;
}
.gallery_box img
{
	cursor: pointer;
	transition: opacity .2s ease;
}
.gallery_box:hover img
{
	opacity: 0.9;
}

/* --- blog page --- */
.blog_intro
{
	padding: 0 0 10px;
	font-size: 14px;
}
.blog .blog_message
{
	padding: 30px 0;
	color: #909090;
	font-size: 14px;
}
.blog .post
{
	width: 100%;
}
.blog .comment_box .date .value
{
	background-color: #24A81F;
	text-transform: uppercase;
}
.blog .post_content
{
	width: 520px;
}
.blog .post_content .post_image
{
	margin-bottom: 25px;
}
.blog .post_content .post_image img
{
	display: block;
	width: 100%;
	height: auto;
}
.blog .post_content h2
{
	margin-bottom: 15px;
	line-height: 130%;
}
.blog .post_text p
{
	padding: 0 0 1em;
}
.blog .post_text img
{
	max-width: 100%;
	height: auto;
}
.blog_recent li
{
	padding: 10px 0;
	border-bottom: 1px solid #E0E0E0;
	line-height: 150%;
}
.blog_recent li:first-child
{
	padding-top: 0;
}
.blog_recent a
{
	display: block;
	color: #222;
	border: none;
}
.blog_recent a:hover
{
	color: #1B7F17;
}
.blog_recent_date
{
	display: block;
	font-size: 11px;
	color: #909090;
	margin-top: 2px;
}
@media screen and (max-width:1009px)
{
	.blog .post_content
	{
		width: 367px;
	}
}
@media screen and (max-width:767px)
{
	.blog .post_content
	{
		width: 354px;
	}
}
@media screen and (max-width:479px)
{
	.blog .post_content
	{
		width: 300px;
	}
}
.blog .post_text ul,
.blog .post_text ol
{
	padding: 0 0 1em 20px;
	line-height: 150%;
	color: #666;
}
.blog .post_text ul li
{
	list-style: disc;
}
.blog .post_text ol li
{
	list-style: decimal;
}

/* --- terms & conditions page --- */
.terms_content
{
	min-height: 200px;
	line-height: 160%;
}

/* --- contact page --- */
.contact_intro
{
	padding: 0 0 20px;
	font-size: 14px;
}
.pharmacy_contact_form label
{
	display: block;
	color: #666;
	margin: 0 0 6px;
}
.pharmacy_contact_form .contact_row
{
	display: flex;
	gap: 20px;
}
.pharmacy_contact_form .contact_col
{
	flex: 1;
	min-width: 0;
}
.pharmacy_contact_form input,
.pharmacy_contact_form textarea
{
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	margin: 0 0 16px;
	color: #000;
	background: #F0F0F0;
	border: none;
	border-top: 1px solid #E0E0E0;
	font-family: Arial, sans-serif;
	font-size: 13px;
}
.pharmacy_contact_form textarea
{
	resize: vertical;
	min-height: 160px;
}
.pharmacy_contact_form input:focus,
.pharmacy_contact_form textarea:focus
{
	outline: none;
	border-top-color: #34D42C;
	background: #FFF;
}
.pharmacy_contact_form .contact_footer
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.pharmacy_contact_form .contact_status
{
	padding: 0;
	font-size: 13px;
}
.pharmacy_contact_form .contact_status.error
{
	color: #C0392B;
}
.pharmacy_contact_form .contact_status.ok
{
	color: #1B7F17;
}
.pharmacy_contact_form .contact_send
{
	flex-shrink: 0;
	padding: 11px 26px;
	color: #FFF;
	background: #1B7F17;
	border: none;
	font-size: 14px;
	cursor: pointer;
	transition: background .2s ease;
}
.pharmacy_contact_form .contact_send:hover
{
	background: #24A81F;
}
.contact_data li .value a
{
	word-break: break-all;
}
@media screen and (max-width:479px)
{
	.pharmacy_contact_form .contact_row
	{
		display: block;
	}
	.pharmacy_contact_form .contact_footer
	{
		flex-direction: column-reverse;
		align-items: stretch;
	}
}
.pharmacy_contact_form .contact_status
{
	flex: 1;
	text-align: left;
}

/* --- policy pages (terms / privacy / returns) --- */
.policy_text
{
	max-width: 820px;
	font-size: 14px;
}
.policy_text h3
{
	margin: 30px 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: #222;
}
.policy_text h3:first-child
{
	margin-top: 0;
}
.policy_text p
{
	padding: 0 0 12px;
}
.policy_text ul
{
	padding: 0 0 12px 22px;
}
.policy_text ul li
{
	list-style: disc;
	color: #666;
	line-height: 160%;
	padding: 2px 0;
}
.policy_text ul li p
{
	padding: 0;
}
.policy_text .last_updated
{
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #E0E0E0;
	font-size: 12px;
	color: #909090;
}
.policy_text .policy_form
{
	margin-top: 30px;
	padding: 20px 25px 10px;
	background: #FFF;
	border: 1px solid #E0E0E0;
	border-left: 4px solid #34D42C;
}
.policy_text .policy_form h3
{
	margin-top: 0;
}
.policy_text .policy_form p
{
	line-height: 200%;
	word-break: break-word;
}
.copyright_terms .sep
{
	margin: 0 10px;
	color: #555;
}
@media screen and (max-width:767px)
{
	.copyright_terms .sep
	{
		margin: 0 6px;
	}
}

/* --- footer policy links (replaces the old uppercase row) --- */
.copyright_terms
{
	display: none;
}
.footer .policy_links
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 14px;
	padding: 0;
	font-size: 13px;
}
.footer .policy_links li
{
	display: flex;
	align-items: center;
	list-style: none;
}
.footer .policy_links li + li::before
{
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 12px;
	border-radius: 50%;
	background: #34D42C;
}
.footer .policy_links a,
.footer .policy_links a:visited
{
	color: #C5C5C5;
	border: none;
}
.footer .policy_links a:hover
{
	color: #34D42C;
	text-decoration: none;
}
@media screen and (max-width:479px)
{
	.footer .policy_links
	{
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.footer .policy_links li + li::before
	{
		display: none;
	}
}
.footer .copyright_right
{
	padding-right: 0;
}
