/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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;
    background:white;;
    font-family: 'corporate_sregular';
}

/*
 * 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.
 */

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

::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;
}
a, a:visited{
	text-decoration:none;
}

/*
 * 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
   ========================================================================== */
@font-face {
    font-family: 'corporate_sdemi';
    src: url('fonts/corporates-demi-webfont.eot');
    src: local('☺'), url('fonts/corporates-demi-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/corporates-demi-webfont.woff') format('woff'), url('fonts/corporates-demi-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'corporate_slight';
    src: url('fonts/corporates-light-webfont.eot');
    src: local('☺'), url('fonts/corporates-light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/corporates-light-webfont.woff') format('woff'), url('fonts/corporates-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'corporate_sregular';
    src: url('fonts/corporates-regular-webfont.eot');
    src: local('☺'), url('fonts/corporates-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/corporates-regular-webfont.woff') format('woff'),
         url('fonts/corporates-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
.wrapper{
	width:90%;
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	height:auto;
	padding:2% 5% 2% 5%;
	
	text-align:left;
	
	
}
p {
	 font-family: 'Arial'!important;
}
.special{
	height:270px !important;
	overflow-y:visible;
}
left{
	float:left;
	margin-right:30px;
}
.transparent{
	background:url('../img/white.png');
	
}
.wrapper_bg{
	background:url('../img/szrobialy.png');
}
.input{
	width:90%;
	padding-left:5%;
	padding:right:5%;
	height:50px;
	border-radius:25px;
	-webkit-border-radius: 25px;
-moz-border-radius: 25px;
	background:transparent;
	border:1px solid black;
	margin-bottom:30px;
	
}
.input:disabled{
	background:red;
	color:white;
}
.small{
	width:40%;
	margin-right:3%;
}
.small2{
	width:40%;
}
.input:focus{
	background:white;
	outline:none;
}
#menu{
	position:fixed;
	top:0;
	right:-190px;
	width:190px;
	z-index: 9998;
	background:url('../img/transparent.png');
	padding-top:20vw;
	height:40vw;
}
.menuitem{
	color:#e0dfdf;
	text-decoration:none;
	font-size:25px;
	border-bottom: 1px solid white;
	margin-bottom:20px;
	width:80%;
	margin-left:20%;
	text-transform:uppercase;
} 
.menuitem:hover{
	color:white;
	margin-left:30%;
	width:70%;
}
label.error:not(.error-zgoda)
{
	display:block;
	position:absolute;
	margin-top:-25px;
	color:red;
}

label.error-zgoda
{
	display:block;
	color:red;
}


#numer-error, #nazwisko-error, #wydzial-error, #miejscowosc-error{
	margin-left:250px;
}

#zgoda1-error, #zgoda2-error, #zgoda3-error, #zgoda4-error
{
	margin:0;
	position:relative;
}

textarea{
	width:85%;
	padding:5%;

	height:170px;
	border-radius:25px;
	background:transparent;
	margin-bottom:20px;
}
textarea:focus{background:white;}

#sukces{
	display:none;
}

#error-msg{
	display:none;
}

.collumn{
	width:50% !important;
	float:left;
	
}
.wide{
	position:relative;
	width:100%;
	background:white;
}
.mazaje{
	background-image:url('../img/mazaje.jpg');
	background-position:top center;
	background-repeat:no-repeat;
	margin-top:50px;
	
}
#top{
	width:100%;
	max-width:1200px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	padding:10px 0 10px 0;
	
	
}
.wrapper_duzy{
	width:100%;
	max-width:1200px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	
	
}
#logo_franke{
	position:relative;
	float:left;
	margin-top:20px;
}
.logo{
	position:relative;
	float:right;
}
#slide{
	width:100%;
	
	background-position:top center;
	background-image:url('../img/slider.jpg');
	background-repeat:no-repeat;
	background-color:#99a1ab; 
	height:658px;
	position:relative;
	margin-left:auto;
	margin-right:auto;
}
#red{
	position:relative;
	float:left;
	margin-top:100px;
	width:47%;
	background-image:url('../img/FRANKE_Tlo10px.png');
	padding:3% 5% 3% 5%;
	height:280px;
	color:white;
	font-family: 'corporate_sregular';
	font-size:19px;
	
	
}
.gruby{
	font-family: 'corporate_sdemi';
}
.duzy {
	
	font-size:70px;
	line-height:70px;
}
.szary{
	border:1px solid white;
	height:50px;
	border-radius:25px;
	padding-left:40px;
	padding-right:40px;
	color:white;
	font-size:20px;
	background:url('../img/transparent.png');
	margin:50px 25px auto 25px;;
	text-transform:uppercase;
	
}
.szary:hover{
	background:#cb041b;
}
.czerwony{
	border:1px solid #cb041b;
	height:50px;
	border-radius:25px;
	padding-left:40px;
	padding-right:40px;
	color:#cb041b;
	font-size:20px;
	margin-top:20px;
	background:transparent;
	text-transform:uppercase;
	
}
.czerwony:hover{
	background:#cb041b;
	color:white;
}
.czerwony2{
	border:1px solid #cb041b;
	height:50px;
	border-radius:25px;
	padding-left:40px;
	padding-right:40px;
	
	font-size:20px;
	margin-top:20px;
	background:#cb041b;
	color:white;
	
	text-transform:uppercase;
	
}
.czerwony2:hover{
	background:transparent;
	color:#cb041b;
}
.red_text{
	color:#cb041b;
}
.red{
	color:white;
	background:#cb041b;
}

