body {
  background : #EFEFEF;
}

/* for ie 8*/
a {
  color: #2B2B2B\9;
  text-decoration:none\9;
}
.active > a,
a:focus,
a:hover {
  color:white\9;
  text-decoration:none\9;
}
/* END for ie 8*/

#header {
  background : url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/header2.png) repeat fixed ;
  color : #FBFBFB;
  font-weight: bold;
}
#title h1, #title p{
  font-weight: bold;
  text-shadow: 2px 0 0 #000000
}
#mapmenu {
  background: #822433;
}

/* #white-bg {
  background : white;
  float: left;
  height: 90%;
  min-width: 300px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 20px;
} */

#logo {
  background : url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/logo-gsite.svg) no-repeat;
  background-size:contain;
  background-color: #EFEFEF;
  margin-right: 0.15%;
  margin-left: 0.15%;
  max-height: 7vh;
  width: 25vh;
}

/* #logo2 {
  background-origin: content-box;
  background : url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/logo-sapienza.png) no-repeat center;
  background-size:cover;
  float: left;
  height: 60px;
  min-width: 200px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  /* margin-right: 20px; */
/* } */ 

#tit1{
  font-size: 38px!important;
  font-weight: bold;
  /* color: #822433; */
  /* margin-left: 5px;
  margin-right: 5px; */
}

/* .partner{
  margin-left: 5px;
} */

#loghi-partner{
  word-wrap: break-all;
  max-width: 100%;
}

/* #partner1,#partner2{
  height: 60px;
  margin-left: 10px;
} */
/* #linkspace {
  width: 70%;
} */
/* #partner3,#partner4,#partner5,#partner6,#partner7,#partner8{
  height: 20px;
  max-width: 30px;
  margin-left: auto;
  margin-right: auto;
} */

#headermenu {
  background-color:transparent;
}

#auth {
  background: transparent;
}
.navbar .nav > li > a {
}
.navbar .nav .active > a,
.navbar .nav > li > a:focus ,
.navbar .nav > li > a:hover {
  background-color: #E9E9E9;
}
.navbar .nav li.dropdown.open > .dropdown-toggle,
.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
  color : #333;
  background-color: #08C;
}
.navbar .nav > li > .dropdown-menu:after {
  border-bottom: 6px solid #F5F5F5;
}
.dropdown-menu {
  background-color: #F5F5F5;
}
.navbar .nav > li.dropdown > a.dropdown-toggle:hover .caret {
}
.navbar .navbar-inner .icon {
  background-image:url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/images/sprite_20_tools.png);
}
.navbar .nav .login .icon {
  background-position: -225px 0px;
}
.navbar .nav .login a:hover .icon,
.navbar .nav .login.active a .icon {
  background-position: -200px 0px;
}
.navbar .nav .user .icon {
  background-position: -575px 0px;
}
.navbar .nav .user a:hover .icon,
.navbar .nav .user.active a .icon,
.navbar .nav .user.open a .icon    {
  background-position: -550px 0px;
}
.navbar .nav .home .icon {
  background-position: -25px 0px;
}
.navbar .nav .home a:hover .icon,
.navbar .nav .home.active a .icon {
  background-position: 0px 0px;
}

/* Schede Civis */
.cernitaf {
  font-size: 9pt !important;
}

.cernitav {
  font-size: 12pt !important;
  font-weight: bold !important;
}

.cenrnitap {
  line-height: 10pt !important;
  margin-bottom: 3px !important;
}

#schedaBene {
  position: relative;
  width: 100%;
  height: 900px;
  margin: auto;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

#desctxt,
#infotxt,
#statotxt,
#inqtxt,
#perstxt {
  width: 95%;
  height: 100%;
  padding: 10px;
  background-color: #efefef;
  display: contents;
}

#bodyaddpopscheda,
html {
  /* overflow:hidden; */
  margin: auto;
  width: 100%;
  text-align: justify;
}

#navigulpopscheda {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
  position: inherit;
  top: 0;
  width: auto;
  height: 60px;
  font-family: 'Graduate';
}

