/*
Theme Name: memofoto
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.5
*/

/*************** ADD CUSTOM CSS HERE.   ***************/



.headerbanner h1 {
	font-size: 2.8em
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea, .form-flat button, .form-flat input {
    border-radius: 0;
}

body.single-featured_item .header.transparent .header-wrapper {
    background-color: #000;
}

/* Portfolio single header */
.portfolio-topbar .col {
    padding-bottom: 5px;
    padding-top: 5px;
}
.portfolio-topbar h4 {
    color: #000;

}
.portfolio-hero {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}
.portfolio-hero .banner-layers {
    overflow: unset;
}
.portfolio-hero-title {
    padding-bottom: 0;
    position: relative;
    top: 1.20rem;
}
.portfolio-hero-title .neljas-otsikko {
    font-size: 2.5em;
    line-height: 1;
    margin: 0;
    font-weight: 700;
}

/* Page color theme: Taivas (sky/teal) */
.portfolio-hero-title.svari-taivas .neljas-otsikko,
.portfolio-hero-title.svari-taivas .neljas-otsikko strong {
    color: #00a4a7;
}
.portfolio-subtitles.svari-taivas h2,
.portfolio-subtitles.svari-taivas h2 strong,
.portfolio-subtitles.svari-taivas .portfolio-kolmas-otsikko {
    color: #93d1d7;
}

/* When neljas_otsikko exists: extra vertical room for the second title line */
.portfolio-hero-title.has-neljas {
    top: 6.20rem;
}
.portfolio-subtitles.has-neljas {
    padding-top: 170px !important;
}
@media (max-width: 849px) {
    .portfolio-hero-title.has-neljas {
        top: 4.35rem;
    }
    .portfolio-subtitles.has-neljas {
        padding-top: 120px !important;
    }
}
@media (max-width: 549px) {
    .portfolio-hero-title.has-neljas {
        top: 2.5rem;
    }
    .portfolio-subtitles.has-neljas {
        padding-top: 70px !important;
    }
    .portfolio-subtitles.has-neljas .portfolio-kolmas-otsikko {
        margin-bottom: -15px;
    }
}

@media (max-width: 1079px) {

    .portfolio-hero-title h1 {
        hyphens: manual;
        word-break: break-word;
    }
}
@media (max-width: 849px) {
	.homepage-teal.homepage-scallop-top h3{ 
		line-height: 1 !important;
		
	}
	.homepage-big-price strong {
		position:relative;
		top: -15px;
	}
	.homepage-teal.homepage-scallop-top .homepage-big-price{
		margin-top: 0 !important;

	}
	.homepage-teal.homepage-scallop-top > * > .row > .col:last-child > .col-inner {
		padding-left: 0 !important;
		padding-bottom: 30px !important;
	}

    .portfolio-hero-title {
        top: 0.85rem;
    }
}
@media (max-width: 549px) {
	.homepage-teal.homepage-scallop-top > * > .row > .col:last-child {
		margin-top: -30px;
	}
	.homepage-teal.homepage-scallop-top > * > .row > .col:last-child:before,
	.homepage-teal.homepage-scallop-top > * > .row > .col:last-child:after{
		left: 15px !important;
		border: 0 none !important;
	}
    .portfolio-hero-title {
        top: 0.5rem;
    }
}
.portfolio-hero-title .descender {
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.portfolio-top .page-wrapper {
    padding-top: 0;

}

.portfolio-subtitles {
    padding-top: 90px !important;
    padding-bottom: 0 !important;
}
.portfolio-no-subtitles + .portfolio-top {
    margin-top: 90px;
}
@media (max-width: 849px) {
    .portfolio-no-subtitles + .portfolio-top {
        margin-top: 60px;
    }
}
@media (max-width: 549px) {
    .portfolio-no-subtitles + .portfolio-top {
        margin-top: 30px;
    }
}

@media (max-width: 849px) {
	.textontheright{
		margin-bottom: -45px !important;
	}
    .portfolio-subtitles {
        padding-top: 60px !important;
    }
}
@media (max-width: 549px) {
	.kuvasectspec .banner-layers {
		        -webkit-overflow-scrolling: touch;
        overflow: unset;
	}
	.kuvasectspec {
		margin-bottom: 60px;
	}
		.textontheright{
		margin-bottom: -75px !important;
	}
    .portfolio-subtitles {
        padding-top: 30px !important;
    }
}
.portfolio-subtitles h2,
.portfolio-kolmas-otsikko {
    color: #878787;
}
.portfolio-subtitles h2 {
    margin-bottom: 0;
    line-height: 4rem;
}
@media (max-width: 849px) {
    .portfolio-subtitles h2 {
        line-height: 3rem;
    }
}
@media (max-width: 549px) {
    .portfolio-subtitles h2 {
        line-height: 1.8rem;
    }
}
.portfolio-kolmas-otsikko {
    font-weight: 400;
    margin-top: 0;
}

.breadcrumb-container > ol {
    margin: 0;
}

html .breadcrumb-container.theme1 a {
    padding-left: 5px;
    padding-right: 0px;
}

.portfolio-inner ul {
    padding-left: 0px;

}
.pricing-table-items > ul {
		margin-top: 15px;
}
.portfolio-inner ul li {
    margin-bottom: 0px !important;

}

.portfolio-box h3 {
    font-size: 25px;
	font-weight: 600;
}
.portfolio-box h4 {
    font-size: 18px;
    margin-bottom: 0.6em;
    margin-top: 0.6em;
    line-height: 29px;
}

.homepage-grid-5 .banner .text-box {
    pointer-events: none;
}
.wpcf7 .wpcf7-not-valid-tip {
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.wpcf7 .wpcf7-not-valid-tip:after {
    border-bottom-color: #ddd;
}

.copyright-footer {
    padding-top: 30px;
    padding-bottom: 30px;

	
}
.copyright-footer > iframe {
	padding-bottom: 90px;
	background-image: url("/wp-content/uploads/2026/05/uutiskirje_bot_2.png");
	background-position: center bottom;
	background-size: 100% auto;
	background-repeat: repeat-x
}

.absolute-footer {
	margin-top: 30px;
}

ul.footer-nav > li {
    margin-top: 15px;
}

ul.footer-nav > li:not(:last-child):after {
    content: " | ";
    position:relative;
    color: #fff;
    top: -2px;
    left: 3px;
}

.absolute-footer.dark {
    opacity: 1;
    color: #fff;
}

.absolute-footer.dark a:hover {
    text-decoration: underline;
}

#footer .widget_custom_html {
	margin-bottom: 0
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.portfolio-box h3 {
    font-size: 21px;
	font-weight: 600;
}
.portfolio-box h4 {
    font-size: 17px;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    line-height: 22px;
}

}

.searchform .button.icon {
    background-color: #39b3f6 !important;
    position:relative;
    border: 1px solid #39b3f6 !important;
    padding-top: 1px;
}
/*
@media(min-width: 1200px) and (max-width:1440px) {
    html body .headerbanner.is-full-height {
        min-height:850px !important
    }
}
@media(min-width: 768px) and (max-width:1199px) {
    html body .headerbanner.is-full-height {
        min-height:850px !important
    }
}
@media(min-width: 550px) and (max-width:767px) {
    html body .headerbanner.is-full-height {
        min-height:750px !important
    }
}
*/
@media (max-width: 480px) {
	.headerbanner h1 {
		font-size: 1.8em
	}
	/*
	 .headerbanner {
        height: 135vh !important;
    }
	*/
}
@media (max-width: 320px) {
	 /*
	 .headerbanner {
        height: 225vh !important;
    }
	*/
}
.posz {
	position:relative;
	z-index: 99;
}

.page-wrapper a:not(.button):not(.homepage-grid-label) {
	text-decoration: underline
}

#top-bar {
    font-size: 1.2rem;
}

.thebread a, .thebread span {
	text-transform: none;
	margin-left: 5px;
	margin-right: 5px;
}
.thebread > span {
	color: #666 !important;
}
.thebread a:hover {
	text-decoration: underline;
}


#search-lightbox .autocomplete-suggestions {
	background-color: #39b3f6;
}