.right{
	float:right;
}
.left{
	float:left;
	margin-right:30px;
}

#sukces{
display:none;
}

#error-msg{
display:none;
}
nav{
	position:fixed;
	right:60px;
	top:140px;
	z-index: 9999;
}
.napis_pisany{
	position:relative;
	float:left;
	margin-left:-125px;
}
.tabulator{
	margin-left:200px;
	 font-family: 'corporate_slight';
	 color:#424242;
}
.tabulator2{
	margin-left:75px;
	color:#424242;
	font-family: 'corporate_slight';
}
.tytul{
	margin-top:10px;
	margin-bottom:10px;
	font-size:25px;
	line-height: 25px;
	float:left;
}
.slash{
	float:left;
	margin-left:30px;
	margin-top:10px;
}
.collumn-3a{
	margin-top:50px;
	position:relative;
	float:left;
	width:25%;
	margin-left:20%;
	 font-family: 'corporate_slight';
	
}
.collumn-3{
	margin-top:50px;
	position:relative;
	float:left;
	width:25%;
	margin-left:2.5%;
	 font-family: 'corporate_slight';

}
.ikonka{
	margin-bottom:10px;
}
.nagrody td {
	font-size:20px;
}
input[type="checkbox"]{
	margin-right:20px;
}
footer{
	padding-top:30px;
	padding-bottom:30px;
	background:#f8f8f8;
	width:100%;
	color:#656565;
}
input[type=checkbox].css-checkbox {
							position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
						}

						input[type=checkbox].css-checkbox + label.css-label {
							padding-left:16px;
							height:11px; 
							display:inline-block;
							line-height:11px;
							background-repeat:no-repeat;
							background-position: 0 0;
							font-size:11px;
							vertical-align:middle;
							cursor:pointer;

						}

						input[type=checkbox].css-checkbox:checked + label.css-label {
							background-position: 0 -11px;
						}
						label.css-label {
				background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_c5a7f5fe2938b9c07668a6c2ba0f6aed.png);
				-webkit-touch-callout: none;
				-webkit-user-select: none;
				-khtml-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}
	::-webkit-input-placeholder {
   color: #424242;
}

:-moz-placeholder { /* Firefox 18- */
   color: #424242;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #424242;  
}

:-ms-input-placeholder {  
   color: #424242;  
}
/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (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;
    }
}
@media all and (min-width:320px) and (max-width:600px) {
	img {max-width:100%;}
	 .collumn-3,.collumn-3a,.collumn{
	width:90% !important;
	margin:auto;
	}
	.tabulator,.tabulator2{
		margin:auto;
	}
	#red{
	position:relative;
	float:left;
	margin-top:100px;
	width:90%;
	background:url('../img/red.png');
	padding:3% 5% 3% 5%;
	height:auto;
	color:white;
	
}
.szary{
	font-size:16px;
	margin:30px;
}
.special{
	height:500px !important;
	overflow-y:visible;
}
.napis_pisany{
	margin-left:-50px;
}
.small, .small2{
	width:90%;
}
nav{
	position:fixed;
	right:20px;
	top:20px;
	z-index: 9999;
	background:white;
	padding:10px;
	border-radius:10px;
}
#menu{
	height:100vh;
}
#top{
	text-align:center;
}
#logo_franke{
	float:none;
	position: relative;
	display:block;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}
.logo{
	float:none;
	position: relative;
	display:block;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}
#numer-error, #nazwisko-error, #wydzial-error, #miejscowosc-error{
	margin-left:0px;
}
	
}
 @media (min-width:400px) and (max-width:900px){
      /* For portrait layouts only */
    .collumn-3,.collumn-3a{
	width:50%;
	margin:auto;
	
	
}
#red{
	position:relative;
	float:left;
	margin-top:100px;
	width:90%;
	background:url('../img/red.png');
	padding:3% 5% 3% 5%;
	height:auto;
	color:white;
	
}
.special{
	height:600px !important;
	overflow-y:visible;
}

	.small, .small2{
	width:90%;
}
#numer-error, #nazwisko-error, #wydzial-error, #miejscowosc-error{
	margin-left:0px;
}
}