* {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
a {
  color: #036;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/****** css reset end */

body {
  text-align: center;
  font-family: "Lucida Sans Unicode","Lucida Sans","Lucida Grande",Verdana,Helvetica,Arial,sans-serif;
  font-size: 12px;
  background: #d2d7dc;
  margin-bottom: 30px;
}

#headercontainer {
  background: white;
  height: 112px;
  width: 100%;
  border-bottom: 5px solid;
}

body.homepage #headercontainer {
  border-color: #004164;
}
body.vesti #headercontainer {
  border-color: #b00000;
}
body.c1c #headercontainer {
  border-color: #800000;
}
body.gallery #headercontainer {
  border-color: #d51100;
}
body.kladionica #headercontainer {
  border-color: #e89108;
}
body.livescore #headercontainer {
  border-color: #e89108;
}
body.poker #headercontainer {
  border-color: #21810c;
}
body.sms #headercontainer {
  border-color: #4b169d;
}
body.tipsteri #headercontainer {
  border-color: #027762;
}
body.kontakt #headercontainer {
  border-color: #002e97;
}
body.marketing #headercontainer {
  border-color: #002e97;
}


#header {
  width: 960px;
  margin: auto;
  height: 83px;
  text-align: left;
  position: relative;
}

#header h1 {
  overflow: hidden;
  text-indent: -10000px;
  position: absolute;
  background-repeat: no-repeat;
  background-position: top left;
  width: 214px;
  height: 41px;
  top: 16px;
  left: 5px;
}
body.homepage #header h1 {
  background-image: url("../images/homepage/logo.png");
}
body.vesti #header h1 {
  background-image: url("../images/vesti/logo.png");
}
body.c1c #header h1 {
  background-image: url("../images/c1c/logo.png");
}
body.gallery #header h1 {
  background-image: url("../images/gallery/logo.png");
}
body.kladionica #header h1 {
  background-image: url("../images/kladionica/logo.png");
}
body.livescore #header h1 {
  background-image: url("../images/livescore/logo.png");
}
body.poker #header h1 {
  background-image: url("../images/poker/logo.png");
}
body.sms #header h1 {
  background-image: url("../images/sms/logo.png");
}
body.tipsteri #header h1 {
  background-image: url("../images/tipsteri/logo.png");
}
body.kontakt #header h1 {
  background-image: url("../images/kontakt/logo.png");
}
body.marketing #header h1 {
  background-image: url("../images/marketing/logo.png");
}


#header p#slogan {
  overflow: hidden;
  font-size: 11px;
  color: #424345;
  top: 60px;
  left: 5px;
  width: 214px;
  text-align: center;
  position: absolute;
}

#header div#headerad {
  position: absolute;
  width: 468px;
  height: 60px;
  top: 11px;
  left: 466px;
}

#mainmenu {
  width: 960px;
  margin: auto;
  height: 34px;
  text-align: left;
  margin-bottom: -5px;
}

body.homepage #mainmenu {
  background: url("../images/homepage/mainmenu.png") #036399;
}
body.vesti #mainmenu {
  background: url("../images/vesti/mainmenu.png") #b00000;
}
body.c1c #mainmenu {
  background: url("../images/c1c/mainmenu.png") #630000;
}
body.gallery #mainmenu {
  background: url("../images/gallery/mainmenu.png") #db1200;
}
body.kladionica #mainmenu {
  background: url("../images/kladionica/mainmenu.png") #eb9c1b;
}
body.livescore #mainmenu {
  background: url("../images/livescore/mainmenu.png") #fe810f;
}
body.poker #mainmenu {
  background: url("../images/poker/mainmenu.png") #278b11;
}
body.sms #mainmenu {
  background: url("../images/sms/mainmenu.png") #5721aa;
}
body.tipsteri #mainmenu {
  background: url("../images/tipsteri/mainmenu.png") #058c74;
}
body.kontakt #mainmenu {
  background: url("../images/kontakt/mainmenu.png") #0338b1;
}
body.marketing #mainmenu {
  background: url("../images/marketing/mainmenu.png") #0338b1;
}




#mainmenu ul {
  float: left;
  display: inline;
  width: 770px;
  line-height: 34px;
  height: 34px;
  margin-left: 12px;
}
#mainmenu li {
  display: inline;
  float: left;
  width: auto;
  padding: 0px 5px;
  background: url("../images/mainmenuseparator.png") no-repeat 100% 50%;
}
#mainmenu li a {
  padding: 0px 5px;
  display: block;
  width: auto;
  color: white;
  text-decoration: none;
}
#mainmenu li.selected {
  background: url("../images/mainmenuselected.png") no-repeat 100% 50%;
  padding-left: 1px;
  margin-left: 8px;
}
#mainmenu li.selected a {
  background: url("../images/mainmenuselectedlink.png") no-repeat 0% 50%;
  margin-left: -4px;
}

