/*
Theme Name: Medfanet
Template: Impreza
Version: 1.1
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/
/*Add your own styles here:*/


/* Tekstialueen tyylejä */


/* Headerin tausta täysiväriseksi (ei näy läpi), kun hoverina */

@media (min-width: 1150px) {
	.l-subheader.at_middle:hover, .l-subheader.at_middle:hover .w-dropdown-list:hover, .l-subheader.at_middle:hover .type_mobile:hover .w-nav-list.level_1:hover {
	background: rgba(255, 255, 255, 1) !important;
	}
}

.l-subheader.at_middle, .l-subheader.at_middle .w-dropdown-list, .l-subheader.at_middle .type_mobile .w-nav-list.level_1 {
	z-index: 9999 !important;
}

.l-section-h i-cf {
	z-index: 9999 !important;
}

/* Sliden fullscreen-näkymän taustasävy valkoiseksi */

.royalSlider.rsFullscreen {
	background: #ffffff !important;
}

/* Galleryn popupin taustasävy valkoiseksi ja hover-tyyli */

.mfp-gallery img.mfp-img,
.mfp-fade.mfp-bg.mfp-ready {
  background-color: white;
}

.w-gallery.with-hover-style .w-gallery-item:hover > .w-gallery-item-img {
    opacity: .85;
}

.w-gallery.with-hover-style .w-gallery-item-img {
    border-radius: 4px !important;
}

.w-gallery.with-hover-style-noborder .w-gallery-item:hover > .w-gallery-item-img {
    opacity: .85;
}

.w-gallery.with-hover-style-noborder .w-gallery-item-img {
    border-radius: 4px !important;
}

.w-gallery.with-hover-style .w-gallery-item > .w-gallery-item-img img {
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.08);
}

.w-gallery.with-hover-style-noborder .w-gallery-item > .w-gallery-item-img img {
    border-radius: 5px;
}

/* Tabletin mobiilimenun hampurilaisen margin-säätö */

@media (min-width: 800px) and (max-width: 1400px) {
	.w-nav-control {
		margin-left: 0rem !important;
	}	
}

/* Mobiilin mobiilimenun hampurilaisen margin-säätö */

@media (max-width: 799px) {
	.w-nav-control {
		margin-left: -0.1rem !important;
	}	
}

@media (max-width: 799px) {
	.w-search-open {
		margin-right: 0.5rem !important;
	}
}

/* Hakupalkin sulkunapin (X) säädöt */

/* Tabletti */

@media (min-width: 800px) and (max-width: 1400px) {
	.w-search-close {
		margin-right: 3.2rem !important;
		color: #e86e6a !important;
		opacity: 1.0 !important;
	}
}

/* Mobiili */

@media (max-width: 700px) {
	.w-search-close {
		margin-right: 2.3rem !important;
		color: #e86e6a !important;
		opacity: 1.0 !important;
	}
}

/* Laptop ja desktop */

@media (min-width: 1101px) {
	.w-search-close {
		margin-right: 1.1rem !important;
		color: #e86e6a !important;
	}
}

/* Hakupalkin tekstin säädöt */

.w-search-form {
	color: #2d2e30 !important;
	padding-left: 1.3rem !important;
	opacity: 1.0 !important;
}


/* Etusivun Ajankohtaista-palstan otsikoihin chevron perään */

.etusivu-uutiset-otsikot a:after {
	font-family: 'Ubuntu';
	font-weight: 200 !important;
	content: " \203A" !important;
}

/* Search-ikonin hover */

.w-search-open:hover {
	color: #e86e6a !important;
}

/* Ladattavien materiaalien hover-tyylit */

.ladattavat .w-iconbox-link :hover {
	color: #e86e6a !important;
}

.ladattavat a:hover {
	color: #e86e6a !important;
}

/* Artikkelien otsikoiden tyylit */


.w-post-elm h1 {
	color: #144a5c !important;
}

.w-post-elm h2 {
	color: #144a5c !important;
}

.w-post-elm h3 {
	color: #144a5c !important;
}

.w-post-elm h4 {
	color: #144a5c !important;
}

.w-post-elm h5 {
	color: #144a5c !important;
}

.w-post-elm h5 a:hover {
	color: #e86e6a !important;
}

/* Blockquoten tyylit */

.w-post-elm blockquote {
	margin-top: 1.4rem !important;
	font-size: 1.15rem !important;
	line-height: 1.6 !important;
	padding-left: 2.5rem !important;
}

