/***********************************************/
/* main.css                                    */
/* pogrebne-storitve-babajic.si                */
/***********************************************/

/* -------------------------------------------------------------- 
   reset.css
   * Resets default browser CSS.
-------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1.5;
}
/* Tables still need 'cellspacing="0"' in the markup. */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
table, td, th {
	vertical-align: top;
}
/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/* Remove annoying border on linked images. */
a img {
	border: none;
}
label{
	text-align:left;
}
/***********************************************/
/* HTML tag styles                             */
/***********************************************/ 

body {
	color: #6d6e71;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.5em;
	margin: 0px;
	padding: 0px;
	background-color: #231f20;
}
p {
	margin: 0px;
	padding-top: 7px;
	padding-right: 0px;
	padding-bottom: 7px;
	padding-left: 0px;
}
fieldset {
	padding: 10px;
	border: 1px solid #CCCCCC;
	margin: 0px;
}
legend {
	padding: 5px;
	font-weight: bold;
}
a {
	text-decoration: underline;
	color:#97989b;
}
a:link {
	text-decoration: underline;
	color:#97989b;
}
a:visited {
	text-decoration: underline;
	color:#97989b;
}
a:hover {
	text-decoration: none;
	color:#97989b;
}
a:active {
	text-decoration: underline;
	color:#97989b;
}
h1 {
	margin: 0px;
	font-size: 1.45em;
	color: #000000;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	line-height: 1.4em;
	font-weight: bold;
}
h2 {
	margin: 0px;
	font-size: 1.18em;
	font-weight: bold;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	color: #000000;
}
h3 {
	margin: 0px;
	font-size: 1.166667em;
	color: #999999;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}
h4 {
	margin: 0px;
	font-size: 1em;
	color: #999999;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}
ul {
	padding: 0px 0px 0px 10px;
	margin: 0px;
}
li {
	margin: 0px;
	padding: 0px;
	text-align:left;
}
form {
	margin: 0;
	padding: 0;
}
img {
	behavior: url(iepngfix/iepngfix.htc);
}
input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.4em;
}
/***********************************************/
/* Layout Divs                                 */
/***********************************************/

#frame {
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	background-image: url(images/body_bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}
#mainhead {
	padding: 0px;
	padding-left:20px;
	width: 1000px;
	margin: 0 auto;
}
#mainbody {
	margin: 0 auto;
	width: 950px;
}
#mainbodycenter {
	float:left;
	width: 635px;
	padding-top: 20px;
	margin-right: 10px;
}
#mainbodyright {
	float: right;
	width: 158px;
}
#mainbodyleft {
	float: left;
	width: 145px;
	padding-top: 270px;
}
#mainfoot {
	margin: 0 auto;
	width: 950px;

}
/***********************************************/
/* Head styles                                */
/***********************************************/
#headtop {
	text-decoration: none;
	padding-bottom: 10px;
}
#headtop a {
	text-decoration: none;
	color: #868789;
}
#headtop a:link {
	text-decoration: none;
	color: #868789;
}
#headtop a:visited {
	text-decoration: none;
}
#headtop a:hover {
	text-decoration: none;
	color: #FFFFFF;
}
#headtopright {
	color:#FFFFFF;
	width: 300px;
	font-size: 1em;
	padding-top: 11px;
	padding-right: 80px;
	float: right;
	text-align: right;
}
#headtopleft {
	width: 300px;
	padding-top: 11px;
	float: left;
	padding-left: 80px;
}
#nav_slo {
	background-image: url(images/head_bg_slo.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 167px;
}
#nav_ba {
	background-image: url(images/head_bg_ba.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 167px;
}
#nav_nem {
	background-image: url(images/head_bg_nem.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 167px;
}
#nav_eng {
	background-image: url(images/head_bg_eng.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 167px;
}
#menu {
	color: #ffffff;
	padding-top: 130px;
	padding-right: 0px;
	padding-bottom: 7px;
	padding-left: 0px;
}
.droplinetabs {
	overflow: hidden;
	text-align: center;
}
.droplinetabs ul {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
}
.droplinetabs li {
	display: inline;
	margin: 0 2px 0 0;
	padding: 0;
	
}
.droplinetabs a {
	float: left;
	color: white;
	background: #d1b565 url(images/leftedge2.gif) no-repeat left top;
	text-decoration: none;
	letter-spacing: 1px;
	margin-top: 0;
	margin-right: 7px;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 2px;
	padding-left: 2px;
}
.droplinetabs a:link, .droplinetabs a::visited, .droplinetabs a:active {
	color: white;
}
.droplinetabs a span {
	text-transform: uppercase;
	float: left;
	display: block;
	background: transparent url(images/rightedge2.gif) no-repeat right top;
	cursor: pointer;
	padding-top: 3px;
	padding-right: 9px;
	padding-bottom: 0px;
	padding-left: 6px;
	color: #ffffff;
	text-decoration:none;
}
.droplinetabs a span {
	float: none;
}
.droplinetabs a:hover {
	background-color: #dbc683; /*background color of tabs onMouseover*/
	color: #a5823d;
}
.droplinetabs a:hover span {
	background-color: transparent;
}
/* Sub level menus*/
.droplinetabs ul li ul {
	position: absolute;
	margin-top: -1px;
	z-index: 100;
	left: 0;
	top: 0;
/*	background: #d1b565; /*sub menu background color */
	visibility: hidden;
}
/* Sub level menu links style */
.droplinetabs ul li ul li a {
	font-size: 11px;
	font-weight: normal;
	padding-right: 8px;
	background: #a5823d; /*sub menu background color */
	margin-top: 5px;
	margin-right: 6px;
	margin-bottom: 2px;
	margin-left: 0;
	padding-top: 4px;
	padding-bottom: 3px;
	padding-left: 8px;
}
.droplinetabs ul li ul li a span {
	background: #a5823d; /*sub menu background color */
}
.droplinetabs ul li ul li a:hover { /*sub menu links' background color onMouseover. Add rounded edges in capable browsers */
	background: #dbc683;
}
/***********************************************/
/* Frontpage styles                            */
/***********************************************/
.front_main {
	padding-top:0px;
	padding-bottom: 10px;
}
.front_main_box {
	font-size: 14px;
	line-height: 1.5em;
	margin-bottom:20px;
	line-height: 22px;
	padding: 15px;
	text-align: left;
	border: 1px solid #dcd48a;
	background-image: url(images/front_box_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.front_main_box p{
	padding: 0px;
}
.front_main_box img{
	float: left;
	margin-right:15px;
}
.front_box {
	float: left;
	width: 255px;
	margin-right: 20px;
	margin-bottom:20px;
	line-height: 18px;
	padding: 15px;
	font-size: 13px;
	line-height: 1.5em;
	text-align: left;
	border: 1px solid #dcd48a;
	background-image: url(images/front_box_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.front_box_nopad {
	margin-right: 0px;
}
.front_box p{
	padding-bottom: 2px;
}
.front_box img{
	float: left;
	margin-right:15px;
}
.front_box h2{
	font-size:16px;
	line-height: 22px;
	padding-top:0px;
}
.front_box a.title{
	color:#000000 !important;
	text-decoration: none !important;
	display:block !important;
}
.front_box a.title:link{
	color:#000000 !important;
	text-decoration: none !important;
}
.front_box a.title:visited{
	text-decoration: none !important;
	color:#000000 !important;
}
.front_box a.title:hover{
	color:#000000 !important;
	text-decoration: none !important;
	color:#a5823d !important;
}
.front_box ul{
	text-align: left;
}

/***********************************************/
/* Content styles                              */
/***********************************************/

#content {
	margin-top: 6px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 30px;
	padding-bottom: 20px;
	background-color: #f5efb5;
	color:#231f20;
	min-height: 510px;
}
#content td{
	padding: 5px;
	text-align:center;
}
#content table.left td{
	padding: 5px;
	text-align:left;
}
#content ul {
	padding: 0em;
	margin-top: 0.5em;
	margin-right: 0.2em;
	margin-bottom: 0.3em;
	margin-left: 3em;
}

