
@font-face {
  font-family: 'Cormorant SC';
  src:  url("fonts/Cormorantscbold.ttf") format("truetype");
  font-weight: 700;
  font-style: none;
}

@font-face {
  font-family: 'Cormorantsc SC';
  src:  url("fonts/Cormorantscbook.ttf") format("truetype");
  font-weight: 500;
  font-style: none;
}
@font-face {
  font-family: 'Cormorantsc SC';
  src:  url("fonts/Cormorantsc.ttf") format("truetype");
  font-weight: normal;
  font-style: none;
}

@font-face {
  font-family: 'Raleway';
  src:  url("fonts/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: none;
}
@font-face {
  font-family: 'Raleway';
  src:  url("fonts/Raleway-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: none;
}
@font-face {
	font-family: "Geologica";
	src: url("fonts/Geologica.ttf") format("truetype");
	font-weight: 500;
}
@font-face {
	font-family: "Geologica";
	src: url("fonts/Geologica-bold.ttf") format("truetype");
	font-weight: bold;
}
@font-face {
	font-family: "Geologica";
	src: url("fonts/Geologica-thin.ttf") format("truetype");
	font-weight: normal;
}

@font-face {
	font-family: "Czizh";
	src: url("fonts/Czizh.ttf") format("truetype");
	font-style: normal;
}


* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	--color-blue: #022f4c;
	--color-purple: #ACAECC;
	--color-brick: #a95048;
	--color-gold: #AD8157;
	--color-grey: #828282;
	--color-lightgray:#fdfaf4;
	--color-white: #fff;
}
*:focus { 
	outline: none; 
}
html, body {
	position: relative;
	width: 100%;
	min-height: 100%;
	font-family:  Geologica, Arial, Helvetica;
}
.web_site {
	height: auto;
	min-height: 100%;
}
.page_content {
	position: relative;
	margin: 0px auto 0px auto;
	width: 100%;
	max-width: 1200px;
	padding: 0 20px 0 20px;
}
.page_content ul {
	margin-left: 20px;
}
.page_content ol {
	margin-left: 20px;
}
.page_header {
	background-color: #fff;
	border-bottom: 1px solid var(--color-brick);
	padding: 10px 0 10px 0;
}
.page_header .page_content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.page_header .logo {
	
	text-align: center;
	margin-bottom: 5px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	
	font-family: Czizh;
	font-size: 20px;
	color: var(--color-blue);
}
.page_header .logo img {
	position: relative;
	width: 100%;
	height: auto;
}
.page_header .slogan {
	color: var(--color-purple);
	font-style: normal;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2em;
	text-align: center;
}

#person_info {
	
	margin-bottom: 50px;
}
h1 {
	font-family: 'Cormorant SC';
	font-style: normal;
	font-weight: 700;
	font-size: 42px;
	line-height: 1.2em;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-blue);
	margin-top: 1em;
}

#life_dates {
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.5em;
	text-align: center;
	color: var(--color-grey);
	margin-top: 1em;
	margin-bottom: 1em;
}
#epitaph {
	font-family: 'Cormorant SC';
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2em;
	text-align: center;
	color: var(--color-blue);
	margin-bottom: 1.2em;
}

#main_photo {
	text-align: center;
}
#main_photo img {
	width: auto;
	max-width: 100%;
	max-height:300px;
}
	
@media (max-width: 1024px) {	
	h1 {
		font-size: 36px;
	}	
}

@media (max-width: 640px) {		
	.page_header {
		position: sticky;
		top: -74px;
	}
	h1 {
		margin-top: 1em;
		font-size: 28px;
	}	
	#life_dates {
		font-size: 13px;
	}
	#person_info {
		margin-bottom: 20px;
	}
}

.section_disabled {
	display: none !important;
}

#tabs-buttons-container {	
	background-color: var(--color-lightgray);
	width: 100%;
	position: sticky;
	top: 0px;
	z-index: 100;
}
.tabs-buttons {
	position: relative;
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: space-evenly;
	margin-left: auto;
	margin-right: auto;
	height: 75px;
}
.tabs-buttons .tab-button {
	position: relative;
	display: flex;
	color: #fff;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-family: 'Cormorant SC';
	font-style: normal;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2em;
	color: var(--color-blue);
	padding: 1em 0.2em;
	border-bottom: 2px solid transparent;
}
.tabs-buttons .tab-button.hidden {
	display: none;
}
.tabs-buttons .tab-button.active {
	color:  var(--color-brick);
	border-bottom: 2px solid var(--color-brick);
}

