@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&display=swap');

@font-face {
    font-family: 'Futura';
    src: url('./font/Futura-Medium.eot');
    src: url('./font/Futura-Medium.eot?#iefix') format('embedded-opentype'),
    url('./font/Futura-Medium.woff2') format('woff2'),
    url('./font/Futura-Medium.woff') format('woff'),
    url('./font/Futura-Medium.ttf') format('truetype'),
    url('./font/Futura-Medium.svg#Futura-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('./font/SegoeUI.eot');
    src: url('./font/SegoeUI.eot?#iefix') format('embedded-opentype'),
    url('./font/SegoeUI.woff2') format('woff2'),
    url('./font/SegoeUI.woff') format('woff'),
    url('./font/SegoeUI.ttf') format('truetype'),
    url('./font/SegoeUI.svg#SegoeUI') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('./font/SegoeUI-Light.eot');
    src: url('./font/SegoeUI-Light.eot?#iefix') format('embedded-opentype'),
    url('./font/SegoeUI-Light.woff2') format('woff2'),
    url('./font/SegoeUI-Light.woff') format('woff'),
    url('./font/SegoeUI-Light.ttf') format('truetype'),
    url('./font/SegoeUI-Light.svg#SegoeUI-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('./font/SegoeUI-Semibold.eot');
    src: url('./font/SegoeUI-Semibold.eot?#iefix') format('embedded-opentype'),
    url('./font/SegoeUI-Semibold.woff2') format('woff2'),
    url('./font/SegoeUI-Semibold.woff') format('woff'),
    url('./font/SegoeUI-Semibold.ttf') format('truetype'),
    url('./font/SegoeUI-Semibold.svg#SegoeUI-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100%;
    background: #FBFCFC url('../img/background.png');
}

/* Header */
#header {
    display: flex;
    justify-content: space-between;
    overflow: visible;
    width: 100%;
    height: 156px;
    background-color: #003f6a;
    /*background-color: #004777;*/
    z-index: 50;
}

#headerSmall {
    visibility: collapse;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #003f6a;
    background-color: #fbfeff;
    z-index: 40;
}

#headerSpace {
    flex-shrink: 0;
    height: 156px;
}

/* Logo */
#logoImg {
    margin: 0 0 0 auto;
}

#logoImg img {
    margin-bottom: -3px;
}

#logoText {
    margin: 33px auto 0 6px;
    align-self: start;
}

#logoText h1 {
    margin: 0;
    color: #fbfeff;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
}

#logoText h3 {
    margin: 8px 0 0 0;
    color: #fbfeff;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
    font-weight: normal;
}

#logoImgSmall {
    float: left;
    height: 0;
    width: 0;
    margin-left: 6px;
}

#headerSmall h1 {
    margin: 0;
    text-align: center;
    color: #00538c;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
}

/* Menu */
#mainMenu {
    flex-grow: 0.4;
    align-self: flex-end;
    margin: 0 auto;
    min-width: 418px;
    background-color: #003f6a;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    text-align: center;
    padding-top: 0;
}

#mainMenu li {
    color: #fbfeff;
    border: 0;
}

.k-menu-group, .k-menu.k-context-menu {
    background-color: #00538c;
    border-color: #003f6a;
    border-radius: 10px;
}

.k-menu:not(.k-context-menu) > .k-item.k-state-focused {
    box-shadow: inset 0 0 0 1px #00538c;
}

.k-menu:not(.k-context-menu) > .k-item > .k-state-active, .k-menu:not(.k-context-menu) > .k-item.k-state-hover {
    color: #d5ecff !important;
}

.k-menu-group .k-item.k-state-focused {
    box-shadow: inset 0 0 0 1px #00538c;
}

.k-menu-group .k-item > .k-state-active, .k-menu-group .k-item.k-state-hover, .k-menu-group .k-item:hover {
    color: #d5ecff !important;
    background-color: #0072bf;
}

.k-menu-group .k-item.k-first.k-state-hover, .k-menu-group .k-item.k-first.k-state-focused, .k-menu-group .k-item.k-first > a.k-menu-link.k-state-active {
    border-radius: 10px 10px 0 0;
}

.k-menu-group .k-item.k-last.k-state-hover, .k-menu-group .k-item.k-last.k-state-focused, .k-menu-group .k-item.k-last > a.k-menu-link.k-state-active {
    border-radius: 0 0 10px 10px;
}

.k-menu-group .k-item > .k-link > .k-i-arrow-60-right {
    margin-top: 0 !important;
}