#navigulpopscheda li {
  float: left;
  font-size: 3vw;
  display: block;
  overflow-wrap: break-word
}

#navigulpopscheda a {
  position: relative;
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-family: 'Graduate';
}

#navigulpopscheda a:hover:not(.active) {
  background-color: #111;
}

.aactive {
  background-color: #822433;
  height: 55px;
}

#desctxt h2,
h3 {
  margin-top: 0;
  margin-bottom: 10px;
  background-color: #822433;
  color: white;
  text-align: center;
  font-family: 'Graduate';
}

#inqtxt h2,
h3 {
  margin-top: 0;
  margin-bottom: 10px;
  background-color: #822433;
  color: white;
  text-align: center;
  font-family: 'Graduate';
}

#statotxt h2 {
  margin-top: 0;
  margin-bottom: 10px;
  background-color: #822433;
  color: white;
  text-align: center;
  font-family: 'Graduate';
}

#statotxt .pstatotab {
  margin-top: 0;
  margin-bottom: 10px;
  background-color: #dbb50b;
  color: white;
  text-align: center;
  font-family: 'Graduate';
  font-size: medium;
  width: 150px;
  /* font-family: 'Open Sans', sans-serif; */
}

#statotab td {
  font-family: 'Open Sans', sans-serif;
}

#perstxt p {
  margin-left: 3%;
  margin-right: 3%;
  text-align: justify;
  font-family: 'Open Sans', sans-serif;
}

#desctxt p {
  margin-left: 3%;
  margin-right: 3%;
  text-align: justify;
  font-family: 'Open Sans', sans-serif;
}

#desctxt img {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  width: 300px;
  height: auto;
  display: block;
}

/* #footerCC {
  background: url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/CC_BY-NC.svg) no-repeat;
  background-size: contain;
  margin-right: 0.15%;
  margin-left: 0.15%;
  max-height: 7vh;
  width: 25vh;
} */

#statotab {
  display: flex;
  align-content: flex-start;
  align-items: baseline;
}

#statotab .pstatotab {
  padding: 5px;
  margin: 3px;
  border-radius: 5px;
}

#statotab p {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 5px;
  padding-right: 5px;
  margin: 3px;
  border-radius: 5px;
  text-align: justify;
}

.doc-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px solid #822433;
}

.st-img {
  width: 30%;
  height: auto;
  display: inline;
}

/* Cartografia storica */
/* #button-storic>span.icon {
  background: url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/old-map.svg) no-repeat;
  width: 20px;
  height: 20px;
} */

/* Disseminazione */
#dissemination{
  border: 2px solid #822433;
  border-radius: 5px;
  margin-top: 3%;
  background-color: #822433;
}

#diss-title{
  font-family: 'Graduate';
  font-size: 1em;
  text-align: center;
  margin-top: 0em;
  background-color: #822433;
  color: white;
}
#go-to-press {
  display: block;
  text-align: center;
  font-family: 'Graduate';
  text-decoration: none;
  color: white;
  border-radius: 5px;
  border: none;
  background-color: #dbb50b;
  padding:5px;
  margin:10px 10px 10px 10px ;
}

/* children links e fonti */
.lizmapPopupChildren.link_beni>div>div {
  padding: 0px 10px!important;
}

/* Componenti del Patrimonio */
#patrimonio > details {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.3em 0.3em 0.3em 0.3em;
  background-color: #822433;
  border-radius: 0.3em;
  color: white;
  font-size: 1em;
  line-height: 1.5em;
}

#patrimonio > details > p {
  margin: 0.3em 0.1em 0.3em 1.1em;
}
#patrimonio>details>p>ul {
  line-height: 1.5em;
}

#details-btn>a {
  background-color: #dbb50b;
  display: block;
  color: white;
  border-radius: 5px;
  border: none;
  margin: 0.3em auto 0.3em auto;
  text-align: center;
  width: 14em;
}

