
html,body
{
    width: 100%;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6
{
    margin: 0;
}
p
{
    font-size: 0.9rem;
    line-height: 25px;
}
input:focus,textarea:focus
{
    box-shadow: 0px 0px 3px #ff3333 !important;
    border: 1px solid #ff3333;
    outline: none
}
.color-1
{
    color: #ff3333 !important;
}
.color-gray-light
{
    color: #f8f8f8 !important
}
.color-gray-dark
{
    color: #333 !important;
}
.color-gray
{
    color: #999 !important;
}
.color-white
{
    color: #fff !important;
}
.bg-color-1
{
    background-color: #ff3333 !important;
}
.bg-color-gray-light
{
    background-color:  #f8f8f8 !important
}
.bg-color-gray-dark
{
    background-color: #333 !important;
}
.bg-color-gray
{
    background-color: #999 !important;
}
.bg-color-white
{
    background-color: #fff !important;
}
.display-none
{
    display: none;
}
.display-inline
{
    display: inline-block;
}
.position-relative
{
    position: relative;
}
#header
{
    z-index: 9;
    background-color: #fff;
    padding: 10px 40px;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    box-shadow: 0px 1px 3px #ccc
}
#header ul
{
    padding: 0;
    margin: 0 0px 0px 30px;
}
#header ul.mob
{
    
    padding: 40px;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    position: absolute;
    background-color: #ff3333;
    width: 100%;
    right: 0;
    top: 75px;
    
}
#header li.mob
{
    display: block
}
#header li
{
    display: inline-block
}
#header a:link,#header a:visited
{
    color: #000;
    display: block;
    margin: 0px 10px;
    font-size: 1.1rem;
    text-decoration: none;
    
}
#header a:hover,#header a:visited:hover
{
    color: #ff3333;
}
#header a.mob:link,#header a.mob:visited
{
    color: #fff;
    display: block;
    margin: 20px 0px;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid firebrick;
    padding: 0px 20px 10px 20px
    
}
#header a.mob:hover,#header a.mob:visited:hover
{
    color: #333;
    
}

#nav
{
    display: none;
}
#icon-menu-mob
{
    text-align: right;
    display: block;
    font-size: 1.6rem
}
main
{
   
    
}
#jt
{
    background-image: url(../img/jt-amrd.jpg);
    width: 100%;
    height: 85vh;
    position: relative;
    background-size: cover;
    background-position: center;
}
#jt img
{
    bottom: 200px;
    text-align: center;
    padding: 0px 20px;
    width: 50%;
    margin-left: 25%;
    position: absolute;
}
#jt h1
{
    font-size: 1.7rem;
    text-align: center;
    padding: 0px 20px;
    margin-top: 10px;
    position: absolute;
    bottom: 100px;
    width: 90%;
    left: 5%
    
    
}
section
{
    padding: 50px 0px;
}
section.second
{
    padding: 0px;
}
section h2
{
    font-size: 1.8rem;
    line-height: 30px;
    font-weight: bold;
}
.line-sep
{
    width: 70px;
    height: 5px;
    background-color: #ff3333;
    margin-top: 10px;
    margin-bottom: 40px;
}
.line-sep.second
{
    margin-bottom: 10px;
}
p.coda
{
    margin-top: 20px;
}
#temp-line
{
    display: none;
}
.header-section
{
    padding: 40px;
}
.grid-container.content
{
    padding: 0px 40px
}
#servizi.dedicated
{
    padding-top: 65px
}
#servizi h3
{
    text-align: center;
    font-size: 1.3rem;
    font-weight: normal
}
#servizi .box-number
{
    border: 7px solid #333;
    border-radius: 100%;
    display: block;
    width: 150px;
    height: 150px;
    text-align: center;
    line-height: 140px;
    margin: 50px auto 30px auto ;
    font-size: 2rem;
    font-weight: bold;
    color: #ff3333;
}
#content-servizi
{
    padding: 10px 0px 50px 0px
}
#servizi a:link,#servizi a:visited
{
    color: #333;
    text-decoration: none;
}
#servizi a:hover,#servizi a:visited:hover
{
    color: #ff3333;
}
.box-solutions
{
    height: 200px;
    position: relative;
    outline: 5px solid #fff
}
.box-solutions .caption
{
    position: absolute;
    bottom: 10px;
    padding: 10px 20px
}
.caption h3
{
    line-height: 20px;
}
.caption h3 > a:link, .caption h3 > a:visited
{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 15px;
}
.caption h3 > a:hover,.caption h3 > a:visited:hover
{
    color: #ff3333;
}
#map
{
    width: 100%;
    height: 200px;
    margin: 30px 0px;
    border: 5px solid #eee
}
#storia
{
    background-image: url(../img/bg-storia-amrd.jpg);
    background-size: cover;
    background-position: center;
}
#contatti h5
{
    font-size: 1.2rem
}

.input
{
    height: 60px;
    width: 100%;
    border: 1px solid #999;
    color: #ff3333;
    margin-bottom: 15px;
    padding: 0px 20px
}
.input::placeholder,.textarea::placeholder
{
   color: #ff3333;
}
.textarea
{
    height: 100px;
    width: 100%;
    border: 1px solid #999;
    margin-bottom: 15px;
    padding: 10px 20px
}
.submit
{
    background-color: #333;
    color: #ff3333;
    padding: 0px 40px;
    height: 60px;
    margin-top: 10px;
    border: none;
    width: 100%
}
footer
{
    padding: 20px 30px;
    margin-top: 40px;
    background-color: #ff3333
}
footer h6
{
    font-size: 1.2rem
}
footer p
{
    font-size: 0.8rem;
    line-height: 20px
}
#container-legend
{
    width: 100%;
    position: fixed;
    bottom: 0px;
    text-align: center;
    background-color: #ff3333;
}
.button-legend
{
    padding: 5px 15px;
    display: inline-block;
    margin-right: 1px;
    background-color: #333;
    color: #ff3333;
    cursor: pointer
}
.button-legend:hover
{
    color: #ff3333;
    background-color: #fff
}
.button-legend:last-child
{
    margin-right: 0;
}
#logo
{
    display: block;
    max-width: 100px !important;
    margin-left: auto;
    margin-right: 0;
}
#mobilita-ascensori
{
    background-image: url(../img/mobilita-ascensori.jpg);
}
#mobilita-disabili
{
    background-image: url(../img/mobilita-piattaforma-disabili.jpg);
}
#mobilita-servoscala
{
    background-image: url(../img/mobilita-servoscala.jpg);
}
#mobilita-montauto
{
    background-image: url(../img/mobilita-montauto.jpg);
}
#mobilita-montavivande
{
    background-image: url(../img/mobilita-montavivande.jpg);
}
#mobilita-pantografo
{
    background-image: url(../img/mobilita-pantografo.jpg);
}
.cloth
{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: background-color 400ms ease;
}
.cloth-hover
{
    background-color: rgba(255,51,51,0.8);
    transition: background-color 400ms ease;
}
#result
{
    background-color: #222;padding: 50px;width: 100%;position: fixed;z-index: 999;top: 0;left: 0;
    display: none;
}
#result p
{
    color: #ff3333;text-align: center;
}
#privacy
{
    position: fixed;
    background-color: #ff3333;
    color: #f8f8f8;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 10px 15px 10px;
    z-index: 999;
    display: none;
    
}
#privacy p
{
    text-align: center;
}
#privacy a:link,#privacy a:visited
{
    display: inline !important;
    color: #fff !important;
    text-decoration: underline;
    padding: 0px !important;
    margin: 0px !important
}
#privacy button
{
    display: inline-block !important;
    color: #222 !important;
    border: 1px solid #222;
    padding: 8px 25px;
    font-size: 1rem;
    margin-left: 20px;
    cursor: pointer;
}
#accept
{
    margin-top: -10px;
    margin-bottom: 10px;
}
#accept a
{
    color: #ff3333;
    text-decoration: underline;
}

#jt-up
{
    height: 100dvh;
    position: relative;
    background-color: #f8f8f8;
}
#jt-up img.bg
{
    object-fit: cover;
    height: 100%;
    width: 100%
}
#jt-up img.logo
{
    display: none;
}
#jt-content
{
    position: absolute;
  z-index: 2;
  bottom: 0;
  text-align: center;
  padding: 30px 30px;
}
#jt-content h1
{
    font-size: 28px;
  line-height: 36px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 2px #000;
}
#jt-up p
{
    font-size: 18px;
    color:#fff;
    text-shadow: 0 0 2px #000;
}
#jt-up span
{
    color: #ff3333;
    font-size: 20px
}
#jt-up a
{
    display: block;
  width: 170px;
  margin: 20px auto 0 auto;
  border: 1px solid #fff;
  padding: 10px 10px;
  color: #ff3333;
}
@media screen and (min-width: 640px)
{
    #nav
    {
        display: block;
    }
    #nav-mob
    {
        display: none;
    }
    #header
    {
        padding: 30px 40px;
    }
    
    section
    {
        padding: 60px 0px;
    }
    section h2
    {
        font-size: 2.2rem
    }
    .line-sep
    {
        width: 80px;
        height: 8px;
        margin-top: 12px;
    }
    p
    {
        font-size: 1rem;
    }
    #temp-line
    {
        display: block;
        margin-top: 30px
    }
    #content-servizi
    {
        padding: 20px 0px 60px 0px
    }
    .box-solutions
    {
        height: 250px;
        outline: 6px solid #fff;
        background-size: cover;
    }
    .box-solutions .caption
    {
        bottom: 10px;
        padding: 15px 30px
    }
    .caption h3
    {
        line-height: 25px;
        font-size: 1.3rem
    }
    #map
    {
        width: 100%;
        height: 300px;
        margin: 50px 0px;
    }
    .container-input
    {
        padding: 0px 20px 0px 0px;
    }
    .input
    {
        height: 70px;
        width: 100%;
    }
    .textarea
    {
        height: 170px;
    }
    .submit
    {
        height: 70px;
    }
    footer
    {
        padding: 40px 30px 30px 30px  ;
        margin-top: 40px
    }
    footer h6
    {
        font-size: 1.2rem
    }
    footer p
    {
        font-size: 0.8rem;
        line-height: 20px
    }
    #servizi.dedicated
    {
        padding-top: 85px
    }
    #jt img
    {
        width: 35%;
        margin-left: 32%
    }
    #jt h1
    {
        font-size: 1.9rem;
        width: 60%;
        left: 20%
    }
    #servizi .box-number
    {
        font-size: 2.4rem;;
    }
    #logo
    {
        max-width: 110px !important;
    }
    #jt-up img.bg
    {
            object-position: 0 -20px;
    }   
    #jt-content h1 
    {
        font-size: 42px;
        line-height: 48px;
        margin-bottom: 12px;
    }
    #jt-up p 
    {
  font-size: 24px;
  line-height: 28px;
  max-width: 600px;
  margin: auto;
}
#jt-content
{
  padding: 80px 30px;
  width: 100%;
}
#jt-up span
{
    font-size: 32px
}
#jt-up a 
{
  width: 230px;
  margin: 40px auto 0 auto;
  padding: 15px 10px;
  text-align: center;
}
}
@media screen and (min-width: 1024px)
{
    #header
    {
        padding: 10px 40px;
    }
    #logo
    {
        max-width: 130px !important;
    }
    section
    {
        padding: 70px 0px;
    }
    .header-section
    {
        padding: 50px
    }
    section h2
    {
        font-size: 2.4rem
    }
    .line-sep
    {
        width: 90px;
        height: 8px;
        margin-top: 15px;
        margin-bottom: 60px
    }
    p
    {
        font-size: 1.1rem;
        text-align: justify
    }
    p.coda
    {
        margin-top: 30px
    }
    #content-servizi
    {
        padding: 30px 0px 70px 0px
    }
    .box-solutions
    {
        height: 350px;
        outline: 10px solid #fff
    }
    .box-solutions .caption
    {
        bottom: 20px;
        padding: 30px 100px 30px 50px 
    }
    .caption h3
    {
        line-height: 28px;
        font-size: 1.5rem
    }
    #map
    {
        height: 400px;
        margin: 60px 0px;
    }
    .container-input
    {
        padding: 0px 15px 0px 0px;
    }
    .input
    {
        height: 75px;
    }
    .textarea
    {
        height: 180px;
    }
    .submit
    {
        height: 75px;
    }
    #servizi.dedicated
    {
        padding-top: 86px
    }
    .button-legend
    {
        padding: 15px 20px;
        margin-right: 15px;
    }
    #jt img
    {
        width: 25%;
        margin-left: 37.5%;
        bottom: 200px;
    }
    #jt h1
    {
        font-size: 2.2rem;
        width: 100%;
        left: 0;
    }
    .caption h3 > a:link,.caption h3 > a:visited
    {
        font-size: 1.4rem;
        line-height: 15px;
    }
    #servizi .box-number
    {
        font-size: 3rem;;
    }
    
    #jt-up 
    {
  height: 100dvh;
  position: relative;
  display: flex;
  align-content: center;
    align-items: center;
}
#jt-up img.bg
{
    object-position: 0;
    width: 50vw;
  }
  #jt-content 
  {
    padding:  0 50px;
    width: 100%;
    position: relative;
  }
   #jt-content h1 
   {
    font-size: 38px;
    line-height: 42px;
    margin-bottom: 20px;
    text-align: left;
    text-shadow: none;
    color: #555
  }
   #jt-up p 
   {
    font-size: 20px;
    line-height: 24px;
    max-width: 600px;
    margin: 0;
    text-shadow: none;
    color: #555;
  }
   #jt-up span 
   {
    font-size: 30px;
    line-height: 18px;
    vertical-align: bottom;
  }
   #jt-up a 
   {
    width: 230px;
    margin: 30px 0 auto;
    padding: 12px 5px;
    text-align: center;
    border: 1px solid #555;
  }
  #jt-up img.logo
  {
      display: block;
    width: 120px;
    margin-bottom: 20px;
  }

    
}
@media screen and (min-width: 1480px)
{
    #header
    {
        padding: 5px 40px;
    }
    #logo
    {
        max-width: 150px !important;
    }
    #jt img
    {
        width: 20%;
        margin-left: 40%;
        bottom: 250px;
    }
    #jt h1
    {
        font-size: 2.3rem;
        bottom: 150px;
    }
    section
    {
        padding: 100px 0px;
    }
    .caption h3 > a:link,.caption h3 > a:visited
    {
        font-size: 1.6rem;
        line-height: 15px;
    }
    #servizi .box-number
    {
        font-size: 4rem;;
    }
    #jt-up img.bg
    {
    object-position: 0 20px;
    width: 45vw;
  }
  #jt-content 
  {
    padding: 0 100px;
    width: 55vw;
    margin-top: 50px;
  }
   #jt-up img.logo 
   {
    width: 150px;
  }
   #jt-content h1 
   {
    font-size: 44px;
    line-height: 48px;
    margin-bottom: 25px;
  }
  #jt-up p
  {
    font-size: 24px;
    line-height: 29px;
    max-width: 800px;
  }
  #jt-up span 
  {
    font-size: 42px;
    line-height: 22px;
  }
  #jt-up a 
  {
    width: 250px;
    margin: 40px 0 auto;
    padding: 15px 5px;
    font-size: 22px;
  }
}
@media screen and (min-width: 1620px)
{
    .box-solutions
    {
        height: 450px;
    }
    .box-solutions .caption
    {
        bottom: 30px;
    }
    .caption h3
    {
        line-height: 30px;
        font-size: 1.7rem
    }
    #map
    {
        height: 450px;
        margin: 70px 0px;
    }
    .header-section
    {
        padding: 60px
    }
    #content-servizi
    {
        padding: 50px 0px 90px 0px
    }
    .caption h3 > a:link,.caption h3 > a:visited
    {
        font-size: 1.7rem;
        line-height: 20px;
    }
    #logo
    {
        max-width: 170px !important;
    }
    #jt-up img.bg 
    {
    object-position: 0 -20px;
    width: 42vw;
  }
  #jt-content
  {
    padding: 0px 110px;
    width: 58vw;
    margin-top: 70px;
  }
  #jt-up-logo
  {
      display: flex;
      gap: 25px;
      align-content: center;
  align-items: center;
  }
   #jt-up img.logo 
   {
    width: 160px;
    height: 100%;
  }
   #jt-content h1
   {
    font-size: 46px;
    line-height: 50px;
    margin-bottom: 30px;
  }
  #jt-up p 
  {
    font-size: 25px;
    line-height: 33px;
    max-width: 900px;
  }
   #jt-up span
   {
    font-size: 45px;
    line-height: 25px;
  }
  #jt-up a 
  {
    width: 280px;
    margin: 43px 0 auto;
    padding: 13px 7px;
    font-size: 22px;
  }
}
