/*
Theme Name: Bill Botten Theme
Author: Hand to Sky
Description: Custom theme to use with Elementor
Version: 1.0.0

/// Theme Directory
	
	=Theme Setup
	=Font Setup
	=Global
	=Header
	=Footer

*/

/* //// ==Font Setup /////////////////////////////////////////////////*/

/* //// ==Theme Setup /////////////////////////////////////////////////*/

:root {
  --primary: #000;
  --accent: #93b93a;
  --secondary: #fff;
  --text: #48484a;
  --text-light: #ecf0f0;
  --text-light-alt: #9fb3b4;
  --body: source-sans-pro, sans-serif;
  --heading: source-serif-pro, serif;
  --letter-spacing: 3px;
  --trans: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* //// ==Global /////////////////////////////////////////////////*/

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4em;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--primary);
  font-family: var(--heading);
}

.home-slider .elementor-slide-heading {
  font-family: var(--heading);
}

h4,
h5,
h6 {
  color: var(--primary);
  font-family: var(--body);
}

.sourcesans * {
  font-family: var(--body);
}

.border-bottom .elementor-heading-title {
  border-bottom: 1px solid var(--primary);
}

.button .elementor-button-text {
  font-family: var(--heading-alt);
  font-weight: bold;
}

a {
  color: var(--accent);
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

a:hover,
a:focus,
.footer-menu .menu li a:hover,
.footer-menu .menu li a:focus,
body .footer-copy .elementor-heading-title a:hover {
  color: var(--accent);
}

a:hover,
a:focus,
select:focus {
  outline: 0;
}

.home-slider,
.home-slider * {
  transition: all 0.5s !important;
}

.home-slider .elementor-slides-wrapper {
  border-radius: 25px;
  overflow: hidden;
}

.home-slider .elementor-button.elementor-slide-button {
  padding: 0px;
}

.home-slider .swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -26px;
}

.fullwidth-txt {
  max-width: 850px;
}

.blog-sub .gform_wrapper.gravity-theme .gfield-choice-input + label {
  color: var(--primary);
}

.blog-sub .gform_wrapper.gravity-theme #field_submit input,
.blog-sub .gform_wrapper.gravity-theme .gform_footer input {
  background: transparent;
  color: var(--primary);
  font-weight: bold;
  border: 0px;
  padding: 0px;
  font-size: 1.125rem;
}

.blog-sub #field_2_5 {
  margin-top: 12px;
}

/* //// ==Header /////////////////////////////////////////////////*/

#main-nav {
  border: 0px;
  border-radius: 0px;
  margin-bottom: 0px;
  background: var(--secondary);
}

.navbar-brand {
  height: unset;
  padding: 10px 15px;
  width: 100%;
}

.home .navbar-brand h1 {
  margin: 0px;
}

.navbar-default .navbar-nav > li > a {
  font-family: var(--heading-alt);
  font-weight: normal;
  color: var(--text);
  opacity: 0.8;
  font-size: 1rem;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
  padding: 1.8rem 0;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  background: transparent;
  opacity: 1;
}

body .dropdown-menu > li > a {
  color: var(--secondary);
  font-size: 27px;
  -webkit-transition: 0.3s all;
  -o-transition: 0.3s all;
  transition: 0.3s all;
}

body .dropdown-menu > li > a:hover,
body .dropdown-menu > li > a:focus {
  color: var(--secondary);
  text-decoration: none;
  background-color: transparent;
}

.home-logo {
  width: 100%;
}

/* Burger menu animation */
.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--text);
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border: none;
}

.navbar-toggle span.icon-bar {
  -webkit-transition: all 0.15s;
  -o-transition: all 0.15s;
  transition: all 0.15s;
}

.navbar-toggle span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 10% 10%;
  -ms-transform-origin: 10% 10%;
  transform-origin: 10% 10%;
}

.navbar-toggle span:nth-child(3) {
  opacity: 0;
}

.navbar-toggle span:nth-child(4) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 10% 90%;
  -ms-transform-origin: 10% 90%;
  transform-origin: 10% 90%;
}

.navbar-toggle.collapsed span:nth-child(2),
.navbar-toggle.collapsed span:nth-child(4) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

.navbar-toggle.collapsed span:nth-child(3) {
  opacity: 1;
}

