/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    background-color: #f5f5f5;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background-color: #fff;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

form {
    font-family: 'allerbold';
    padding-right: 30px;
    text-align: right;
}
 
input,select,textarea{
    outline:none;
}
 
input, textarea {
    padding-left: 20px;
    height: 30px;
    width: 280px;
    border-radius: 2px;
    border: 1px solid #e2e2e2;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    -webkit-box-shadow: inset 2px 2px 2px 1px rgba(0, 0, 0, 0.05);   
    box-shadow: inset 2px 2px 2px 1px rgba(0, 0, 0, 0.05);
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#ededed 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#ededed 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

textarea {
    height: 160px;
}

input:hover {
    border: 1px solid #84d2ff;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.homepage-head {
    width: 100%;
    min-width: 960px;
    height: 698px;
    background: url('../img/homebg.jpg') no-repeat top center;
    z-index: 100;
}

.homepage-head-small {
    width: 100%;
    min-width: 960px;
    height: 337px;
    background: url('../img/smallheadbg.jpg') no-repeat top center;
    z-index: 100;
    margin-bottom: 10px;
}

.content {
    width: 960px;
    margin: 0 auto;
}

.e-half {
    width: 50%;
    float: left;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
}

.half {
    width: 50%;
    float: left;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
}

.half-paddings {
    width: 435px;
    float: left;
}

.third {
    float: left;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
}

.twothird {
    width: 550px;
    margin-right: 30px;
    border-right: 1px solid #e1e1e1;
    padding-right: 30px;
    float: left;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
}

.onethird {
    width: 345px;
    float: left;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
}

.time {
    font-family: 'allerbold';
    font-size: 14px;
    text-align: right;
    color: #d6a100;
    display: inline-block;
    float: right;
}

.note {
    margin-right: 30px;
    float: right;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
}

.company {
    font-family: 'allerbold';
    font-size: 16px;
    line-height: 20px;
    display:inline-block;
}

.zlecenie {
    font-family: 'allerbold';
    font-size: 16px;
    line-height: 20px;
    display:inline;
}

.nav {
    width: 960px;
    height: 115px;
    margin: 0 auto;
}

.logo {
    width: 235px;
    float: left;
}

.logo img {
    margin-top: 40px;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.logo img:hover {
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.black {
    color: #000;
}

.small-space {
    letter-spacing:-1.35px;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.top-menu {
    margin-top: 55px;
    float: right;
}

.top-menu ul {
    list-style-type: none;
}

.top-menu li {
    float: left;
    padding-left: 35px;
    display: inline-block;
    font-family: 'allerbold';
    color: #fff;
    text-align: right;
    font-size: 16px;
}

.top-menu li a {
    text-decoration: none;
    color: #febfbf;
    text-shadow: -1px -1px 0px #6e111c;
    filter: dropshadow(color=#6e111c, offx=-1, offy=-1);
    -webkit-transition: color 1 ease-in-out;
    -moz-transition: color 1 ease-in-out;
    -ms-transition: color 1 ease-in-out;
    -o-transition: color 1 ease-in-out;
    transition: color 1 ease-in-out;
}

.top-menu li a:hover {
    color: #fff;
}

.bottom-menu {
    width: 100%;
    height: 60px;
}

.bottom-menu ul {
    list-style-type: none;
    float: right;
}

.bottom-menu li {
    padding-left: 35px;
    display: inline-block;
    font-family: 'allerbold';
    color: #808080;
    text-align: right;
    font-size: 16px;
}

.bottom-menu li a {
    text-decoration: none;
    color: #808080;
}

.bottom-menu li a:hover {
    text-decoration: none;
    color: #000;
}

.success {
    color: #6fb013;
}

.round {
    height: 125px;
    border: 1px solid #e6e6e6;
    border-radius: 15px;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
    padding: 20px;
    margin: -10px 10px 10px 10px;
    
}

.realizacje-round {
    height: 125px;
    border: 1px solid #e6e6e6;
    border-radius: 15px;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 12px;
    line-height: 20px;
    padding: 20px;
    margin: 10px 10px 10px 10px; 
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.realizacje-round:hover {
    border: 1px solid #d1d1d1;
    background-color: #fcfcfc;
}

.elastic-round {
    border: 1px solid #e6e6e6;
    border-radius: 15px;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
    padding: 20px;
    min-height: 95px;
    margin-bottom: 15px;
}

.elastic-round a {
    color: #d6a100;
}

.elastic-round a:hover {
    border-bottom: 1px dotted;
}

.pull-left {
    float: left;
    margin-right: 15px;
}

.w-round {
    border: 1px solid #e6e6e6;
    border-radius: 15px;
    font-family: 'allerregular';
    color: #7f7f7f;
    font-size: 13px;
    line-height: 20px;
    padding: 20px;
    min-height: 95px;
    margin-bottom: 15px;
}

.w-round img {
    margin-right: 10px;
    float: left;
}

.margin-left {
    margin-left: 15px;
}

.margin-big-left {
    margin-left: 30px;
}

.margin-bottom {
    margin-bottom: 30px;
}

.margin-sbottom {
    margin-bottom: 15px;
}

.separator {
    margin: 10px 0px -5px 0px;
    border-bottom: 1px solid #e6e6e6;
    width: 100%;
    height: 1px;
    display: inline-block;
}

footer {
    width: 100%;
    background-color: #f5f5f5;
    height: 100px;
    padding-top: 20px;
    font-size: 12px;
    color: #969696;
    font-family: 'allerregular';
}

footer .rights {
    float: left;
    width: 400px;
}

footer .rights img {
    margin-top: -5px;
}

footer .text {
    margin: 10px 20px 0px 20px;
}

footer .centurio {
    width: 550px;
    text-align: right;
    margin-top: 3px;
    float: right
}

footer .centurio img {
    margin-left: 20px;
}

.slider {
     width: 100%;
     height: 583px;
}

.sliderr {
    width: 100%;
    height: 583px;
    background: url('../img/slide1.png') top center no-repeat;
}

.sliderr2 {
    width: 100%;
    height: 583px;
    background: url('../img/slide2.png') top center no-repeat;
}

.head-title {
    width: 100%;
    height: 222px;
}

.wycena {
    background: url('../img/headwycena.png') top center no-repeat;
}

.realizacje {
    background: url('../img/headrealizacje.png') top center no-repeat;
}

.oferta {
    background: url('../img/headoferta.png') top center no-repeat;
}

.kontakt {
    background: url('../img/headkontakt.png') top center no-repeat;
}

.normal_silver {
     font-family: 'Arial';
     color: #7f7f7f;
     font-size: 12px;
     line-height: 24px;
     padding: 20px;
}

.three {
    width: 300px;
    height: 226px;
    margin: 0px 10px;
    z-index: 300;
    float: left;
}

.three .text {
    float: right;
    margin: 50px 15px 15px 15px;
    text-align: right;
}

.three .title {
    font-family: 'allerbold';
    font-size: 33px;
    display: inline-block;
    line-height: 26px;
}

.three .stitle {
    font-family: 'allerbold';
    font-size: 24px;
    display: inline-block;
    line-height: 22px;
}

.three .subtitle {
    margin-top: 10px;
    margin-bottom: 5px;
    line-height: 18px;
    font-size: 12px;
    color: #969696;
    font-family: 'allerregular';
}

.uplift {
    z-index: 300;
    margin: -100px auto 0px auto;
    width: 960px;
}

.uplift .first {
    background: url('../img/first.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.uplift .first:hover {
    margin-top: 0px;
     margin-bottom: 15px;

}

.uplift .second {
    background: url('../img/second.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.uplift .second:hover {
    margin-top: 0px;
    margin-bottom: 15px;

}

.uplift .third {
    background: url('../img/third.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.uplift .third:hover {
    margin-top: 0px;
    margin-bottom: 15px;

}


.silver-button {
    
    max-width: 100px;
    
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;

    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
    background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);

    background-color:#ffffff;

    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;

    border:1px solid #dcdcdc;

    display:inline-block;
    color:#717171;
    font-family: 'arial';
    font-weight: bold;
    font-size:12px;
    padding:7px 17px;
    text-decoration:none;

    text-shadow:-2px -1px 0px #ffffff;

}
.silver-button:hover {

    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
    background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);

    background-color:#f6f6f6;
}
.silver-button:active {
    position:relative;
    top:1px;
}


/* ==========================================================================
   Modals
   ========================================================================== */
/*
* Mootools Simple Modal
* Version 1.0
* Copyright (c) 2011 Marco Dell'Anna - http://www.plasm.it
*/
/* Header */
.header {
  position: relative;
  background: #dce0ed;
  display: block;
  height: 220px;
  text-align: center;
}
.header .window {
  position: relative;
  display: block;
  width: 125px;
  height: 131px;
	padding:32px 0 0;
	margin:0 auto;
  background: transparent url("../images/simpleModalSmallWhite.png") no-repeat center center;
}
/*Wrapper*/
.wrapper{
	display:block;
	width:960px;
	margin:0 auto;
}
.simple-modal-title{
  position: relative;
  display: block;
  width: 200px;
  height: 35px;
	padding:4px 0 0;
	margin:0 auto;
  background: transparent url("../images/demo.png") no-repeat center center;
}

/* Examples */
.example-item {
  position: relative;
  background: #FFFFFF;
  float:left;
	margin:20px 10px 0 10px;
  width: 218px;
  height: 198px;
  border: 1px solid #d9cfd8;
  text-align: center;
  cursor: pointer;
}
.example-item img {
  margin: 11px;
  border: 1px solid #dce0ed;
  width: 196px;
  height: 147px;
  line-height: 147px;
  cursor: pointer;
}
.example-item a,
.example-item a:link,
.example-item a:visited,
.example-item a:active {
  width: 218px;
  bottom: 10px;
  font-family: 'Helvetica', Arial, serif;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #8188a0;
}
.example-item a:hover {
  color: #444;
}

p.credits{
  display:block;
	padding:20px 0 10px 0;
	text-align:center;
	font-size:11px;
	color:#AAA;
}
.clear{
	clear:both;
}
.align-left{
  text-align:left !important;
}
.align-right{
  text-align:right !important;
}




/* ==========================================================================
   Oferta boxes
   ========================================================================== */
.lift:hover {
    margin-top: 0px;
    margin-bottom: 15px;

}

.ofirst {
    background: url('../img/ofirst.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.osecond {
    background: url('../img/osecond.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.othird {
    background: url('../img/othird.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.ofourth {
    background: url('../img/ofourth.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.ofiveth {
    background: url('../img/ofifth.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}

.osixth {
    background: url('../img/osixth.png') no-repeat center top;
    margin-top: 15px;
    -webkit-transition: margin 0.5s ease-in-out;
    -moz-transition: margin 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: margin 0.5s ease-in-out;
}







/* ==========================================================================
   Carousel styles
   ========================================================================== */
.ui-carousel {
	height: 100px;
	margin: 0;
	overflow: auto;
	padding: 0;
	position: relative; /*for ie7 to work e.g in html carousels*/
	width: 300px
}

.ui-carousel > .wrapper {
    margin: 0;
    padding: 0;
    width: 9999px;
}

.ui-carousel > .wrapper > * {
	border: 0;
	display: block;
	float: left;
	height: 100px;
	overflow: hidden;
	width: 100px;	
}

#carousel {
        width: 400px;
        margin: 0 auto;
}

#ui-carousel-next, #ui-carousel-prev {
        width: 60px;
        background: url('../img/arrow-left.png') #fff center center no-repeat;
        display: block;
        position: absolute;
        top: 0;
        z-index: 100;
}

#ui-carousel-next > span, #ui-carousel-prev > span {
        display: none;
}

.slide {
        margin: 0;
        position: relative;
        font-family: 'allerregular';
        color: #7f7f7f;
        font-size: 12px;
        line-height: 20px;
}

.slide img {
        float: left;
        margin-right: 15px;
}

.slide .company-toright {
        font-family: 'allerbold';
        font-size: 14px;
        text-align: right;
        color: #d6a100;
        display: inline-block;
        float: right;
}

#pages {
        width: 55px;
        margin: 0 auto;
}

.bullet {
        background: url('../img/page-off.png') center center no-repeat;
        display: block;
        width: 12px;
        height: 12px;
        margin: 0;
        margin-right: 5px;
        float: left;				
}








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
