/*
Theme Name: Foto Blog - Lenstore DE
Description: A child theme for Foto Blog
Author: Lenstore
Template: foto-blog
Text Domain: fotoblog
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, full-width-template, translation-ready, theme-options, threaded-comments, custom-logo, custom-background, custom-header, footer-widgets, blog
*/

/* COLOURS
	Blue 		: #1fa0ba
	Blue hover  : #12697b
	Light Grey 	: #f4f3f3
	Dark grey 	: #313131
*/

/* TEXT */
a,
a:hover,
a:focus,
a:active,
.course-item-wrapper .entry-title a:hover,
.course-item-wrapper .entry-title a:focus,
.blog-posts-wrapper .entry-title a:hover,
.blog-posts-wrapper .entry-title a:focus,
.featured-content-wrapper .entry-meta a:hover,
.featured-content-wrapper .entry-title a:hover,
.featured-content-wrapper .entry-meta a:focus,
.featured-content-wrapper .entry-title a:focus {
  color: #1fa0ba;
}

a:hover,
a:focus,
a:active,
#secondary a:hover,
#secondary a:focus,
.entry-meta a:hover,
.entry-meta a:focus {
  color: #12697b;
}

/* FORMS : INPUT FOCUS */
input:focus,
.widget_search form.search-form input[type="search"]:focus {
  border-color: #1fa0ba;
}

/* Change all background colours to be on brand */
#site-navigation,
.widget_search form.search-form button.search-submit,
#site-navigation li {
  transition: background-color 0.3s ease-in-out;
  background-color: #1fa0ba;
}
.more-link:hover,
.more-link:focus,
.widget_search form.search-form button.search-submit:hover,
#site-navigation li:hover {
  background-color: #12697b;
}

/* increase font size of CTA's */
.more-link {
  font-size: 13px;
}

/* HEADER */

/* TOP BAR */
.widget.widget_search_form form.search-form input[type="search"] {
  background-color: #313131;
}

.site-logo {
  max-width: 250px;
  padding: 0;
}

.site-branding {
  padding: 20px 0;
}
.site-branding .wrapper {
  padding-left: 0;
}

.site-branding .site-logo + #site-identity {
  margin: 0;
}

@media screen and (max-width: 480px) {
  .site-logo {
    padding: 0 15px;
  }

  .site-branding .wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 1023px) {
  .site-branding {
    padding: 15px 0 20px;
    text-align: left;
  }
}

/* MENU */
.menu-toggle {
  padding: 0 15px;
  height: 50px;
  width: auto;
  margin: 0;
}

.menu-toggle:after {
  vertical-align: middle;
  display: inline-block;
  margin-bottom: 5px;
  content: "Menu";
  color: #fff;
}

.fa-list-ul {
  font-size: inherit;
}

.fa-list-ul::before {
  content: "\f0c9";
  font-size: 21px;
}

.menu-toggle[aria-expanded="true"] .fa-list-ul::before {
  content: "\f078";
}

.menu-toggle i {
  color: #fff;
}

.main-navigation {
  border: none;
}
.main-navigation a {
  transition: none;
}

#site-navigation ul.nav-menu {
  text-align: left;
  font-size: 0;
}

#site-navigation li:nth-child(1) > a {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

#site-navigation li > a {
  color: white;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1023px) {
  #site-navigation .wrapper {
    width: 100%;
    padding: 0;
  }

  .main-navigation ul.nav-menu {
    margin-top: 0;
  }
}

#site-navigation {
  background: #14b7c2;
}

@media only screen and (max-width: 760px) {
  #site-navigation ul li {
    background: #938fe7;
  }
  #site-navigation ul li:nth-child(1) {
    background: #14b7c2 !important;
  }
}

/* BUTTONS */
.more-link {
  background-color: #1fa0ba;
  border-radius: 3px;
}

/* LISTED POST */
.post-item {
  position: relative;
}

.post-item .cover-link {
  z-index: 1;
}

.post-item .featured-image {
  margin: 30px 30px 15px;
  width: calc(100% - 60px);
  height: auto;
  position: relative;
  display: block;
  padding-bottom: 0;
}

.right-sidebar .post-item .entry-container {
  padding: 0 0 30px;
  width: 100%;
  display: block;
  float: none;
}

.blog-posts-wrapper .entry-meta,
.right-sidebar .blog-posts-wrapper .entry-title,
.blog-posts-wrapper .entry-content,
.blog-posts-wrapper .read-more {
  padding: 0 30px;
}

/* BLOG POST PAGES */
.featured-content-wrapper {
  max-width: 1024px;
}