#content ul li {
	margin-top: 0em;
	margin-right: 0em;
	margin-left: 0em;
	padding-left: 1em;
	padding-bottom: 0.4em;
}
#content a {
	text-decoration: underline;
	color:#a5823d;
}
#content a:link {
	text-decoration: underline;
	color:#a5823d;
}
#content a:visited {
	text-decoration: underline;
	color:#a5823d;
}
#content a:hover {
	text-decoration: none;
	color:#a5823d;
}
#content a:active {
	text-decoration: underline;
	color:#a5823d;
}

#contact {
	color:#FFFFFF;
	font-size: 12px;
}
#contact h2{
	color:#FFFFFF;
	font-size: 13px;
	margin: 0px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}
#contact p{
	color:#FFFFFF;
	font-size: 11px;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 0px;
}
#button a{
	width: 120px;
	color:#FFFFFF;
	font-size: 13px;
	font-weight:bold;
	margin-top:20px;
	margin-bottom:20px;
	background-color:#5a7db5;
	text-transform: capitalize;
	text-align:center;
	display:block;
	text-decoration:none;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#button2 a:hover{
	background-color:#5a7db5;
	background-image: none;
}
#button2 a{
	width: 120px;
	color:#FFFFFF;
	font-size: 13px;
	font-weight:bold;
	margin-top:20px;
	margin-bottom:20px;
	background-color:#666;
	text-transform: capitalize;
	text-align:center;
	display:block;
	text-decoration:none;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#button a:hover{
	background-color:#5a7db5;
	background-image: none;
}
#share {
	color:#FFFFFF;
	font-size: 11px;
	padding-top: 20px;
}
#share a{
	line-height: 13px;
	text-decoration:none;
}
#share a:link{
	line-height: 13px;
	text-decoration:none;
}
#share a:visited{
	line-height: 13px;
	text-decoration:none;
}
#share a:hover{
	line-height: 13px;
	text-decoration:none;
}
#share table td{
	vertical-align:middle;
	padding-bottom: 4px;
}
#member {
	text-align: right;
	color:#CCCCCC;
	font-size: 11px;
	padding-right: 15px;
	behavior: url(iepngfix/iepngfix.htc);
}
#member img{
	margin-bottom: 10px;
}
#member a{
	line-height: 13px;
	text-decoration:none;
}
#member a:link{
	line-height: 13px;
	text-decoration:none;
}
#member a:visited{
	line-height: 13px;
	text-decoration:none;
}
#member a:hover{
	line-height: 13px;
	text-decoration:none;
}
.main_box {
	font-size: 14px;
	line-height: 1.5em;
	margin-bottom:10px;
	text-align: left;
	border: 1px solid #dcd48a;
	background-image: url(images/front_box_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
}
.submenu{
	width:180px;
	float:right;
	font-size:12px;	
	margin-left:15px;
	margin-top:10px;
	margin-bottom: 10px;
	padding:0px;
}
.submenu ul{
	list-style: none;
	padding:0px !important;
	margin-top: 0px !important;
	margin-right: 0px !important;
	margin-bottom: 0px !important;
	margin-left: 0px !important;
}

/* Sub level menu links style */
.submenu ul li a, .submenu ul li a:link, .submenu ul li a:visited {
	font-size: 11px;
	font-weight: normal;
	padding-right: 8px;
	background: #a5823d; /*sub menu background color */
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 2px;
	margin-left: 0px;
	padding-top: 4px;
	padding-bottom: 3px;
	padding-left: 8px;
	display:block;
	color:#FFFFFF !important;
	text-decoration: none !important;
}
.submenu ul li a:hover {
	color: #a5823d !important;
	background:#dbc683 !important;

}
/***********************************************/
/* Footer styles                               */
/***********************************************/

#foothold {
	padding-top: 15px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	text-align:center;
	font-size: 12px;
}
#foothold a {
	text-decoration: none;
	color:#97989b;
}
#foothold a:link {
	text-decoration: none;
	color:#97989b;
}
#foothold a:visited {
	text-decoration: none;
	color:#97989b;
}
#foothold a:hover {
	text-decoration: none;
	color:#FFFFFF;
}
#foothold a:active {
	text-decoration: none;
	color:#97989b;
}

