body {
    margin: 0 auto;
    border: 1px solid #ededed;
    -moz-box-shadow: 0 0 12px rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 12px rgba(0,0,0,.5);
    box-shadow: 0 0 12px rgba(0,0,0,.5);
}

    h1,h2,h3,h4,h5,h6 {
        color: #2076BB;
        font-weight: normal;
        margin-bottom: 10px;
    }
    
    h1 {font-size: 26px;}
    h2 {font-size: 24px;}
    h3 {font-size: 20px;}
    h4 {font-size: 18px;}
    h5 {font-size: 16px;}
    h6 {font-size: 14px;}
    
    ul, ol {
        list-style-position: inside;
    }
        
        ol li {
            list-style-type: decimal;
        }
        
    table {
        margin: 10px 0;
        border-collapse:collapse;
        width: 100%;
    }
    
        thead th {
            background: #9e1d31;
            color: #fff;
        }
    
        tr {
            border: 1px solid #fff;
        }
        
        th,
        td {
            padding: 6px;
            background: #ccc;
            vertical-align: middle;
            border: 1px solid #fff;
        }
        
        tbody tr:nth-child(2n) th,
        tbody tr:nth-child(2n) td {
            background: #ededed;
        }

    input, select, textarea {
        display: inline-block;
        border: 1px solid #6FB0E6;
        color: #999;
        width: 100%;
        height: 35px;
        padding: 7px 5px 7px 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        transition: all 0.15s;
        -webkit-transition: all 0.15s linear;
        -moz-transition: all 0.15s linear;
        -o-transition: all 0.15s linear;
        -ms-transition: all 0.15s linear;
    }
    input, textarea {
        -webkit-appearance: none;
    }
    #form li.submit {
        font-size: 22px;
    }
        
        .submit input[type=submit],
        .submit .back {
            display: inline-block;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
            height: 45px;
            line-height: 45px;
            padding: 0;
            color: #fff;
            font-weight: bold;
            font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
            text-transform: uppercase;
            font-size: 22px;
        }
        
        .submit input[type=submit] {
            background: #00b7ea;
            background-position: center right;
            background-repeat:  no-repeat;
            background-image: url('img/ico-arrow-next.png'), -moz-linear-gradient(top,  #00b7ea 0%, #bf0000 0%, #f40000 100%);
            background-image: url('img/ico-arrow-next.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(0%,#bf0000), color-stop(100%,#f40000));
            background-image: url('img/ico-arrow-next.png'), -webkit-linear-gradient(top,  #00b7ea 0%,#bf0000 0%,#f40000 100%);
            background-image: url('img/ico-arrow-next.png'), -o-linear-gradient(top,  #00b7ea 0%,#bf0000 0%,#f40000 100%);
            background-image: url('img/ico-arrow-next.png'), -ms-linear-gradient(top,  #00b7ea 0%,#bf0000 0%,#f40000 100%);
            background-image: url('img/ico-arrow-next.png'), linear-gradient(top,  #00b7ea 0%,#bf0000 0%,#f40000 100%);
            -moz-box-shadow: 0 0 5px rgba(0,0,0,.4);
            -webkit-box-shadow: 0 0 5px rgba(0,0,0,.4);
            box-shadow: 0 0 5px rgba(0,0,0,.4);
            border: 1px solid #C00000;   
        }
        
        .back + input[type=submit] {
            width: 62%;
            margin-left: 3%;
        }
    
        .submit .back {
            border: 1px solid #6FB0E6;
            padding: 0 5px;
            text-align: right;
            background-position: center left;
            background-repeat:  no-repeat;
            background-image: url('img/ico-arrow-prev.png'), -moz-linear-gradient(top,  #2176bc 0%, #50adf5 100%);
            background-image: url('img/ico-arrow-prev.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2176bc), color-stop(100%,#50adf5));
            background-image: url('img/ico-arrow-prev.png'), -webkit-linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            background-image: url('img/ico-arrow-prev.png'), -o-linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            background-image: url('img/ico-arrow-prev.png'), -ms-linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            background: linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            width: 23%;
            color: #fff;
            text-decoration: none;
        }
    
    .amount {
        
    }
        
        .amount label {
            text-align: center!important;
            width: 100%;
            font-size: 18px;
            color: #2076BB;
            margin-bottom: 5px;
        }
        
        .amount select {
            /*background: #2176bc url('img/bg-amount.png') top left repeat-x;*/
            background: -moz-linear-gradient(top,  #2176bc 0%, #50adf5 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2176bc), color-stop(100%,#50adf5));
            background: -webkit-linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            background: -o-linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            background: -ms-linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            background: linear-gradient(top,  #2176bc 0%,#50adf5 100%);
            font-size: 18px;
            color: #fff!important;
            line-height: 18px;
            overflow: hidden;
            -webkit-appearance: button;
            -webkit-user-select: none;
            text-align: center;
        }
        
        .amount.invalid select {
        	color: #CC0000;
        	color: #CC0000!important;
        }
            .amount select option {
                color: #333;
            }
    
    label {
        display: inline-block;
        width: 100%;
        padding: 7px 5px 2px 6px;
    }
    
    input:focus, select:focus, textarea:focus {
        border: 1px solid #4EACF5;
        -moz-box-shadow: 0 0 8px #4EACF5;
        -webkit-box-shadow: 0 0 8px #4EACF5;
        box-shadow: 0 0 8px #4EACF5;
        outline: none;
        color: #333;
    }
    
    .invalid input, .invalid select, .invalid textarea{
        background: url('img/ico-invalid.png') right 5px no-repeat;
        border-color: #CC0000;
        color: #CC0000;
        -moz-box-shadow: 0 0 8px #f53333;
        -webkit-box-shadow: 0 0 8px #f53333;
        box-shadow: 0 0 8px #f53333;
    }
    .invalid option select {
        color: #333;
    }
    
    .invalid.error-flash input,  .invalid.error-flash select {
    	border: 1px solid #004d88;
        -moz-box-shadow: 0 0 8px #004d88;
        -webkit-box-shadow: 0 0 8px #004d88;
        box-shadow: 0 0 8px #004d88;
        outline: none;
        color: #fff;
        
        background-color: #4EACF5;;
    }
    
    .double,
    .tripple {
        width: 100%;
        display: table;
        text-align: center;
    }
        .double span,
        .tripple span {
            display: table-cell;
            width: auto;
        }
        
        .double span {
        	width: 50%;
        }
        
            .double span input,
            .double span select, 
            .tripple span input,
            .tripple span select {
                width: 99.5%
            }
            
            .double span input,
            .double span select {
                width: 99%;
            }
            
            .tripple span:nth-child(2) input,
            .tripple span:nth-child(2) select {
                margin: 0 2%;
                width: 96%;
            }
            
            .double span:first-child input,
            .double span:first-child select {
                margin-right: 1%;
            }
            
            .double span:last-child input,
            .double span:last-child select {
                margin-left: 1%;
            }
            
    #main {
        background: #f9f9f9;
        background: -moz-linear-gradient(top, #f9f9f9 0%, #eeeeee 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#eeeeee));
        background: -webkit-linear-gradient(top, #f9f9f9 0%,#eeeeee 100%);
        background: -o-linear-gradient(top, #f9f9f9 0%,#eeeeee 100%);
        background: -ms-linear-gradient(top, #f9f9f9 0%,#eeeeee 100%);
        background: linear-gradient(top, #f9f9f9 0%,#eeeeee 100%);
    }
    
       #main .terms p,
        #main .terms ul,
        #main .terms ol,
        #main .terms table {
            margin-bottom: 10px;
        }
        
        #main .terms ul li {
            list-style-type: circle;
            list-style-position: inside;
            margin-bottom: 0;
        }
        #main .terms ol li {
            list-style: inside decimal;
        }
        
        #main .loading .loader {
            text-align: center;
            padding: 15px 0;
        }
        
        #main .loading h2 {
            margin-bottom: 0px;
            font-size: 18px;
            text-align: center;
        }
        
        #main .message-container {
            border-radius: 5px;
            padding: 5px 22px 5px 5px;
            text-align: center;
            border: 1px solid;
            position: relative;
            display: none;
        }
        
             #main .message-container .close {
                 overflow: hidden;
                 text-indent: 100%;
                 white-space: nowrap;
                 display: block;
                 position: absolute;
                 right: 7px;
                 top: 9px;
                 width: 9px;
                 height: 9px;
                 background: url('img/ico-close.png') 0 0 no-repeat;
                 cursor: pointer;
             }
        
        #main .message-container.success {
            border-color: #a5d02a;
            background: #ddf1da;
            color: #39874c;
            -moz-box-shadow: 0 0 8px rgba(165, 208, 42, .5);
            -webkit-box-shadow: 0 0 8px rgba(165, 208, 42, .5);
            box-shadow: 0 0 8px rgba(165, 208, 42, .5);
        }
        
        #main .message-container.error {
            border-color: #CC0000;
            background: #faf1f1;
            color: #CC0000;
            -moz-box-shadow: 0 0 8px #f53333;
            -webkit-box-shadow: 0 0 8px #f53333;
            box-shadow: 0 0 8px #f53333;
        }
        
        #main .message-container.info {
            color: #3385B2;
            background: #D8EDF6;
            border-color: #4EACF5;
            -moz-box-shadow: 0 0 8px #4EACF5;
            -webkit-box-shadow: 0 0 8px #4EACF5;
            box-shadow: 0 0 8px #4EACF5;
        }

    #header {
        background: #e0edf7 url('img/bg-header.jpg') center center no-repeat;
        height: 80px;
        border-bottom: 1px solid #BEDDF6;
        text-align: center;
    }
        
        #header .logo {
            float: left;
            background: url('img/logo.png') top left no-repeat;
            margin-top: 7px;
            width: 187px;
            height: 54px;
            overflow: hidden;
            text-indent: -9999px;
            margin-bottom: 0;
        }
        
        #header ul {
            float: right;
        }
        
            #header li {
                list-style: none;
                text-align: right;
                padding-right: 22px;
                background: url('img/ico-checked.png') top right no-repeat;
                line-height: 1.8;
            }
            
            #header #contactPhoneContainer {
            	float: right;
            	line-height: 1.4;
            	font-size: 1.2em;
            }
            	#header #contactPhoneContainer span {
            		display: block;
            		
            		text-align: left;
            	}
    
    #form ul {
        padding: 0;
        margin: 0 auto;
        text-align: center;
    }
    
        #form li {
            list-style: none;
            margin-bottom: 10px;
            text-align: left;
        }
        
            #form li>p {
                display: none;
                color: #CC0000;
                padding: 7px 5px 0 5px;
            }
            
            #form li.invalid p {
                display: block;
            }
        
    .security {
        text-align: center;
        color: #666;
        line-height: 16px;
    }
        
        .security span {
            padding-left: 20px;
            background: url('img/ico-security.png') 0 0 no-repeat;
        }
        
        
    .bottomnav {
        margin-top: 25px;
    }
        .bottomnav ul {
            text-align: center;
            display: table;
            width: 100%;
        }
            
            .bottomnav li {
                display: table-cell;
                padding: 0 2px;
            }
            
    #footer {
        background: #fff;
        border-top: 1px solid #BEDDF6;
        clear: both;
    }