#post-header .page-title {
  font-size: 38px;
  font-weight: 500;
  margin-top: 0;
}

/* PAGINATION */
.post-navigation a:hover,
.posts-navigation a:hover,
.post-navigation a:focus,
.posts-navigation a:focus {
  background-color: #12697b;
}

/* SLICK */
.featured-content-wrapper {
  max-width: none;
  padding: 30px;
  background-color: transparent;
  background: linear-gradient(to bottom, transparent 0%, black 150%) repeat
    scroll 0 0;
  -webkit-backdrop-filter: blur(2px);
  border-radius: 3px;
  top: auto;
  bottom: 0;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  text-align: left;
}

.featured-content-wrapper .entry-title {
  margin-bottom: 0;
  font-size: 24px;
}

.featured-content-wrapper .entry-title a,
.featured-content-wrapper .entry-excerpt,
.featured-content-wrapper .entry-title a:hover,
.featured-content-wrapper .entry-title a:focus,
.featured-content-wrapper .entry-title a:active {
  color: #fff;
}

.wrapper.slider-wrapper {
  padding: 0;
}

.featured-content-wrapper .entry-header {
  margin: 0 0 0.5em;
}

.featured-content-wrapper .read-more {
  text-align: left;
}

.featured-content-wrapper .entry-excerpt {
  max-width: 650px;
}

#featured-slider button.slick-arrow {
  background-color: #1fa0ba;
  border-radius: 3px;
}

#featured-slider article {
  height: auto;
  padding: 200px 0;
}

/* BACK TO TOP */
.backtotop {
  background-color: #1fa0ba;
  border-radius: 3px;
}

/* AUTHORS */
.authors {
  list-style: none;
  padding: 0;
  margin: 0;
}

.authors li {
  position: relative;
}

.authors li:before {
  font-family: "FontAwesome";
  margin-right: 15px;
  content: "\f101";
  float: left;
}

/* FOOTER */
#colophon.site-footer {
  background-color: #e2f0f5;
  color: #595959;
  font-size: 13px;
}
#colophon.site-footer .page-section {
  padding: 40px 0;
}

.footer-widgets-area .widget ul li {
  padding-bottom: 0;
}

#colophon .widget-title,
#colophon .widgettitle,
#colophon p,
#colophon li,
#colophon a {
  color: #595959;
}

#colophon a:hover,
#colophon a:focus {
  text-decoration: underline;
  color: #595959;
}

.site-info {
  background-color: #f4f3f3;
  color: #595959;
}

.page-section {
  padding: 40px 0;
}
.page-id-903 .wp-block-image {
  position: absolute;
  left: 0;
  top: 25px;
}
.page-id-903 .entry-content {
  position: relative;
  padding-left: 195px;
}
.page-id-903 ul {
  margin: 0;
  padding-left: 1em;
}
.table-wrapper-layout-fix-sm .wp-block-table td,
.table-wrapper-layout-fix-sm .wp-block-table th {
  padding: 12px;
  width: 26%;
  font-size: 14px;
  word-break: normal;
}
.table-wrapper-layout-fix-sm {
  overflow-x: auto;
}

@media screen and (max-width: 480px) {
  .page-id-903 .wp-block-image {
    position: relative;
    left: 0;
    top: 0;
  }
  .page-id-903 .entry-content {
    padding-left: 0;
  }
}

/* Background colour for page */
#page {
  background-color: #e8e2fb;
  box-shadow: none !important;
}

/* Background colour for buttons */
.read-more a {
  background: #8663f1;
  border-radius: 5px;
}

/* Background colour for navbar */
.site-branding {
  background: #fff;
}

/* Menu background colour for navbar */
#primary-menu li {
  background: #14b7c2 !important;
}
.site-branding .wrapper {
  display: flex;
  align-items: center;
}

/* Menu perrywinkle color on tablets and smaller   */
@media only screen and (max-width: 900px) {
  #site-navigation ul li {
    background: #938fe7 !important;
  }
  #site-navigation ul li:nth-child(1) {
    background: #14b7c2 !important;
  }
}

/* Added article image to post titles */
h2.widget-title::before {
  content: url("https://blog_int.lenstore.co.uk/wp-content/uploads/2023/01/global-icn-article.png");
  padding-right: 6px;
}

/* Background color for post titles */
h2.widget-title {
  display: flex;
  color: #5c40b3;
  background-color: #edfff9 !important;
}

#secondary .widget-title,
#secondary .widgettitle {
  padding: 15px 12px;
}

/* Color for the article titles and sub categories */
#secondary .widget li a {
  color: #5c40b3;
}

#secondary .widget li:after {
  color: #5c40b3;
}