/***********************************************/
/* Form styles                                 */
/***********************************************/

.cssform p {
	width: 480px;
	clear: left;
	margin: 0;
	padding: 5px 0 8px 0;
	padding-left: 155px; /*width of left column containing the label elements*/
	height: 1%;
}
.cssform label {
	font-weight: bold;
	float: left;
	margin-left: -155px; /*width of left column*/
	width: 150px; /*width of labels. Should be smaller than left column (155px) to create some right margin*/
}
.cssform input[type="text"] { /*width of text boxes. IE6 does not understand this attribute*/
	width: 180px;
}
.cssform textarea {
	width: 250px;
	height: 100px;
}
/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/

* html .threepxfix {
	margin-left: 3px;
}
.grf {
	padding: 10px;
	background-color: #EFEFEF;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: dashed;
	border-bottom-style: dashed;
	border-top-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
}
/**************align styles **************/

#left {
	float: left;
	font-size: 11px;
	vertical-align: top;
	width: 49%;
}
#right {
	float: right;
	width: 49%;
	font-size: 11px;
	vertical-align: top;
}
.left2 {
	float: left;
	width: 100px;
	text-align: right;
	padding: 5px;
	vertical-align: bottom;
}
.right2 {
	float: right;
	width: 100px;
}
.img_left {
	float: left;
	padding: 15px;
	border: 1px solid #dcd48a;
	background-image: url(images/front_box_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-right:15px;
}
.img_right {
	float: right;
	padding: 15px;
	border: 1px solid #dcd48a;
	background-image: url(images/front_box_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-left:15px;
}
.alignleft {
	text-align: left;
}
.alignright {
	text-align: right;
}
.alignleft {
	text-align: left;
}
.center {
	text-align: center;
	padding-top: 35px;
	padding-bottom: 20px;
}
.clear {
	clear:both;
}
.sp {
	height: 5px;
}
.txtg {
	color: #CCCCCC;
}
.padb {
	padding-bottom: 15px;
}
.padtop {
	padding-top: 15px;
}
.padbc {
	padding-bottom: 15px;
	text-align:center;
}
.st {
	font-size:0.7em;
}
.img_left {
	float: left;
}
.align-left {
	border:1px solid #CCCCCC;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	width:85%;
}
.align-left p {
	padding: 0px;
}

