/* DOWN */
/* Small devices (landscape phones, 575.98px and up) */
@media (max-width: 575.98px) {

}

/* Medium devices (tablets, 767.98px and up) */
@media (max-width: 767.98px) {
	  #openGalleryPopup .modal-body .gallery-container .carousel.slide .carousel-inner .gallery-item .item-image {
	    width: 100%;
	    height: 65%;
	  }
	  #openGalleryPopup .modal-body .gallery-container .carousel.slide .carousel-inner .gallery-item .item-right {
	    width: 100%;
	    display: block;
	    margin-left: 0;
	    height: 35%;
	  }
	  .carousel-control .glyphicon-chevron-left,
	  .carousel-control .glyphicon-chevron-right,
	  .carousel-control .icon-next,
	  .carousel-control .icon-prev {
	    top: 50%;
	    transform: translateY(-50%);
	    margin-top: 0;
	    left: 25% !important;
	    color: #284343;
	  }
	  #openGalleryPopup .carousel-control.left,
	  #openGalleryPopup .carousel-control.right {
	    width: 60px;
	    height: 65%;
	  }
	  #openGalleryPopup .carousel-control.left {
	    left: 0 !important;
	  }
	  #openGalleryPopup .carousel-control.right {
	    right: 0 !important;
	  }
	  #main-nav {
	    margin-left:-15px;
	    margin-right:-15px;
	  }
	  #main-nav ul {
	    width:100%;
	    height:auto;
	  }
	  #main-nav ul li {
	    width:100%;
	    border-top:solid 1px #dddddd;
	    text-align: center;
	  }
	  #main-nav ul li a {
	    float:none;
	    height: 40px;
	    line-height: 45px;
	  }
	  .home-background .container {
	    padding:0;
	    width:100% !important;
	  }
	  .home-background .description {
	    width:100% !important;
	    top:0;
	  }
	  .home-background .description .box {
	    padding:10px 0;
	    margin:0 !important;
		border-radius: 0;
		padding: 20px 0; 
	  }
	  .home-background .description h2 {
	    font-size: 22px;
	    padding: 0 20px;
	    text-align: center;
	    color: #ffffff;
	  }
	  .home-background .description h1 {
	  	font-size: 20px;
	    line-height: 28px;
	    text-align: center;
	    padding: 0 10px;
	  }
	  .home-background .description .btn {
	    display:block;
	  }
	  .home-background .container {
	    height:450px !important;
	  }
	  .home-background {
	      height: 450px;
	  }
	  .home-background .description-right {
	    transform: scale(0.7);
	    top: 220px;
	  }
	  .home-background .description-right .offer {
	    right: 50% !important;
	    left: -370px;
	    top: 220px !important;
	
	  }
	  .button-login {
	      width: 100%;
	  }
	  .button-navodila {
	      margin-top:0;
	      width: 100%;
	  }
	  .fileinput-button {
	    white-space: normal !important;
	    height: auto;
	    text-align: center !important;
	    line-height: 22px;
	    padding: 10px 5px !important;
	  }
	  .container-gallery .item {
	    width:100% !important;
	  }
	  .container-offer .item {
	      cursor: pointer;
	      max-width: 300px;
	      margin: 0 auto;
	      float: none;
	  }
	  .container-offer #masonry {
	    text-align: center;
	  }
	  .gallery-tab {
	      background: #7eb8b7;
	      display: block;
	      padding: 10px 25px;
	      color: #ffffff;
	      font-size: 16px;
	      margin-right: 0;
	      cursor: pointer;
	      transition: all linear 0.3s;
	      margin-bottom: 8px;
	  }
	  .result_html {
	    margin-top:20px;
	  }
	.countdown #clock {
	    font-size: 18px;
	    padding-top: 10px;
	    display: block;
	    line-height: 24px;
	}
	.home-background .description-right {
	    position: absolute;
	    top: 50px;
	    right: -10px;
	    z-index: 999;
	    color: #fff;
	}
	.home-background .description-right .offer {
	    right: 50% !important;
	    left: -280px;
	    top: 0px !important;
	}
	.search-hide {
		display: none;
	}
	.top-bar-info {
	    float: none;
	    display: block;
	    right: auto;
	    top: auto;
	    text-align: center;
	    margin-bottom: 10px;
	}
	.container-info h1, .container-gallery h1, .container-offer h1, .container-prizes h1 {
	    position: relative;
	    color: #518785;
	    text-align: center;
	    overflow: hidden;
	    padding: 0 0 3px;
	    font-size: 26px !important;
	    line-height: 36px !important;
	}
	.fileinput-button {
    	width: 100% !important;
	}
	.container-info {
		padding:0;
	}
	input[name="agree1"], input[name="agree2"], input[name="agree3"] {
	    float: left;
	    margin-bottom: 50px;
	    margin-top: 5px;
	}
	.nextyear span {
		padding-left:0;
	}
	.link-eurogo {
		display: none !important;
	}
	.home-background {
		border-top: none;
	}
	.readmore-slider {
		display: none !important;
	}
	.home-background {
	    background-image: url(/image/catalog/backgrounds/santorini_mobile1.jpg);
	    background-position: right;
	}
	.count-box {
		display: inline-block;
	    padding: 4px 6px;
	    margin-right: 6px;
	    min-width: 60px;
	    background: rgba(255,255,255,0.1);
	}
	.description-right-small {
	    z-index: 9 !important;
	    right: auto !important;
	    left: 400px !important;
	    top: 220px !important;
	}
	.like-logo {
		border-left: solid 1px #ddd !important;
	}
	.modal.in .modal-dialog {
    	max-width: 100% !important;
		max-height: 100% !important;
    }
    .uploaded-image {
	    height:auto;
    }
    .photo-input {
	    float:none !important;
	    width:100% !important;
	    margin-bottom:10px;
    }
}

@media (max-width: 524px) {
  /*.home-background .description-right .offer {
    right: 50% !important;
    left: -320px;
    top: 220px !important;

  }*/
  .fa-picture-o {
	  display: none !important;
  }
}

@media (max-width: 600px) {
  .description-right-big {
    right: auto !important;
    left: 220px !important;
    z-index: 99 !important;
    top: 220px !important;
  }
  .description-right-small {
	top: 280px !important;
    left: 390px !important;
  }
}

@media (max-width: 400px) {
  .fileinput-button .fa {
    display:none;
  }
  form[name="create-gallery"] input[type="submit"] {
    width: 100%;
  }
  .show-results a {
	  width:100%;
  }
  input[name="agree1"], input[name="agree2"], input[name="agree3"] {
	    float: left;
	    margin-bottom: 80px;
	    margin-top: 5px;
	}
}

@media (max-width: 340px) {
  /*.home-background .description-right .offer {
    top: 260px !important;

  }
  .home-background .description-right .offer {
    right: 50% !important;
    left: -240px;
    top: 260px !important;

  }*/
	input[name="agree1"], input[name="agree2"], input[name="agree3"] {
	    float: left;
	    margin-bottom: 80px;
	    margin-top: 5px;
	}
}

/* Large devices (desktops, 991.98px and up) */
@media (max-width: 991.98px) {
  #openGalleryPopup {
    padding-right: 0 !important;
    width: 100%;
  }
}

/* Extra large devices (large desktops, 1199.98px and up) */
@media (max-width: 1199.98px) {

}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* UP */
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}