/* Arrows for the recent posts and categories */
#secondary .widget li:after {
  content: "\f105";
  font-family: fontawesome;
  float: right;
  margin-right: 15px;
}

/* Border radius for posts */
.post-item {
  border-radius: 8px;
}

/* Border radius for single post */
.single #primary .site-main > article {
  border-radius: 8px;
}

/* Border radius for single post navigation */
.single-post .site-main .post-navigation {
  border-radius: 8px;
}

/* Next & previous link arrows */
.nav-links .nav-previous a:before {
  content: "\f104";
}

.nav-links .nav-next a:after {
  content: "\f105";
}

/* 404 Page */
.error-404.not-found {
  text-align: center;
  color: #514f5e;
  font-family: "DM Sans", sans-serif;
}

.error-404.not-found .page-title {
  font-size: 30px;
}

.error-404.not-found h1,
.error-404-subtitle {
  font-weight: 700;
}

.error-404-subtitle {
  font-size: 20px;
}

.error-404-backlink {
  font-size: 16px;
}

.error-404-backlink a {
  text-decoration: underline;
}

#main404 {
  display: flex;
  align-items: center;
}

.image404 > img {
  object-fit: contain;
}

.bottom404 {
  background-color: #e8e2fb;
  height: 100px;
}

@media only screen and (min-width: 992px) {
  .error-404-subtitle,
  .error-404-backlink {
    text-align: left !important;
  }

  h1.page-title {
    text-align: left !important;
  }
}

@media only screen and (max-width: 640px) {
  #main404 {
    flex-direction: column-reverse;
  }
}

@media only screen and (min-width: 1000px) {
  .error404 #page {
    background-image: linear-gradient(
      to bottom,
      #defff3 52%,
      #e8e2fb 48%
    ) !important;
  }
}

@media only screen and (max-width: 999px) {
  .error404 #page {
    background-image: linear-gradient(
      to bottom,
      #defff3 55%,
      #e8e2fb 45%
    ) !important;
  }
  #primary-menu > li:first-child a::after,
  #primary-menu > li:first-child a::before {
    display: none !important;
  }
}

@media only screen and (max-width: 640px) {
  .error404 #page {
    background-image: linear-gradient(
      to bottom,
      #defff3 66%,
      #e8e2fb 34%
    ) !important;
  }
}

/* Footer Styles */
.footer-social-icons {
  display: flex;
  text-decoration: none;
  font-size: 16px;
  width: 60%;
}

.fa-facebook,
.fa-instagram,
.fa-twitter,
.fa-pinterest-p {
  color: #514f5e;
}

.footer-widgets-area .widget li:before {
  display: none;
}

.footer-widgets-area .widget ul li,
#secondary .widget ul li {
  border: none;
}

footer,
.site-info {
  background: #edfff9 !important;
}

#footerInfoLinks li a {
  color: #514f5e !important;
  font-family: "DM Sans", sans-serif;
  text-decoration: none !important;
}

#footerContactLinks {
  line-height: 1.63;
}

#footerInfoLinks li {
  margin-bottom: 0px;
}

#contactNumber {
  display: flex;
  gap: 4px;
}

#contactNumber a {
  font-weight: 600;
}

footer h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.63px;
}

.footer-wrapper {
  text-align: center;
  font-size: 11px;
  line-height: 1.82px;
  letter-spacing: -0.03px;
  padding-bottom: 20px;
}

footer #colophon .widget {
  margin: 0px !important;
}

/* Footer */
footer {
  max-width: 1920px;
  margin: 0 auto;
}

.hentry:nth-child(2) {
  text-align: -webkit-center !important;
}

.hentry:nth-child(3) {
  text-align: -webkit-right !important;
}

.hentry:nth-child(4) {
  text-align: -webkit-right !important;
}

#contactNumber {
  justify-content: flex-end !important;
}

@media only screen and (max-width: 900px) {
  .hentry:nth-child(2),
  .hentry:nth-child(3),
  .hentry:nth-child(4) {
    text-align: -webkit-left !important;
  }
  #contactNumber {
    justify-content: flex-start !important;
  }

  .footer-widgets-area .wrapper {
    display: flex;
    flex-direction: column;
  }

  .hentry:nth-child(1) {
    order: 2;
    margin-top: 2.5rem;
  }

  .hentry:nth-child(3) {
    order: 1;
    border-bottom: 1px solid #cce8e9;
  }

  .hentry:nth-child(4) {
    order: 4;
  }

  #footerInfoLinks li {
    border: 1px solid #cce8e9;
    border-right: none;
    border-left: none;
    padding: 6px;
    font-weight: 700;
    font-family: "DM Sans", sans-serif;
  }
}

