*{
    margin: 0;
    padding: 0;
}

html{
    font-size: 16px;
}

body{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
}

body.locked{
    height: 100vh;
    overflow: hidden;
}

form{
    width: 100%;
}

/* =============================================================================
Fix home services borders alignment
============================================================================= */

.services-home-wrapper .container{
    transform: translateX(-0.6%);
}

/* =============================================================================
Fix container fluid for B4
============================================================================= */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.container-fluid .row{
    margin-right: 0;
}
.container-fluid .col,
.container-fluid .col-1,
.container-fluid .col-10,
.container-fluid .col-11,
.container-fluid .col-12,
.container-fluid .col-2,
.container-fluid .col-3,
.container-fluid .col-4,
.container-fluid .col-5,
.container-fluid .col-6,
.container-fluid .col-7,
.container-fluid .col-8,
.container-fluid .col-9,
.container-fluid .col-auto,
.container-fluid .col-lg,
.container-fluid .col-lg-1,
.container-fluid .col-lg-10,
.container-fluid .col-lg-11,
.container-fluid .col-lg-12,
.container-fluid .col-lg-2,
.container-fluid .col-lg-3,
.container-fluid .col-lg-4,
.container-fluid .col-lg-5,
.container-fluid .col-lg-6,
.container-fluid .col-lg-7,
.container-fluid .col-lg-8,
.container-fluid .col-lg-9,
.container-fluid .col-lg-auto,
.container-fluid .col-md,
.container-fluid .col-md-1,
.container-fluid .col-md-10,
.container-fluid .col-md-11,
.container-fluid .col-md-12,
.container-fluid .col-md-2,
.container-fluid .col-md-3,
.container-fluid .col-md-4,
.container-fluid .col-md-5,
.container-fluid .col-md-6,
.container-fluid .col-md-7,
.container-fluid .col-md-8,
.container-fluid .col-md-9,
.container-fluid .col-md-auto,
.container-fluid .col-sm,
.container-fluid .col-sm-1,
.container-fluid .col-sm-10,
.container-fluid .col-sm-11,
.container-fluid .col-sm-12,
.container-fluid .col-sm-2,
.container-fluid .col-sm-3,
.container-fluid .col-sm-4,
.container-fluid .col-sm-5,
.container-fluid .col-sm-6,
.container-fluid .col-sm-7,
.container-fluid .col-sm-8,
.container-fluid .col-sm-9,
.container-fluid .col-sm-auto,
.container-fluid .col-xl,
.container-fluid .col-xl-1,
.container-fluid .col-xl-10,
.container-fluid .col-xl-11,
.container-fluid .col-xl-12,
.container-fluid .col-xl-2,
.container-fluid .col-xl-3,
.container-fluid .col-xl-4,
.container-fluid .col-xl-5,
.container-fluid .col-xl-6,
.container-fluid .col-xl-7,
.container-fluid .col-xl-8,
.container-fluid .col-xl-9,
.container-fluid .col-xl-auto{
    padding-right: 0;
}

/* =============================================================================
Headings
============================================================================= */

h1{
    font-size: 3.052rem;
    color: #213A8F;
    font-weight: 500;
    font-style: italic;
}

h2{
    font-size: 2.441rem;
    color: #646363;
    font-weight: normal;
}

h3{
    font-size: 1.953em;
}

h4{
    font-size: 1.563rem;
}

h5{
    font-size: 1.25rem;
}

h6{
    font-size: 1rem;
}

.section-heading h2{
    color: #213a8f;
    font-weight: 500;
}

/* =============================================================================
Text styles
============================================================================= */

p{
    color: #404040;
}

small{
    font-weight: 300;
}

