@font-face {
  font-family: "Outfit";
  src: url("../../wp-content/themes/nakedaccounting/assets/fonts/Outfit/Outfit-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900; /* Variable weight from 100 to 900 */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair_Display";
  src: url("../../wp-content/themes/nakedaccounting/assets/fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900; /* Variable weight from 100 to 900 */
  font-style: normal;
  font-display: swap;
}

body {
  color: #4b4b4b;
  font-family: "Outfit";
  font-weight: 400;
}
a {
  /* color: #5E686F; */
  text-decoration: none;
  font-weight: bold;
}
#resoBox {
  width: 100%;
  text-align: left;
  /* margin: 40px auto 0 auto;  */
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle !important;
  margin-bottom: 3px;
}

#resoBoxLine,
#resoBoxHead,
.calcHeader {
  display: none;
}
#resoBox #resoBoxHead {
  /* background-image: url(resoBoxHeadBack.gif); */
  background-repeat: no-repeat;
  background-position: right;
  height: 45px;
}
#resoBox #resoBoxLine {
  height: 5px;
}
#resoBox #resoBoxMain {
  border-top: 0px;
  padding-bottom: 20px;
}
#resoBox #resoBoxMain .resoIconHead {
  float: left;
  margin-top: 20px;
  margin-left: 40px;
  background-repeat: no-repeat;
  background-position: left top;
  width: 280px;
}

.hmrcL {
  float: left;
}

#resoBox #resoBoxMain .resoIconHead a {
  /* font-family: 'Lato', sans-serif; */
  /* font-size: 1.2em;
	color: #C9C9C9; */
  text-decoration: none;
  font-weight: bold;
}
#resoBox #resoBoxMain .resoIconHead a:hover {
  /* font-family: 'Lato', sans-serif; */

  /* color: #5E686F; */
  text-decoration: underline;
  font-weight: bold;
}
#resoBox #resoBoxMain .resoIcon {
  float: left;
  margin-top: 20px;
  background-repeat: no-repeat;
  background-position: 50% 0px;
  text-align: center;
  width: 20%;
  padding: 0 15px;
}
#resoBox #resoBoxMain .resoIcon a {
  /* font-family: 'Lato', sans-serif; */

  text-decoration: none;
}
/* #resoBox #resoBoxMain .resoIcon a:hover {
	font-family: 'Lato', sans-serif;
	font-size: 1.1em;
	color: #000000;
	text-decoration: underline;
} */
#resoBox #resoBoxMain #resoBoxMainHead {
  height: 62px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  display: none;
}
#resoBox #resoBoxMain #resoBoxMainText {
  /* padding: 10px; */
}
#awards-logos {
  display: none !important;
}
h2 {
  margin-top: 70px;
}
hr {
  display: none;
}
#resoBoxMainText h2 {
  margin-top: 0;
}
.table_header {
  font-weight: bold;
}
.table_header p strong,
.table_sub_header p strong,
.table_header p b,
.table_sub_header p b,
.table_header p,
.table_sub_header p,
.table_header p,
.table_sub_header p {
  color: #fff !important;
}
.table_header {
  background-color: #2d3278;
}
td {
  /* padding: 10px;
  border: 2px solid #2D3278; */
}
small {
  font-size: 16px;
}
table {
  margin-bottom: 20px;
  span {
    color: #4b4b4b !important;
  }
  strong {
    color: #2d3278;
  }
}

iframe {
  height: 850px !important;
}
td {
  border: 1px solid #2d3278;
  padding: 5px;
}
.breadcrumbs {
  display: none;
}
#secondary {
  margin-top: 55px !important;
}

#secondary ul li {
  margin-left: 0;
  margin-bottom: 0;
}

#resoBoxMainText h1 {
  display: none;
}
#resoBoxMainText div {
  font-size: 16px !important;
}

#resoBoxMainText ul li {
  margin-left: 3em;
  /* margin-bottom: 0.5em; */
}

/* .table_header strong {
font-size: 1em;
color: #333;
} */

 iframe {
  width: 100% !important;
  min-height: 1100px;
}

@media (max-width: 932px) {
  #resoBox #resoBoxMain .resoIcon {
    width: 100%;
  }
}
/*-------------------------------*/
/*Custom styles website*/
/*-------------------------------*/

/*
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px 20px 0px;
}
*/

div {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/*
.cf:before,
.cf:after {
  content: " ";
  display: table; }
*/

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}