@media only screen and (max-width:320px) { /* bardzo maĹe ekrany (np.: starsze tel. z symbianem) */
    body {
        width: auto;
    }
        .container {
            padding: 2px;
        }
        #header {
            padding: 10px 5px;
        }
        #main, #footer {
            padding: 5px;
        }
        
            #main li {
                margin-bottom: 5px;
            }
            
        #form .submit .back,
        .back + input[type=submit] {
            font-size: 14px;
        }
        
        .back + input[type=submit] {
            margin-left: 2.9%;
        }
        
		.submit input[type=submit], .submit .back {
        	text-align: center;
        	text-ident: -99em;
        }
        
        
}

@media only screen and (min-width:320px) { /* maĹe ekrany do 480px */
    body {
        width: 310px;        
    }
        #header {
            padding: 10px;
        }
        #main {
            padding: 10px;
        }
        #footer {
            padding: 5px 10px;
        }
        
        #form .submit .back,
        .back + input[type=submit] {
            font-size: 16px;
        }
        
        .submit .back {
        	font-size: 14px;
        	text-align: center;
        	width: 32%;
            padding-left: 15px;
        }
        
        .bottomnav li {
                display: inline-block;
                text-align: center;
                padding: 0 10px;
            }
        

}

@media only screen and (min-width:480px) { /* typowe smartfony od 480px*/
    body {
        width: 480px;
    }
        #header {
            padding: 10px 45px;
        }
        #main {
            padding: 20px 45px;
            overflow: hidden;
        }
        #footer {
            padding: 10px 45px;
        }
        #form .submit .back,
        .back + input[type=submit] {
            font-size: 22px;
        }
        
        
}