@media (max-width: 1024px) {	
	.tabs-buttons .tab-button {
		font-size: 20px;
	}	
}
@media (max-width: 640px) {	
	#tabs-buttons-container {
		position: fixed;
		bottom: 0px;
		top: auto;
	}
	.tabs-buttons .tab-button {
		font-size: 9px;
		width: 14%;
		padding-top: 35px;
		background-size: 40% auto;
		background-repeat: no-repeat;
		background-position: center bottom 35px;
		
		
	}	
	.tabs-buttons .tab-button[tab-name="tab-main"] {
		background-image: url(img/tab-main.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-photo"] {
		background-image: url(img/tab-photo.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-video"] {
		background-image: url(img/tab-video.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-publications"] {
		background-image: url(img/tab-publications.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-links"] {
		background-image: url(img/tab-links.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-geo"] {
		background-image: url(img/tab-geo.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-main"].active {
		background-image: url(img/tab-main-active.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-photo"].active {
		background-image: url(img/tab-photo-active.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-video"].active {
		background-image: url(img/tab-video-active.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-publications"].active {
		background-image: url(img/tab-publications-active.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-links"].active {
		background-image: url(img/tab-links-active.svg);
		
	}
	.tabs-buttons .tab-button[tab-name="tab-geo"].active {
		background-image: url(img/tab-geo-active.svg);
		
	}
}


@media (max-width: 420px) {	

	.tabs-buttons .tab-button {
		background-size: 50% auto;
		
	}
}
.tab-contents {
	min-height: calc(100vh - 95px - 120px - 75px + 10px);
	padding-top: 50px;
}

.tab-content {
	display: none;
}
.tab-content.active {
	display: block;
	margin-bottom: 40px;
}



.tab-content[tab-name="tab-main"] {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

#tab_title {
	color: var(--color-brick);
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	text-transform: uppercase;
	line-height: 2em;
	text-align: center;
	margin-bottom: 1em;
	font-family: 'Cormorant SC';
}


.tab-content p {
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.7em;
	text-align: center;
	color: var(--color-blue);
	margin-bottom: 1em;
}

@media (max-width: 640px) {	
	.tab-contents {
		padding-top:0px;
	}

	.tab-content p {
		font-size: 12px;
	}
}

.publications_container {
	position: relative; 
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	width: 100%;
}
.publications_container .publication {
	width: 22%;
	position: relative; 
	background-color: var(--color-lightgray);
	min-width: 250px;
}
.publications_container .publication p {
	margin: 0;
}
.publications_container .publication p.pub_title {
	font-family: Geologica;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.7em;
	text-align: center;
	color: var(--color-blue);
	padding: 22px 22px 5px 22px;
}

.publications_container .publication p.pub_announce {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.7em;
	color: var(--color-grey);
	padding: 0px 22px 5px 22px;
}
.publications_container .publication p.pub_info {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 1.7em;
	color: var(--color-blue);
	padding: 0px 22px 5px 22px;
}

.publications_container .publication p.pub_link {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.7em;
	color: var(--color-blue);
	padding: 0px 22px 22px 22px;


}
.publications_container .publication p.pub_link a {
	color: inherit;
}


@media (max-width: 640px) {	
	.publications_container .publication p.pub_title {
		font-size: 16px;
	}
}





.links_container {
	position: relative; 
	display: flex;
	flex-direction: column;
	width: 100%;
}
.links_container .link {
	width: 100%;
	position: relative; 
	background-color: var(--color-lightgray);
	margin-bottom: 20px;
	
}
.links_container .link p {
	margin: 0;
	text-align: left;
}
.links_container .link p.link_title {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.7em;
	text-align: left;
	color: var(--color-blue);
	padding: 22px 22px 5px 22px;
}

.links_container .link p.link_announce {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.7em;
	color: var(--color-grey);
	padding: 0px 22px 5px 22px;
}
.links_container .link p.link_link {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.7em;
	color: var(--color-blue);
	padding: 0px 22px 22px 22px;
}
.links_container .link p.link_link a {
	color: inherit;
}



@media (max-width: 640px) {	
	.links_container .link p.link_title {
		font-size: 16px;
	}
}





.videos_container {
	position: relative; 
	display: flex;
	flex-direction: column;
	width: 100%;
}
.videos_container .video {
	width: 100%;
	position: relative; 
	background-color: var(--color-lightgray);
	margin-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 15px 22px;
	
}
.videos_container .video div.video_link {
	width: 30%;
	margin-right: 22px;
	position: relative;
}
.videos_container .video div.video_link video {
	position: relative;
	width: 100%;
	height: auto;
}
.videos_container .video div.video_link a {
	color: inherit;
}
.videos_container .video div.video_link a img {
	width: 100%;
}
.videos_container .video p {
	margin: 0;
	text-align: left;
}
.videos_container .video p.video_title {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.7em;
	text-align: left;
	color: var(--color-blue);
	padding: 0 0 5px 0;
}

.videos_container .video p.video_announce {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.7em;
	color: var(--color-grey);
	padding: 0px 0 0 0;
}


@media (max-width: 640px) {	

	.videos_container .video {	
		flex-direction: column;
	}
	.videos_container .video div.video_link {
		width: 100%;		
		margin-right: 0;
	}
	.links_container .link p.link_title {
		font-size: 16px;
	}
}



.photo_container {
	position: relative; 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
}
.photo_container .photo {
	position: relative;
	width: calc(50% - 20px);
	margin: 10px;

}
.photo_container .photo .photo_image {
	margin-bottom: 0px;
	
}
.photo_container .photo .photo_comment {
	
}
.photo_container .photo .photo_image img {
	width: 100%;
	height: auto;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}

.burial_info {

}
.burial_info p {
	margin-bottom: 0;
}
[tab-name="tab-geo"] .photo_container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}
[tab-name="tab-geo"] .photo_container img {
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	width: 50%;
	height: auto;
}
#ymap_burial_location {
	position: relative;
	width: 100%;
	height: 500px;
	margin-bottom: 10px;
}

.route_button {
	position: relative;
	display: block;
	margin: 0 auto 10px auto;
	width: 200px;
}

.route_button a {
	position: relative;
	display: flex;
	width: 100%;
	padding: 8px 5px;
	justify-content: center;
	align-items: center;
	font-size: 14px;
  	height: 2.5em;
  	background-color: var(--color-blue);
  	color: var(--color-white);
  	font-family: "Cormorant";
  	text-transform: uppercase;
  	border: 1px solid var(--color-blue);
	text-decoration: none;
}


#goup {
	position: relative; 
	margin: 30px auto 30px auto;
	background-image: url(img/goup.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 60px;
	height: 60px;
	cursor: pointer;
}
@media (max-width: 640px) {	

	#goup {
		width: 40px;
		
	}
}



#footer {
	height: 90px;
	background-color: var(--color-blue);
}
#footer .page_content {
	display: flex; 
	justify-content: space-between;
	align-items: center;
	position: relative;
	height: 100%;
	max-width: 1200px;
}

#footer .logo {
	
	text-align: center;
	margin-bottom: 5px;
	
	font-family: Czizh;
	font-size: 20px;
	color: var(--color-white);
}
#footer .slogan {
	color: var(--color-purple);
	font-style: normal;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2em;
	text-align: center;
}


@media (max-width: 640px) {	
	#footer {
		margin-bottom: 75px;
		height: 75px;
	}
}




/*
.map_container {
	position: relative;
	width: 100%;
	height: 500px;
	max-height: 80vh;
	
}
.map_container iframe {
	width: 100%;
	height: 500px;
	max-height: 80vh;
}
#grave_map {
	position: relative;
	width: 100%;
	height: 400px;
}

@media (max-width: 460px) {
	h1 {
		font-size: 24px;
		text-align: center;
	}
	h2 {
		font-size: 20px;
		text-align: center;
	}
	.photo_container img {
		width: calc(100% - 20px);
	}
	.main_info {
		flex-direction: column;
	}
	.main_info .main_photo {
		width: 100%;
		margin: 0 0 20px 0;
	}
	
	.tabs-buttons {
		justify-content: center;
	}
}
*/