body {
    width: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
    color: #333;
    background-color: #fbfbfb;
    padding: 0;
}

#header {
    width: 100%;
    margin-right: 0%;
    margin-left: 0%;
    /* position: fixed; */
    z-index: 9999;
}

#topnavigation {
    display: flex;
    width: 100%;
    height: 3rem;
    background-color: #00587c;
    color: #fff;
    align-items: center;
    justify-content: space-between;
}

#topnavigation i {
    font-size: 0.8rem;
}

#topmenunavigation {
    display: flex;
    width: 100%;
    background-color: #ffffff;
    color: #000;
    align-items: center;
    height: 120px;
}

#bannerlogo {
    background-image: url("../img/hubincentivi.png");
    background-repeat: no-repeat;
    min-width:400px;
    width: 400;
    height: 70px;
    position:relative;
    left:20px;
}

.menu {
    width: 70%;
    background-color: #fff;
    overflow: hidden;
    margin-left: 10%;
}

.menu a {
    float: left;
    display: block;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1rem;
}

.menu a:hover {
    background-color: #ddd;
    color: black;
}

.menu a:active {
    background-color: #04aa6d;
    color: white;
}

.menu .icon {
    display: none;
}

.menu #login {
    margin-left: 0%;
}

#bodypage {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

/*
.button {
    color: #fff !important;
    font-weight: 700;
    text-decoration: underline;
    background: #60a3bc;
    padding: 20px;
    border-radius: 50px;
    display: inline-block;
    border: none;
    transition: all 0.4s ease 0s;
}

.button:hover {
    text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    transition: all 0.4s ease 0s;
}

*/

.titleblock {
   font-size:3em; 
   text-align:center
}


.title a {
    text-decoration: none;
    cursor: default;
}

#hubincentivipresentation {
    width: 100%;
    min-width: 400px;
    height: auto;
    background: #00587c;
    font-family: "Roboto";
}

#hubincentivipresentation img {
    padding-top: 150px;
    padding-left: 60px;
}

.contentitems {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.centra {
    text-align: center;
}

.paddejust {
    padding: 15px;
    text-align: justify;
}

.paddejust ul {
	list-style-type: disc;
	margin-left:8px;
}

#hubincentivibody {
    background-color: #fff;
    position: relative;
    margin-left: -350px;
    margin-top: 200px;
    margin-right: 50px;
    width: 60%;
    line-height: 25px;
    padding: 20px;
    text-align: justify;
}

#hubincentivibody h1 {
    font-size: 3rem;
    padding-bottom: 20px;
}

.button {
    align-items: center;
    background-color: #00587c;
    border: 0;
    border-radius: 100px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto,
        "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell,
        "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 20px;
    max-width: 480px;
    min-height: 40px;
    min-width: 0px;
    overflow: hidden;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    touch-action: manipulation;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
}

.button:hover,
.button:focus {
    background-color: #16437e;
    color: #ffffff;
}

.button:active {
    background: #09223b;
    color: rgb(255, 255, 255, 0.7);
}

.button:disabled {
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.3);
}

#buttonwhite {
    background-color: #fff;
    color: #00587c !important;
    border: 1px solid #00587c;
}

#buttonwhite:link {
    background: #fff;
    color: #00587c !important;
}

#buttonwhite:visited {
    background: #fff;
    color: #00587c !important;
}

#buttonwhite:hover,
#buttonwhite:focus {
    background-color: #00587c;
    color: #fff !important;
}

#buttonwhite:active {
    background-color: #fff;
    color: #00587c;
}

#buttonblue {
    background-color: #fff;
    color: #00587c !important;
    border: 1px solid #00587c;
}

#buttonblue:link {
    background: #fff;
    color: #00587c !important;
}

#buttonblue:visited {
    background: #fff;
    color: #00587c !important;
}

#buttonblue:hover,
#buttonblue:focus {
    background-color: #00587c !important;
    color: #fff !important;
}

#buttonblue:active {
    background-color: #fff;
    color: #00587c;
}