a{
    color: #213a8f;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

a:hover{
    color: #f15a24;
    text-decoration: none !important;
}

/* =============================================================================
Sizing and spacing
============================================================================= */

.full-height{
    height: 100vh;
}

img{
    max-width: 100% !important;
    height: auto !important;
}

.block-padding{
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* =============================================================================
Colors
============================================================================= */

.jacksons-purple{
    color: #213a8f;
}

.waikawa-gray{
    color: #596ca9;
}

.blue-bell{
    color: #909cc7;
}

.tundora{
    color: #404040;
}

.dove-gray{
    color: #646363;
}

.gray{
    color: #7f7f7f;
}

.bg-jacksons-purple{
    background-color: #213a8f;
}

.bg-waikawa-gray{
    background-color: #596ca9;
}

/*  =============================================================================
Icons
 ============================================================================= */

.icon{
    font-size: 32px;
}

.service-icon img{
    width:50px;
}

.icon-arrow-right{
    font-size: 1rem !important;
    padding-left: 0.6rem;
}

/* =============================================================================
Buttons
============================================================================= */

.btn{
    border-radius: 2rem;
    font-weight: 300;
    padding: 0.6rem 2rem;
}

.btn-primary{
    color: #fff;
    background-color: #213a8f;
    border-color: #213a8f;
}

.btn-primary:hover{
    background-color: #596ca9;
    border-color: #596ca9;
}

/* =============================================================================
Utils
============================================================================= */

.delay-short{
    animation-delay: .3s;
}

@media (min-width: 992px) {

    .brb{
        border-bottom: 1px solid #213a8f;
        border-right: 1px solid #213a8f;
    }

    .bb{
        border-bottom: 1px solid #213a8f;
    }

    .br{
        border-right: 1px solid #213a8f;
    }

}

.col-bg{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
}

@media (min-width: 992px){
    .col-bg{
        height: 700px;
    }
}

.fwn{
    font-weight: normal !important;
}

.my-120{
    margin-top: 120px;
    margin-bottom: 120px;
}


/* =============================================================================
Embellishments
============================================================================= */

hr.divider{
    width: 70px;
    border-color: #213a8f;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

hr.divider.center{
    margin: 0.8rem auto;
}

/* =============================================================================
Main navigation
============================================================================= */

#site-navigation{
    background: rgba(33, 58, 143, 0) !important;
    color: #FFF;
    -webkit-transition: background 0.5s ease;
    -o-transition: background 0.5s ease;
    transition: background 0.5s ease;
    overflow-y: scroll;
}

#site-navigation.scrolling{
    background: rgba(33, 58, 143, 1) !important;
}

/* custom xs navbar toggler */
#site-navigation .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
#site-navigation .navbar-toggler{
    border: 0 !important;
}

/* menu links props */
#site-navigation ul.navbar-nav li.nav-item > a.nav-link{
    font-weight: 300;
    color: #FFF;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

/* menu voice hover color */
#site-navigation ul.navbar-nav li.nav-item > a.nav-link:hover{
    color: #909cc7;
}

/* Active menu voice props */
#site-navigation ul.navbar-nav li.nav-item.active > a.nav-link{
    color: #909cc7;
    font-weight: normal;
}

.navbar-expand-lg .navbar-nav .nav-link{
    padding-left: 1rem;
    padding-right: 1rem;
}

#site-navigation .navbar-nav.mr-auto{
    padding-left: 3rem;
}

.lang-separator{
    display: block;
    padding: .5rem 0;
    user-select: none;
}

@media (max-width: 991px) {

    #site-navigation{
        margin: 0;
        padding: 0;
    }

    #site-navigation.dark{
        background: rgba(0, 0, 0, .85) !important;
        height: 100vh;
        align-content: baseline;
    }

    #site-navigation .navbar-nav.mr-auto{
        padding: 0;
    }

    #site-navigation .navbar-nav.mr-auto li{
        padding: 0.6rem 0;
    }

    #site-navigation .navbar-nav.mr-auto li a{
        font-size: 1.25rem;
    }

    ul.language-selector{
        margin-top: 1.6rem;
        flex-direction: row;
    }

    #site-navigation a.navbar-brand,
    #site-navigation button.navbar-toggler{
        padding: 1rem 1rem;
    }

    #navbarSupportedContent{
        color: #FFF !important;
    }

}

/* =============================================================================
Breadcrumbs
============================================================================= */

.breadcrumb{
    padding-left: 0;
    background: transparent;
}

.breadcrumb li.active:before{
    content: "/";
    padding: 0 0.3rem;
}

/* =============================================================================
Form
============================================================================= */

.form-heading h2{
    color: #213a8f;
    font-weight: 500;
    margin-bottom: 2rem;
}