#mainmenu div#topsearch {
  float: right;
  display: inline;
  margin-right: 10px;
  margin-top: 5px;
  width: 161px;
  height: 23px;
  background: url("../images/topsearchbg.png") no-repeat;
}
body.homepage #mainmenu div#topsearch {
  margin-right: 5px;
}
#mainmenu div#topsearch input.box {
  display: inline;
  float: left;
  margin: 4px 0px 0px 10px;
  width: 129px;
  height: 18px;
  background: white;
}
#mainmenu div#topsearch input.button {
  display: block;
  float: left;
  display: inline;
  background: white no-repeat top left;
  width: 18px;
  text-indent: -10000px;
  overflow: hidden;
  height: 18px;
  margin: 3px 0 2px;
}

body.homepage #mainmenu div#topsearch input.button {
  background-image: url("../images/homepage/topsearchsubmit.png");
}
body.vesti #mainmenu div#topsearch input.button {
  background-image: url("../images/vesti/topsearchsubmit.png");
}
body.c1c #mainmenu div#topsearch input.button {
  background-image: url("../images/c1c/topsearchsubmit.png");
}
body.gallery #mainmenu div#topsearch input.button {
  background-image: url("../images/gallery/topsearchsubmit.png");
}
body.kladionica #mainmenu div#topsearch input.button {
  background-image: url("../images/kladionica/topsearchsubmit.png");
}
body.livescore #mainmenu div#topsearch input.button {
  background-image: url("../images/livescore/topsearchsubmit.png");
}
body.poker #mainmenu div#topsearch input.button {
  background-image: url("../images/poker/topsearchsubmit.png");
}
body.sms #mainmenu div#topsearch input.button {
  background-image: url("../images/sms/topsearchsubmit.png");
}
body.tipsteri #mainmenu div#topsearch input.button {
  background-image: url("../images/tipsteri/topsearchsubmit.png");
}
body.kontakt #mainmenu div#topsearch input.button {
  background-image: url("../images/kontakt/topsearchsubmit.png");
}
body.marketing #mainmenu div#topsearch input.button {
  background-image: url("../images/marketing/topsearchsubmit.png");
}


/**************** Header End */

#contentcontainer {
  margin: auto;
  text-align: left;
  width: 958px;
  border-left: 1px solid #e9e8e8;
  border-right: 1px solid #e9e8e8;
  background: white;
  min-height: 200px;
  overflow: hidden;
  padding-bottom: 20px;
}
#secondmenu {
  height: 23px;
  border-bottom: 1px solid #dedede;
  background: #f2f2f2;
}
#secondmenu .right {
  float: right;
  line-height: 23px;
  vertical-align: middle;
  width: auto;
  padding-right: 5px;
}
#secondmenu .right a {
  text-decoration: none;
  color: #4d4d4d;
}
#secondmenu ul {
  padding-left: 5px;
  line-height: 23px;
  vertical-align: middle;
}
#secondmenu li {
  float: left;
  line-height: 15px;
  margin: 4px 0 0;
  padding: 0 5px;
  border-right: 1px solid #4d4d4d;
  display: inline;
  font-size: 12px;
}
#secondmenu li.last {
  border: none;
}
#secondmenu li a {
  text-decoration: none;
  color: #4d4d4d;
}

body.homepage #secondmenu li.selected a {
  color: #0011d4;
}
body.vesti #secondmenu li.selected a {
  color: #b00000;
}

/*********** SecondMenu End */

#footer {
  width: 960px;
  height: 34px;
  margin: auto;
  text-align: left;
  line-height: 34px;
  color: white;
  font-size: 11px;
  margin-bottom: 5px;
}
body.homepage #footer {
  background: url("../images/homepage/footer.png") no-repeat #004164;
}
body.vesti #footer {
  background: url("../images/vesti/footer.png") no-repeat #b00000;
}
body.gallery #footer {
  background: url("../images/gallery/footer.png") no-repeat top left #d51100;
}
body.c1c #footer {
  background: url("../images/c1c/footer.png") no-repeat #800000;
}
body.kladionica #footer {
  background: url("../images/kladionica/footer.png") no-repeat #e89108;
}
body.livescore #footer {
  background: url("../images/livescore/footer.png") no-repeat #e89108;
}
body.poker #footer {
  background: url("../images/poker/footer.png") no-repeat #004164;
}
body.sms #footer {
  background: url("../images/sms/footer.png") no-repeat #004164;
}
body.tipsteri #footer {
  background: url("../images/tipsteri/footer.png") no-repeat #027762;
}
body.kontakt #footer {
  background: url("../images/kontakt/footer.png") no-repeat #002e97;
}
body.marketing #footer {
  background: url("../images/marketing/footer.png") no-repeat #002e97;
}

#footer ul {
  float: right;
  display: inline;
  margin-right: 5px;
}
#footer li {
  float: left;
  display: inline;
}
#footer p {
  float: left;
  display: inline;
  padding-left: 5px;
}
#footer a {
  color: white;
  text-decoration: none;
}

/******** Footer End */


