/*   
Theme Name: Devon Artist Network
Theme URI: www.bywill.co.uk
Description: Custom theme
Author: thstudio
Author URI: www.thstudio.co.uk
Version: 1.0
Tags: blue, white, light, right-sidebar, fixed-width, profile-builder, paid-member-subscriptions
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/3d9e5d");

@import url("reset.css");
@import url("grid.css");

@font-face {
  font-family: "Brother-1816-Bold";
  src: url("webFonts/Brother1816Bold/font.woff2") format("woff2"),
    url("webFonts/Brother1816Bold/font.woff") format("woff");
}
@font-face {
  font-family: "Brother-1816-Regular";
  src: url("webFonts/Brother1816Regular/font.woff2") format("woff2"),
    url("webFonts/Brother1816Regular/font.woff") format("woff");
}
/* Default font settings. */

.Brother1816Regular {
  font-family: "Brother-1816-Regular";
}
.Brother1816Bold,
strong {
  font-family: "Brother-1816-Bold";
}

html {
  font-size: 100.01%;
}
body {
  font-size: 16px;
  color: #000000;
  background: #fff;
  font-family: "Brother-1816-Regular";
  font-weight: normal;
}
/* Headings */

h1 {
  font-size: 38px;
  line-height: 48px;
  margin-bottom: 20px;
  font-family: "Brother-1816-Bold";
}

h2 {
  font-size: 26px;
  line-height: 36px;
  margin-bottom: 15px;
  font-weight: normal;
}

h3 {
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 15px;
  font-family: "Brother-1816-Bold";
}

h4 {
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 10px;
  font-family: "Brother-1816-Bold";
}

