/*
Theme Name: Bitservis
Version: 1.0
*/

body,html {
  font-family: Segoe UI, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility; 
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

body {
  min-height: calc(100vh - 320px);
  padding-bottom: 320px;
  position: relative;
}

a.button, a.button:hover, nav a, nav a:hover, #widgets_next, #widgets_prev, #widgets_next:hover, #widgets_prev:hover, header form#search-form input:focus, header form#search-form input, #widgets div:hover, #widgets div, #page aside.kontakt {
  -webkit-transition:all .2s ease-in; -moz-transition:all .2s ease-in; -ms-transition:all .2s ease-in; -o-transition:all .2s ease-in; transition:all .2s ease-in;
}

a:active, a:focus {outline:none;}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* HEADER ***************************************************************/

.wrap {
  width: 960px;
  margin: 0 auto !important;
}



header {
  height: 60px;
  background: url('img/header_bg.png') repeat-x;
  padding-top: 45px;
  border-bottom: solid 1px #3e4b54;
}

header nav#top {
  position: relative;
  z-index: 5;
  width: 100%;
}

header h1 {
  width: 230px;
  float: left;
  margin-right: 34px;
}


header nav#top li a {
  text-decoration: none;
  color: #eeefef;
  display: block;
  float: left;
  margin: 17px 35px 10px 0;
  font-size: 13px;
}

header nav#top li a:hover, header nav#top li a.selected {
  text-shadow: 0 0 2px #f8f8f8;
}

header form#search-form {
  float: right;
  position: relative;
  top: 10px;
}

header form#search-form input {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 165px;
  height: 24px;
  border: 0;
  padding: 3px 4px;
  background: url('img/search.png') no-repeat 144px 4px #fff;
  border: 1px solid #e0e0e0;
}

header form#search-form input:focus {
  border: 1px solid #679cd1;

}

header form#search-form input[type="submit"] {
  display: none;
  opacity: 0;
  position: absolute;
  width: 80px;
  height: 24px;
  padding: 3px 4px 3px 20px;
  color: #fff;
  background: url('img/search.png') no-repeat 5px -20px  #679cd1;
  border: 0; 
  cursor: pointer;
  z-index: 5;
  left: 140px;
  top: 0px;
  font-size: 12px;
  border-radius: 0;
-webkit-transition:all .2s ease-in; -moz-transition:all .2s ease-in; -ms-transition:all .2s ease-in; -o-transition:all .2s ease-in; transition:all .2s ease-in;
}

header form#search-form input.show-search {
  display: inline-block;
  opacity: 1;
-webkit-transition:all .2s ease-in; -moz-transition:all .2s ease-in; -ms-transition:all .2s ease-in; -o-transition:all .2s ease-in; transition:all .2s ease-in;
}


/* SUBNAV *******************/


nav.subnav {
  width: 940px;
  height: 322px;
  padding: 15px 0 25px 0;
  background: #222;
  background: rgba(0,0,0,0.9);
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 106px;
  margin-left: -480px;
  display: none;
  border-top: solid 8px #232323;
padding-left: 20px;
}

nav.subnav ul {
  float: left;
  margin-right: 70px;
}

nav.subnav ul:first-of-type {
  margin-left: 20px;
}

nav.subnav li:first-of-type {
  color: #457cb4;
  font-size: 15px;
  margin-left: -2px;
  margin-top: 10px;
  padding-bottom: 5px;
  font-weight: bold;
}

nav.subnav li.noheadline {
  margin-left: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  border-bottom: 0px;
}


nav.subnav a {
  text-decoration: none;
  font-size: 13px;
  color: #fff;
  margin-top: 14px;
  display: inline-block;
  position: relative;
  margin-left: 18px;
}

nav.subnav a:before {
  content: "▀";
  position: absolute;
  left: -16px;
  top: 3px;
  font-size: 10px;
}

nav.subnav a:hover {
  border-bottom: solid 1px;
  margin-bottom: -1px;
}

nav.subnav a:hover:before {
  color: #f15c2a;
}


/* SLIDER ***************************************************************/

#slider {
  overflow: hidden;
  width: 960px;
  height: 370px;
  position: relative;
}

#slider div {
  height: 370px;
  position: relative;
  color: #fff;
}

