/*
Theme Name: Neretva
Theme URI: http://underscores.me/
Author: Škraby
Description: Wordpress theme to be used on www.neretvarafting.com
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags:


*/




/* =Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
  text-decoration: none;
}
a img:hover {
  opacity: 0.85;
}


/* =Global
----------------------------------------------- */
html {
	background:url('images/pattern.jpg') repeat top left;
}

body{
	/*must be at least background:none because of bug where browser does not draw background specified in html tag*/
	background: none;
}


@media only screen and (min-width : 600px) {
    body {
		background:url('images/top_bg.jpg') no-repeat top center;
	}
}

body,
button,
input,
select,
textarea {
	color: #3c3c3c;
	font-family: Cambria, Palatino, Times, Times New Roman, serif;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.5;
}


/* Headings 
Google fonts are defined and called in functions.php*/
h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-family: Candara, 'Quattrocento Sans', Trebuchet MS, helvetica, arial, Sans-serif;
	margin: 0.5em 0 0;
	line-height: 1;
	color: #2fb8bb;
	font-weight: bold;
}
h1 {
	font-size:40px; 
	font-size:4.0rem; 
	margin:24px 0 0.8em;
	text-transform: uppercase;
	font-style: italic;
	font-weight: bold;
}
h2 {font-size:32px; font-size:3.2rem;margin: 1.0em 0 0.6em;}
h3 {font-size:24px; font-size:2.4rem;margin: 1.0em 0 0.6em;}
h4 {font-size:18px; font-size:1.8rem;font-weight: bold;}
h5, h6 {font-size:18px; font-size:1.8rem;}

h1.entry-title a {
	text-decoration:none;	
}

h1.entry-title a:hover {
	text-decoration:underline;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1em;
}
ul, ol {
	margin: 0 0 1.5em 1.5em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}



/* Links */
a {
	color: #29b6b9;
	text-decoration: none; 
	border-bottom: 1px dashed;
}
a:visited {
	color: #6EA7A8;
}
a:hover,
a:focus,
a:active {
	color: #176A75;
}

a img {
  border: 0;
  text-decoration: none;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}


/* Buttons
--------------------------------------- */

button, 
a.nice-button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button, 
a.nice-button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button, 
a.nice-button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-block;
	font-family: Candara, 'Quattrocento Sans', Trebuchet MS, helvetica, arial, Sans-serif;
	border: 1px solid #CCC;
	border-color: #6BC5C7 #32BABD #2D7C7E #41ADAF;
	border-radius: 3px;
	background: #29A1A3 url('images/grunge.png');
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer;
	/*-webkit-appearance: button; - aby sel nastylovat obyc odkaz - jinak a.nice-button vypada jako temer defaultni button v OS */
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1;
	padding: .8em 1.6em;
	text-shadow: -1px -1px 0 rgba(4, 99, 100, 0.44);
	color: white;
}
button:hover, 
a.nice-button:hover, #content a.nice-button:hover, /* to #content je kvuli tomu, aby mi styl (barvu) neprepisoval '#content a' dale v kodu  */
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 15px 17px rgba(255, 255, 255, 0.6), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
	-moz-box-shadow:    inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 15px 17px rgba(255, 255, 255, 0.6), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
	box-shadow:         inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 15px 17px rgba(255, 255, 255, 0.6), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
  color: white;
  border: 1px solid #CCC;
	border-color: #6BC5C7 #32BABD #2D7C7E #41ADAF;
}
button:focus, 
a.nice-button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
a.nice-button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color:  #2D7C7E #41ADAF #6BC5C7 #32BABD;
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
	-moz-box-shadow:    inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
	box-shadow:         inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}




/* Header
---------------------------------*/


