*{
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

:root{
    --heightBanner: 450px;
    --heightHeader: 140px;
}


.txt-format{
  color: #203D74;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

/***********************HEADER****************************/
.header{
    padding: 80px 0px 60px 0px;
    height: calc(var(--heightHeader));
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo img{
    width:180px;
}

/*--------------------------MENUNAV------------------------*/
.menu{
    list-style: none;
}

.menu li{
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
}

.menu li:hover{
    color: #203D74;
}

.menu a{
    color:#737687;
    text-decoration: none;
}

.menu a:hover{
    color: #203D74;
}

.has-children{
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 40px;
    left: 0px;
    border-bottom: none;
    height: 0px;
    overflow: hidden;
    transition: all 1s;
    z-index: 99999999;
    background-color: white;
}

.sub-menu ul{
    padding-left: 0px !important;
}

.sub-menu li{
    width: 200px;
    font-size: 11px;
    padding-left: 10px;
    border-bottom: 0.8px solid #737687;
    margin-left: -8px;
}

.sub-menu li:hover{
    border-bottom: 1px solid  #203D74 ;
    margin-left: -8px;
    transition: 300ms ease-in-out;;
}

.submenu-open{
    height: auto ;
    transition: all 1s;
}

/*----------------------------------------*/

/*-----------------------BURGBTN----------------*/


.burger-btn{
    display: none;
    width: 30px;
    height: 30px;
    border: 1px solid;
    border-color: #737687;
    background-color: white;
    border-radius: 3px;
    position:absolute;
    cursor: pointer;
    right: 5%;
}

.burger-btn:hover{
    border-color: #203D74;
}

.line{
    width: 20px;
    height: 2px;
    margin: 4px 0px;
    background-color: #737687;
    position:relative;
    left: 5px;
    top: 4px;
}

.line-hover{
    background-color: #203D74;
}

@media screen and (max-width:768px) {
 
    .burger-btn{
        display: block;
        z-index: 10;
    }

    .menu{
        position: absolute;
        top: 140px;
        left: 0px;
        width: 100%;
        height: 0vh;
        overflow: scroll;
        transition: all 1s;
        z-index: 999999;
        background-color: white;

    }

    .menu li{
        width: 100%;
    }

    .menu-open{
        height:100vh;
        transition: all 1s;
    }

    .sub-menu-mobile{
        position: relative;
        overflow: scroll;
        top: 0px;
        left: 0px;
    }

    #partner-container img{
        max-width: 150px;
    }
}


/*******************Ηeadings*************/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto Condensed',sans-serif;
  letter-spacing: -0.02em;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 25px;
  margin-top: 25px;
  text-rendering: optimizelegibility;
}
h1 {
  font-size: 44px;
}
h2 {
  font-size: 34px;
}
h3 {
  font-size: 27px;
}
h4 {
  font-size: 23px;
}
h5 {
  font-size: 17px;
}
h6 {
  font-size: 14px;
}
/******************End of Ηeadings**********************/

p {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
}


ul li,
ol li {
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
}

hr {
    border: solid #999;
    border-width: 1px 0 0;
    clear: both;
    height: 0;
    margin: 21px 0;
}


/*************************************BANNER******************************************/
.banner{
    height: var(--heightBanner);
    display: flex;
    padding:0px 0px;
}

.banner-item-container{
    position: relative;
    top: 30px;
}

.banner-item-container a{
    text-decoration: none;
    color: #001750;
    width: 300px;
    padding: 0px 40px 10px 0px;
}

.banner-item-container a:hover{
    color: #B95D3B ;
}

.banner-item{
    display: flex;
    align-content: center;
}

.banner-item-icon{
    padding: 5px 30px 5px 0px;
}

.banner-item h5{
    border-bottom: #001750 solid 1px;
}

.banner-item span h5{
    flex-wrap: wrap;
}

.bann-txt-container{
    position: absolute;
    left: 250px;
    top: 50px;
    width: 90%;
    color: #001750;
    height:auto;
    background-color: transparent;
}


#bann-txt-title{
    font-size: 35px;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
}

#bann-txt-content{
    position: relative;
    top: 20px;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 300;
    text-align: justify;
}

#btn-box{
    position:relative;
    left:-10px;
    width: 110%;
    padding:50px 0px 0px 0px;
}

/*===========================================SLIDES CONTAINER=================================*/
.slides-container{
    position: relative;
    height: var(--heightBanner);
    width: 768px;
}

