:root {
    --navbar-height: 90px;
    /* first header background */
    /* --navbar-background: #322d1c; */
    --navbar-background: #d0d1d1;
    --megamenu-active-background: #6a6a6a;
    --megamenu-active-color: white;
    --megamenu-color: #6a6a6a;
    --bottom-color: rgba(255, 255, 255, 0.75);
    --container-xl: 1204px;
    --corporative-blue: #0f427f;
}


/* preset1.css */

body {
    background-color: #ffffff;
    color: #707273;
}

a,
a:link,
a:visited,
a:hover,
{
    color: var(--corporative-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #3e3f3f;
}

p {
    margin-bottom: 0;
}

.sp-megamenu-parent>li>a {
    color: var(--megamenu-color);
}

.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a {
    background-color: var(--megamenu-active-background);
    color: var(--megamenu-active-color)!important;
    position: relative;
}

.sp-megamenu-parent a:focus {
    color: var(--megamenu-active-color)!important;
}

.sp-megamenu-parent>li.active>a:after,
.sp-megamenu-parent>li:hover>a:after {
    content: "";
    height: 4px;
    width: 100%;
    display: block;
    bottom: 0;
    left: 0;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover {
    background: var(--megamenu-active-background);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a {
    color: var(--megamenu-active-background);
}

#offcanvas-toggler>i {
    color: #fff!important;
}

#offcanvas-toggler>i:hover {
    color: var(--megamenu-active-background);
}

.offcanvas-menu .offcanvas-inner .sp-module ul>li:hover>a,
.offcanvas-menu .offcanvas-inner .sp-module ul>li.active>a,
.offcanvas-inner ul.lang-block li.lang-active>a,
.offcanvas-inner ul.lang-block li:hover>a {
    background: var(--megamenu-active-background)
}

.offcanvas-menu .offcanvas-inner .sp-module .search input:hover,
.offcanvas-menu .offcanvas-inner .sp-module .search input:focus {
    border: 1px solid var(--megamenu-active-background);
}

.btn-primary,
.sppb-btn-primary {
    border-color: #d59e0d;
    background-color: #f0b311;
}

.btn-primary:hover,
.sppb-btn-primary:hover {
    border-color: #aa7e0b;
    background-color: #c2900c;
}

ul.social-icons>li a:hover {
    color: #f0b311;
}

.layout-boxed .body-innerwrapper {
    background: #ffffff;
}

.sp-module ul>li>a {
    color: #707273;
}

.sp-module ul>li>a:hover {
    color: #f0b311;
}

.sp-module .latestnews>div>a {
    color: #707273;
}

.sp-module .latestnews>div>a:hover {
    color: #f0b311;
}

.sp-module .tagscloud .tag-name:hover {
    background: #f0b311;
}

.search .btn-toolbar button {
    background: #f0b311;
}

.post-format {
    background: #f0b311;
}

.voting-symbol span.star.active:before {
    color: #f0b311;
}

.sp-rating span.star:hover:before,
.sp-rating span.star:hover~span.star:before {
    color: #c2900c;
}

.entry-link,
.entry-quote {
    background: #f0b311;
}

blockquote {
    border-color: #f0b311;
}

.carousel-left:hover,
.carousel-right:hover {
    background: #f0b311;
}

.sppb-slideshow-fullwidth-item-bg .sppb-slideshow-fullwidth-item-text a.sppb-slideshow-fullwidth-read-more {
    border: 1px solid #f0b311;
}

.sppb-addon-latest-posts .latest-posts .sppb-row>.sppb-column.latest-post:nth-child(1)>div:after {
    background: #f0b311;
}

.sppb-addon-latest-posts .latest-posts .sppb-row>.sppb-column.latest-post:nth-child(2)>div:after {
    background: #f0b311;
}

#sp-footer {
    background: #000;
}

.sp-comingsoon body {
    background-color: #f0b311;
}

.pagination>li>a,
.pagination>li>span {
    color: #707273;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
    color: #707273;
}

.pagination>.active>a,
.pagination>.active>span {
    border-color: #f0b311;
    background-color: #f0b311;
}

.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    border-color: #f0b311;
    background-color: #f0b311;
}

