
/*.uk-h2:first-child{
  display:none;
}*/



.video-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }


  .video-container video {
    width: 100%;
    height: auto; /* Mantiene l'altezza proporzionata */
    max-height: 100vh; /* Limita l'altezza al 100% della viewport */
    object-fit: contain; /* Mantiene il video interamente visibile */
  }

  video {
    width: 100% !important;
  }
  
  /* Modifica per dispositivi mobili in portrait */
  @media (max-width: 768px) and (orientation: portrait) {
    .video-container video {
      width: 100%;
      height: auto; /* Mantiene la larghezza totale e un'altezza proporzionata */
    }

    .tm-headerbar-right.uk-flex.uk-flex-middle p a.uk-button {
        display: none;
      }
  }




.visitaziendale {
    color: #72A3C4 !important;
}

.homepage #tm-main{
	display:none;
}

.blog #tm-main{
	display:none;
}

#tm-footer .uk-container.tm-container-full-width.uk-container-center:after {
    content: "" !important;
}

div.fastsocialshare_container {

    margin-top: 60px;
}
 .tm-panel-large .galleria .uk-panel {
    padding: 0px !important;
}

.uk-grid-margin:last-child .uk-panel-box-secondary{
    background-color: #fff !important;
}

.uk-grid-margin:last-child  {
    border:1px solid #fafafa !important;
}
.contattipage .tm-top-a img{
    opacity: 0.1;
}

.uk-subnav {

    margin-left: 18px;

}

em {
    color: #bf3119 !important;
}
.contattipage #tm-top-a{
    background-image: url("/images/sfondo_contatti2.png");
    background-size: cover;
}

.tm-totop-scroller {
    bottom: 50px;
}

.tm-article-meta{
    display:none;
}

.uk-panel .tm-article-meta{
    display:block;
}

h2, .uk-h2 {
    font-size: 19px !important;
    line-height: 19px  !important;
}
#tm-top-b .uk-overlay-panel{
    display: none !important;
}

.tm-headerbar-background {
    background: #fff none repeat scroll 0 0 !important;
}

.tm-headerbar input.uk-search-field {
    color: #ccc !important;
}

.uk-slideshow .uk-overlay-panel .uk-button{
    display: none;
}

.tm-icon-facebook {
    color: #3b5998;
    margin-left: 20px;
}

.tm-top-a .uk-width-medium-1-3 {
    padding-left: 23px;
    padding-top: 128px;
}

.tm-socialbuttons.uk-clearfix {
    margin-top: 20px;
}


.tm-slideshow-uniq [class*="uk-flex-order-last"] .uk-slideshow li::before {
    left: -80%;
    opacity: 0.6;
}

.contattipage .page-header, .contact.contattipage dl, .contact.contattipage h3, .contattipage .uk-breadcrumb  {
    display: none;
}

.contattipage .form-horizontal .control-label {
    float: left;
    padding-top: 5px;
    text-align: right;
    width: 260px;
}

.contattipage .form-horizontal input, .contattipage .form-horizontal textarea {

    width: 100% !important;
}

.controls > input[type="checkbox"] {
    float: left;
    width: 50px !important;
}

.contattipage .form-horizontal textarea {

    height: 200px !important;
}

.contattipage .invalid {
    color: #bf3119;
    font-weight: bold;
}

input.invalid {
    border: 1px solid #bf3119  !important;
}

.btn-primary, .btn-info, .btn-inverse {
    background-color: #bf3119 !important;
    border-color: transparent;
    color: #ffffff;
}

.alert-danger, .alert-error {
    background: #bf3119 none repeat scroll 0 0 !important;
    color: #ffffff;
}

.contattipage legend {

    color: #ccc !important;

}