#colophon.site-footer .page-section {
  padding: 10px 0 !important;
}

#footerInfoLinks,
#footerContactLinks {
  font-size: 16px !important;
  line-height: 1.63;
  letter-spacing: -0.04px;
}

#contactNumber a {
  font-weight: 500 !important;
  line-height: 1.63 !important;
  letter-spacing: -0.04px !important;
}

#footerContactLinks li {
  margin-bottom: 1px;
}

/* Footer Banner */
#bannerContainer {
  background-color: #5c40b3 !important;
  display: block;
  justify-content: center;
}

#bannerContainer img {
  width: 100%;
  margin: 0 auto;
  object-fit: contain;
  border-top: 4px solid #aeeae7;
  border-bottom: 4px solid #aeeae7;
}

h5 b {
  color: #514f5e !important;
}

/* Footer Socials */
.footer-social-icons {
  width: 100%;
}

.footer-social-icons li {
  margin-bottom: 0px !important;
  align-items: center !important;
  display: flex;
}

#logoImg {
  transform: scale(1.7);
  padding-left: 14px;
}

/*  Navbar */
@media only screen and (min-width: 999px) {
  #site-navigation li a {
    border: none !important;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
  }

  #menu-item-680 a::after,
  #menu-item-680 a::before {
    display: none;
  }
  #menu-item-680 {
    margin-right: 0px !important;
    display: block !important;
  }
}

#site-navigation {
  border-bottom: 3px solid #aeeae7 !important;
}

/*  Navbar */
@media screen and (min-width: 1024px) {
  .main-navigation ul.nav-menu {
    display: flex !important;
    height: 40px !important;
    align-items: center;
  }
  #primary-menu li a {
    padding: 0px 10px;
  }

  #site-navigation .wrapper {
    padding-left: 0px;
  }
  #site-navigation li:nth-child(1) > a {
    padding-left: 0px;
  }
}

/* Single post */
.post-item .featured-image {
  width: 100%;
  margin: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Sidebar */
#recent-posts-2 {
  border-radius: 8px !important;
}

#secondary .widget-title {
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
}

#secondary .widget > ul li:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

#categories-2 {
  border-radius: 8px !important;
}

/* Top Footer */

#topFooter {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c1dae7;
  height: 26px;
  padding: 23px 0;
}

#svgContainer {
  width: 100px;
  height: 100px;
  margin-right: auto;
  margin-left: 15px !important;
}

.logo-svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  fill: #14b7c2;
}

.back-to-top {
  background: none;
  border: none;
  color: #514f5e;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.63;
  display: flex;
  align-items: center;
}

#menu-item-680 a {
  display: flex;
}
*/ #site-navigation li:nth-child(1) > a {
  padding-right: 0px;
}

/* Single Post */

#recent-posts-2 ul li a,
#categories-2 ul li a {
  font-weight: bold !important;
}

.post-item,
article.post {
  border: 1px solid #c1dae7 !important;
  border-radius: 8px;
}

h2.entry-title {
  color: #514f5e !important;
}

.entry-content p {
  font-size: 16px !important;
  color: #514f5e !important;
  letter-spacing: -0.04px !important;
}

.post-item,
article.post {
  border: 1px solid #c1dae7 !important;
}

h2.entry-title {
  color: #514f5e !important;
}

.entry-content p {
  font-size: 16px !important;
  color: #514f5e !important;
  letter-spacing: -0.04px !important;
}

.entry-meta .cat-links a {
  color: #5c40b3 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.03px !important;
}

.entry-meta > span:not(:last-child):after {
  content: ">" !important;
  margin-left: 10px !important;
  margin-right: 5px !important;
  color: #5c40b3 !important;
}

.entry-meta span.date a {
  color: #514f5e !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.03px !important;
}

#secondary .widget,
#secondary ul li {
  border: 1px solid #c1dae7 !important;
}

.post.hentry:nth-child(2) {
  text-align: -webkit-left !important;
}

.author a {
  color: #514f5e !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.03px !important;
}

.posts-navigation .nav-next a::first-letter {
  text-transform: uppercase;
}

/*  Typography */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
  font-family: "DM Sans", sans-serif !important;
}

/*  Menu Icons */
@media only screen and (min-width: 999px) {
  #primary-menu a {
    display: flex;
  }
  #primary-menu > li:first-child {
    margin-right: auto !important;
  }
  #primary-menu > li:first-child a::after {
    content: url(https://blog_int.lenstore.co.uk/wp-content/uploads/2023/01/icn-account-copy-2.png);
    display: flex;
    height: 1px;
    margin-top: -6px;
  }
  #primary-menu > li:first-child a::before {
    content: "<" !important;
    display: flex !important;
    height: 1px !important;
    padding-right: 2px;
  }
}