#slider div h2 {
  font-family: Segoe UI, sans-serif;
  font-weight: 200;
  font-size: 65px;
  line-height: 1;
  padding: 35px 0 20px 40px;
  width: 600px;
  text-shadow: 0px 0px 5px rgba(0,0,0,0.9)
}

#slider div p {
  height: 52px;
  width: 300px;
  padding: 14px 100px 14px 40px;
  background: -moz-linear-gradient(left, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 61%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(left, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0.8) 61%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0.8) 61%,rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2000000', endColorstr='#00000000',GradientType=1 );
  font-family: Segoe UI, sans-serif;
  font-size: 16px;
  font-weight: 200;
  position: absolute;
  top: 240px;
}

#slider div a.button {
  color: #fff;
  border: 1px solid #0053a0;
  background: url('img/button_bg.gif') repeat-x;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 14px;
  width: 120px;
  height: 25px;
  padding-top: 12px;
  position: absolute;
  left: 820px;
  top: 281px;
}

#slider div a.button:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

#pagination {
  text-align: center;
  z-index: 5;
  position: absolute;
  left: 48%;
  top: 436px;
  width: 500px;
  text-align: right;
}

#pagination a {
  display: inline-block;
  height: 20px;
  width: 20px;
  border-radius: 10px;
  background: #fff;
  margin-right: 10px
}

#pagination a.selected {
  cursor: default;
  background: #5d96cf;
}

#pagination a span {
  display: none;
}



/* WIDGETS ***************************************************************/

#widgets {
  width: 960px;
  height: 172px;
  position: relative;
}

.widgets-wrap {
  margin-bottom: 30px;
  margin-top: 30px;  
}

#widgets a {
  float: left;
  display: block;
  text-decoration: none;
  height: 124px;
  width: 291px;
  border: 1px solid #e0e0e0;
  padding: 8px;
  margin: 30px 10px 0 10px;
  background: url('img/widget_bg.gif') repeat-x;
}

#widgets a:hover {
  opacity: 0.9;
  filter: alpha(opacity=90);
}

#widgets div h3 {
  width: 150px;
  color: #1a1a1a;
  font-family: Segoe UI, sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-left: 140px;
  margin-bottom: 5px;
}

#widgets div p {
  width: 150px;
  margin-left: 140px;
  color: #515151;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
}

#widgets div.img {
  width: 127px;
  height: 127px;
  float: left;
}

#widgets_next, #widgets_prev  {
  width: 21px;
  height: 35px;
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 590px;
  margin-left: -520px;
  z-index: 10;
}

#widgets_next:hover, #widgets_prev:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

#widgets_next {
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand')";
  -webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
margin-left: 500px;
}






/* FOOTER ***************************************************************/


footer {
  min-height: 260px;
  background: url('img/footer_bg.gif') repeat-x;
  padding: 40px 0 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer_menu_wrap {
  min-width: 532px;
  min-height: 222px;
  float: left;
}

ul.footer_menu {
  float: left;
  margin-right: 35px;
  max-width: 110px;
  word-break: break-word;
}
ul.footer_menu:last-of-type {
  margin-right: 0px;
}

ul.footer_menu li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #f15c2a;
}

ul.footer_menu li:first-of-type {
  margin-left: -2px;
}

ul.footer_menu a {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 13px;
}

ul.footer_menu a:hover {
  text-decoration: underline;
}

#footer_widget {
  width: 350px;
  height: 200px;
  float: right;
  margin-right: 30px;
  overflow: hidden;
}

#footer_widget div.fwwrap {
  background: rgba(255,255,255,0.08);
  width: 280px;
  height: 160px;
  padding: 20px 35px;
  float: left;
  position: relative;
}

#footer_widget h3 {
  color: #f15c2a;
  font-family: Segoe UI, sans-serif;
  font-weight: 200;
  font-size: 24px;
  margin-bottom: 10px;
}

#footer_widget div.text {
  text-align: justify;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #d7d4d7;
  max-height: 70px;
  overflow: hidden;
  line-height: 14px;
}

#footer_widget a.button {
  color: #fff;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 14px;
  width: 120px;
  height: 24px;
  padding-top: 10px;
  position: absolute;
  background: #f15c2a;
  left: 200px;
  top: 155px;
}

