/*------------------------------------------------------------------
[Master Stylesheet]

Template Name: Emily - Creative Photography Portfolio
Template Demo URL: 
Version: 1.0
Author: madsparrow.us

--------------------------------------------------------------------

[Table of contents]

1. General style
    1.1 Typography
    1.2 Specials Classes
2. Header
    2.1 Menu
    2.2 Burger Button
    2.3 Collapse Navigation
3. Pages Style
4. Home Slider
    4.1 Slider Navigation Buttons
    4.2 Slider Inner Info
  4.3 Pagination
5. Albums
6. Gallery
7. Blog
8. About
9. Contact
10. Footer
11. Responsive Rules
12.font

--------------------------------------------------------------------
# Font: 'Yantramanav';
--------------------------------------------------------------------
# Colors: #151515, #df1f29, #555555
------------------------------------------------------------------*/

/**
 * 1. General style
 */

/*Text font*/
/*@import 'https://fonts.googleapis.com/css?family=Yantramanav:100,300,400,500,700,900';*/

/*Social icons font*/
/*@import 'https://d1azc1qln24ryf.cloudfront.net/114779/Socicon/style-cf.css?rd5re8';*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

::selection {
    background: #555;
    color: #fff;
}

::-moz-selection {
    background: #555;
    color: #fff;
}

body {
    background: white;
    padding: 0;
    margin: 0 auto;
    min-height: 100vh;
    /*font-family: Arial, sans-serif;*/
    font-family: "Poppins", sans-serif;
    color: #151515;
}

article,
aside,
details,
figcaption,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

a {
    color: white;
    text-decoration: none;
}


.link-policy {
    position: absolute;
    bottom: 5%;
    display: flex;
    gap: 20px;
}

blockquote {
    padding: 10px 20px;
    color: #151515;
    font-size: 1.4em;
    font-style: italic;
    font-weight: 300;
    margin: 0 auto 30px;
}

ul {
    list-style-type: none;
    list-style: none;
    padding-left: 0 !important;
    -webkit-padding-start: initial !important;
    -moz-padding-start: initial;
}

menu,
ol,
ul {
    padding: 0 !important;
}

button {
    background: transparent;
    border: none;
}

button:focus {
    outline: none;
}

input,
textarea,
select {
    font-family: 'Lato', Arial;
}

textarea {
    padding: 14px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border: 1px solid #df1f29;
    box-shadow: none;
}

input[type="submit"] {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

input[type="submit"]:focus {
    outline: none;
}

input[type="file"]:focus {
    outline: none;
    border: unset;
}

img {
    width: 100%;
}


.row {
    margin-right: unset;
    margin-left: unset;
}

.title-focus {
    font-size: 35px;
    line-height: 35px;
}

.desc-focus {
    font-size: 35px;
    line-height: 30px;
    opacity: 0.5;
}


/* 1.1 Typography */

h1,
h2,
h4,
h5,
h6 {
    color: #151515;
    margin-top: 0;
    text-transform: uppercase;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: calc(26px + 16 * (100vw - 992px) / 1508);
}

h3 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 300;
    color: #C4C4C4;
}

h4 {
    font-size: calc(24px + 16 * (100vw - 992px) / 1508);
    font-weight: 300;
}

h5 {
    font-size: 20px;
    font-weight: 400;
}

h6 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: calc(10px + 10 * (100vw - 992px) / 1508);
}

p {
    font-size: calc(18px + 2 * (100vw - 992px) / 1508);
    line-height: 1.8;
    font-weight: 300;
}


.intro-cliente{
    width:100vw;
    height:100vh;
}
.intro-cliente .overlay{
    opacity: .4;
}

.back-button{
    display: none;
}

.table-lavori {
    border-collapse: collapse;
}

.table-lavori td {
    padding: 0;
    /* Rimuove padding interno */
}