.my-img{
    position:absolute;
    height: 100%;
    width: 0px;
    top: 0px;
    left: 100%;
    right: 100%;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*------------------------------------------------CAROUSEL-----------------------------------------*/

.my-img-slide-open{
    left: 0;
    right: 100%;
    width: 100%;
    transition: 1s;
}

.my-img-slide-close{
    left: 0;
    right: 0;
    width: 0;
    transition: 1s;
}

.my-img-slide-reposition{
    left: 100%;
    right: 100%;
    width: 0;
}

/*------------------------------------------------------------------------------------------------*/
/*================================================================================================*/

/*==================================SVG CONTAINER===========================================*/

.svg-container {
    position: absolute;
    left: 25%;
    width: 75%;
    height: var(--heightBanner);
}

/*-------------------------------Triangles and triang position-----------------------------*/
#svg-container-tri{
    position: absolute;
    left: 0;
    width: calc(var(--heightBanner)*tan(30deg)*5/3);
    height: 100%;
    opacity: 0.9;
}

.triangle {
    position: absolute;
    width: calc(100%/2.5);
    height: calc(100%/3);
    opacity: 1;
}

.first-row-pos{
    bottom: 0;
}

.sec-row-pos{
    bottom:calc(100%/3);
}

.third-row-pos{
    bottom:calc(100%*2/3);
}


.first-col-pos{
    left: 0;
}

.sec-col-pos{
    left: calc((100%/5));
}

.third-col-pos{
   left: calc(100%/5*2);
}

.fourth-col-pos{
    left: calc(100%/5*3);
}

/*-------------------------------------------------------------------------------------------*/

/*------------------------------------------Trapezoid---------------------------------------*/

#svg-container-trapezoid{
    position: relative;
    left: calc(var(--heightBanner)*tan(30deg)*2/3);
    height: 100%;
    width: calc(100% - var(--heightBanner)*tan(30deg)*5/3);
    
}

#tri-fill{
    fill: #F1F1E6;
    position: absolute;
    left: 0px;
    height: 100%;
    width: calc(var(--heightBanner)*tan(30deg));
}

#rect {
    position: absolute;
    top: 0;
    left: calc(var(--heightBanner)*tan(30deg));
    fill: #F1F1E6;
    height: 100%;
    width: 100%;
}


/*---------------------------------SVG-common styles----------------------------------------*/
.pol-color-1{
    fill: #004766;
}

.pol-color-2{
    fill: #093337;
}

.pol-color-3{
    fill: #0E1C33;
}

.pol-color-4{
    fill: #3C5685;
}

/*===========================================================================================*/



/*===========================================JQuery==================================================*/
@media (max-width:1000px){
  
    .banner{
        display: block;
        padding: 0px 0px;
    }

    .svg-container{
        position:relative;
        left: 0%;
        width: 100%;
        height: 800px;
    }

    #svg-container-tri{
        display:none;
        width: 0px;
    }

    #svg-container-trapezoid{
        position:relative;
        width: 100%;
        left: 0%;
    }

    #tri-fill{
        display: none;
        width: 0px;
    }

    #rect{
        position:relative;
        left: 0px;
        width: 100%;
        height: auto;
    }

    #container-contents{
        position: relative;
        top:0px;
    }

    #myfooter{
        position: relative;
        top: calc(var(--heightBanner));
    }

    .slides-container{
        width: 100%;
    }

    .bann-txt-container{
        position: relative!important;
        left: 50px !important;
        width: 80%;
        height: auto;
    }

    .svg-container{
        display:none;
    }

    #btn-container-large{
        display: none;
    }

    #btn-container-small{
        display:block;
        background-color: #F1F1E6;
        height:600px;
    }

    #btn-container-small a{
        display: none;
    }

    #btn-container-small .banner-item-container a{
        display: block!important;
    }


    #bann-txt-title{
        position:relative!important;
    }
}

@media(min-width:1001px){
    #btn-container-large{
        display:block;
    }
    #btn-container-small{
        display:none;
    }
}



/*================================================================================================*/


/**************************************** END BANNER **********************************************/
/********divider****/
.divider{
    height: 3px !important;
    width: 100px;
    background-color: #203D74;
    opacity: 1 !important;
    margin: 0px 0px 5px 0px;
}


/**************************CARD INDEX********************************/

.mybox{
    max-width: 600px;
    margin: 20px;
    background-color: #F1F1E6;
    position: relative;
}
  
.mybox:after{
    content: '';
    display: block;
    padding-top: 80%;
}
  
