@font-face {
    font-family: 'hagincapsmedium';
    src: url('../fonts/hagincapsmedium.eot');/*IE9 Compat Modes*/
    src: url('../fonts/hagincapsmedium.eot?#iefix') format('embedded-opentype'),/*IE6-8*/
         url('../fonts/hagincapsmedium.woff') format('woff'),/*Modern Browsers*/
         url('../fonts/hagincapsmedium.ttf') format('truetype'),/*Safari, Android, iOS*/
         url('../fonts/hagincapsmedium.svg#hagincapsmedium') format('svg');/*Legacy iOS*/
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'hagincapsthin';
    src: url('../fonts/hagincapsthin.eot');
    src: url('../fonts/hagincapsthin.eot?#iefix') format('embedded-opentype'),
         url('../fonts/hagincapsthin.woff') format('woff'),
         url('../fonts/hagincapsthin.ttf') format('truetype'),
         url('../fonts/hagincapsthin.svg#hagincapsthin') format('svg');
    font-weight: normal;
    font-style: normal;
}

body{
	background:url(../images/wzor.png) no-repeat fixed 50% 0, url(../images/body_bg.jpg) repeat;
	font-family: 'Palatino Linotype', Georgia, Serif;
    /*font-size: 1em;*/
    text-align: center;
    color: #293033;
}

.down-up{
    width: 100%;
    text-align: right;
}

.down-up img{
    padding: 0 10px;
    width: 18px;
}

/*Navi section************************************************/

#navi-wrap{
    max-width: 100%;
    background:url(../images/wave.png) repeat-x 0 -2px, url(../images/nav-line.png) no-repeat 50% 75px;
    overflow: hidden;
}

#logo{
    display: block;
    width:191px;
    height: 171px;
    margin: 30px  auto 0 auto;
    text-indent: -99999px;
    background: url(../images/stolarstwo-wg.png) no-repeat;
    z-index: 10;
}

nav{
    max-width: 860px;
    margin:-127px auto 140px;
}

nav a{
    font-family: hagincapsmedium;
    color:#293033;
    font-size: 21px;
}

.stolarnia, .projekty{
    float:left;
    margin:0 0 0 40px;
    width: 100px;
}

.uslugi, .kontakt{
    float: right;
    margin:0 40px 0 0;
    width: 100px;
}

/*header section**********************************************/

header{
    max-width:1080px;
    margin:30px auto 0;
    padding: 0 30px;
    overflow: hidden;
    clear: both;
}

header h1{
    font-family: hagincapsmedium;
    font-size: 7.96em;
}

header h2{
    font-family: hagincapsmedium;
    font-size: 2.59em;
    color: #c4be80;
}

.separator{
    max-width: 1080px;
    height: 6px;
    background: url(../images/separator.png) repeat-x 50% 0;
    margin:30px 0 10px;
    clear: both;
}

.headertext{
    font-size: 1.3em;
    font-style: italic;
    line-height: 120%;
    margin-top:30px;
    line-height:30px;
}

.someheadertext{
    font-size: 1.4em;
    font-family: hagincapsthin;
    margin-top:30px;
}

/*slider section*****************************************/

#slider-wrap{
    max-width:1080px;
    margin:60px auto 0;
    padding: 0 30px;
    overflow: hidden;
    clear: both;
}

.slide{
    display: block;
    width:100%;
}

.slide img{
    width: 100%;
}

.slide div{
    display: block;
    position: absolute;
    bottom:0;
    width: 100%;
    background: #293033;
    text-align: left;
}

.slide a{
    color:#8aaca3;
}

.slide h1{
    font-family: hagincapsmedium;
    font-size: 32px;
    color:#8aaca3;
    padding: 20px 0 10px 20px;
}

.slide p{
    color:white;
    font-size: 18px;
    font-style: italic;
    line-height: 24px;
    padding:0 20px 20px 20px;
}
/*projects section****************************************/

#projekty{
    width: 100%;
    background:rgba(255,255,255,0.40);
    overflow: hidden;
}

.projects-wrap{
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 30px 0 30px;
    text-align: left;
    overflow: hidden;
}

.section-title{
    display:    block;
    font-size: 36px;
    font-family: hagincapsmedium;
    color: #8aaca3;
    padding: 30px 0 5px 0;
}

.section-description {
    font-size: 18px;
    display: block;
    font-style: italic;
}

.grid{
    max-width: 1080px;
    margin:30px 0 60px;
    overflow: hidden;
}

.col-1-3{
    width: 31.42857142857146%;
    float: left;
    margin:0 0 30px 0;
    overflow: hidden;
}

.col-1-3 a{
    position: relative;
}

.first, .second{
    margin-right: 2.857142857142857%;
}

