/*
* LN @ INAF-OAS, Sep. 2017
* Last change: 26/09/2018
*/

body, html {
  color: #fff; 
  font-family: 'Exo', sans-serif;
  margin: 0;
/* background: #222 url("banner-web2017_1000px.png") no-repeat top;
  margin: 10px 0px 0px 0px;
  background-size: cover;
*/
  background-image: url("society_spell_header_v1_750px.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top; 
  background-color: #fafaf0;


align-items: center;
}

a {
  text-decoration: none;
  color: #fc0;
}

a:hover {
  color: #fd0;
}

@viewport{
    zoom: 1.0;
    width: device-width; //extend-to-zoom;
}

#page {
  max-width: 1100px;
  text-align: left;
  min-width: 500px; 
/*
  margin-left:auto;
  margin-right:auto;
*/
  margin: 0 auto;
  border: 1px solid black;
  background: #4a4b4c;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  margin-bottom: 64px;
  padding: 0px 4px;
}

#header {
  padding: 12px 0 0 24px;
  /*min-height: 330px; */
  text-align: left;
  margin: 0 auto;
  color: #fff; 
}

#header h1 { 
  font-size: 2.0rem;;
}

.strip-div {
  border: 0px;
  background-color: #99005d;
  margin: 0px;
  padding: 20px;
padding-left: 0;
}


.hdrdiv {
 /* height: 200px; */
  text-align: center;
  padding: 24px 60px;
  background-color: #99005d; /* #186680; /* #19526F; */
  color: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.hdrdiv p {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 300;
}

.topbtn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 120%;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
}

.topbtn:hover {
  color: #6aa;
  text-decoration: none;
  -webkit-transition: all 0.30s ease-in;
     -moz-transition: all 0.30s ease-in;
          transition: all 0.30s ease-in;
}

.btn-primary {
  color: #fff;
  background-color: transparent; /*#337ab7;*/
  border: 1px solid transparent; /*#2e6da4;*/
}

.btn-primary:hover {
  color: #fff;
  background-color: #ff309c; /*#428bca; /*#2d6ca2; /*#286090;*/
  border-color: #fff; /*#337ab7; /*#2b669a; /*#204d74;*/
}

.btn-selected {
  border: 1px solid #eaeaea;
}
/*
.table_block {
  display: block;
  border-collapse: collapse;
}

.table_block>tbody>tr>td {
  display: inline-block;
}

div .table_block
{
  overflow-x: auto;
}
*/

/*
div .visible {
  z-index: 2;
  display: block;
  opacity: 1;
  height: auto;
    -webkit-transition: all 0.60s ease-out;
       -moz-transition: all 0.60s ease-out;
            transition: all 0.60s ease-out;
}

div .hidden {
  opacity: 0;
  height: 0;
visibility: hidden;
  overflow: hidden;
    -webkit-transition: all 0.60s ease-in;
       -moz-transition: all 0.60s ease-in;
            transition: all 0.60s ease-in;
}
*/

.infoWho {
/*
  overflow: hidden;
  width: auto;
*/
  width: 100%;
  overflow-x: scroll;
  position: absolute;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(black, 0.2);
  display: block;
  height: auto;
  color: #fff;
  background-color: #ffffff;
  padding-top: 6px;
  margin-top: 14px;

  -moz-animation-name: fadeIn;
  -webkit-animation-name: fadeIn;
  -ms-animation-name: fadeIn;
  animation-name: fadeIn;
  -moz-animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -moz-animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
  -ms-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -moz-animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  animation-fill-mode: forwards;  
}

.infoWho.fadeOut {
  -moz-animation-name: fadeOut;
  -webkit-animation-name: fadeOut;
  -ms-animation-name: fadeOut;
  animation-name: fadeOut;
}


.fadeOut {
  -moz-animation-name: fadeOut;
  -webkit-animation-name: fadeOut;
  -ms-animation-name: fadeOut;
  animation-name: fadeOut;
}

  @-moz-keyframes fadeIn { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }}
  @-webkit-keyframes fadeIn { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }}
  @-ms-keyframes fadeIn { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }}
  @-keyframes fadeIn { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }}

  @-moz-keyframes fadeOut { 0% { opacity: 1; visibility: visible; }  100% { opacity: 0; visibility: hidden; width: 100%; }} 
  @-webkit-keyframes fadeOut { 0% { opacity: 1; visibility: visible; }  100% { opacity: 0; visibility: hidden; width: 100%; }} 
  @-ms-keyframes fadeOut { 0% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; width: 100px; }} 
  @-keyframes fadeOut { 0% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; width: 100%; }} 


