/* 
    Document   : com_content
    Created on : 2012.05.31., 10:04:01
    Author     : semmer@infoart.hu
*/

div.portlet-content.part-content div.component-body {
  padding: 0;
  position: relative;
}

div.portlet-content.part-content div.component-body iframe {
  z-index: 2 !important;
}

div.portlet-content.part-content div.article-tags {
  margin: 6px 0 5px;
  background: #fff;
}

div.portlet-content.part-content p {
  text-align: justify;
}

div.portlet-content.part-content video {
  width: 100%    !important;
  height: auto   !important;
}

div.portlet-content.part-content div.article-tags > span {
  font-size: 10px;
  color: #666;
  display: block;
  float: left;
  line-height: 16px;
  height: 16px;
  text-transform: uppercase;
  padding: 3px 0;
}

div.portlet-content.part-content div.article-tags > span.article-tags-separator {
  padding: 3px 5px;
}

div.portlet-content.part-content div.article-tags > div.asep {
  float: left;
}

div.portlet-content.part-content div.article-tags > span.article_share {
  padding: 0px;
  /*background: #2298d4;*/
  border-radius: 3px;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  -webkit-border-radius: 3px;
  float: right;
  display: block;
  height: 21px;
  display: block;
}

div.article-tags > span.article_share > a {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 3px;
  text-indent: -99999px;
}
div.article-tags > span.article_share > a.tools-pdf { background: transparent url('../gfx/icon_pdf.png') no-repeat 0 0; }
div.article-tags > span.article_share > a.tools-print { background: transparent url('../gfx/icon_print.png') no-repeat 0 0; }
div.article-tags > span.article_share > a.tools-email { background: transparent url('../gfx/icon_mail.png') no-repeat 0 0; }

div.portlet-content.part-content div.article-tags > div.share-content {
  width: 100%;
  position: absolute;
  height: 32px;
  line-height: 32px;
  padding: 5px 0;
  right: 0;
  bottom: 40px;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
  background: #efefef;
  display: block;
}

