/* 
    Document   : com_slider
    Created on : 2012.05.30., 12:09:23
    Author     : semmer.infoart.hu
*/

div#slider-box {
  width: 960px;
  height: 540px;
  margin: 0 auto !important;
  position: relative;
  overflow: hidden;
}

div#slider-cover-tl {
  width: 241px;
  height: 112px;
  background: transparent url('../gfx/cover_tl.png') 0 0 no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
}

div#slider-cover-bl {
  width: 331px;
  height: 428px;
  background: transparent url('../gfx/cover_bl.png') 0 0 no-repeat;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 40;
}

div#slider-cover-tr {
  width: 278px;
  height: 398px;
  background: transparent url('../gfx/cover_tr.png') 0 0 no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 30;
}

div#slider-cover-br {
  width: 433px;
  height: 142px;
  background: transparent url('../gfx/cover_br.png') 0 0 no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 40;
}

div.portlet-content.box.part-slider {
  width: 960px;
  height: 540px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}

div.box.part-slider div.items {
  width: 20000px;
  height: 540px;
  position: absolute;
}

div.items > div {
  float: left;
  width: 960px;
  height: 540px;
  position: relative;
}

div.portlet-content.box.part-slider div.component-body div.com-content {
  height: 0px;
}

div.portlet-content.box.part-slider div.component-body div.item {
  width: 960px;
  height: 540px;
  position: relative;
  top: 0;
  overflow: hidden;
  background: transparent;
}


div.portlet-content.box.part-slider div.component-body div.item > h1,
div.portlet-content.box.part-slider div.component-body div.item > h2,
div.portlet-content.box.part-slider div.component-body div.item > h3,
div.portlet-content.box.part-slider div.component-body div.item > div.data  {
  max-width: 600px;
}

div.portlet-content.box.part-slider div.component-body div.item div.pic img {
  position: absolute;
  top: 0;
  z-index: -1;
}

div.portlet-content.box.part-slider div.component-body div.item > h1,
div.portlet-content.box.part-slider div.component-body div.item > h2,
div.portlet-content.box.part-slider div.component-body div.item > h3 {
  background: #000;
  float: right;
  text-align: right;
  padding: 18px 160px 18px 18px;
  margin: 80px 0 0 0;
  clear: both;
  height: 40px;
  display: block;
}

div.portlet-content.box.part-slider div.component-body div.item > h1 > a,
div.portlet-content.box.part-slider div.component-body div.item > h2 > a,
div.portlet-content.box.part-slider div.component-body div.item > h3 > a {
  color: #fff;
  font-size: 30px;
  height: 40px;
  display: block;
  overflow: hidden;
  text-decoration: none;
  white-space: normal;
  clear: both;
  position: relative;
  z-index: 48;
}

div.portlet-content.box.part-slider div.component-body div.item > div.data {
  float: right;
  margin: 6px 0 0 0;
  clear: both;
  text-align: right;
}

div.portlet-content.box.part-slider div.component-body div.item > div.data > p {
  background: #000;
  color: #fff;
  padding: 5px 130px 5px 10px;
  margin: 0;
  display: inline-block;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring {
  position: absolute;
  bottom: 22px;
  left: 237px;
  z-index: 40;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a {
  display: block;
  width: 21px;
  height: 21px;
  background: transparent url('../gfx/slider_button.png') 0 0 no-repeat;
  text-indent: -9999px;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a:nth-last-child(2) {
  position: relative;
  left: -11px;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a:nth-last-child(3) {
  position: relative;
  left: -22px;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a:nth-last-child(4) {
  position: relative;
  left: -33px;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a:nth-last-child(5) {
  position: relative;
  left: -44px;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a:nth-last-child(6) {
  position: relative;
  left: -55px;
}

div.portlet-content.box.part-slider div.component-body div.navi-ring > a:hover,
div.portlet-content.box.part-slider div.component-body div.navi-ring > a.active {
  background-position: 0 -21px;
}

/* Mobile & Tablet ---------------------------------------------------------- */

@media only screen and (min-width: 1305px) and (max-width: 1680px) {
  div#slider-box {
    width: 960px;
  }
  div.portlet-content.box.part-slider div.component-body div.item {
    width: 960px;
  }
  div.portlet-content.box.part-slider div.component-body div.item > h1,
  div.portlet-content.box.part-slider div.component-body div.item > h2,
  div.portlet-content.box.part-slider div.component-body div.item > h3,
  div.portlet-content.box.part-slider div.component-body div.item > div.data  {
    max-width: 600px;
  }
}

@media only screen and (min-width: 984px) and (max-width: 1304px) {
  div#slider-box {
    width: 960px;
  }
  div.portlet-content.box.part-slider div.component-body div.item {
    width: 960px;
  }
  div.portlet-content.box.part-slider div.component-body div.item > h1,
  div.portlet-content.box.part-slider div.component-body div.item > h2,
  div.portlet-content.box.part-slider div.component-body div.item > h3,
  div.portlet-content.box.part-slider div.component-body div.item > div.data  {
    max-width: 600px;
  }
}

@media only screen and (min-width: 665px) and (max-width: 983px) {
  div#slider-box {
    display: none;
  }
  /*div.portlet-content.box.part-slider div.component-body div.item {
    width: 640px;
  }
  div.portlet-content.box.part-slider div.component-body div.item > h1 {
    margin: 100px 0 0 100%;
    background: #000 url('../gfx/coverplate_right.png') right -100px no-repeat;
  }
  div.portlet-content.box.part-slider div.component-body div.item > h1,
  div.portlet-content.box.part-slider div.component-body div.item > div.data  {
    max-width: 450px;
  }*/
}

@media only screen and (min-width: 480px) and (max-width: 664px) {
  div#slider-box {
    display: none;
  }
}

@media only screen and (min-width : 320px) and (max-width : 479px) {
  div#slider-box {
    display: none;
  }
}