@media (max-width:549px)  {
    .headerbanner {
        min-height: 337px !important;
        height: auto;
	}
	.headerbanner .banner-bg img {
		object-position: 90% 100% !important;
	}
}
@media (min-width: 550px) and (max-width:1199px)  {
	.homepage-etulistat > * > * > .row > .col:first-child {
	padding-right: 15px !important;
		        flex-basis: 25%;
        max-width: 25%;
		text-align:left;
}
}
@media (min-width: 550px) and (max-width:849px)  {
    .headerbanner {
        min-height: 700px; 
		height:auto;
	}
	.headerbanner .banner-bg img {
		object-position: 90% 100% !important;
	}
}
@media (min-width: 850px) and (max-width:1199px)  {
    .headerbanner {
        min-height: 800px; 
	}
		.headerbanner .banner-bg img {
		object-position: 90% 100% !important;
	}
}
@media (min-width: 1200px) and (max-width:1905px)  {
    .headerbanner {
        min-height: 700px; 
	}
}

.wpml-ls-menu-item .wpml-ls-flag {

    width: 30px;
}
@media (min-width: 1200px)  {

	.nav > .wpml-ls-item {
		margin-left: -25px;
		position:relative;
		left: 60px;
	}
    .headerbanner {
        max-height: 700px;
	}
}
.nav-dropdown > li {
	font-size: 1.1rem;

}
.nav-dropdown li li {
	font-size: 0.9rem;
}
.nav-dropdown li a, 
.nav-dropdown li li a {
	padding-top: 5px;
	padding-bottom: 5px;
}