#masthead {
	padding-bottom: 10px;	
	background: url('images/header_bottom.png') repeat-x bottom center;
	padding-top: 0;
}
@media only screen and (min-width : 600px) {
	#masthead {
		height: 160px;	
		padding-top: 80px;
	}
}
h1.site-title {
	float:left;
	margin:20px 20px 10px 30px;
}
h1.site-title a {
	font-size:24px;
	font-size:2.4rem;
	text-decoration:none;
}
h2.site-description {
	float:left;
	width:260px;
	font-size: 16px;
	font-size:1.6rem;
	margin-left:30px;
}
#masthead img {
	display:block;
}

/* =Logo
----------------------------------------------- */
#logo {
		margin: 20px auto 0;
		display: block;
		max-width: 386px;
}  

@media only screen and (min-width: 600px) {
	#logo {
		margin: 0;
	}  
}

#logo a {
  border: 0;
}

.logo-image {
	display: block;
	height:86px; /* height of replacement image */
    padding:0 0 4px 0;
    margin:0;
    overflow:hidden;
    width: 100%;
 padding: 0px;
}



.logo-image:before {
	content:url('images/blank.gif'); /* transparent gif of dimensions 79x1 */
	background: url('images/logo.png') no-repeat center left;
	background-size: 100%;
	display:block;
    font-size:0;
    line-height:0;
    height: 86px;
	
}



/* =Menu
----------------------------------------------- */

#site-navigation{
	background: #a5a299;
}


@media only screen and (min-width : 600px) {
	#site-navigation{
		width: 100%;
		min-height: 61px;
		background: url('images/menu_fill.jpg') repeat top center;
	}
}

.navigation-main {
	clear: both;
	display: block;
}
.navigation-main ul {
	list-style: none;
	margin: 0;
	padding-left: 0;

}
.navigation-main li {
	margin: 0 1% 0 0;
	display: inline;
	line-height: 60px;
}
.navigation-main a {
	text-decoration: none;
	font-family: Candara, 'Quattrocento Sans', Trebuchet MS, helvetica, arial, Sans-serif;
	font-weight: bold;
	color: #fff;
	text-shadow: 0px 0px 4px #593a0f;
    filter: dropshadow(color=#593a0f, offx=0, offy=0);
    text-transform: uppercase;
    padding: 4px 0.4em;
    text-align: center;
	vertical-align: middle;
	margin-top: 0px;
	display: inline;
  border: 0;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	white-space:nowrap;
}


.navigation-main ul ul {
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    0 3px 3px rgba(0, 0, 0, 0.2);
	box-shadow:         0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;
}
.navigation-main ul ul ul {
	left: 100%;
	top: 0;
}
.navigation-main ul ul a {
	width: 200px;
}
.navigation-main ul ul li {
}
.navigation-main li:hover > a {
}
.navigation-main ul ul :hover > a {
}
.navigation-main ul ul a:hover {
}
.navigation-main ul li:hover > ul {
	display: block;
}

.navigation-main li.current_page_item a,
.navigation-main li.current-menu-item a {
	background: #2fb8bb url('images/grunge.png');
}

.navigation-main a:hover{
	background: rgba(175,172,163,0.34);
}

/* Small menu */
.menu-toggle,
.main-small-navigation ul li a,
.widget_nav_menu ul li a{
	display: none;
	cursor: pointer;
	font-family: Candara, 'Quattrocento Sans', Trebuchet MS, helvetica, arial, Sans-serif;
	padding: 0.3em 0.5em;
	font-size: 18px;
	font-size: 1.8rem;
	background: #2fb8bb url('images/grunge.png');
	float: left;
	color: #fff;
	font-weight: bold;
	border: rgb(28, 209, 213) 1px solid;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	text-transform: uppercase;
	text-shadow: 0px 0px 4px #593a0f;
    filter: dropshadow(color=#593a0f, offx=0, offy=0);
    vertical-align: top;
    margin: 10px 0;
    box-shadow: 0px 0px 10px rgb(97, 114, 114);
}

.menu-toggle {
	position: absolute;
	top: 40px;
	right: 10px;
}

.widget_nav_menu ul li a{
	 margin: 5px 0;
	 font-size: 16px;
	 font-size: 1.6rem;

}

.menu-toggle:before{
	content: url('images/menu_toggle.gif');
	margin-right: 10px;
}

.menu-toggle.toggled-on, .menu-toggle:hover, .menu-toggle:active  {
	background-color: rgb(58, 221, 224);
}

.main-small-navigation ul,
.widget_nav_menu ul {
	display: none;
	clear: both;
	list-style: none;
	margin: 0;
}

.widget_nav_menu ul{
	display: block;
}

.main-small-navigation ul:after{
	content:"***";
	text-align: center;
	display: block;
	font-weight: bold;
} 

.main-small-navigation ul li a,
.widget_nav_menu ul li a{
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 10px;
	padding: 0.3em 0;
	box-shadow: none;
	text-decoration: none; 
	background: rgb(105, 120, 121) url('images/grunge.png');
	border: 0;
}

.main-small-navigation ul li a:hover,
.main-small-navigation ul li a:active,
.widget_nav_menu ul li a:hover,
.widget_nav_menu ul li a:active {
	background: #808E8F url('images/grunge.png');
}


@media only screen and (max-width: 600px) {
	.menu-toggle,
	.main-small-navigation ul.nav-menu.toggled-on {
		display: block;
	}

	.navigation-main ul {
		display: none;
	}
}

/* Certificate of Excellence */

#CDSWIDCOE {
    margin: 0 auto 2rem auto !important;
}

/* =Content
----------------------------------------------- */

#top-banner{
	margin: 0;
	background: #a5a299;
	padding: 0  0 20px 0;
	color: #fff;
	text-shadow: -1px -1px 0 #838383;
}
@media only screen and (min-width: 600px){
	#top-banner{
		background: url('images/banner_bg.jpg') repeat top center;
	}
}

