

/* CAROUSEL
 * -------------------------------------------------- */

[data-carousel] .slick-slide:first-child {
    display: block;
}
[data-carousel] .slick-slide:not(:first-child){
    display: none;
}
.slick-slider.slick-initialized .slick-slide {
    display: block;
}
.slick-slider .slick-list {
    position: relative;
    z-index: 10;
}
.slick-slider .slick-slide {
    position: relative;
    outline: none !important;
}
.slick-slider.slick-initialized .slick-slide {
    display: block !important;
}
.slick-slider .slick-arrow{
    display: block;
    position: absolute;
    top: 50%;

    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    margin-top: -24px;
    text-align: center;
    line-height: 48px;

    border: none;
    outline: none !important;
    color: #FFF;
    font-size: 20px;
    background-color: rgba(0,0,0,0.4);
    cursor: pointer;
    z-index: 20;
}
.slick-slider .slick-prev {
    left: 0;
}
.slick-slider .slick-next {
    right: 0;
}

/* slick dots */
.slick-slider .slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 0;
    z-index: 30;
}
.slick-slider .slick-dots li {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
}
.slick-slider .slick-dots li + li {
    margin-left: 8px;
}
.slick-slider .slick-dots li span {
    display: block;
    position: relative;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #EEE;
    outline: none;
}
.slick-slider .slick-dots li.slick-active span{
    background-color: #DDD;
}


/* Media Library Input
------------------------------------------------------------ */

.media-library-input,
.media-library-input * {
    user-select: none;
}
.media-library-input .media-library-items {
    display: block;
    margin: 10px -10px;
}

.media-library-input .media-library-items .media-library-item,
.media-library-item.draggable-mirror {
    display: inline-block;
    position: relative;
    border-radius: .42rem;
    background-repeat: no-repeat;
    background-size: cover;
}
.media-library-input .media-library-items .media-library-item {
    margin: 10px;
}
.media-library-input .media-library-items .media-library-item .media-library-item-wrapper,
.media-library-item.draggable-mirror .media-library-item-wrapper {
    display: block;
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: .42rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    box-shadow: 0 .5rem 1.5rem .5rem rgba(0,0,0,.075);
}

.media-library-input .media-library-items .media-library-item .media-library-item-wrapper .media-library-item-controls,
.media-library-item.draggable-mirror .media-library-item-wrapper .media-library-item-controls {
    display: block;
    position: absolute;
    right: 9px;
    bottom: -14px;
}

.media-library-input .media-library-items .media-library-item .media-library-item-wrapper .media-library-item-controls  .btn,
.media-library-item.draggable-mirror .media-library-item-wrapper .media-library-item-controls .btn {
    height: 28px;
    width: 28px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 5px;
}
.media-library-input .media-library-items .media-library-item.draggable-source--is-dragging .media-library-item-wrapper{
    border: 5px dashed #EEE;
    background-color:#f9f9f9;
    background-image: none !important;
}
.media-library-input .media-library-items .media-library-item.draggable-source--is-dragging .media-library-item-wrapper .media-library-item-controls {
    display: none;
}

.media-library-item-wrapper.attachment img {
    margin: 10px auto;
    display: block;
}

.media-library-item-wrapper.attachment p {
    margin: 10px auto;
    display: block;
    padding: 0 10px;
    text-align: center;
}


/* Multi Select
------------------------------------------------------------ */