.nav-dropdown li a[href="#"] {
	cursor: default;
	color: #fff !important;
	background-color: transparent !important;
	opacity: 1 !important;
}

.nav-dropdown li .menu-item-has-children>a {
	font-size: 1em;
	font-size: bold;
	color: #fff !important;
}

.nav-dropdown li.active > a {
	text-decoration: underline;
}

@media (max-width:849px)  {
    .thebread {
        justify-content:center !important;
    }
}

#content section.section {
	padding-left: 0;
	padding-right: 0;
}

/* Custom Pricing Table */
.pricing-table {
    text-align: left !important;
    border: none;
    padding: 30px 0 15px;
}
.pricing-table .pricing-table-header {
    padding: 0;
}
.pricing-table .price {
    text-align: left !important;
    padding: 0;
}
.pricing-table .items {
    padding: 0;
}
.pricing-table .items > div {
    border-bottom: none;
    padding: 0;
}
.pricing-custom-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.pricing-custom .items {
    padding: 0;
}
.pricing-custom .items > div {
    border-bottom: none;
    padding: 0;
}
.pricing-row {
    margin-bottom: 25px;
}
.pricing-title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
}
.pricing-subtitle {
    font-size: 1.4rem;
    line-height: 1.2;
}
.pricing-note {
    font-size: 1.3rem;
}
.pricing-row-bottom {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-top: 5px;
}
.pricing-price {
    font-size: 3.2rem;
    font-weight: 900;
    color: #283583;
    line-height: .9;
}