#top-banner *{
	margin-bottom: 0;
}

#top-banner a {
  color: #cee;
}
#top-banner a:hover {
  color: #fff;
}


#top-banner h1{
	margin: 0 0 20px 0;
	padding-top: 20px;
	color: #3c3c3c;
	text-shadow: 1px 1px 0px rgba(239, 239, 239, 0.7);
    /*filter: dropshadow(color=#efefef, offx=1, offy=1);*/
}

#top-banner ul{
	margin-left: 1.5em;
}

#top-banner ul li{
	margin-top: 10px;
	font-size: 20px;
	font-size: 2.0rem;
	list-style: none;
}

#top-banner ul li:before{
    /* For a round bullet */
      content:'\2022';
      /* For a square bullet */
      /*content:'\25A0';*/
      display: block;
      position: relative;
      max-width: 0px;
      max-height: 0px;
      left: -0.6em;
      top: -0.45em;
      color: #383838;
      font-size: 200%;
      text-shadow: 1px 1px 0px rgba(239, 239, 239, 0.7);
}

#top-banner-wrapper {
	position: relative;
	background: url('images/topbox-image.jpg') no-repeat bottom center;
	padding-bottom: 360px;
}

#top-banner .fancybox-video {
	position: absolute;
	top: auto;
	bottom: 120px;
	left: 50%;
	margin-left: -40px;
	border-bottom: 0;
	opacity: .6;
}

#top-banner .fancybox-video:hover {
	opacity: 1;
}

@media only screen and (min-width : 768px) {
	#top-banner-wrapper h1{
		width: 68%;
	}
	#top-banner-wrapper ul{
		width: 45%;
	}
	
	#top-banner-wrapper ul > li > ul {
		width: 100%;
	}

	#top-banner-wrapper{
		background: url('images/topbox-image.jpg') no-repeat bottom right;
		padding-bottom: 0;
		/*background-size: 55% auto;*/
	}
	
	#top-banner .fancybox-video {
		bottom: auto;
		left: auto;
		top: 50%;
		margin-left: auto;
		margin-top: -40px;
		right: 150px;
	}
}	


.color-ol{
	counter-reset: item;
	font-size: 20px;
	font-size: 2.0rem;
}