h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img {
  margin: 0;
}
/* Text elements */
::-moz-selection {
  background: #06f;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #06f;
  color: #fff;
  text-shadow: none;
}
p {
  margin: 0 0 15px;
}
p img.left {
  float: left;
  margin: 15px 15px 15px 0;
  padding: 0;
}
p img.right {
  float: right;
  margin: 15px 0 15px 15px;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  margin: 15px;
  color: #666;
  font-style: italic;
}
strong {
  font-weight: bold;
}
em,
dfn {
  font-style: italic;
}
dfn {
  font-weight: bold;
}
sup,
sub {
  line-height: 0;
}
abbr,
acronym {
  border-bottom: 1px dotted #ccc;
}
address {
  margin: 0 0 15px;
  font-style: italic;
}
del {
  color: #ccc;
}
pre {
  margin: 15px 0;
  white-space: pre;
}
pre,
code,
tt {
  font: 14px "andale mono", "lucida console", monospace;
  line-height: 20px;
}
hr {
  border-style: none;
  border-bottom: 4px solid rgba(254, 205, 7, 1);
  margin-top: 60px;
  margin-bottom: 60px;
}
hr.foot {
  margin-top: 30px;
  margin-bottom: 30px;
}
/* Lists */
ol #commentlist {
  margin: 0px 0px 10px 0px;
}
#commentlist li {
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 10px 0px;
  border-bottom: 1px dotted #ccc;
}
li ul,
li ol {
  margin: 0;
}
ul,
ol {
  margin: 0 15px 15px 0;
  padding-left: 20px;
}
nav ul,
#sidebar ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px 0px 10px 0px;
}
nav ul li {
  float: left;
}
#sidebar li {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
dl {
  margin: 0 0 15px 0;
}
dl dt {
  font-weight: bold;
}
dd {
  margin-left: 20px;
}
/* Tables */
table {
  margin-bottom: 20px;
  width: 100%;
}
th {
  font-weight: bold;
}
thead th {
  background: #c3d9ff;
}
th,
td,
caption {
  padding: 4px 10px 4px 5px;
}
tr.even td {
  background: #e5ecf9;
}
tfoot {
  font-style: italic;
}
caption {
  background: #eee;
}
/* Misc classes */
.small {
  font-size: 10px;
  margin-bottom: 8px;
  line-height: 18px;
}
.large {
  font-size: 19px;
  line-height: 19px;
  margin-bottom: 20px;
}
.hide {
  display: none;
}
.quiet {
  color: #888;
}
.loud {
  color: #000;
}
.highlight {
  background: #ff0;
}
.added {
  background: #060;
  color: #fff;
}
.removed {
  background: #900;
  color: #fff;
}
.first {
  margin-left: 0;
  padding-left: 0;
}
.last {
  margin-right: 0;
  padding-right: 0;
}
.top {
  margin-top: 0;
  padding-top: 0;
}
.bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}
.postmetadata {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 30px 0px;
}
.meta {
  font-size: 10px;
}
/* --------------------------------------------------------------
   forms
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)
-------------------------------------------------------------- */
label {
  font-weight: bold;
}
fieldset {
  padding: 22px;
  margin: 0 0 24px 0;
  border: 1px solid #ccc;
}
legend {
  font-weight: bold;
  font-size: 19px;
}
/* Form fields */
input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
}
input[type="text"]:focus,
input[type="password"]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
  border-color: #777;
}
input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
  margin: 8px 0;
}
input.text,
input.title {
  max-width: 300px;
  width: 80%;
  padding: 5px;
}
input.title {
  font-size: 24px;
}
textarea {
  width: 600px;
  max-width: 90%;
  height: 150px;
  padding: 5px;
}
input[type="checkbox"],
input[type="radio"],
input.checkbox,
input.radio {
  position: relative;
  top: 4px;
}
form.inline {
  line-height: 3;
}
form.inline p {
  margin-bottom: 0;
}
/* Success, notice and error boxes */
.error,
.notice,
.success {
  padding: 12px;
  margin-bottom: 16px;
  border: 2px solid #ddd;
}
.error {
  background: #fbe3e4;
  color: #8a1f11;
  border-color: #fbc2c4;
}
.notice {
  background: #fff6bf;
  color: #514721;
  border-color: #ffd324;
}
.success {
  background: #e6efc2;
  color: #264409;
  border-color: #c6d880;
}
.error a {
  color: #8a1f11;
}
.notice a {
  color: #514721;
}
.success a {
  color: #264409;
}
/* links */
a {
  color: #000000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.content a,
.storycontent a {
  color: #569ed5;
}

.btn,
.submit.button {
  background: rgba(254, 205, 7, 1);
  color: #000000;
  text-transform: uppercase;
  padding: 5px 30px;
  line-height: 35px;
  border-radius: 5px;
  display: inline-block;
  outline: none;
  border: 0;
  transition: background 0.3s ease-in-out;
  box-sizing: border-box;
}

.btn:hover,
.submit.button:hover {
  background: rgba(254, 205, 7, 0.5);
  text-decoration: none;
}

/* Misc */
.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption-dd {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
.wp-caption-text {
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin-right: 40px;
}
.alignright {
  float: right;
  margin-left: 40px;
}
.gallery-caption {
}
/* post */
.meta {
  word-wrap: break-word;
}
.sticky {
}
.bypostauthor {
}
/* Comments */
#commentlist p {
  margin: 0px;
  font-size: 11px;
}
#comments {
  margin: 20px 0px 10px 0px;
  padding: 20px 0px 10px 0px;
  border-top: solid 1px #ccc;
}
#postcomment {
  margin: 20px 0px 10px 0px;
  padding: 20px 0px 10px 0px;
  border-top: solid 1px #ccc;
}
/* --------------------------------------------------------------   
User Styles below here
-------------------------------------------------------------- 
*/

header {
  padding: 0;
}

header nav {
  background: rgba(254, 205, 7, 1);
}

header nav ul {
  margin: 0;
  padding: 0;
}

header nav ul a {
  display: block;
  padding: 0 10px;
  line-height: 35px;
  font-size: 18px;
  font-family: "Brother-1816-Bold";
}

header nav ul a:hover {
  text-decoration: none;
  color: #ffffff;
}

.header-menu-mobile,
.nav-menu {
  display: none;
}

.header-menu {
  display: block;
}

.header-menu > ul {
}

.header-menu > ul > li,
.members-nav > ul > li {
  position: relative;
}