.w-post-elm blockquote:before {
	content: " \201D" !important;
	margin-top: 0.45rem !important;
	color: #e86e6a !important;
	font-size: 4.2rem !important;
	opacity: 1.0;
}

/* Image sliderin fullscreen-moden taustaväri */

.royalSlider rsHor rsFade rsFullscreen {
	background: white !important;
}

/* Kappaleen tyylejä */

.wpb_wrapper p {
	margin-bottom: 0.8rem !important;
}

.wpb_wrapper p a:hover {
	color: #e86e6a !important;
}

.yhteystiedot-osoitteet p {
	margin-bottom: 0.4rem !important;
}

.yhteystiedot-osoitteet p a:hover {
	color: #e86e6a !important;
}

.flipboxes p {
	margin-bottom: 0.45rem !important;
}

/* Sliderin navi-bullettien testityylejä, ei toimi vielä

.rsNav.rsBullets {
	margin-bottom: 3rem !important;
}
*/

/* Video-popupin tyylejä
.w-popup-box-content iframe {
width: 100vw ;
height: 100vh ;
}
*/

/* Sisältöalueen dropdownin tyylejä */

.w-dropdown-current {
	font-weight: 600 !important;
}

.w-dropdown-item::after {
	color: #e86e6a !important;
}

.rsOverflow {
	z-index: 9999 !important;
}
	
/* Nappien tyylejä */

@media (min-width: 1023px) {
	.defaultbutton {
	padding-top: 0.72rem !important;
	}	
}

@media (min-width: 1023px) {
	.gridbutton {
	padding-top: 0.72rem !important;
	}	
}

.defaultbutton:hover {
	background: #3b3d40 !important;
}

.herobutton {
	background: #165165 !important;
	padding-top: 0.7rem !important;
}

.herobutton:hover {
	background: #165165 !important;
}

/* Mobiilille ja tabletille etusivun herobuttonin hover-sävyksi peach */

@media (min-width: 800px) and (max-width: 1400px) {
	.herobutton:hover {
		background: #e86e6a !important;
	}
}

.menubutton {
	margin-top: -0.35rem !important;
	padding-top: 0.7rem !important;
}

.menubutton-mobile {
	margin-top: 0.7rem !important;
	margin-bottom: 0rem !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-top: 0.7rem !important;
	color: #111111 !important;
}

/* Laptopeille napin pienentäminen ja tiivistäminen */

@media (min-width: 800px) and (max-width: 1400px) {
	.menubutton {
		font-size: 0.8rem !important;
		margin-top: -0.25rem !important;
		padding-top: 0.6rem !important;
	}
}

.gridbutton:hover {
	background: #165165 !important;
}

/* Linkkityylit otsikoille */

.link-heading-peach h3 a:after {
	content: " \203A" !important;
	color: #e86e6a !important;
	font-weight: 200 !important;
}

.link-heading-peach h3 a:hover {
	color: #e86e6a !important;
	font-weight: 700 !important;
}

.link-heading-peach h4 a:hover {
	color: #e86e6a !important;
	font-weight: 200 !important;
}

.link-heading-peach h2:after {
	content: " \203A" !important;
	color: #e86e6a !important;
	font-weight: 200 !important;
}

.link-heading-peach h2 a:hover {
	color: #e86e6a !important;
	font-weight: 700 !important;
}

.link-heading-peach-home h3 a:hover {
	color: #e86e6a !important;
	font-weight: 700 !important;
}

.link-text-peach a:hover {
	color: #e86e6a !important;
}

/* Valkoiset otsikot */

.white-heading h1 {
	color: #ffffff !important;
}

.white-heading h2 {
	color: #ffffff !important;
}

.white-heading h3 {
	color: #ffffff !important;
}

.white-heading h4 {
	color: #ffffff !important;
}

.white-heading h5 {
	color: #ffffff !important;
}

.lyhennelma-tuotekorttiin p {
	margin-bottom: 0.8rem !important;
}


/* Accordioneiden tyylit */

.w-tabs-section-control {
	color: #e86e6a !important;
}

.w-tabs-section-header {
	font-weight: 600 !important;
	color: #144a5c !important;
}

.w-tabs-section-header:hover {
	font-weight: 600 !important;
	color: #e86e6a !important;
}

.w-tabs-section-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0.8rem !important;
	padding-bottom: 1.2rem !important;
}

.w-tabs-section-content a:hover {
	color: #e86e6a !important;
}

