

/* CSS RESET (https://www.digitalocean.com/community/tutorials/css-minimal-css-reset) */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}
/* END CSS RESET */


/* spartan-regular - latin */
@font-face {
  font-family: 'Spartan';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/spartan-v2-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/spartan-v2-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/spartan-v2-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/spartan-v2-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/spartan-v2-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/spartan-v2-latin-regular.svg#Spartan') format('svg'); /* Legacy iOS */
    font-display: swap;
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
  font-display: swap;
}


body{ 
  background: #dcdcdc;
  font-family: 'Roboto', "Lucida Grande", Tahoma, sans-serif;  
}

/*a{word-break: break-all;}*/

.layout-wrapper{  }

.layout-wrapper__main  { background: #d7d7d7; }

.layout-wrapper__header{ background: #fff; overflow: hidden; }

.layout-wrapper__footer{ padding: 1rem; }

.layout-wrapper__internal{ 
	position: relative;
	max-width: 80rem;  /* 1280px */
	margin: 0 auto; 
}

.indipendent-tile{
	width: 100%; 
}

.indipendent-tile_tall{ 
	position: relative;
	padding: 8em 2rem 6em 2em;
}

.indipendent-tile__title{
  font-family: 'Spartan', sans-serif;
  font-size: 1.8rem;
  text-align: left;
  color: #646464;
}

.simil-logo{
	position: absolute;
	top: 0;
	padding-top: 3rem;
	font-size: .8rem;
	letter-spacing: .15rem;
	text-transform: uppercase;
	color: #585858;
	font-weight: bold;
}

.indipendent-tile_small{ padding: .4rem 0 .4rem 0; }

.indipendent-tile_small p{ 
	font-size: .75rem; 
	color: #444;
}

.tile-wall{ 
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
}			

.tile-wall__tile{ 	
	position: relative; 
	padding: 4em 2rem 4em 2em; 
}

.tile-wall__tile:nth-child(odd){ 
  background: #f8f9fA; 
  background: linear-gradient( 130deg, #f8f9fa 60%, #fff);}
.tile-wall__tile:nth-child(odd):hover{ background: #ccf7ff; }

.tile-wall__tile:nth-child(even){ 
  background: #f4f5f7;
  background: linear-gradient( 200deg, #f4f5f7 60%, #f8f9fa );
}
.tile-wall__tile:nth-child(even):hover{ background: #d8ffce; }






.tile-wall__tile:nth-child(odd)::before,
.tile-wall__tile:nth-child(even)::before{
  font-family: "Segoe UI","Segoe UI Symbol","serif","sans-serif";
  content: "| | |";
  color: #fa6c6c;
  position: absolute;
  font-size: 1.3rem;
  width: 100%;
  text-align: center;
  top: 2rem;
  line-height: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  -webkit-animation: fade-in 0.2s steps(7) 7;
  animation: fade-in 0.2s steps(7) 7;
}

.tile-wall__tile:nth-child(odd)::before{    
  color: #45e3fc;
}

.tile-wall__tile-title{ 
	color: #404040;
	font-family: 'Spartan', sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;  
	margin-bottom: 1.5rem;
	font-size: 1rem;  
	letter-spacing: .3rem;
	text-indent: .3rem;
}

.indipendent-tile p,
.tile-wall__tile p{ 
	line-height: 1.6;
	color: #404040;
	margin-bottom: 1em;
}

.tile-wall__tile p:last-child{ margin-bottom: 0; } 

.tile-wall__tile_full-wide{ /*width: 100%;*/ }

.flex-content{
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 2em;
}

.flex-content__txt_small{ 
  flex: 1 0 85%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  padding-left: 1em;
 }

.flex-content__txt_small a{ color: #525252; }

.flex-content__img{ 
	flex: 1 0 15%; 
}

@media (min-width:480px){
	.indipendent-tile_tall{
		padding: 8rem 6% 6rem 6%;
	}
	.indipendent-tile__container{
		max-width: 37rem;
	}
	.indipendent-tile__title{
		text-align: left;
	}	

	.simil-logo{ 
		/*padding: 3rem 6% 0rem 6%;*/
	}

	.layout-wrapper__main{ 
		background: linear-gradient(270deg, #f4f5f7 50%, #f8f9fa 50%); 
	}

	.tile-wall{ flex-direction: row; }

	.tile-wall__tile-title{ 
		font-size: 1.1rem;  
	}

	.tile-wall__tile{ 
		padding: 6rem 6% 6rem 6%; 
	}
	.tile-wall__tile_half-wide{ flex: 0 1 50% }	

  .tile-wall__tile:nth-child(odd)::before,
	.tile-wall__tile:nth-child(even)::before{ 
    top: 3.4rem; 
    font-size: 1.5rem;
  }
}

@media (min-width:801px){

  .indipendent-tile_tall{
    padding: 10.5rem 6% 7.5rem 6%;
  }
  .indipendent-tile__title{
    font-size: 2.2rem;
  }

}

/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */

@-webkit-keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}


/**
 * ----------------------------------------
 * animation color-change-2x
 * ----------------------------------------
 */
.color-change-2x-001:hover {
	-webkit-animation: color-change-2x-001 0.6s linear 3 alternate both;
	        animation: color-change-2x-001 0.6s linear 3 alternate both;
}

@-webkit-keyframes color-change-2x-001 {
  0%   { background: #ccf7ff; }
  100% { background: #ccf7ff00; }
}
@keyframes color-change-2x-001 {
  0%   { background: #ccf7ff; }
  100% { background: #ccf7ff00; }
}


.color-change-2x-002:hover {
	-webkit-animation: color-change-2x-002 0.6s linear 3 alternate both;
	        animation: color-change-2x-002 0.6s linear 3 alternate both;
}

@-webkit-keyframes color-change-2x-002 {
  0%   { background: #d8ffce; }
  100% { background: #d8ffce00; }
}
@keyframes color-change-2x-002 {
  0%   { background: #d8ffce; }
  100% { background: #d8ffce00; }
}


.decoration-container{
  position: absolute;
  background-color: #ececec;
  right: 0;
  top: 0;
  width: 500px;
  height: 1px;
  transform: rotate(90deg);
}

.decoration {
  position: absolute;
  top: calc(50% - 150px);
  left: calc(50% - 150px);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  /*box-shadow: inset 0 0 100px #fff, inset 10px 0 10px #c1f7ff, inset -10px 0 10px #c1f7ff, -10px 0 10px #c1f7ff, 10px 0 10px #c1f7ff;*/
  border: solid 1px #e6e6e6;
}

.decoration::before {
  content: ' ';
  border: solid 1px #e6e6e6;
  position: absolute;
  width: 50%;
  right: 0;
  height: 130%;
  border-radius: 50%;
  top: -44px;
}

.decoration::after {
  content: ' ';
  border: solid 1px #e6e6e6;
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  top: 37%;
  right: -175px;
  font-size: 64px;
}



@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ }
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }


