/*
#------------------------------------------------------------------------
# News - December Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2012 Gavick.com. All Rights Reserved.
# License:  Copyrighted Commercial Software
# Website:  http://www.gavick.com
# Support:  support@gavick.com
 */


@media (min-width: 420px) and (max-width: 580px) {
  .box.mobilelayout .nspArtPage .nspArt,
  .box.nsphover .nspArtPage .nspArt {
    border-top: none!important;
    width: 50%!important;
  }
  
  .box.nsphover .nspArtPage .nspArt h4 {
    font-size: 16px!important;
  }
  
  .box.nsphover .nspArtPage .nspArt .nspText {
    font-size: 11px!important;
  }  

.catItemImageBlock {min-height: 6em;}  
.catItemReadMore a {margin-top: 3px;}

}



#gkInset .box,
#gkInnerInset .box,
#gkSidebar .box,
#gkBottom1 .box,
#gkBottom2 .box {
  width: 100%;
  clear: both!important;
  float: none!important;
  margin: 0 auto!important;
  max-width: 320px!important;
}
#gkBottom1 .box,
#gkBottom2 .box {
  margin-bottom: 20px!important;  
}
#gkSidebar > div > .box {
  float: none;
  margin-top: 0!important;
  margin-bottom: 12px!important;
  width: 100%;
}
#gkSidebar > div > .box:nth-child(2n+1) {
  clear: both!important;
}
#gkSidebar > div > .box:nth-child(odd) {
  padding-right: 0px;  
}
#gkSidebar > div > .box:nth-child(even) {
  padding-left: 0px;
}

#gkMainbody > div,
#gkInnerInset {
  clear: both!important;
  width: 100%!important;  
}

#gkInnerInset {
  padding: 0 0 20px 0!important;
}

/* limitation suffixes */
.box.notablet {
  display: block!important;
}
.box.nomobile {
  display: none!important;
}
.box.onlytablet {
  display: none!important;
}
.box.onlymobile {
  display: block!important;
}

/* Fix for the user profile */
.profile dt {
  width: 100% !important;
}

/* Fix for the contact page */
.contact .contact-image {
  float: left !important;
}
.contact .contact-address {
  clear: both !important;
  padding-top: 20px !important;
}
.contact .contact-form input,
.contact .contact-form textarea {
  width: 100% !important;
}

/* Fix for the search */
fieldset.word #search-searchword,
fieldset.word .inputbox {
  width: 50%;
}
fieldset.phrases .ordering-box,
fieldset.only input[type="checkbox"],
fieldset.phrases input[type="radio"] {
  clear: both;
}

/* Fix for the register */
#member-registration dd {
  clear: both !important;
  display: block !important;
}

/* Fix for tables */
fieldset {
  box-sizing: border-box!important;
  max-width: 100%!important;
  width: 100%!important;
  overflow: hidden;
}
#gkMainbody table:before {
  content: "Scroll horizontally to view the whole table";
  height: 14px;
  width: 100%;
  display: block;
  font-size: 10px;
  margin-top: -30px;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
}
#gkMainbody table {
  width: 540px!important;
  display: block!important;
  padding: 30px 0 20px 0; /* padding for the scrollbars and the top message */
  overflow:scroll;
  -webkit-overflow-scrolling:touch;
}
#gkMainbody table tbody,
#gkMainbody table thead,
#gkMainbody table tfoot {
  width: 540px!important;
  display: table;
}

@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) and (-moz-max-device-pixel-ratio: 1.5), only screen and (max-device-width: 320px) and (-o-max-device-pixel-ratio: 1.5/1), only screen  and (max-device-width: 320px) and (-webkit-max-device-pixel-ratio: 1.5), only screen and (max-device-width: 320px) and (max-device-pixel-ratio: 1.5), only screen and (max-device-width: 640px) and (-moz-min-device-pixel-ratio: 2), only screen and (max-device-width: 640px) and (-o-min-device-pixel-ratio: 2/1), only screen and (max-device-width: 640px) and (-webkit-min-device-pixel-ratio: 2), only screen and (max-device-width: 640px) and (min-device-pixel-ratio: 2) {
  #gkMainbody table {
    width: 260px!important;
  }
}

@media only screen and (max-width: 480px) and (orientation:landscape), only screen and (max-device-width: 480px) and (-moz-max-device-pixel-ratio: 1.5) and (orientation:landscape), only screen and (max-device-width: 480px) and (-o-max-device-pixel-ratio: 1.5/1) and (orientation:landscape), only screen  and (max-device-width: 480px) and (-webkit-max-device-pixel-ratio: 1.5) and (orientation:landscape), only screen and (max-device-width: 480px) and (max-device-pixel-ratio: 1.5) and (orientation:landscape), only screen and (max-device-width: 960px) and (-moz-min-device-pixel-ratio: 2) and (orientation:landscape), only screen and (max-device-width: 960px) and (-o-min-device-pixel-ratio: 2/1) and (orientation:landscape), only screen and (max-device-width: 960px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:landscape), only screen and (max-device-width: 960px) and (min-device-pixel-ratio: 2) and (orientation:landscape) {
  #gkMainbody table {
    width: 420px!important;
  }
}

