/* lg */ 
@media (min-width: 1200px) {
  
}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {

  .navbar-right {
    padding: 0 30px 0 0;
  }

  .navbar-right li a {
    padding: 35px 15px;
  }

  .fixed-menu .container {
    width: 100%;
  }

  .fixed-menu .navbar-right {
    padding-right: 30px;
  }

  .fixed-menu .navbar-right li a {
    padding: 20px;
  }

  
  #countdown li {
    margin-right: 30px;
  }
  .nav-pills > li {
   margin-bottom: 10px;
   }
  .event-list > li {
		width: 120%;
		margin-left: -100px;
	}
.event-list > li > .info {
  background-color: #fff;
	}
	.title {
	text-align: center;
}	

     .event-list > li .kymme {
		margin-bottom: 0px;
	}

 .ear-piece, .light {
    display: none;
  }
	.contact-text {
		margin-left: -250px;
	}
	.contact-address{
		margin-left: -250px;
	}
	#wrapper {
		margin-left: -190px;
	}
     #portfolio-grid li {
	  margin-left: 150px;       
  }
  .project-description h3 {
	  margin-left: 30px;
  }
    .project-description p {
	  margin-left: 30px;
	  padding-bottom: 30px;
  }
.project-info {
	margin-left: 30px;
}
}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {

  .navbar-brand {
    width: 215px;
    height: 60px;
  }

  .navbar-right {
    padding: 0;
  }

  .navbar-right li a {
    padding:20px 11px;
    font-size: 17px;
  }

  .fixed-menu .container {
    width: 100%;
  }

  .fixed-menu .navbar-right {
    padding-right: 30px;
  }

  .fixed-menu .navbar-right li a {
    padding: 20px 15px;
    font-size: 17px;
  }
 
 #countdown li {
  margin-right: 15px;
 }
.nav-pills > li {
   margin-bottom: 10px;
   }
 .ear-piece, .light {
    display: none;
  }

  .watch {
    left: -8%
  }
      .event-list li {		
		margin-left: -120px;	
        width: 130%;		
	}
	
	  	 .toetaja {
		position: relative;
		margin-left:0;
		
	}
	
	.contact-text {
		margin-left: -250px;
	}
	.contact-address{
		margin-left: -250px;
	}
	
	
	#wrapper {
		margin-left: -220px;
	}
}

/* xs */
@media (max-width: 767px) {

  .main-nav .container {
    display: none;
  }
  
  .fixed-menu .container {
    display: block;
  }

   .fixed-menu .container {
    width: 100%;
  }

  .navbar-brand {
    width: inherit;
  }

  .fixed-menu .navbar-right li a {
    padding: 7px 25px;
  }

  #home {
    margin-top: 10%;
  }

  #main-slider .carousel-caption {
    bottom: 17%;
    padding: 10px;
    line-height: 0;
  }

  #main-slider .carousel-caption h2 {
    font-size: 20px;
    margin-top: 3px;
  }

  #main-slider .carousel-caption h4 {
    font-size: 16px;
  }

  #main-slider .carousel-caption a {
    font-size: 14px;
    color: #2da1c5;
  }

  #explore {
    background-size:cover;
  }

  #explore h2 {
    float: inherit;
    font-size: 30px;
    margin-bottom: 30px;
  }  

  #countdown li {
    font-size: 14px;
    margin-right:35px;
    width:inherit;
  }

  #countdown li span {
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    width: 60px;
  }

  #countdown li:before, 
  #countdown li:after {
    top:25px;
  }
.nav-pills > li {
   margin-bottom: 10px;
   }
  .cart a {
    font-size: 18px;
  }

  .cart a i {
    font-size: 20px;
    padding:15px;
  }

   /*event */
.nav-pills > li {
   margin-bottom: 10px;
   }
.title {
	text-align: center;
}
.event-list > li > .info {
  background-color: #fff;
	}
  #event h2, 
  #about h2, 
  #sponsor h2 {
    font-size: 30px;
  }
    	 .toetaja {
		position: relative;
		margin-left:0;
		
	}
  
  
  
  #sponsor {
    background-position: right 0 bottom 0;
  }
  
  #footer {
    font-size: 16px;
  }

  .watch, .light, .ear-piece {
    display: none;
  }

  .contact-section {
    background-position: left 0 bottom 0;
    background-size: cover;
  }

  .about-content {
    width: 100%;    
    padding: 70px 25px 110px;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
	 #portfolio-grid li {
	  width: 100%;
	  margin-left: -35px;
        
  }
 #wrapper {
	  display: none;
  }	
}
/* XS Portrait */
@media (max-width: 480px) {

  .main-nav .container {
    display: none;
  }

  .fixed-menu .container {
    display: block;
  }

  .fixed-menu .navbar-right li a {
    padding: 10px 25px;
  }

  /* Home */

  #home {
    margin-top: 18%;
  }

  .fixed-menu .container {
    width: 100%;
  }

  .navbar-brand {
    width: inherit;
  }

 #main-slider {
	background-color: #c20013; 
 }
  #main-slider .carousel-caption {
	  width: 100%;
    bottom: 17%;
    padding: 10px;
    line-height: 0;    
  }

  #main-slider .carousel-caption h2 {
    font-size: 18px;
    margin-top: 3px;
  }

  #main-slider .carousel-caption h4 {
    font-size: 14px;
  }

  #main-slider .carousel-caption a {
    font-size: 12px;
    color: #2da1c5;
  }

  .carousel-indicators {
    bottom: 0;
  }

  /* Explore */
  #explore {
    background-size:cover;
  }

  #explore h2 {
    float: inherit;
    font-size: 30px;
    margin-bottom: 30px;
  }  

  #countdown li {
    font-size: 14px;
    margin-right: 15px;
    width: 45px;
  }

  #countdown li span {
    font-size: 20px;
    height: 45px;
    line-height: 45px;
    width: 45px;
  }

  #countdown li:before, 
  #countdown li:after {
    top: 18px
  }

  .cart {
    right:-209px;
  }

  .cart a {
    font-size: 18px;
  }

  .cart a i {
    font-size: 20px;
    padding:12px;
  }
   .nav-pills > li {
   margin-bottom: 10px;
   }

   #portfolio-grid li {
	  width: 100%;
	  margin-left: -35px;
        
  }

.span6 {
position: relative;
padding-bottom: 65.25%;
padding-top: 30px;
height: 0;
overflow: auto; 
-webkit-overflow-scrolling:touch; //<<--- THIS IS THE KEY
border: solid black 1px; 
} 
.single-project iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
    /*event */


  #event h2, 
  #about h2, 
  #sponsor h2 {
    font-size: 30px;
  }
.title {
	text-align: center;
}
  .about-content p, 
  #twitter-feed .item a, 
  #twitter-feed .item p {
    font-size: 15px;
  }

  #sponsor {
    background-position: right 0 bottom;
  }
 
.slider {
  margin-top: 0;
}
.slider__btn {
  position: relative;
  bottom: 0;
}
  #footer {
    font-size: 14px;
  }

  .watch, .light, .ear-piece {
    display: none;
  }

  .contact-section {
    background-position: left 0 bottom 0;
    background-size: cover;
  }
  #wrapper {
	  display: none;
  }
.event-list > li > .info {
  background-color: #fff;
	}

.event-list > li > .social > ul {
  background-color: #fff;
	}
	
  	 .toetaja {
		position: relative;
		margin-left:0;
		
	}
	
		.event-list > .yksteist > time {
		background-color: transparent;
	}
}
@media (max-width: 320px) {
	   #portfolio-grid li {
	  width: 110%;
	  margin-left: -35px;
        
  }

}
