/*services*/
.services-column h3.wp-block-heading.has-text-align-center {
    margin-bottom: 1rem !important;
}
.services-column h3.wp-block-heading.has-text-align-center + p.has-text-align-center ~ p{
    margin-bottom: 0.25rem;
}
.services-column h3.wp-block-heading.has-text-align-center + p.has-text-align-center {
    margin-bottom: 2rem !important;
    font-family: var(--heading-font-thin);
}
/*services*/
/*client*/
.mfp-title {
    padding-right: 0;
}
header.archive-header.has-text-align-center.header-footer-group {
    background: #000 !important;
    padding-bottom: 0 !important;
}
body .entry-content, 
body .entry-content *,
body #site-content *:not(input),
body .entry-content, 
body .entry-content * {
    color: #fff !important;
}
.page-template-template-client .wp-block-gallery figure.wp-block-image img, .page-template-template-client .page-content img {
    margin: 1rem 1rem !important;
    width: fit-content !important;
    height: 4.8rem !important;
    max-width: 16rem !important;
    object-fit: contain !important;
}
.page-template-template-client .wp-block-gallery.has-nested-images figure.wp-block-image {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: unset;
    justify-content: center;
    max-width: 100%;
    position: relative;
    width: fit-content !important;
}
.page-template-template-client figure.wp-block-gallery,
.page-template-template-client .page-content p, 
.page-template-template-client .page-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: unset !important;
    max-width: 62rem;
    margin: 0 auto!important;
}
.page-template-template-client .page-content {
    max-width: 65rem;
    margin: 3rem auto 2rem auto;
}
.page-template-template-client #site-content {
    align-items: center;
    display: flex;
}


/*client*/
/*motion*/
.wrap-work.wrap-motion .img-p:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #00000036;
}
.mfp-gallery.mfp-img-motion .mfp-image-holder .mfp-figure .title-popup {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.875rem !important;
    text-align: left !important;
}
.mfp-gallery.mfp-img-motion .mfp-image-holder .mfp-figure .mfp-title img {
    max-width: 62%;
    margin: 0 !important;
    padding: 0 !important;
    height: 37.5rem;
    object-fit: cover;
}
.mfp-gallery.mfp-img-motion .mfp-image-holder .mfp-figure .mfp-title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.mfp-gallery.mfp-img-motion .mfp-image-holder .mfp-figure figcaption {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 !important;
    text-align: left !important;
}
.mfp-img-motion video {
    max-width: 62%;
    margin: 0 !important;
    padding: 0 !important;
    height: 27.5rem;
    object-fit: cover;
}
.mfp-img-motion img.mfp-img {
    display: none;
}
.wrap-work.wrap-motion .img-p:before {
    content: '';
    background: url('../image/play.svg') center center/contain no-repeat;
    width: 2rem;
    height: 2rem;
    filter: invert(1);
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}
.wrap-work.wrap-motion .img-p {
    height: 16.75rem;
}
/*motion*/
/*work*/
button.mfp-arrow::after,
button.mfp-arrow::before {
    display: none !important;
}
button.mfp-arrow.mfp-arrow-right.mfp-prevent-close {
    background: url('../image/right-arrow.svg') center center/contain no-repeat;
    width: 3.5rem;
    height: 3.5rem;
    filter: invert(1);
}
button.mfp-arrow.mfp-arrow-left.mfp-prevent-close{
    background: url('../image/right-arrow.svg') center center/contain no-repeat;
    width: 3.5rem;
    height: 3.5rem;
    filter: invert(1);
    transform: rotate(180deg);
}
.mfp-counter {
    display: none;
}
.mfp-gallery .mfp-image-holder .mfp-figure figure {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
img.mfp-img {
    max-width: 62%;
    margin: 0 !important;
    padding: 0 !important;
    height: 37.5rem;
    object-fit: cover;
}
.mfp-gallery .mfp-bottom-bar {
    margin-top: 0;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    cursor: auto;
}
.mfp-gallery .mfp-image-holder .mfp-figure figcaption p {
    color: #000;
    margin-bottom: 0;
}
.mfp-gallery .mfp-image-holder .mfp-figure figcaption h3{
    margin: 0 0 1.25rem 0;
    font-size: 3rem !important;
    font-family: var(--heading-font-bold);
    color:#000;
}
.mfp-gallery .mfp-image-holder .mfp-figure figcaption {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.875rem !important;
    text-align: left !important;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
    background: #fff;
    position: relative;
    padding: 0;
    width: auto;
    margin: 0 auto;
    max-width: 60rem;
}
a.popup-modal {
    opacity: 0;
}
.page-template-template-work header#site-header {
    background: #000; 
}
.wrap-work .box {
    text-align: center;
}
.wrap-work .item {
    flex-basis: 33.33%;
    max-width: 33.33%;
    padding: 0 0.625rem 1.25rem 0.625rem;
    position: relative;
}
.wrap-work .img-p a, .wrap-work .img-p img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform .2s;
}
.wrap-work .item .item-inner:hover .img-p img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: all .6s ease;
}
.wrap-work .item .item-inner .img-p{
    overflow: hidden;
    display: block;
}
.wrap-work .item a.ajax-popup-link,
.wrap-work .item a.popup-modal {
    display: inline-flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.wrap-work .item .item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}
