/********************************* keyframes **************************************/
@keyframes moveToLeft {
	to { transform: translateX(-100%); }
}
@keyframes moveFromLeft {
	from { transform: translateX(-100%); }
}
@keyframes moveToRight { 
	to { transform: translateX(100%); }
}
@keyframes moveFromRight {
	from { transform: translateX(100%); }
}
@keyframes moveToTop {
	to { transform: translateY(-100%); }
}
@keyframes moveFromTop {
	from { transform: translateY(-100%); }
}
@keyframes moveToBottom {
	to { transform: translateY(100%); }
}
@keyframes moveFromBottom {
	from { transform: translateY(100%); }
}

/* animation sets */
.pt-page-moveToLeft {
	animation: moveToLeft .6s ease both;
}

.pt-page-moveFromLeft {
	animation: moveFromLeft .6s ease both;
}

.pt-page-moveToRight {
	animation: moveToRight .6s ease both;
}

.pt-page-moveFromRight {
	animation: moveFromRight .6s ease both;
}

.pt-page-moveToTop {
	animation: moveToTop .6s ease both;
}

.pt-page-moveFromTop {
	animation: moveFromTop .6s ease both;
}

.pt-page-moveToBottom {
	animation: moveToBottom .6s ease both;
}

.pt-page-moveFromBottom {
	animation: moveFromBottom .6s ease both;
}

/* royalslider.css***************************************************/

/* v1.0.6 */
/* Core RS CSS file. 95% of time you shouldn't change anything here. */
.royalSlider {
	width: 100%;
	height: 100%;
	max-height: 600px;
	position: relative;
	direction: ltr;
}
.royalSlider > * {
	float: left;
}

