/*
#------------------------------------------------------------------------
# Startup - October 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
 */

body {
  
}
#gkHeader.nobg {
  background: transparent url(' ') no-repeat center top;
  min-height: 320px;
  min-width: 650px;
}

#gkSidebar .box {
  width: 100%;
}
#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;
}

/* 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: "comfortaa", tahoma, 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;
  }
#gkHeader {
background: transparent url('www.codimatel.com/images/header_bg_mobile.jpg') no-repeat center top;
  width: 300px!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;
}

/* bottom3 */
#gkBottom3 .box.gkmod-2 {
  width: 50%!important;
}
#gkBottom3 .box.gkmod-3 {
  width: 50%!important;
}
#gkBottom3 .box.gkmod-3:nth-child(3) {
  clear: both!important;
  width: 100%!important;
}
#gkBottom3 .box.gkmod-4,
#gkBottom3 .box.gkmod-more {
  width: 50%!important;
}
#gkBottom3 .box.gkmod-4:nth-child(2n+1),
#gkBottom3 .box.gkmod-more:nth-child(2n+1) {
  clear: both!important;
}
#gkBottom3 .box.gkmod-more.gkmod-last-1:last-child {
  width: 100%!important;
}
#gkBottom3 .box.gkmod-more.gkmod-last-2:last-child,
#gkBottom3 .box.gkmod-more.gkmod-last-2:nth-last-child(2) {
  width: 50%!important;
}
#gkPageWrap #gkBottom3 .box.gkmod-more.gkmod-last-3:last-child {
  width: 100%!important;
}
#gkPageWrap #gkBottom3 .box.gkmod-more.gkmod-last-3:nth-last-child(2),
#gkPageWrap #gkBottom3 .box.gkmod-more.gkmod-last-3:nth-last-child(3) {
  width: 50%!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 */
.mobilelayout .gkArtContentWrap {
  clear: both;
  padding-top: 10px;
}

/* Tabs GK5 adjustments */
.gkTabsNav {
  height: auto!important;
  min-height: 40px!important;
  overflow: hidden;
}

.gkTabsNav li {
  width: 100%!important;
}

/* other elements */
.gkBigHeader {
  font-size: 32px;  
}

.gkSmallHeader {
  font-size: 22px;
  line-height: 1.2;
}

.gkTimeIcon {
  font-size: 15px;
  padding-left: 90px;
}

.box.big .header {
  font-size: 30px;
}

.box.big .header small {
  font-size: 14px;
}

.gkFeatures > a {
  width: 98%;
}

.gkTeam[data-count="1"] figure { width: 100% }
.gkTeam[data-count="2"] figure { width: 50% }
.gkTeam[data-count="3"] figure { width: 50% }
.gkTeam[data-count="4"] figure { width: 50% }
.gkTeam[data-count="5"] figure { width: 50% }
.gkTeam[data-count="6"] figure { width: 50% }
.gkTeam[data-count="7"] figure { width: 50% }
.gkTeam[data-count="8"] figure { width: 50% }
.gkTeam[data-count="9"] figure { width: 50% }
.gkTeam[data-count="10"] figure { width: 50% }

.vertical-column-10,
.vertical-column-20,
.vertical-column-30,
.vertical-column-40,
.vertical-column-50,
.vertical-column-60 {
  margin-bottom: 20px; 
  padding: 0;
  width: 100%; 
}

#gkUserArea {
  clear: both;
}

#gkUserArea a {
  height: 32px;
  line-height: 32px;
}

aside + .k2box {
  clear: both;
  margin-left: 0;
}

article aside {
  position: static;
  width: 100%;
}

article aside > time {
  float: left;
  font-size: 30px;
}

article aside > ul {
  margin: 5px 0!important;
}

article header h1, 
.category header {
  line-height: 28px;
  padding: 18px 0 0px;
}

h1 {
  font-size: 24px;
}

h2, 
.componentheading,
.category header h2 {
  font-size: 28px;
}

article header h2 {
  line-height: 32px;
}

#gkSocialAPI {
  overflow: hidden;
}

.itemAuthorBlock .itemAuthorDetails {
  font-size: 12px;
  padding: 0 0 0 16px;
}

.itemAuthorBlock > .gkAvatar {
  margin-left: 10px;
}

.itemComments .itemCommentsList li img {
  float: left;
  margin-left: 0;
  margin-right: 10px;
  position: static;
}

.itemCommentsList li h3 {
  float: none;
  margin-top: 5px;
}

/* Image Show GK4 */
.gkIsWrapper-gk_startup .gkIsText { 
  color : #363636;
  top: 5px;
}
.gkIsWrapper-gk_startup .gkIsText.active { 
  top: 10px; 
}
.gkIsWrapper-gk_startup .gkIsText h2 a { 
  color : #363636;
  font-size: 19px;
  line-height: 22px; 
}  
.gkIsWrapper-gk_startup .gkIsText p { 
  color : #363636;
  font-size: 14px; 
  line-height: 16px; 
  margin-bottom: 10px; 
}
.gkIsWrapper-gk_startup .gkIsText span.gkLine {
  margin: 5px auto 10px auto;
}
.gkIsWrapper-gk_startup .gkIsText .btn1,
.gkIsWrapper-gk_startup .gkIsText .btn2,
.gkIsWrapper-gk_startup .gkIsText .btn2:hover {
  font-size: 10px;
  height: 28px;
  line-height: 28px;
  margin: 5px 4px 2px 4px;
  padding: 0 5px;
}
.gkIsWrapper-gk_startup .gkIsPrev,
.gkIsWrapper-gk_startup .gkIsNext { 
  left: 5px;  
}
.gkIsWrapper-gk_startup .gkIsNext { 
  left: auto;
  right: 5px; 
}
.gkIsWrapper-gk_startup .gkIsSlide { 
  bottom: 75px;
}
.gkIsWrapper-gk_startup .gkIsSlide.active { 
  bottom: 50px; 
}