#headerSmall button.k-rpanel-toggle {
    position: fixed;
    top: 5px;
    right: 5px;
    color: #fbfeff;
    background-color: #00538c;
    border-color: #003f6a;
}

/* footer */
#footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    background-color: #fbfeff;
    border-top: 1px solid #003f6a;
}

#footer p {
    margin: 8px;
    text-align: center;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-style: italic;
    color: #003f6a;
}

#footer a {
    text-decoration: none;
    color: #003f6a;
}

#footer a:visited {
    color: #003f6a;
}

#footer a:hover {
    text-decoration: underline;
    color: #0b8df9;
}

/* general */
.centered {
    text-align: center;
}

.left {
    text-align: left;
}

.justified {
    text-align: justify;
}

.noDecoration {
    text-decoration: none;
    color: #010a4f;
}

.internalLink {
    visibility: collapse;
    position: relative;
    top: -156px;
}

.maxSize {
    width: 100%;
}

.noMarginTop {
    margin-top: 0 !important;
}

.paddingNoTop {
    padding-top: 0 !important;
}

.paddingAfter {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}

.paddingTopDown {
    padding-top: 30px !important;
    padding-bottom: 10px !important;
}

.twoColumn {
    width: 48%;
    float: left;
}

.threeColumn {
    width: 32%;
    float: left;
}

.fourColumn {
    width: calc(25% - 12px);
    float: left;
}

.sixColumn {
    width: 16%;
    float: left;
}

.columnSmall {
    max-width: 350px;
    margin: 10px auto;
}

.twoTitleColumn {
    width: 48%;
    float: left;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-left: solid 1px #003f6a;
}

.threeTitleColumn {
    width: 32%;
    float: left;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-left: solid 1px #003f6a;
}

.threeTitleColumnDouble {
    width: 64%;
}

div.content > div.twoTitleColumn:first-child, div.content > div.threeTitleColumn:first-child {
    border-left: none;
}

.twoTitleColumn p, .threeTitleColumn p {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 3px;
    padding-right: 3px;
}

div.content > div.twoTitleColumnTitleEnd:first-child, div.content > div.threeTitleColumnTitleEnd:first-child {
    visibility: collapse;
    display: none;
}

div.content > div.twoTitleColumnTitleEnd:nth-child(2), div.content > div.threeTitleColumnTitleEnd:nth-child(2) {
    border-left: none;
}

/* button */
.k-button:not(.k-rpanel-toggle) {
    margin: 18px;
    padding: 14px 20px 16px 20px;
    color: #90ccff;
    font-size: 18px;
    font-weight: 600;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    background-color: #fbfeff;
    border: 1px solid #90ccff;
    border-radius: 8px;
    cursor: pointer;
}

.k-button:hover {
    color: #fbfeff;
    background-color: #a0d4ff;
    border: 1px solid #90ccff;
}

button, .k-button.k-primary, .k-dialog.k-alert .k-button {
    margin: 18px;
    padding: 14px 20px 16px 20px;
    color: #0574d2;
    font-size: 18px;
    font-weight: 600;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    background-color: #fbfeff;
    border: 1px solid #0574d2;
    border-radius: 8px;
    cursor: pointer;
}

button:hover, .k-button.k-primary:hover, .k-dialog.k-alert .k-button:hover {
    color: #fbfeff;
    background-color: #0b8df9;
}

.k-form .k-button {
    margin-left: 0;
    margin-top: 0;
}

/* kendo.alert */
.k-dialog.k-alert .k-window-title.k-dialog-title {
    visibility: collapse;
}

.k-dialog.k-alert .k-window-titlebar.k-dialog-titlebar.k-hstack {
    background-color: #003f6a;
}

.k-widget.k-window {
    border-color: #003f6a;
    background-color: #003f6a;
    border-radius: 6px;
}

.k-dialog-content {
    color: #010a4f;
    font-size: 18px;
    font-weight: 300;
    background: #fbfeff url('../img/background.png') fixed;
}

.k-dialog-buttongroup {
    border: 0;
    background: #FBFCFC url('../img/background.png') fixed;
}

.k-window-title.k-dialog-title, .k-dialog.k-alert .k-window-titlebar.k-dialog-titlebar.k-hstack:before {
    content: "IT innovations";
    padding: .5em 0;
    margin: -.5em 0;
    font-size: 1.8rem;
    line-height: 1.5;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: default;
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    color: #fbfeff;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
}