.rsFade.rsWebkit3d .rsSlide,
.rsFade.rsWebkit3d img,
.rsFade.rsWebkit3d .rsContainer {
    -webkit-transform: none;
}
.rsOverflow {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	float: left;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
.rsVisibleNearbyWrap {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	left: 0;
	top: 0;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
.rsVisibleNearbyWrap .rsOverflow {
	position: absolute;
	left: 0;
	top: 0;

}
.rsContainer {
	position: relative;
	width: 100%;
	height: 100%;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

.rsArrow,
.rsThumbsArrow {
	cursor: pointer;
}

.rsThumb {
	float: left;
	position: relative;
}


.rsArrow,
.rsNav,
.rsThumbsArrow {
	opacity: 1;
	-webkit-transition:opacity 0.3s linear;
	-moz-transition:opacity 0.3s linear;
	-o-transition:opacity 0.3s linear;
	transition:opacity 0.3s linear;
}
.rsHidden {
	opacity: 0;
	visibility: hidden;
	-webkit-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
	-moz-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
	-o-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
	transition:visibility 0s linear 0.3s,opacity 0.3s linear;
}


.rsGCaption {
	width: 100%;
	text-align: right;
}

/* Fullscreen options, very important ^^ */
.royalSlider.rsFullscreen {
	position: fixed !important;
	height: auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 2147483647 !important;
	top: 0 !important;
	left: 0 !important;
	bottom: 0 !important;
	right: 0 !important;
}

.royalSlider .rsSlide.rsFakePreloader {
	opacity: 1 !important;
	-webkit-transition: 0s;
	-moz-transition: 0s;
	-o-transition:  0s;
	transition:  0s;
	display: none;
}

.rsSlide {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	overflow: hidden;
	
	height: 100%;
	width: 100%;
}

.royalSlider.rsAutoHeight,
.rsAutoHeight .rsSlide {
	height: auto;
}

.rsContent {
	width: 100%;
	height: 100%;
	position: relative;
}

.rsPreloader {
	position:absolute;
	z-index: 0;	
}

.rsNav {
	-moz-user-select: -moz-none;
	-webkit-user-select: none;
	user-select: none;
	position: absolute;
	bottom: 0px;
}
.rsNavItem {
	-webkit-tap-highlight-color:rgba(0,0,0,0.25);
}

.rsThumbs {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	float: left;
	z-index: 22;
}
.rsTabs {
	float: left;
	background: none !important;
}
.rsTabs,
.rsThumbs {
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}


.rsVideoContainer {
	/*left: 0;
	top: 0;
	position: absolute;*/
	/*width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	float: left;*/
	width: auto;
	height: auto;
	line-height: 0;
	position: relative;
}
.rsVideoFrameHolder {
	position: absolute;
	left: 0;
	top: 0;
	background: #141414;
	opacity: 0;
	-webkit-transition: .3s;
}
.rsVideoFrameHolder.rsVideoActive {
	opacity: 1;
}
.rsVideoContainer iframe,
.rsVideoContainer video,
.rsVideoContainer embed,
.rsVideoContainer .rsVideoObj {
	position: absolute;
	z-index: 50;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
/* ios controls over video bug, shifting video */
.rsVideoContainer.rsIOSVideo iframe,
.rsVideoContainer.rsIOSVideo video,
.rsVideoContainer.rsIOSVideo embed {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-right: 44px;
}

.rsABlock {
	left: 0;
	top: 0;
	position: absolute;
	z-index: 15;
	
}

img.rsImg {
	max-width: none;
}

.grab-cursor {
	cursor:url(grab.png) 8 8, move; 
}

.grabbing-cursor{ 
	cursor:url(grabbing.png) 8 8, move;
}

.rsNoDrag {
	cursor: auto;
}

.rsLink {
	left:0;
	top:0;
	position:absolute;
	width:100%;
	height:100%;
	display:block;	
	z-index: 20;
	background: url(blank.gif);
}

/******************************
*
*  RoyalSlider Default Inverted Skin 
*
*    1. Arrows 
*    2. Bullets
*    3. Thumbnails
*    4. Tabs
*    5. Fullscreen button
*    6. Play/close video button
*    7. Preloader
*    8. Caption
*    
*  Sprite: 'rs-default-inverted.png'
*  Feel free to edit anything
*  If you don't some part - just delete it
* 
******************************/


/* Background */
.rsDefaultInv,
.rsDefaultInv .rsOverflow,
.rsDefaultInv .rsSlide,
.rsDefaultInv .rsVideoFrameHolder,
.rsDefaultInv .rsThumbs {
	/*background: #EEE;*/
	color: #222;
}


/***************
*
*  1. Arrows
*
****************/

.rsDefaultInv .rsArrow {
	height: 100%;
	width: 44px;
	position: absolute;
	display: block;
	cursor: pointer;
	z-index: 21;
}
.rsDefaultInv.rsVer .rsArrow {
	width: 100%;
	height: 44px;
	
}
.rsDefaultInv.rsVer .rsArrowLeft { top: 0; left: 0; }
.rsDefaultInv.rsVer .rsArrowRight { bottom: 0;  left: 0; }

.rsDefaultInv.rsHor .rsArrowLeft { left: 0; top: 0; }
.rsDefaultInv.rsHor .rsArrowRight { right: 0; top:0; }

.rsDefaultInv .rsArrowIcn {		
	width: 32px;
	height: 32px;
	top: 50%;
	left: 50%;
	margin-top:-16px;	
	margin-left: -16px;

	position: absolute;	
	cursor: pointer;	
	background: url('rs-default-inverted.png');

	background-color: #FFF;
	background-color: rgba(255,255,255, .75);
	*background-color: #FFF;
	
	border-radius: 2px;
}
.rsDefaultInv .rsArrowIcn:hover {
	background-color: rgba(255,255,255,0.9);
}

.rsDefaultInv.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
.rsDefaultInv.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; }

.rsDefaultInv.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
.rsDefaultInv.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }

.rsDefaultInv .rsArrowDisabled .rsArrowIcn { filter: alpha(opacity=20); opacity: .2; *display: none; }


/***************
*
*  2. Bullets
*
****************/

.rsDefaultInv .rsBullets {
	position: relative;
	z-index: 35;
	padding-top: 4px;
	width: 100%;
	height: auto;
	margin: 0 auto; 

	text-align: center;
	line-height: 5px;
	overflow: hidden;
}
.rsDefaultInv .rsBullet {
	width: 5px;
	height: 5px;
	display: inline-block;
	*display:inline; 
	*zoom:1;
	padding: 6px;
}
.rsDefaultInv .rsBullet span {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #BBB;
}
.rsDefaultInv .rsBullet.rsNavSelected span {
	background-color: #000;
}





/***************
*
*  3. Thumbnails
*
****************/

.rsDefaultInv .rsThumbsHor {
	width: 100%;
	height: 72px;
}
.rsDefaultInv .rsThumbsVer {
	width: 96px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}
.rsDefaultInv.rsWithThumbsHor .rsThumbsContainer {
	position: relative;
	height: 100%;
}
.rsDefaultInv.rsWithThumbsVer .rsThumbsContainer {
	position: relative;
	width: 100%;
}
.rsDefaultInv .rsThumb {
	float: left;
	overflow: hidden;
	width: 96px;
	height: 72px;
}
.rsDefaultInv .rsThumb img {
	width: 100%;
	/*height: 100%;*/
}
.rsDefaultInv .rsThumb.rsNavSelected {
	background: #FFF;
}
.rsDefaultInv .rsThumb.rsNavSelected img {
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.rsDefaultInv .rsTmb {
	display: block;
}

/* Thumbnails with text */
.rsDefaultInv .rsTmb h5 {
	font-size: 16px;
	margin: 0;
	padding: 0;
	line-height: 20px;
}
.rsDefaultInv .rsTmb span {
	color: #DDD;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 18px;
}



/* Thumbnails arrow icons */
.rsDefaultInv .rsThumbsArrow {
	height: 100%;
	width: 20px;
	position: absolute;
	display: block;
	cursor: pointer;	
	z-index: 21;	
	background: #FFF;
	background: rgba(255,255,255,0.75);
}
.rsDefaultInv .rsThumbsArrow:hover {
	background: rgba(255,255,255,0.9);
}
.rsDefaultInv.rsWithThumbsVer .rsThumbsArrow {
	width: 100%;
	height: 20px;
}
.rsDefaultInv.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
.rsDefaultInv.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0;  left: 0; }

.rsDefaultInv.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
.rsDefaultInv.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }

.rsDefaultInv .rsThumbsArrowIcn {		
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-top:-8px;	
	margin-left: -8px;
	position: absolute;	
	cursor: pointer;	
	background: url('rs-default-inverted.png');
}

.rsDefaultInv.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
.rsDefaultInv.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }

.rsDefaultInv.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
.rsDefaultInv.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }

.rsDefaultInv .rsThumbsArrowDisabled { display: none !important; }

/* Thumbnails resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 800px) {
	.rsDefaultInv .rsThumb {
		width: 59px;
		height: 44px;
	}
	.rsDefaultInv .rsThumbsHor {
		height: 44px;
	}
	.rsDefaultInv .rsThumbsVer {
		width: 59px;
	}
}




/***************
*
*  4. Tabs
*
****************/

.rsDefaultInv .rsTabs {
	width: 100%;
	height: auto;
	margin: 0 auto;
	text-align:center;
	overflow: hidden; padding-top: 12px; position: relative;
}
.rsDefaultInv .rsTab {
	display: inline-block;
	cursor: pointer;
	text-align: center;
	height: auto;
	width: auto;
	color: #333;
	padding: 5px 13px 6px;
	min-width: 72px;
	border: 1px solid #D9D9DD;
	border-right: 1px solid #f5f5f5;
	text-decoration: none;

	background-color: #FFF;
	background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4); 
	background-image:    -moz-linear-gradient(top, #fefefe, #f4f4f4);
	background-image:         linear-gradient(to bottom, #fefefe, #f4f4f4);

	-webkit-box-shadow: inset 1px 0 0 #fff;
	box-shadow: inset 1px 0 0 #fff;

	*display:inline; 
	*zoom:1;
}
.rsDefaultInv .rsTab:first-child {
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.rsDefaultInv .rsTab:last-child { 
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;

	border-right:  1px solid #cfcfcf;
}
.rsDefaultInv .rsTab:active { 
	border: 1px solid #D9D9DD;   
	background-color: #f4f4f4;
	box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.rsDefaultInv .rsTab.rsNavSelected { 
	color: #FFF;
	border: 1px solid #999;
	text-shadow: 1px 1px #838383;
	box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
	background: #ACACAC;
	background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
	background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
	background-image: linear-gradient(to bottom, #ACACAC, #BBB);
}





/***************
*
*  5. Fullscreen button
*
****************/

.rsDefaultInv .rsFullscreenBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 22;
	display: block;
	position: absolute;
	cursor: pointer;
	
}
.rsDefaultInv .rsFullscreenIcn {
	display: block;
	margin: 6px;
	width: 32px;
	height: 32px;

	background: url('rs-default-inverted.png') 0 0;
	background-color: #FFF;
	background-color: rgba(255,255,255,0.75);
	*background-color: #FFF;
	border-radius: 2px;

}
.rsDefaultInv .rsFullscreenIcn:hover {
	background-color: rgba(255,255,255,0.9);
}
.rsDefaultInv.rsFullscreen .rsFullscreenIcn {
	background-position: -32px 0;
}





/***************
*
*  6. Play/close video button
*
****************/

.rsDefaultInv .rsPlayBtn {
	-webkit-tap-highlight-color:rgba(0,0,0,0.3);
	width:64px;
	height:64px;
	margin-left:-32px;
	margin-top:-32px;
	cursor: pointer;
}
.rsDefaultInv .rsPlayBtnIcon {
	width:64px;
	display:block;
	height:64px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	
	-webkit-transition: .3s;
	-moz-transition: .3s;
	transition: .3s;

	background:url(rs-default-inverted.png) no-repeat 0 -32px;
	background-color: #FFF;
	background-color: rgba(255,255,255,0.75);
	*background-color: #FFF;
}
.rsDefaultInv .rsPlayBtn:hover .rsPlayBtnIcon {
	background-color: rgba(255,255,255,0.9);
}
.rsDefaultInv .rsBtnCenterer {
	position:absolute;
	left:50%;
	top:50%;
	width: 20px;
	height: 20px;
}
.rsDefaultInv .rsCloseVideoBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 500;
	position: absolute;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	
}
.rsDefaultInv .rsCloseVideoBtn.rsiOSBtn {
	top: -38px;
	right: -6px;
}

.rsDefaultInv .rsCloseVideoIcn {
	margin: 6px;
	width: 32px;
	height: 32px;
	background: url('rs-default-inverted.png') -64px 0;
	background-color: #FFF;
	background-color: rgba(255,255,255,0.75);
	*background-color: #FFF;
}
.rsDefaultInv .rsCloseVideoIcn:hover {
	background-color: rgba(255,255,255,0.9);
}



/***************
*
*  7. Preloader
*
****************/

.rsDefaultInv .rsPreloader {
	width:20px;
	height:20px;
	background-image:url(preloader-white.gif);

	left:50%;
	top:50%;
	margin-left:-10px;
	margin-top:-10px;	
}




/***************
*
*  8. Global caption
*
****************/
.rsDefaultInv .rsGCaption {
	position: absolute;
	float: none;
	bottom: 6px;
	left: 6px;
	text-align: left;

	background: #FFF;
    background: rgba(255,255,255, 0.75);

	color: #000;
	padding: 2px 8px;
	width: auto;
	font-size: 12px;
	border-radius: 2px;
}

/* appli.css***************************************************/
*, *:after, *:before { box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;  -webkit-text-size-adjust: none;}
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%;
}
  
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

sup, sub {font-size:0.5vw;}

body {
  /*line-height: 1;*/
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

nav a {
  white-space: nowrap;
}

.rsCloseVideoBtn {display:none}
.rsVideoFrameHolder:hover .rsCloseVideoBtn {display:block;}

@font-face {
  font-family: 'Didot';
  font-style: normal;
  font-weight: normal;
  src: url('Didot.ttf');
}

body {
	max-width: 1000px;
    font-family: "Helvetica Neue", "Helvetica", Arial;
	color: black;
	background : white;
	cursor: default;
	margin-left: auto;
    margin-right: auto;
}

html, body { height: 100%; overflow: hidden; }

a {
	text-decoration: none;
	color: black;
}

a:hover { color: #A3907C; }

nav ul{
    list-style-type: none;
}

header ul {
	list-style-type: none;
	width: 100%;
	height: 100%;
	float:left;
}

h2 {
	font-weight: normal;
	color: #A3907C;
	font-size: 0.8em;
}

p {
	margin-bottom: 15px;
	font-size: 0.7em;
}

#container h1 {
	font-weight: normal;
	color: #A3907C;
	margin-top: 20px;
	margin-bottom: 15px;
}

#container h3 {
	font-weight: bold;
	color: #A3907C;
	margin-top: 20px;
	margin-bottom: 15px;
}

.pt-page {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	overflow-x: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	transform-style: preserve-3d;
	background: #fff;
}

.pt-page-current {
	visibility: visible;
	z-index: 1;
}

/********************************************************************* home page *********/
#home {
	background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("../media/index.jpg");
}