div.portlet-content.part-content div.article-tags > div.share-content > span.share-title {
  position: absolute;
  left: 5px;
  height: 32px;
  line-height: 32px;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons {
  position: absolute;
  right: 5px;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons > a {
  width: 32px;
  height: 32px;
  display: block;
  float: left;
  margin: 0 0 0 10px;
  text-indent: -9999px;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons > a.facebook {
  background: transparent url('../gfx/facebook.png') 0 0 no-repeat;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons > a.twitter {
  background: transparent url('../gfx/twitter.png') 0 0 no-repeat;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons > a.iwiw {
  background: transparent url('../gfx/iwiw.png') 0 0 no-repeat;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons > a.google {
  background: transparent url('../gfx/google.png') 0 0 no-repeat;
}

div.portlet-content.part-content div.article-tags > div.share-content > div.buttons > a.netvibes {
  background: transparent url('../gfx/netvibes.png') 0 0 no-repeat;
}

div.portlet-content.part-content table {
  margin: 0 0 10px;
  border-collapse: collapse;
  max-width: 100% !important;
}

div.portlet-content.part-content table tbody tr th {
  padding: 5px;
  background: #333;
  color: #fff;
  font-weight: 700;
  border: 1px solid #999;
}

div.portlet-content.part-content table tbody tr td {
  padding: 5px;
  border: 1px solid #999;
}

div.portlet-content.part-content div.article-lead p,
div.portlet-content.part-content div.article-lead td {
  font-weight: 700;
  color: #333;
}

@media only screen and (min-width: 1681px) {
  div.portlet-content.part-content {
    width: 940px;
  }

  div.portlet-content.part-content p {
    font-size: 17px;
  }

  div.portlet-content.part-content img {
    max-width: 940px !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 664px) {
  div.portlet-content.part-content div.article-tags > div.asep {
    width: 0px;
    height: 0px;
    float: none;
    overflow: hidden;
    clear: both;
  }

  div.portlet-content.part-content div.article-tags {
    margin: 0 0 5px;
    border-bottom: 1px solid #ccc;
  }
}

div.portlet-content.part-content ol,
div.portlet-content.part-content ul {
  margin: 0 0 10px 25px;
}

div.portlet-content.part-content ol li,
div.portlet-content.part-content ul li {
  padding: 0 0 5px;
}

/* -------- Socials -------- */

div.share-trigger {
  position: relative;
}

div.share-icon {
  width: 100px;
  height: 24px;
  background: transparent url('../gfx/share.png') 0 0 no-repeat;
  position: absolute;
  bottom: -27px;
  left: 4px;
  cursor: pointer;
  z-index: 999;
}

div.share_line img {
  height: auto !important;
  width: auto !important;
}

div.social-box {
  float: left;
  margin: 5px;
  height: 62px;
  vertical-align: baseline;
  display: table-cell;
}

div.social-box iframe {
  height: 62px !important;
}

div.social-box.tumblr iframe,
div.social-box.delicious iframe,
div.social-box.instapaper iframe,
div.social-box.readability iframe {
  height: 28px !important;
}

div.social-box.tumblr,
div.social-box.delicious,
div.social-box.instapaper,
div.social-box.readability {
  height: 28px;
}

div.rdbWrapper {
  height: 35px !important;
  width: 155px !important;
  float: left !important;
}

div#readabilityEmbedContainer {
  height: 23px !important;
  width: 155px !important;
  margin: 5px 0 0 !important;
}

div#readabilityEmbedContainer iframe {
  height: 35px !important;
  width: 155px !important;
}

iframe#fb_xdm_frame_http,
iframe#fb_xdm_frame_https {
  border: none !important;
}

img.delicious {
  margin: 6px 10px 0 0 !important;
  float: left;
}

span#tumblr_button_abc123 {
  float: left;
  margin: 6px 10px 0 0;
}

iframe.instapaper {
  float: left;
  margin: 8px 10px 0 0 !important;
}

div.switch {
  width: 46px;
  height: 22px;
  float: left;
  margin: 0 5px 0 0;
}

div.switch > a {
  width: 46px;
  height: 22px;
  display: block;
  background: transparent url('../gfx/switch.png') 0 0 no-repeat;
}

div.switch > a.swon {
  background-position: 0 -22px;
}

div.social-inline {
  width: 149px;
  height: 22px;
  float: left;
}

div.social-holder-box {
  width: 200px;
  margin: 5px 5px 5px 0;
  float: left;
}

div#social-inline-fb {
  background: transparent url('../gfx/soc_fb.png') 0 0 no-repeat;
}

div#social-inline-gp {
  background: transparent url('../gfx/soc_gp.png') 0 0 no-repeat;
}

div#social-inline-tw {
  background: transparent url('../gfx/soc_tw.png') 0 0 no-repeat;
}

div#social-inline-pt {
  background: transparent url('../gfx/soc_pt.png') 0 0 no-repeat;
}

div#social-inline-li {
  background: transparent url('../gfx/soc_li.png') 0 0 no-repeat;
}

div#social-inline-su {
  background: transparent url('../gfx/soc_su.png') 0 0 no-repeat;
}

div.social-inline.swact {
  background: #fff !important;
}

div.social-separator {
  height: 1px;
  width: 100%;
  background: #ccc;
  overflow: hidden;
  margin: 10px 0;
}

/* -------- LANGUAGE -------- */

div#language_selector_cont {
  position: relative;
  height: 21px;
  line-height: 21px;
  color: #fff;
  padding: 0 10px;
  background: #2298d4;
  border-radius: 3px;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  -webkit-border-radius: 3px;
  cursor: pointer;
  float: left;
}

div#language_selector_cont > span#current_language_cont {
  padding: 0 20px 0 0;
  height: 21px;
  line-height: 21px;
  color: #fff;
  background: transparent url('../gfx/bullet_lang.png') 100% 4px no-repeat;
  display: block;
  cursor: pointer;
  text-transform: capitalize;
}

ul#portal_language_cont {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 110;
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #2298d4;
  border-radius: 3px;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  -webkit-border-radius: 3px;
  width: 100%;
}

ul#portal_language_cont > li {
  padding: 0;
  border-radius: 3px;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  -webkit-border-radius: 3px;
}

ul#portal_language_cont > li > a {
  color: #fff;
  display: block;
  text-decoration: none;
  padding: 3px 10px;
  text-transform: capitalize;
}