/* Post btn */
.read-more a {
  text-transform: lowercase;
  font-size: 16px;
  line-height: 1.63;
  letter-spacing: -0.04px;
  background-image: linear-gradient(to bottom, #8663f1, #654abb);
}

.read-more a::first-letter {
  text-transform: Uppercase !important;
}

.entry-meta > span {
  margin-right: 0px !important;
}

/* Prev post btn */

/* Search Form */
.site-search {
  display: none;
}

#site-identity {
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
}

#searchForm {
  flex: initial !important;
  padding-left: 40px;
  margin: 0 auto;
  width: 420px;
}

#searchForm input {
  border: none;
  color: #5c40b3;
  border-bottom: 2px solid #5c40b3;
}

#searchForm input::placeholder {
  color: #5c40b3;
  font-family: "DMSans";
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: -0.04px;
}

form.search-form button.search-submit {
  color: #5c40b3;
  font-size: 15.3px;
}

#contactEl {
  margin-left: auto;
}

#contactEl > a {
  color: #5c40b3;
  font-size: 20px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: -0.05px;
}

@media only screen and (max-width: 740px) {
  #contactEl {
    display: none;
  }
}

input::placeholder {
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: "DM Sans", sans-serif !important;
}

.featured-image {
  border-bottom: 4px solid #aeeae7;
}

/* New style for posts */
#secondary .widget ul li {
  display: flex;
  align-items: center;
}

#secondary .widget li:before {
  display: none;
}

.post-numbers {
  margin: 5 10px;
}

/* Banner */
#block-25 {
  display: none;
  margin: 0;

  background-color: #5c3fb3 !important;
}

.mainBanner {
  height: 260px;
  max-width: 100%;
  background-image: url("https://blog_int.lenstore.co.uk/wp-content/uploads/2023/02/bannerImg-e1675342835501.png");
  background-size: cover;
  display: flex;
  align-items: center;
  border-top: 4px solid #aeeae7;
  border-bottom: 4px solid #aeeae7;
}

.bannerText p {
  color: #fff;
  font-size: 24px;
  margin-left: 120px;
}

.bannerText p:nth-child(1) {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
}

.bannerButton {
  background-color: #cfecbf;
  border-radius: 4px;
  color: #fff;
  padding: 10px 70px;
  margin-left: auto;
  font-size: 18px;
  text-decoration: none;
  margin-right: 130px;
  color: #514f5e;
  font-weight: 700;
}

@media only screen and (max-width: 600px) {
  .mainBanner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .bannerButton {
    margin: 0 auto;
  }
  .bannerText {
    text-align: center;
  }
}

/* Recent Posts List */
#recent-posts-2 ul li {
  display: flex;
}

#secondary .widget li {
  padding: 10px 10px !important;
}

#secondary .widget li:after {
  margin-left: auto;
}

@media only screen and (max-width: 768px) {
  #searchForm {
    width: 200px;
  }
  .nav-links .nav-previous,
  .nav-links .nav-next {
    width: 250px !important;
  }
  .bannerText p {
    margin-left: unset;
  }
}

/* Search Results */
.post-item .entry-container {
  width: 100% !important;
  padding: 0 0 30px 0 !important;
}

.search .blog-posts-wrapper article {
	width: 80%;
    margin: 0 auto;
    margin-top: 20px;
}

@media only screen and (max-width: 800px) {
.search .blog-posts-wrapper article {
	width: 100%;

}
 .search .blog-posts-wrapper article {
 padding: 0px;
 }
}

.posts-counter {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}


/* Prev & Next Post Buttons */
.navigation.posts-navigation {
	width: 100%;
	margin: 0 auto;
}

.posts-navigation .nav-links {
	display: flex;
	margin-bottom: 20px;
}

@media only screen and (max-width: 800px) {
 .nav-links {
	display: flex;
	 flex-direction: column;
	}
}

.posts-navigation  a {
background: #c4f8b8 !important;
border: 1px solid #b6eaa6;
border-radius: 4px !important;
color: #514f5e !important;
font-weight: 700 !important;
text-align: center;
padding: 6px;
text-transform: capitalize;
margin-top: 20px;
}

.posts-navigation .nav-links .nav-previous a:before,
.posts-navigation .nav-links .nav-next a:after{
	display: none !important
}

/* Hide title tag */
h2.page-title {
display: none !important;
}
