/*
COLORE PRINCIPALE: #759b52 (verde militare)

COLORE PRINCIPALE SFONDO: #efefef

TITOLI: #3a5025 (verde scuro)

VERDE BRILLANTE: #3ef821

VERDE CHIARO: #EBF7E1

*/

* {
    /*font-family: Noto sans;
    font-family: 'Slabo 27px', serif;
    font-family: 'Baloo Chettan 2';
    font-family: 'Roboto', sans-serif;
    font-family: 'Carrois Gothic', sans-serif;
    font-family: 'Girassol', cursive;
    font-family: 'Lato', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Hind', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Lexend', sans-serif;
    font-family: 'Noto Serif', serif;
    font-family: 'Open Sans Condensed', sans-serif;*/
}

body,
html {
    background-color: #e9e9e9;
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
}

h1 {
    font-size: 40px;
    font-weight: 600;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0px;
    padding: 0px;
    /*text-shadow:   1px  1px 2px #000,
                -1px -1px 2px #000;*/
}

h2 {
    font-size: 22px;
    font-weight: 500;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0px;
    padding: 0px;
    color: #0053ac;
}


h3 {
    font-size: 30px;
    font-weight: 450;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0px;
    padding: 0px;
}


.font-white {
    color: #ffffff;
}

.font-black {
    color: #000000;
}

.text-40 {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
}

.text-center {
    text-align: left;
}

.bg-green {
    border-left: 6px solid #1fc2ff;
    background: #001a37;
}

.bg-green-button {
    background: #1fc2ff;
    color: #000000;
}

.button-contact {
    background: #0053ac;
    color: #ffffff;
    margin-top: 25px;
}

a:link {
    font-weight: 600;
    color: #003064;
    text-decoration: none;
}


a:visited {
    font-weight: 600;
    color: #003064;
    text-decoration: none;
}

a:hover {
    font-weight: 600;
    color: #1fc2ff;
    text-decoration: underline;
}

.block-text a:link {
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}


.block-text a:visited {
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.block-text a:hover {
    font-weight: 600;
    color: #1fc2ff;
    text-decoration: underline;
}

#serv a:link {
    color: #ffffff;
    text-decoration: none;
}

#serv a:visited {
    color: #ffffff;
    text-decoration: none;
}

#serv a:hover {
    color: #000000;
    text-decoration: none;
}

#menu a:link {
    color: #000000;
    text-decoration: none;
}


#menu a:visited {
    color: #000000;
    text-decoration: none;
}

#menu a:hover {
    color: #808080;
    text-decoration: none;
}

.w3-button {
    font-weight: 600 !important;
    white-space: normal;
}


ul {
    list-style: none;
}

ul li::before {
    color: #759b52;
    content: "•";
    font-weight: 800;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.wrapper-full-green {
    width: 100%;
    background: #0053ac;
    text-align: center;
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 80px;
}

.mr20 {
    margin-right: 20px;
}

#triangle {
    margin: 0 auto;
    padding: 0px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 30px 0 30px;
    border-color: #003064 transparent transparent transparent;
}


/* MENU ------------------------------------------------------------*/

#bg-menu-white {
    display: none;
}

.nav__container {
    position: absolute;
    top: -1px;
    width: 100%;
    height: 100px;
    background: #000000;
}

#hambhome {
        display: block;
    }   

#headerhome {
    position: fixed;
    width: 100%;
    top: -100px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    z-index: 9998;
    background: #ffffff;
    border-bottom: 3px solid #29ccff;
    transition: 0.2s; /* Add a transition effect (when scrolling - and font size is decreased) */
    box-shadow: 0px 5px 8px -1px rgba(0,0,0,0.77);
}

.header {
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    z-index: 9998;
    background: #ffffff;
    border-bottom: 3px solid #29ccff;
    transition: 0.2s; /* Add a transition effect (when scrolling - and font size is decreased) */
    box-shadow: 0px 5px 8px -1px rgba(0,0,0,0.77);
}

.mobile {
    z-index: 9999;
    display: none;
}

.menub {
    background-color: transparent !important;
    color: #ffffff;
    margin-right: 10px;
}

.menub:hover {
    color: #000000 !important;
    background-color: #29ccff!important;
}

.menub:hover a{
    color: #000000 !important;
}

.menubb {
    background: #ffffff !important;
    color: #000000;
}

.menubb:hover {
    background-color: #29ccff!important;
}

.logobar {
    width: 35%;
    margin: 0px;
}

.logobarp {
    width: 35%;
    padding-left: 10px;
}

.logobarp:hover, .logobar:hover {
    opacity: 0.7;
}

.menuh {
    width: 65%;
    text-align: right;
    padding-top: 15px;
}

.menuhp {
    width: 65%;
    text-align: right;
    padding-top: 10px;
}

#menup {
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.3);
    z-index: 9997;
}