.g-loadmore {
    margin-top: 2rem;
    text-align: left;
}

/* Logon hover */

.header-logo:hover {
	opacity: 0.75 !important;
}

.frontpage-symbol:hover {
	opacity: 0.75 !important;
}

/* WPForms-tyylit
*/

/* Tämä lisätty custom css -kohtaan teeman asetuksiin:
filter.state_desktop.style_drop_default .w-filter-item-title:focus, .select2-container--open .select2-selection, select:focus, textarea:focus, input:not([type=submit]):focus { 
background: #fff !important; 
color: #000 !important; 
}
*/

/* Confirmation-viestin tyylitys */
.wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
background: #f7eee9 !important;
padding-left: 1.85rem !important;
padding-top: 1.5rem !important;
padding-bottom: 1rem !important;
border: 1px solid #e3e7f0 !important;
border-radius: 3px !important;
box-sizing: border-box !important;
}

/* Mikähän tämä on? */
.owl-dots {
	padding-top: 0.35rem !important;
}

/* Kaksipalstaisen lomakkeen palstojen väli */
@media (min-width: 1023px) {
            div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-column,
            div.wpforms-container .wpforms-form .wpforms-field-repeater .wpforms-layout-column {
                padding: 0 50px 0 0.5rem !important;
            }
        }

/* Osoitekenttien välit */       
#wpforms-2709-field_10-container.wpforms-field,
        #wpforms-2709-field_13-container.wpforms-field,
        #wpforms-2709-field_11-container.wpforms-field,
        .wp-core-ui div#wpforms-2709-field_10-container.wpforms-field,
        .wp-core-ui div#wpforms-2709-field_13-container.wpforms-field,
        .wp-core-ui div#wpforms-2709-field_11.wpforms-field {
            padding: 5px 0 !important;
        }        
/* Tilauslomakkeen uutiskirjetilauksen descriptionin lisämarginaali */       
#wpforms-10559-field_21-description {
	margin-top: 15px !important;
}

/* Modern approach using accent-color */
        .wpforms-container input[type="radio"]:checked {
            accent-color: #144a5c;
        }
        
        /* Fallback for older browsers */
        .wpforms-container input[type="radio"]:checked::before {
            background-color: #144a5c !important;
        }
        
        .wpforms-container input[type="radio"]:checked::after {
            background-color: #144a5c !important;
        }
        
        /* For custom styled radio buttons */
        .wpforms-container .wpforms-field-multiple-choice input[type="radio"]:checked + label::before {
            background-color: #144a5c !important;
            border-color: #144a5c !important;
        }
        
        /* Additional fallback for different WPForms themes */
        .wpforms-container input[type="radio"]:checked {
            background-color: #144a5c !important;
            border-color: #144a5c !important;
        }
        
#wpforms-2709-field_12-container.wpforms-field {
	padding-bottom: 0px !important;
}

#wpforms-2709-field_5-container.wpforms-field {
	padding-bottom: 5px !important;
}

#wpforms-2709-field_10-container.wpforms-field {
	padding-top: 0px !important;
}

.wpforms-container input[type=radio] {
	-webkit-appearance: radio !important;
	-moz-appearance: radio !important;
	appearance: radio !important;
}

.wpforms-container input[type=checkbox] {
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	appearance: checkbox !important;
}

.wpforms-container input[type=radio]:checked:before,
.wpforms-container input[type=radio]:before,
.wpforms-container input[type=checkbox]:checked:before,
.wpforms-container input[type=checkbox]:before,
.wpforms-container input[type=radio]:checked:after,
.wpforms-container input[type=radio]:after,
.wpforms-container input[type=checkbox]:checked:after,
.wpforms-container input[type=checkbox]:after {
	display: none !important;
}

/* Lähetä-napin muuttaminen teeman tyylin mukaiseksi */
div.wpforms-container .wpforms-form input[type=submit], 
div.wpforms-container .wpforms-form button[type=submit] {
    margin-top: 1.5rem !important;
    font-family: var(--font-family) !important;    
	font-size: 14px !important;    
	line-height: 1.2 !important;  
	font-weight: 600 !important;  
	font-style: normal !important;  
	text-transform: none;   
	letter-spacing: 0em !important;   
	border-radius: 200px;   
	padding: 0.7em 1.7em !important;   
	background: #e86e6a !important;  
	border-color: transparent;  
	color: #ffffff !important;
}