.table-lavori td img {
    display: block;
    /* Rimuove lo spazio sotto l'immagine */
    width: 100%;
    /* Larghezza piena */
    height: 100%;
    /* Altezza piena */
    object-fit: cover;
    /* Adatta e taglia l’immagine se necessario */
    display: block;
    max-width: 100%;
    height: auto;
}


/* 1.2 Specials Classes */

.c-white {
    color: #fff !important;
}

.navbar-white {
    color: #fff;
    background-color: transparent !important;
}

.navbar-white-lavori {
    color: black;
    background-color: white !important;
}

.container_text_about_col {
    height: 100vh;
    display: flex;
    align-items: center;

}

.container_text_about {
    padding-left: 35%;
    padding-right: 10%;
}

.container_text_about h1 {
    font-size: 80px;
    line-height: 75px;
    margin-bottom: 20px;
}

.container_text_about span {
    font-size: max(2rem, min(1vw, 4.8rem));
    font-weight: 200;
    line-height: max(2.4rem, min(1.4vw, 4.8rem));
}

.center-block {
    display: flex;
    justify-content: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
    display: block;
}

.socials li {
    display: inline-block;
}

.share-links a {
    font-size: 19px;
    padding: .5em;
}

[class*="socicon-"] {
    display: inline-block;
    color: inherit;
    margin: 0;
    transition: opacity .3s ease;
}

#contact [class*="socicon-"] {
    padding-right: .7em;
}

[class*="socicon-"]:hover {
    opacity: .4;
}

/* 1.3 Button */

.ms-button {
    color: #151515;
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    margin-bottom: 0;
    font-weight: 400 !important;
    font-size: 14px;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    text-decoration: none;
    border: solid 1px;
    transition: color .4s ease;
}

.ms-button:after {
    position: absolute;
    display: block;
    content: attr(data-title);
    padding: 7px 0;
    font-size: 14px;
    left: 0;
    top: 0;
    width: 0%;
    background: #df1f29;
    color: #fff;
    text-indent: 1rem;
    transition: all .3s ease;
    overflow: hidden;
    border: none;
    bottom: 0;
}

.ms-button:hover {
    color: #df1f29;
}

.ms-button:active::after,
.ms-button:focus::after,
.ms-button:hover::after {
    width: 100%;
    padding-right: 25px;
}

.ms-btn--slider {
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    width: fit-content;
    font-weight: 600;
    letter-spacing: .15em;
}

.ms-btn--slider::before {
    content: '';
    height: .1rem;
    width: 2rem;
    margin-right: .7rem;
    background: white;
    transition: width .3s ease;
}

.ms-btn--slider:hover::before {
    width: 3rem;
}

/**
 * 2. Header
 */

.ms-header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 3;
    transition: background-color .3s ease;
}

.works .ms-header,
.chisiamo .ms-header,
.contattaci .ms-header,
.lavora .ms-header {
    background-color: unset
}

.inverted {
    background-color: #fff !important;
}

/* 2.1 Menu */

.ms-logo {
    position: relative;
    z-index: 7;
    height: 50px;
}

.logo-dark,
.logo-light {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s ease .4s;
}

.ms-logo img {
    width: auto;
    height: 100%;
}

.logo-dark.current,
.logo-light.current {
    opacity: 1;
}

.logo-dark.active,
.logo-light.active {
    opacity: 1;
    transition: opacity .1s;
}

.ms-nav {
    padding: 2em 3em;
    color: inherit;
}

/* 2.2 Burger button */

.hamburger {
    margin-right: 0;
    margin-left: auto;
    overflow: visible;
    cursor: pointer;
    z-index: 7;
    border: 0;
    transition-timing-function: linear;
    transition-duration: .3s ease;
    transition-property: opacity, -webkit-filter;
    transition-property: opacity, filter;
    transition-property: opacity, filter, -webkit-filter;
    margin-top: -6px;
}

.navbar-white .hamburger-label {
    color: #fff;
}

.navbar-white-lavori .hamburger-label {
    color: black;
}



