/*
    designed by WebTemplateOcean.com
    http://www.webtemplateocean.com/
    released under Creative Commons Attribution-ShareAlike 3.0 license
*/

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}
body {
    margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}
audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
template {
    display: none;
}
a {
    background-color: transparent;
}
a:active,
a:hover {
    outline: 0;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,
strong {
    font-weight: bold;
}
dfn {
    font-style: italic;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 80%
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 1em 40px;
}
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}
pre {
    overflow: auto;
}
code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 5px;
    margin: 10px 0;
    min-width: 140px;
}
button {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled],
html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
}
optgroup {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
td,
th {
    padding: 0;
}
html {
    box-sizing: border-box;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
* {
    margin: 0;
    font-family: 'Tahoma' sans-serif;
    padding: 0;
    white-space: normal;
}
body {
    padding-bottom: 40px;
    font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #333333;
    background: #FFFFFF url('images/bg.gif') repeat-x;
}
h1 {
    font-weight: normal;
    font-size: 3.538em;
    line-height: 1.2;
    letter-spacing: -2px;
    margin: 0;
    color: #FFFFFF;
}
h1 a,
h1 a:hover {
    color: #FFFFFF;
    text-decoration: none;
}
h2 {
    font-weight: normal;
    letter-spacing: -1px;
    color: #555;
}
h3 {
    font-weight: normal;
    letter-spacing: -1px;
    color: #fff;
    font-size: 1.692em;
}
p {
    padding: .75em 0;
    line-height: 1.8em;
    text-align: justify;
}
a {
    color: #3E88BF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
#page {
    width: 980px;
    margin: 0 auto;
    padding-top: 20px;
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-top: none;
}
#header {
    height: 275px;
    margin: 0px 30px 15px 30px;
}
#header img {
    width: 100%
}
#logowrapper {
    float: left;
    margin-left: 12px;
    text-shadow: 0px 0px 18px rgba(0, 0, 0, 1);
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
    padding: 10px;
    position: absolute;
    top: 105px;
    letter-spacing: -1px;
    font-family: 'Tahoma', sans-serif;
}
#logowrapper:hover {
    text-shadow: 0px 0px 12px rgba(39, 89, 163, 1);
    text-decoration: none !important;
}
#logo {
    border: none;
}
#nav {
    padding-top: 20px;
    margin: 0px auto;
    height: 1px;
    width: 100%
}
#nav li {
    display: inline;
    min-width: 120px;
}
#nav li a {
    font-family: 'Tahoma' sans-serif;
    font-size: 20px;
    text-decoration: none;
    float: left;
    padding: 10px;
    background-color: #4086C4;
    color: #ffffff;
    border-bottom: 1px;
    border-bottom-color: #000000;
    border-bottom-style: solid;
    width: calc(16.66667% - 4px);
    text-align: center;
    margin: 2px;
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
    border-radius: 8px;
}
#nav li a.activenav {
    background-color: #ffffff;
    color: #396892;
    padding-bottom: 12px;
    border-bottom: 4px solid #396892;
}
#nav li a:hover {
    background-color: #ffffff;
    color: #396892;
    padding-bottom: 12px;
    border-bottom: 4px solid #396892;
}
#menu {
    float: right;
    width: 600px;
    padding-top: 225px;
    line-height: 1em;
}
#menu ul {
    float: left;
    list-style: none;
    line-height: 1em;
}
#menu ul li {
    display: inline-block;
    float: left;
    padding: 0 20px;
    font: .92em/60px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
