body
	{
	margin: 0;
	padding: 0;
	background-color: #EEEDF1;
	}


/* ===================== header ====================== */

/* высота, фон и фотка нужного размера */
#header
	{
	min-width: 1100px;
	min-height: 500px;
	background-color: #222; /* до загрузки фотки */
	background-image: url(./img/work.jpg);
	background-size: cover;
	}


#header-content
	{
	width: 1000px;
	padding: 0;
	margin: 0;
	}


/* Елена Фадеева */
#header-content img
	{
	position: absolute;
	top: 360px;
	}


/* полоса на других стр. */
#header-ribbon
	{
	min-width: 1100px;
	min-height: 20px;
	background-color: #222; /* до загрузки фотки */
	background-image: url(./img/work_ribbon.jpg);
	background-size: cover;
	}


/* =============== section_text ======================= */

#section_text
	{
	width: 1000px;
	padding: 0 50px 0 50px;
	}

#section_text h1
	{
	padding-top: 20px;
	font-family: 'Playfair Display', serif;
	font-size: 25px;
	color: #444;
	}

#section_text h2
	{
	padding: 0;
	margin: 0;
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-weight: lighter;
	font-size: 50px;
	color: #444;
	}

#section_text h3
	{
	text-align: center;
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	font-weight: lighter;
	line-height: 6pt;
	color: darkred;
	}

#section_text p
	{
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	}

#section_text li p
	{
	padding: 2pt;
	margin: 0;
	}

#section_text a { color: black; }

#section_text a:hover { color: darkred; }

#face { margin: 0 40px 0 0; }

#logo { margin: 0 20px 20px 0; }

#tools { margin: 0 5px 20px 0; }

#card
	{
	display: inline-block;
	width: 330px;
	height: 130px;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: 'Playfair Display', serif;
	font-size: 17px;
	}

#empty_card
	{
	display: inline-block;
	width: 330px;
	height: 130px;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: 'Playfair Display', serif;
	font-size: 17px;
	color: black;
	}

#mark { color: darkred; }

#price
	{
	color: darkred;
	font-size:  40px;
	}

#card #mark { font-size: 19px; }

#empty_card #mark { font-size: 19px; }


#feed_author { display: inline-block; }

#feed_author img
	{
	margin-top: 20px;
	margin-right: 25px;
	margin-bottom: 20px;
	}

#feed_text
	{
	display: inline-block;
	width: 850px;
	vertical-align: top;
	font-style: italic;
	}


TABLE
	{
    width: 800px;
    border-collapse: collapse;
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	color: #322;
	}

TD
	{
    padding: 6px;
    border: 1px solid gray;
    background-color: #c0b9a7;
	}


#invizTAB
	{
	width: 100%;
	border: none;
	}

#invizTD
	{
	border: none;
    background-color: transparent;
    color: black;
	}

#phone
	{
	font-family: 'Marmelad', sans-serif;
	font-size: 36px;
	font-weight: bold;
	color: black;
	}


/* ===================== menu ====================== */

#menu { padding-top: 20px; }

#menu a
   	{
	border: 3px solid #322;
	border-radius: 6px;

   	padding: 5px 55px 5px 55px;
   	margin: 10px 0 10px 0;
	line-height: 300%;

	font-family: 'Marmelad', sans-serif;
	font-size: 16px;
 	text-decoration: none;
	}

#menu a:link { color: #222; }

#menu a:hover
	{
    background: #786b59;
    color: white;
	}

#menu a:active { color: white; }


#box :link { color: #222; text-decoration: none; }
#box :hover { background: #bab5a8; }
#box :active { color: white; }


/* ===================== footer ====================== */

#footer
	{
	background-color: #222;
	width: 100%;
	}

#footer-content
	{
	background-color: #222;
	width: 1000px;
	padding: 0 50px 0 50px;
	}

#footer h1
	{
	padding-top: 20px;
	font-family: 'Marmelad', sans-serif;
	font-size: 14px;
	color: white;
	}

#footer-squareblock
	{
	display: inline-block;
	width: 195px;
	padding: 0;
	margin: 0;
	vertical-align: top;
	}

#footer a
	{
	margin-right: 30px;
	font-family: 'Marmelad', sans-serif;
	font-size: 13px;
 	text-decoration: none;
	color: silver;
 	}

#footer a:hover
	{
	color: white;
	text-decoration: underline;
	}

#footer a:active { color: white; }
#footer a:visited { color: silver; }
#footer p
	{
	margin: 10px 0 0 0;
	padding: 0;
	color: gray;
	text-align: center;
	}