#footer_widget a.button:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

#footer_widget img {
  float: left;
  margin-right: 5px;
  width: 100px;
  height: auto;
}


#footer_next, #footer_prev  {
  width: 21px;
  height: 35px;
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: pointer;
  position: relative;
  left: 403px;
  top: 78px;
}

#footer_next:hover, #footer_prev:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

#footer_prev, #footer_prev:hover {
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand')";
  -webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
  top: 75px;
  left: -5px;
}

nav#bottom {
  height: 32px;
  padding-top: 18px;
  background: rgba(255,255,255,0.02);
  float: left;
  clear: both;
  width: 100%;
  margin-top: 6px;
}

nav#bottom a {
  float: left;
  text-decoration: none;
  color: #ddd;
  margin-right: 30px;
  font-size: 14px;
}

nav#bottom a:hover {
  text-decoration: underline;
}

#copyright {
  float: right;
  color: #ddd;
  font-size: 14px;
}

/* PAGES ***************************************************************/

#page {
  min-height: 550px;
}

h1.main {
  font-family: Segoe UI, sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: #2c2c2c;
  display: block;
  width: 98%;
  background: #ccc;
  background: rgba(255,255,255,0.7);
  padding: 6px 0 14px 2%;
  top: 80px;
  position: absolute;
}

#cat h1 strong {
  font-weight: 400;
}

#page div.topimg, #cat div.topimg, #news div.topimg  {
  height: 140px;
  width: 100%;
  position: relative;
}


#page div.text {
  padding: 25px 10px 50px 10px;
  text-align: justify;
  font-family: Segoe UI, sans-serif !important;
  font-weight: 400;
  font-size: 16px !important;
  line-height: 1.4;
}

#page div.text span {
  font-family: Segoe UI, sans-serif !important;
}

#page div.text td {
vertical-align: top;
padding-bottom: 20px;
}


/* PAGE RIGHT ***************************************************************/


#page aside.kontakt {
  position: fixed;
  left: 100%;
  z-index: 2;
  margin-left: -90px;
  top: 260px;
}

#page aside.kontakt_slide {
  margin-left: -250px;
}

#page aside.kontakt strong {
  font-family: Segoe UI, sans-serif;
  font-size: 15px;
  color: #fff;
  background: #679CD1;
  padding: 15px 10px;
  display: block;
  width: 120px;
  text-align: center;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  cursor: pointer;
}

#page aside.kontakt ul {
margin-left: 88px;
background: #fff;
height: 110px;
margin-top: -92px;
text-align: right;
padding: 30px 15px 0 10px;
width: 140px;
}

#page aside.kontakt li, #page aside.kontakt a {
font-size: 15px;
color: #679CD1;
margin-bottom: 15px;
text-decoration: none;
}

#page aside.kontakt a:hover {
 text-decoration: underline;
 color: #124A82;
}


/* KONTAKT ***************************************************************/


#kontakt_form {
  position: fixed;
  width: 530px;
  background: #fff;
  z-index: 50;
  left: 50%;
  margin-left: -300px;
  padding: 15px 30px 10px 30px;
  top: 100px;
  display: none;
  border-radius: 4px;
}

#kontakt_fade {
  background: rgba(0,0,0,0.6);
  z-index: 49;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  display: none;    
}

#close {
  cursor: pointer;
  float: right;
  margin-top: -10px;
  margin-right: -10px;
  font-size: 12px;
  color: #222;
}

#close:after {
content: "×";
font-size: 25px;
background: #222;
padding: 0px 8px 6px 8px;
border-radius: 20px;
border: 1px solid rgba(255,255,255,0.3);
display: block;
text-align: center;
color: #fff;
position: absolute;
top: -12px;
left: 570px;
}

#kontakt_form h2 {
  font-family: Segoe UI, sans-serif;
  font-weight: 200;
  font-size: 32px;
  color: #222;
  margin-top: 15px;
}

#kontakt_form form {
  margin-top: 25px;
}

#kontakt_form input, #kontakt_form textarea
{
 border:1px solid rgba(0,0,0,0.4);
 font-family: Segoe UI, sans-serif;
 font-size:13px;
 color: #000;
 padding: 4px 6px;
 float: left;
 clear: left;
 width: 200px;
 margin-bottom:10px;
 border-radius: 2px;
 }
