@font-face {
    font-family:'TrajanPro-Regular';
    src: url('../fonts/TrajanPro-Regular/TrajanPro-Regular_gdi.eot');
    src: url('../fonts/TrajanPro-Regular/TrajanPro-Regular_gdi.eot?#iefix') format('embedded-opentype'),
         url('../fonts/TrajanPro-Regular/TrajanPro-Regular_gdi.woff') format('woff'),
         url('../fonts/TrajanPro-Regular/TrajanPro-Regular_gdi.ttf') format('truetype'),
         url('../fonts/TrajanPro-Regular/TrajanPro-Regular_gdi.svg#TrajanPro-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

* {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
    margin: 0;
    font-family:'TrajanPro-Regular';
}
.hide {
    text-indent: -9999em;
    height: 0px;
}
.clear {
    clear: both;
}
.center {
    text-align: center;
}
.bold {
    font-weight: bold;
}
header {
    margin: 0 5%;
    height: 80%;
}
.video-container {
    top: 0;
    position: absolute;
    transition: opacity 1s ease 0s;
    z-index: -100;
    height: 80%;
    width: 90%;
    overflow: hidden;
}
video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
nav.main {
    position: absolute;
    top: calc(80% - 100px);
    z-index: 1001;
    height: 100px;
    background-color: rgba(255,255,255,0.7);
    width: 90%;
}

/* flex box up */

.up-header {
    background-color: rgba(255, 255, 255, 0.7);
    height: 100px;
    position: relative;
}
.up-header .left {
    height: 71%;
    left: 57px;
    position: absolute;
    top: 18px;
}
.up-header .left img {
    /*height: 100%;*/
    width: 250px;
    margin-top: -10px;
}
.up-header .right {
    bottom: 26px;
    height: 25%;
    position: absolute;
    right: 10px;
}
.up-header .right .logos {
    float: right;
    height: 100%;
    text-align: center;
    width: 220px;
}
.up-header .right .logos img {
    width: 150px;
    margin-top: -10px;
}
.up-header .right .logos.kod-sukcesu img {
    width: 180px;
    margin-top: 6px;

}
.up-header .right .logos.moc-art img {
    width: 110px;
    margin-top: -2px;

}
/* end flex box up*/

/*podstrony*/

/*podstrony end*/

.second-section {
    background-color: #aaa;
    width: 100%;
    height: 100px;
}
nav.another {
    height: 50px;
    background-color: #348745;
}
ul.menu2 li {
    display: inline-block;
}
/* content */

.content {
    position: relative;
    width: 90%;
    margin: 5% 5%;    
}
#slider-1 {
    position: relative;
    width: 80%;
    margin: 0 10%;
}
#slider-1 .icon {
    position: absolute;
    background: url(../img/icons/background.png) no-repeat;
    background-size: contain;
    border-radius: 50%;
}
#slider-1 #icon-0 {
    z-index: 2;
}
#slider-1 .icon {
     display: block; 
    overflow: hidden;
}
#slider-1 div {
    transition: all 0.3s ease-in-out;
}
#slider-1 #icon-0 div {
    background: url("../img/logotypy/studiomanix.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 100%;
    margin: 36% 0 0 14%;
    width: 74%;
}
#slider-1 #icon-1 div {
    background: url("../img/icons/firmowe.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 62%;
    margin: 17% 0 0 20%;
}
#slider-1 #icon-2 div {
    background: url("../img/icons/druki.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 62%;
    margin: 15% 0 0 12%;
}
#slider-1 #icon-3 div {
    background: url("../img/icons/uslugi.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 62%;
    margin: 15% 0 0 14%;
}
#slider-1 #icon-4 div {
    background: url("../img/icons/odziez.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 62%;
    margin: 18% 0 0 13%;
}
#slider-1 #icon-5 div {
    background: url("../img/icons/reklamy.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 62%;
    margin: 18% 0 0 21%;
}
#slider-1 #icon-6 div {
    background: url("../img/icons/gadzety.png") no-repeat scroll 0 0 / contain rgba(0, 0, 0, 0);
    height: 62%;
    margin: 18% 0 0 18%;
}

#slider-1 a:hover div {
    transform: scale(1.2);
}

#slider-1 .arrow {
    background: url(../img/arrow.png) no-repeat;
    background-size: contain;
    position: absolute;
}


aside {
    width: 250px;
    float: left;
}
ul.aside-menu {
    list-style-type: none;
}
ul.aside-menu li {
    padding: 15px 0;
    background-color: #65984a;
    margin: 15px 0;
    border-radius: 5px;
}
section.right-site {
    float: right;
    width: calc(100% - 300px);
    background-color: #76982e;
    margin-bottom: 20px;
}
section.right-site p {
    padding: 15px;
    margin: 15px;
}
/* footer */