.grid-block {
  position: relative;
  width: calc((100% - 45px) / 4);
  margin-right: 15px;
  margin-bottom: 15px;
  float: left;
  overflow: hidden;
}
.grid-block:nth-child(4n) {
  margin-right: 0;
}
@media all and (max-width: 1100px) {
  .grid-block {
    width: calc((100% - 30px) / 3);
  }
  .grid-block:nth-child(4n) {
    margin-right: 15px;
  }
  .grid-block:nth-child(3n) {
    margin-right: 0;
  }
}
@media all and (max-width: 850px) {
  .grid-block {
    width: calc((100% - 15px) / 2);
  }
  .grid-block:nth-child(3n) {
    margin-right: 15px;
  }
  .grid-block:nth-child(2n) {
    margin-right: 0;
  }
}
@media all and (max-width: 650px) {
  .grid-block {
    width: 100%;
    margin-right: 0;
  }
}
.grid-block .grid-block-overlay {
  position: absolute;
  overflow: hidden;
  display: block;
  color: white;
  bottom: 0;
  right: 0;
  min-height: 24px;
  text-align: right;
  width: 100%;
  z-index: 10;
  padding: 14px 13px 11px 65px;
  font-size: 14px;
  transition: all 200ms ease;
}
.grid-block .grid-block-overlay > * {
  position: relative;
  z-index: 5;
}
.grid-block .grid-block-overlay:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 60px;
  z-index: 1;
}

.contact-grid-container {
  width: 100%;
  max-width: 1150px;
  @media screen and (max-width: 768px) {
    max-width: 100%;
  }
}
/* three - col */

.three-column-wrapper,
.hmrc-forms #resoBoxMainText {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 60px;
  align-items: stretch;
  place-items: stretch;
  a {
    color: #2d3278;
  }
}
.section-padding {
  padding-bottom: 100px !important;
}
.icon {
  display: inline-block;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.icon {
  width: 22%;
  height: auto;
  margin: auto;
  margin-bottom: 15px;
}

.hmrc-forms #resoBoxMainText {
  position: relative;
  br {
    display: none;
  }
  p {
    margin-bottom: 0 !important;
  }
  p:last-child {
    display: none !important;
  }
}
.hmrc-forms #resoBoxMainText span {
  display: block;
  position: absolute;
  top: -40px;
  float: none !important;
  margin-bottom: 50px;
}

.three-column-item,
.hmrc-forms #resoBoxMainText p {
  padding: 2rem 1.5rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 130px !important;
  background-image: url("https://nakedaccounting.co.uk/wp-content/uploads/2025/05/header-blue.jpg");
  background-position: bottom left;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  h4 {
    color: var(--blue);
    margin-bottom: 0px !important;
  }
  border-radius: 12px;
  transition: all 0.3s;
  height: 100%;
  width: 100%;
  text-align: center;
  will-change: transform;
  border-bottom: 5px solid transparent;
  h5 {
    color: var(--blue);
    line-height: 22px;
  }
}
.hmrc-forms #resoBoxMainText p {
  height: 180px !important;
  img {
    margin-bottom: 15px !important;
  }
}
.three-column-item:hover,
.hmrc-forms #resoBoxMainText p:hover {
  background: white !important;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  border-bottom: 5px solid var(--Green);
  transition: all 0.3s ease;
}
.three-column-item:hover .icon,
.hmrc-forms #resoBoxMainText p:hover img {
  transform: rotateY(180deg);
}
@media (max-width: 1024px) {
  .three-column-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .three-column-wrapper {
    grid-template-columns: 1fr;
  }
}
.page-hero {
  margin-bottom: 100px;
  height: 230px;
  margin-top: -20px !important;
}
@media screen and (max-width: 768px) {
  .section-padding {
    padding-bottom: 70px !important;
  }
  h2 {
    margin-top: 50px;
  }
  .page-hero {
    margin-bottom: 60px;
  }
}
.hmrc-forms-hero {
  margin-bottom: 140px !important;
}
.contact-block {
  width: calc((100% - 15px) / 2);
  overflow: visible;
}
.contact-block:nth-child(2n) {
  margin-right: 0;
}
.contact-block .grid-block-overlay {
  font-size: 1em;
  font-weight: bold;
  min-height: 60px;
  padding: 19px 0 19px 65px;
}
.contact-block .grid-block-overlay-extra {
  padding-left: 60px;
  font-size: 18px;
  font-weight: 300;
}
@media all and (max-width: 650px) {
  .contact-block {
    width: 100%;
  }
}

.grid-block-bg {
  height: 0;
  padding-bottom: 100%;
  position: relative;
  z-index: 2;
  background-size: cover !important;
}

.switchWrapper {
  display: none;
}
.slick-slide {
  height: auto;
}