.first{
    clear: left;
}

.pt-img{
    border: 1px solid #a69d73;
    width: 100%;
}

.click-me{
    position: absolute;
    bottom:20px;
    overflow: hidden;
    width: 100%;
    height: 40px;
    text-align: center;
    color: white;
    font-family: hagincapsmedium;
    line-height: 40px;
    background:rgba(132,111,28,0.7);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.col-1-3 a:hover .click-me{
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    transition: all 0.5s cubic-bezier(0.42, 0, 0.58, 1);
}

.pt-h1{
    font-family: hagincapsmedium;
    color:#a69d73;
    font-size: 26px;
    padding:10px 0 5px 0;
}

.pt-p{
    color:#293033;
    font-size: 18px;
    line-height: 24px;
    font-style: italic;
    letter-spacing: 0.04em;
    padding: 5px;
}

/* ver1.2 gallery links*/

.gallery-links{
    margin: 30px 0 100px;
}

.gallery-links li{
    margin-bottom: 10px;
}

.gallery-link{
    font-family: hagincapsmedium;
    font-size: 42px;
    color: #a69d73;
    position: absolute;
    opacity: 0.6;
}

.point{
    display: inline-block;
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 21px;
    background: #a69d73;
    border:1px solid #8aaca3;
    opacity: 0.3;
    margin: 0 20px 0 0;
    transition: all 0.3s ease-out;
}

.gallery-links li:hover .point{
    opacity: 0.7;
    box-shadow: 0 0 1px 5px rgba(149,128,93,0.12);
    margin: 10px 20px 10px 0;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    border:none;
}

.gallery-links li:hover .gallery-link{
    margin-top: 15px;
    opacity: 1;
}

/*serwices section******************************************/

#uslugi{
    max-width: 1080px;
    padding: 30px 30px 0 30px;
    margin: 0 auto
}

.serwices-slogan{
    font-size: 36px;
    font-style: italic;
    line-height: 45px;
    padding: 60px 0;
}

.s-category{
    font-family: hagincapsmedium;
    font-size: 36px;
    padding: 20px 0 5px;
}

.s-img{
    width: 65%;
}

.s-desc{
    font-size:17px;
    line-height: 22px;
    padding: 0 0 20px 0;
}

/*footer section***************************************************************/

#footer-wrap{
    width: 100%;
    background: rgba(42,40,38,0.85);
    overflow: hidden;
}

footer{
    max-width: 1080px;
    min-height: 900px;
    padding:30px 30px;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
}

footer h4{
    font-family: hagincapsmedium;
    font-size: 98px;
    color: #e4d8be;
    padding: 0 0 15px;
}

.contact{
    font-family: hagincapsthin;
    font-size: 58px;
    color: #8aaca3;
}

.contact-email{
    font-family: hagincapsmedium;
    font-size: 24px;
}

.contact-symbol{
    color: #e4d8be;
}

.company-name, .adress{
    font-family: hagincapsmedium;
    font-size: 24px;
    color:#e4d8be;
    line-height: 30px;
}

.company-name{
    padding:20px 0 0;
}

.adress{
    padding:0;
}

.adress span{
    font-size: 16px;
    font-family: 'Palatino Linotype', Georgia, Serif;
}

.no-margin{
    width: 33.33333333333333%;
}
.col-2-3{
    float: left;
    width: 66.66666666666667%;
}

.map {
    display: block;
    width: 100%;
    padding: 15px 0 0;
}

.map img{
    width: 100%;
}

.signature{
    overflow: hidden;
    width:100%;
    padding: 60px 0;
    clear: both;
}

.signature img{
    float:left;
}

.signature span{
    font-size: 14px;
    height: 66px;
    line-height: 66px;
    color: #e4d8be;
    padding: 0 0 0 10px;
}

.clients{
    font-size: 16px;
    
    padding: 60px 0 0;
    font-family: 'Palatino Linotype', Georgia, Serif;
    line-height: 25px;
}

.partners{
    font-size: 14px;
    width: 100%;
    padding: 100px 0 20px;
    color: #e4d8be;
    text-align: right;
}
.partners a{
    width: 100%;
    display: block;
    color:#e4d8be;
    text-decoration: none;
}

/*************************************************/

@media screen and (min-width: 1024px) and (max-width: 1199px) {

header, #slider-wrap, .projects-wrap, #uslugi, footer{
    max-width:1024px;
}

nav{
    max-width: 764px;
    margin-bottom: 140px;
}

header h1{
    font-size: 7em;
}

header h2{
    font-size: 2.2em;
}

.headertext{
    font-size: 1.2em;
}

.s-desc{
    font-size: 1.1em;
}
footer h4{
    font-size: 5.5em;
}