.pricing-btn.success {
	margin-top: 0rem !important;
}
@media (max-width: 549px) {
	.homepage-etulistat > * > * > .row > .col > .col-inner {
		padding: 0 !important;
	}

		.homepage-etulistat > * > * > .row > .col {
			padding-top: 15px !important;
			
			
		flex-basis: 100%;
        max-width: 100%;
		text-align:left;
}
	.homepage-etulistat > * > * > .row > .col:first-child {
		padding-top: 5px !important;
	}

	.homepage-etulistat .col-inner {
		padding-bottom: 15px;
	}

    .pricing-custom {
        padding: 25px 20px 20px;
    }
    .pricing-table {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .pricing-title {
        font-size: 1.1rem;
    }
    .pricing-subtitle, .pricing-note {
        font-size: 1.1rem;
    }
    .pricing-price {
        font-size: 1.76rem;
    }
    html .section-title-bold span {
        padding: .5rem 2rem .5rem 2rem;
        line-height: 1.5rem;
    }
    html .section-title-bold-center span {
        font-size: 2rem;
    }
    .portfolio-kolmas-otsikko {
        margin-bottom: -30px;
    }
}
@media (min-width: 550px) and (max-width: 849px) {
	.homepage-teal.homepage-scallop-top .img, .homepage-teal.homepage-scallop-top .img > .img-inner,
	.homepage-card .col:nth-child(2) .img, .homepage-card .col:nth-child(2) .img  > .img-inner {
	
height: 100%;

}

	.homepage-teal.homepage-scallop-top img, .homepage-card .col:nth-child(2) .img img {
height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    top: 0;
	z-index: 2;
    width: 100%;
}
    .pricing-custom {
        padding: 30px 35px 25px;
    }
    .pricing-title {
        font-size: 1.3rem;
    }
    .pricing-subtitle, .pricing-note {
        font-size: 1.3rem;
    }
    .pricing-price {
        font-size: 2rem;
    }
}

.section-title-bold span {
	border: 0 none;
	margin: 1rem 0;
	padding: 0rem 2rem 0rem 2rem;
	color: #fff;
	background-color: #878787;
	text-transform:unset;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 2rem;
}
.specialgray .section-title-bold span {
	color: #000;
	background-color: #f9f3ee;
}
.section-title-bold-center a {
	color: #878787;
	font-size: 1.5rem;
	background-color: #fff;
	margin: 0px auto 0px auto;
	position:relative;
	top: -10px;
	width: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
	text-align: center;
	display: block;
	z-index: 2;
	padding: 0 0 10px 0;
	text-decoration: none !important;
}
.section-title-bold-center a > i {
	display: none;
}
.section-title-bold-center span {
	width: 100%;
	border-left: 0 none;
	border-right: 0 none;
	color: #878787;
	border-width: 1px;
	padding: 1rem 0rem .75rem 0rem;
	font-weight: bold;
	text-transform:unset;
	font-size: 2.6rem;
	line-height: 2.6rem;
}

.section-title b{
	display: none;
}

.icon-box > .icon-box-text > h5 {
	font-weight: bold;
	margin-top: 1.5rem;
	margin-bottom: .75rem;
	text-transform: unset;
	color: #000;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.bt-1 {
    border-top: 1px solid #666;
}

.red_section .pricing-price {
	color: #cd1719
}
.red_section .pricing-btn {
	background-color: #cd1719
}
.green_section .pricing-price {
	color: #00a4a7
}
.green_section .pricing-btn {
	background-color: #00a4a7
}


.w-100 .section-title-bold span {
	width:100%;
}

.rownopad > .col {
    padding-bottom: 0;
}

/* ===== Homepage ===== */

/* Hero */
.homepage-hero {
    min-height: 650px;
}
.homepage-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 5px;
	font-weight: bold;
	text-shadow: 2px 2px 5px rgba(0,0,0,.75);
}
.homepage-hero p,
.homepage-hero strong {
    color: #fff;
	text-shadow: 2px 2px 4px rgba(0,0,0,.75);
}
.homepage-hero-price {
    font-size: 3rem;
    line-height: 1;
    margin: 10px 0 20px;
    color: #fff;
}
.homepage-hero-price strong {
    font-size: 5rem;
    font-weight: 900;

}
.homepage-hero-desc {
    font-size: 1.5rem;
    line-height: 1.2;
    max-width: 550px;
	font-weight: bold;
	margin-top: -45px;
	margin-bottom: 15px;
}

.homepage-hero-desc > em {
	font-style: unset;
}

/* Teal sections - white text */
.homepage-teal h3,
.homepage-teal h4,
.homepage-teal p,
.homepage-teal strong {
    color: #000;
}

/* Passikuvat price */
.homepage-big-price {
    font-size: 2.5rem;
    line-height: 1;
    margin: 5px 0 15px;
}
.homepage-big-price strong {
    font-size: 5rem;
    font-weight: 900;

}
.homepage-caption {
    text-align: center;
    margin-top: 5px;
}

/* Card with border */
.homepage-card {
    padding: 15px !important;
}

