/* ------------------------------------------------------------ *\
	Responsive
\* ------------------------------------------------------------ */

/*  Butto Menu  */

.btn-menu { display: none; vertical-align: middle; text-decoration: none; width: 28px; height: 23px; transform: rotate(0deg); transition: all .4s; z-index: 250; position: absolute; top: 50%; right: 15px; margin-top: -10px; }
.btn-menu span { display: block; position: absolute; height: 3px; width: 100%; background: #5c5c5c; opacity: 1; left: 0; transform: rotate(0deg); transition: .4s ease-in-out; font-size: 0; line-height: 0; text-indent: -4004px; }
.btn-menu span:nth-child(1) { top: 0px; }
.btn-menu span:nth-child(2) { top: 8px; }
.btn-menu span:nth-child(3) { top: 16px; }

.btn-menu.open span { background: #5c5c5c; }
.btn-menu.open span:nth-child(1) { top: 10px; transform: rotate(135deg); }
.btn-menu.open span:nth-child(2) { opacity: 0; left: -60px; }
.btn-menu.open span:nth-child(3) { top: 10px; transform: rotate(-135deg); }

@media(max-width: 1024px){
	body { min-width: 320px; }
	body.no-scroll { position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }

	.wrapper { min-width: 100%; min-height: 100vh; overflow: hidden; }

	.shell { width: 100%; max-width: 1000px; padding: 0 10px; }

	.intro { width: 100%; height: auto; }
	.intro-holder { z-index: 100; width: auto; height: 600px; margin: 0 auto; overflow: hidden; }
	.intro .shell { width: auto; }
	.intro .curve { width: 100%; height: 300px; 
	-webkit-background-size: 100% 100%; 
	        background-size: 100% 100%;  
    }

    .inner .intro { height: 850px; }

	#main { padding: 0 10px; }
	#main .shell { width: auto; background-image: none; background: #fff; border: 3px solid  rgba(0, 0, 0, 0.2); padding: 0 40px; }

	.main-t { display: none; }

	#header { height: auto; position: relative; z-index: 200; }
	#header .shell { padding: 20px 10px 0; }

	.content { float: none; display: block; width: 100%; }

	.sidebar { float: none; display: block; width: 100%; padding: 0; }

	.main-t { width: 100%; }

	h1#logo { left: 50%; margin-left: -82px; }

	.information { float: left; margin-left: 40px; }

	form#contact-form { width: 100%; }

	form#contact-form textarea { width: 98.5%; }
	form#contact-form input { width: 99%; }

	form#contact-form .field-col .field-row { width: 48%; }
	form#contact-form .field-col .field-row input { width: 98%; }

	h3.title1,
	h3.title2,
	h3.title3 { background: url('http://marinavarna.com/bg/css/images/sidebar-title.png') repeat-x 0 bottom; }

	#navigation ul { float: none; margin-top: 0; display: flex; justify-content: space-between; padding: 0 20px; }
	#navigation ul li { float: none; display: inline-block; margin-right: 0; }

	#main .main-holder { z-index: 150; margin-top: -300px; }

	.flexslider .slides { margin: 0 -446px; }

	#flickr .flexslider { width: 100%; height: auto; padding-bottom: 50px; }
	#flickr .flexslider li { float: none !important; margin-right: 0 !important; height: auto; }

	#flickr .slides { width: 100%; display: block; margin: 0; height: auto; }
	#flickr .slides a { margin-right: 2%; width: 31%; height: 180px; }
	#flickr .slides a:nth-child(3n+3) { margin-right: 0; }
	
	#flickr .flex-control-nav { position: static; margin-top: 0; }

	.footer { padding: 0 20px 20px; }
	.footer .shell { width: auto; }

	h2.coordinates { bottom: 280px; }

	.footer { position: relative; z-index: 150; }

	#navigation.en-navigation ul { padding-left: 0;  }
}

@media(max-width: 768px){
	.btn-menu { display: inline-block; }

	#header { position: relative; padding: 20px 0; z-index: 200; }
	#header .shell { width: auto; position: static; }

	#navigation { position: fixed; top: 0; left: 0; z-index: 210; width: 100%; background: #fff; height: 100vh; display: flex; flex-direction:column; justify-content: center; align-items: center; text-align: center; visibility: hidden; opacity: 0; 
	-webkit-transform: translateX(-100%); 
	    -ms-transform: translateX(-100%); 
	     -o-transform: translateX(-100%); 
	        transform: translateX(-100%); 

	        -webkit-transition: all .3s; 
	             -o-transition: all .3s; 
	                transition: all .3s; 
    }
	#navigation ul { display: inline-block; float: none; padding: 0; height: auto; }
	#navigation li { display: block; width: 100%; float: none; }
	#navigation ul li a { float: none; display: inline-block; }
	#navigation ul li.middle { margin-left: 0; }

	#navigation.visible { visibility: visible; opacity: 1; 
		-webkit-transform: translateX(0); 
		    -ms-transform: translateX(0); 
		     -o-transform: translateX(0); 
		        transform: translateX(0); 
	}



	h2.coordinates { font-size: 20px; }

	h2.page-title { font-size: 30px; }

	.post { overflow: hidden; }
	.post .text { float: none; width: 100%; display: block; }
	.post .image { float: none; width: 100%; display: block; margin-bottom: 10px; }

	.services { width: 100%; }

	.services .box { float: none; display: block; width: auto; }

	.services .box { position: relative; padding-left: 40px; min-height: 31px; }
	.services .box .icon { float: none; display: inline-block; position: absolute; top: 0; left: 0; }
	.services .box .text { float: none; display: inline-block; width: auto; }

	.gallery-intro a { display: inline-block; }
	.gallery-intro a img { display: block; float: none; width: 196px; margin-bottom: 10px; }

	#flickr .slides a { margin-right: 3%; width: 47%; height: 250px; }
	#flickr .slides a:nth-child(2n+2) { margin-right: 0; }
	#flickr .slides a:nth-child(3n+3) { margin-right: 3%; }
	#flickr .slides a:last-child { margin-right: 0; }

	.entry img.img-left { float: none; display: block; width: 98%; margin-bottom: 0; margin-right: 0; }

	table td { width: auto !important; }
	table tr td { font-size: 13px; padding: 5px 0 5px 10px; }
	table tr td.second { font-size: 11px; }

	.map { display: block; margin: 0 auto 30px; float: none; }

	.information { float: none; display: block; width: 100%; margin-left: 0; }

	.footer .left { float: none; display: block; text-align: center; }
	.footer .right { float: none; display: block; text-align: center; }

	.footer .bottom .right ul li { float: none; display: inline-block; }

	.footer p { display: block; }
	.footer .facebook { display: inline-block; }

	#main .shell { padding-bottom: 80px !important; }
	.footer .shell { margin-top: -80px; }
}