#kontakt_form textarea
{
 min-height:159px;
 width: 280px;
 float: right;
}
#kontakt_form input:focus, #kontakt_form textarea:focus { 
  border: 1px solid #222;
}
#kontakt_form input[type='submit']
{
  float: right;
  clear: both;
  border: none;
  width: 100px;
  background: #222;
  color: #fff;
  font-family: Segoe UI, sans-serif;
  font-weight: 200;
  font-size: 13px;
  cursor: pointer;
  margin-top: 20px;
}

#kontakt_form p {
  font-family: Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 13px;
  width: 100%;
  float: left;
  clear: both;
  margin-top: 15px;
  padding-left: 5px;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}


/* CATEGORY ***************************************************************/

#cat {
  min-height: 400px;
  padding-bottom: 40px;
}

#cat article {
 margin-top: 30px;
 width: 600px;
}

#cat h2 {
 font-family: Segoe UI, sans-serif;
 font-weight: normal;
 font-size: 24px;
 color: #2c2c2c;
 margin-bottom: 10px;
}

#cat time {
 color: #222;
 font-family: Segoe UI, sans-serif;
 font-weight: normal;
 font-size: 13px; 
}

#cat div.text {
  font-family: Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 14px;
  padding-left: 5px;
  margin-bottom: 5px;
}

#cat a.more {
  color: #457cb4;
  font-family: Segoe UI, sans-serif;
  font-weight: 200;
  font-size: 13px;
  text-decoration: none;
  margin-left: 5px;
}

#cat a.more:hover {
  text-decoration: underline;
}

/* NEWS ***************************************************************/

#news {
  min-height: 500px;
}

#news a {
  text-decoration: none;
}


#news aside {
 float: right;
 margin-top: 20px;
}

#news aside strong {
  font-family: Segoe UI, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 5px 0 7px 10px;
  width: 190px;
  display: block;
}

#news aside li, #news aside a {
  font-family: Segoe UI, sans-serif;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}

#news aside a:hover, #news aside a.selected {
  text-decoration: underline;
}

#news aside > ul {
  margin: 10px 0 0 15px;
}

#news aside ul ul {
  margin: 5px 0 10px 10px;
  display: none;
}

#news aside ul ul.show {
  display: block;
}

div.clear {
  clear: both;
}

article.new {
  width: 350px;
  height: 200px;
  float: left;
  margin: 20px 20px 0 20px;
}

article.new:nth-of-type(odd) {
 margin-right: 0;
}

article.new div.inner {
 background: rgba(0,0,0,0.5);
 height: 80px;
 color: #fff;
 margin-top: 80px;
 padding: 10px 15px 30px 15px;
 position: relative;
}

article.new div.inner h2 {
 font-family: Segoe UI, sans-serif;
 font-size: 17px;
 font-weight: bold;
 margin-bottom: 10px;
}

article.new div.inner div.text {
 font-size: 14px;
}

article.new div.inner time, article.new div.inner span {
 color: #a6a6a6;
 position: absolute;
 top: 100px;
 font-size: 14px;
}

article.new div.inner span {
 left: 255px;
}

article.new:hover div.inner {
 background: rgba(255,255,255,0.5);
 color: #000;
}

article.new:hover div.inner span, article.new:hover div.inner time {
 color: #fff;
}


div.section, div.section2 {
overflow: auto;
}

div.section img {
  width: 28%;
  float: right;
  margin:  5px 0 0 5%;
}

div.section img.left {
  float: left;
  margin: 5px 5% 0 0;
}

div.section img.none, div.section img.column  { 
  width: 0;
  display: none;
}

div.none {
 width: 100% !important;
}

div.column {
 width: 100% !important;
-ms-column-count:2;
-moz-column-count:2; 
-webkit-column-count:2;
-ms-column-gap: 40px;
-moz-column-gap: 40px;
-webkit-column-gap: 40px;
column-count:2;
column-gap: 40px;
}

div.section div.content {
  width: 67%;
  float: left;
}

div.co2 {
  float: left;
  width: 36%;
  padding: 1em 2em 1em 0;
}

