/* Mobile portrait */
@media (min-width: 1px) {
  body {
    margin: 0px;
    color: #333;
    font-family: sans-serif;
  }
	
  h1  {
	font-size: 24px;
	color: #227c9d;
	padding: 0px 40px;
		
  }
 h2  {
	font-size: 24px;
	color: #fff;
	padding: 40px;
		
  }
	
 h3  {
	font-size: 22px;
	color: #227c9d;
	padding: 10px;
		
  }
	

a:link {
  	color:#f1c40f;
	text-decoration: none;
}


a:hover {
  	color: #333;
	text-decoration: underline;
}
	
a:visited {
  color: #f1c40f;
}


  #content-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    flex-direction: column;
  }

  #map-wrapper {
    width: 100%;
  }

  #autonomies-slide-wrapper {    
    width: 0%;
    height:0%;
    display: block;
    max-height: 100%;
    padding: 20px 40px;
    position: relative;
    transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
    overflow-y: auto;
    overflow-x: hidden;
    visibility: collapse;
  }

  #autonomies-slide-wrapper.active {
    background-color: #eee;
    border-left: 4px solid #f1c40f;
    width: calc(100% - 80px);
    height: 100%;
    visibility: visible;
  }

  #autonomies-slide-content {
    margin-top: 80px;
  }  

  .autonomies-ol {
    /*max-height: 400px;*/
    overflow: auto;
  }

  .autonomies-ol li {
    margin-bottom: 10px;
  }

  .autonomies-ol-lv2 {
    margin-top: 10px;
    list-style-type: lower-alpha;
  }
  .autonomies-ol-lv3 {
    margin-top: 10px;
    list-style-type: circle;
  }

  #autonomies-slide-content a {
    display: block;
    margin-top: 40px;    
    color: #333;
    text-decoration: underline;
    font-style: italic;
  }

  .autonomy-header {
    background-color: #f1c40f;
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    padding-left: 40px;
	
  }


  /* Close btn */
  .close-button {
    color: black;    
    height: 18px;
    width: 18px;
    box-sizing: border-box;
    line-height: 18px;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 90px;
    z-index: 9;
  }
  .close-button:before, .close-button:after {
    transform: rotate(-45deg);
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -4px/2;
    margin-left: -18px/2;
    display: block;
    height: 4px;
    width: 18px;
    background-color: white;
    transition: all 0.25s ease-out;
  }

  .close-button:after {
    transform: rotate(-135deg);
  }

  .close-button:hover:before, .close-button:hover:after {
    transform: rotate(0deg);
  }

  /* Scrollbar */

  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track-piece {
    background-color: #c2d2e4;
  }
  
  ::-webkit-scrollbar-thumb:vertical {
    height: 10px;
    background-color: #f29d12/*#0a4c95;*/
  }
}

/* Mobile landscape */
@media (min-width: 481px) {

}

/* Tablet portrait */
@media (min-width: 641px) {

}

@media (min-width: 769px) {
 
}

/* Tablet landscape and small laptops */
@media (min-width: 961px) {
  
}

/* Tablet landscape and laptops */
@media (min-width: 1025px) {
  #content-wrapper {
    flex-direction: row;
  }
  #autonomies-slide-wrapper.active {    
    width: 100%;    
  }
}

/* Medium screens */
@media (min-width: 1275px) {

}

/* Big screens */
@media (min-width: 1440px) {

}

@media (min-width: 1544px) {

}