
@import url("pop-up.css");


/*@font-face { font-family: "MontserratBold"; src: url("https://www.trenitalia.com/etc.clientlibs/tcom/clientlibs/common/resources/font/Montserrat-Bold.otf;") format("opentype"); }
@font-face { font-family: "MontserratMedium"; src: url("https://www.trenitalia.com/etc.clientlibs/tcom/clientlibs/common/resources/font/Montserrat-Medium.otf") format("opentype"); }
@font-face { font-family: "MontserratRegular"; src: url("https://www.trenitalia.com/etc.clientlibs/tcom/clientlibs/common/resources/font/Montserrat-Regular.otf") format("opentype"); }
@font-face { font-family: "MontserratSemiBold"; src: url("https://www.trenitalia.com/etc.clientlibs/tcom/clientlibs/common/resources/font/Montserrat-SemiBold.otf") format("opentype"); }
@font-face { font-family: "futuraBQBook"; src: url("https://www.trenitalia.com/etc.clientlibs/tcom/clientlibs/common/resources/font/FuturaBQ-Book.otf") format("opentype"); }
*/
@font-face {
  font-family: "MontserratBold";
  src: url("../fonts/Montserrat-Bold.otf") format("opentype");
}
@font-face {
  font-family: "MontserratMedium";
  src: url("../fonts/Montserrat-Medium.otf") format("opentype");
}
@font-face {
  font-family: "MontserratRegular";
  src: url("../fonts/Montserrat-Regular.otf") format("opentype");
}
@font-face {
  font-family: "MontserratSemiBold";
  src: url("../fonts/Montserrat-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: "futuraBQBook";
  src: url("../fonts/FuturaBQ-Book.otf") format("opentype");
}




.row {
  margin-right: 0;
  margin-left: 0;
}
#prep_notice {
  display: none;
  border: 1px solid #e37222;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #e37222;
  padding: 0.5em 3em;
  font-weight: bold;
  font-size: 10pt;
  position: absolute;
  top: 0.5rem;
  left: 10rem;
}
.welcome {
  text-align: center;
  width: 90%;
  color: #c03;
  font-size: 2rem;
  font-weight: bold;
}
body {
  font-family: "MontserratRegular";
}
fieldset > span {
  color: red;
}
label {
  font-weight: bold;
  margin-top: 1rem;
}
.carousel-item {
  height: 250px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom right;
}
.item0 {
  background-image: url("../images/carousel/00.jpg");
  background-position: center 0px;
}
.carousel-indicators li {
  /*width: 15px;
  height: 15px;*/
  border-radius: 50%;
}
h1, h2, h3, h4, h5 {
  color: #c03;
  width: 100%;
}
h2 {
  font-size: 2rem;
}
h2.box-title { /*width: auto;*/
}
h3 {
  font-size: 1.5rem;
  font-weight: 1000;
  margin-bottom: 2rem;
}
h4 {
  font-size: 1rem;
  color: black;
  font-weight: 900;
}
h5 {
  font-size: 1.5rem;
  font-weight: normal;
}
.card {
  min-height: 330px; /*background-color: pink;*/ border: 0px;
}
.btn-primary, .btn-secondary {
  font-weight: bold;
}
.btn-primary {
  background-color: #006c67;
  border-color: #006c67;
  border-radius: 0.5rem;
}
.btn-primary:hover {
  background-color: #fff;
  border-color: #006c67;
  color: #006c67;
}
.btn-secondary {
  color: #333;
  border-radius: 0.5rem;
  background-color: #ccc;
  border-color: #999;
}
.btn-secondary:hover {
  background-color: #fff;
  color: #53565a;
}
body, a, .link-grey a {
  color: #53565a;
}
p a {
  text-decoration: underline;
  font-style: italic;
  color: #c03;
}
a:hover {
  color: #c03;
  text-decoration: none;
}
a.portali {
  text-decoration: underline;
  color: #000066;
  font-weight: bold;
}
a.portali:hover {
  color: #c03 !important;
}
.red {
  color: #c03;
}
.text-black {
  color: black;
}
.bg-dark a {
  color: white;
}
p {
  margin-bottom: 0rem;
  line-height: 1.8rem;
}
.dark-widget h5 {
  color: #fd7e14;
}
hr {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.dark-widget {
  background: #53565a;
}
.dark-widget p, .dark-widget a {
  color: white;
}
.red-border {
  border: 1px solid #c03;
  margin-bottom: 1.2rem;
  padding: 1rem;
  position: relative;
}
.content {
  margin-bottom: 1.2rem;
}
.container-center {
  max-width: 1000px;
  margin: auto;
  margin-bottom: 1rem;
}
.portali-gruppo {
  padding: 2rem;
}
.portali-gruppo p {
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 1rem;
  width: 40%;
}
.portali-gruppo > h2, .news > h2 {
  position: absolute;
  background-color: white;
  width: auto;
  margin: auto;
  top: -1.7rem;
  left: 35%;
  right: 35%;
  text-align: center;
}
.news > h2 {
  left: 38%;
  right: 38%;
}
.news > p {
  margin-top: 1rem;
}
.loghi > img {
  width: 100%;
  height: 100%;
}
ul.basic {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  text-align: left;
}
.bg-dark { /*background: transparent linear-gradient(180deg, #b2b2b2 0, #444 100%) 0 0 no-repeat padding-box;*/
  background-color: #c03 !important;
}
.list-unstyled > a {
  color: white !important;
  text-decoration: underline;
}
.list-unstyled > a:hover {
  color: grey !important;
}
.path {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.path > a {
  font-weight: normal;
}
.current-page {
  color: #c41329;
}
.login-form {
  margin-top: 3rem;
}
.tab-privacy {
  border: 1px solid white;
}
.bg-red {
  background-color: #c03;
  font-weight: bold;
  color: white;
}
.bg-pink-1 {
  background-color: #f2cbcd;
}
.bg-pink-2 {
  background-color: #f9e7e8;
}
/* dimensioni font sito trenitalia: 30px, 19,5px 14px*/
.assistenza {
  float: none;
  text-align: right;
  padding: 0px;
  margin: 0px;
  width: 39%;
}
.assistenza input, .assistenza textarea {
  height: auto;
  width: auto;
  border: 1px solid #E9E7EA;
  padding: 0px;
  margin: 3px 0px;
}
.form-control, input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block {
  width: 100%;
}
.form-control {
  border-radius: 2.25rem;
}
.red-border img {
  width: 90px;
  height: 50px;
}
legend {
  font-size: 1rem;
}
.access-button-left, .access-button-right {
  width: 49%;
}
.access-button-right {
  float: right;
}
/**  per mouse over */
.hide {
  display: none;
}
.myDIV:hover + .hide {
  display: block;
  color: red;
}
.messaggio-accesso-portale-amministrativo {
  padding-top: 1rem;
  color: #53565a !important;
}
ul.float-right li {
  text-align: right;
}
.requisiti-sistema {
  width: 1000px !important;
  height: auto !important;
}
.tab-privacy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
}


.back {color: black; font-weight: bold; text-decoration: none;}

ul.avvisi { list-style-type: none;}
ul.avvisi li {margin-bottom: 2rem; }


/*  POP UP 
#layer1 {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 99%;
  height: 99% !important;
  height: 1200px;
  background-color: #333;
  filter: alpha(opacity=50);
  opacity: 0.5;
  -moz-opacity: 0.5;
  border: 1px solid #000000;
  margin: 0px;
  z-index: 100;
  text-align: center;
}
#foo {
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 45%;
  margin-top: 10%;
  margin-left: 30%;
  background-color: #FFFFFF;
  padding: 20px;
  z-index: 1000;
  text-align: justify;
  border: 2px dotted #ff0000;
}
#foo .bottone {
  border: 0px;
  background-color: #ff0000;
  color: #ffffff;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 20px;
  height: 20px;
  margin-top: 0px;
  margin-right: 0px;
  font-weight: bold;
  padding: 0;
  cursor: pointer;
  clear: both;
}
 end pop up*/




/*   fa parte del carosello:  probabilm servono in situazioni particolari    */
@media (min-width: 2500px) {
  .carousel-item {
    background-position: center center !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}







/* MEDIA QUERY */
@media (min-width: 320px) {
  .carousel-item {
    height: 65px;
  }
}
/* ipad, tablet  */
@media (min-width: 481px) {
  .carousel-item {
    height: 135px;
  }
}
/* schermi piccoli, laptop  */
@media (min-width: 769px) {
  .carousel-item {
    height: 135px;
  }
}
/* computer desktop, schermi grandi  */
@media (min-width: 1024px) {
  .carousel-item {
    height: 177px;
  }
}
@media (min-width: 350px) {
  .welcome {
    font-size: 1.4rem;
    margin-top: 1.2rem;
    margin-bottom: -2rem;
  }
  h3 {
    font-size: 1rem;
    line-height: 1.8rem;
    text-align: justify;
  }
  .portali-gruppo > h2 {
    left: 1%;
    right: 1%;
  }
  .news > h2 {
    left: 15%;
    right: 15%;
  }
  .btn-primary {
    margin-top: 0.5rem;
  }
  .red-border img {
    width: auto;
    height: auto;
  }
  ul.float-right li {
    text-align: left;
  }
  .footer-portale-amministrativo {
    float: left;
  }
}
@media (min-width: 390px) {
  .portali-gruppo > h2 {
    left: 5%;
    right: 5%;
  }
  .news > h2 {
    left: 18%;
    right: 18%;
  }
}
@media (min-width: 600px) {
  .welcome {
    margin-bottom: 0rem;
  }
}
@media (min-width: 768px) {
  .portali-gruppo > h2 {
    left: 25%;
    right: 25%;
  }
  .news > h2 {
    left: 30%;
    right: 30%;
  }
  .footer-portale-amministrativo {
    float: right;
    text-align: right !important;
  }
}
@media (min-width: 1024px) {
  .portali-gruppo > h2 {
    left: 33%;
    right: 33%;
  }
  .news > h2 {
    left: 37%;
    right: 37%;
  }
  .card {
    min-height: 390px;
  }
  .welcome {
    font-size: 1.8rem;
    margin-left: 3%;
    margin-right: 3%;
  }
  h3 {
    font-size: 1.3rem;
  }
  .text-carousel h3 {
    text-align: left;
  }
}
/* 1280 - visualizzazione 1920 al 150%  */
@media (min-width: 1152px) {
  .container {
    max-width: 1080px;
  }
  .carousel-item {
    height: 220px;
  }
}
@media (min-width: 1280px) {
  .card {
    min-height: 330px;
  }
  .portali-gruppo > h2 {
    left: 35%;
    right: 35%;
  }
  .news > h2 {
    left: 38%;
    right: 38%;
  }
  .container {
    max-width: 1200px;
  }
}
@media (min-width: 1366px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1330px;
  }
}
/*  1520px  - visualizzazione 1920 al 125%  */
@media (min-width: 1520px) {
  .carousel-item {
    height: 267px;
  }
}
/*  2560 px con visualizzazione al 150%  */
@media (min-width: 1700px) {
  .container {
    max-width: 1600px;
  }
  .carousel-item {
    height: 299px !important;
  }
}
@media (min-width: 1920px) {
  .carousel-item {
    height: 330px;
  }
  .welcome {
    font-size: 3rem;
  }
  .container {
    max-width: 1740px;
  }
  .portali-gruppo > h2 {
    left: 40%;
    right: 40%;
  }
  .news > h2 {
    left: 42%;
    right: 42%;
  }
}

@media (min-width: 992px) and  (max-width: 1600px){
    .card-body {
        min-height: 335px;
    }
}

