/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
   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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*below my code*/

html {
 	font-size: 16px;
 	font-family: Verdana, Geneva, sans-serif;
 	height: 100%;
}

body {
 	color: #191919;	
 	height: 100%;
}

strong {
	font-weight: bold;
}

.clearfix {
	content: '';
	display: block;
	clear: both;
}

header p {
	text-indent: 0;
}

p {
	line-height: 1.4;
	text-align: left;
}

.column-adjusted {
	padding: 0;
	margin: 0;
}

.icon_home > .fa {
	font-size: 1.2rem;
}

.link_home {
	display: none;
}

.nav,
.navbar-brand {
	text-transform: uppercase;
	font-size: 0.8rem;
}

.navbar-brand {
	font-size: 0.9rem
}

.nav > li > a {
	height: 3.125rem;
}

.nav > li > a:hover,
.nav > li > a:focus {
	background: #fee266;
	outline: 2px solid #fff;
	outline-offset: -2px;
}

.navbar {
	background-color: #fee266;
	margin-bottom: 0;
	z-index: 10;
	position: sticky;
	top: 0;
}

.navbar a {
	color: #191919;
}

.navbar-right {
	margin-right: 1.25rem;
}

.navbar-header {
	margin-left: 1.25rem;
}

.navbar-toggle {
	background-color: #DCDCDC;
	margin-right: 1.25rem;
}

.phone {
	font-size: 1.2em;
}

.icon-bar {
	background-color: #000;
}

.intro {
	height: 48.75rem;
	background: url(../img/dylan-gillis-people.jpg);
	background-size: cover;
	background-attachment: fixed;
	position: relative;
}

.intro_wrapper {
	background: rgba(0, 0, 0, 0.5);
	height: 100%;
}

.intro__buttons__container {
	padding: 14rem 5rem 1rem 2rem;
	width: 30%;
	float: left;
}

.intro__button {
	background: rgba(0,0,0,0.5);
	outline: none;
	border: 1px solid #fff;
	display: inline-block;
	height: 3.75rem;
	width: 15.625rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	margin: 0.8rem;
	line-height: 3.5;
	text-align: center;
	transition: 0.4s;
	float: right;
}

.intro__button:nth-of-type(2) {
	clear: both;
}

.intro__button:hover {
	background: rgba(0,0,0,0.7);
}

.intro__button:hover,
.intro__button:focus,
.intro__button:active {
	text-decoration: none;
	color: #fff;
}

.intro__header {
	font-family: 'Merriweather', serif;
	font-weight: bold;
	color: #fee266;
	width: 70%;
	padding: 7rem 2rem 8rem;
	text-align: left;
	float: left;
}

.title_main {
	font-size: 8em
}

.intro__header__subtitle {
	margin-top: 4rem;
	font-size: 5em;
	text-align: left;
	text-indent: 0;
}

.intro__arrow {
	display: none;
}

#origins,
#overview,
#schedule,
#about_me,
#habits,
.article__content,
.panel-group {
	width: 62.5rem;
	margin: 1rem auto;
	max-width: 80%;
}

.origins__heading,
.overview__heading,
.gallery__heading,
.articles__heading,
.contact__heading {
	font-size: 2rem;
	font-family: 'Merriweather', serif;
	font-weight: bold;
	padding: 2rem 1rem 3rem;
	text-align: center;
}

.gallery__heading {
	padding-bottom: 3.75rem;
}

.contact__heading {
	padding-bottom: 4.5rem;
}

.link_overview,
.list__hostels__link {
	color: #23527c;
	font-weight: bold;
	font-size: 1rem;
	text-align: center;
	padding: 0.4rem;
}

.link_overview:hover {
	background: rgba(65,66,84,0.1);
}

#price p {
	line-height: 1.4;
	margin-bottom: 2em;
}

#price p:last-child {
	margin-bottom: 0;
}

.price-right-column {
	font-size: 1.2rem;
	display: flex;
    flex-direction: column;
    justify-content: center;
	padding: 2rem;
}

.price-right-column div {
	display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1200px) {
	.price-right-column {
		min-height: 480px;
	}
}

.articles__item {
	display: block;
	margin: 0.5rem;
	float: left;
	font-size: 1.5rem;
	text-align: center;
	line-height: 1.2;
	position: relative;
}

.image_decoration,
.image_decoration_middle-bottom,
.image_decoration_middle-up {	
	height: 30rem;	
	margin: 3rem 0 1rem;	
}

.image_decoration_middle-bottom {
	background: url(../img/valentina-sotnikova-mat.jpg);
	background-size: cover;
	background-position: center;
}

.contact__details {
	font-size: 1.5rem;
	margin: 0 auto;
	width: 13.5rem;
}

@media (min-width: 1200px) {
	.contact__details {
		text-align: center;
		font-size: 1.5rem;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
}

.contact__details p {
	font-style: italic;
	text-indent: 0;
}

.contact-form__wrapper {
	box-shadow: 0 0 2px 0 #A1A1A1;
	max-width: auto;	
	position: relative;
	background: url(../img/sweetyoga-justine-cat.jpg);
	background-size: cover;	
	background-position: bottom;
	height: 30rem; 	
}

#about_me p {
	margin-bottom: 3rem;
}