.ms-container {
    width: 100%;
}
.ms-container .ms-list {
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.ms-container .ms-optgroup-label {
    font-size: 14px;
}
.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection {
    font-size: 13px;
}
.ms-container .ms-list.ms-focus {
    border-color: #999999;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover {
    color: #333;
    background-color: #eee;
}
.ms-container .form-control {
    margin-bottom: 5px;
}


/* Contenuti
------------------------------------------------------------ */

.contents-container {
    padding: 30px 30px 5px;
    margin: 30px 0;
    background: #eef0f8;
}

/* Personalizzazioni
------------------------------------------------------------ */

.card-sticky-on .card.card-custom.card-sticky>.card-header {
    position: initial;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.list-thumb {
    display: block;
    width: 100%;
    max-height: 60px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.list-thumb:before {
    content: "";
    padding-top: 100%;
    display: block;
}


.editor-blockquote {
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 21px;
}

.imported-item {
    border-top: 1px solid #ebedf3;
}

.imported-item:first-child {
    margin-top: 25px;
}

.draggableItem .draggableItem-handle {
    cursor: move;
}


/******************************
 3RD PARTY PLUGIN CUSTOMIZATION
******************************/
/***
Bootstrap Colorpicker
***/
a.color_picker {
    background-image: url(../images/color_swatch.png);
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    float: left;
    overflow: hidden;
    text-indent: -999px;
    padding: 0 20px;
}
.input-group.color .input-group-btn i {
    position: absolute;
    display: block;
    cursor: pointer;
    width: 20px;
    height: 20px;
    right: 6px;
}

.colorpicker.dropdown-menu {
    padding: 5px;
    min-width: 130px !important;
}


.colorpicker-2x .colorpicker-saturation {
    width: 200px;
    height: 200px;
}

.colorpicker-2x .colorpicker-hue,
.colorpicker-2x .colorpicker-alpha {
    width: 30px;
    height: 200px;
}

.colorpicker-2x .colorpicker-color,
.colorpicker-2x .colorpicker-color div {
    height: 30px;
}

/* change z-index when opened in modal */
.modal-open .colorpicker {
    z-index: 10055 !important;
}


.uppy-Dashboard--modal {
    z-index: 999999;
}

.gmaps {
    height: 300px;
    width: 100%;
}

.coords-modal {
    z-index: 9999;
}

.bootbox.modal{
    overflow: auto !important;
}

/* Form VIEW MODE */

.view-field.not-editor {
    font-size: 14px;
    background-color: #f3f6f9;
    color: #7e8299;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #f3f6f9;
    border-radius: 0.42rem;
    min-height: 42px;
}

.view-content {
    font-size: 14px;
}

.login-language-chooser {
    background: #1a1029;
}

.login-language-chooser ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.login-language-chooser ul li {
    padding: 15px 5px 0;
}

body.off-canvas-open main {
    position: relative;
}

body.off-canvas-pre main::after {
    transition: background .6s ease;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; 
    z-index: 9999;
}

body.off-canvas-open main::after {
    background: rgba(0, 0, 0, 0.3);
}

.off-canvas-wrapper {
    z-index: 10000;
}

p {
    text-align: justify;
}

/* Home
 * -------------------------------------------------- */
.btn-menu .menu-icon {
    background-color: transparent !important;
    font-size: 18px;
    line-height: 22px;
    margin-right: 12px;
    margin-bottom: 8px;
    transition: 0.4s;
}

.btn-menu .div-span {
    /* display: block; */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

html.no-touch .btn-menu:hover .menu-icon {
    transform: translateX(10px);
}

.header-action-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-home .testata-area .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    text-align: right;
}

.header-home .testata-area .container .header-subtitle {
    color: #DD1A1E;
    text-transform: uppercase;
    font: 18px/22px Karla;
}

.header-home .testata-area {
    align-items: center;
    padding-bottom: 0;
}

.brand-logo-content {
    display: flex;
    height: 110px !important;
}

.text-read-more {
    margin-top: 0!important;
    color: #DD1A1E;
}

h2, h3, h4, h5, h6 {
    font-family: "Karla", sans-serif;
}

/* h1 {
    font: normal normal 300 calc(1.325rem + 2.1vw) Roboto!important;
} */

h5 {
   font: bold 18px/22px!important;
}

.title_slide {
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
}

.text_slide {
    color: #FFF;
    padding: 15px 0;
}

.btn-close {
    background: none;
    content: "\e680";
    padding: 0;
}

.res-mobile-menu .slicknav_nav li:last-child a {
    padding-right: 20px;
    padding-left: 0;
    margin-left: -6px;
}

.res-mobile-menu .slicknav_nav li:last-child img {
    height: 27px;
}

.widget-item .widget-title {
    margin-bottom: 10px;
}

.collab-title {
    text-align: center;
}

p {
    color: #333333;
}

h6, .h6 {
    color: #333333;
}
.p-footer {
   color: #878c9b;
    font-size: 14px;
    line-height: 1;
}

.our-service-area-home .service-image {
    display: flex;
    justify-content: flex-end;
}

.our-service-area-home .list-box-item .list-box__serial .serial-no {
    width: 39px;
}

.our-service-area-home .list-box-item {
    margin-top: 37px;
}

.our-service-area-home .architecture-service-wrap a::after {
    content: '';
    width: 0px;
    height: 2px;
    display: block;
    background: #DD1A1E;
    transition: 300ms;
}

html.is-touch .home-portfolio .portfolio-item:before{
    visibility: visible;
}

html.is-touch .portfolio-item__info {
    visibility: visible;
    opacity: 1;
}

html.is-touch .portfolio-item__info .category {
    -webkit-transform: none;
    transform: none;
}

html.no-touch .our-service-area-home .architecture-service-wrap .read-more-service {
    display: none;
}

html.is-touch .our-service-area-home .architecture-service-wrap p {
    margin: 0;
}

html.no-touch .our-service-area-home .architecture-service-wrap a:hover::after {
    width: 100%;
}

/* scrollUp */
#scrollUp {
    background: #DD1A1E;
    height: 50px;
    width: 50px;
    right: 50px;
    bottom: 77px;
    color: #ffffff;
    border: 3px solid #DD1A1E;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 50px;
}

html.no-touch #scrollUp:hover {
    background: #fff;
    color: #DD1A1E;
    border: 3px solid #DD1A1E;
}

.home-portfolio .portfolio-item__thumb img,
.studio-area .portfolio-item__thumb img {
    width: 100% !important;
}

/* Slider
 * -------------------------------------------------- */
.container-slideshow-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.slider-button {
    color: rgb(255, 255, 255);
    font-size: 14px;
    line-height: 51px;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    background-color: #DD1A1E;
    border-color: #DD1A1E;
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-radius: 30px 30px 30px 30px;
    width: 200px;
    text-align: center;
}

.home-slider .slider-button {
    text-transform: uppercase;
}

html.no-touch .slider-button:hover {
    color: #DD1A1E;
    background-color: #fff;
    border-color: #DD1A1E;
}

.slider-button {
    transition: all 0.4s ease;
}

.slideshow-caption {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9;
    background: rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slideshow-caption-text {
    display: flex;
    text-align: right;
    transform: translateX(-160px);
}

.main-slider {
    position: relative;
    z-index: 10;
}

.home-slider .slick-slide img{
    min-height: 250px;
    object-fit: cover;
}

.slick-slider .slick-prev:before{
    content: '\f053';
}
.slick-slider .slick-next:before{
    content: '\f054';
}

.slick-slider .slick-arrow {
    background-color: transparent;
    font-size: 43px;
    margin: 0 80px;
}

.res-mobile-menu .slicknav_nav li a {
    text-transform: none;
}

/* Testata pagine
 * -------------------------------------------------- */
.testata-area {
    background-image: url(/assets/main/img/home-header.jpg);
    position: relative;
    display: block;
    background-color: #727272;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 629px;
    padding-bottom: 85px;
    /* padding: 17.2% 0 4.5% 0; */
    display: flex;
    align-items: flex-end;
}

.header-title {
    color: #fff;
    font: 300 calc(1.325rem + 1.5vw) Roboto;
    padding-bottom: 15px;
}

.header-subtitle {
    color: #fff;
    font: bold 18px/22px Karla;
}

/* Studio
 * -------------------------------------------------- */

a.anchor {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

.text-curriculum {
    color: #DD1A1E;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-bottom: 5px;
}

.studio-area .row-studio a::after {
    content: '';
    width: 0px;
    height: 2px;
    display: block;
    background: #DD1A1E;
    transition: 300ms;
}

html.no-touch .studio-area .row-studio a:hover::after {
  width: 31%;
}

.text-curriculum-icon {
    font-size: 30px;
}

.border-red {
    border-top: 3px solid #DD1A1E;
    width: 80px;
}

.row-border-red{
    margin: 0 !important;
    padding: 50px 0;
}

.studio-area .row-border-red:last-child {
    display: none;
}

.row-studio {
    justify-content: space-between;
}

.breadcrumb-menu {
    text-align: left;
    padding-top: 37px;
}

.breadcrumb-menu li a {
    font: 14px/17px Karla;
}

.breadcrumb-menu li span {
    color: #868C9B;
    font: 14px/17px Karla;
}

.breadcrumb-menu .active span {
    color: #DD1A1E;
}

.breadcrumb-menu li::before {
    font-size: 14px;
}

.portfolio-wrapper {
    margin-top: 63px;
}

/* Servizi
 * -------------------------------------------------- */

.services-area .row-border-red:nth-child(2n+1) {
    padding-bottom: 60px;
}
.services-area .row-border-red:last-child {
    display: none;
}

.architecture-service-wrap-services-page .serial-no {
    font-size: 120px;
    color: #E8E8E8 !important;
    line-height: 1;
}

.architecture-service-wrap-services-page .list-box__info {
    padding-left: 70px;
}

.architecture-service-wrap-services-page .slider-button {
    width: 160px;
    line-height: 31px;
}

.architecture-service-wrap-services-page .title-service {
    color: #DD1A1E;
    font: 300 32px Roboto;
}

.architecture-service-wrap-services-page p {
    font-size: 18px;
    text-align: justify;
}

.architecture-service-wrap-services-page .list-box-item {
    margin-top: 0;
}

.breadcrumb-menu li {
    padding-right: 12px;
}

.breadcrumb-menu li::before {
    top: 5px;
    left: -11px;
}

.architecture-service-wrap-services-page .row-studio {
    padding-bottom: 60px;
}

.architecture-service-wrap-services-page ul li {
    font-weight: bold;
}


/* Collaborazioni
 * -------------------------------------------------- */
.collaborations-area {
    border-bottom: 1px solid #DBDBDB;
}

.brand-collaborations > ul > li img {
    max-height: 80px;
    max-width: 150px;
}

.brand-collaborations > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.brand-collaborations > ul > li {
    margin-bottom: 100px;
    text-align: center;
}

.brand-collaborations > ul > li::after,
.brand-logo-area .brand-logo-item a::after {
    content: '';
    width: 0px;
    height: 2px;
    display: block;
    background: #DD1A1E;
    transition: 300ms;
}

html.no-touch .brand-collaborations > ul > li:hover::after,
html.no-touch .brand-logo-area .brand-logo-item a:hover::after {
    width: 100%;
}

.brand-collaborations p,
.brand-logo-area p {
    line-height: 1;
    text-align: center;
    padding-bottom: 5px;
}

.collaborations-op {
    border-bottom: 1px solid #DBDBDB;
} 

/* Contatti
 * -------------------------------------------------- */

.contacts-area .c-btn {
    background: #DD1A1E;
    border: solid #DD1A1E 3px !important;
    border-radius: 30px 30px 30px 30px;
    transition: all 0.4s ease;
    padding: 16px 70px !important;
}

html.no-touch .contacts-area .c-btn:hover {
    color: #DD1A1E;
    background-color: #fff;
    border-color: #DD1A1E;
}

.contacts-area .contacts-form input {
    border: none;
    border-bottom: 2px solid #DD1A1E;
    padding: 0;
    height: 40px;
}

.contacts-area .contacts-form .epp-ci-cb {
    height: 15px;
}

.contacts-area #contacts-form input::placeholder,
.contacts-area #contacts-form textarea::placeholder {
    font-family: Karla;
    font-size: 24px;
    color: #3C3C3C !important;
}

.contacts-area .contacts-form textarea {
    border: none;
    border-bottom: 2px solid #DD1A1E;
    height: 70px;
    min-height: 70px;
    padding: 0;
}

.contacts-area h4 {
    color: #3C3C3C;
}
 
.contacts-area h1 {
    margin-bottom: 35px;
}

.map {
    width: 100%;
    height: 504px;
}

/* Servizio
 * -------------------------------------------------- */

.more-service h6 {
    text-align: center;
    font: 300 39px Roboto;
    margin-bottom: 40px;
}

.more-service p {
    font: 300 32px Roboto;
    color: #DD1A1E;
}

.service-area h1 {
    /* font: 300 50px/65px Roboto !important; */
    font: 300 calc(1.325rem + 1.5vw) Roboto !important;
    margin-bottom: 27px;
}

.service-area p {
    margin-top: 0;
}

.col-cover {
    margin-bottom: 80px;
}

/* Responsive
 * -------------------------------------------------- */

@media (min-width: 1199.98px){
    .res-mobile-menu .slicknav_nav {
        padding: 20px 160px 20px 60px;
    }

    .header-title {
        line-height: 54px;
    }

    .more-service .col-item .img-more-service {
        height: 208px;
    }
}

@media (min-width: 992px) and (max-width:1200px) {
    .off-canvas-wrapper {
        width: 100vw;
    }
    .more-service .col-item .img-more-service {
        height: 162px;
    }
}

@media (min-width: 993px){
    .row-border-red:nth-child(2n) {
        justify-content: flex-end !important;
    }
    .studio-area .row-studio:nth-child(2n) {
        display: flex;
        flex-direction: row-reverse;
    }

    .our-service-area-home .section-title {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {

    .more-service .col-item .img-more-service {
        height: 119px;
    }

    .brand-logo-area p {
        font-size: 14px;
    }

    .testata-area {
        /* padding: 17.2% 0 4.5% 0; */
        /* height: auto; */
        height: 350px;
        padding-bottom: 0px;
    }

    .architecture-service-wrap-services-page .list-box__info {
        padding: 0;
    }

    .breadcrumb-area {
        padding: 0;
    }

    .breadcrumb-menu {
        padding-top: 20px;
    }

    .more-service p {
        font-size: 32px;
    }

    .our-service-area-home .list-box-item {
        margin-bottom: 48px;
    }

    .our-service-area-home .service-image {
        justify-content: center;
    }

    .studio-area .portfolio-item__thumb {
        margin-bottom: 30px;
    }

    .studio-area .row-border-red:nth-child(2n+1) {
        padding-bottom: 0;
    }

    .studio-area .row-studio {
        display: flex;
        flex-direction: column-reverse;
    }

    .service-area .section-title-service {
        margin-bottom: 20px;
    }

    .service-area h1 {
        margin-bottom: 5px;
    }

    .studio-area .row-border-red {
        padding-bottom: 0;
    }
}

@media (max-width: 767.98px) {

    a.anchor {
        top: -160px;
    }

    .more-service .col-item .img-more-service {
        height: 262px;
    }

    .header-area .logo-main {
        max-width: 190px;
    }

    .off-canvas-wrapper {
        width: 100vw;
    }

    .brand-collaborations > ul > li {
        max-width: 50%;
    }

    .slider-button {
        line-height: 2;
        font-size: 12px;
        width: 100px;
    }

    .slideshow-caption-text {
        transform: translateX(-10px);
    }

    .section-title p {
        font-size: 16px;
    }

    .section-title h5 {
        font-size: 14px;
    }

    .studio-area .section-title h5 {
        margin-top: 30px;
    }

    .header-subtitle {
        font-size: 16px;
    }

    .testata-area {
        height: 230px;
        padding-bottom: 0px;
    }

    .contacts-form-button {
        text-align: center;
    }

    .portfolio-wrapper {
        margin-top: 20px;
    }

    .architecture-service-wrap-services-page .serial-no {
        font-size: 70px;
    }

    .more-service p {
        font-size: 22px;
    }

    .more-service h6 {
        font-size: 30px;
    }

    .brand-collaborations > ul > li {
        margin-bottom: 30px;
    }

    .our-service-area-home .list-box-item {
        margin-top: 0;
        margin-bottom: 22px;
    }

    .border-red {
        width: 100%;
    }

    .studio-area {
        margin-top: 0;
    }

    .services-area .list-box-item .list-box__serial .serial-no {
        width: 90px;
    }

    .services-area .architecture-service-wrap-services-page .list-box-item {
        margin-bottom: 30px;
    }

    .architecture-service-wrap-services-page {
        padding-top: 20px;
    }

    .studio-area .portfolio-item__thumb_2 {
        padding-bottom: 0 !important;
    }

    .col-cover {
        margin-bottom: 60px;
    }

    .service-area .section-title {
        margin-bottom: 60px;
    }

    .service-area .section-title-service {
        margin-bottom: 20px;
    }
}

@media (min-width: 576px) {
    .more-service .col-item .img-more-service {
        position: relative;
        margin: 0 auto;
        overflow: hidden;
    }

    .more-service picture {
        position: absolute;
        top: 0;
        left: 0;
    }

    .more-service picture img {
        -webkit-transition: 0.4s ease;
        transition: 0.4s ease;
    }
    
    html.no-touch .more-service .col-item .img-more-service:hover picture img {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    }

    .service-area .section-title-service {
        text-align: justify;
    }

}

@media (max-width: 575px) {
    .more-service .col-item .img-more-service {
        height: auto;
    }

    .contacts-area h4 {
        font-size: 22px;
    }

    .contacts-area .form-area {
        padding-top: 50px;
    }

    .service-area .section-title-service {
        text-align: justify;
    }

    #scrollUp {
        right: 12px;
    }

    .about-widget img {
        max-width: 150px;
        margin-bottom: 0;
    }
}