/* FONTS */
@font-face {
	font-family: 'Lato';
	src: url('../fonts/Lato-Regular.eot');
	src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Lato-Regular.woff') format('woff'),
		url('../fonts/LaLato-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Lato';
	src: url('../fonts/Lato-Bold.eot');
	src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Lato-Bold.woff') format('woff'),
		url('../fonts/LaLato-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Lato';
	src: url('../fonts/Lato-BlackItalic.eot');
	src: url('../fonts/Lato-BlackItalic.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Lato-BlackItalic.woff') format('woff'),
		url('../fonts/LaLato-BlackItalic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}
/* @font-face {
	font-family: 'Courgette';
	src: url('../fonts/Courgette-Regular.eot');
	src: url('../fonts/Courgette-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Courgette-Regular.woff') format('woff'),
		url('../fonts/Courgette-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
} */

/* GENERAL */
body {
    color: #454344;
    font-family: 'Lato';
    font-size: 20px;
}
p {
    line-height: 2em;
}
a {
    color: #454344;
    transition: all 0.5s;
}
a:focus {
    color: #454344;
}
a:hover {
    color: #e41e0a;
}
.title-bar {
    background: transparent;
}
.menu-icon {
    width: 25px;
}
.menu-icon:after {
    height: 3px;
    background: #454344;
    box-shadow: 0 7px 0 #454344, 0 14px 0 #454344;
}
.menu-icon:hover:after {
    background: #e41e0a;
    box-shadow: 0 7px 0 #e41e0a, 0 14px 0 #e41e0a;
}
.main-navigation {
    font-family: 'Lato';
    font-style: italic;
    font-size: 16px;
    text-align: center;
    position: relative;
}
.main-navigation ul {
    display: inline-block;
    width: 100%;
}
.main-navigation ul li {
    display: inline-block;
    position: relative;
}
.main-navigation ul li a {
    display: block;
    margin-top: 25px;
    margin-bottom: 25px;
}
.main-navigation ul li a:after {
    content: "";
    position: absolute;
    width: 0; 
    height: 0;
    top: 0;
    left: 50%;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #e41e0a;
    transform: translateX(-50%);
    transition: all 0.5s;
    opacity: 0;
}
.main-navigation ul li a:hover:after {
    opacity: 1;
}
.facebook {
    width: 151px;
    height: 188px;
    background: url(../images/fb.png);
    position: absolute;
    right: 0;
    bottom: -132px;
}
.facebook a {
    width: 32px;
    height: 32px;
    position: absolute;
    right: 51px;
    bottom: 33px;
}
.site-branding {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}
.site-branding a {
    display: inline-block;
}
.site-content {
    overflow: hidden;
}
#page {
    background: url(../images/photos1a.png) no-repeat 50% 120px;
}
#nasza-robota {
    background: url(../images/photos2a.png) no-repeat 50% 280px;
    padding-bottom: 70px;
    max-width: none;
}
/* #intro {
    background: url(../images/photos1.png) no-repeat center;
}
#nasza-robota {
    background: url(../images/photos2.png) no-repeat bottom;
    padding-bottom: 70px;
} */
.image {
    margin-top: 10px;
    margin-bottom: 10px;
}
.title {
    color: #e41e0a;
    font-family: 'Lato';
    font-style: italic;
    font-size: 28px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
.for-you .image {
    left: 90px;
    position: relative;
}
#player {
    margin-top: -70px;
}
.player {
    width: 90%;
    margin: 0 auto;
}
.player-header {
    position: relative;
}
.youtube {
    width: 317px;
    height: 240px;
    background: url(../images/yt.png) no-repeat center / 100%;
    position: absolute;
    right: 0;
    bottom: -85px;
}
.youtube a {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 78px;
    top: 124px;
}
.orbit-wrap {
    position: relative;
}
.orbit-previous, .orbit-next {
    width: 60px;
    height: 90px;
	margin-top: 20px;
}
.orbit-previous {
    left: -60px;
    background: url(../images/prev-icon.png) no-repeat center / 90%;
}
.orbit-next {
    right: -60px;
    background: url(../images/next-icon.png) no-repeat center / 90%;
}
.orbit-next:active, .orbit-next:focus, .orbit-next:hover,
.orbit-previous:active, .orbit-previous:focus, .orbit-previous:hover {
    background-color: transparent;
}
.orbit-previous:hover,
.orbit-next:hover {
    cursor: pointer;
}
.orbit-container:focus {
    outline: none;
}
.orbit-title {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.25em;
}
.orbit-bullets {
    overflow: hidden;
    left: 0;
	transition: all 1s;
}
.orbit-bullets-wrap {
    overflow: hidden;
    z-index: 2;
    position: relative;
    margin: 0 -5px 50px;
}
.orbit-bullets-nav {
    z-index: 2;
    position: relative;
}
.orbit-bullets-previous, .orbit-bullets-next {
    position: absolute;
    width: 60px;
    height: 90px;
    top: 50%;
    transform: translateY(-50%);
	margin-top: -30px;
	opacity: 0.2;
}
.orbit-bullets-previous.active, .orbit-bullets-next.active {
	opacity: 1;
}
.orbit-bullets-previous:hover, .orbit-bullets-next:hover {
    cursor: pointer;
}
.orbit-bullets-previous:focus, .orbit-bullets-next:focus {
    outline: none;
}
.orbit-bullets-previous {
    left: -60px;
    background: url(../images/prev-icon.png) no-repeat center center / 90%;
}
.orbit-bullets-next {
    right: -60px;
    background: url(../images/next-icon.png) no-repeat center center / 90%;
}
.orbit-bullets button {
    float: left;
    width: 20%;
    height: auto;
    border-radius: 0;
    border: 0 none;
    margin: 0;
    padding: 0px 5px;
    background: transparent;
}
.orbit-bullets button:hover,
.orbit-bullets button.is-active,
.orbit-bullets button.is-active:hover {
    background: transparent;
}
.orbit-bullets button:hover {
    cursor: pointer;
}
.orbit-bullets-title {
	color: #454344;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.25em;
}
#mystery-pictures {
    margin-bottom: 30px;
}
.vimeo-wrap {
    position: relative;
    min-height: 198px;
}
.vimeo {
    width: 770px;
    height: 325px;
    background: url(../images/vimeo.png);
    position: absolute;
    left: 15px;
    top: -95px;
    z-index: 1;
}
.vimeo a {
    width: 45px;
    height: 45px;
    position: absolute;
    left: 220px;
    top: 156px;
}
.blog {
    width: 90%;
    margin: 0 auto 50px;
    overflow: hidden;
}
.blog .title {
    color: #454344;
	margin-bottom: 15px;
}
.blog .first .title {
    color: #e41e0a;
}
.content, .content p {
    font-size: 16px;
    line-height: 1.5em;
}
.photo {
    border-radius: 100px;
    border: 3px solid #e41e0a;
    margin-top: 20px;
    margin-bottom: 30px;
}
.sentence {
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 20px;
}
.sentence:before {
    content: '"';
}
.sentence:after {
    content: '"';
}
.name {
	font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
.play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    background: url(../images/play.png) no-repeat center center / 100%;
    transform: translate(-50%,-50%);
    transition: all 0.5s;
}
.large-6 .play {
    width: 80px;
    height: 80px;
}
.play:hover {
    cursor: pointer;
    transform: translate(-50%,-50%) scale(1.1);
}
.gallery div {
    overflow: hidden;
}
.gallery div a {
    display: block;
}
.gallery img {
    display: block;
    filter: gray;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    transition: all 0.5s;
}
.gallery img:hover {
  -webkit-filter: grayscale(0);
  filter: none;
  transform: scale(1.05);
}
#form {
    font-family: 'Lato';
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 100px;
}
#form p {
    line-height: 1.5em;
}
[type=text], [type=email], textarea {
    border: 2px solid #d2d3d5;
    border-radius: 0;
    line-height: 1em;
    padding: 1.5em;
    margin-bottom: 1.5em;
}
textarea[rows] {
    height: 200px;
    line-height: 1.5em;
}
[type=text]:focus, [type=email]:focus, textarea:focus {
    border: 2px solid #e41e0a;
}
[type=submit] {
    background: #e41e0a;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-family: 'Lato';
    font-weight: bold;
    float: right;
    line-height: 1em;
    padding: 1em 2em;
    margin-bottom: 20px;
    transition: all 0.5s;
}
[type=submit]:hover {
    background: #454344;
    cursor: pointer;
}
span.wpcf7-not-valid-tip {
    font-size: 0.9em;
    margin-top: -1.5em;
    margin-bottom: 1em;
}
div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors {
    font-size: 0.9em;
    padding: 0.5em;
    margin: 1em 0 0;
}