/* //// ==Footer /////////////////////////////////////////////////*/

.footer-menu .menu {
  list-style-type: none;
  padding-left: 0px;
}

.footer-menu .menu li a {
  display: block;
  color: var(--text-light);
  font-size: 1rem;
  padding: 0.2rem 0;
}

/* //// ==Filter /////////////////////////////////////////////////*/

.filter {
  padding: 60px 0 40px;
}

.searchandfilter ul {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 20px;
  padding: 0;
}

.searchandfilter ul li:first-child {
  padding-left: 0px;
}

.searchandfilter select.sf-input-select {
  border: 0px;
  color: #999;
  font-weight: normal;
  background: unset;
}

.search-filter-reset {
  top: 3px;
  color: #999;
  font-weight: 600;
}

.search-filter-reset:hover,
.search-filter-reset:focus {
  text-decoration: none;
  color: #000;
}

/* //// ==Isotope Grid /////////////////////////////////////////////////*/

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px 20px;
}

@keyframes animate-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.archive .painting {
  animation-name: animate-fade;
  animation-timing-function: ease;
  animation-duration: 0.5s;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.archive .painting:hover,
.archive .painting:focus-within {
  transform: translate(0px, -2px);
}

.painting-title a {
  font-size: 14px;
  color: var(--text);
}

.painting-title a:hover,
.painting-title a:focus-within {
  text-decoration: none;
}

.image-box {
  position: relative;
  background-color: #fff;
  padding: 25px 15px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 454px;
  max-height: 454px;
}

/* .image-box:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: calc(454 / 597 * 100%);
} */

.post-img {
  display: flex;
  height: 100%;
  max-height: 100%;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
  justify-content: center;
  align-items: center;
}

.dropshadow img {
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
}

.post-img img {
  max-height: 100%;
}

#posts {
  margin-inline: 20px;
}

.pagination {
  display: inline-block;
  margin-top: 5rem;
  grid-column: 1 / span 3;
}

.pagination a,
.pagination span {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: var(--trans);
}

.pagination span.current {
  background-color: #ddd;
  color: var(--text);
}

.pagination a:hover:not(.current) {
  background-color: #ddd;
}

/* //// single painting /////////////////////////////////////////////////*/

.painting-info {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  grid-gap: 0 20px;
  text-align: left;
}

.painting-info li {
  font-size: 1rem;
}

.painting-info span {
  color: #999;
  text-transform: uppercase;
}

.single-painting .main-content {
  margin: 0;
}

.single-painting footer > div > section,
.blog footer > div > section {
  margin-top: 0px !important;
}

.next-painting .elementor-post-navigation__prev.elementor-post-navigation__link,
.prev-painting .elementor-post-navigation__next.elementor-post-navigation__link {
  display: none !important;
}

.next-painting .elementor-post-navigation {
  justify-content: flex-end;
}

.single-painting .elementor-widget-theme-post-content table {
  max-width: 100%;
}

/* //// Blog /////////////////////////////////////////////////*/

.post {
  font-size: 1rem;
  margin-bottom: 6rem;
}

.post .post-link {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
}

.post .post-link:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: calc(9 / 16 * 100%);
}

.post .blog-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.date {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: bold;
}

.post-excerpt {
  max-width: 850px;
}

.post-title a {
  line-height: 1.15;
  margin-bottom: 10px;
  font-size: 2.125rem;
  color: var(--text);
}

.post-title a:hover {
  text-decoration: none;
}

.read-more {
  color: var(--text);
  text-decoration: underline;
}

/* //// WP Forms /////////////////////////////////////////////////*/

.gform_wrapper.gravity-theme .gfield-choice-input + label {
  color: #fff;
  font-size: 1.125rem !important;
  padding-left: 8px;
}

.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer button,
.gform_wrapper.gravity-theme .gform_page_footer input {
  background: transparent;
  color: #fff;
  font-weight: bold;
  border: 0px;
  padding: 0px;
  font-size: 1.125rem;
}

.form-black .gform_wrapper.gravity-theme .gform_footer button,
.form-black .gform_wrapper.gravity-theme .gform_footer input,
.form-black .gform_wrapper.gravity-theme .gform_page_footer button,
.form-black .gform_wrapper.gravity-theme .gform_page_footer input {
  color: #000;
}