.about_me_img {
	box-shadow: 0 0 2px 0 #A1A1A1;
	max-width: auto;	
	position: relative;
	background: url(../img/ja.jpg);
	background-size: cover;	
	background-position: bottom;
	height: 30rem;
}

.article_individual__heading {
	font-size: 4rem;
	text-align: center;
	padding: 4rem 0 2rem;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.panel-group .panel {
	box-shadow: none;
	border-radius: 0;
	border: 0;
	border-bottom: 1px solid rgba(179, 120, 114, 0.2); ;
}

.panel-heading {
	padding: 0;
}

.panel-group .panel + .panel {
	margin-top: 0;
}
.panel-group .panel-title__link {
	padding: 2rem;
	background-color: rgba(179, 120, 114, 0.1);
	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 0;
	height: 5.25rem;
	transition: background-color 0.5s ease-in-out;
}

.panel-title__link:before {
   content: "+";
   font-size: 1.25rem;
   float: left; 
   transition: transform 0.3s ease-in-out;
}

.panel-title__link:hover,
.panel-title__link:active {
	background-color: rgba(179, 120, 114, 0.3);
	text-decoration: none;
	outline: none;
}

.panel-title__link:focus {
	text-decoration: none;
}

.panel-heading.panel_expanded .panel-title__link {
	background-color: rgba(179, 120, 114, 0.3);
}

.panel-heading.panel_expanded .panel-title__link:before {
  	transform: rotate(-225deg);
}

.panel-title__link {
	display: inline-block;
	width: 100%;
	padding: 1rem 0;
}

.panel-group .panel-heading + .panel-collapse > .panel-body {
	border: 0;
	padding: 2rem;
} 

.panel-body {
    height:auto;
    overflow:hidden; 
    max-height: auto;
    transition:max-height 1s;
}

.panel-collapse.in > .panel-body {
	max-height: 50em;
}

.animate_in {
     animation: accordionIn 0.45s normal ease-in-out both 1; 
}

@keyframes accordionIn {
  0% {
    opacity: 0;
    transform:scale(0.9) rotateX(-60deg);
    transform-origin: 50% 0;
  }
  100% {
    opacity:1;
    transform:scale(1);
  }
}

figure {
	height: 28rem;
	max-width: 816px;
	margin: 0 auto;
	overflow: hidden;
}

.image_police {
	margin-top: 1rem;
	width: 100%;
	min-height: 28rem;
}

footer {
  	background-color: #fee266;
  	color: #191919;
  	z-index: 10;
}

footer p {
	padding:20px 0px;
	font-size: 0.8em;
	padding-left: 2rem;
}

.fb_iframe_widget {
	margin-top: 20px;
}

@media (max-width: 1340px) {
	.intro__buttons__container {
		float: none;
		clear: both;
		overflow: hidden;
		padding-top: 0;
		width: 100%;
	}
}

@media (min-width: 1200px) {
	.contact-form__wrapper {
		width: 100%;
		float: right;
	}
}

@media (max-width: 1199px) {
	.contact__details {
		margin: 4rem auto 0;
	}

	.contact-form__wrapper {
		margin: 0 auto;
	}

	.contact-form {
		max-width: 60.25rem;
	}
}

@media (min-width: 981px) and (max-width: 1340px) {
	.intro__header {
		width: 100%;
		font-size: 0.9rem;
	}
}

@media(max-width: 980px) {
	.intro {
		min-height: 36.25rem;
		height: auto;
		background-position: bottom;
	}

	.intro__buttons__container {
		position: absolute;
		bottom: 0;
	}

	.intro__header {
		font-size: 0.8rem;
		padding: 3rem 2rem;
		width: 100%;
	}

	.intro__header__subtitle {
		margin-top: 1.5rem;
	}
}

@media (max-width: 767px) {
	.link_home {
		display: block;
	}

	.nav > li > a.icon_home {
		display: none;
	}

	.nav > li > a {
		line-height: 2.5;
		padding-left: 2rem;
	}

	.nav {
		margin-top: 0;
		margin-bottom: 0;
	}

	.navbar-right {
		margin-right: 0;
		padding-right: 0;
	}

	.intro {
		position: relative;
	}

	.intro__button {
		display: none;
	}

	.intro__arrow {
		display: inline-block;
		position: absolute;
		bottom: 2rem;
		left: 50%;
		transform: translateX(-50%);
		font-size: 4rem;
	}

	.article_individual__heading {
		font-size: 3rem;
	}

	#gallery {
		max-width: 98%;
	}

	.panel-group {
		max-width: 100%;
	}

	figure {
		display: none;
	}

	.intro,
	.image_decoration {
		background-attachment: scroll;
	}
}

@media (max-width: 730px) {
	.articles__item {
		width: 100%;
		margin: 0.5rem 0;
	}
}

@media (max-width: 690px) {
	.article__list_places {
		padding-left: 1rem;
	}
}

@media (max-width: 645px) {
	.gallery__item {
		width: 100%;
	}

	.image_decoration {
		display: none;
	}
}

@media (max-width: 410px) {
	.intro__header {
		padding: 3rem 1rem;
		font-size: 0.6rem;
	}

	.intro__header:before {
		left: 1.1rem;
	}

	.intro__buttons__container {
		padding-left: 0;
		padding-top: 0;
	}

	.intro__button {
		float: none;
	}
}

@media (max-width: 350px) {
	html {
		font-size: 14px;
	}

	.navbar-brand {
		display: none;
	}
}