.color-ol li{        
	display: block;    
	list-style-type: decimal;
    list-style-position: inside;
    margin-left: -1.4em;
    margin-bottom: 0.5em;

}

.color-ol li:before{
	content: counter(item);
	counter-increment: item;
	background: #2FB8BB;
	color: #fff;
	margin: 1em 0.5em 0 0;
	padding: 0.2em 0.5em;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
}

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* Share elements at the end of the page */

#content .addthis_wrapper h4 {
	margin: 0.3em 0;
}
#content .fb-like-box {
	width: 100%;
	margin-bottom: 2em;
}

#content .fb-like-box > span {
	width: 100% !important;
}
@media screen and (min-width: 550px) {
	#content .addthis_wrapper {
		float: left;
		width: 50%;
	}
	#content .addthis_toolbox {
		margin: 2em auto;
		width: 270px;
	}

	#content .fb-like-box {
		width: 50%;
	}

}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}


/* 6 column gallery to 3 column on mobile) */
@media screen and (max-width: 600px) {
	.site-content .gallery-columns-6 .gallery-item {
		width: 32% !important;
	}
}


/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .next {
	float: right;
	text-align: right;
	width: 50%;
}



/* Layout 
--------------------------------------*/
.wrapper{
	width: 96%;
	margin: 0 3%;
}

@media only screen and (min-width : 960px){
	.wrapper{
		margin:0 auto;
		width:1200px;
	}
}

#main {	
	background: url('images/content_top.png') repeat-x top center;
	z-index:1;
	padding-top: 30px;
}

#content {
	width:100%;
	position: relative;
}

#content a:hover{
	color: #29B6B9;
	border-bottom: 1px solid;
}

#content a:active,
#content a:focus{
	border-bottom: 1px solid;
}

#primary, #secondary{
	width: 100%;
	float: none;
}

#secondary {
	padding: 20px 0;
	font-size:14px;
	font-size: 1.4rem;
}

@media only screen and (min-width: 768px){
	#primary {
		float: left;
		width: 65.95744%;
	}
	#secondary{
		float: right;
		overflow: hidden;
		width: 31.914893%;
	}
}

#secondary .widget{
	padding: 3.333333%;
	background: rgba(164, 161, 152, 0.1) url('images/box_top.png') repeat-x top left;
}

#secondary .widget h3 {
  margin-top: 0.5em;
}


.post-edit-link {
	position: absolute;
	top: 30px;
	right: 30px;
	background: rgb(160, 12, 12);
	color: #fff !important;
	padding: 0 10px;
	text-decoration: none;
	font-size: 13px;
}

.packages {
	background: rgba(150, 193, 194, 0.13);
	margin: -6px 0 20px 0;
	padding: 20px;
	text-shadow: 1px 1px 0 #fff;
}

.packages h2 {
  margin-top: 0.5em;
}

.packages ol li:before{
	text-shadow: none;
}


.map {
  width: 100%;
  height: 150px;
}
@media (min-height: 300px) { .map {height: 220px;} }
@media (min-height: 400px) { .map {height: 300px;} }
@media (min-height: 500px) { .map {height: 400px;} }
@media (min-height: 600px) { .map {height: 470px;} }



/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .submit {
	display: none;
}


/* =Footer
----------------------------------------------- */

.site-footer {
	background: url('images/header_bottom.png') repeat-x center top;
	padding-top: 10px;
	color: #fff;
}

.site-footer div:first-child{
	background: #a5a299;
	padding-top: 5px;
}

@media only screen and (min-width: 600px){
	.site-footer div:first-child{
		background: url('images/banner_bg.jpg') repeat center top;
	}
}

.widget_nav_menu{

}

.site-footer h3 {
	color: #5A4B35;
}

.site-footer a {
	color: #cee;
}
.site-footer a:visited {
	color: #BEE5E6;
}
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
	color: #fff;
}

.site-footer ul {
	list-style: none;
	margin:0; 
  padding:0;
}

