/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  html, body {
  	overflow-x: hidden;
  }
  
  
  
  
h1, h2, h3, h4, h5, h6, p {
	font-family: 'Oswald', sans-serif;
}
.header {
	background: linear-gradient(to bottom, #e2eff4, white 40%, white);
	min-height: 105px;
}
.header h1 {
	font-family: 'Oswald', sans-serif;
	font-size: 28px;
	color: #0c445b; 
	font-weight: 300;
	text-transform: uppercase;
	
}
.header h1 span {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
}
.flexible {
	display: flex;
	align-items: center;
	min-height: 105px;
	justify-content: flex-end;
	
}
.flexible.img {
	justify-content: flex-start;
}
@media screen and (max-width: 992px) {
	.flexible {
		
		justify-content: center;
		
	}
	.flexible.img {
		justify-content: center;
	}
}

.slider {
	background-image: url('../img/slider.jpg'); 
	background-repeat: no-repeat;
	background-size: cover;
	
	height: 480px;
	width: 100%;
	background-position: center;
}
.slider h2 {
	font-family: 'Oswald', sans-serif;
	font-size: 58px;
	color: #01abba; 
	font-weight: 400;
	text-transform: uppercase;
	float: right;
	margin-top: 20%;
	direction:rtl;
}
.slider h2 span {
	font-family: 'Oswald', sans-serif;
	font-size: 42px;
	color: #ffffff; 
	font-weight: 300;
	text-transform: none;
	
	
}
@media screen and (max-width: 768px) {
	.slider h2 {
		font-family: 'Oswald', sans-serif;
		font-size: 36px;
		color: #01abba; 
		font-weight: 400;
		text-transform: uppercase;
		float: right;
		margin-top: 20%;
		direction:rtl;
	}
	.slider h2 span {
		font-family: 'Oswald', sans-serif;
		font-size: 22px;
		color: #ffffff; 
		font-weight: 300;
		text-transform: none;
		
		
	}
}
#pomoc .container-fluid {
	background: linear-gradient(to bottom, #e2eff4, white 70%, white);
	padding-bottom: 60px;
}
#pomoc h3 {
	font-family: 'Oswald', sans-serif;
	font-size: 35px;
	color: #151d1f; 
	font-weight: 400;
	text-transform: uppercase;
	margin-top: 55px;
	margin-bottom: 30px;
}
#pomoc ul {
	display: inline-block;
	margin-right: 80px;
}
@media screen and (max-width: 992px) {
	#pomoc ul {
		display: block;
		margin:0;
	}
}
#pomoc ul li {
	font-family: 'Oswald', sans-serif;
	font-size: 27px;
	color: #151d1f; 
	font-weight: 300;
	list-style-type: square;
	color: #01abba;
}

#pomoc ul li span{
	
	color: #151d1f; 
	line-height: 2;
	
}

#jezyk {
	background-color: #dfecf1;
	padding-bottom: 60px;
}
#jezyk h3 {
	font-family: 'Oswald', sans-serif;
	font-size: 27px;
	color: #151d1f; 
	font-weight: 400;
	margin-top: 55px;
	text-transform: uppercase;
	
}
#jezyk h3 span {
	font-size: 35px;
	color: #01abba;
}
#jezyk ul li {
	list-style-type: decimal;
	font-family: 'Oswald', sans-serif;
	font-size: 21px;
	font-weight: 400;
	color: #01abba;
}
#jezyk ul li span {
	
	 
	color: #151d1f;
	font-weight: 300;
}
#logos h4{
	font-family: 'Oswald', sans-serif;
	font-size: 23px;
	font-weight: 300;
	color: #0c445b;
	margin-top: 30px;
}

.logobox div {
	display: flex;
	
	-o-align-items: center;
	align-items: center;
}
.logobox img {
	max-width: 100%;
	padding: 20px 10px;
	width:100%;
}
.slick-prev:before, .slick-next:before {
	color: #01abba;
}
@media screen and (max-width: 992px) {
	.slick-prev {
		left: -5px;
	}
	.slick-next {
		right: -5px;
	}
}

.footy {
	height: 96px;
	background-color: #508895;
}

#mailer {
	min-height: 396px;
	width: 386px;
	background-color: #ff9c00;
	border-radius: 10px;
	padding: 20px 35px;
	margin-top: -140px;
	float:right;
} 
@media screen and (max-width: 992px) {
	#mailer {margin-top: 20px; max-width: 100%;float: left;}
}
#mailer input[type="text"], #mailer input[type="tel"], #mailer input[type="email"] {
	margin: 5px 0;
	padding: 5px;
	border-radius: 5px;
	width: 100%;
	border: none;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
} 
#mailer input[type="submit"] {
	margin: 20px auto;
	background-color: #151d1f;
	padding: 5px 30px;
	color: white;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	border: none;
	border-radius: 5px;
	text-align: center;
	display: block;
	font-size: 16px;
}

#mailer h5 {
	font-size: 21px;
	font-family: 'Oswald', sans-serif;
	color: #151d1f;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.6;
	
}
#mailer h5 span {
	font-size: 44px;
	color: white;
	padding: 10px 0;
	vertical-align: middle;
}
#mailer h5 span i {
	vertical-align:7%;
}



#dzieki {
	background: linear-gradient(to bottom, #e2eff4, white 70%, white);
	padding-bottom: 60px;
	padding-top: 60px;
}
#dzieki h2 {
	font-size: 41px;
	text-align: center;
	color: #151d1f;
}
#dzieki h3 {
	font-size: 30px;
	text-align: center;
	color: #151d1f;
}
#dzieki i {
	text-align: center;
	padding: 10px;
	color: #01abba;
	display: inline-block;
	
}
#dzieki h5 {
	font-size: 27px;
	font-weight: 300;
	text-align: center;
	color: #151d1f;
}
#dzieki img {
	margin: 30px auto;
	display: block;
}
#dzieki #kwadraty {
	width: 105px;
	margin: 60px auto;
	display: block;
	font-size: 10px;
} 
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-top: 140px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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,
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