.pagepath {
  width: 940px;
  height: 11px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid #f2f2f2;
  margin-left: 10px;
  font-size: 11px;
  overflow: hidden;
  margin-bottom: 10px;
}
.pagepath li {
  float: left;
  display: inline;
  margin-right: 2px; 
}
.pagepath li a {
  text-decoration: none;
  color: #505050;
}

/******* Pagepath end */

#content {
  float: left;
  display: inline;
  margin-left: 9px;
  width: 728px;
}
body.homepage #content {
  margin-left: 4px;
  width: 780px;  
}

#sidebar {
  width: 200px;
  margin: 0px;
  padding-left: 10px;
  overflow: hidden;
  float: left;
  display: inline;
  line-height: 14px;
}
body.homepage #sidebar {
  width: auto;
}

#sidebar .boxright {
  width: 200px;
  overflow: hidden;
}
body.tipsteri #sidebar .boxright {
  width: auto;
}
#sidebar .boxr {
  margin-top: 5px;
  margin-bottom: 5px;
}
#sidebar .first {
  margin-top: 0px;
}
body.homepage #sidebar .boxright {
  width: 160px;
}

#sidebar p {
  margin-left: 5px;
  margin-right: 5px;
  font-size: 11px;
  color: #444444;
  line-height: 14px;
}

#sidebar .inlineadright {
  width: 180px;
/*  height: 150px;*/
  margin-left: 5px;
  text-align: center;
}
#sidebar .inlineadright * {
  margin: auto;
}
body.homepage #sidebar .inlineadright {
  margin: 10px 0 18px 0px;
  width: 125px;
  height: 125px;
}


.boxout {
  border: 1px solid #ebebeb;
  margin-top: 10px;
  width: 100%;
  clear: both;
  margin-bottom: 10px;
}
.boxin {
  border: 2px solid white;
  background: url("../images/boxbg.png") top left repeat-x white;
  padding: 12px 12px 9px;
  overflow: hidden;
  position: relative;
}
body.gallery div.boxin, body.gallery #sidebar .boxinr {
  background: url("../images/gallery/boxbg.png") top left repeat-x;
}
body.livescore div.boxin, body.livescore #sidebar .boxinr {
  background: url("../images/livescore/boxbg.png") top left repeat-x;
}
body.kladionica div.boxin, body.kladionica #sidebar .boxinr {
  background: url("../images/kladionica/boxbg.png") top left repeat-x;
}
body.vesti div.boxin, body.vesti #sidebar .boxinr {
  background: url("../images/vesti/boxbg.png") top left repeat-x;
}
.boxin h2, .boxr h2 {
  font-weight: normal;
  font-size: 14px;
  border-bottom: 1px solid;
  overflow: hidden;
  margin-bottom: 8px;
}

.boxin h2 span, .boxr h2 span {
  display: block;
  width: auto;
  float: left;
  display: inline;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
body.homepage .boxin h2, body.homepage .boxin h2 span, body.homepage .boxr h2, body.homepage .boxr h2 span  {
  border-color: #004164;
}
body.vesti .boxin h2, body.vesti .boxin h2 span, body.vesti .boxr h2, body.vesti .boxr h2 span {
  border-color: #b00000;
}
body.c1c .boxin h2, body.c1c .boxin h2 span, body.c1c .boxr h2, body.c1c .boxr h2 span {
  border-color: #800000;
}
body.gallery .boxin h2, body.gallery .boxin h2 span, body.gallery .boxr h2, body.gallery .boxr h2 span {
  border-color: #d51100;
}
body.kladionica .boxin h2, body.kladionica .boxin h2 span, body.kladionica .boxr h2, body.kladionica .boxr h2 span {
  border-color: #e89108;
}
body.livescore .boxin h2, body.livescore .boxin h2 span, body.livescore .boxr h2, body.livescore .boxr h2 span {
  border-color: #e89108;
}
body.poker .boxin h2, body.poker .boxin h2 span, body.poker .boxr h2, body.poker .boxr h2 span {
  border-color: #21810c;
}
body.sms .boxin h2, body.sms .boxin h2 span, body.sms .boxr h2, body.sms .boxr h2 span {
  border-color: #4b169d;
}
body.tipsteri .boxin h2, body.tipsteri .boxin h2 span, body.tipsteri .boxr h2, body.tipsteri .boxr h2 span {
  border-color: #027762;
}
body.kontakt .boxin h2, body.kontakt .boxin h2 span, body.kontakt .boxr h2, body.kontakt .boxr h2 span {
  border-color: #002e97;
}


#col1 {
  float: left;
  display: inline;
  width: 470px;
}
body.vesti #col1 {
  width: 720px;
}

#col2 {
  margin-left: 10px;
  width: 300px;
  float: left;
  display: inline;
}

/******* Main Parts End */


/* Safari blue border fix */
input[type=text]:focus, input[type=password]:focus, textarea:focus {
outline: 0 none;
}
textarea {
  resize:none;
}