.wrap-work .box h3 {
    flex: 1;
    margin-bottom: 0;
    font-size: 1.5rem;
}
p.short-desc {
    margin-bottom: 0;
    font-size: .875rem;
    line-height: 1.5rem;
    max-width: 16rem;
    margin: auto;
}
.wrap-work .box {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 1.25rem;
}
.wrap-work .img-p {
    height: 33.75rem;
    position: relative;
}
.wrap-work {
    display: flex;
    margin: 0 -0.625rem;
    flex-wrap: wrap;
}
.row.row-full {
    max-width: 92rem !important;
}
.white-popup-block {
    position: relative;
    background: #fff;
    padding: 0;
    width: auto;
    margin: 0 auto;
    max-width: 60rem;
}
button.mfp-close:hover {
    text-decoration: unset !important;
}
.white-popup-block .row > .box.col.large-6 h3 {
    margin: 0 0 1.25rem 0;
    font-size: 3rem !important;
    font-family: var(--heading-font-bold);

}
.white-popup-block .row > .box.col.large-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.875rem !important;
    text-align: left !important;
}
.white-popup-block .row > .col {
    padding: 0 !important;
}
.loadmore-news.text-center {
    text-align: center;
    margin: 2rem 0 4rem 0;
}
a.button.primary {
    background: transparent;
    text-decoration: underline;
    font-size: 1.5rem;
}
p#loading_loadmore {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
}

@keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
}
:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
}
.animate__fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    
}
.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
/*work*/
/*about*/
.page-template-template-about main#site-content {
    padding-top: 0 !important;
}
.page-template-template-about .banner-page .content > ul {
    width: 36%;
    display: inline-flex;
    flex-direction: column;
}
body main#site-content,
.page-template-default main#site-content,
.page-template-template-client main#site-content,
.page-template-template-work main#site-content,
.page-template-template-about main#site-content {
    background: #000 !important; 
}
body.admin-bar #site-content,
.admin-bar.page-template-default  #site-content,
.admin-bar.page-template-template-client  #site-content,
.admin-bar.page-template-template-work  #site-content,
.admin-bar .height-full{
    min-height: calc(100vh - 5.8rem);
}
body #site-content,
.page-template-default #site-content,
.page-template-template-client #site-content,
.page-template-template-work #site-content{
    min-height: calc(100vh - 3.8rem);
    padding-top: 6.5rem;
}
body.home main#site-content {
    padding-top: 0 !important;
}
.height-full{
    min-height: calc(100vh - 3.8rem);
    align-items: center;
    display: flex;
}
.banner-page img {
    object-position: top;
}
.banner-page ul li {
    margin: 0;
}
.banner-page ul {
    margin-bottom:1rem;
}
.banner-page .col.large-6.ml-auto {
    padding-left: 4rem;
}
.banner-page .content > ul {
    margin-left: 1rem !important;
}
.banner-page ul li,
.banner-page p {
    font-size: .875rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.5;
}
/*about*/
/*home*/
.banner-hero p a {
    text-decoration: unset;
}
.admin-bar .banner-hero {
    height: calc(100vh - 5.8rem);
}

.banner-hero {
    height: calc(100vh - 3.8rem);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.3);
}
.banner-hero h2 {
    font-size: 3.875rem;
    letter-spacing: 0.9px;
    margin-bottom: 0;
}
.banner-hero h1 {
    margin-bottom: 0;
    max-width: 36rem;
    margin-left: 0;
    padding-left: 4rem;
    margin-top: -3.8rem;
}
.banner-hero p {
    font-size: 0.6875rem;
    margin-bottom: 0;
    line-height: 1.4;
}
footer#site-footer a {
    text-decoration: underline;
}
/*home*/