/*   
Theme Name: Nardis
Theme URI: http://nardis-bg.com
Description: Theme for Nardis EOOD
Author: talking about this
Author URI: http://talkingaboutthis.eu
Template:       talking-about-blank  
Version: 0.9
*/

/* Fonts */
@import url(https://fonts.googleapis.com/css?family=Fira+Sans:400,700|PT+Sans+Narrow:400,700&subset=latin,cyrillic);
/*@import url(http://code.cdn.mozilla.net/fonts/fira.css);*/

/* Body */

html,body { background: white; }
body {
	font-family: 'Fira Sans', sans-serif;
	font-size: 15px;
	line-height: 24px;
}

/* Colors */

.white { background: white; color: #444; }
.whitetext { color: white !important; }

.black { background: black; }
.blackop { 	background-color: rgba(0,0,0,0.6); 	color: white; }
.blacktext { color: black; }

.darkgray { background: #444; color: white; }

.lightgray { background: #eee; color: white; }

.lightblue { background: #E4ECF7; color: #444; }

.purple { background: #A22B7C; color: white; }
.purpleop { background: #A22B7C; background: rgba(162,43,124,0.9); color: white; }
.purpletext, h3, h4 { color: #A22B7C; }

.pink {	background: #F4EDF6; }

.lightpurple { background: #9F9AA4; }
.lightorange { background: #EAD7D1; }
.darkblue { background: #383F51; }

/* Links */

a {	color: #A22B7C;
-webkit-transition: all 0.2s ease;
   -moz-transition: all 0.2s ease;
     -o-transition: all 0.2s ease;
		transition: all 0.2s ease;
}
a:hover { color: black; }
.purple a { color: black; }

/* Fonts */
h1 {
	font-family: 'PT Sans Narrow';
	font-weight: 700;
	font-style: normal;
	font-size: 60px;
	line-height: 60px;
	margin-left: -3px;
}
h2 {
	font-family: 'PT Sans Narrow';
	font-weight: 700;
	font-style: normal;
	font-size: 40px;
	line-height: 48px;
	margin-left: -3px;
}
.home_slide h2 { font-size: 50px; line-height: 50px; }



/* forms */

input[type="text"], input[type="email"] {
	height: 48px;
	padding: 5px;
}
textarea{
	height: 120px;
	padding: 5px;
}
input[type="submit"], button, .button, .more-link {
	cursor: pointer;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	padding: 2px 40px;
	height: 48px;
	font-size: 18px;
	font-weight: 400;
	line-height: 40px;
	text-transform: uppercase;
	border-radius: 4px;
	border: 2px solid #A22B7C;
	background: transparent;
	color: #A22B7C;
}
input[type="submit"]:hover, button:hover, .button:hover, .more-link:hover, select:hover {
	background: #A22B7C;
	color: white;
	text-decoration: none;
}
select {
	font-family: 'PT Sans Narrow';
	padding: 0 20px; 
	cursor: pointer;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	height: 48px;
	font-size: 18px;
	font-weight: 700;
	line-height: 44px;
	border-radius: 4px;
	border: 2px solid #A22B7C;
	background: white;
	color: #A22B7C;
	-webkit-appearance: none;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%;
	background: white;
	border-radius: 4px;
	border: 1px solid #eee;
}
/* Animations */

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.fadeIn {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/* Header */

#header {
	height: 70px;
	position: fixed;
	z-index: 1000;
	top:0;
	left: 0;
	-webkit-transition: all 0.2s ease;
	   -moz-transition: all 0.2s ease;
	     -o-transition: all 0.2s ease;
			transition: all 0.2s ease;
}

.logo { }
.logo img { 
	-webkit-transition: all 0.2s ease;
	   -moz-transition: all 0.2s ease;
	     -o-transition: all 0.2s ease;
			transition: all 0.2s ease;	
}
.logo h1, .logo h3{ margin-bottom: 0; }
.logo img.big { padding: 5px 0; }
.logo img.small { display: none; }

#header nav {
}

.menu-header {
	height: 70px;
	padding: 0;
	-webkit-transition: all 0.2s ease;
	   -moz-transition: all 0.2s ease;
	     -o-transition: all 0.2s ease;
			transition: all 0.2s ease;
	
}
.menu-header ul { height: 0; }
.menu-header ul li { height: 0; }
.menu-header ul li a { display: block; height: 0; overflow: hidden; }
.menu-header ul li ul {
	list-style: none;
	height: 70px;
	overflow: hidden;
	text-align: right;
	-webkit-transition: all 0.2s ease;
	   -moz-transition: all 0.2s ease;
	     -o-transition: all 0.2s ease;
			transition: all 0.2s ease;		
}
.menu-header ul li ul li {
	display: inline-block;
	list-style: none;
	height: 70px;
	padding: 0;
	margin: 0;
	position: relative;
	-webkit-transition: all 0.2s ease;
	   -moz-transition: all 0.2s ease;
	     -o-transition: all 0.2s ease;
			transition: all 0.2s ease;	
}
.menu-header ul li a {
	position: relative;
	font-family: 'PT Sans Narrow';
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	display: block;
	color: #333;
	text-decoration: none;
	text-transform: uppercase;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, white 50%, #eeeeee 50%);
    transition: background-position 0.6s;

}
.menu-header ul li ul li a { padding: 25px 12px; height: 20px; }
.menu-header ul li ul li a:hover {
	background-position: 0 -100%;
}

@media only screen and (max-width: 768px) {
	#header { height: 60px;	}
	#header .three-per.columns { width: 22.0%; }
	#header .nine-per.columns { width: 78.0%; margin-left: 0;}
	.logo img.big { display: none; }
	.logo img.small { display: block; }
	.menu-header { height: 60px; }
	.menu-header ul { height: 60px; }
	.menu-header ul li { height: 60px; float: right; }
	.menu-header ul li a { height: 20px; padding: 20px 5px; float: right; }
	.menu-header ul li ul { 
		display: none; 
		position: absolute;
		top: 50px;
		right: 0;
		width: 100%;
		padding-top: 10px;
		height: auto;
		background: white;
	}
	.menu-header ul li ul li { 
		width: 100%;
		height: 40px;
		text-align: center;
	}
	.menu-header ul li ul li a {
		padding: 10px; width: 100%; height: 40px; box-sizing: border-box; text-align: center;
	} 
	.menu-header ul li ul li a:hover {
		background-position: 0 0;
		background: #eeeeee;
		
	}
}


a.language {
	float: right; height: 70px;  padding: 0 12px; margin-left: 3px;
	font-family: 'PT Sans Narrow'; font-size: 15px; font-weight: 700; line-height: 70px; text-transform: uppercase;
	color: #333;
	text-decoration: none;
	background-size: 100% 200%;
	background-image: linear-gradient(to bottom, white 50%, #eeeeee 50%);
	transition: background-position 0.6s;
}
a.language:hover { 	background-position: 0 -100%; }
@media only screen and (max-width: 768px) { 
	a.language { height: 60px; line-height: 60px; }
}

/* Home */

.home_slide { position: relative; height: auto; padding: 60px 0; box-sizing: border-box; }

#slide1 { padding: 0; margin-top: 70px; }
#slide1 .header-image { width: 100%; height: auto; }
#slide1 .header-image img { width: 100%; height: auto; vertical-align: top; }
#slide2 { }
#slide2 h2 { margin-top: 140px; }
#slide2 .one-third {  }
#slide2 .one-third a { color: #444; }
#slide2 .one-third h6 { color: #A22B7C; font-size: 18px; font-weight: bold; }
#slide3 { }
#slide4 { padding: 0; }
#slide4 .wrapper { }
#slide4 .wrapper h2, #slide4 .wrapper p { display: inline-block; margin: 0 20px 0 0; }
#slide4 .wrapper a { display: inline-block; }
#slide4 .shops-nav { height: 110px; box-sizing: border-box; padding: 30px; }
#slide5 { white-space: nowrap; padding: 0; min-height: 550px; display: table; }
#slide5 .image { background-repeat: no-repeat; background-position: center center; background-size: cover;  }
#slide5 .wrapper { padding: 40px; }
#slide6 { font-size: 18px; }

.online { font-family: 'PT Sans Narrow'; font-size: 18px; font-weight: 700; line-height: 24px; text-align: right; }
.online .button { margin-left: 10px; }
.city_select { display: inline-block;  vertical-align: top; height: 50px; line-height: 20px; margin-left: 20px;}
.city_select select { height:50px; font-family: 'PT Sans Narrow'; font-size: 18px; line-height: 26px; font-weight: 400;  text-transform: uppercase;}

.wrap50per { display: table-cell; margin:0; width: 50%; box-sizing: border-box; white-space: normal;  vertical-align: middle; }

#mapthem { width: 100%; margin: 0; height: 500px; }
#posts #mapthem { height: auto; box-sizing: border-box; position: fixed !important; top:180px ; bottom:0; left:0 ; z-index: 99;}

@media only screen and (max-width: 900px) {
	#slide4 .shops-nav { height: auto; padding: 20px; }
	#slide4 .shops-nav h2 { display: block; width: 100%; margin: 0 0 10px 0; }
	.city_select { height: 48px; margin-left: 0; }
	#posts #mapthem { top: 216px; }
}
@media only screen and (max-width: 768px) {
	#slide1 { margin-top: 60px; }
	.home_slide { padding: 40px 0;}
	#slide2 h2 { margin-top: 20px; text-align: center; }
	#slide3 .one-third, #slide3 h2 { text-align: center; }
	.city_select { display: block; width: 100%; height: 50px; line-height:30px; margin-left: 0; }
	.online { margin: 10px 0; text-align: left; float: none; }
	.online .button { margin-left: 0; margin-right: 10px; float: left; }
	.wrap50per { width: 100%; display: block; min-height: 300px;   }
	#slide5 .image { background-size: 768px; }
	#posts #mapthem { height: 600px; box-sizing: border-box; position: relative !important; top:0;}
}
@media only screen and (max-width: 549px) {
	.home_slide h2 {
		font-size: 40px;
		line-height: 40px;
	}
}
@media only screen and (max-width: 700px) {

}
/* content */

#posts {
	margin-top: 70px;
	min-height: 500px;
}
@media only screen and (max-width: 768px) {
	#posts { margin-top: 60px; }
}
#posts article {
	padding: 40px 0;	
	color: black;
}

#posts .thumb {
	width: 100%;
	border-top: 1px solid #eee;
	background-color: black;
	background-repeat: no-repeat;
	background-position: center center; background-origin: border-box; background-size: cover; 
}

.post-thumb {
	margin: 0 0 22px 0;
	max-height: 300px;
	overflow: hidden;
}

#posts hr {
	width: 600px;
	height: 2px;
	border-top: 1px solid black;
	margin: 0 auto 0 auto;
}

#posts .postlink {
	color: white;
}

#posts .postlink:hover {
	color: black;
}

@media only screen and (max-width: 768px) {

}

/* Footer */

#footer { min-height: 200px; padding: 40px 0;  }
#footer a { color: white; }
.menu-footer { font-family: 'PT Sans Narrow',sans-serif; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.menu-footer ul { }
.menu-footer li { display: inline-block; padding: 0 10px; }