/* -----------------------
Base styles
------------------------*/

body
{
    margin-left: auto;
    margin-right: auto;
	margin-top: 2px;
    width: 1180px;
    padding: 0;
    color: #333;
    background: 
   url(../img/background2.jpg) 0px 0px repeat-x,  /* On top,    like z-index: 4; */
   url(../img/background1.jpg) 0px 10px repeat;   /*            like z-index: 3; */
   background-size: 90px 950px, 10px 10px;
   
   
	font: 1em/1.2 "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

h1,h2,h3,h4,h5,h6
{
	margin: 0 0 .5em;
	font-weight: 500;
	line-height: 1.1;
}

h1 { font-size: 2.25em; } /* 36px */
h2 { font-size: 1.75em; } /* 28px */
h3 { font-size: 1.375em; } /* 22px */
h4 { font-size: 1.125em; } /* 18px */
h5 { font-size: 1em; } /* 16px */
h6 { font-size: .875em; } /* 14px */

p
{
	margin: 0 0 1.5em;
	line-height: 1.5;
}

p.justify
{
	margin: 0 0 1.5em;
	line-height: 1.5;
        text-align: justify;
        padding-right: 45px;
}

blockquote
{
	padding: 1em 2em;
	margin: 0 0 2em;
	border-left: 5px solid #eee;
}

hr
{
	height: 0;
	max-width: 1028px;
	margin-top: 16px;
	margin-bottom: 32px;
	border: 0;
	border-top: 1px solid #ddd;
	
}

table
{
	background-color: transparent;
	border-spacing: 0;
	border-collapse: collapse;
}

th, td
{
	padding: .5em 1em;
	vertical-align: top;
	text-align: left;
}

td.right
{
text-align: right;
}

td.center
{
text-align: center;
}

td.leftmid
{
text-align: left;
vertical-align: middle;
}

td.allcenter
{
text-align: center;
vertical-align: middle;
}

a:link { color: royalblue; }
a:visited { color: purple; }
a:focus { color: black; }
a:hover { color: green; }
a:active { color: red; }

/* -----------------------
Layout styles
------------------------*/
.top 
{
width: 1180px;
}

.container
{
    width: 1088px;
	margin-left: auto;
	margin-right: auto;
}

.header
{
	color: #fff;
	width: 1088px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
        padding: 1em 1.25em;

}

.header-heading 
{ 
    margin: 0; 
	color: #000;
	width: 300px;
}

.nav-bar
{
    width: 1088px;
	padding: 0;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	background: url("../img/background_menu.jpg");
	height: 30px;
}

.content
{
	padding: 1em 1.25em;
	margin-top: .2em;
	width: 1003px;
	margin-left: auto;
	margin-right: auto;
}

.content2
{
	padding: 1em 1.25em;
padding-right: 40px;
	margin-top: .2em;
	background-color: #fff;
	width: 1046px;
	margin-left: auto;
	margin-right: auto;
	border-style: 2px solid gray;
    border-width: 17px 0px 0px 0px;
    -moz-border-image: url(../img/bara.jpg) 17 67 0 52;
    -webkit-border-image: url(../img/bara.jpg) 17 67 0 52;
    border-image: url(../img/bara.jpg) 17 67 0 52 fill;
	border-left: 2px solid gray;
	border-right: 2px solid gray;
	border-bottom: 2px solid gray;
	box-shadow: 3px 3px 3px #888888;
}

.content3
{
	padding: 1em 1.25em;
	margin-top: .2em;
	width: 962px;
}

.footer
{
	color: #000;
	padding: 1em 1.25em;
	height: .1em;
	margin-top: .5em;
}

/* -----------------------
Nav
------------------------*/

.nav
{
    margin-top: auto;
	margin-bottom: auto;
	margin-left: 1%;
	margin-right: 1%;
	padding: 0;
	list-style: none;
	width: 1088px;
}

.nav li
{
	display: inline;
	margin: 0;
}

.nav a
{
	display: block;
	padding: .7em 1.25em;
	color: #fff;
	text-decoration: none;
}

a.menu
{
	display: block;
	color: #fff;
	text-decoration: none;
}

.nav a:link { color: #fff; }
.nav a:visited { color: #fff; }

.nav a:focus
{
	color: #4C1A33;
}

.nav a:hover
{
	color: #4C1A33;
	text-decoration: underline;
}

.nav a:active
{
	color: #4C1A33;
	text-decoration: underline;
}

/* -----------------------
Single styles
------------------------*/

.img-responsive {  
display: block;
}

img.grayscale {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

img.grayscale:hover {
  filter: none;
  -webkit-filter: grayscale(0%);
}

#small_img{
width:290px;
height:600px;
float:left;
overflow:scroll;
text-align:center;
background-color:06AEFF;
}

.btn
{
	color: #fff !important;
	background-color: royalblue;
	border-color: #222;
	display: inline-block;
	padding: .5em 1em;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: .2em;
	text-decoration: none;
}

.btn:hover
{
	color: #fff !important;
	background-color: green;
}

.btn:focus
{
	color: #fff !important;
	background-color: black;
}

.btn:active
{
	color: #fff !important;
	background-color: red;
}

.table
{
	margin-bottom: 20px;
}

.list-unstyled
{
	padding-left: 0;
	list-style: none;
}

.list-inline
{
	padding-left: 0;
	margin-left: -5px;
	list-style: none;
}

.list-inline > li
{
	display: inline-block;
	padding-right: 5px;
	padding-left: 5px;
}

/* -----------------------
Wide styles
------------------------*/

@media (min-width: 42em)
{
	.header { padding: 0em 0em; }
	.nav-bar { padding: .5em 0em; }
	.content { padding: .5em .5em; }
	.footer { padding: 2em 3em; }
	
	.nav li
	{
		display: inline;
		margin: 1em 1em 1em 1.3em;
	}
	
	.nav a
	{
		display: inline;
		padding: 0;
		border-bottom: 0;
	}
}

ul.square {
 list-style-type: square;
 list-style-image: url("../img/square_list.jpg");
}

div.title {
margin-left: 15%;
}

div.subtitle {
margin-left: 17%;
}

div.stanga  {
margin-left: 2%;
}

#stanga, #miri{
display:inline;
}

div.motive {
margin-left: 22px;
width: 1018px;
text-align: justify;
}

div.comment {
margin-left: 19%;
}

div.poza {
margin-top: 2%;
margin-left: 2%;
float: left;
}

#poza, #comment {
display: inline;
}

div.relative {
    position: relative;
	width: 1003px;
	margin-left: auto;
	margin-right: auto;
	}