#sp-page-builder .onepage-teams-section .sppb-section-title .sppb-title-heading,
#sp-page-builder .onepage-teams-section .sppb-section-title .sppb-title-subheading {
    color: #3e3f3f;
}

.sppb-teams-wrapper .sppb-carousel-arrow {
    color: #707273;
}

.features-hexa .sppb-addon-feature .sppb-icon>span {
    background: #f0b311;
}

.features-hexa .sppb-addon-feature:hover .sppb-addon-text {
    color: #707273;
}

#mod-sp-simpleportfolio.sp-simpleportfolio .sp-simpleportfolio-filter ul>li>a {
    color: #b0b2b2;
}

#mod-sp-simpleportfolio.sp-simpleportfolio .sp-simpleportfolio-filter ul>li>a:hover {
    color: #707273;
}

#mod-sp-simpleportfolio.sp-simpleportfolio .sp-simpleportfolio-filter li.active a {
    color: #707273;
}

#mod-sp-simpleportfolio.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-img {
    width: 100%;
}

#mod-sp-simpleportfolio.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay {
    background: #f0b311;
}

.onepage-clients-text {
    color: #707273;
}

.entry-header dl.article-info dd.category-name a {
    color: #707273;
}

.onepage-contact-wrapper .sppb-column .onepage-contact-form .sppb-addon-content form input,
.onepage-contact-wrapper .sppb-column .onepage-contact-form .sppb-addon-content form textarea {
    border: 1px solid #3e3f3f;
}

ul.pagenav a {
    border: solid 1px #f0b311;
}

ul.pagenav a:hover {
    background: #f0b311;
    border: solid 1px #f0b311;
}

.sppb-slider-wrapper.sppb-slider-fullwidth-wrapper .sppb-slideshow-fullwidth-item-bg .container .sppb-slideshow-fullwidth-item-text a.sppb-slideshow-fullwidth-read-more:after {
    background-color: #f0b311;
}

.sppb-slider-wrapper.sppb-slider-fullwidth-wrapper .customNavigation a.sppbSlidePrev i:hover {
    color: #f0b311;
}

.sppb-slider-wrapper.sppb-slider-fullwidth-wrapper .customNavigation a.sppbSlideNext i:hover {
    color: #f0b311;
}

.sppb-teams-wrapper ul li.active .sppb-team-info {
    background: #f0b311;
}

.features-hexa .sppb-addon-feature .sppb-icon span:before {
    border-bottom: 30px solid #f0b311;
}

.features-hexa .sppb-addon-feature .sppb-icon span:after {
    border-top: 30px solid #f0b311;
}

.onepage-contact-wrapper .sppb-column .onepage-contact-form .sppb-addon-content form .sppb-form-control:hover,
.onepage-contact-wrapper .sppb-column .onepage-contact-form .sppb-addon-content form .sppb-form-control:focus {
    border: 1px solid #f0b311;
}

.onepage-contact-wrapper .sppb-column .onepage-contact-form .sppb-addon-content form .sppb-btn-success:hover {
    border-color: #f0b311;
    background: #f0b311;
}

.onepage-bottom .sppb-addon-feature .sppb-icon i {
    color: #f0b311;
}

.onepage-bottom .bottom-social-share i:hover {
    color: #f0b311;
}


/* fi preset.css */


/* Header */

#sp-header {
    position: fixed;
    top: 0;
    z-index: 999;
    -webkit-transition: 400ms;
    -o-transition: 400ms;
    transition: 400ms;
    height: 60px;
    width: 100%;
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.5);
}

#sp-header.menu-fixed-out {
    -webkit-transition: 400ms;
    -o-transition: 400ms;
    transition: 400ms;
}

#sp-header.menu-fixed,
#sp-header,
.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a {
    min-height: var(--navbar-height);
    line-height: var(--navbar-height)!important;
}

.sp-megamenu-parent>li.active>a {
    font-weight: 300;
}

#sp-header,
.logo,
.logo h1,
#sp-header .logo {
    height: var(--navbar-height)!important;
}

#sp-logo {
    position: relative;
}


/* #sp-logo .logo img.logo-image {
    max-width: 400px;
    width: 400px!important;
    top: 31px;
    height: auto;
    position: absolute;
} */