.mybox-img {
    position: absolute;
    top: 6%;
    left: -10px;
    width: 90%;
    height: 75%;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
}

.my-card-title{
    position: absolute;
    bottom: 5%;
    margin-bottom: 0px;
    left:6%;
}

.my-card-title h3{
    margin-bottom: 0px;
    font-weight: 500;
    font-size: 17px;
}

.my-card-title .divider{
    margin: 5px 0px;
    height: 2px!important;
    width: 40px;
}

.my-card-title h3:hover{
    font-size: 20px;
    transition: 0.3s;
    color: #B95D3B;
}

.services{
    padding: 0px 0px 70px 0px;
}

.services a{
    text-decoration: none;
    color: inherit;
}

.services a:hover{
    color: #B95D3B;
}

.services-title{
    position: relative;
    text-align: center;
    padding-bottom: 30px;
}

.services-title .divider{
    position: absolute;
    left:50%;
    transform: translate(-50%,0);
    width: 200px;
}

/**********************************************************/

/* *******Centered text *********/
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
  
.mybox-img:hover{
    scale: 1.04;
    transition: 0.3s;
}

/* *************sectionstyle */

.mysection{
    margin: 70px 0px 70px 0px;
}

section h2 {
    margin-bottom: 5px;
}
/********imgsectionresponsive*********/

.mysection img{
    max-width: 100%;
    height: auto;
}

.my-section-txt p{
    padding-top: 1px;
}

.my-section-txt a{
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.my-section-txt a:hover{
    color: #B95D3B;
}

.mh-70{
    max-height: 70%;
}

/********mediaquery gestione contenuti*********/
@media screen and (max-width:768px){
  
    .sectionparent{
      display:flex;
      flex-direction: column-reverse;
    }

}

/***********************linkstyle****************/
.mylinkpage{
    color:#737687;
    text-decoration: none;
    font-size: 12px;
}
  
.mylinkpage:hover{
    color:#203D74!important;
}

/****************FOOTER****************/

#myfooter{
    background-color: #1b3d2f33;
    height: auto;
    padding: 50px 0px;
    font-family: 'Roboto Condensed', sans-serif;
}

.ft-link hr{
    margin-top: 0px;
}

.adress-text{
    font-size: 12px;
    color:#203D74;
}

@media screen and ( min-width: 1400px ) {
    .adress-text{
        padding-top: 20px;
    }
}


/*********imgft***********/
#myfooter img{
    max-width: 80px;
}

#myfooter h4{
    margin: 0px 0px;
}
  
#myfooter ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
}
  
#myfooter li {
    font-size: 12px;
    margin: 0px;
}
  
#myfooter  li a{
    color: #737687;
    text-decoration: none;
}
  
#myfooter a:hover{
    color:#203D74;
}
  
.footer-section{
    padding: 25px 10px;
}

.footer-section-title{
    height:70px;
}

.footer-logo{
    width: 60%;
    height: 70px;
    background-size:contain;
    background-repeat: no-repeat;
}

.adress-text a{
    color: #B95D3B;
}

/************************PROGETTI GALLERY*************************/
.gallery-item{
    width: 300px;
    height: 200px;
    object-fit: cover;
    justify-content: center;
}

.element{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 50px;
}


/************************BUTTONSTYLE****************/
.mybtn{
    background-color: #F1F1E6;
    color: #203D74;
    width: 100px !important;
    padding: 8px 18px;
    margin:0px 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    text-align: left !important;
    border: 1.5px solid #203D74;
}

.mybtn div{
    text-align: center;
}

.btn-container{
    padding: 0px 0px 8px 0px;
}

#btn-container-large{
    position:relative;
    background-color: transparent;
}

.btn-inner{
    padding: 20px 0px 20px 0px;
}

.btn-title{
    width: max-content;
    font-size: 12px!important;
    font-weight: bold;
}

.mybtn:hover{
    color: #c09516 !important;
    font-weight: bold;
}



.btn-icon{
    height:30px;
    width:auto;
    margin:10px 0px 10px 0px;
}


.btn-title:hover{
    color: #c09516 !important;
    font-weight: bold;
}

.row-btn{
    width:100% !important;
}

.row-btn>.col:nth-child(n){
    padding: 10px 0px 10px 0px;
}

.row-btn>.col:nth-child(n) .btn-icon,.btn-title{
    position:relative;
    left:50%;
    transform: translate(-50%,0%);
}