.homepage-card > *:not(.homepage-teal-img) {
	border: 1px solid #00a4a7;
	padding: 0;
}
.homepage-card > *:first-child:not(.homepage-teal-img) {
	border-right: 0px solid #00a4a7;
	padding: 30px;
	font-size: 1.2rem;
}
.homepage-card > *:first-child:not(.homepage-teal-img) h2 {
	font-size: 2.2rem;
	margin-bottom: 30px;
}
/* Scallop top edge (bumps going up) */
.homepage-scallop-top {
    position: relative;
    margin-top: 20px;
}
.homepage-teal-img .homepage-caption {
    content: '';
    position: absolute;
    background: url("img/scallop-up.svg") repeat-x;
    background-size: 150px 16px;
    z-index: 2;
}

/* Scallop label bar (teal bar + bumps going down) */
.homepage-scallop-label {
    background-color: #00a4a7;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    margin-bottom: 30px;
}
.homepage-scallop-label::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 15'%3E%3Cellipse cx='20' cy='0' rx='20' ry='15' fill='%2300b4ae'/%3E%3C/svg%3E") repeat-x;
    background-size: 40px 15px;
    z-index: 2;
}

/* 5-column grid */
.homepage-grid-5 > .col {
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

/* Grid labels */
.homepage-grid-label {
    background-color: #00a4a7;
    color: #fff;
    text-align: center;
    padding: 8px 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
	display: block;
}

.homepage-grid-label:hover {
	color:#000;
	background-color:#93d1d7;
}

/* Ticker */
.homepage-ticker {
    font-size: 1.2rem;
    color: #00796b;
    letter-spacing: 0.03em;
	font-weight:bold;
    margin: 0;
}
.homepage-ticker a {
	color:#fff;
}

.homepage-ticker a:hover {
	text-decoration: underline;
}

/* Homepage responsive */
@media (max-width: 849px) {

    .homepage-hero {
        min-height: 400px;
    }
    .homepage-grid-5 > .col {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }
}
@media (max-width: 549px) {
	.homepage-card > *:first-child:not(.homepage-teal-img) {
		border-right-width: 1px;
		border-bottom-width: 0px;
	}
    .homepage-hero {
        min-height: 300px;
    }
    .homepage-hero h1 {
        font-size: 1.8rem;
    }
    .homepage-hero-price {
        font-size: 2rem;
    }
    .homepage-hero-price strong {
        font-size: 3.5rem;
    }
    .homepage-big-price {
        font-size: 2rem;
    }
    .homepage-big-price strong {
        font-size: 3rem;
		display: block;
    }
    .homepage-grid-5 > .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

.homepage-etulistat .button {
	margin: 0;
}
.homepage-etulistat .row {
	padding-bottom: 5px !important;
}
.homepage-etulistat .row .col {
	padding: 0;
}
.homepage-etulistat > .col > .col-inner {

}
.homepage-etulistat > .col > .col-inner > .row {
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 15px;
}

.homepage-etulistat p {
	margin: 0;
	font-size: 1.2rem;
	color:#000;
	text-shadow: 0 0 0;
	line-height: 1.2;
	font-weight: bold;
}
.homepage-etulistat p strong {
	font-size: 1.4rem;
	color:#5f3420;
		text-shadow: 0 0 0;
	font-weight: bolder;
}

.homepage-teal .col, .homepage-teal p {
	padding-bottom: 0;
	margin-bottom: 0;
}

html .homepage-teal p, html .homepage-teal h4 {
	padding-top: 15px;
	line-height: 1.3
}


.homepage-teal-img .button {
	position:absolute;
	margin-top: -120px;
	z-index: 2;
	right: 15px;
	}

.homepage-teal-img .homepage-caption {bottom: 0;text-align:center;width: 100%;}

.homepage-teal-img .homepage-caption > strong {
	width: 100%;
	display: block;
	background-color: #00a4a7;
	color:#fff;
	font-size:1.2rem;
	line-height: 1.6;
}

.homepage-teal-img.fullhp .homepage-caption{
	background-image: url("img/scallop-up.svg");
	background-size: 150px 18px;
	background-position: center 0px;
	background-repeat: repeat-x;
	height: 45px;
	width: calc(100% + 30px);
	position:absolute;
	left: -15px;
	bottom: 0;
	margin-bottom: 0;
}
.banner + * .homepage-teal-img.fullhp .homepage-caption{ 
	left: 0;
	width: 100%;
}
.homepage-teal-img.fullhp .homepage-caption > strong {
	margin-top: 16px;
}
.homepage-teal.homepage-scallop-top > * > .row > .col:last-child:before {
	padding: 0;
	background-color: #fff;
	width: 100%;
	background-image: url("img/scallop-up.svg");
	background-size: 150px 15px;
	background-position: center 31px;
	background-repeat: repeat-x;
	height: 45px;

	border-top: 1px solid #00a4a7;
	border-right: 1px solid #00a4a7;
	content:"";
	position:absolute;
	z-index: 1;
	margin-left: -15px;
	left: 0;
}
.homepage-teal.homepage-scallop-top > * > .row > .col:last-child {
	font-size: 1.4rem;

}
.homepage-teal.homepage-scallop-top > * > .row > .col:last-child > .col-inner {
	border-right: 1px solid #00a4a7;
}
.homepage-teal.homepage-scallop-top > * > .row > .col:last-child > * > *:first-child {
	padding-top: 15px;
}
.homepage-teal.homepage-scallop-top > * > .row > .col:last-child:after {
	padding: 0;
	background-color: #00a4a7;

	width: 100%;
	height: 100%;
	content:"";
	position:absolute;
	z-index: -1;
	top: 0;
	margin-left: -15px;
	border-right: 1px solid #00a4a7;
	left: 0;
}

.homepage-teal.homepage-scallop-top p,
.homepage-teal.homepage-scallop-top h3,
.homepage-teal.homepage-scallop-top strong{
	color:#fff;
}


.homepage-teal.homepage-scallop-top .homepage-big-price {
	padding-top: 0;
	margin-top: -30px;
	font-weight:bold;
	margin-bottom: -10px;
}

.tworowbut > span {
	padding-top: 10px;
	line-height:1.1;
}

/* ===== Fine Art - paper sample boxes ===== */
.fineart-papers .box {
    background-color: #f9f3ee;
    padding: 18px;
    height: 100%;
}
.fineart-papers .box .box-image {
    margin-bottom: 18px;
}
.fineart-papers .box .box-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}
.fineart-papers .box .box-text {
    padding: 0;
}
.fineart-papers .paper-name {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    line-height: 1.2;
    color: #000;
    font-weight: 400;
}
.fineart-papers .paper-spec {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #000;
    font-weight: 400;
}
.fineart-papers .paper-spec strong {
    font-weight: 700;
}
.fineart-papers .col {
    padding-bottom: 15px;
}
/* Force 5-col grid on paper rows (.papers-grid is the row holding the paper image-boxes) */
@media (min-width: 850px) {
		.portfolio-topbar h4 {
		text-align:left;
	}
    .fineart-papers .papers-grid > .col {
        flex-basis: 20% !important;
        max-width: 20% !important;
    }
}
@media (max-width: 849px) {
    .fineart-papers .papers-grid > .col {
        flex-basis: 33.333% !important;
        max-width: 33.333% !important;
    }
}
@media (max-width: 549px) {
    .fineart-papers .papers-grid > .col {
        flex-basis: 50% !important;
        max-width: 50% !important;
    }
    .fineart-papers .image-box {
        padding: 12px;
    }
    .fineart-papers .paper-name {
        font-size: 1rem;
    }
    .fineart-papers .paper-spec {
        font-size: 0.78rem;
    }
}

/* ===== Fine Art - pricing tables ===== */
.fineart-pricing table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 0.9rem;
    border: 1px solid #c4bca8;
    background-color: #fff;
}
.fineart-pricing table th,
.fineart-pricing table td {
    border: 1px solid #c4bca8;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
    color: #000;
    text-transform: none;
    letter-spacing: 0;
}
.fineart-pricing table thead tr.table-title th {
    background-color: #f9f3ee;
    font-weight: 700;
    font-size: 1rem;
}
.fineart-pricing table thead tr:not(.table-title) th {
    font-weight: 600;
    background-color: #fcf9f7;
}
.fineart-pricing table tbody td {
    font-weight: 400;
}
@media (max-width: 549px) {
    .fineart-pricing table {
        font-size: 0.8rem;
    }
    .fineart-pricing table th,
    .fineart-pricing table td {
        padding: 6px 6px;
    }
}