form label{
    color: #213a8f;
    font-weight: 500;
}

form input.form-control,
form textarea.form-control{
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #404040;
}

.form-check label,
.form-check a{
    font-weight: 300;
}

.form-check label{
    color: #404040;
}

/* =============================================================================
Footer
============================================================================= */

footer{
    color: #7f7f7f;
}

footer hr{
    border-color: #404040;
}

/* =============================================================================
hero
============================================================================= */

/* reduce  */
@media (max-width: 575px){

    #hero h1{
        font-size: 2.441rem;
    }

    #hero p.claim{
        font-size: 1rem;
    }

}

#hero{
    color: #FFF;
    padding: 3rem;
    background:linear-gradient(0deg,rgba(33,58,143,0.7),rgba(33,58,143,0.7));
    background-size:cover;
}

#hero h1{
    font-style: italic;
}

#hero p.claim{
    font-size: 1.25rem;
    font-weight: 300;
    border-left: 1px solid white;
    padding-left: 2.6rem;
}

/* =============================================================================
Page header
============================================================================= */

@media (max-width: 575px) {

    .page-header h1{
        font-size: 2.441rem;;
    }

    .page-header p{
        font-size: 1.2rem !important;
    }

}

.page-header{
    height: 600px;
    display: flex;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.page-header h1,
.page-header h2,
.page-header h3,
.page-header p{
    color: #FFF;
}

.page-header p{
    font-size: 1.563rem;
    border-left: 1px solid #FFF;
    padding-left: 2rem;
    margin-left: 2rem;
}

.overlay{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    background: rgb(33,58,143);
    background: -moz-linear-gradient(90deg, rgba(33,58,143,0.5) 0%, rgba(33,58,143,0.5) 100%);
    background: -webkit-linear-gradient(90deg, rgba(33,58,143,0.5) 0%, rgba(33,58,143,0.5) 100%);
    background: linear-gradient(90deg, rgba(33,58,143,0.5) 0%, rgba(33,58,143,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#213a8f",endColorstr="#213a8f",GradientType=1);
}

/* =============================================================================
Basic page header
============================================================================= */

section.base-page-heading{
    padding-top: 120px;
    padding-bottom: 100px;
    background: #213a8f;
}

section.base-page-heading h1,
section.base-page-heading h2{
    color: #FFF;
}

/* =============================================================================
Project category filters
============================================================================= */

nav#portfolio-filter a.nav-link{
    color: #7f7f7f;
}

nav#portfolio-filter a.nav-link:hover{
    color: #213a8f;
}

nav#portfolio-filter a.nav-link.active{
    color: #213a8f;
    font-weight: 500;
}

nav#portfolio-filter ul.nav{
    justify-content: space-between;
}

/* =============================================================================
Blocks
============================================================================= */

#competenze{
    padding-top: 200px;
    padding-bottom: 200px;
}

#servizi h2{
    font-weight: 500;
}

#contact-block{
    padding: 90px 0;
}

#contact-block h3{
    color: #213a8f;
    font-weight: 500;
}

/* =============================================================================
Home page
============================================================================= */

@media (max-width: 991px){

    section#presentation{
        background: #FFF !important;
    }

}

#presentation{
    background-size: contain !important;
    background-position: right !important;
    background-repeat: no-repeat !important;
}

.service-teaser{
    margin-top: 60px;
    margin-bottom: 60px;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 992px){

    .service-teaser{
        padding-left: 3rem;
        padding-right: 3rem;
    }

}

#presentation h2,
.service-teaser h3{
    font-weight: 500;
    color: #213a8f;
}

.partner-block-content img{
    width: 120px;
    height: 120px;
    display: inline-block;
}

section#presentation .col-lg-6{
    padding-top: 90px;
    padding-bottom: 90px;
}

.rounded-img img{
    border-radius: 50%;
    height: 142.5px !important;
    width: 142.5px !important;
}

.block-cardhomepage{
    display: flex;
    flex-flow: column;
    height: 100%;
}

.block-cardhomepage .row-background{
    height: 100%;
}

/* =============================================================================
Sitemap blocks
============================================================================= */

