@charset "UTF-8";
/*
Theme Name: 2contracts
Theme URI: hhttps://www.swellweb.it/2contracts
Text Domain: 2contracts
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-patterns
*/

html, body {
    height: 100%;
    /* position: relative; */
}

.btn-cta {
    background: #facc14;
    color: #333;
    border: 1px solid #facc16;
}

.btn-cta:hover {
    background: #fde68a;
    color: #333;
}
#modul-contact-form{
    visibility:hidden;
    transition: all ease-out .2s;
    background: #33333357;
    opacity: 0;
}

div#modul-contact-form {
    position: fixed;
    top: 0;
    z-index: 999999;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    height: 100%;
}

span.close-overlay {
    font-size: 20px;
    text-align: right;
    display: block;
    margin-bottom: 25px;
    color: #fff;
    cursor: pointer;
}


#modul-contact-form.open{opacity: 1;visibility: visible;}
#modul-contact-form.open .module-contact-form-wrap {
    transition: all ease-in-out .5s;
    transform: translateX(0%);
}

header.header {
    background: #fff;
    border: 1px solid #eee;
}

.top-header {
    height: 0;
    background: #010101;
}

.center-header {height: 100px;background: #fff;}

.menu-primary-container {
    width: 100%;
    top: 15px;
    position: relative;
}

ul#menu-primary {
    display: flex;
    justify-content: space-around;
    height: 100%;
    top: 15px;
    position: relative;
}

.menu-primary {
    padding: 1em 0px;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-top: 40px;
}

.menu-primary a {
    color: #072835;
    font-size: 1rem;
    letter-spacing: 0.5px;
    height: -webkit-fill-available;
}

.menu-primary ul {
    list-style: none;
}

.menu-primary a:hover {
    color: #ee8c3b;
    text-decoration: none;
    transition: .3s;
}

.menu-primary ul li {
    display: inline-block;
}

ul.sub-menu {
    position: absolute;
    z-index: 50;
    display: flex;
    background: #ffffff;
    overflow: hidden;
    top: 48px;
    flex-direction: column;
    box-shadow:none;
    webkit-transition: height .5s cubic-bezier(0.4, 0, 1, 1) 0s;
    -moz-transition: height .5s cubic-bezier(0.4, 0, 1, 1) 0s;
    -ms-transition: height .5s cubic-bezier(0.4, 0, 1, 1) 0s;
    -o-transition: height .5s cubic-bezier(0.4, 0, 1, 1) 0s;
    transition: height .5s cubic-bezier(0.4, 0, 1, 1) 0s;
    height:0;
    padding: 0 15px 0 8px;
    left:0;
}

ul.sub-menu li a {
    font-size: 14px;
}

ul.sub-menu li a {
    line-height: 1.8;
    font-size: 15px;
    font-weight: 300;
    text-transform: capitalize;
}

.menu-item-has-children:hover  .sub-menu {
   -webkit-transition: .5s linear 0s;
   -moz-transition:  .5s linear 0s;
   -ms-transition:  .5s linear 0s;
   -o-transition:  .5s linear 0s;
   transition:  .5s linear 0s;
   /* box-shadow: -7px 9px 5px -1px #4a4a4ac4; */
   height:200px;
   padding:10px 15px 10px 8px;
   }

.logo-header {
    /* border-right: 0.5px solid #f3eeee; */
    width: 250px;
    margin: 0 auto;
}
path.line-1 {
    /* fill: blanchedalmond !important; */
    /* transform: matrix(1.02, 0, 0, 1, 0, 0); */
    animation-name: toleft;
    animation-duration:4s;
}


path.line-2 {
    fill: none;
    transform: matrix(.11, 0, 0, 0.11, 384, 148);
    animation-name: toright;
    animation-duration: 4s;
}



.center-header * {
    padding-top: 4px;
}

/*box*/

.scheme_default .sc_icons_modern .sc_icons_item {
    background-color: #242a36;
}
.scheme_default .sc_icons .sc_icons_icon {
    color: #e89613;
}
.sc_icons_modern .sc_icons_icon {
    position: relative;
}