div.wpforms-container .wpforms-form button[type=submit]:hover {
    margin-top: 1.5rem !important;
    font-family: var(--font-family) !important;    
	font-size: 14px !important;    
	line-height: 1.2 !important;  
	font-weight: 600 !important;  
	font-style: normal !important;  
	text-transform: none;   
	letter-spacing: 0em !important;   
	border-radius: 200px;   
	padding: 0.7em 1.7em !important;   
	background: #144a5c !important;  
	border-color: transparent;  
	color: #ffffff !important;
}

.wpforms-field-label {
	color: #144a5c !important;
}

.wpforms-valiotsikko {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #144a5c !important;
	margin: 0px 0px 0px 0px !important;
}

.wpforms-smalltext {
	font-size: 0.8rem !important;
	margin-top: -0.3rem !important;
	padding-top: 0 !important;
}	

.address-field-special {
	margin-top: -0.3rem !important;
	padding-top: 0 !important;
}

.address-field-special2 {
	margin-top: -0.1rem !important;
	padding-top: 0 !important;
}

/* Napin hoverin väri */
div.wpforms-container .wpforms-form input[type=submit]:after {
     content: " \203A" !important; /* Adds Chevron fontawesome */
}

.wpforms-container {
	margin-top: 0em !important;
	margin-bottom: 0em !important;
	padding-top: 0em !important;
	padding-bottom: 0em !important;
}

.wpforms-field h1 {
	color: #1f3b71 !important;
}

.wpforms-field h2 {
	color: #1f3b71 !important;
}

.wpforms-field h3 {
	color: #1f3b71 !important;
}

.wpforms-field h4 {
	color: #1f3b71 !important;
}

.wpforms-field h5 {
	color: #1f3b71 !important;
}

.wpforms-field h6 {
	color: #1f3b71 !important;
}