#app { height: 100%; }

nav li:hover { color: #A3907C; }

nav li.active { color: #A3907C; }

/********************************************************************* main-header ******** A3907C */
#main-header { height: 12%; display: flex; justify-content: center; }
#box-header { align-self: center; text-align: center; width:100%;}
#main-header h1 { font-family: 'Didot'; font-size: 11vw; }
#main-nav { height: 20%; display: flex; background-color: black; color:white; justify-content: center}
#main-nav ul {  display: flex; justify-content: space-between; font-size: 3.5vw; font-weight: bold; letter-spacing:0.2em; }


/********************************************************************* container *******/
.slide-title {
	height: 20% ;
	text-align: right;
}

.slide-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center; 
}

#credits h1 {
	font-size: 2em;
	font-weight: normal;
	color: #A3907C;
	margin-top: 20px;
	margin-bottom: 15px;
}

#credits h2 {
	font-size: 1.5em;
	font-weight: normal;
	color: #A3907C;
	margin-bottom: 15px;
}

#credits p {
	font-size: 1em;
	margin-bottom: 15px;
}

#container { height: 88%; position: relative; }
#container nav { height: 15%;
				font-weight: bold;
				font-size: 3vw;
				letter-spacing:0.2em;
				text-align: right;
				}

#container nav ul { display: flex; flex-direction: column; justify-content: center; height: 80%;}