@media(max-width:576px){
    .row-btn>.col:nth-child(n){
        border-right:none!important;
    }
    .row-btn{
        width:100% !important;
    }
}

@media(max-width:992px){
    .row-btn>.col:nth-child(n){
        border:none;
    }
    
    .row-btn>.col:nth-child(2n+1){
        border-right: solid 1px #001750;
    }
    .row-btn>.col:nth-child(n){
        border-top: solid 1px #001750;
    }
    .row-btn>.col:first-child{
        border:none;
    }
}

@media(min-width:992px){
    .row-btn>.col:nth-child(3n+1){
        border-left: solid 1px #001750;
        border-right: solid 1px #001750;
    }
    
    .row-btn>.col:nth-child(n+1){
        border-top: solid 1px #001750;
    }
    
    .row-btn>.col:first-child{
        border-top: none;
        border-bottom: none;
    }
}

/*********gallery**********/
.my-row-gallery{
    display: flex;
    flex-wrap: wrap;
    padding: 0px 4px;
}

.my-col-gallery{
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.my-col-gallery img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.my-img-container{
    position: relative;
    color: white;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
}

.my-img-caption{
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #203d7483;
    width: 100%;
    height: 50px;
}



@media screen and (max-width: 768px) {
    .my-col-gallery {
      flex: 100%;
      max-width: 100%;
    }

    .adress-text{
        padding-top: 20px;
    }
}

@media screen and (max-width: 900px) and (min-width: 768px) {
    .my-col-gallery {
      flex: 50%;
      max-width: 50%;
    }
}



/***************UNDERLINE*********/
span.un {
    position: relative;
}
  
span.un::after {
    position: absolute;
    content: "";
    background:#203D74;
    top: 25px;
    right: 0;
    height: 2px;
    width: 0%;
    transition: 300ms ease-in-out;
}
  
span.un:hover::after {
    width: 100%;
    left: 0;
}

span.un-btn::after{
    background-color: #c09516;
}

/***********ArrUp*************/

#my-btn-arrUp{
    display: none;
    position: fixed;
    width: 35px;
    height: 35px;
    background-color:#f2f3fa;
    top: 65vh;
    left: 3px;
    z-index: 9999999999999999999;
    color: #737687;
    border-radius: 3px;
    text-align: center;
}

.position-icon{
    padding: 4px 0;
}

#my-btn-arrUp:hover span{
    color: #203D74;
    scale: 110%;
    transition: all 1s;
}

#my-btn-arrUp:hover{
    cursor: pointer;
}

.title-sec{
    position: relative;
}

.un-title-sec{
    position: absolute;
}

.my-page-menu{
    padding-bottom:45px;
}

.my-page-menu ul li{
    font-size: 12px;
}

input, textarea{
    border: 1px solid lightgray;
    border-radius: 0px;
}

input:focus,textarea:focus{
    outline: #eca868 1px solid;
}

#form-contact{
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-family: "Arial", sans-serif;
    font-size: 12px;
    color: grey;
    margin: 30px 0px 30px 0px;
}

.form-field{
    padding: 5px 0px;
}

.form-field input{
    height:35px;
    width: 350px;
}

.form-field label{
    padding-bottom: 5px;
}

.invalid-feedback{
    display: none;
}

.hero-content{
    position: absolute;
    text-align: center;
    left:50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.hero-content h1{
    margin: 0px 0px;
}

.hero-content hr{
    position: absolute;
    left: 50%;
    transform: translate(-50%,0);
    width: 300px;
}

.hero-content h1{
    text-transform: uppercase;
}


.asterisco{
    font-family: Verdana,Arial,sans-serif;
    color: rgba(255, 0, 0, 0.764);
}

.partner-container img{
    width: 50%;
    position: relative;
    left: 50%;
    transform: translate(-50%,0);
    max-width: 100px;
    max-height: 100px;
}

.item{
    display: block;
    padding-top: 10px;
}

.my-grid-gallery{
    column-count: 4;
    column-gap: 10px;   
}


@media screen and (max-width:768px) {
 
    .my-grid-gallery{
        column-count: 2;
    }
}

@media screen and (max-width:840px) {
 
    .my-grid-gallery{
        column-count: 2;
    }
}

@media screen and (max-width: 480px) {
    .my-grid-gallery{
        column-count: 1;
    }
}

@media(min-width:1000px) and (max-width:1080px){
    #btn-box{
        position:relative;
        left:-10px;
        width: 110%;
        padding:20px 0px 0px 0px;
    }
}


.text-justify{
    text-align: justify;
}