#sp-header,
.logo,
.logo h1,
#sp-header .logo {
    height: var(--navbar-height)!important;
}

#sp-header.menu-fixed,
#sp-header,
.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a {
    min-height: var(--navbar-height);
    line-height: var(--navbar-height)!important;
}

#offcanvas-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--navbar-height)!important;
    line-height: var(--navbar-height)!important;
    padding: 0 10px;
}

#offcanvas-toggler>i {
    padding: 0!important;
}


/* logos */

.sp-default-logo {
    max-height: 100%;
    width: auto;
    padding: 10px 0;
}

.sp-retina-logo {
    max-height: 100%;
    width: auto;
}


/* offset */

.offcanvas-menu {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.close-offcanvas {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    color: #ccc;
    border: 2px solid #ccc;
    border-radius: 100%;
    width: 22px;
    height: 22px;
    line-height: 18px;
    text-align: center;
    font-size: 12px;
}

.close-offcanvas:hover {
    background: #000;
    color: #fff;
}

.offcanvas-menu .offcanvas-inner {
    padding: 20px;
}

.offcanvas-inner .sp-module-title {
    font-weight: 400;
    color: white;
}

.offcanvas-inner ul li>a {
    padding: 10px 20px!important;
    color: white!important;
    font-weight: 400;
}

.offcanvas-inner ul.menu li.current>a,
.offcanvas-inner ul.lang-block li.lang-active>a {
    color: white!important;
}

.offcanvas-menu .offcanvas-inner .sp-module .sp-module-content ul {
    margin: 0 -20px;
}


/* Language zone */

section#sp-language {
    position: fixed;
    top: var(--navbar-height)!important;
    left: 0;
    color: white;
    z-index: 9999;
    width: 100%;
}

section#sp-language #sp-language {
    padding: 0!important;
}

#sp-language ul.lang-inline {
    width: auto;
    background-color: var(--navbar-background);
    float: right;
    padding: 5px;
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.5);
    margin-top: 5px;
}

#sp-language ul.lang-inline li.lang-active {
    font-weight: bold!important;
}

#sp-language ul.lang-inline li:hover a {
    color: white!important;
}


/* Main body */


/* header {
    opacity: 0.25;
} */

#home-wrapper {
    z-index: 2!important;
}

.itemid-101 #sp-page-builder>.page-content>section:nth-child(2) {
    padding-top: 190px!important;
    margin-top: -90px!important;
}


/* .itemid-101 #sp-page-builder>.page-content>section:nth-child(2)>.sppb-row-container:last-child {
    padding-bottom: 190px!important;
} */


/* Item 1 */


/* Item 2 */

#kh-tech,
#kh-tech>.kh-tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#kh-tech>.kh-tech-item {
    width: 25%;
    padding: 2.5%;
}

#kh-tech>.kh-tech-item svg {
    width: 100%;
    overflow: visible!important;
}

#kh-tech>.kh-tech-item .vertical svg {
    height: 100px;
}

#kh-tech>.kh-tech-item svg path {
    fill: white!important;
}

#kh-tech>.kh-tech-item svg * {
    overflow: visible!important;
}

@media (min-width: 992px) {
    #kh-tech>.kh-tech-item .vertical {
        display: none;
    }
}

@media (max-width: 991px) {
    #kh-tech>.kh-tech-item .horitzontal {
        display: none;
    }
}


/* Item 3 */

#item3 .sppb-addon-feature {
    margin-bottom: 40px;
}

#item3 .sppb-addon-feature * {
    text-align: left;
}

#item3 .sppb-addon-feature .sppb-addon-text p:not(:first-of-type) {
    font-size: 12px;
}


/* Item 4 */

#item4 .bfFormDiv,
#item5 .bfFormDiv {
    background: rgba(0, 0, 0, 0.8)!important;
    padding: 12px;
}

#item4 img,
#item5 img {
    height: 408px;
    width: 100%;
    object-fit: fill;
}

#contactans .row-fluid:first-child>.bfSectionDescription>p {
    color: white;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1em;
}

.bfQuickMode input[type=text],
.bfQuickMode textarea,
.bfQuickMode select,
.bfQuickMode .uneditable-input {
    max-width: 100%!important;
    width: 100%!important;
}

