/*   
Theme Name: Galya Popova Theme
Theme URI: http://olga-moro.ru
Description: This is a custom made Wordpress theme for Galya Popova
Author: Olga Moreau
Author URI: http://olga-moro.ru
Version: 1
*/

@charset "UTF-8";
/* CSS Document */

html {
  height: 100%;
}

body {
	width: 100%;
	height: 100%;
	font-family: 'Carrois Gothic', sans-serif;
	color: #332a2a;
  margin: 0;
	}

a:link {
	
	text-decoration:none;
	color: #332a2a;}

#pagewrap {
  height: 100%;
}

#centerpiece {
	display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
	}
	
#logo {
		background: url("images/HomePage1.jpg") no-repeat;
    height: 61px;
    width: 200px;
	}
	
#logo span {
	margin-left: -5000px;}

#mainimg {
  padding-top: 40px;
}

#mainimg img {
	width: 400px;
}

.content {
	width: 740px;
	margin: 0 auto;
	position:relative;

	}

.entry {
	font-size:0.9em;}
	
#pagelogo {
	  background: url("images/GalyaPopovaLogo_03.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 185px;
    position: absolute;
    width: 60px;
  	left: -100px;
	}

#pagelogo a {
 display: block;
    height: 60px;
    margin-left: -50px;
    margin-top: 50px;
    text-indent: 500%;
    transform: rotate(-90deg);
    white-space: nowrap;
    width: 185px;
  -webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);}

	
nav {
	width: 100%;
	margin: 80px auto 0;
	}
	
nav.paintmenu {
	 font-size: 0.9em;
    margin: 40px auto;
    width: 390px;}

nav.graphmenu {
	display:block;
	}
	
nav.graphmenu ul {
	list-style:circle;
	margin-bottom: 80px;
	}
nav.graphmenu li {
	display:list-item;
	list-style:disc;
	border-right:none;
	line-height:2em;
	}
nav a:link, nav a:visited, nav a:hover, nav a:active {
	
	text-decoration:none;
	color: #332a2a;
padding: 0 5px 0 0;}

nav ul {
	list-style:none;
	
	margin:0 auto;
	padding:0;
	width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
    margin: auto;
	}

nav li {
	display: inline-block;
	height: 70px;
	padding-right: 0.5em;
	font-size: 1em;
  
	}

.menu li.current-menu-item, .menu li.current-page-ancestor {
background-image: url("images/MenuHighlight_03.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;}

nav li a {
border-right: 2px solid #332a2a;}

.last-menu-item a {
	border-right: none;
}

menu-main-nav-container {
  height: 70px;}

.category {
	width: 100%;
	position:relative;
	margin: 30px auto;}
	
.cat-paint {
	width: 438px;
	height: 438px;
	margin: 80px auto 0;
	position: relative;
	}
.cat-paintpub {
	width: 100%;
	height: 72px;
	background-image: url(images/PublicationsPage_03.jpg);
	background-position: center center;
	background-repeat:no-repeat;
	margin-top: 120px;
	}
	
.cat-paintcont {
	width: 100%;
	height: 72px;
	background-image: url(images/ContactPage_06.jpg);
	background-position: center center;
	background-repeat:no-repeat;
	margin-top: 120px;
	margin-bottom: 120px;
	}
	
.category img {
	margin: 0 auto;
	display: block;}	

.biography-image {
  height: 311px;
}

	
.categorytitle {
	 background-image: url("images/NewsPage_10.jpg");
    background-repeat: no-repeat;
    bottom: -10px;
    float: right;
    height: 45px;
    position: absolute;
    right: 80px;
    width: 84px;
	}

.categorytitlebio {
	 background-image: url("images/BiographyPage_07.jpg");
    background-repeat: no-repeat;
    bottom: -130px;
    float: right;
    height: 68px;
    position: absolute;
    right: -20px;
    width: 191px;
	}	
	
.categorytitlepaint {
	  background-image: url("images/PaintingsPage_03.jpg");
    background-repeat: no-repeat;
    bottom: 22px;
    float: right;
    height: 74px;
    position: absolute;
    right: -40px;
    width: 162px;
	}

.books-illustrations__main-image,
.news__main-image {
	height: 438px;
}
.paintings__main-image,
.graphic-works__main-image {
  width: 438px;
}
	
.categorytitlegraph {
   background-image: url("images/GraphicWorksPage_03.jpg");
    background-repeat: no-repeat;
    bottom: -32px;
    float: right;
    height: 64px;
    position: absolute;
    right: -140px;
    width: 252px;
	}	

.categorytitlebook {
    background-image: url("images/BooksIllustrPage_06.jpg");
    background-repeat: no-repeat;
    bottom: -3px;
    float: right;
    height: 44px;
    position: absolute;
    right: -180px;
    width: 285px;
	}	
	
.categorytitlepub {
    
	}	
	
#years {
	
	margin: 40px auto;
	font-size:0.9em;
	width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
		width: 58%\9;}

#yearsgraph {
	font-size:0.9em;
	margin: 0px auto;
	width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
		width: 40%\9;}



#books {
	width: 360px;
	margin: 40px auto;}

#books li {
margin: 16px 0;
}

#publ {

list-style: none;
}
.categorytitle span {
	margin: -5000px;}

.categorytitlebio span {
	margin: -5000px;}

.categorytitlepaint span {
	margin: -5000px;}
	
.categorytitlegraph span {
	margin: -5000px;}

.categorytitlebook span {
	margin: -5000px;}
	
.categorytitlepub span {
	margin: -5000px;}
	
.newscontent li {
	margin-bottom: 2em;
	}

.newscontent {
  margin: 100px auto;
  font-size: 0.9em;
  width: 90%;
}

.biocontent {
margin: 170px auto;
  font-size: 0.9em;
  width: 90%;
}



.Publications {
font-size: 0.9em;}

.Bookscontent {
font-size: 0.9em;}
	
.contacts {
text-align:center;
line-height: 2em;
	}
.contacts a {
	text-decoration:none;
	color: inherit;}



#footer {
	width: 100%;
	text-align: center;
	margin: 80px auto 50px;}