@media only screen and (min-width:768px) { /* nowsze smartfony i tablety */
	
	body {
        margin-top: 20px;
        width: 768px;
    }
    
    #header {
        background-position: -180px 0;
    }
    
    input, select, textarea, label, .security, .bottomnav, .tripple, .double {
        float: left;
        width: 70%;
        font-size: 14px;
    }
    
    .bottomnav,
    .security, 
    .tripple,
    .double {
        float: right;
    }
    
    label {
        clear: left;
        width: 28%;
        padding: 0;
        line-height: 34px;
        margin-right: 2%;
    }
    
    .amount label {
        width: 28%;
        text-align: left!important;
        font-size: 16px;
        margin-bottom: 0;
    }
    
    #main .message-container {
        margin-bottom: 20px;
    } 
    
    #form .submit {
        text-align: right;
    }
    
        #form .submit input {
            margin-top: 10px;
            float: none;
        }
        
        #form .submit .back {
           padding: 0;
           text-align: center;
        }
        
        .back + input[type=submit] {
            margin-left: 1%;
            width: 44.5%;
        }
        
        #form li p {
            width: 70%;
            float: right;
        }
}



 #form li .loading p {
            width: 100%;
            float: none;
            text-align: center;
        }


#form li.invalid ::-webkit-input-placeholder  { color: transparent; }
#form li.invalid input:-moz-placeholder { color:transparent; }