.row-collapse>.col.p-5 {
    padding: 30px !important;
}

.gr_title .section-title-bold-center span {
	color:#93d1d7;
	border-color: #93d1d7
}

.pl {
    padding-left: 30px;
}
.pr {
    padding-right: 30px;
}

.text-left > .section-title .section-title-main {
    text-align: left;
	line-height: 1.6rem;
	text-transform: unset;

	margin: 0;
}

.pt-1 {
    padding-top: 5px;
}

/* ===== Blockquote - teal angled-bars quote icon (global) ===== */
blockquote {
    position: relative;
    margin: 0;
    padding: 5px 0 5px 90px;
    border: none;
    background: transparent;
    color: #00a4a7;
}
blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 60px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 60'><polygon points='10,4 32,4 24,32 2,32' fill='%2300a4a7'/><polygon points='38,18 60,18 52,46 30,46' fill='%2300a4a7'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}
blockquote p {
    color: #00a4a7;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}
blockquote em {
    font-style: italic;
}
blockquote strong {
    font-weight: 700;
    font-style: normal;
}
@media (max-width: 549px) {
    blockquote {
        padding-left: 60px;
    }
    blockquote::before {
        width: 48px;
        height: 42px;
    }
}


.sub-menu.nav-dropdown > li {
	min-width:100px;

}

.header-nav > .menu-item-design-container-width > .sub-menu.nav-dropdown > li {
    display: table-cell;
    min-width: 160px;
    text-align: left;
    white-space: nowrap;
    width: 160px;

}

.header-nav > .menu-item-design-container-width > .sub-menu.nav-dropdown > li > a {
	font-weight: bold;
	color: #ccc;
	border-bottom: 1px solid !important;
	border-color: hsla(0, 0%, 100%, .2) !important;
}

.header-nav > .menu-item-design-container-width > .sub-menu.nav-dropdown > li > a[href="#"] {
	color:#fff !important;
}
.header-nav > .menu-item-design-container-width > .sub-menu.nav-dropdown > li > a:hover {
	color:#fff !important;
}

.bgsizefix .section-bg img {
	height: 100px;
	width: 100%;
	top:auto;
	bottom: 0;
}

.borderzero .section-title-bold-center span {
	border: 0 none;
}

.borderzero h2.section-title-bold-center  span {
	margin-top:0;
	padding-top: 0;
}



@media (min-width: 768px) {
	.pricetableinline .pricing-table-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column;
        gap: 0;
        text-align: left;
	}
	.pricetableinline .pricing-table .items > div {
		margin: 0px 0px 30px 0px;
	}
	.pricetableinline .pricing-table-items > ul:last-child {
        grid-column: 1 / -1 !important;
        grid-row: 5 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;
        margin-top: 16px !important;
        padding-left: 0 !important;
	}
	.pricetableinline .pricing-row,
	.pricetableinline .pricing-row-bottom {
        text-align: left !important;
        display: flex !important;
        justify-content: flex-start !important;
	}
}
@media (max-width: 767px) {
    .pricetableinline .pricing-table {
        padding-top: 0px !important;
    }
}
@media (max-width: 549px) {
    .pricetableinline .pricing-table {
        padding-top: 15px !important;
    }
}

.gr_title .section-title-bold span {
	background-color: #93d1d7;
	color:#000;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 2rem;
}

.gr_title_dark .section-title-bold-center span {
    color:#00a4a6;
    border-color: #00a4a6
}

.pricing-table .items > div + ul {
	margin-top: -15px;
}

.size-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 14px 0;
    padding: 0;
    list-style: none;
}
.size-chip-list li {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 0.85rem;
    background-color: #fff;
    color: #333;
	margin-left: 0 !important;
}

/* Pages/Products "koko_naytto" full-width toggle (see functions.php body_class filter) */
body.memofoto-full-width #content.page-wrapper .row-main,
body.memofoto-full-width .product-container .row.content-row {
    max-width: 100% !important;
}

.pricetableinline .pricing-table {
	padding-top: 0;
}