/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ******************************************* RESET CSS ******************************************* */

/* ******************************************* STYLE CSS ******************************************* */

body {
   background: url(../img/background.png) center no-repeat; 
   background-size: cover;
   font-family: 'Titillium Web', sans-serif;
}

a {
    text-decoration: none;
}

i { 
    display: block;
    float: left;
    padding: 3% 3%;
    opacity: 0.3;
}

header {
    max-width: 429px;
    height: auto;
    margin: 0 auto;
}

header img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 55px;
    
}

main img {
    width: 85%;
    height: auto;
    margin: 50px auto 100px auto;
    display: block;
}

h1 {
    display: block;
    margin: 25px 0 25px 0;
    font-size: 2em;
    color: white;
    text-align: center;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.85);
}

img {
    opacity: 0.3;
    filter: alpha(opacity=30);
    filter: drop-shadow(2px 2px 2px #000);
}

/* ******************************************* DWIE KOLUMNY ******************************************* */

main {
    max-width: 920px;
    margin: 0 auto;
}

main:after {
    clear: both;
    content: "";
    display: table;
}

.left-col {
    width: 45.65%;
    float: left;
}

.right-col {
    width: 45.65%;
    float: right;
}

form {
    padding: 0 22px 20px 22px;
    margin: 0 auto;
    background-color: #f6f6f6;
}

/* ******************************************* style formularzy ******************************************* */

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: inset 2px -5px 10px -2px rgba(173,220,84, 0.53);
}

input, textarea, select {
    border: none;
    background-color: #f6f6f6;
    box-sizing: border-box;
    width: 100%;
}

.form-wrapper {
    width: 100%;
}

.input-wrapper {
	width: 100%;
	height: 41px;
	margin-top: 20px;
	display: block;
	box-sizing: border-box;
	border-radius: 5px;
	border: 1px solid #c6c6c6;
	background: #f6f6f6;
	background: -moz-linear-gradient(top, #f8f8f8 0%, #f3f3f3 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #f8f8f8 0%, #f3f3f3 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #f8f8f8 0%, #f3f3f3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient
	( startColorstr='#f8f8f8', endColorstr='#f3f3f3',GradientType=0 ); /* IE6-9 */
}
.input-wrapper input, .input-wrapper select, 
.input-wrapper select > option {
	box-sizing: border-box;
	width: 87.3%;
	font-size: 16px;
	line-height: 33px;
	padding: 3px 20px;
	/* margin-left: %; */ 
	border-left: 1px solid #c6c6c6;
	color: #afafaf;

}

.loc-select {
    -webkit-appearance: none;
	-moz-appearance: none;
    appearance: none;
    background-image: url(../img/arrow.png);
    background-repeat: no-repeat;
    background-position: 95% center;
}

form {
    border:  19px solid rgba(0, 0, 0, 0.3);
    background-clip: padding-box;
    border-radius: 5px;
    position: relative;
}

label.error {
    padding: 3px;
    display: inline-block;
    font-size: 13px;
    color: #d10a00;
}

/* ******************************************* style checkboxow ******************************************* */

input[type="checkbox"] {
   opacity: 0;
}

#c1 {
    position: absolute; 
    top: 76%;
    left: 6%;
    opacity: 0;
}

#c3, #c2 {
    display: none;
}

input[type="checkbox"] + label {
    display: block;
    height: auto;
    position: relative;
    margin-top: 5px;
}

input[type="checkbox"] + label p {
    color: #afafaf;
    box-sizing: border-box;
    display: inline-block;
    position: absolute;
    top: 50%;
    margin: 0;
    padding: 0;
    line-height: 12px;
}

input[type="checkbox"] + label span {
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer;
    margin: 13px 15px 0 0;
    width: 25px;
    height: 25px;
    border: 1px solid #c6c6c6;
    border-radius: 5px;
}

input[type="checkbox"]:checked + label span strong {
    display: inline-block;
    box-sizing: border-box;
    margin: 6px;
    padding: 6px;
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.right-col input[type="checkbox"] + label {
    display: inline-block;
    width: 170px;
    margin-top: 18px;
}

.no-border {
    border: none !important;
}

/* ******************************************* style buttonow sumbit ******************************************* */

.left-col input[type="submit"] {
    box-sizing: border-box;
    margin-top: 14px;
    width: 100%;
    max-width: 340px;
    height: 48px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    font-size: 24px;
}

.right-col input[type="submit"] {
    box-sizing: border-box;
    font-size: 18px;
    margin-top: 20px;
    width: 140px;
    height: 48px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
}

.gradient-buttons {
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
    border: 1px solid #3b9a00;
    background: #93d02b;
    background: linear-gradient(to bottom, #addc54 0%, #7ec31f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient
	( startColorstr='#addc54', endColorstr='#7ec31f',GradientType=0 );
}

.right-button {
    position: absolute;
    right: 21px;
}


#no-agreement-button {
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
    border: 1px solid #a72c36;
    background: #f44b5d;
    background: linear-gradient(to bottom, #f76f7f 0%, #f03747 100%);
    filter: progid:DXImageTransform.Microsoft.gradient
	( startColorstr='#f76f7f', endColorstr='#f03747',GradientType=0 ); /* IE6-9 */
}

input[type="submit"]:hover {
    opacity: 0.7;
}

input[type="submit"]:focus {
    opacity: 0.7;
}

/* ******************************************* style buttonow sumbit ******************************************* */

textarea {
    box-sizing: border-box;
    resize: none;
    padding: 10px;
    height: 227px;
}

.message-area {
    height: 230px;
    width: 100%;
}


/* ******************************************* style buttonow sumbit ******************************************* */

@media (max-width: 862px) {
    input[type="checkbox"] + label p {
        font-size: 14px;
    }
}

@media (max-width: 820px) {
    .left-col {
        float: none;
        width: 100%;
}
    .right-col {
        float: none;
        width: 100%;
    }
    main {
        max-width: 420px;
    }
}

@media (max-width: 449px) {
    header img {
        width: 90%;
    }
}

@media (max-width: 360px) {
    form {
        border: 5px solid rgba(0, 0, 0, 0.3);
        padding: 0 15px 20px 15px;
    }
    .right-col input[type="sumbmit"] {
        width: 120px;
    }
}

@media (max-width: 418px) {
    i {
        padding: 3% 1%;
    }
}