.header-menu > ul > li > ul,
.members-nav > ul > li > ul {
  position: absolute;
  left: 0px;
  background: rgba(254, 205, 7, 1);
  border-top: 2px solid #ffffff;
  z-index: 1000;
  padding: 10px 0;
  display: none;
}

.members-nav > ul > li > ul {
  left: auto;
  right: 0px;
}

.header-menu > ul > li > ul:before,
.members-nav > ul > li > ul:before {
  position: absolute;
  left: 20px;
  top: 0px;
  width: 0;
  height: 0;
  content: " ";
  display: block;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffffff;
}

.members-nav > ul > li > ul:before {
  left: auto;
  right: 20px;
}

.header-menu > ul > li > ul > li,
.members-nav > ul > li {
  float: none;
}

.header-menu > ul > li > ul > li > a,
.members-nav > ul > li > a {
  white-space: nowrap;
}

.members-nav a {
  text-align: right !important;
  white-space: nowrap;
  min-width: 150px;
}
.members-nav li {
  float: none;
}

header .grid_12 {
  position: relative;
}

.members-nav {
  position: absolute;
  right: 0px;
}

.members-nav i {
  border-radius: 50%;
  /*border:  2px solid #000000;*/
  width: 18px;
  text-align: center;
  display: inline-block;
}

.members-nav a:hover i {
  /*border-color:  #FFFFFF;*/
}

header .logo {
  position: relative;
}

header .nav-menu {
  position: absolute;
  left: 20px;
  top: 75px;
}

header .nav-social {
  position: absolute;
  left: 20px;
  top: 75px;
}

header .nav-social a {
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  margin: 2px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
}

header .nav-btn {
}

header .nav-btn span {
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background-color: #333;
  margin: 8px 0;
  transition: 0.4s;
  display: block;
}

header .nav-btn.active .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

header .nav-btn.active .bar2 {
  opacity: 0;
}

header .nav-btn .bar3 {
  width: 25px;
}

header .nav-btn.active .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
  width: 50px;
}

header .logo img {
  width: 140px;
  display: block;
  margin: 30px auto;
}

header .ajax-search {
  position: absolute;
  right: 20px;
  top: 75px;
}

header .search {
  position: absolute;
  right: 20px;
  top: 75px;
  background: #f2f3f4;
  height: 40px;
  border-radius: 20px;
  line-height: 40px;
  padding: 0 20px;
}

header .search input {
  background: transparent;
  border: 0;
  outline: none;
  margin: 0;
  padding: 0;
}

header .search button {
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}

header .hidden-nav {
  background: rgba(254, 205, 7, 1);
  padding: 120px 0;
  position: absolute;
  display: none;
  width: 100%;
  z-index: 5000;
}

header .hidden-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

header .hidden-nav ul a {
  display: block;
  text-align: center;
  font-size: 38px;
  line-height: 88px;
}

.block-slider .cycle-slideshow {
  width: 100%;
  height: 50vh;
}

.block-slider .cycle-slideshow .block-slide {
  background-size: cover;
  width: 100%;
  height: 100%;
}

.block-slider .cycle-slideshow .block-slide .overlay {
  color: #ffffff;
  position: absolute;
  bottom: 100px;
  left: 0px;
  right: 0px;
  text-align: center;
}

.block-slider .cycle-slideshow .block-slide .overlay h2 {
  margin: 0;
}

.block-slider .cycle-slideshow .block-slide .overlay h2 a {
  color: #ffffff;
  text-decoration: none;
}

.block-slider .cycle-slideshow .block-slide .overlay a.btn {
  margin-top: 40px;
}

.block-slider .cycle-slideshow .cycle-pager {
  position: absolute;
  bottom: 40px;
  left: 0px;
  right: 0px;
  text-align: center;
  z-index: 1000;
}

.block-slider .cycle-slideshow .cycle-pager span {
  display: inline-block;
  width: 15px;
  height: 15px;
  color: transparent;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  margin: 3px;
  cursor: pointer;
}

.block-slider .cycle-slideshow .cycle-pager span.cycle-pager-active {
  background: transparent;
}