/* //// Collections /////////////////////////////////////////////////*/
.collection-header {
	text-align: left;
	margin-bottom: 5rem;
	max-width: 1600px;
	margin-inline: auto;
}

.collection-header p {
		font-size: clamp(1rem, 4vw, 1.25rem);
	line-height: 1.4;
}

.collection-header h1 {
	font-size: clamp(36px, 4vw, 48px);
	margin-bottom: 1.5rem;
}

.collection-subtitle {
	text-align: center;
	display: block;
	font-family: var(--body);
	color: var(--text);
	font-size: clamp(1.5rem, 4vw, 1.875rem);
}

.painting.collection {
	text-align: center;
}

.painting.collection .image-box {
	background-color: #eee;
    min-height: 15vw;
    max-height: 17vw;
    overflow: hidden;
    border-radius: 25px;
	padding: 0;
	background-size: cover;
	background-position: center;
}

.painting.collection .painting-title a {
	padding-block: 0.5rem 1rem;
    font-size: clamp(14px, 5vw, 1.125rem);
    display: inline-block;
}

.add-read-more .read-less,
.add-read-more.show-less-content .read-more {
	display: none;
}

.status {
	position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    bottom: 40px;
}

.status .status-dot {
	width: 12px;
	height: 12px;
	display: inline-block;
	border-radius: 100%;
	background-color: red;
	    margin-inline: 3px;
}

.status .status-dot.sold {
	background-color: #921f25 ;
}

.status .status-dot.donated {
	background-color: #757bb6 ;
}

.status .status-dot.gifted {
	background-color: #085a93 ;
}

.status .status-dot.available {
	background-color: #2e8b57 !important;
}

.status.status-bar {
	position: relative;
	justify-content: start;
    margin: 0rem 0 2rem;
	bottom: unset;
}

.status.status-bar div {
	margin-right: 1rem;
}

.tax-painting_collection_tax .status.status-bar {
	margin: 1rem 0 1rem;
	justify-content: center;
}

@media (max-width: 767px) {
	.add-read-more.show-less-content .second-section,
	.add-read-more.show-less-content .read-less {
	   display: none !important;
	}
	
	.add-read-more.show-less-content .read-more,
	.add-read-more.show-more-content .read-less {
		display: inline-block !important;
	}

	.add-read-more.show-more-content .read-more {
	   display: none !important;
	}

	.add-read-more .read-more,
	.add-read-more .read-less {
	   font-weight: bold;
	   margin-left: 4px;
	   cursor: pointer;
	   text-decoration: underline;
	}
}

.gform_wrapper#gform_wrapper_4.gravity-theme .gform_footer input {
	color: #000;
}



/* //// Grav Forms /////////////////////////////////////////////////*/
body .gform_wrapper.gravity-theme .ginput_complex label, 
body .gform_wrapper.gravity-theme .ginput_complex legend {
	font-weight: normal;
}

body .gform_wrapper#gform_wrapper_4.gravity-theme .gform_footer input {
	padding: 7px 2rem;
    background-color: #ae3033;
    color: #fff;
    border-radius: 4px;
	transition: 0.3s all ease;
}

body .gform_wrapper#gform_wrapper_4.gravity-theme .gform_footer input:hover,
body .gform_wrapper#gform_wrapper_4.gravity-theme .gform_footer input:focus-within {
    background-color: #000;
    color: #fff;
}