.menu {
    position: relative;
    width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    margin: 0 auto;
    margin-top: 0px;
    height: 100px;
    background: #000000;
    z-index: 9999;
    transition: 0.5s;
    border-bottom: 0px solid #29ccff;
}

.menupage {
    position: relative;
    width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    margin: 0 auto;
    margin-top: 0px;
    height: 100px;
    background: #000000;
    z-index: 9999;
    transition: 0.5s;
    border-bottom: 0px solid #29ccff;
}

#logomobile {
    display: none;
}

.hamburger__container {
    display: none;
}

.smenu {
    font-size: 15px !important;
    text-align: left !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    color: #000000 !important;
    width: 100%;
}

.smenu:hover {
    text-decoration: none;
}


/* HOMEPAGE --------------------------------------------------------------------------------*/

#callnow {
    display: none;
}

#home-bookmark {
    position: absolute;
    bottom: -60px;
    width: 100%;
}

#home-title {
    padding-top: 80px;
    /*padding-bottom: 150px;*/
    height: 500px;
    width: 100%;
    font-size: 40px;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

#home-title-logo {
    width: 220px;
    margin-bottom: 0px;
}

#home-text {
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    padding-top: 10px;
}

#home-contacts {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
}

.block-grey {
    width: 33%;
    background: #001a37;
    color: #ffffff;
    min-height: 120px;
    padding: 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.block-blue {
    width: 34%;
    background: #003064;
    color: #ffffff;
    min-height: 120px;
    padding: 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.block-content {
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
    color: #ffffff;
}

.block-text {
    font-size: 24px;
    font-weight: 500;
}

#block-icon1 {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 34px;
}

#block-icon2 {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 36px;
}

#block-icon3 {
    position: absolute;
    top: 5px;
    left: 0px;
    font-size: 36px;
}

.block-grey:hover{
    opacity: 0.9;
}

/*
#bg-home {
    position: relative;
    top: 0px;
    width: 100%;
    height: 500px;
    background-image: url("http://localhost/cepac/media/sviluppo-software-custom.jpg");
    background-position: top;
    background-size: cover;
}
*/


.video-container {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
#home-title {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;  /* centro orizzontale */
  align-items: center;      /* centro verticale */

  text-align: center;
  color: white;
  z-index: 2;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra anche logo + testi */
}

#home-title-logo {
  max-width: 150px;
  margin-bottom: -10px;
}

/* TESTO */
#home-title h1 {
  font-size: 2.2rem;
  margin: 10px 0;
}

#home-title h3 {
  font-size: 1.2rem;
  font-weight: normal;
}

/* OVERLAY SCURO PER LEGGIBILITÀ */
.video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8); /* scurisce il video */
  z-index: 1;
}





.services {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 30px;
}

.service-wrap {
    position: relative;
    width: 30%;
    height: 390px;
    border-radius: 8px;
    border: 3px solid #ffffff;
    background: #ffffff;
    margin-bottom: 60px;
    overflow:hidden;
    font-size: 18px;
}

.service-content {
    position: absolute;
    width: 100%;
    top: 0px;
    padding: 30px;
    text-align: center;
    transition: 0.5s;
}

.service-img {
    height: 250px;
}

.service-title {
    margin-top: 20px;
}

.service-bar {
    border-top: 5px solid #0053ac;
    width: 70px;
    margin: 0px;
    padding: 0px;
    margin: 0 auto;
    margin-top: 20px;
}

.service-text {
    margin-top: 30px;
}

.service-wrap:hover {
    cursor: pointer;
    border: 3px solid #0053ac;
    background: #d6f3ff;
}

.service-wrap:hover .service-content {
    top: -280px;
}

.service-button {
    background: #0053ac;
    color: #ffffff;
    margin-top: 25px;
}


/* PAGE CONTENT ---------------------------------------------------------------------------------------*/