.k-window-actions {
    color: #fbfeff;
}

.k-window-action {
    margin: 0;
}

/* Title */
.titleContainer {
    width: 100%;
    padding: 40px 0 10px 0;
    text-align: center;
    background-image: url("../img/servicesBackground.jpg");
    background-position: center;
    background-size: cover;
}

.titleContainer h1 {
    text-align: center;
    color: #fbfeff;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    text-shadow: 0.1em 0.1em 0.1em rgba(0, 63, 106, 0.8);
}

/* content */
.contentContainer {
    flex-shrink: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.contentContainerAcqua {
    margin-top: 20px;
    padding-bottom: 20px;
    background-color: #fbfeff;
}

.contentContainerFirst {
    padding-bottom: 0;
}

.contentContainerContinued {
    margin-top: 0;
}

.contentContainerLast {
    padding-bottom: 16px;
}

.content {
    margin: 6px;
    padding-top: 20px;
    color: #010a4f;
    font-size: 18px;
    font-weight: 300;
    line-height: 27pt;
}

.content a {
    color: #0574d2;
}

.content a:visited {
    color: #03508F;
}

.content a:hover {
    color: #0b8df9;
}

.content h1 {
    text-align: center;
    color: #00538c;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
}

.content h2 {
    text-align: center;
    color: #00538c;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 6px;
}

.content h3 {
    text-align: center;
    color: #00538c;
    font-family: 'Futura', 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.content img {
    max-width: calc(100% - 12px);
}

.contentSenzaIcona h1 {
    margin-top: -6px;
}

.contentLarge {
    width: 1011px;
    flex-grow: 0.7;
}

.contentMedium {
    width: 948px;
}

.contentSmall {
    width: 738px;
}

.contentMini {
    width: 628px;
}

.contentVerticalCentered {
    height: calc(100% - 30px);
}

.contentVerticalCentered > div {
    height: 100%;
    display: grid;
    align-content: center;
}

.contentVerticalCentered h1 {
    margin-bottom: 0;
}

.contentVerticalTop {
    margin-bottom: 0 !important;
}

.contentVerticalTop h1 {
    margin-bottom: 0;
}

/* HomePage */
#servicesContainer {
    position: relative;
    width: 100%;
}

#servicesBackground {
    width: 100%;
}

.servicesButton {
    position: absolute;
    width: 6vw;
    height: 5.2vw;
    transition: scale 300ms;
}

.servicesButton:hover {
    scale: 1.6;
    z-index: 100;
}

.servicesButton img {
    width: 6vw;
    height: 5.2vw;
}

.servicesButton a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
}

.servicesButton div.servicesButtonText {
    padding: 6px 8px 8px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #0574d2;
    background-color: #fbfeff;
    border-radius: 8px;
    border: 1px solid #0574d2;
    visibility: collapse;
    opacity: 0;
    overflow: hidden;
}

.servicesButton:hover div.servicesButtonText {
    transition: opacity 500ms;
    visibility: visible;
    opacity: 1;
    overflow: visible;
}

#clientiBox, #galleryBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.clientLogoImg {
    padding: 40px !important;
    max-width: calc(100% - 80px) !important;
    max-height: 222px !important;
}

/* Servizi */
.serviziColumn {
    width: 24%;
    float: left;
    padding: 16px 0;
    text-align: center;
}

.softwareColumn {
    width: 32%;
    float: left;
    padding: 16px 0;
    text-align: center;
}

/* form */
.k-form-hint {
    font-style: italic;
}

/* Code color */
.codeVarType {
    color: blue;
}

.codeFunction {
    color: #0dacf4;
}

/* Map */
#mapContainer {
    height: 50vh;
}

#map {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 1px solid #003f6a;
}

.ol-attribution.ol-uncollapsible {
    transform: scale(0.6) translate(80px, 10px);
}