.bfQuickMode .controls.form-inline>div {
    width: 100%!important;
}

.bfQuickMode textarea {
    border-radius: 4px;
    padding: 8px 12px;
}


/* #contactans .bfElemWrap.control-group:first-of-type { */

#bfElemWrap5 {
    margin-top: -1em!important;
}

#bfElemWrap13 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0!important;
    overflow: hidden;
}

#bfSubmitButton {
    position: relative;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    padding-left: 36px;
}

#bfSubmitButton:before {
    position: absolute;
    top: 6px;
    left: 12px;
    font-family: "Font Awesome 5 Free";
    content: "\f0e0";
    font-size: 16px;
    color: white;
}

#sp-component {
    min-height: 56vh;
}

#sp-component .bfQuickMode .form-actions {
    position: relative;
}

#sp-component .bfQuickMode .form-actions #bfSubmitButton {
    position: absolute;
    right: 0;
    /* top:-95px; */
    top: -109px;
    margin: 0!important;
    z-index: 999;
}

@media (max-width: 414px) and (orientation:portrait) {
    #sp-component .bfQuickMode .form-actions #bfSubmitButton {
        position: relative!important;
        top: 0!important;
    }
}


/* Bottom */

#sp-bottom {
    /* border-top: 1px solid white; */
    padding: 20px 0!important;
}

#sp-bottom * {
    color: var(--bottom-color)!important;
}

#sp-bottom img {
    opacity: 0.75;
    display: inline;
}

#sp-bottom p {
    text-align: center;
    margin: 0;
    font-size: 16px;
    white-space: nowrap;
}

#sp-bottom .bottom-title {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--bottom-color);
    font-weight: 600;
    line-height: 30px;
    font-size: 16px;
    text-align: center;
}

#sp-bottom .bottom-title svg {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-top: -4px;
}

#sp-bottom1,
#sp-bottom2,
#sp-bottom3,
#sp-bottom4 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 30px;
}

#sp-bottom .sp-column {
    width: 100%;
}

#sp-bottom .sp-column>.sp-module:last-child {
    margin-bottom: 0!important;
}

#sp-bottom4 .bottom-telephone,
#sp-bottom4 .bottom-mail {
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#sp-bottom4 .bottom-telephone {
    font-weight: 700;
    font-size: 19pt;
}

#sp-bottom4 .bottom-mail {
    font-size: 14pt;
}

@media (min-width: 769px) and (max-width: 1024px) {
    #sp-bottom4 .bottom-telephone {
        font-size: 16pt;
    }
    #sp-bottom4 .bottom-mail {
        font-size: 12pt;
    }
}

#sp-bottom4 .bottom-telephone a:hover,
#sp-bottom4 .bottom-mail a:hover {
    color: white!important;
}

#sp-bottom2 .sp-column {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(3, 4fr);
    grid-gap: 1.5em;
    gap: 1.5em;
    margin-top: 36px;
}

#sp-bottom2 .sp-module {
    margin: 0!important;
}

#sp-bottom2 svg {
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

@media (max-width:992px) {
    #sp-bottom2,
    #sp-bottom3 {
        order: 3;
    }
    #sp-bottom1,
    #sp-bottom4,
    #sp-bottom5 {
        order: 2;
    }
    #sp-bottom1,
    #sp-bottom4 {
        order: 1;
    }
}


/* CSS General - Stella */

header {
    background-color: #f3f3f3;
}

header>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    width: 100%;
}

header>.container>img {
    max-height: 90px;
    height: 100%;
    width: auto;
}

#sp-main-body {
    padding: 1em 0!important;
}


/* CSS pàgina de login */

body.view-login {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    display: grid;
    place-items: center;
    background-color: #f1f1f1;
}

body.view-login header {
    background-color: white!important;
}

body.view-login>.body-wrapper {
    margin: 0 auto;
}

body.view-login .container {
    min-width: initial!important;
    max-width: initial!important;
    margin: 0!important;
    padding: 0!important;
}

body.view-login #sp-main-body,
body.view-login #sp-component {
    min-height: initial!important;
    padding: 0!important;
}

.gi-logo-cont {
    display: none!important;
}

body.view-login .body-innerwrapper {
    border: 1px solid darkgray;
    background-color: white!important;
}