#container article { height: 100%; width: 100%; overflow: auto;}

#container > section > div { height: 100%; width: 75%; float: right; }

.gallery { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-start; }

.gallery div {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width : 16%;
	height: 20%;
    margin: 4px;
}

#bio-picture {
		width: 75% !important;
		height: 23% !important;
		margin-bottom: 2%;
		float: right;
		background-repeat: no-repeat;
	    background-position: center;
	    background-size: cover;
		background-image: url("../media/bio.jpg");
}

@media screen and (min-width: 500px) {

	#main-header { height: 20%; }
	#container { height: 80%; }
	#box-header { display: flex; flex-direction: row; align-items: baseline; }

	#main-header h1 { font-size: 5.6vw; width: 52%; }
	#main-nav { background-color: white; color: black; width: 45%; }
	#main-nav ul { justify-content: space-between; font-size: 0.8em; }

	#home {	background-size: 50%; }
	#container nav { height: 400px; width: 20%; font-size: 0.8em; float: left; }
	#container article { float: left; }

	#bio-content { background-repeat: no-repeat;
	    background-position: top;
	    background-size: contain;
		background-image: url("../media/bio.jpg");}

	.contact { padding-top: 137px; }
	.gallery div { width: 76px; height: 110px;	}
	.withBullets { height: 92% !important; padding-bottom: 0 !important;}
	#container > section > div { padding-bottom: 1%; }
	#container > #part-2 > div { width: 70%; padding-top: 15%; height: 100%;}
	.rsImg { margin-top: 4% !important; }
	
	/*#container article.muages { width: 73%; }
	#container article.pub { width: 73%; }
	#container article.dh1 { width: 73%; }
	#container article.dh2 { width: 73%; }*/
}

@media screen and (min-width: 1000px) {

	#main-header h1 { font-size: 3.8em; }
	#box-header { justify-content: space-between;}

	.gallery div { width: 85px;	height: 125px; }

	.contact { padding-top: 174px; }
	.rsImg { margin-top: 4% !important; }
	/*#container article.muages { width: 61%; }
	#container article.pub { width: 61%; }
	#container article.dh1 { width: 61%; }
	#container article.dh2 { width: 52%; }*/
}

@media screen and (max-width: 500px) and (orientation: portrait) {
	#main-nav ul { width: 90%; line-height: 1.5em; align-items: center;}
	#container nav { text-align: left; }
	#container nav ul { margin-left: 6%; }
	#container > section > div { height: 85%; width: 100% !important; padding-bottom: 1%;}
	.gallery { justify-content: center; }
	#part-1 nav { height: 18%; }
	#container > #part-1 > div { height: 82%; }
	#part-2 nav { height: 25%; background-repeat: no-repeat;
	    background-position: center;
	    background-size: cover;
		background-image: url("../media/bio-mobile.jpg"); color: white;}
	#container > #part-2 > div { height: 75%; padding-top: 2%;}
	#bio-picture { display: none; }
	.withBullets { height: 80% !important; }
	.rsDefaultInv .rsBullets { padding-top: 0; }
	
	.text {	padding: 0 6%; }
}

@media screen and (max-height: 600px) and (orientation: landscape) {

	#main-header h1 { font-size: 2em; }
	#main-nav ul { font-size: 0.7em;}
	#container > section > div { width: 71%; height:100%; padding-bottom: 1%;}
	#container nav { padding-top: 10%; height: 60%; width: 25%; font-size: 0.6em; float: left; letter-spacing:0.15em; }
	.withBullets { height: 92% !important; padding-bottom: 0 !important;}
	#credits h1 { font-size: 1.5em; }
	#credits h2 { font-size: 1em; }
	#credits p { font-size: 0.6em; }

	.gallery div { width : 40px; height: 60px; margin: 2px; }
	.rsImg { margin-top: 0 !important; }
	
	#bio-picture { width: 70% !important; height: 20% !important; }
}