/* Video */
.embeddedVideo {
    width: 64vw;
    height: 36vw;
    border: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media all and (max-width: 1280px) {
    /* general */
    .sixColumn {
        width: 24%;
    }
}

@media all and (max-width: 1220px) {
    /* Servizi */
    .serviziColumn {
        width: 32%;
    }
}

@media all and (max-width: 1022px) {
    /* Menu */
    #header {
        flex-flow: column wrap;
    }

    #logoImg {
        margin: 0;
    }

    #logoText {
        width: calc(100% - 140px);
    }

    #logoText h3 {
        visibility: collapse;
        height: 0;
        width: 0;
        margin: 0 0 13px 0;
    }

    #mainMenu {
        margin: 0 0 0 auto;
    }

    .internalLink {
        top: -136px;
    }

    .threeTitleColumn {
        width: 48%;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    div.content > div.threeTitleColumn:first-child {
        width: 98%;
        margin-bottom: 20px;
        visibility: unset;
        display: unset;
    }

    div.content > div.threeTitleColumn:first-child img {
        display: none;
        visibility: collapse;
    }

    div.content > div.threeTitleColumn:nth-child(2) {
        border-left: none;
    }

    div.content > div.threeTitleColumnTitleEnd:last-child {
        visibility: collapse;
        display: none;
    }

    .threeTitleColumnDouble {
        width: 98%;
        border-left: none;
        margin: 0 6px;
    }

    .threeColumn {
        width: 48%;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .contentVerticalCentered {
        height: auto;
    }
}

@media all and (max-width: 888px) {
    /* Servizi */
    .serviziColumn {
        width: 48%;
    }

    .softwareColumn {
        width: 48%;
    }
}

@media all and (max-width: 739px) {
    /* general */
    .twoColumn {
        width: 98%;
    }

    .fourColumn {
        width: 48%;
    }

    .sixColumn {
        width: 33%;
        float: left;
    }

    .euLogo {
        width: 48% !important;
    }

    .euLogo img {
        visibility: visible !important;
        display: unset !important;
        height: auto;
    }

    .content > div.content {
        padding-top: 40px;
    }

    .content > div.content:first-child {
        padding-top: 10px;
    }
}

@media all and (max-width: 672px) {
    /* Menu */
    #header {
        visibility: collapse;
        min-width: 0;
    }

    #headerSpace {
        height: 43px;
    }

    #headerSmall {
        visibility: visible;
    }

    #mainMenu {
        flex-direction: column;
        visibility: visible;
        position: fixed;
        top: 43px;
        width: 100%;
        min-width: 0;
    }

    .k-widget.k-menu-horizontal > .k-item {
        border-width: 0;
    }

    .k-menu .k-item > .k-link {
        padding: .2rem;
    }

    .k-menu .k-animation-container {
        width: calc(100% - 1px) !important;
    }

    .k-menu .k-animation-container .k-menu-group {
        width: 100% !important;
    }

    .k-menu .k-animation-container .k-animation-container {
        left: 5% !important;
        width: 90% !important;
    }

    .k-i-arrow-60-right::before {
        content: "\e006";
    }

    .internalLink {
        top: -24px;
    }

    /* general */
    .sixColumn {
        width: 48%;
    }

    .twoTitleColumn, .threeTitleColumn, .threeColumn {
        width: 98%;
        border-left: none;
        margin: 0 6px;
    }

    div.content > div.twoTitleColumn:first-child {
        margin-bottom: 20px;
        visibility: unset;
        display: unset;
    }

    div.content > div.twoTitleColumn:first-child img {
        display: none;
        visibility: collapse;
    }

    div.content > div.twoTitleColumnTitleEnd:last-child {
        visibility: collapse;
        display: none;
    }
}

@media all and (max-width: 620px) {
    .fourColumn, .serviziColumn, .softwareColumn {
        width: 98%;
    }
}

@media all and (max-width: 320px) {
    /* general */
    #galleryBox .sixColumn {
        width: 98%;
    }
}

/* max-height */
@media all and (max-height: 520px) {
    /* Menu */
    #header {
        visibility: collapse;
        min-width: 0;
    }

    #headerSpace {
        height: 43px;
    }

    #headerSmall {
        visibility: visible;
    }

    #mainMenu {
        flex-direction: column;
        visibility: visible;
        position: fixed;
        top: 43px;
        width: 100%;
        min-width: 0;
    }

    .k-widget.k-menu-horizontal > .k-item {
        border-width: 0;
    }

    .k-menu .k-item > .k-link {
        padding: .2rem;
    }

    .k-menu .k-animation-container {
        width: calc(100% - 1px) !important;
    }

    .k-menu .k-animation-container .k-menu-group {
        width: 100% !important;
    }

    .k-menu .k-animation-container .k-animation-container {
        left: 5% !important;
        width: 90% !important;
    }

    .k-i-arrow-60-right::before {
        content: "\e006";
    }

    /* general */
    .sixColumn {
        width: 48%;
    }
}

@media (hover: none) {
    /* Menu */
    a.menuGroup {
        pointer-events: none;
    }
}