@font-face {
	font-family: 'cabinregular';
	src: url('font/cabin-regular-webfont.eot');
	src: url('font/cabin-regular-webfont.eot?#iefix') format('embedded-opentype'),
		 url('font/cabin-regular-webfont.woff2') format('woff2'),
		 url('font/cabin-regular-webfont.woff') format('woff'),
		 url('font/cabin-regular-webfont.ttf') format('truetype'),
		 url('font/cabin-regular-webfont.svg#cabinregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	background: #347AB6;
	color: #CCDDEC;
	font-family: cabinregular;
}

hr.customized {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: thin solid;
    text-align: center;
}
hr.customized:after {
    content: "O";
    display: inline-block;
    position: relative;
    top: -0.7em;
    padding: 0 1.25em;
    background: #347AB6;
}

hr.default {
	border-color:  #99BCDA;
}

.container {
	margin-top: 0 !important;
	padding-top: 50px;
	margin-bottom: 50px;
}

.center{
	margin: 0 auto;
}

.no-margin {
	margin: 0 !important;
}

.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-justify {
	text-align: justify;
}

ul.latin {
	list-style-type: lower-latin;
}

.clear{clear: both;}

label {
	font-weight: normal;
}

label.address {
	display: block;
    height: 20px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	color: #fff;
}

.link {
	text-decoration: underline;
}

p.informativa-container {
	text-align: justify;
}

.informativa-btn {
	background: none;
    border: 1px solid #99BCDA;
    border-radius: 25px;
    padding: 6px 10px;
    color: #fff;
    min-width: 80px;
    margin-top: 10px;
    font-size: 0.8em;
}
.informativa-btn.accepted {
	background: #1B4161;
	/* color: #fff; */
}

/* informativa radio custom - start*/
.informativa-radio-container {
	display: inline-grid;
    position: relative;
    cursor: pointer;
    font-size: 0.8em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.informativa-radio-container input {
    /* position: absolute; */
    opacity: 0;
	cursor: pointer;
	width: 7.5em;
}
.informativa-checkmark {
    position: absolute;
    background: none;
    border: 1px solid #99BCDA;
    border-radius: 25px;
    padding: 6px 10px;
    color: #fff;
    min-width: 80px;
    margin-top: 10px;
	font-size: 1em;
	text-align: center;
}
.informativa-checkmark > span.circle {
	left: .5em;
    top: .72em;
    position: absolute;
    border-radius: 50%;
    height: 1em;
	width: 1em;
	background-color: transparent;
}
.informativa-checkmark > span.circle.accepted {
    background-color: #3F0;
}
.informativa-checkmark > span.circle.rejected {
    background-color: #F30;
}
.informativa-radio-container:hover input ~ .informativa-checkmark {
    background-color: transparent;
}
.informativa-radio-container input:checked ~ .informativa-checkmark {
    background-color: #5398d4;
}
.informativa-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.informativa-radio-container input:checked ~ .informativa-checkmark:after {
    display: block;
}
.informativa-radio-container .informativa-checkmark:after {

}
/* informativa radio custom - end*/

.slideup, .slidedown {
    overflow: hidden;
    height: 0;
    transition: height 0.5s;
}

.slidedown-medium { height: 140px; }
.slidedown-long { height: 220px; }

.slidedown-80 { height: 80px; }
.slidedown-100 { height: 100px; }
.slidedown-120 { height: 120px; }
.slidedown-140 { height: 140px; }
.slidedown-150 { height: 150px; }
.slidedown-180 { height: 180px; }

.text-big, .text-small, .margin-bottom-30, .margin-bottom-0, .margin-bottom-10, .margin-top-reduced {
	display: block;
	position: relative;
}

.text-small-red{
	display: block;
	position: relative;
	color: #ff7f5b;
}

.text-inline {
	display: inline-block;
}

.text-big {
	color: #fff;
	font-size: 1.2em;
}

.text-small {
	font-size: 0.8em;
}

.text-small.bold {
	font-weight: bold;
}

.text-small.italic {
	font-style: italic;
}

.uppercase{
	text-transform: uppercase;
}

.vertical-align {
	display: flex;
	flex-direction: row;
  }
  
  .vertical-align > [class^="col-"],
  .vertical-align > [class*=" col-"] {
	display: flex;
	align-items: center;
	justify-content: center;
  }

a, a:hover, a:focus, a:active {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.margin-bottom-30 {
	margin-bottom: 30px;
}

.margin-bottom-20 {
	margin-bottom: 20px;
}

.margin-bottom-10 {
	margin-bottom: 10px;
}

.margin-bottom-0 {
	margin-bottom: 0;
}

.margin-bottom-10 {
	margin-bottom: 10px;
}

.margin-top-reduced {
	margin-top: -20px;
}

.margin-top-5 {
	margin-top: 5px;
}

.margin-top-10 {
	margin-top: 10px;
}

.margin-top-30 {
	margin-top: 30px;
}

.margin-right-5 {
	margin-right: 5px;
}

.margin-top-20 {
	margin-top: 20px;
}

.input-label {
	margin: 10px 0 3px 0;
}

.user-details .text-small {
	color: #B7D0E5;
}

.user-details .text-big {
	margin-bottom: -5px;
	font-size: 1.3em;
	overflow: hidden;
    text-overflow: ellipsis;
}
/*FINE FORMATTAZIONE*/

.form-control{
	background: #265A87;
	border-color: #99BCDA;
	color: #fff;
}

.form-control.light{
	background: #fff;
	border-color: #99BCDA;
	color: #265A87;
}
.form-control.light::placeholder{
	color: #99BCDA;
}
 

.has-error {
	color: #ff7f5b;
    border-color:red;
}

.form-control::-webkit-input-placeholder { color: #bbb; }
.form-control:-moz-placeholder { color: #bbb; }
.form-control::-moz-placeholder { color: #bbb; }
.form-control:-ms-input-placeholder { color: #bbb; }

.form-control:focus {
	box-shadow: none;
	border-color: #99BCDA;
}

.form-control-input {
	height: 27px;
}

.title-avatar {
	display: -webkit-inline-box;
    margin: 0.7em 0 0 0.7em;
    vertical-align: top;
}

/* CONTENITORE REGISTRAZIONE SOCIO */
div.socioACI {
	border: 1px solid;
	border-radius: 26px;
	margin: 0;
	padding: 10px 0;
}
div.socioACI > div.row > .title {
	margin-bottom: 10px;
	height: 21px;
}
div.socioACI > div.row > .title.left {
	margin-left: 1em;
}
div.socioACI > div.row > .title.center {
	font-size: 20px;
	top: 1px;
	position: relative;
	padding: 0;
}
div.socioACI > div.row > .title.right {
	font-size: 29px;
	padding: 0;
}
div.socioACI > div.row > .input-with-padding {
	padding-right: 30px;
    padding-left: 30px;
}

.position-clear {
	position: initial;
}

/* TOOLTIP */
.errorTooltip {
    position: relative;
    display: inline-block;
}

.errorTooltip-big {
    position: relative;
    display: grid;
}
.errorTooltiptext-big > span > a {
    text-decoration: underline;
}

.errorTooltiptext {
	visibility: hidden;
	opacity: 0;

	/* min-width: 220px;
	max- */width: 80%;
    background-color: #fff;
    color: #265A87;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    top: 2.4em;
	/* right: 1.5em; */
	right: -3%;
	margin-left: -60px;
	text-align: left;
    
    /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    transition: opacity 1s;
}
.errorTooltiptext.withLabel {
	top: auto;
}
.errorTooltiptext.first {
	top: 3.8em;
	right: 3%;
}
@media screen and (min-width: 768px) {
	.errorTooltiptext.first {
		top: 2.3em;
		right: 3%;
	}
}
.errorTooltiptext.second {
	top: 2.3em;
	right: 3%;
}
.errorTooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 80%;
    margin-left: -5px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.errorTooltiptext-big {
	visibility: hidden;
	opacity: 0;

    background-color: #fff;
    color: #265A87;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    /* position: absolute; */
    top: 2.4em;
    right: 1.5em;
	text-align: center;
    
    /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    transition: opacity 1s;
}
.errorTooltiptext-big::after {
    content: " ";
    position: absolute;
    top: 100%;  /* At the top of the tooltip */
    left: 49%;
    margin-left: -5px;
    border-width: 8px;
    border-style: solid;
	border-color: #fff transparent transparent transparent;
}

.errorTooltiptext-left {
	visibility: hidden;
	opacity: 0;

    min-width: 220px;
    background-color: #fff;
    color: #265A87;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    top: 2.1em;
    left: 3.8em;
	margin-left: -60px;
	text-align: left;
    
    /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    transition: opacity 1s;
}
.errorTooltiptext-left::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    right: 80%;
    margin-left: -5px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.errorTooltiptext-left.radio {
	top: 2.7em;
    left: 8.8em;
}

.errorTooltiptext-big > span.warning {
	background: url(img/ico-avviso.svg);
    background-size: contain;
    display: table;
    background-repeat: no-repeat;
    width: 25px;
	height: 25px;
	margin-left: 45%;
}

.errorTooltiptext > span.warning, .errorTooltiptext-left > span.warning {
	background: url(img/ico-avviso.svg);
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
	/* right: -60px; */
	right: -7%;
    top: 3px;
    position: relative;
}

.errorTooltiptextShow {
	visibility: visible;
    opacity: 1;
}

/*IMAGES*/
.logo-ACI {
	background: url(img/ico-aci.svg);    
	width: 60px;
	height: 60px;    
}

.icon-avviso {
	background: url(img/ico-avviso.svg);    
	width: 43px;
	height: 43px;    
}

.icon-chiave {
	background: url(img/ico-chiave.svg);    
	width: 20px;
	height: 20px;    
}

.icon-registrazione {
	background: url(img/ico-registrazione.svg);    
	width: 20px;
	height: 20px;    
}

.avatar {
	background: url(img/avatar.png);    
	width: 43px;
	height: 43px;    
}

.avatar-logout {
	background: url(img/avatar-logout.png);    
	width: 43px;
	height: 43px;    
}

.user-icon-page {
	background: url(img/icon_user.png);    
	width: 43px;
	height: 43px;    
}

.address-icon-page {
	background: url(img/address.png);    
	width: 30px;
    height: 40px;  
}

.acicard-icon-page {
	background: url(img/icon_card.png);    
	width: 55px;
	height: 55px;    
}

.card-icon-page {
	background: url(img/card.png);    
	width: 55px;
	height: 55px;    
}

.card-icon-privacy {
	background: url(img/consensi.png);
	width: 40px;
	height: 50px; 
}

.card-icon-delete {
	background: url(img/delete-user.png);
	width: 40px;
	height: 50px; 
}

.card {
	background: url(img/card.png);    
	width: 71px;
	height: 43px;    
}

.card2 {
	background: url(img/card2.png);    
	width: 71px;
	height: 43px;    
}

.forward {
	background: url(img/entra.png);
	right: 15px;
}

.cross {
	background: url(img/cross.png);
	right: 15px;
}

.back {
	background: url(img/back.png);
	left: 15px;
}

.arrow {
	width: 25px;
	height: 26px;
	position: absolute;
	top: 10px;
}

.arrow-2 {
    width: 15px;
    height: 15px;
    position: relative;
    top: 2px;
    left: 6px;
}

.arrow-small {
	background: url(img/arrow.png);
	width: 9px;
	height: 17px;
	margin-top: 8px;
}
.arrow-small.no-margin {
	margin: 0;
}

.check-ok {
	background: url(img/forward.png);
	left: 15px;
}

.check-ok-profile {
	background: url(img/forward.png);
	width: 27px;
	height: 27px;
	display: inline-block;
	
}


.check-ok-profile-targa {
	background: url(img/forward.png);
	width: 27px;
	height: 27px;
	display: inline-block;
	margin-top: 20px;
}

.check-ok-right {
	background: url(img/check-ok.png);
	right: 15px;
}

 .icon-tick {
	background: url(img/tick.png);
	right: 15px;
}

.delete-user {
	background: url(img/delete-user.png);
	right: 15px;
	top: 9px;
}

.delete-user-profile {
	background: url(img/delete-user.png);
	width: 30px;
	height: 30px;
	margin-top: 8px;
	margin-left: 18px;
	display: inline-block;
}

.delete-user-integration {
	background: url(img/delete-user.png);
	width: 30px;
	height: 30px;
	display: inline-block;
}

.register-email-validation {
	background: url(img/registerValidation.png);
	width: 32px;
	height: 32px;
	display: inline-block;
	margin-left: -1px;
}

.check-ok-profile-integration {
	background: url(img/check-ok.png);
	width: 30px;
	height: 30px;
	display: inline-block;
	
}

.mail-confirm {
	zoom: 0.3;
}

.phone-confirm {
	zoom: 1;
}

.logout-user {
	background: url(img/logout-user.png);
    right: 11px;
    width: 17px;
    height: 17px;
    top: 2px;
}

#cfcode {
	text-transform: uppercase;
}
#cfcode::placeholder {
	text-transform: none;
}

.form-input-cf .form-group input, .form-input-cf .form-control[disabled],
.form-input-cf .form-control[readonly], .form-input-cf select {
	background-color: #347ab6 !important;
}

.icon-default {
    width: 24px;
    height: 33px;   
}

.icon-small {
    height: 12px;
	width: 12px;
}

.float-left {
	display: inline-block;
    width: calc(100% - 45px);
    vertical-align: top;
}

.float-margin-left {
	margin-left: 10px;
}

.icon-key {background: url(img/icon_key.png);}
.icon-card {background: url(img/icon_card.png);}
.icon-card-valid {background: url(img/iconstessera_ok.png);}
.icon-card-not-valid {background: url(img/iconstessera_ko.png);}
.icon-email {background: url(img/icon_email.png);}
.icon-mobile {background: url(img/icon_mobile.png);}
.icon-address {background: url(img/address.png);}
.icon-privacy {
	background: url(img/consensi.png);
}
.icon-green-tick {
	background: url(assets/img/Tick-Big-Green.png);
}
.icon-user {background: url(img/icon_user.png);}
.icon-car {background: url(img/icon_car.png);}
.icon-back {
	background: url(img/back.png);
    width: 27px;
    height: 35px;
}

.icon-status-alert {background: url(img/iconsstatus/alert.png);}
.icon-status-info {background: url(img/iconsstatus/info.png);}
.icon-status-ko {background: url(img/iconsstatus/ko.png);}
.icon-status-ok {background: url(img/iconsstatus/ok.png);}

.button-icon-left {
	left: 17px;
    position: absolute;
}

.button-text-left {
	margin-left: 10px;
}

.span-icon {
	background-size: 100%;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: 0 center;
}

.center-icon {
	margin-top: -3px;
}

.center-icon-profile {
	margin-top: -5px;
}

.icon-mobile-avatar {
	zoom: 1.3;
}

.icon-email-avatar {
	zoom: 1.3;
}

.icon-card-avatar {
	zoom: 0.8;
}

.center-icon-email-profile {
	margin-top: 11px;
}

#sidebar .icon-default {
	position: relative;
	top: 17px;
	right: 10px;
	background-position: 0 top;
}

.icon-mobile {
    background-size: 80%;
    position: relative;
    left: 3px;
}

.center{
	text-align: center;
}

.row-container{
	margin: 1.6em 0;
	display: block;
}

.checkbox-privacy{
	margin: 5px 0px 0px -42px;
	height: 22px;
	width: 22px; 
}

.modal-logout, .modal-logout button {
    border-radius: 3px;
}
#sidebar .profilo .icon-mobile, #sidebar .profilo .icon-privacy {
	left: -7px;
    top: 9px;
}

.form-control[disabled], .form-control[readonly], select{
	background-color: #265A87 !important;
}

select.readonly {
	-webkit-appearance: none;
}

/*IMAGES END*/

.default-btn, .default-btn:focus {
	background: none;
	border: 1px solid #99BCDA;
	border-radius: 25px;
	padding: 12px 40px;
	color: #fff;
	position: relative;
	outline: none;
	min-width: 195px;
	margin-top: 20px;
}

.remove-btn, .remove-btn:focus {
	background: #b73030;
    border: 1px solid #b73030;
    border-radius: 25px;
    padding: 12px 60px;
    color: #fff;
    position: relative;
    outline: none;
    min-width: 195px;
    margin-top: 20px;
}

.btn-dark, .btn-dark:focus {
	background: #1B4161;
	border: none;
	color: #fff;
}

.btn-light, .btn-light:focus {
	background: #fff;
	border: none;
	color: #347ab6;
}

.btn-inverted, .btn-inverted:focus {
	background: #2E6DA3;
	border: none;
	color: #98C0EE;
}

.delete-icon {
	color: red;
    font-size: 20px;
    position: absolute;
	top: 12px;
	left: 15px;
}

.button-confirm {
 float : right;
}

.button-confirm-mobile {
 float : right;
 margin-top: 50px;
}

.checkbx {
	margin-top: 20px;
}
.checkbx.more-margin-top {
	margin-top: 40px;
}

.user-details {
	margin-top: 20px;
}

.styled-checkbox {
	margin-bottom: 0;
}

.styled-checkbox input {
	display: none;
}

.styled-checkbox span {
	width: 38px;
	height: 31px;
	display: block;
	background: url(img/checkbox.png) no-repeat;
	background-size: auto 100%;
}

.styled-checkbox span.none {
	background: none;
}

.styled-checkbox input:checked + span {
	background-position: -40px;
}

.styled-checkbox-ACI {
	margin-bottom: 0;
}

.styled-checkbox-ACI input {
	display: none;
}

.styled-checkbox-ACI span {
	width: 38px;
	height: 31px;
	display: block;
	background: url(img/aci-check.png) no-repeat;
	background-size: auto 100%;
}

.styled-checkbox-ACI input:checked + span {
	background-position: -40px;
}

.styled-checkbox-disabled {
	margin-bottom: 0;
}

.styled-checkbox-disabled input {
	display: none;
}

.styled-checkbox-disabled span {
	width: 38px;
	height: 31px;
	display: block;
	background: url(img/checkbox-disabled.png) no-repeat;
	background-size: auto 100%;
}

.styled-checkbox-disabled input:checked + span {
	background-position: -40px;
}

#sidebar, .informativa {
	display: none;
}

.input-group-addon {
	background: #1B4161;
	border: 1px solid #919EA8;
	border-right: none;
	position: relative;
	left: 2px;
	z-index: 3;
	color: #98C0EE;
}

.input-group .parsley-errors-list.filled {
	position: absolute;
	top: 40px;
	left: 3px;
}

.not-active {
   pointer-events: none;
   cursor: default;
}

#inputEmail, #inputMobile {
	color: #347AB6;
	width: 100%;
}

/*PARSLEY CSS*/
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
 	border: 1px solid #F44336;
}