.block-slider .cycle-slideshow .cycle-prev,
.block-slider .cycle-slideshow .cycle-next {
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.block-slider .cycle-slideshow .cycle-next {
  left: auto;
  right: 0px;
}

.block-slider .cycle-slideshow .cycle-prev span,
.block-slider .cycle-slideshow .cycle-next span {
  display: block;
  border: 1px solid #ffffff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #ffffff;
  font-size: 40px;
  text-align: center;
  border-radius: 30px;
  cursor: pointer;
}

.signposts {
  display: flex;
  flex: 1;
  gap: 20px;
  margin: 0 60px;
}

.signposts .block-sign {
  position: relative;
}

.signposts .block-sign img {
  display: block;
}

.signposts .block-sign .overlay {
  background: rgb(0, 0, 0);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0) 100%
  );
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  display: flex;
  transition: background 0.5s ease-in-out;
}

.signposts .block-sign .overlay:before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  transition: background 0.5s ease;
}

.signposts .block-sign:hover .overlay:before {
  background: rgba(0, 0, 0, 0.6);
}

.signposts .block-sign .overlay h3 {
  align-self: flex-end;
  width: 100%;
  z-index: 1;
}

.block-display {
  width: 100%;
  min-height: 40vh;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #ffffff;
  position: relative;
}

.block-display:before {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0) 100%
  );
}

.block-display.right:before {
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0) 100%
  );
}

.block-display .content-box {
  padding: 0 60px;
  box-sizing: border-box;
  z-index: 100;
}

.block-display.right .content-box {
  margin-left: auto;
}

.newsposts {
  display: flex;
  flex: 1;
  gap: 20px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.newsposts .block-news {
  flex: 1 0 21%;
  max-width: calc(25% - 20px);
}

.newsposts .block-news img {
  display: block;
  margin-bottom: 15px;
}

.newsposts .content a {
  color: rgba(254, 205, 7, 1);
}

.show-me {
  background: rgba(254, 205, 7, 1);
  text-align: center;
  padding: 20px 0;
  margin-bottom: 60px;
  position: relative;
}

.show-me:after {
  content: "";
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid rgba(254, 205, 7, 1);
}

.show-me #cat {
  background: #f9e096;
  border: 0;
  margin-left: 20px;
  outline: none;
}

#wppb-login-wrap,
.contact-info {
  max-width: 400px;
  margin: 60px auto;
  border: 1px solid #c7c7c7;
  padding: 25px;
  border-radius: 4px;
  box-shadow: 0 0 15px #ebebeb;
}

.dan-member {
}

.dan-member .header {
  background: #f9e096;
  min-height: 300px;
  position: relative;
  margin-bottom: 100px;
  background-size: cover;
}

.dan-member .header .overlay {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 20px;
  min-height: 150px;
  background: rgb(0, 0, 0, 0.3);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 48%,
    rgba(0, 0, 0, 0) 100%
  );
}

.dan-member .header .overlay .profile {
  border: 4px solid #ffffff;
  display: block;
  width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 100%;
  bottom: -60px;
  left: 20px;
  position: absolute;
  box-shadow: 0 0 15px #858585;
  text-indent: -10000px;
  background: #ffffff;
}

.dan-member .header .overlay h1 {
  color: #ffffff;
  position: absolute;
  left: 250px;
  bottom: 20px;
  margin: 0;
  text-shadow: 0 0 15px #000000;
}

.dan-member .contact-info .social {
}

.dan-member .contact-info .social a {
  font-size: 30px;
  color: #fecd07;
  margin-left: 5px;
  /*text-shadow: 0 0 15px #858585;*/
}

.dan-member .contact-info {
  margin: 0;
  width: 30%;
  float: left;
  box-sizing: border-box;
  word-wrap: break-word;
  font-size: 14px;
}

.dan-member .contact-info label {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.dan-member .description {
  margin: 0;
  width: calc(70% - 20px);
  float: right;
}

.dan-member .work {
  clear: both;
  padding-top: 60px;
}

.dan-member .work-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}
.dan-member .work-gallery a {
  flex: 1 0 32%;
  text-align: center;
  /*max-width: calc(50% - 20px);*/
  background: #f8f8f8;
  padding: 20px 0;
  outline: 1px solid #bfbfbf;
}