.wpforms-field-divider {
	border-color: #e3e7f0 !important;
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

.wpforms-container input.wpforms-field-large, .wpforms-container select.wpforms-field-large, .wpforms-container .wpforms-field-row.wpforms-field-large { 
   max-width: 100%;
   background-color: #ffffff !important;
}

.wpforms-field active {
	background-color: red !important;
	color: blue	!important;
}

.wpforms-field ul {
	margin-left: 0.2rem !important;
}

.wpforms-submit submitbutton:hover {
	background: #144a5c !important;
}

.wpforms-submit submitbutton:after {
	content: " \203A" !important;
	font-weight: 200 !important;
}

/* Ylänavin tyylejä */

.w-nav.type_desktop .w-nav-anchor.level_1 .w-nav-arrow::before {
  font-size: 0.8rem;
  margin-left: 0.4rem;
  position: relative;
  top: 2px;
  color: #144a5c !important;
}

.menunappi {
	padding-top: 0.75rem !important;
}	
	
/* Artikkelin pienen kuvan pyöristys */
.single .w-post-elm img {
    border-radius: 3px;
}   

/* Artikkelin otsikon tavutus mobiilissa */
@media (max-width: 600px) {
	.single .w-post-elm.post_title  {
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;	  
		-webkit-hyphenate-limit-before: 3; 
		-webkit-hyphenate-limit-after: 4;
		-ms-hyphenate-limit-chars: 10 3 4;
		hyphenate-limit-chars: 10 3 4;
	}
}

/* Tavutus tuotegridin otsikoihin, ei desktopille */

@media (max-width: 1500px) {
	.hyphenize-title {
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;	  
		-webkit-hyphenate-limit-before: 3; 
		-webkit-hyphenate-limit-after: 4;
		-ms-hyphenate-limit-chars: 10 3 4;
		hyphenate-limit-chars: 10 3 4;
	}
}

.hyphenize {
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;	  
	-webkit-hyphenate-limit-before: 3; 
	-webkit-hyphenate-limit-after: 4;
	-ms-hyphenate-limit-chars: 10 3 4;
	hyphenate-limit-chars: 10 3 4;
}

/* Sliderien kuvatekstin=titlen tyylitys, ei toimi vielä */

.w-slider-item-title {
	color: #ffffff !important;
}

/* Sliderien nuolien tyylitys */

.rsArrow {
 	z-index: 3 !important;
}

.rsArrow:hover {
	color: #e86e6a !important;
}

.rsArrow rsArrowLeft:hover {
	color: #e86e6a !important;
}

.rsArrow rsArrowRight:hover {
	color: #e86e6a !important;
}

.rsFullscreenBtn {
 	z-index: 3 !important;
}

.rsFullscreenBtn:hover {
	color: #e86e6a !important;
}

/* Yleinen leipätekstityylin linkki, johon lisätään chevron perään ja linkkisävyt */

.sivut_sidebar .linkkiteksti_chevronilla a {
	color: #1f3b71 !important;
}

.sivut_sidebar .linkkiteksti_chevronilla a:hover {
	color: #0185cf !important;
}

.sivut_sidebar .linkkiteksti_chevronilla a:after {
	content: " \203A" !important;
}

/** Woocommerce tyylejä */

.w-post-elm.attributes:not(.display_table) .woocommerce-product-attributes-item__value {
    font-weight: 400;
}

/** näyttää kuvan kokonaan */
.w-grid[class*="ratio_"] .post_image img,
.w-grid[class*="ratio_"] .w-post-elm.type_image img {
    object-fit: contain;
}
.woocommerce-product-gallery.has_ratio .woocommerce-product-gallery__image img:not(.zoomImg) {
    object-fit: contain;
}

/* varastossa tekstin tyylit */

.woocommerce .stock {
	color: #000; 
	display: inline-flex; 
	align-items: center;
	font-weight: 400;
}
.woocommerce .stock::before {
	content: ''; 
	display: inline-block;
	width: 10px;     
	height: 10px;   
	border-radius: 50%; 
	background-color: #68cb68;
	margin-right: 6px;
	margin-top: 3px;
}
.woocommerce .stock.out-of-stock::before {
	background-color: #c14142;
}
.add_to_cart .out-of-stock {
	display: none;
}
.includes_tax {
	display: block;
}
.w-grid-item a.added_to_cart {
    display: block;
}

/* Lisää ostoskoriin -nappiin chevron */

.single_add_to_cart_button:after {
	content: " \203A" !important;
	font-weight: 200 !important;
}

/* --- Lisää chevronin linkin perään --- */
.add-chevron a:after {
	font-weight: 300 !important;
	content: " \203A" !important;
}

/* --- Numerolistauksen sisäänvedot pois aiempi yritys ---

.wpb_text_column li {
	margin-left: 0rem !important;
	margin-left: 1.1rem !important;
}

.wpb_text_column ol {
	margin-left: 0 !important;
	padding-left: 0 !important;
}
*/

/* Numerolista artikkeleissa */

.wpb_text_column ol {
  	margin-left: 0 !important;
}

.wpb_text_column ol li {
  	margin-left: 1.1rem !important;
  	padding-left: 0 !important;
}

/* Bullet-lista artikkeleissa */

.wpb_text_column li {
  	margin-left: 0 !important;
  	padding-left: 0 !important;
}

.wpb_text_column ul {
  	margin-left: 1.1rem !important;
  	padding-left: 0 !important;
}



/* --- Flipboxin tyylit --- */

.flipbox-h4-peach .w-flipbox-front h4 {
	color: #e86e6a !important;
}

.flipbox-h4-peach p {
	margin-bottom: 0.45rem !important;
}

.flipbox-h4-peach .w-flipbox-back {
	color: #3b3d40 !important;
}

.flipbox-h4-peach .w-flipbox-back h4 {
	color: #144a5c !important;
}

/* --- murupolun tyylit --- */

.medfanet-breadcrumbs {
    font-size: 0.9em;
    padding: 10px 0;
    color: inherit !important;
}

.medfanet-breadcrumbs .breadcrumb-item {
    display: inline;
	margin-right: .5rem;
    margin-left: .5rem;
	white-space: nowrap
}
.medfanet-breadcrumbs .breadcrumb-item:last-child {
	margin-right: 0;
}

.medfanet-breadcrumbs a {
    color: inherit !important;
}

.medfanet-breadcrumbs a:hover {
    text-decoration: underline;
	color: inherit !important;
}

.medfanet-breadcrumbs .breadcrumb-current {
    color: inherit !important;
}

/* Bullettien tyylit */

.post_content ul {
	margin-left: 1rem;
}

.post_content ul li::marker {
    color: var(--color-content-primary);
}

.post_content .peach ul {
	margin-left: 1rem;
}

.post_content .peach ul li::marker {
    color: #e86e6a !important;
}

/* Taulukoiden tyylejä, ei vielä toimi */


.wpb_wrapper .tablepress {
	padding-top: 0.0rem !important;
	padding-bottom: 0.0rem !important;
	margin-top: 0.0rem !important;
	margin-bottom: 0.0rem !important;
}