/* BEHRP mobile */
@media screen and (max-device-width: 500px) and (orientation: portrait) {
  /* some CSS here */
  /* home */
  #navigul {
    float: left!important;
    list-style-type: none!important;
    margin: 0!important;
    padding: 0!important;
    overflow: hidden!important;
    background-color: #333!important;
    position: inherit!important;
    top: 0!important;
    width: 100%!important;
    height: 4em!important;
    display: -webkit-box!important;
    font-size: xx-small!important;
  }

  #navigul a {
    /* position: relative!important; */
    display: inline-flex!important;
    color: white!important;
    text-align: center!important;
    padding: 0.05em 0.5em 0.5em 0.5em!important;
    text-decoration: none!important;
    line-height: normal!important;
    font-size: 1.35em!important;
  }
  
  #hometxt>h2 {
    font-size: 1.2em!important;
  }

  /* storic */

  embed.imgstr {
    width: 8em!important;
    height: auto;
  }
}

/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
  /* some CSS here */
}

/* Tutorial */
/* mini-dock */
#mini-dock.tutorial-dock {
  right: 36%;
  background: url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/header2.png) repeat fixed;
  top: 9%;
  width: 24%;
  max-height: 50%;
  border-radius: 0.5em;
  border: solid 2px white;
  z-index: 1041;
  background-color: white !important;
  color: white;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.1em;
  font-family: 'Graduate';
}
/* Pulsante */
#tutorial-start, #tutorial-stop {
  background-color: #dbb50b;
  border-radius: 0.25em;
  border: solid 2px white;
  display: block;
  width: 35%;
  height: 100%;
  font-size: 1em;
  line-height: 1.1em;
  color: #EFEFEF;
  font-family: 'Graduate';
  margin: 5px auto 5px 10%;
}

#tutorial-stop {
  background-color: #dbb50b;
  border-radius: 0.25em;
  border: solid 2px white;
  display: block;
  width: 35%;
  height: 100%;
  font-size: 1em;
  line-height: 1.1em;
  color: #EFEFEF;
  font-family: 'Graduate';
  margin: 5px auto 5px 10%;
}

#tutorial-hide {
  background-color: #dbb50b;
  border-radius: 0.25em;
  border: solid 2px white;
  display: block;
  width: 35%;
  height: 100%;
  font-size: 1em;
  line-height: 1.1em;
  color: #EFEFEF;
  font-family: 'Graduate';
  margin: 5px 10% 5px auto;
}

#welcome-BHeRP {
  position: absolute;
  right: 36%;
  top: 22%;
  width: 23.5%;
  height: 45%;
  z-index: 1011;
  color: white;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7) !important;
  text-align: center;
  line-height: 1em;
  padding: 0.5em;
  border-radius: 1em;
}

#tut-page-nav{
  bottom: 2%;
  left: auto;
  margin-bottom: 0px;
  position: absolute;
  width: -webkit-fill-available;
}

.tut-page-btn{
  background: url(/index.php/view/media/getMedia?repository=civisol&project=CivisApp&path=media%2Fthemes%2FCivisApp%2Fcss%2F/img/header2.png) repeat fixed;
  border-radius: 0.25em;
  border: solid 2px white;
  width: 20%;
  height: 3em;
  color: #EFEFEF;
}

/* mobile tutorial */

@media screen and (max-device-width: 500px) and (orientation: portrait) {
  #mini-dock.tutorial-dock {
    width: fit-content;
  }
}

@media screen and (max-device-width: 640px) and (orientation: landscape) {
  #mini-dock.tutorial-dock {
    width: fit-content;
  }
}

/* Animation */
@keyframes fadeOutline {
  /* from { outline-color: red; }
  to { outline-color: transparent; } */
  0% { outline-color: red;}
  100% { outline-color: transparent; }
}

@keyframes fadeOutlineg {
  /* from { outline-color: red; }
  to { outline-color: transparent; } */
  0% { outline-color: rgb(9, 167, 62);}
  100% { outline-color: transparent; }
}

@keyframes fadeOutliney {
  /* from { outline-color: red; }
  to { outline-color: transparent; } */
  0% { outline-color: #dbb50b;}
  100% { outline-color: transparent; }
}

/* dashboard_tab */
#dashboard_tab {
  position: absolute;
  right: 50px;
  top: 9%;
  width: 14%;
  height: 20%;
  z-index: 1042;
  color: white;
}