//background:  #FFFFFF;
    line-height: 1em;
}
#menu ul li a {
    color: #000000;
    line-height: 1em;
}
#menu ul li a:hover {
    color: #3E88BF;
    text-decoration: none;
}
#sidebar {
    float: left;
    width: 300px;
    margin-bottom: 30px;
    padding: 0 10px;
    border-right: 1px solid #E3E3E3;
}
#sidebar h2 {
    font-size: 2.25em;
}
.sidebar-header {
    color: #000080;
    line-height: 1.1;
    text-align: center;
}
#sidebar .box {
    padding: 1.5em 0 4em 0;
}
#sidebar p {
    text-align: center;
    line-height: 1em;
}
#sidebar ul {
    list-style: none;
    padding: 2.25em 0 4.75em 0;
}
#sidebar ul li {
    padding: .2em 0 .2em 18px;
    line-height: 2em;
    background: url('images/li.gif') no-repeat 0 .9em;
}
#sidebar iframe {
    width: 100%;
    height: auto;
}
#content {
    float: right;
    width: 678px;
    padding: 0 20px;
}
#content .post {
    padding: 0 0 4em 0;
}
#content .entry {
    padding-top: .75em;
}
#content p {
//line-height:  1em;
}
#content h2 {
    font-size: 2.5em;
    margin-top: 16px;
}
#content h2 a {
    color: #777777;
}
#content h2 a:hover {
    text-decoration: none;
}
p.postmeta {
    color: #888888;
}
p.readmore {
    padding-right: 2em;
    text-align: right;
}
p.readmore a {
    padding: 4px;
    border: 1px solid #CFE0E9;
}
.clearing {
    clear: both;
    height: 1px;
    overflow: hidden;
}
#footer {
    margin: 0 1px;
    padding: 40px 20px;
    background: url('images/footer.gif') repeat-x;
}
#footer p {
    font: .85em Arial, Helvetica, sans-serif;
    text-align: center;
    text-transform: uppercase;
}
#footer span {
    padding: 0 .5em;
}
.calculator-form {
    width: 57%;
    padding: 20px 10px;
    background-color: #99FFB4;
}
.calculate-button {
    max-width: 90px;
    float: right;
    margin-top: 11px;
}
.contactbutton {
    -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, #f9f9f9), color-stop(1, #e9e9e9));
    background: -moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
    background-color: #f9f9f9;
    -webkit-border-top-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-left-radius: 6px;
    text-indent: 0;
    border: 1px solid #dcdcdc;
    display: inline-block;
    color: #666666;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    height: 36px;
    line-height: 24px;
    width: 64px;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0px #ffffff;
}
.contactbutton:hover {
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9));
    background: -moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
    background-color: #e9e9e9;
}
.contactbutton:active {
    position: relative;
    top: 1px;
}
.socialFB {
    position: fixed;
    top: 200px;
    left: 0;
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
}
.socialFB:hover {
    opacity: 0.8;
}
.socialGP {
    position: fixed;
    top: 325px;
    left: 0;
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
}
.socialGP:hover {
    opacity: 0.8;
}
.pricing-image-car {
    float: right;
    clear: right;
    margin-top: 38px;
    max-width: 250px;
}
@media screen and (max-width: 1199px) {} @media screen and (max-width: 1023px) {
    h1,
    h3 {
        text-shadow: 1px 1px 2px #000;
    }
    #page {
        width: 730px;
    }
    #header {
        height: 210px;
        margin: auto auto 16px auto;
    }
    #header img {
        width: 100%
    }
    #logowrapper {
        top: 65px;
        font-size: 0.8em;
    }
    #nav li a {
        font-size: 14px;
        padding: 5px;
        min-width: 97px;
        margin: 2px;
    }
    #sidebar {
        width: 35%;
        padding: 0 20px;
    }
    #sidebar iframe,
    #sidebar img {
        width: 100%;
        height: auto;
    }
    #content {
        width: 65%
    }
    #content .images-container {
        text-align: center;
    }
    .pricing-image-car {
        float: none;
        clear: both;
        max-width: 49%;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    .calculator-form {
        width: 100%;
        text-align: left;
    }
    #price {
        margin-left: 15px;
    }
    .activenav {
        padding-bottom: 5px !important;
    }
}
@media screen and (max-width: 767px) {

    body {
        padding-bottom: 0;
    }

    #content,
    #sidebar,
    #page {
        width: 100%
    }
    #page {
        padding-top: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    #header {
        height: auto;
        width: 100%;
    }

    .flexible {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .flexible #content .post{
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .flexible #content .entry {
        order: 1;
    }

    .flexible #content .images-container {
        order: 2;
    }

    #content {
        order: 1;
        padding: 0 10px;
    }

    #sidebar {
        order: 2;
    }

    #footer {
        order: 3;
    }

    #header img {
        width: 100%;
        background-image: url(./images/tarnowskiegory_header.jpg);
        background-repeat: no-repeat;
        background-position: 50%;
        height: 0;
        padding: 90px;
    }
    #logowrapper {
        top: 60px;
        font-size: 0.65em;
        text-align: center;
        margin-left: 0;
        width: calc(100% - 2px);
    }
    #nav li a {
        font-size: 12px;
        min-width: 32%
    }
    #nav li a:hover,
    #nav li a.activenav {
        padding: 5px;
        border-bottom: 1px solid #396892;
    }
    .pricing-image-car {
        max-width: 100%
    }
    .socialFB,
    .socialGP {
        display: none;
    }
    .cmtx_comment_field,
    .cmtx_submit_button {
        width: 100% !important;
    }
}
@media screen and (max-width: 479px) {
    #logowrapper {
        font-size: 0.6em;
    }
}
@media screen and (max-width: 359px) {}