.parsley-errors-list {
 	margin: 2px 0 3px;
	padding: 0;
	list-style-type: none;
	font-size: 0.9em;
	line-height: 0.9em;
	opacity: 0;

	transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
	opacity: 1;
 	text-align: left;
 	position: relative;
}

.checkbx .parsley-errors-list {
 	float: left;
}

.checkbx .parsley-errors-list.filled {
	width: 150px;
	position: absolute;
	top: -15px;
}

.bs-callout {
	margin: 20px 0;
	padding: 20px;
	border-left: 3px solid #eee;
}

.bs-callout h4 {
	margin: 0;
}

.parsley-errors-list.filled li, .bs-callout-warning h4 {
	color: #EF8F8F;
}

.bs-callout-warning {
	background-color: #306FA5;
	border-color: #EF8F8F;
}

#chiudi-profilo-sidebar {
	position: absolute;
    left: -10px;
    top: -15px;
}

.card-view, .card-title {
	display: none;
}

.targa-checkbox-text {
	margin-top: 8px;
}

#mail-validata-2, #cellulare-validato-2, #cellulare-validato, #mail-validata {
	display: none;
	color: #7ED321;
}


/*lOADING SPINNER*/

div#loaderDiv > div {
	text-align: center;
}

div#loaderDiv > div > img {
	width: 100px;
	height: 100px;
	margin-top: 250px;
}