.site-footer ul.normal {
  list-style: disc;
  margin: 0.5em 0;
  padding-left: 1em;
}

.site-footer .widget-area {
	float:left;
	width:100%;
	margin-bottom: 20px;
	display: block;
}

@media only screen and (min-width: 600px) {
   .site-footer .widget-area {
		width:40%;
		margin-right:30px;
	}
}

.site-info { /*copyright info */
	font-size: 16px;
	font-size: 1.6rem;
	text-align: right;
	display: block;
	padding: 1.5em 0;
}



@media only screen and (min-width: 600px) {
   #third.widget-area {
		float: right;
		margin-right: 0;
	}
}

/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .navigation-paging, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/* =Form
----------------------------------------------- */
.wpcf7{
	text-align: left;
}

.wpcf7-form {
	background: rgba(164, 161, 152, 0.1);
	border: 1px;
	-webkit-border-radius:16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	padding: 10px 16px;
	margin-bottom: 30px;
}

.wpcf7-form h2 {
  margin-top: 0.5em;
}

.wpcf7 input,
.wpcf7 textarea {
	-webkit-border-radius:6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	width: 85%;
}

.wpcf7 input[type="text"]{
	height: 1.5em;
}


.wpcf7 input[type="submit"]{
	width: auto;
}

.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] {
	width: 1em;
}

.wpcf7 p{
	text-align: left;
	margin: 1em 0 0.5em;
}

.wpcf7 label{
	/*display: block;*/
}

.wpcf7 .required{
	color: #DB1818;
	font-size: 14px;
	font-size: 1.4rem;
	margin-left: 1em;
}

.wpcf7 .two-column-input{

}

@media only screen and (min-width: 400px){
	.wpcf7 .two-column-input{
		width: 45.5%;
		display: inline-block;
        vertical-align: middle;
	}
}

.ui-datepicker{
	font-size: 16px;
	font-size: 1.6rem;
}

span.wpcf7-checkbox span.wpcf7-list-item { display: block; }
span.wpcf7-radio span.wpcf7-list-item { display: block; }


/* =Language Switcher
----------------------------------------------- */

.site-info,
.top-polylang-wrapper {
	position: relative;
}


.top-polylang-switcher {
	position: absolute;
	right: 0;
	top: .5rem;
}

@media only screen and (min-width: 440px){
	.top-polylang-switcher{
		top: 1rem;
	}
}

.top-polylang-switcher li {
	display: inline-block;
	padding: 0 1rem;
	border-radius: 15px;
}

@media only screen and (min-width: 440px){
	.top-polylang-switcher li {
		background-color: #2fb8bb;
		display: inline-block;
		padding: 0 1rem;
		border-radius: 15px;
	}
}

.top-polylang-switcher li a {
	border-bottom: none;
	text-transform: uppercase;
	text-decoration: none;
	font-family: Candara, 'Quattrocento Sans', Trebuchet MS, helvetica, arial, Sans-serif;
	font-weight: bold;	
}

@media only screen and (min-width: 440px){
	
	.top-polylang-switcher li {
		background-color: #fff;
	}
		
	.top-polylang-switcher li a{
		border-bottom: none;
		text-transform: uppercase;
		text-decoration: none;
		font-family: Candara, 'Quattrocento Sans', Trebuchet MS, helvetica, arial, Sans-serif;
		font-weight: bold;
		color: #2fb8bb;
	}
}

@media only screen and (min-width: 440px){
	.top-polylang-switcher-footer {
		position: absolute;
		left: 1rem;
	}
}

.top-polylang-switcher-footer li {
	display: inline-block;
	padding: 1rem;
	position: relative;
}

@media only screen and (min-width: 440px){
	.top-polylang-switcher-footer li:first-child {
		padding-left: 0;
	}
}

/*
.top-polylang-switcher-footer li:first-child::after {
	position: absolute;
	content: '|';
	right: -.5rem;	
}
*/