.trx_addons_column-1_4 {
    padding-right: 0px !important;
    border-right:1px solid #ddd;
    height:330px;
    padding-bottom:0px !important;
    text-align:center !important;
}

.sc_icons_item_details {
    padding-left: 3px !important;
}

.sc_icons_modern .sc_icons_item {
    padding: 4.9rem 6rem;
}
.sc_icons.sc_align_center .sc_icons_item {
    text-align: center;
    width: 100%;
}
.sc_icons .sc_icons_icon > span {
    display: inline-block;
    opacity: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: auto;
}

sc_icons_modern .sc_icons_item_details {
    min-height: unset !important;
    padding-left: 0 !important;
}

.scheme_default .sc_icons_modern .sc_icons_item_title {
    color: #ffffff;
}

.scheme_default .sc_icons_modern .sc_icons_item_description {
    color: #9fa2a8;
}


.container-grid-service {
    --auto-grid-min-size: 27rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
    grid-gap: 2rem;
    margin-top: 2rem;
}
.grid-item-service {
    box-sizing: border-box;
    background: #072835;
    color: #ddd;
    border-right: 1px solid #ee8c3b;
    border-bottom: 1px solid #ee8c3b;
    box-shadow: 7px 10px 8px #938b8b;
}
.grid-item-title {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
}

.grid-item-title a {
    color: #ddd;
    text-decoration: underline;
}

.grid-item-service:hover .grid-item-title {
    transform: scale(1.05);
    transition: .5s;
    -webkit-font-smoothing: antialiased;
}

.item-service-wrap {
    padding: 4rem;
}

.icon-container {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #fdad2f;
}
.icon-container .material-icons {font-size: 2.5rem;text-align: center;margin-bottom: 2rem;color: #ee8c3b;}

.service-text-desc {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
}

/*rectBox*/

.box-txt-rect {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding: 30px 0px;
    align-items: center;
    background: #bad0d8;
    padding: 5%;
    /* color: #fff; */
    /* text-shadow: 1px 1px 2px #999; */
}

.box-txt-rect .subheadline {letter-spacing: initial;text-transform: initial;font-style: italic;font-weight: 700;font-size: 1rem;margin-top: .5em;}

.desc-rect p {
    font-size: 14px;
    margin-top: 5em;
    line-height: 2em;
}

.title-rect {
    font-size: 45px;
    font-weight: bold;
    line-height: 1;
}

.box-img-rect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-request {
    padding: 15px;
    background: #1b1e20;
    color: #ffffff;
    outline: 0;
    border: 0;
    box-shadow: 6px 5px 4px #222222bf;
}

.box-cta{
    display:flex;
    justify-content:center;
    flex-wrap: wrap;
    width: 100%;
}

.wrap-counter {
    background: #1b1e20;
    color: #fff;
    text-transform: uppercase;
    padding: 66px 0px;
    margin-left: 40px;
    margin-right: 40px;
}

section#counter {
    margin-top: -4em;
    display: block;
    position: relative;
    z-index: 4;
}

section#mission {
    display: block;
    z-index: 30;
    position: relative;
    margin-top: 6rem;
}

.box-counter .number {
    font-size: 3em;
    font-weight: 600;
    letter-spacing: 1px;
}

.box-counter {
    padding: 60px;
    border-right: 1px solid #fdad2f;
}

.box-counter:last-child {
    border-right: 0;
}

/*news*/
.container-news {
    padding: 3em 0;
}

.container-news-title h3 {
    text-align: center;
    font-size: 6em;
}

.container-news-title {
    padding: 60px 0px;
}

.container-news-items {
    padding: 30px 0px;
    width: 100%;
    position: relative;
}

.container-news-wrap-items {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow: hidden;
    cursor: grab;
}

.news-item {
    max-width: 350px;
    margin: 10px;
    overflow: hidden;
    height: 100%;
    flex-shrink: 0;
    background: #f1f1f1;
    padding-bottom: 1rem;
}