.dan-member .work-gallery a img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.dan-search {
  text-align: center;
  box-shadow: 0 0 5px #666;
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 2px;
}

.dan-filters {
}

.dan-filters #wppb-remove-facets-container {
  padding: 0;
}

.dan-filters #wppb-remove-facets-container li {
  display: inline-block;
  margin: 0 5px;
}

.dan-filters ul.wppb-faceted-list {
  padding: 0;
  display: none;
}

.filter-toggle {
  cursor: pointer;
}

.filter-toggle:after {
  content: "Show Filters";
  display: block;
}

.filter-toggle.open:after {
  content: "Hide Filters";
  display: block;
}

.dan-filters ul.wppb-faceted-list > li {
  display: block;
  float: none;
  margin: 0 0 20px 0;
  max-width: 100%;
}

.dan-filters ul.wppb-faceted-list > li div {
  display: inline-block;
  margin: 2px;
}

.dan-filters ul.wppb-faceted-list > li div label {
  padding: 5px 15px;
  background: #e6e7e8;
  border-radius: 22px;
  font-weight: normal;
  font-size: 12px;
  line-height: 24px;
  display: block;
  cursor: pointer;
}

.dan-filters ul.wppb-faceted-list > li div label.checked {
  background: rgba(254, 205, 7, 1);
}

.dan-filters ul.wppb-faceted-list label > * {
  vertical-align: top;
}

.dan-filters ul.wppb-faceted-list > li div label input {
  opacity: 0;
  width: 0px;
  margin: 0;
}

.dan-list {
  display: flex;
  flex: 1;
  gap: 20px;
  margin: 60px 0px;
  flex-wrap: wrap;
}

.dan-list .dan-item {
  flex: 1 0 21%;
  max-width: calc(25% - 20px);
}

.dan-list .dan-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  text-indent: -10000px;
  background: #f7f7f7;
}

.login-password {
  position: relative;
}

.login-password #pass_toggle {
  position: absolute;
  right: 7px;
  top: 0px;
  z-index: 500;
  cursor: pointer;
}

.featured-single {
  background: #f9e096;
  margin-bottom: 40px;
}

.featured-single img {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.pms-account-subscription-details-table__actions {
  /*display:  none;*/
}

.pms-account-subscription-action-link__cancel,
.pms-account-subscription-action-link__abandon {
  display: none;
}

.wppb-form-field.wppb-heading {
  margin-bottom: 40px;
  background: #f8f8f8;
  padding: 20px 30px;
  border-radius: 4px;
  box-shadow: 0 2px 8px 3px rgb(0 0 0 / 10%);
}

.wppb-user-forms .wppb-checkboxes li,
.wppb-user-forms .wppb-radios li {
  display: block !important;
}

footer {
  background: rgba(254, 205, 7, 1);
  padding: 60px 0;
  margin-top: 120px;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

footer #menu-footer-nav {
  justify-content: center;
  margin-top: 30px;
  display: flex;
}

footer #menu-footer-nav li {
  line-height: 20px;
}

footer #menu-footer-nav li a {
  display: block;
  padding: 0 5px;
  border-right: 1px solid #000000;
}

footer #menu-footer-nav li:last-child a {
  border: none;
  line-height: 20px;
}

.sub-footer {
  font-size: 12px;
  line-height: 30px;
  text-align: center;
}

.wppb-msf-next {
  background-color: rgba(254, 205, 7, 1) !important;
}

/* single studio */
.neos-studio-title {
  display: grid;
  grid-template-columns: 60px 1fr;
  margin-bottom: 60px;
  gap: 20px;
}