#buttonyellow {
    background-color: #fff;
    color: #00587c !important;
    border: 1px solid #00587c;
}

#buttonyellow:link {
    background: #fff;
    color: #00587c !important;
}

#buttonyellow:visited {
    background: #fff;
    color: #00587c !important;
}

#buttonyellow:hover,
#buttonyellow:focus {
    background-color: #fdc300 !important;
    color: #fff !important;
}

#buttonyellow:active {
    background-color: #fff;
    color: #00587c;
}

.buttonyellow:disabled {
    cursor: not-allowed;
    background: #fdc300;
    color: #00587c;
}

.buttonyellow {
    background-color: #fdc300;
    color: #00587c;
}

.buttonyellow:link {
    background: #fdc300;
    color: #00587c;
}

.buttonyellow:visited {
    background: #fdc300;
    color: #00587c;
}

.buttonyellow:hover,
.buttonyellow:focus {
    background-color: #00587c;
    color: #fdc300;
}

.buttonyellow:active {
    background-color: #00587c;
    color: #fdc300;
}

.buttonyellow:disabled {
    cursor: not-allowed;
    background: #fdc300;
    color: #00587c;
}

#contfunct {
    justify-content: space-evenly;
}

#contabbonamenti {
    justify-content: center;
    background: linear-gradient(#d0edf1, #00587c);
    padding-bottom: 50px;
}

.abb {
    width: 20%;
    background-color: #fff;
    margin: 70px 5px 10px 5px;
    padding-bottom: 30px;
    line-height: 25px;
}

.abb h1 {
    border-radius: 50%;
    background-color: #fdc300;
    width: 70px;
    height: 70px;
    text-align: center;
    margin: auto;
    position: relative;
    top: -30px;
}

.abb h1 div {
    padding-top: 18px;
    font-weight: 700;
    font-size: 1.2rem;
}

.funct {
    width: 10%;
    margin-top: 60px;
    line-height: 25px;
}

.funct h1 {
    font-size: 2.5em;
    color: #fdc300;
}

.funct div {
    font-weight: 300;
}

hr {
    border-top: 2px solid;
}


#chisiamocontainer {
    display:flex; 
    flex-direction:row;
    background: linear-gradient(#00587c, #d0edf1);
    color: #000;
    padding-top: -150px;
}

#chisiamo {
    display:flex; 
    flex-direction:column; 
    justify-content: center; 
    width: 40%; 
    height:200px; 
    background-color: #fdc300
}

#chisiamotesto {
    width:50%; 
    text-align:justify; 
    margin:auto; 
    line-height:25px;
}


footer {
    background-color: #00587c;
    color: #ffffff;
    margin-top:50px; 
    font-weight:700
}

.footer-riga{
    height:50px; 
    border-bottom: 2px solid #fff; 
    padding:30px
}

.footer-colonna{
    display:inline-block; 
    width:45%; 
    text-align:center;
}

footer ul li {
    width: 20%;
    display: inline-block;
}

a.footerhref:link {
    color: #fff;
}

a.footerhref:visited {
    color: #fff;
}

a.footerhref:hover {
    color: #fdc300;
}

a.footerhref:active {
    color: #fdc300;
}

#ponidomanda a{
    font-size: 1.25em;
    text-decoration: underline;
    color:#00587c
}

#ponidomanda a:hover{
    font-size: 1.25em;
    text-decoration: none;
    color:red;
}

#formdomandacontattaci {
    padding: 13% 0% 5% 5%;
}

.menu a {
	margin-top: 10px;
}

.menu.responsive a.button {
	width: 100px;
	height: 30px;
	padding: 10px;
	text-align:center;
}