.contact{
    font-size: 2.4em;
}}



@media screen and (min-width: 764px) and (max-width: 1023px) {

nav, header, #slider-wrap, .projects-wrap, #uslugi, footer{
    max-width:764px;
}

nav{
    margin-bottom: 140px;
}

header h1{
    font-size: 81px;
}

header h2{
    font-size: 1.6em;
}

.headertext{
    font-size: 1.1em;
}

.s-desc{
    font-size: 1em;
}
footer h4{
    font-size: 4em;
}

.contact{
    font-size: 2.4em;
}
.contact-email{
    font-size: 16px;
}

.gallery-link{
    font-size: 32px;
}

.point{
    width: 32px;
    height: 32px;
    border-radius: 16px;
}

.gallery-links li:hover .point{
    width: 42px;
    height: 42px;
    border-radius: 21px;
}
}

@media screen and (min-width: 480px) and (max-width: 763px) {

nav, header, #slider-wrap, .projects-wrap, #uslugi, footer{
    max-width:480px;
}

nav{
    margin:30px auto;
}

.stolarnia, .projekty, .uslugi, .kontakt{
    width: 110px;
    margin: 0;
}

header h1{
    font-size: 3em;
}

header h2{
    font-size: 1.5em;
}

.headertext{
    font-size: 1em;
}

.slide h1{
    font-size: 1em;
    padding: 10px;
}

.slide p{
    font-size: 0.8em;
    padding: 0 10px 10px;
    line-height: 16px;
}

.s-desc{
    font-size: 1em;
}
footer h4{
    font-size: 4em;
}

.contact{
    font-size: 2.4em;
}

.col-1-3{
    width: 48.0366492146596%;
    float: left;
    margin:0 0 30px 0;
    overflow: hidden;
}

.small{
    margin-right: 3.92670157068062%;
    clear: left;
}
.first{
    clear:none;
}

.no-margin{
    width: 100%;
    text-align: center;
}

.col-2-3{
    width: 100%;
}

.signature img{
    display: block;
    margin:80px auto 0;
    float:none;
}
.signature span{
    line-height: 100%;
    margin-top: -120px;
    padding: 10px 0 0;
    display: block;
    text-align: center;
    clear: both;
}

.serwices-slogan{
    font-size: 1.8em;
}

.gallery-link{
    font-size: 28px;
}

.point{
    width: 28px;
    height: 28px;
    border-radius: 14px;
}

.gallery-links li:hover .point{
    width: 36px;
    height: 36px;
    border-radius: 18px;
}
}

@media screen and (min-width: 280px) and (max-width: 479px) {

nav, header, #slider-wrap, .projects-wrap, #uslugi, footer{
    max-width:320px;
}

nav{
    margin:30px auto 0;
}

nav ul{
    width: 260px;
    margin: 0 auto;
}

.stolarnia, .projekty, .uslugi, .kontakt{
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin: 0 0 10px;
    background: rgba(42,40,38,0.85);
    float: none;
}

.uslugi{
    position: relative;
    top:-100px;
}

.kontakt{
    position: relative;
    margin-top: 60px;
}

nav li a{
    color: #8AACA3;
}

header{
    margin-top: 0;
}

header h1{
    font-size: 1.7em;
}

header h2{
    font-size: 1em;
}

.headertext{
    font-size: 1em;
}

.slide div{
    display: none;
}

.s-desc{
    font-size: 1em;
}
footer h4{
    font-size: 4em;
}

.contact{
    font-size: 2.4em;
}

.col-1-3{
    width: 100%;
    float: left;
    margin:0 0 30px 0;
    overflow: hidden;
}

.no-margin{
    width: 100%;
    text-align: center;
}

.col-2-3{
    width: 100%;
}

.signature img{
    display: block;
    margin:80px auto 0;
    float:none;
}
.signature span{
    line-height: 100%;
    margin-top: -120px;
    padding: 10px 0 0;
    display: block;
    text-align: center;
    clear: both;
}

.serwices-slogan{
    font-size: 1.5em;
}

/* ver1.2 gallery links*/

.gallery-links li{
    margin-bottom: 60px;
}

.gallery-link{
    font-size: 26px;
    color: #a69d73;
    opacity: 1;
    padding: 0 30px 20px 0;
}

.point{
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #a69d73;
    border:1px solid #8aaca3;
    opacity: 0.3;
    margin: 7px 20px 0 0;
    transition: all 0.3s ease-out;
}

.gallery-links li:hover .point{
    opacity: 0.7;
    box-shadow:none;
    margin: 7px 20px 0 0;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border:1px solid #8aaca3;
}

.gallery-links li:hover .gallery-link{
    margin-top: 0;
    opacity: 1;
}
}