@media(max-width: 630px){
	#flickr .slides a { margin-right: 0; width: auto; height: auto; float: none; display: block; }
	#flickr .slides a:nth-child(3n+3) { margin-right: 0; }
	#flickr .slides a img { position: static; width: 100%; }

	h2.page-title { font-size: 20px; }

}

@media(max-width: 480px){
	#main .shell { padding: 0 10px; }
	.intro-holder { z-index: 100; width: auto; height: 400px; margin: 0 auto; }
	.intro .shell { width: auto; }
	.intro .curve { width: 100%; height: 100px; 
	-webkit-background-size: 100% 100%; 
	        background-size: 100% 100%;  
    }

    .inner .intro { height: auto; }
    .inner .intro-holder { height: 400px; overflow: hidden; }

    .inner #main .main-holder { margin-top: -200px; }

    #main .main-holder { z-index: 150; margin-top: -200px; }

	a.lang { top: 8px; right: 5px; }

	.gallery-intro a { display: block; }
	.gallery-intro a img { width: 100%; }

	#main .shell { padding-bottom: 100px !important; }

	form#contact-form .field-col { width: 100%; }
	form#contact-form .field-col .field-row { width: 100%; float: none; display: block; }
	form#contact-form .field-col .field-row input { width: 98.3%; }
	form#contact-form input { width: 98%; }

	form#contact-form textarea { width: 97%; }

	.footer .shell { margin-top: -100px; }
	.footer p span { display: block; }

	#flickr .flex-control-nav li a { font-size: 11px; }
}