div.co1 {
  float: left;
  width: 72%;
  padding: 1em 4em 1em 0;
}

img.co1, img.co2 {
  float: left;
  width: 20%;
  margin-top: 1.4em;
}

div.technicka {
margin-bottom: 35px;
}

div.technicka div.column {
 width: 50% !important;
-ms-column-count:2;
-moz-column-count:2; 
-webkit-column-count:2;
-ms-column-gap: 20px;
-moz-column-gap: 20px;
-webkit-column-gap: 20px;
column-count:2;
column-gap: 20px;
float: left;
}

div.technicka img.techimg {
width:45%;
margin-left: 5%;
margin-top: .4em;
float: left;
}


div.text h1 {
font-weight: bold; 
margin: 10px 0 8px 0;
font-size:  20px !important;
}

div.text + h1 {
margin-top: 0;
}

div.text h2 {
font-size: 20px !important;
margin: 0 0 5px 0;
}

div.text h3 {
text-transform: uppercase;
font-size: 15px;
margin: 10px 0 2px 0;
font-weight: 400;
}

div.text h4 {
font-weight:bold;
display: inline;
}

div.text a {
color: #457CB4 !important;
}

div.text a:hover {
color: #124A82 !important;
}

div.text strong {
font-weight: bold;
color: #2c2c2c;
}

div.text em {
font-style: italic;
}

.maintenance-bg {
width: 100%;
min-height: 400px;
background: #2e80af;
position: relative;
z-index: -1;
}
.maintenance-bg {
  -webkit-transition:all 1s ease-out; -moz-transition:all 1s ease-out; -ms-transition:all 1s ease-out; -o-transition:all 1s ease-out; transition:all 1s ease-out;
}

.maintenance-h1 {
width: 940px !important;
padding-left: 20px;
margin-top: 366px !important;
}

.maintenance-tile {
  display: inline-block;
  margin: 0 10px 10px 0;
  position: relative;
  width: 180px;
  height: 90px;  
}

.maintenance-tile img {
  height: 50px;
  width: auto;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.maintenance-tile span {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  position: absolute;
  left: 5px;
  bottom: 5px;
}

@-webkit-keyframes wiggle {
	0% { -webkit-transform: translate(0px); }
	5% { -webkit-transform: translate(7px); }
	10% { -webkit-transform: translate(-7px); }
	15% { -webkit-transform: translate(3px); }
	20% { -webkit-transform: translate(-3px); }
	25% { -webkit-transform: translate(1px); }
	30% { -webkit-transform: translate(0px); }
	100% { -webkit-transform: translate(0px); }
}
 

@-moz-keyframes wiggle {
	0% { -moz-transform: translate(0px); }
	5% { -moz-transform: translate(7px); }
	10% { -moz-transform: translate(-7px); }
	15% { -moz-transform: translate(3px); }
	20% { -moz-transform: translate(-3px); }
	25% { -moz-transform: translate(1px); }
	30% { -moz-transform: translate(0px); }
	100% { -moz-transform: translate(0px); }
}
 
@keyframes wiggle {
	0% { transform: translate(0px); }
	5% { transform: translate(7px); }
	10% { transform: translate(-7px); }
	15% { transform: translate(3px); }
	20% { transform: translate(-3px); }
	25% { transform: translate(1px); }
	30% { transform: translate(0px); }
	100% { transform: translate(0px); }
}
 
.maintenance-tile:hover {
	-webkit-animation: wiggle 2.5s infinite;
	-moz-animation: wiggle 2.5s infinite;
	animation: wiggle 2.5s infinite;
        z-index:2;
}

.maintenance-tile:active {
top: 2px;
}

.maintenance-tile:nth-of-type(5n+0){
margin-right: 0;
}
.tiles-wrap {
position: absolute;
top: 130px;
width: 960px;
}


.lang-menu {
  display: none;
  position: absolute;
  top: -30px;
  right: 0;
}

.lang-menu a {
  text-decoration: none;
  color: #eeefef;
  font-size: 13px;
}

.lang-menu a:last-of-type {
  margin-left: 3px;
}

.lang-menu a:hover {
  text-shadow: 0 0 2px #f8f8f8;
}

header .wrap {
  position: relative;
}