p.info {
	margin: 1em 0;
	background: #fff2c5;
	border: 1px solid #edd273;
	
	padding: .5em;
}

#contactPhoneContainer{
	text-align: right;
	color: #112a4c;
}

#contactPhoneContainer a{
	text-decoration: none;
	color: #112a4c;
	font-size: 12px;
}

#contactPhoneContainer a span{
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	color: #112a4c;
	background: url(img/p1.png) no-repeat left center;
	padding-left: 20px;
}

.contact-form{
	
}

.contact-form .input-line{
	min-height: 50px;
}

.contact-form textarea{
	height: 150px;
}

.contact-form .button{
	text-align: right;
	display: block;
}

.contact-form .button input.submit{
	margin: 15px auto;
	float: right !important;
	padding-right: 40px;
}

/*
.contact-form .button input{
	margin: 20px auto;
	display: inline-block;
	float: none;
	background-image: -webkit-linear-gradient(top, #2176bc 0%,#50adf5 100%);
	color: #fff;
	border: none;
}*/

.contact-form input,
	.contact-form textarea{
  -webkit-transition: none; 
     -moz-transition: none; 
       -o-transition: none; 
          transition: none; 
}
.contact-form .error-input{
	border: 1px solid #e8b08a;
	background: #f9ede5 url(img/ico-error.png) no-repeat 98% center;


}

.contact-form textarea.error-input{
	background: #f9ede5 url(img/ico-error.png) no-repeat 98% 7px;
}

.faq > ul > li p {
	display: none;
}

.faq > ul > li.active p {
	display: block;
}

input.pin {
	float: none;
	text-align: center;
	width: 18px;
	height: 28px;
	line-height: 28px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-left: 8px;
}	