#dashboard_tab > td {
  border: #ffffff;
}

/* app.html */
#hometxt,
#patrimonio,
#obiettxt,
#credits,
#opt {
  width: -webkit-fill-available;
  max-width: 27em;
  height: 100%;
  padding: 10px;
  background-color: #efefef;
}

#bodyadd {
  margin: 0;
  max-width: fit-content;
}

#navigul,#popup-navig {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
  position: inherit;
  top: 0;
  max-width: 100%;
  height: 60px;
}

#navigul li,#popup-navig li {
  float: left;
}

#navigul a, #popup-navig a {
  /* position: relative; */
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#navigul a:hover:not(.active), #popup-navig a:hover:not(.active){
  background-color: #111;
}

.aactive {
  color: #FFFFFF;
  background-color: #822433;
  height: 55px;
}

#hometxt table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 90%;
  margin: auto;
}

#hometxt td,
th {
  border: 0px;
  text-align: left;
  padding: 3px;
  margin: 2px;
}

#hometxt tr:nth-child(even) {
  background-color: #efefef;
}

#hometxt>h2 {
  margin-top: 0px !important;
  margin-bottom: 10px;
  font-size: 26.5px;
  line-height: 35px;
}

.buttontemi {
  display: inline-block;
  border-radius: 4px;
  background-color: #822433;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 16px;
  padding: 20px;
  width: 100%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.buttontemi span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.buttontemi span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.buttontemi:hover span {
  padding-right: 25px;
}

.buttontemi:hover span:after {
  opacity: 1;
  right: 0;
}

.btn-short {
  color: #FFFFFF;
  font-family: 'Graduate';
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
}
#lizmap-modal {
  display: block;
  width: fit-content;
  left: 42%;
}

/* .btn-short button {
    background-color: none;
    border: none;
    text-decoration: none;
} */
/* Time manager style */
#periodo-fase,
#periodo-territorializzazione {
  text-align: center;
  font-family: 'Graduate';
}

#periodo-fase {
  color: #822433;
  font-size: 10.5pt;
  font-weight: bold;
  background-color: #efefef;
}

#periodo-territorializzazione {
  color: #ffffff;
  font-size: 8pt;
}

#st-labelsControl {
  text-align: center;
  font-family: 'Graduate';
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 6px;
  background-color: #822433;
  color: #fbfbfb;
}

/* Storic */
#hometxt2 {
  width: -webkit-fill-available;
  height: 100%;
  padding: 10px;
  background-color: #efefef;
}

#bodyadd2 {
  margin: 0;
  max-width: fit-content;
}

#hometxt2 table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 95%;
  margin: auto;
}

#hometxt2 td,
th {
  border: 0px;
  text-align: justify;
  padding: 8px;
  margin: 2px;
  vertical-align: top;
}

#hometxt2 tr:nth-child(even) {
  background-color: #efefef;
}

#hometxt2 h2 {
  margin-top: 0px !important;
  margin-bottom: 10px;
}

th.th-table {
  text-align: center;
}

td.desc {
  text-align: justify;
}

td.td-img {
  text-align: center;
}

embed.imgstr {
  width: 200px;
  height: auto;
}

a.btn-imgstr {
  text-decoration: none;
  background-color: #822433;
  color: #FFFFFF;
  font-family: 'Graduate';
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  display: block;
}

#tablestr_search{
  right: 0px!important;
  width: -webkit-fill-available;
  text-align: center;
}

/* end Storic */

/* Beni del paesaggio tipizzati */
#table_paesaggio td {
  padding-bottom: 1em;
  padding-left: 1em;
}

embed.img_paes {
  width: 200px;
  height: auto;
}

a.btn-img_paes {
  text-decoration: none;
  background-color: #822433;
  color: #FFFFFF;
  font-family: 'Graduate';
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  display: block;
}
/* fine beni del paesaggio tipizzati */

/* action in popup */
#message.span6 {
  left: 65%!important;
}
/* fine action in popup */