.hamburger-label {
    display: block;
    font-family: 'Yantramanav', Arial;
    font-size: 16px;
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    left: -4em;
    padding-right: 4em;
    text-transform: uppercase;
    line-height: 1.5em;
    transition: color .3s ease .4s;
    color: #151515;
}

.hamburger.is-active .hamburger-label {
    color: #fff !important;
    transition: color .1s ease;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 20px;
    vertical-align: middle;
}

.hamburger-inner {
    display: block;
    top: 0;
}

.navbar-white .hamburger-inner,
.navbar-white .hamburger-inner:after,
.navbar-white .hamburger-inner:before {
    background-color: #fff;
}

.navbar-white-lavori .hamburger-inner,
.navbar-white-lavori .hamburger-inner:after,
.navbar-white-lavori .hamburger-inner:before {
    background-color: black;
}


.current_dark:after {
    background-color: black !important;
}

.current_dark:before {
    background-color: black !important;
}

.hamburger-inner:after,
.hamburger-inner:before {
    display: block;
    content: '';
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #151515;
    transition: all .3s ease .5s;
}

.hamburger-inner:before {
    top: 8px;
    left: -8px;
}

.hamburger-inner:after {
    top: 16px;
    width: 26px;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after {
    background-color: #fff;
    transition-delay: .1s;
}

.hamburger.is-active .hamburger-inner {
    -webkit-transform: translate3d(0, 8px, 0) rotate(45deg);
    transform: translate3d(0, 8px, 0) rotate(45deg);
}

.hamburger.is-active .hamburger-inner:before {
    opacity: 0;
    transition: opacity .3s ease 0s
}

.hamburger.is-active .hamburger-inner:after {
    width: 30px;
    -webkit-transform: translate3d(0, -16px, 0) rotate(-90deg);
    transform: translate3d(0, -16px, 0) rotate(-90deg);
}

/* 2.3 Collapse navigation */

.ms-nav {
    display: flex;
    align-items: center;
}

.height-full-viewport {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background-color: #151515;
    z-index: 5;
    overflow: hidden;
    transition: height .8s cubic-bezier(0.3, 1, 0.3, 1) .1s;
}

.ms-navbar {
    z-index: 6;
    margin: 0 auto;
    display: block;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

.ms-nav.is-visible .height-full-viewport {
    height: 100vh;
    transition: height 1s ease;
}

.nav-item {
    cursor: pointer;
    padding: .75em;
    opacity: 0;
    width: 240px;
    margin-left: 3em;
    transition: opacity .3s ease;
}

.ms-navbar a {
    display: block;
}

.ms-navbar .ms-btn {
    display: inline-block;
    text-transform: uppercase;
    line-height: 1;
    padding: 0 0.25em;
    position: relative;
}

.ms-navbar .ms-btn {
    font-size: 1.75em;
    letter-spacing: .02em;
    color: #fff;
    font-weight: 700 !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ms-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #df1f29;
    height: .1rem;
    top: 50%;
    width: 0;
    transition: width .3s ease;
}

.nav-item__label {
    position: relative;
    display: block;
    margin: 0.5em 0 0 0;
    margin-top: 0.25em;
    padding: 0.5em;
    color: #555;
    transition: color .3s ease;
    text-decoration: none;
}

.nav-item:hover .nav-item__label {
    color: #9a9a9a;
}

.is-visible .nav-item {
    opacity: 1;
    transition: opacity 2s cubic-bezier(0.16, 1.08, 0.38, 0.98) .3s;
}

.nav-item .ms-btn {
    transition: all .3s ease;
}

.nav-item:active .ms-btn,
.nav-item:focus .ms-btn,
.nav-item:hover .ms-btn {
    color: #df1f29;
    opacity: 1;
    padding-left: 2.4rem;
}

.nav-item:active .ms-btn::before,
.nav-item:focus .ms-btn::before,
.nav-item:hover .ms-btn::before {
    width: 2rem;
}

/**
 * 3. Pages Style
 */

.ms-preloader {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 8;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    background-color: #151515;
}

.ms-main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    background-color: #fff;
}

.ms-container {
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: 12em;
    z-index: 2;
}



.ms-container-full {
    width: 100%;
    height: 100%;
    position: relative;

}

.ms-section__block {
    padding-left: 30%;
    padding-right: 10%;
    margin: 2em auto 6em;
}

.ms-section__block-grid {
    margin: 2em auto 6em;
}

.ms-page-title span {
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #df1f29;
}

.iubenda-tp-btn {
    left: unset !important;
    right: 0px !important;
}

.page-header {
    font-size: 2vw;
    text-transform: uppercase;
    position: relative;
    margin: 15px 0;
}

.page-desc {
    font-size: 1.2vw;
    line-height: 1.3;
    color: #151515;
    letter-spacing: 0px;
}

/**
 * 4. Home Slider
 */

.home-slider {
    padding-top: 0 !important;
}

.swiper-container {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    overflow: hidden;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    background: -moz-linear-gradient(top, black 0, transparent 50%, transparent 63%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(top, black 0, transparent 50%, transparent 63%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, black 0, transparent 50%, transparent 63%, rgba(0, 0, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#c9000000', GradientType=0);
    transition: all .65s ease;
}

.swiper-slide-duplicate-active .overlay,
.swiper-slide-active .overlay {
    opacity: .4;
}

.slide-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-inner--image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: .2;
    transform: scale(1.07);
    -webkit-transition: opacity .6s ease-in-out, transform 2s ease .7s;
    -moz-transition: opacity .6s ease-in-out, transform 2s ease .7s;
    transition: opacity .6s ease-in-out, transform 2s ease .7s;
    animation: panning 60s infinite linear;
}

.swiper-slide-duplicate-active .slide-inner--image,
.swiper-slide-active .slide-inner--image {
    opacity: 1;
    transform: scale(1);
}



.slide-inner--video {
    position: absolute;
    width: 100%;
    height: 100vh;
    /*background-size: cover;
    background-position: center;
    opacity: .2;
    transform: scale(1.07);
    -webkit-transition: opacity .6s ease-in-out, transform 2s ease .7s;
    -moz-transition: opacity .6s ease-in-out, transform 2s ease .7s;
    transition: opacity .6s ease-in-out, transform 2s ease .7s;*/
}

.swiper-slide-duplicate-active .slide-inner--video,
.swiper-slide-active .slide-inner--video {
    opacity: 1;
    transform: scale(1);
}

/* 4.1 Slider navigation buttons */

.swiper-button-prev,
.swiper-button-next {
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .2em;
    line-height: 2em;
    font-size: 12px;
    width: auto;
    height: 24px;
    background-image: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.swiper-button-prev {
    padding-left: 6em;
    left: 0;
    -webkit-transition: padding-left .3s ease;
    -moz-transition: padding-left .3s ease;
    transition: padding-left .3s ease;
}

.swiper-button-next {
    padding-right: 6em;
    right: 0;
    -webkit-transition: padding-right .3s ease;
    -moz-transition: padding-right .3s ease;
    transition: padding-right .3s ease;
}

.swiper-button-prev::after {
    content: "";
    width: 4em;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: calc(50% - 1px);
    -webkit-transition: width .3s ease;
    -moz-transition: width .3s ease;
    transition: width .3s ease;
}

.swiper-button-next::after {
    content: "";
    width: 4em;
    height: 1px;
    background-color: #fff;
    position: absolute;
    right: 0;
    top: calc(50% - 1px);
    -webkit-transition: width .3s ease;
    -moz-transition: width .3s ease;
    transition: width .3s ease;
}

.swiper-button-prev:hover {
    padding-left: 90px;
}

.swiper-button-prev:hover::after {
    width: 75px;
}

.swiper-button-next:hover {
    padding-right: 90px;
}

.swiper-button-next:hover::after {
    width: 75px;
}

/* 4.2 Slider inner info */

.slide-inner--info {
    position: absolute;
    width: auto;
    min-height: 50px;
    bottom: 3em;
    padding-left: 3em;
    color: #fff;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



.swiper-slide-active .slide-inner--info {
    opacity: 1;
    transition: opacity 1s ease 1s;
}

.slide-inner--info h1 {
    margin: 10px 0;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1em;
    color: #fff;
}

.slide--info__link {
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: solid 2px;
}

.swiper-slide--bottom {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* 4.3 Pagination */

.expanded-timeline {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: right;
    -ms-flex-pack: right;
    justify-content: right;
    z-index: 3;
    bottom: 2.8em;
    right: 3em;
    width: 40vh;
}

.swiper-pagination {
    z-index: 4;
    width: 85%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, .5);
}

.swiper-pagination-progressbar-fill {
    background: #fff !important;
}

.expanded-timeline__counter {

    width: 5%
}

.expanded-timeline__counter span {
    text-align: center;
    margin-left: 1.8em;
    margin-right: 100%;
    padding: .4em 0;
    color: #fff;
    display: block;

}

.scroll-message {
    position: absolute;
    right: 0;
    color: #fff;
    opacity: 1;
    font-size: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    letter-spacing: .15em;
}

.scroll-svg {
    width: 24px;
    margin: 0 auto 1.2em;
    display: block;
}

/**
 * 5. Albums
 */

.filtr-container {
    transition: height .5s ease-out;
    overflow: hidden;
}

.filtr-btn {
    display: inline-block;
    margin-bottom: 2.4em;
}

.filtr-btn li {
    cursor: pointer;
    display: inline-block;
    opacity: .5;
    margin-bottom: 15px;
    transition: opacity .3s ease;
}

.filtr-btn h6 {
    margin-bottom: 0;
    padding-right: 1.2em;
}

.filtr-btn li.active {
    opacity: 1;
}

.filtr-btn li:hover {
    opacity: 1 !important;
}

.album-item {
    padding-bottom: 0px;
}

.album-item a {
    padding-top: 60%;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 9;
    aspect-ratio: 1;
}

.album-item__img {
    position: absolute;
    width: 100.5%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: 50% 50%;
    background: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1);
    transition: transform .3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.album-item__overlay {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100.5%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.album-item__cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s ease;
}

.album-item__overlay h5 {
    position: relative;
    color: #fff;
    margin: 0;
    max-width: 100%;
    padding: 1em;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
    transform: scale(1.5);
    opacity: 0;
    transition: all .3s ease;
}

.album-item:hover .album-item__img {
    transform: scale(1.1);
}

.album-item:hover .album-item__cover,
.album-item:hover .album-item__overlay h5 {
    opacity: 1;
    transform: translateZ(0);
}

/**
 * 6. Gallery
 */

.ug-thumb-overlay:hover::before {
    top: 15px;
    right: 15px;
}

.ug-thumb-overlay:hover::after {
    bottom: 15px;
    left: 15px;
}

.ug-thumb-image {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0;
    transition: transform .3s ease, opacity 2s cubic-bezier(0.16, 1.08, 0.38, 0.98) 0s !important;
}

.ug-thumb-image {
    transform: scale(1) !important;
}

.ug-thumb-wrapper,
.post-item {
    pointer-events: none;
}

.ug-thumb-wrapper.ug-tile.ug-tile-clickable.ug-thumb-ratio-set:hover .ug-thumb-image {
    transform: scale(1.1) !important;
}

/**
 * 7. Blog
 */

.ms-right-sidebar {
    display: inline-block;
}

.ms-right-sidebar h5 {
    margin-bottom: 15px;
}

.ms-right-sidebar a {
    display: block;
    border-top: solid 1px rgba(103, 103, 103, .3);
    padding: 15px 0;
}

.ms-right-sidebar a:hover .post-item__title,
.ms-right-sidebar a:hover .post-item__title {
    color: #df1f29;
}

.ms-right-sidebar .post-item__title {
    margin-bottom: 0;
    transition: color .3s ease;
}

.ms-right-sidebar .post-item__date {
    margin-top: .3em;
}

#ms-blog-post img {
    margin-bottom: 30px;
}

.post-item {
    margin-bottom: 3em;
    padding-right: 3em;
}

.post-item:nth-child(2n) {
    padding-right: 15px;
    padding-left: 3em;
}

.post-item__img {
    position: relative;
    overflow: hidden;
}

.album-item__overlay::before,
.post-item__img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    background-color: rgb(240, 240, 240);
    transition: opacity 2s cubic-bezier(0.16, 1.08, 0.38, 0.98) 1.2s;
}

.loaded .album-item__overlay::before,
.loaded .post-item__img::before {
    opacity: 0;
}

.post-item__img img {
    width: 100%;
    height: auto;
    max-height: 35em;
    padding: 0;
    display: block;
}

.post-item__img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    background: rgba(231, 55, 39, 0);
    background: -moz-radial-gradient(center, ellipse cover, rgba(231, 55, 39, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(231, 55, 39, 0)), color-stop(100%, rgba(0, 0, 0, 1)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(231, 55, 39, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(231, 55, 39, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(231, 55, 39, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: radial-gradient(ellipse at center, rgba(231, 55, 39, 0) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#e73727', endColorstr='#000000', GradientType=1);
    transition: opacity .3s ease;
}

.post-item__info {
    position: relative;
    margin: 2.5em 0 0 2.5em;
}

.post-item__title {
    width: 100%;
    max-width: 400px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 20px;
}

.post-item__date {
    margin-left: 0;
    margin-right: auto;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
}

.post-item__link {
    position: absolute;
    width: auto;
    bottom: 0;
    right: 0;
    padding-right: 3em;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .12em;
    -webkit-transition: padding-right .3s ease;
    -moz-transition: padding-right .3s ease;
    transition: padding-right .3s ease;
}

.post-item__link::after {
    content: '';
    width: 2em;
    height: 1px;
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    background: red;
    -webkit-transition: width .3s ease;
    -moz-transition: width .3s ease;
    transition: width .3s ease;
}

.post-item:hover .post-item__img::after {
    opacity: .7;
}

.post-item:hover .post-item__link::after {
    width: 3em;
}

.post-item:hover .post-item__link {
    padding-right: 4em;
}

.ms-pagination {
    padding: 0;
    display: flex;
    justify-content: center;
}

.page-item {
    height: auto;
    position: relative;
    display: inline-block;
    margin: 0 .5em;
    border-right: none !important;
}

.page-item:last-child {
    border-right: solid 1px rgba(0, 0, 0, .1);
}

.page-link {
    padding: 1em;
    display: block;
    line-height: 1em;
}

/**
 * 8. About
 */

.about__info {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.about__info h4 {
    margin: 1em 0;
}

#about .row {
    margin-bottom: 9em;
}

/**
 * 9. Contact
 */

.form-group {
    position: relative;
    margin: 0;
    transition: border-color .3s ease;
    padding-right: 10px !important;
}

.form-control {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 1em;
    height: 34px;
    font-size: calc(16px + 2 * (100vw - 992px) / 1508) !important;
    color: #151515;
    font-weight: 300;
    margin-bottom: 10px;
    background-image: none;
    border: 1px solid #555;
}


.form-control-file {
    position: relative;
    display: block;
    width: 100%;
    font-size: calc(16px + 2 * (100vw - 992px) / 1508);
    color: #151515;
    font-weight: 300;
    margin-bottom: 2em;
    font-weight: 300;
    background-image: none;

}

.form-control-privacy {
    position: relative;
    display: block;
    width: 100%;
    font-size: calc(16px + 2 * (100vw - 992px) / 1508);
    color: #151515;

    margin-bottom: 2em;

    background-image: none;

}

.form-control-privacy .checkbox {

    font-weight: 300;


}

#message {
    min-height: 150px;
    max-height: 150px;
    max-width: 100%;
    min-width: 100%;
    padding: 10px 14px;
}

label.error {
    position: absolute;
    bottom: 1.2em;
    font-size: 12px;
    color: #df1f29;
}

/**
 * 10. Footer
 */

footer {
    position: absolute;
    /* right: 0; */
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 2em 3em;
}

.ms-footer {
    display: flex;
    font-size: 16px;
    justify-content: space-between;
}

/*
.ms-footer .copyright {
    padding: 1.2em 0;
    margin-left: 0;
    margin-right: auto;
}
.ms-footer .socials {
    padding: 0;
    margin-left: auto;
    margin-right: 0;
}
.ms-footer .socials a {
    padding-left: 15px;
}*/


.hide-desktop {
    display: none;
}

.hide-mobile {
    display: inherit;
}

/**
 * 11. Responsive Rules
 */
.responsive-row {
    display: none;
}

@media only screen and (max-width: 805px) {

    .back-button{
        display: inherit;
        font-size: 35px;
        margin-right: 70px;   
        transition: color .3s ease .4s;     
    }
    .back-button.current_dark{
        color: black;
    }

    .ms-navbar {
        margin-top: -80px;
    }

    .link-policy {
        position: absolute;
        bottom: 17%;
        display: flex;
        gap: 20px;
    }

    .grid-responsive {
        overflow-x: auto;
    }

    .responsive-row {
        /*        display: block;
        transform: rotate3d(0, 0, 15, 90deg);
        position: absolute;
        height: 50px;
        top: 24%;
        width: 15%;
        margin: 99% 40%;
        background: #93939378;
        padding: 10px;
        border-radius: 1px;*/

        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        transform: rotate3d(0, 0, 15, 90deg);
        position: absolute;
        width: 15%;
        margin: 468px 38%;
        background: #93939378;
        padding: 3%;
        border-radius: 1px;
    }

    .hide-desktop {
        display: inherit;
    }

    .hide-mobile {
        display: none;
    }

    .hamburger-label {
        display: none;
    }


    .container_text_about_col {
        margin-top: -30px;
    }

    .container_text_about {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: -50px;
    }

    .container_text_about h1 {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 10px;
    }

    .container_text_about span {
        font-size: 22px;
        font-weight: 200;
        line-height: 28px;
    }


    .works .ms-header {
        background-color: #fff
    }

    .slide-full {
        padding-top: 6rem;
    }

    .slide-full img {
        height: auto !important
    }

    h1 {
        font-size: 30px;
    }

    h6 {
        font-size: 16px;
    }

    blockquote {
        margin: 0 auto 15px;
        font-size: 1em;
    }

    .expanded-timeline {
        width: 50vh;
    }

    .ms-nav {
        padding-top: 1.4em;
    }

    .ms-navbar .ms-btn {
        font-size: 1.4em;
    }

    .ms-navbar {
        position: relative;
        width: 100%;
        min-height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
    }

    .nav-item {
        display: inline-block;
        width: auto;
        margin-left: 0;
    }

    /*.nav-item__label {
        display: none;
    }*/
    .ms-navbar a {
        text-align: center;
        line-height: 10px;
    }

    .ms-nav {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 1.4em;
    }

    .overlay {
        background: -moz-linear-gradient(top, black 0, transparent 35%, transparent 45%, rgba(0, 0, 0, 0.9) 100%);
        background: -webkit-linear-gradient(top, black 0, transparent 35%, transparent 45%, rgba(0, 0, 0, 0.9) 100%);
        background: linear-gradient(to bottom, black 0, transparent 35%, transparent 45%, rgba(0, 0, 0, 0.9) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#c9000000', GradientType=0);
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 50vh;
    }

    .swiper-button-prev {
        padding-left: 3em;
    }

    .swiper-button-next {
        padding-right: 3em;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        width: 2em;
    }

    .swiper-button-prev:hover {
        padding-left: 3em;
    }

    .swiper-button-prev:hover::after {
        width: 2em;
    }

    .swiper-button-next:hover {
        padding-right: 3em;
    }

    .swiper-button-next:hover::after {
        width: 2em;
    }

    .expanded-timeline {
        display: none;
    }

    .slide-inner--info {
        width: 100%;
        text-align: left;
        min-height: 50px;
        bottom: 150px;
        padding-left: 20px;
        padding-right: 20px;
        color: #fff;
        z-index: 1;
        opacity: 0;
        transition: opacity 1s ease;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /*.ms-btn--slider {
        margin: 15px auto;
        display: inline-block;
        letter-spacing: .15em;
        background: #df1f29;
        color: #fff;
        padding: .5em 0;
    }*/
    .ms-btn--slider::before {
        content: '';
        height: .1rem;
        width: 2rem;
        margin-right: .7rem;
        background: white;
        transition: width .3s ease;
    }

    .ms-container {
        padding-top: 6em;
        padding-bottom: 3em;
    }

    .ms-container.home-slider {
        padding-bottom: 0 !important;
    }

    footer {
        position: relative;
        right: unset;
        bottom: unset;
        left: unset;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 1.4em;
    }

    .ms-footer {
        flex-direction: column;
        gap: 20px;
    }

    .ms-section__block {
        padding: 0;
        width: auto;
        margin: 0 20px 3em;
    }

    .page-header {
        font-size: 23px;
        line-height: 27px;
    }

    .page-desc {
        width: 100%;
        font-size: 1.2em;
        line-height: 1.5;
        color: #151515;
        letter-spacing: 0px;
    }

    .page-desc-d-none {
        display: none;
    }

    .post-item,
    .post-item:nth-child(2n) {
        padding-right: 15px;
        padding-left: 15px;
    }

    #contact>div {
        margin-bottom: 30px;
    }

    .ms-footer .copyright {
        margin-left: 0px;
    }

    /*.ms-footer .socials {
        display: none;
    }*/
}

.home-slider video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    height: 100% !important;
    z-index: -100;
    object-fit: cover;
    object-position: center;

}

.slide-full {
    position: relative;
    width: 100vw;

}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding-left: 0px;
    padding-right: 0px;
}

.container-video-intro {
    height: 100vh;
}

.slide-full img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: center;

}

.fullwidth {
    width: 100%
}

.slide-full-container--info {
    width: 85%;
    max-width: 88em;
    margin: auto;
}

.ms-section__block-work {
    width: 100%;
    max-width: 100vw;
    margin: 2em auto 0em;
    position: absolute;
    /* bottom: 16rem; */
    bottom: 0;
}

.slide-full--info {



    min-height: 50px;
    bottom: 0.5em;

    color: #fff !important;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    font-size: 4.5vw;
    line-height: 4vw;
    margin: 0em auto 0.5em;
}

.about__info p {
    margin-bottom: 3rem
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
}

.infoblock h5 {
    font-size: 40px;
    color: #fff;
    line-height: 42px;
    margin-bottom: 1rem;
    font-weight: 700;

}

.infoblock {
    padding: 35px;

    color: #fff;
}

.infoblock p {
    font-size: 22px;
    line-height: 26px;
}

.infoblock.a {
    background-color: #438991;
}

.infoblock.b {
    background-color: #bd7e32;
}

.infoblock.c {
    background-color: #95c45a;
}

.infoblock.d {
    background-color: #686f79;
}

.infoblock.e {
    background-color: #873e93;
}

.infoblock.f {
    background-color: #cc1b47;
}

.infoblock .soft {
    color: #d0e1e3;

}

@keyframes panning {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 100% 100%;
    }

    50% {
        background-position: 100% 0%;
    }

    75% {
        background-position: 0 100%;
    }

    100% {
        background-position: 0 0;
    }
}

/**
 * 1. Font style
 */
.lato-light {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lato-light-italic {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: italic;
}