#loaderDiv {
     position: absolute;
     left: 0px;
     top: 0px;
     width:100%;
     height:100%;
     text-align:center;
     z-index: 1000;
     background-color: rgba(0, 0, 0, .5); 
     margin: 0;
     padding: 0;
}


.custom-label-red-text{
	color: #EF8F8F;
}

/*Bootstrap carousel*/
.carousel-indicators .active {
    background-color: #7CACE0;
}

.carousel-indicators li {
    background-color: none;
    border: 1px solid #7CACE0;
}

#card-carousel {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 55px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    width: 14px;
    height: 14px;
}

.carousel-indicators .active {
    width: 14px;
    height: 14px;
    margin: 1px;
}

.carousel-inner {
    box-shadow: 0px 10px 20px -7px #000;
}

.carousel-control.left, .carousel-control.right {
	background: none;
	display: none;
}

.carousel-inner>.item {
	overflow: hidden;	
	-webkit-transition: 0.3s ease-in-out left;
	transition: 0.3s ease-in-out left;
	-webkit-transition: 0.3s, ease-in-out, left;
}

.carousel-inner, .carousel-inner>.item {
	border-radius: 15px;
}

@media(min-width:600px) and (max-width:767px) {
	.carousel-inner, .carousel-inner>.item {
	    border-radius: 19px;
	}
}

