/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 @keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(300px);
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-300px);
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInBottom {
  from {
    opacity: 0;
    transform: translateY(300px);
  }
  to {
    opacity: 1;
  }
}


.magellano_browserpush_close {
  position: absolute;
  right: 0px;
  top: 10px;
  width: 12px;
  height: 12px;
  opacity: 0.6;
  z-index:100001;
  
}
.magellano_browserpush_close:hover {
  opacity: 1;
}
.magellano_browserpush_close:before, .magellano_browserpush_close:after {
  position: absolute;
  left: 0;
  content: ' ';
  height: 12px;
  width: 2px;
  background-color: #333;
}
.magellano_browserpush_close:before {
  transform: rotate(45deg);
}
.magellano_browserpush_close:after {
  transform: rotate(-45deg);
}

.magellano_browserpush {
  z-index: 100000;
  position: relative;
  cursor: pointer;
}

.mgt-span{
	font-size: 10px !important;
    text-transform: none !important;
    font-weight: 400 !important;
}

.mgt-formato {
		background-color: #000000d6;
		border-radius: 0.25rem;
		padding:16px;
		cursor:pointer;
	}

	.mgt-formato a {
		font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif" !important;
		font-size: 1.4 rem !important;
		font-weight: 700 !important;
		color: white !important;	
		padding-bottom: 16px;
		word-break: break-word;
		text-decoration: none!important;
	}

	.mgt-row {
		display:flex;
		width:100%;
	}

	.leggi-text{
		width: 100%;
		text-transform: uppercase!important;
		border-bottom-width: 1px!important;
		--border-opacity: 1!important;
		border-color: #fff!important;
		border-color: rgba(255,255,255,var(--border-opacity))!important;
		padding-bottom: 0.5rem!important;
		margin-bottom: 0!important;
		margin-top: 0!important;
	}

	.leggi-anche-text{
		width: 100%;
		text-transform: uppercase!important;
		border-bottom-width: 1px!important;
		--border-opacity: 1!important;
		border-color: #fff!important;
		border-color: rgba(255,255,255,var(--border-opacity))!important;
		padding-bottom: 0.5rem!important;
		margin-bottom: 0!important;
		margin-top: 0!important;
		font-style: italic;
		font-size: 10px;
	}

.mgt-helper{
    display: inline-block;
    height: 100%;
    vertical-align: middle;

}

	.mgt-white  {	
		border-top: 1px solid #fff; 
		border-radius: 0px !important;
		padding-top: 8px;
		line-height: 1.2;
	}

	.mgt-testo {
		width: 100%;
		float: left;	
	}

	.mgt-testo {	
		margin-bottom: 8px;

	}

	.mgt-immagine {
		flex: 30%;
		float: left;
		text-align: center;
		padding: 8px;	
	}

	.mgt-immagine img {	
		height: auto;
		width: 100%;
		max-width: 200px;
	}

	.mtg-clmn-text{
		width:70%;
		padding-right: 8px;
	}

	.mgt-clmn-img{
		width:30%;
	}
	

@media screen and (max-width: 600px) {
	
	.mgt-clmn-img{
		width:30%;    
		text-align: center;
		margin: 0.6em 0;
	}
	
	.nomobile{
		display : none;
	}
	
	.mgt-title-span{
		display: -webkit-box;
		border-radius: 0;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.mgt-immagine {	
		/*display: none;*/
	}
	
	.mtg-clmn-text{
		width:100% !important;
		padding-right: 0px;
	}

	.mgt-clmn-img{
		width:100% !important;
	}
	
	.leggi-text{
		font-size:13px !important; 
	}
	
}

/** magellano_browserpush VIEW 1 **/

#magellano_browserpush_view_1{
 	width: 100%;
	border-top: 1px solid rgba(51, 51, 51, 0.16);
	position: fixed;
	bottom: 0px;
	right: 0; 
	background-color: #fff;
	animation: fadeInBottom 1.2s ease-in-out;
	box-shadow: 0px 0px 3px #00000038;
}

#magellano_browserpush_view_1 .magellano_browserpush_content {
	display: flex;
	align-items: center;
}

#magellano_browserpush_view_1 .magellano_browserpush_image {
	flex-basis: 0;
	flex-grow: 0.5;
	max-width: 100%;
  padding:10px;
}

#magellano_browserpush_view_1 .magellano_browserpush_image > IMG{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top;
  border-radius: 5px;
}

#magellano_browserpush_view_1 .magellano_browserpush_body {
	flex-basis: 0;
	flex-grow: 1;
	max-width: 100%;
  margin: 10px;
}

#magellano_browserpush_view_1 .magellano_browserpush_title{
  font-weight:bold;
  font-size:0.9rem;
}