section#sitemap{
    margin-top: 60px;
    margin-bottom: 60px;
}

.sm-block{
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.sm-block,
.sm-block p,
.sm-block h2{
    color: #FFF;
}

.sm-block a{
    color: #FFF;
}

.sm-block a:hover{
    text-decoration: none;
    color: #909cc7;
}

.sm-block.sm-1{
    background: #213a8f;
}

.sm-block.sm-4{
    background-color: #596ca9;
}

.logo-placeholder{
    display: inline-block;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background: #f9f9f9;
}

/* =============================================================================
Services
============================================================================= */

.service-band{
    min-height: 700px;
}

.service-band .col-lg-6:first-child{
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 992px){
    padding-left: 0;
    padding-right: 0;
}

.service-band h2{
    font-weight: 500;
    color: #213a8f;
}

.service-band i{
    margin: 0 auto;
    font-size: 78px;
}

.tech-logo img{
    width: 100px;
}

/* =============================================================================
About
============================================================================= */

section#about{
    background-repeat: no-repeat !important;
    background-position: right !important;
    padding-top: 60px;
    padding-bottom: 60px;
}

section#about h2{
    color: #213a8f;
    font-weight: 500;
}

section#info{
    padding-top: 60px;
    padding-bottom: 60px;
}

/* =============================================================================
Portfolio
============================================================================= */

section#projects h2{
    color: #213a8f;
    font-weight: 500;
}

#filter button.navbar-toggler{
    border: 0;
}

@media (min-width: 992px){

    #filter{
        background-color: #FFF !important;
    }

    #filter a.navbar-brand{
        display: none;
    }

}

/* =============================================================================
Partner
============================================================================= */

#partners h2{
    color: #213a8f;
    font-weight: 500;
}

#partners h2 a:hover{
    text-decoration: none;
    color: #213a8f;
}

.partner-list .block-linkedcard img{
    margin-left: 1rem;
    margin-bottom: 2rem;
}

/* =============================================================================
Mapbox
============================================================================= */

button.mapboxgl-popup-close-button{
    padding-right: .3rem;
}

button.mapboxgl-popup-close-button:hover{
    background: #FFF !important;
}

/* =============================================================================
Contacts
============================================================================= */

#contact-info h3,
.work-with-us-box h3{
    color: #213a8f;
    font-weight: 500;
}

/* =============================================================================
Carousel
============================================================================= */

.carousel-control-next, .carousel-control-prev{
    width: 8%;
}

.carousel-item{
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item .subheading{
    color: #FFF;
}

.carousel-caption{
    text-align: left;
    bottom: 10%;
    left: 0;
    width: 70%;
    opacity: 0;
    transition: left .7s ease;
    -webkit-transition: left .7s ease-out, opacity .5s ease;
    -moz-transition: left .7s ease-out, opacity .5s ease;
    -o-transition: left .7s ease-out, opacity .5s ease;
    transition: left .7s ease-out, opacity .5s ease;
}

.carousel-caption h3{
    margin-bottom: 2rem;
}

.carousel-caption a.btn{
    margin-top: 1rem;
}

@media (min-width: 992px) {

    .carousel-control-next, .carousel-control-prev{
        width: 15%;
    }

    .carousel-caption{
        bottom: 30%;
    }

    .carousel-item.active .carousel-caption{
        left: 10%;
    }

}

.carousel-item.active .carousel-caption{
    left: 15%;
    opacity: 1;
}

.slide-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgb(33,58,143);
    background: -moz-linear-gradient(90deg, rgba(33,58,143,0.5) 0%, rgba(33,58,143,0.5) 100%);
    background: -webkit-linear-gradient(90deg, rgba(33,58,143,0.5) 0%, rgba(33,58,143,0.5) 100%);
    background: linear-gradient(90deg, rgba(33,58,143,0.5) 0%, rgba(33,58,143,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#213a8f",endColorstr="#213a8f",GradientType=1);
}

#CookielawBanner {
    border-top: 1px solid rgba(29, 29, 27, .1);
    position: fixed;
    bottom: 0;
    z-index: 10;
    background-color: white;
    width: 100%;
    padding-top: 15px;
}

.pull-right{
    float: right;
}