@media(min-width:767px) {
	.carousel-inner, .carousel-inner>.item {
	    border-radius: 22px;
	}
}

/*Custom Colors*/

.red-text{ color:#ff7f5b; }
.red{ background-color:#ff7f5b; }
.black-text{ color:#000; }
.black{ background-color:#000; }
.white-text{ color:#fff; }
.white{ background-color:#fff; }


.chooseAddressList:hover{
	color: #B7D0E5;
	font-weight: 900;
}



/********************************************************************/
/*TOAST*/
#toast {
    visibility: hidden;
    width: 250px;
    margin-left: -125px;
    background-color: #353535;
    color: #bfbfbf;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 30px;
    font-size: 16px;
	box-shadow: 2px 2px 8px #333;
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


@-webkit-keyframes fadein {
    0% {top: 0; opacity: 0;} 
    100% {top: 30px; opacity: 1;}
}

@keyframes fadein {
    0% {top: 0; opacity: 0;}
    100% {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    0% {top: 30px; opacity: 1;} 
    100% {top: 0; opacity: 0;}
}

@keyframes fadeout {
    0% {top: 30px; opacity: 1;}
    100% {top: 0; opacity: 0;}
}
/**************************************************************/


/*******************************************************************/
/* Modal*/

.modal {
    display: none;
		position: fixed;		
		z-index: 1;		
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #347AB6;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Workaround per i problemi creati da questo css che vanno a sovrascrivere il comportamento del css .modal di default di bootstrap
	che funzionano solo sul onclick di una pagina
	di seguito vengono ristabiliti i valori di default di bootstrap per avviare in automatico la modal all'apertura della pagina	
*/


.modalLogin {
	z-index: 1050;		
 
}

.modal-content-Login{
	background-color:	#347ab6;
	height:auto;
	width: auto;
}	

.modal-body-Login{
	background-color:	#347ab6;	
	overflow:auto;

}

.modal-footer-Login{	
	background-color:	#347ab6;	
	overflow:auto;
}