/* Small only */
@media screen and (max-width: 39.9375em) {
    .main-navigation ul li {
        display: block;
    }
    .main-navigation ul li a {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .main-navigation ul li a:after {
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
        border-left: 12px solid #e41e0a;
        border-right: 12px solid transparent;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }
    .facebook {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .for-you .image {
        position: static;
    }
    .youtube {
        position: relative;
        bottom: 0;
        max-width: 100%;
    }
    .play {
        width: 80px;
        height: 80px;
    }
    .orbit-title {
        margin-bottom: 10px;
        font-size: 16px;
    }
    .orbit-next {
        right: -38px;
        width: 48px;
    }
    .orbit-previous  {
        left: -38px;
        width: 48px;
    }
    .orbit-bullets-next {
        right: -38px;
        width: 48px;
    }
    .orbit-bullets-previous  {
        left: -38px;
        width: 48px;
    }
    .orbit-bullets button {
        width: 50%;
    }
    .vimeo {
        
    }
}

/* Medium and up */
@media screen and (min-width: 40em) {
	
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    
}

/* Large and up */
@media screen and (min-width: 64em) {
    
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {
    
}

/* x-Large and up */
@media screen and (min-width: 74.9375em) {
    
}

/* xx-Large and up */
@media screen and (min-width: 1445px) {
    #page {
		background: url(../images/photos1.png) no-repeat 50% 120px;
	}
	#nasza-robota {
		background: url(../images/photos2.png) no-repeat 50% 30px;
	}
}




/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}