.news-image-item {
    width: 100%;
    height: 350px;
}

.news-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.title-news-item {
    margin-top: 1rem;
    font-size: 1.86rem;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.title-news-item h4 {
    font-size: 1.86rem;
    line-height: 1.2;
}

.news-desc-item {
    font-size: 14px;
    padding: 1rem 2rem;
}

.title-news-item:after {content: "";position: absolute;height: 3px;width: 30%;bottom: 0;background: orange;right: 0;left: 0;margin: auto;}


.tns-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tns-controls button {
    border: 1px solid #dddddde0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 10px; */
    background: transparent;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

/*contact-form-slide*/


.slidershow {
    position: relative;
}

.module-contact-form-text h1 {
    font-size: 27px;
    text-align: left;
    color: #fbcb17;
    line-height: 30px;
    font-stretch: unset;
}

.subtext {
    line-height: 1.2em;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 15px;
    font-family: 'OpenSans',sans-serif;
    line-height: 1.22;
    padding: 15px 2px;
}

.module-contact-form-wrap {
    background: #313131;
    padding: 40px;
    box-sizing: border-box;
    position: static;
    box-shadow: 2px 2px 2px #333;
    height: 100%;
    width: 450px;
    transform: translateX(100%);
}

.module-contact-form-wrap {
    height: calc(100vh - -13px);
    overflow: auto;
}

.module-contact-form-wrap label {
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
}

.module-contact-form-wrap input[type=text],.module-contact-form-wrap input[type=email] {
    width: 100%;
    padding: 10px;
    background: transparent;
    border:0;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    outline: 0;
}

.module-contact-form-wrap input[type=text]:focus, .module-contact-form-wrap input[type=email]:focus, .module-contact-form-wrap textarea:focus {
    background: #ddd;
    outline: none;
    border: 0;
    box-shadow: none;
    color: #fff;
}


.module-contact-form-wrap textarea {
    width: 100%;
    min-height: 150px;
    background: transparent;
    border: 1px solid #fff;
    border-top: 0;
    padding: 15px;
    color: #fff; 
}


/*page*/
.page-article {
    padding-bottom: 60px;
    padding-top: 30px;
}
.title-page {
    font-size: 40px;
    text-align: center;
    line-height: 8rem;
}

/*footer*/

footer{
    background: #0a0c0c;
    color: #5a5a5a;
    font-size: 16px;
    min-height:250px;
    padding-top:45px;
    padding-bottom: 0px;
    box-shadow: -1px -8px 8px 0px #0000007a;
}

.logo-footer {
    width: 250px;
    position: relative;
    left: 20%;
}
.info-company {
    font-size: 13px;
    line-height: 1.12;
    padding: 15px 0px;
}



.newsletter-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.14;
    letter-spacing: normal;
    margin-bottom: 25px;
}

.form-newsletter {
    padding: 5px 16px;
    /* border: 1px solid #072834; */
    /* background: #072834; */
    color: #ffffff;
    border-radius: 4px;
}

.newsletter-title h2 {
    font-size: 24px;
    font-family: "OpenSans",sans-serif;
    font-weight: 300;
}

.credits {
    font-size: 13px;
    border-top: 1px solid #dddddd17;
    padding-top: 10px;
}

.cta-newsletter {
    border-radius: 0;
    margin-top: -10px;
}

@keyframes toright {
    from{ transform:matrix(.385, 0, 0, .11, 384, 148) }
    to{transform: matrix(.11, 0, 0, 0.11, 384, 148);}
}
@keyframes toleft{
    from { transform:matrix(2.4, 0, 0, 1, 0, 0)}
    to{ transform:matrix(1.02, 0, 0, 1, 0, 0)}
}


@media screen and (max-width:1366px){
    .container-grid-service {
    --auto-grid-min-size: calc(100% / 3);
    grid-area: auto;
    }
}


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

    .container-grid-service {
    --auto-grid-min-size: 20rem;
    }
    
    .module-contact-form-wrap{
       flex: 1;
       max-width: 100%;
       margin-right:0;
    }
}