/* //// Media Queries /////////////////////////////////////////////////*/
@media (max-width: 767px) {
  .main-content {
    overflow: hidden;
  }

  .navbar-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .navbar-brand {
    max-width: 180px;
  }

  .navbar-brand img {
    max-width: 100%;
  }

  .navbar-default .navbar-toggle {
    position: absolute;
    right: 0;
    top: 5px;
  }

  .navbar-nav > li > a {
    line-height: 30px;
  }

  .header-btn {
    display: none;
  }

  .navbar-default .navbar-nav > li > a {
    padding: 0.3rem;
  }

  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: var(--secondary);
  }

  body .navbar-nav .open .dropdown-menu .dropdown-header,
  body .navbar-nav .open .dropdown-menu > li > a {
    padding: 0.6rem 5px;
    font-size: 22.4px;
  }

  .logged-in #main-nav {
    top: 46px;
  }

  .header-top {
    padding: 0.75rem 0;
  }

  .navbar-nav {
    margin: 0px;
    padding: 7.5px 0px;
  }

  .navbar-nav .open .dropdown-menu {
    padding-left: 5px;
  }

  .navbar-fixed-bottom .navbar-collapse,
  .navbar-fixed-top .navbar-collapse {
    max-height: unset;
  }

  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:focus,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a,
  .dropdown-menu > .active > a,
  .dropdown-menu > .active > a:focus,
  .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav > .open > a,
  .navbar-default .navbar-nav > .open > a:focus,
  .navbar-default .navbar-nav > .open > a:hover {
    background: transparent;
    border-bottom-color: transparent;
  }

  .navbar-default .navbar-nav > li.header-icon {
    display: inline-block;
    padding: 0 8px;
  }

  .navbar-default .navbar-nav > li.header-icon:first-child {
    padding-left: 0px;
  }

  .painting-info {
    flex-direction: column;
    grid-gap: 8px 0;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px 10px;
  }

  .main-content {
    margin: 0 10px;
  }

  .searchandfilter ul {
    grid-gap: 10px;
  }

  .image-box {
    min-height: 30vw;
    max-height: 30vw;
  }

  .post .post-link {
    margin-bottom: 30px;
  }

  .pagination {
    grid-column: 1 / span 2;
  }

  .image-box {
    padding: 15px 0px;
  }

  .prev-painting .elementor-post-navigation__next.elementor-post-navigation__link {
    display: block !important;
  }

  .next-painting {
    display: none;
  }
	
  .painting.collection .image-box {
    min-height: 15vw;
    max-height: 25vw;
	      border-radius: 6px;
  }
}
@media (min-width: 768px) {
  .main-content,
  .blog .main-content > .container-fluid {
    margin-left: 20px;
    margin-right: 20px;
  }

  .home-logo {
    max-width: 200px;
    -webkit-transition: var(--trans);
    -o-transition: var(--trans);
    transition: var(--trans);
  }

  .slideDown.navbar-default .navbar-nav > li > a {
    -webkit-transition: var(--trans);
    -o-transition: var(--trans);
    transition: var(--trans);
  }

  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    background: var(--primary);
    border-top: 4px solid #fff;
    left: 15px;
    padding: 20px 0px;
    border-radius: 0px;
  }

  .dropdown-menu > li > a {
    padding: 0 20px;
    line-height: 1.2em;
  }

  ul.nav li.dropdown > ul.dropdown-menu {
    -webkit-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -o-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    max-height: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
  }

  ul.nav li.dropdown:hover > ul.dropdown-menu {
    -webkit-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -o-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }

  ul.nav li.dropdown > a:after {
    content: ">";
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    position: relative;
    display: inline-block;
    left: 11px;
    vertical-align: bottom;
    font-size: 2rem;
  }

  #main-nav > .header-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .navbar-header {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
  }

  .navbar-default .navbar-nav > li > a {
    padding: 10px 1rem;
  }

  .navbar-default .navbar-nav > li.header-icon > a {
    padding: 10px;
  }

  .navbar-default .navbar-nav > li:first-child > a {
    margin-left: 0px;
  }

  .navbar-default .navbar-nav > li:last-child > a {
    margin-right: 0px;
  }

  .logged-in #main-nav {
    top: 32px;
  }

  .elementor-section.elementor-section-height-full.full-height-section,
  .elementor-section.elementor-section-height-full.full-height-section
    .elementor-element
    .swiper-slide {
    height: calc(100vh - 150px);
  }

  .image-box {
    min-height: 20vw;
    max-height: 20vw;
  }
}
@media (min-width: 992px) {
  .bar-side {
    display: block;
  }

  #main-nav > .header-inner {
    margin: 0 50px;
  }

  .main-content,
  .blog .main-content > .container-fluid {
    margin-left: 50px;
    margin-right: 50px;
  }

  .searchandfilter ul {
    grid-gap: 20px;
  }

  .blog .main-content {
    margin-left: 0px;
    margin-right: 0px;
  }
}
@media (min-width: 1200px) {
  .navbar-default .navbar-nav > li > a {
    padding: 10px 2rem;
  }
}