@media screen and (max-width: 900px) {
    #topmenunavigation {
        background-size: 300px;
    }

    .menu {
        width: 50%;
    }

    .menu a {
        display: none;
    }

    .menu a.icon {
        float: right;
        display: block;
    }

    .menu.responsive {
        position: relative;
        overflow: visible;
        z-index: 10;
        top: 95px;
    }

    .menu.responsive .icon {
        position: absolute;
        right: 0;
        top: 0px;
    }

    .menu.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .menu.responsive a.button {
        width:180px;
    }

    .menu #login {
        margin-left: 0px !important;
    }


    .titleblock {
        font-size:2em; 
        text-align:center
     }

    .container {
        flex-direction: column;
        align-items: stretch;
    }

    .container img {
        margin: 0 auto;
        text-align: center;
        width: 95%;
        height: auto;
    }

    .contentitems {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #hubincentivipresentation img {
        margin: 20px;
        padding: 20px;
    }

    #contfunct {
    }

    .funct {
        width: 40%;
    }

    .abb {
        width: 40%;
        margin: 30px;
    }

    #hubincentivibody {
        background-color: #fff;
        position: relative;
        margin: auto;
        width: 60%;
        line-height: 25px;
        padding: 20px;
    }

    footer ul li {
        width: 60%;
        display: inline;
        padding: 5px;
    }

    #formdomandacontattaci {
        padding-top: 20%;
    }

}

@media screen and (max-width: 600px) {
    body {
        width: 100%;
    }

    #bodypage {
        width: 100%;
    }

    #header {
        width: 100%;
        min-width: 400px;
        margin-left: 0px !important;
    }

    .menu {
        margin-top: 0px;
        margin-left: 0%;
    }

    .menu.responsive {
        top: 0px;
    }

    #topmenunavigation{
        flex-direction:column;
    }

    #bannerlogo {
        flex-direction:column;
        left:0px;
        top:10px;
    }

    #funzionalita img {
        width: 400px !important;
        height: auto !important;
    }

    #hubincentivipresentation img {
        width: 400px;
        height: auto;
    }

    .abb {
        width: 50%;
        margin: 15px;
    }

    #formdomandacontattaci {
        padding-top: 30%;
    }


    #chisiamocontainer {
        display:flex; 
        flex-direction:column;
    }
    
    #chisiamo {
        width: 100%; 
    }


    .footer-riga {
        height: auto;
        text-align: center;
    }

    .footer-colonna{
        display: block;
        width: auto;
        text-align: center;
    }

}

@media screen and (max-width: 400px) {

    #bannerlogo {
        background-image: url("../img/hubincentivi_small.png");
        background-repeat: no-repeat;
        min-width: 300px;
        width: 300;
        height: 70px;
        position: relative;
    }

    .menu {
        width: 70% !important;
    }

    #hubincentivipresentation img {
        display: none !important;
    }


    #hubincentivibody {
        margin-top: 120px;
    }

    #hubincentivibody h1 {
        font-size: 1.5rem !important;
    }

    .titleblock {
        font-size:1.5em; 
        text-align:center
     }

    .contentitems{
        width: 100%;
        max-width: 400px;
        padding-right: -80px;
        padding-left: -80px;
    }

    .abb {
        width: 100%;
        margin: 15px;
    }

    #abbonamentiimg {
        display: none !important;
    }
	
	.abb h1 {
		width: 50px;
		height: 50px;
	}

	.abb h1 div {
		margin-top: -7px;
		padding-top: 10px;
	}
	
	.button {
	  font-size: 10px;
	  font-weight: 600;
	  line-height: 20px;
	  max-width: 400px;
	  min-height: 30px;
	  min-width: 0px;
	  overflow: hidden;
	  padding: 0px;
		padding-right: 0px;
		padding-left: 0px;
	  padding-left: 20px;
	  padding-right:20px;;
	}
	
}

@media screen and (max-width: 350px) {

    #topmenunavigation{
        width:300px;
    }

    #bannerlogo {
        left:10px;
    }

    .menu {
        width: 60% !important;
    }

    #hubincentivipresentation {
        min-width: 300px;
    }


    #hubincentivibody h1 {
        font-size: 1.5rem !important;
    }
    .contentitems{
        width: 100%;
    }

    .container img {
        display: none;
    }

    #bodypage {
        width: 300px;
    }


}