/* top/bottom modules */
.box.gkmod-1,
.box.gkmod-2,
.box.gkmod-3,
.box.gkmod-4,
.box.gkmod-more {
  float: left!important;  
}
.box.gkmod-1,
.box.gkmod-2,
.box.gkmod-3,
.box.gkmod-4,
.box.gkmod-more {
  width: 100%!important;
}
.box.gkmod-more.gkmod-last-1:last-child,
.box.gkmod-more.gkmod-last-2:last-child,
.box.gkmod-more.gkmod-last-2:nth-last-child(2),
#gkPageWrap .box.gkmod-more.gkmod-last-3:last-child,
#gkPageWrap .box.gkmod-more.gkmod-last-3:nth-last-child(2),
#gkPageWrap .box.gkmod-more.gkmod-last-3:nth-last-child(3) {
  width: 100%!important;
}

/* top/bottom modules */
body #gkPage .box {
  margin-bottom: 20px!important;
}

/* 3-column layout */
.gkCols3 .box.gkmod-more:nth-child(1n) {
  clear: both;
}
.gkCols3 .box.gkmod-1,
.gkCols3 .box.gkmod-2,
.gkCols3 .box.gkmod-3,
.gkCols3 .box.gkmod-more,
.gkCols3 .box.gkmod-more.gkmod-last-1:last-child,
.gkCols3 .box.gkmod-more.gkmod-last-2:last-child,
.gkCols3 .box.gkmod-more.gkmod-last-2:nth-last-child(2) {
  width: 100%!important;
}

/* 4-column layout */
body .gkCols4 .box.gkmod-more:nth-child(1n) {
  clear: both;
}
body .gkCols4 .box.gkmod-1,
body .gkCols4 .box.gkmod-2,
body .gkCols4 .box.gkmod-3,
body .gkCols4 .box.gkmod-4,
body .gkCols4 .box.gkmod-more,
body .gkCols4 .box.gkmod-more.gkmod-last-1:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-2:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-2:nth-last-child(2),
body .gkCols4 .box.gkmod-more.gkmod-last-3:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-3:nth-last-child(2),
body .gkCols4 .box.gkmod-more.gkmod-last-3:nth-last-child(3) {
  width: 100%!important;
}

/* 6-column layout */
body .gkCols6 .box.gkmod-more:nth-child(1n) { 
  clear: both; 
}
body .gkCols6 .box.gkmod-1,
body .gkCols6 .box.gkmod-2,
body .gkCols6 .box.gkmod-3,
body .gkCols6 .box.gkmod-4,
body .gkCols6 .box.gkmod-more,
body .gkCols6 .box.gkmod-5,
body .gkCols6 .box.gkmod-more,
body .gkCols6 .box.gkmod-6,
body .gkCols6 .box.gkmod-more,
body .gkCols6 .box.gkmod-more.gkmod-last-1:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-2:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-2:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-3:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-3:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-3:nth-last-child(3),
body .gkCols6 .box.gkmod-more.gkmod-last-4:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-4:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-4:nth-last-child(3),
body .gkCols6 .box.gkmod-more.gkmod-last-4:nth-last-child(4),
body .gkCols6 .box.gkmod-more.gkmod-last-5:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(3),
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(4),
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(5) {
  width: 100%!important;
}

/* article fix */
#gkContent article > time {
  display: none!important;
}
#gkContent article > time + header {
  padding-left: 0!important;
}
#gkContent article header li.itemDate,
#gkContent article header li.item-date {
  display: block;
}

/* NSP adjustments */
.nspArtPage .nspArt {
  border-top: 1px solid #eee!important;
  border-left: none!important;
  padding-bottom: 20px!important;
  padding-top: 20px!important;
  width: 100%!important;
}
.nspArtPage .nspArt:first-child {
  border-top: none!important; 
 }

/* suffix mobilelayout */
.bigtitle .gkArtContentWrap {
  clear: both;
  padding-top: 10px;
}

/* Tabs GK5 adjustments */
.gkTabsNav {
  height: auto!important;
  min-height: 40px!important;
  overflow: hidden;
}

.gkTabsNav li {
  width: 100%!important;
}

.gkTabsWrap.vertical ol li {
  padding-top: 5px;
  padding-bottom: 5px;
}


.box.nsphover .nspArtPage .nspArt {
  padding-bottom: 10px!important;
  padding-top: 0!important;
}