.wrapper-1200 {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.wrapper-1000 {
    width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 100px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.wrapper-45 {
    width: 45%;
}

.wrapper-50 {
    width: 50%; 
    text-align: center;
}

.wrapper-50 h2 {
    font-size: 26px;
}

.wrapper-full-blue {
    width: 100%;
    background-image: url('../media/bgblue.jpg');
    background-size: cover;
    background-position: center;
}

.wrapper-full {
    position:relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.wrapper-white-green {
    width: 100%;
    padding: 20px;
    border-radius: 6px;
    background: #ffffff;
    border: 2px solid #0053ac;
}

.wrapper-form {
    width: 100%;
    padding: 100px 20px;
}

#wrap-remote {
    position: relative;
    width: 100%;
    height: 400px;
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    color: #ffffff;
}

.wrapper-white {
    position: absolute;
    bottom: 0px;
    margin: 30px;
    padding: 20px;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
}

.wrapper-logo {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.wrapper-rw {
    width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 100px;
    color: #ffffff;
    text-align: center;
}

.wrapper-list {
    width: 560px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.wrapper-list-check {
    width: 45%;
    text-align: left;
}

#logorw {
    width: 300px;
    margin: 30px 0px;
}

.logo-div {
    width: 12%;
    margin-bottom: 30px;
}

.logo-img {
    width: 100%;
    opacity: 0.5;
}

.h2-bar {
    border-top: 5px solid #0053ac;
    width: 70px;
    margin: 0px;
    padding: 0px;
    margin-top: 10px;
}

#pageheader {
    margin-top: 100px;
    width: 100%;
    height: 400px;
    background-position: center;
    background-size: cover;
}

.pageheader-top {
    height: 400px;
}

#pageheader-company {
    width: 100%;
    color: #ffffff;
    text-align: center;
}

.page-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

.img-round {
    width: 100%;
    border-radius: 70% 30% 70% 30%;
}

.img-round-h {
    height: 100%;
    border-radius: 70% 30% 70% 30%;
}

.text-cont {
    text-align: left;
}

.contacts-button {
    width: 30%;
    height: 130px;
    border: 3px solid #0053ac;
    border-radius: 10px;
    color: #0053ac;
    text-align: center;
    padding: 22px;
    font-size: 26px;
    background: #ffffff;
}

.contacts-button:hover {
    color: #000000;
    background: #d6f3ff;
    cursor: pointer;
}


/* BLOG */


/* FOOTER */
footer {
    width: 100%;
    background: rgb(55, 55, 55);
    background: linear-gradient(45deg, rgba(55, 55, 55, 1) 0%, rgba(20, 20, 20, 1) 100%);
    color: white;
    padding: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer-wrap {
    margin: 0 auto;
    width: 1200px;
    text-align: center;
    font-size: 16px;
}

.hrfooter {
    border-top: 1px solid #ffffff;
    width: 200px;
    margin: 0px;
    padding: 0px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-item {
    width: 30%;
}

footer a:link,
footer a:visited {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #1fc2ff;
    text-decoration: underline;
}

.title-bar-footer {
    position: absolute;
    left: -20px;
    width: 7px;
    height: 30px;
    background-color: #d7b56d;
}

.icon-footer {
    position: absolute;
    left: -20px;
    font-size: 15px;
}

.title-footer {
    position: relative;
    margin-left: 25px;
}

#logofooter {
    width: 130px;
    margin-bottom: 15px;
}



/* FORM contatti */

.itemforminput {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #ffffff;
}

.itemformarea {
    width: 100%;
    height: 130px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    padding: 10px;
}

.form-group, #formdiv, #form-button {
    width: 100%;
}

#contactform {
    display: flex; 
    flex-flow: row wrap;
    justify-content: space-between;
}

.form-group-privacy {
    text-align: left;
    margin-top: 10px;
}

.form-group-button {
    float: left;
}

.form-wrap {
    width: 700px;
    margin: 0 auto;
    text-align: center;
}

.form-title {
    font-size: 44px;
}

.form-subtitle {
    font-size: 28px;
}

.form-button-style {
    margin-top: 10px;
    width: 100%;
}

#form-google {
    width: 100%;
    margin-top: 5px;
    color: #000000;
    font-size: 14px;
    text-align: center;
}

#form-google a:link,
#form-google a:visited {
    color: #000000;
    text-decoration: none;
}

#form-google a:hover {
    color: #1fc2ff;
    text-decoration: underline;
}

/* FORMATTAZIONE ERRORI FORM */

.itemforminput:focus {
    background-color: #EBF7E1;
    outline: none;
}

.itemformarea:focus {
    background-color: #EBF7E1;
    outline: none;
}

.form-group .error::placeholder {
	width: 100%;
    color: red;
    font-weight: 600;
	}

.privacy-red {
    color: red;
}

#warning {
    display: none;
    width: 100%;
    text-align: center;
    background: red;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;
}



/* Messaggio popup */
/* The Modal (background) */
.pop-message {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 6; /* Sit on top */
  padding-top: 300px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

.message-header {
    width: 360px;
    background-color: green;
    margin: auto;
    padding: 20px;
    color: white;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.message-content {
    background-color: #fefefe;
    margin: auto;
    padding-bottom: 20px;
    border: 0px solid #888;
    width: 360px;
    border-radius: 8px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 10px -5px 16px -10px rgba(0,0,0,0.61); 
    box-shadow: 0px 10px 13px -7px #000000, 10px -5px 16px -10px rgba(0,0,0,0.61);
}

@keyframes animatetop {
    from {
        margin-top:-300px;
        opacity:0
    }
    to {
        margin-top:0;
        opacity:1
    }
}

/* The Close Button */
.message-close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 15px;
}

.message-close:hover,
.message-close:focus {
  color: #aaaaaa;
  text-decoration: none;
  cursor: pointer;
}