#magellano_browserpush_view_1 .magellano_browserpush_description{
  font-size:0.8rem;
}

#magellano_browserpush_view_1 .magellano_browserpush_toggle {
	position: absolute;
	width: 40px;
	height: 20px;
	top: -19px;
	z-index: 10001;
	background-color: #fff;
	text-align: center;
	border-radius: 3px 3px 0 0;
  left:4px;
  cursor: pointer;
  box-shadow: 0px -1px 1px 0px #00000038;
}

#magellano_browserpush_view_1 .magellano_browserpush_toggle::before {
	position: relative;
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	border-right: 0.1em solid #363636;
	border-top: 0.1em solid #363636;
	transform: rotate(135deg);
  transition:all 0.5s ease-out;
}

#magellano_browserpush_view_1 .magellano_browserpush_toggle.closed::before {
  transition:all 0.5s ease-out;
	transform: rotate(-45deg);
}

/** magellano_browserpush VIEW 2 **/

#magellano_browserpush_view_2{
  width: 100%;
 border-bottom: 1px solid rgba(51, 51, 51, 0.16);
 position: fixed;
 top: 0px;
 right: 0; 
 background-color: #fff;
 animation: fadeInTop 1.2s ease-in-out;
 box-shadow: 0px 0px 3px #00000038;
}

#magellano_browserpush_view_2 .magellano_browserpush_content {
 display: flex;
 align-items: center;
}

#magellano_browserpush_view_2 .magellano_browserpush_image {
 flex-basis: 0;
 flex-grow: 0.5;
 max-width: 100%;
 padding:10px;
}

#magellano_browserpush_view_2 .magellano_browserpush_image > IMG{
 max-width: 100%;
 max-height: 100%;
 object-fit: contain;
 object-position: top;
 border-radius: 5px;
}

#magellano_browserpush_view_2 .magellano_browserpush_body {
 flex-basis: 0;
 flex-grow: 1;
 max-width: 100%;
 margin: 10px;
}

#magellano_browserpush_view_2 .magellano_browserpush_title{
 font-weight:bold;
 font-size:0.9rem;
}

#magellano_browserpush_view_2 .magellano_browserpush_description{
 font-size:0.8rem;
 
}

#magellano_browserpush_view_2 .magellano_browserpush_toggle {
	position: absolute;
	width: 40px;
	height: 20px;
	bottom: -19px;
	z-index: 10001;
	background-color: #fff;
	text-align: center;
	border-radius: 0px 0px 3px 03px;
  left:4px;
  cursor: pointer;
  box-shadow: 0px 1px 1px 0px #00000038;
}

#magellano_browserpush_view_2 .magellano_browserpush_toggle::before {
	position: relative;
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	border-right: 0.1em solid #363636;
	border-top: 0.1em solid #363636;
	transform: rotate(-45deg);
  transition:all 0.5s ease-out;
}

#magellano_browserpush_view_2 .magellano_browserpush_toggle.closed::before {
  transition:all 0.5s ease-out;
	transform: rotate(135deg);
}

/** magellano_browserpush VIEW 3 **/

#magellano_browserpush_view_3 {
	position: fixed;
	top: 100px;
	width: 50%;
	right: 0;
	background-color: #fff;
	animation: fadeInTop 1s ease-in-out;
	border-radius: 5px 0 0 5px;
	overflow: hidden;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border: 1px solid #3636363d;
  border-right: none;
}

#magellano_browserpush_view_3 .magellano_browserpush_body{
  margin:5px;
}

#magellano_browserpush_view_3 .magellano_browserpush_title A{
  font-size:14px;
  color:#c80000;
  font-weight: bold;
}

#magellano_browserpush_view_3 .magellano_browserpush_description{
  font-size:12px;
  color:#363636;
}

#magellano_browserpush_view_3 .magellano_browserpush_close {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 16px;
	height: 16px;
	opacity: 1;
	z-index: 100001;
	background-color: #ffffffe0;
	border-radius: 50%;
}

#magellano_browserpush_view_3 .magellano_browserpush_close::before, #magellano_browserpush_view_3 .magellano_browserpush_close::after {
	position: absolute;
	left: 7px;
	content: ' ';
	height: 9px;
	width: 2px;
	background-color: #333;
	top: 3px;
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  #magellano_browserpush_view_2{
    border: 1px solid #DFDFDF;
    position: fixed;
    top: 70vh;
    right: 0px;
    background-color: #fff;
    animation: fadeInBottom 1s ease-in-out;
    max-width: 450px;
    width: 100%;
    display: flex;
  }

  #magellano_browserpush_view_3 {
    max-width: 300px;
    top: 45vh;
    right: 0px;
    animation: fadeInBottom 1s ease-in-out;
  }
  
	
  
}