.slideUp {
  animation-name: slideUp;
  -webkit-animation-name: slideUp;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  visibility: visible;
}

@keyframes slideUp {
  0% {
      opacity: 0;
      -webkit-transform: translateY(70%);
  } 
  100% {
      opacity: 1;
      -webkit-transform: translateY(0%);
  }
}

@-webkit-keyframes slideUp {
  0% {
      opacity: 0;
      -webkit-transform: translateY(70%);
  } 
  100% {
      opacity: 1;
      -webkit-transform: translateY(0%);
  }
}

.label {
  font-weight: bold;
  color: #fff;
}

div.infoWho table {
  color: #fff;
  background-color: #99005d; /*#186680;*/
  border-collapse: collapse;
}

div.infoWho tr {
  vertical-align: top;
}

div.infoWho td {
  padding: 8px 10px;
  border: 0;
}

div.visible {
position: absolute;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(black, 0.2);
  display: block;
  opacity: 1;
  width: auto;
  height: auto;
  color: #fff;
  background-color: #186680;
/*
transition-timing-function: ease-out;
transition: 0.60s;
transform: translateY(0%);
*/
}

div.hidden {
  opacity: 0;
  height: 0;
  /*visibility: hidden; */
  overflow: hidden;
/*
transition-timing-function: ease-in;
transition: 0.30s;
transform: translateY(0);
*/
}

div.box-container, div.box {
  box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}

div.box-container {
  padding: 1% 0 0 1%;
}

div.box {
  display: inline-block;
  float: left;
margin: 0 1% 1% 0;
}

#whoquo {
  font: bold 16px arial,sans-serif;
}


#footer {  
 width:100%; 
 font-size: 10px;
 height: 32px; 
 padding-top: 4px;
 background-color: #ccc; 
  -webkit-border-radius: 0px 0px 7px 7px;
  -moz-border-radius: 0px 0px 7px 7px;
  border-radius: 0px 0px 7px 7px;
}

.clr{clear:both;}

/* Tables */

table {
  width: 100%;
  border: 0px;
}

/*
table.profili {
  border-spacing: 4px;
  -webkit-border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  border-radius: 7px 7px 7px 7px;
}
*/

table.profili tr {
  vertical-align: middle;
}


table td img, img {
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
}

table td.volto {
  text-align: center;
}

table td p {
  margin: 4px;
  padding: 0;
}

.cv {
  width: 100%;
  border-radius: 16px;
  padding: 5px 5px 5px 10px;
  color: #ddd;
  font-size: 1rem;
  vertical-align: top;
  background-color: #404040;
}

.when {
  padding-top: 16px;
  padding-left: 16px;
  color: #9CDCBB;
  font-size: 1.1rem;
}


#return-to-top {
display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  text-decoration: none;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;

      -moz-animation-name: fadeIn;
      -webkit-animation-name: fadeIn;
      -ms-animation-name: fadeIn;
      animation-name: fadeIn;
      -moz-animation-duration: 1s;
      -webkit-animation-duration: 1s;
      -ms-animation-duration: 1s;
      animation-duration: 1s;
      -moz-animation-timing-function: ease-in-out;
      -webkit-animation-timing-function: ease-in-out;
      -ms-animation-timing-function: ease-in-out;
      animation-timing-function: ease-in-out;
      -moz-animation-fill-mode: forwards;
      -webkit-animation-fill-mode: forwards;
      -ms-animation-fill-mode: forwards;
      animation-fill-mode: forwards;  

}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 13px;
  font-size: 19px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
  color: #fff;
  top: 5px;
}


/*
table td.cv {
  width: 100%;
}
*/

/* Registration form */

table.data tr td, table.data tr th {
	color: #333;
	text-align: left;
	font-size: 16px;
}

table.data .input, table.scelta .select, table.scelta .textarea {
	width: 98%;
	font-size: 14px;
	border: none;
}

table.data .input[readonly], table.scelta .select[readonly] {
	font-size: 14px;
}

td.leftcol {
	width: 152px;
	white-space: nowrap;
	vertical-align: top; 
}

table.anagrafica {
	-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;
	padding: 4px;
}


table.scelta {
	-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;
	padding: 4px;
}

table.scelta th p, table.scelta a:hover {
	color: lightgray;
}

table.scelta a, table.scelta a:visited {
	color: white;
}

.rowfaces {
	padding: 2px;
}

.rowfaces img {
	border: 3px solid gray;
}

.button {
	font-weight: bold;
	font-size: 18px;
	padding: 4px;
}