.site-footer {    
    overflow: hidden;
    width: 90%;
    margin: 0 5%;
}

#map {
    width: 100%;
    height: auto;
    height: 400px;
    border: 0;
}
.contact {
    margin-top: 50px;
    padding-top: 30px;
    font-size: 16px;
    color: #fff;
    background-color: #2b2a29;
    height: 300px;
}
.contact .footer-left, .contact .staff {
    float: left;
    width: 33%;
    text-align: center;
}
.contact .footer-left {
    margin-top: 50px;
}
.contact .footer-left img {
    width: 300px;
}
.contact .staff img {
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
.contact .staff img:hover {
    /*-webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg); 
    -o-transform:rotate(360deg);
    transform:rotate(360deg);*/

    -webkit-transform:rotateY(180deg);
    -moz-transform:rotateY(180deg); 
    -o-transform:rotateY(180deg);
    transform:rotateY(180deg);
}
.contact .footer-left p {
    margin-top: 20px;
}
.contact .staff img {
    width: 150px;
}
.contact .staff > p {
    padding-left: 200px;
    margin-top: -30px;
}
.margin-div {
    margin-top: 40px;    
}
.margin-div p {
    padding-bottom: 10px;
}





@keyframes writingAnimateLeft {
    0% {
        transform: scale(1) rotate(0deg);
    }
    10% {
        transform: scale(1.2) rotate(-45deg);
    }
    20% {
        transform: scale(1) rotate(0deg);
    }
}
@keyframes writingAnimateRight {
    0% {
        transform: scale(1) rotate(0deg);
    }
    10% {
        transform: scale(1.2) rotate(45deg);
    }
    20% {
        transform: scale(1) rotate(0deg);
    }
}

.writing {
    color: red;
    font-size: 30px;
    font-weight: 500;
    height: 35px;
    text-transform: uppercase;
    width: 199px;
    position: absolute;
}
.wri-left {
    left: 20px;
    top: 20px;
    animation: writingAnimateLeft 10s infinite ease-out;
}
.wri-right {
    right: 20px;
    top: 20px;
    width: 270px;
    animation: writingAnimateRight 10s infinite ease-out;
}




/*@media all and (min-width: 1400px) {

/*
@media all and (min-width: 800px) {

    
    header {
        margin: 0 auto;   
    }
    
    .video-container {
        width: 720px;
    }
    
    .main {
        width: 720px;  
    }
    
    .container {
        margin: 0 auto;
         width: 720px;  
    }
    
    .site-footer {
        margin: 0 auto;
         width: 720px;
    }
    
    

}*/



@media all and (max-width: 800px) {

    
    body {
        width: 1080px;
    }

    .video-container {        
        width: 1000px;    
    }
    video {        
        width: 1000px;        
    }
    
    nav.main {        
        width: 1000px;
    }
    

}


.subpage {
    font-family: Helvetica;
    /*height: 100%;*/
}
.subpage-header-left {
    width: 350px;
    float: left;    
}
.subpage-header-right {
    width: 500px;
    float: right;   
    margin-top: 30px;     
}

.btn {
    text-decoration: none;
    color: white;
    background-color: #333;
    border-radius: 20px;
}
.btn {
  background: #f5dada;
  background-image: -webkit-linear-gradient(top, #f5dada, #ed1111);
  background-image: -moz-linear-gradient(top, #f5dada, #ed1111);
  background-image: -ms-linear-gradient(top, #f5dada, #ed1111);
  background-image: -o-linear-gradient(top, #f5dada, #ed1111);
  background-image: linear-gradient(to bottom, #f5dada, #ed1111);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Helvetica;
  color: #ffffff;
  font-size: 16px;
  padding: 6px 17px 7px 14px;
  text-decoration: none;
}

.btn:hover {
  background: #d62828;
  background-image: -webkit-linear-gradient(top, #d62828, #f26f6f);
  background-image: -moz-linear-gradient(top, #d62828, #f26f6f);
  background-image: -ms-linear-gradient(top, #d62828, #f26f6f);
  background-image: -o-linear-gradient(top, #d62828, #f26f6f);
  background-image: linear-gradient(to bottom, #d62828, #f26f6f);
  text-decoration: none;
}

.subcontent {
    height: 80%;
    margin: 0 5%;    
}
.subcontent iframe {
    margin-top: 30px;
    width: 100%;
    height: 100%;
}
.choose {
    height: 90%;
    display: none;
}
.subcontent  iframe {
    margin-top: 30px;
    width: 100%;
    height: 100%;
}