.neos-studio-num {
  margin-top: 10px;
  background: rgba(254, 205, 7, 1);
  width: 60px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.neos-studio-title h1 {
  margin: 0;
}

.neos-studio-title a {
  text-decoration: none;
}

.neos-studio-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.neos-studio-image {
  text-align: right;
}

.neos-studio-image img {
  width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
}

.neos-studio-contact h4,
.neos-studio-venue h4 {
  margin: 10px 0;
}

.neos-studio-social {
  display: flex;
  gap: 5px;
}

.neos-studio-social a {
  background: #000000;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.neos-studio-background {
  background: var(--wp--preset--color--background-3);
  padding: 40px 0;
  margin: 40px 0;
}

.neos-studio-venue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.neos-studio-facilities {
  display: flex;
  margin: 20px 0;
  justify-content: start;
  gap: 5px;
}

.neos-studio-facilities a {
  background: #ffffff;
  border-radius: 50%;
  width: 40px;
  padding: 15px;
  height: auto;
  display: block;
}

.neos-studio-facilities a img {
  display: block;
}

.neos-studio-dates {
  display: flex;
  gap: 10px;
}

.neos-studio-date {
  font-size: 12px;
  text-align: center;
  width: 100px;
}

.neos-studio-date span {
  text-transform: uppercase;
  display: block;
}

.neos-studio-opening {
  background: var(--wp--preset--color--primary);
  border-radius: 5px;
  padding: 5px;
  margin-top: 10px;
}

.neos-studio-gallery {
  padding: 40px 0 80px 0;
}

@media all and (max-width: 700px) {
  .neos-studio-contact,
  .neos-studio-venue {
    grid-template-columns: 1fr;
  }
  /* display last grid item first */
  .neos-studio-image,
  .neos-studio-venue > div:last-child {
    order: -1;
  }
  .neos-studio-facilities,
  .neos-studio-dates {
    flex-wrap: wrap;
  }
  .os-studio-single {
    padding: 40px 0;
  }
}

@media all and (max-height: 500px) {
  .block-display {
    height: auto;
    padding: 20px 0;
  }
}

@media all and (min-width: 980px) {
  .mobile {
    display: none;
  }
}
@media all and (max-width: 980px) and (min-width: 672px) {
  .full {
    display: none;
  }
  .mobile {
    display: none;
  }
}
@media all and (max-width: 672px) {
  .full,
  .no-mobile {
    display: none;
  }
  .mobile {
    display: block;
  }

  .signposts,
  .newsposts {
    flex-direction: column;
  }

  .newsposts .block-news {
    width: 100%;
    margin-bottom: 20px;
  }

  header .search {
    display: none;
  }

  header .logo img {
    margin: 30px 0 30px auto;
  }

  .header-menu-mobile,
  .nav-menu {
    display: block;
  }

  .header-menu-mobile a {
    font-size: 12px;
    font-family: "Brother-1816-Regular";
  }

  .header-menu,
  header .nav-social {
    display: none;
  }

  header .hidden-nav {
    padding: 40px 0;
  }

  header .hidden-nav ul a {
    font-size: 28px;
    line-height: 60px;
  }

  .block-display {
    height: auto;
  }

  .block-display .content-box {
    padding: 20px;
  }

  .block-display:before {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 48%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .newsposts .block-news {
    max-width: 100%;
  }

  .dan-list {
    /*display:  block;*/
  }

  .dan-list .dan-item {
    /*max-width:  100%;
		display:  block;
		margin-bottom:  20px;*/
    flex: 1 0 51%;
    max-width: calc(50% - 20px);
  }

  .dan-member .header .overlay {
    top: 0px;
  }

  .dan-member .header .overlay h1 {
    left: 20px;
    bottom: auto;
    top: 20px;
    font-size: 25px;
    line-height: 30px;
  }

  .dan-member .header .overlay .social {
    bottom: auto;
    top: 20px;
  }

  .dan-member .header .overlay .profile {
    left: 50%;
    margin-left: -100px;
  }

  .dan-member .contact-info {
    width: 100%;
    float: none;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .dan-member .description {
    width: 100%;
    float: none;
  }

  footer .grid_4 {
    margin-bottom: 40px;
  }

  footer #menu-footer-nav {
    display: block;
  }

  footer #menu-footer-nav li a {
    border-right: 0px;
  }
}
@media all and (max-width: 380px) {
}