/* other elements */
article header h1, 
.category header {
  line-height: 32px;
  padding: 18px 0 0px;
}

article header h1, 
.category header, 
article header h2 {
  font-size: 24px;
}

h1 {
  font-size: 24px;
}

h2, 
.componentheading,
.category header h2 {
  font-size: 28px;
}

article header h2 {
  line-height: 32px;
}

#gkSocialAPI {
  overflow: hidden;
}

.cols-2 .column-2, 
.cols-3 .column-3 {
  padding: 0!important;
}

.itemComments .itemCommentsList li img {
  float: left;
  margin-left: 0;
  margin-right: 10px;
  position: static;
}

.itemCommentsList li h3 {
  float: none;
  margin-top: 5px;
}

.itemAsideInfo {
  width: 100%!important;
}

.itemAsideInfo > * {
  border: none!important;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
  clear: none!important;
  float:left!important;
  padding: 10px!important;
  width: 50%!important;
}

.itemAsideInfo > *:nth-child(2n+1) {
  clear: both!important;
}

.item-page .itemAsideInfo > * {
  width: 100%!important;
}

.itemAsideInfo + .itemBody {
  margin-left: 0!important;
}

/* Search */
#mod-search-searchword {
  width: 120px!important;
}

/* NSP */
.box.header .nspImageWrapper h4 {
  font-size: 14px!important;
}

.nspArts,
.nspLinksWrap {
  clear: both;
  float: left!important;
  width: 100%!important;
}

.box.gallery .nspArt {
  border-top: none!important;
  float: left;
  width: auto!important;
}

/* NSP Portal Mode 7 */
.nspMainPortalMode7 {
  margin: 0 -9px!important;
}

.nspMainPortalMode7 .nspImages {
  padding: 0 32px!important;
}

#gkPopupLogin #login-form ul,
#gkPopupLogin #form-login-remember, 
#gkPopupLogin #form-login-buttons {
  margin-left: 0!important;
}

#gkMobileMenu {display: none !important;}

.toggleMenu {background: url("../images/tablet_menu_btn.png") no-repeat scroll 16px center rgba(0, 0, 0, 0); z-index:100; color: rgba(0, 0, 0, 0) !important;}

/* 
.gkResponsive img.nspImage,
img.nspImage.gkResponsive {
    width: 60% !important;
    height: auto;
}

.bigtitle .nspHeader {
  font-size: 12pt;
}

.nspImageWrapper .tleft .fleft .gkResponsive {width: 60% !important;}
 */

#gkContentWrap {
padding: 0.5em 0.5em;
}

.mobilehead h4.nspHeader {
font-size: 1.2em;
line-height: 1em;
}


#u_0_3 {display: none;}
span#u_0_3 {display: none;}
#u_0_3 span {display: none;}
#u_0_3 span span {display: none;}



@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
  
  .tagItemImageBlock {float: none;}
  .itemAuthBlock img {
  margin-right: 0.5em !important;
  width: 80px !important;
  }
  
  .itemImage {float: left; margin: 0 0 1em 0; width: 100%; padding: 0 0em 0.5em 0;}  
  .itemImageCaption {width: 100%; padding: 1em 0em 0.5em 0;}
  span.itemAuthor {display: none;}
 
  span.itemComments {display: none;}

.catItemImageBlock {float: none; height: auto;}  
.catItemImageBlock img {width: 50%;}  
img.catItemImageBlock {width: 50%;}  
.catItemCategory {float: none; }  
.catItemTitle {float: none;} 
.catItemBody  {float: none; }
.catItemReadMore a {margin-top: 3px;}

}



.nopaddingtop {padding-top: 0px !important;}
.nopaddingbottom {padding-bottom: 0px !important;}
.nomargintop {margin-top: 0px !important;}
.nomarginbottom {margin-bottom: 0px !important;}
.addpaddingtop {padding-top: 20px;}
.addpaddingbottom {padding-bottom: 20px;}
.addmargintop {margin-top: 20px;}
.addmarginbottom {margin-bottom: 20px;}
.addpaddingbottom40 {padding-bottom: 40px;}


.mobilechanneltop .nspArtPage .nspArt:first-child {
  border-top: none!important; 
  padding-top: 0px !important;
 }

#nsp-industrybox .nspImageWrapper {height: 160px; width: 320px; white-space: nowrap;}
#nsp-industrybox .nspImage {margin-top: 50px; display: inline-block; height: 100%; vertical-align: middle;}
#nsp-industrybox img.nspImage {max-height: 160px; vertical-align: middle;}
#nsp-industrybox .gkResponsive img.nspImage, #nsp-industrybox img.nspImage.gkResponsive {width: 90% !important;}


.bigtitle .nspHeader {font-size: 20px !important;}