ul#portal_language_cont > li:hover {
  background: #156388;
}

span.article_share > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}

span.article_share > ul > li {
  display: inline-block;
  height: 16px;
}

span.article_share > ul > li > a {
  line-height: 16px;
  height: 16px;
  display: block;
  font-size: 10px;
  font-size: 10px;
  /*margin: 0 5px;*/
}

span.article_share > ul > li > a > span.localised {
  display: none;
}

span.article_share > ul > li > a > span.notlocalised {
  font-size: 10px;
  line-height: 16px;
  height: 16px;
  display: block;
  padding: 3px;
  cursor: pointer;
  color: #666;
  min-width: 16px;
  margin: 0 3px;
  background: #ececec;
  border-radius: 3px;
  text-align: center;
}

span.article_share > ul > li > a:hover {
  text-decoration: none;
}

span.article_share > ul > li > a:hover > span {
  color: #0099cc;
  text-decoration: none;
}

span.article_share > ul > li.act > a > span {
  color: #fff;
  /*border: 1px solid #0099cc;*/
  background: #0099cc;
  border-radius: 3px;
  text-align: center;
}

div#language_selector_cont:hover ul#portal_language_cont {
  display: block;
}

div.share_line {
  background: #fff;
  position: relative;
  z-index: 999999;
}

@media only screen and (min-width: 320px) and (max-width: 664px) {
  div.portlet-content.box.part-language {
    position: relative;
    top: auto;
    right: auto;
    z-index: 100;
    width: 310px;
    margin: 5px auto;
  }

  div#language_selector {
    height: 35px;
  }

  div#language_selector > span#current_language {
    height: 35px;
    line-height: 35px;
    background-position: 100% 11px;
  }

  ul#portal_language > li > a {
    padding: 10px;
  }

  div.portlet-content.part-content div.article-tags > span.article_share {
    height: 32px;
  }

  div.article-tags > span.article_share > a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 3px;
    text-indent: -99999px;
  }
  div.article-tags > span.article_share > a.tools-pdf { background: transparent url('../gfx/icon_pdf_32.png') no-repeat 0 0; }
  div.article-tags > span.article_share > a.tools-print { background: transparent url('../gfx/icon_print_32.png') no-repeat 0 0; }
  div.article-tags > span.article_share > a.tools-email { background: transparent url('../gfx/icon_mail_32.png') no-repeat 0 0; }

  span.article_share > ul > li {
    display: inline-block;
    height: 24px;
  }

  span.article_share > ul > li > a {
    line-height: 24px;
    height: 24px;
    display: block;
    font-size: 15px;
  }

  span.article_share > ul > li > a > span.localised {
    display: none;
  }

  span.article_share > ul > li > a > span.notlocalised {
    font-size: 15px;
    line-height: 24px;
    height: 24px;
  }
}

@media only screen and (min-width: 984px) and (max-width: 1680px) {
  div.portlet-content.part-content table#widetable tbody tr th p,
  div.portlet-content.part-content table#widetable tbody tr th div,
  div.portlet-content.part-content table#widetable tbody tr th a,
  div.portlet-content.part-content table#widetable tbody tr td p,
  div.portlet-content.part-content table#widetable tbody tr td div,
  div.portlet-content.part-content table#widetable tbody tr td a {
    font-size: .7em !important;
    padding: 0 !important;
  }
  div.portlet-content.part-content table#widetable tbody tr td {
    padding: 5px !important;
    font-size: .7em !important;
  }
}

@media only screen and (max-width: 664px) {
  img.delicious {
    margin: 6px 10px 0 0 !important;
    float: left;
  }
  div.portlet-content.part-content table tbody tr th,
  div.portlet-content.part-content table tbody tr td {
    font-size: .4em !important;
    padding: 5px !important;
  }
  div.portlet-content.part-content table tbody tr th p,
  div.portlet-content.part-content table tbody tr th div,
  div.portlet-content.part-content table tbody tr th a,
  div.portlet-content.part-content table tbody tr td p,
  div.portlet-content.part-content table tbody tr td div,
  div.portlet-content.part-content table tbody tr td a {
    font-size: .4em !important;
    padding: 0 !important;
  }
}