
/**** Tiscali Messages Popup ****/

#tiscaliMessagesLayer, #TiscaliModalLayer {
  z-index: 19999 !important;
  display: block;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #333;
  filter:alpha(opacity=40);
  moz-opacity:.40;
  opacity:.40;
  text-align: center;
  display: none;
}

#tiscaliMessages{
  z-index: 20000 !important;
  background-color: white;
  font-size: 13px;
  color:#333;
  font-family:  'Roboto',Tahoma, sans-serif;
  position:absolute;
  border: 1px solid #A5A5A5;
  display: none;
}

#tiscaliMessagesHead{
  color: white;
  background-color: #5F57A1;
  font-size: 16px;
  color:white;
  font-family:  'Roboto',Tahoma, sans-serif;
  height:36px;
}

.confirmation #tiscaliMessagesHead,.tiscali_logout #tiscaliMessagesHead{
  display:none;
}

.tiscali_logout #tiscaliMessages{
  width: 300px !important;
  min-height: 230px;
  -moz-border-radius: 0.4em /*{global-radii-buttons}*/;
  -webkit-border-radius: 0.4em /*{global-radii-buttons}*/;
  border-radius: 0.4em /*{global-radii-buttons}*/;
  z-index: 20000 !important;
}
.tiscali_logout #tiscaliMessagesBody{
  border:0 !important;
  background:transparent url("/assets/images/tiscali/tiscalimail_logo.png") no-repeat center 20px;
  padding-top:100px;
}
.tiscali_logout #tiscaliMessagesBody .buttons{
  margin-top: 30px;
}
#tiscaliMessagesBody .buttons .buttonTiscali:first-child{
  margin-left: 0;
}
#tiscaliMessagesBody .buttons .buttonTiscali{
  padding: 0 20px;
}

#tiscaliMessagesTitle{
  height:36px;
  line-height: 36px;
  display:block;
  float:left;
  font-size: 16px;
  font-weight:500;
  width:80%;
  text-align:left;
  margin-left:10px;
}

#tiscaliMessagesClose{
  height:20px;
  text-align:right;
  font-size: 16px;
  font-weight:bold;
  width: 20px;
  cursor: pointer;
  right:10px;
  top: 8px;
  position: absolute;
}

#tiscaliMessagesClose::before {
    content: '';
    position: absolute;
    right: 0;
    top:0;
    width: 20px;
    height: 20px;
    background:url("/skins/iol_mc_tiscali_it/images/tiscali/mail_desktop_sprite.png?20170831") no-repeat;
    background-position: -215px  -262px!important;
}

#tiscaliMessagesBody{
  font-size: 15px;
  display:block;
  min-height: 60px;
  box-sizing: border-box;
  padding:20px 0;
  overflow:auto;
  border:1px solid #5F57A1;
  border-top: 0;
}

.confirmation #tiscaliMessagesBody{
  min-height: 30px;
}




/*----NEW FOLDER------*/

#tiscaliMessagesBody .tiscaliMessagesContent{
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-wrap: break-word;
  padding:10px;
}

#tiscaliMessagesBody .tiscaliMessagesContent.left{
  text-align: left;
}


#tiscaliMessagesBody .buttons{
  text-align:center;
  margin-top: 20px;
}

#tiscaliMessagesBody > div{
  font-size: 16px;
  font-weight: normal;
  text-align: center;
}

#tiscaliMessagesBody div{
  line-height: 24px;
}

#tiscaliMessagesBody div label{
    color: #333333;
    font-size: 12px;
    font-weight: normal;
    text-align: right;

    display: inline-block;
    margin-right: 10px;
}
#newfolderpopup div label{
  width:90px;
}
.newtcontact label{
    min-width: 50px;
}

#tiscaliMessagesBody input{
  width:280px;
  margin-bottom: 20px;
  padding:0;
  height: 26px;
  line-height: 26px;
  border: 1px solid #a5a5a5;
  box-sizing: border-box;
}
#tiscaliMessagesBody select{
    border: 1px solid #a5a5a5;
    color: #666;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
    font-weight: normal;
    vertical-align: middle;
    width:280px;
    padding:0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}


/*-- MODAL WITHOUT TEMPLATE --*/
#TiscaliModal{
    z-index: 20000 !important;
    background-color: transparent;
    position:absolute;
    display: none;
    overflow:hidden;
}


/**********Dashboard stuff ************/

#dashboard{
    min-width: 762px;
}

#dashboard a{
    color:#5F57A1;
    text-decoration: none !important;
}

.tiscalidashboardtop{
    margin-top: 20px;
    min-width: 900px;
    width:100%;
    height: 40px;
}

.dashSpazioMail {
    float: left;
    padding: 0px;
    padding-left: 20px;
    height:40px;
    line-height:20px;
}
.dashboardLinkRight {
    height: 20px;
    left: 700px;
    line-height: 20px;
    position: absolute;
    text-align: right;
    top: 20px;
    width: 220px;
}
.dashboardLinkRight a {
    color: #333333 !important;
    font-size: 14px;
    font-weight: 500;
}
.dashboardLinkRight span {
    color: #5F57A1 !important;
}



/**********Dashboard stuff END ************/




/* nella dashborad non devo selezionaare la posta in arrivo */
/*
.leftboxlistcontent li.selected::before {
    background-position-x: -67px !important;
    background-position-y: -93px !important;
}
#tmailboxlist li.selected, #tmailboxlist li.droptarget li.selected {
    background-color: transparent !important;
    border-left-color: transparent !important;
}
*/
