@import url(https://fonts.googleapis.com/css?family=Advent+Pro);
@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC);
@import url(https://fonts.googleapis.com/css?family=Anaheim);

/* *** CSS RESET *** */

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,font,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 {margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
blockquote,q {quotes: none}
blockquote:before,blockquote:after,q:before,q:after {content: none}
:focus {outline: 0}
ins {text-decoration: none}
del {text-decoration: line-through}
table {border-collapse: collapse; border-spacing: 0}
input {margin: 0; padding: 0;}
* {margin: 0; padding: 0;}
a {outline: none; text-decoration: none;}
a, img {border: 0;}
.clearfix {display:inline-block}
.clearboth {clear:both;}
button {cursor: pointer;}

/* *** GLOBAL *** */

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url(js/boxsizing.htc);
}

*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url(js/boxsizing.htc);
}

.clearer {
    clear: both;
    height: 0;
}

body {
    color: #000;
	background:#fff;
    width:100%;
    font-family: 'Anaheim', sans-serif;
}

#container {
    width: 100%;
	min-height:400px;
}

#content {
	width:1000px;
	height:auto;
	position:relative;
	margin:0px auto;
	z-index:100;
}

.faces {
	width:100%;
	height:200px;
	background:url(../graph/faces4.jpg);
	background-position:center;
}

/* *** TOP *** */

header {
	width:100%;
	background:#f0f0f0;
	height:73px;
}

#top {
    width:1000px;
	margin:0px auto;
	position:relative;
	z-index:200;
}

#logo {
	float:left;
	margin-right:10px;
	margin-top:5px;
}

header #top #MainMenu {
	width:1000px;
	margin:0px auto;
	position:relative;
}

#MainMenu li {
    float: left;
    list-style: none;
	padding-top:25px;
}

#MainMenu a {
    font-size: 18px;
    color: #fff;
	text-transform:uppercase;
	border-right:1px solid #fff;
	background:#0596d5;
	padding:20px;
}

#MainMenu .current a, #MainMenu a:hover {
	text-decoration:none;
    color:#fff;
	background:#023059;
}

.dropdown {
	position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
	z-index:100;
	margin-top:20px;
}

.dropdown-content a {
    display: block;
	border:1px solid #f0f0f0;
	width:205px;
	margin-left:-1px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content .current a, .dropdown-content a:hover {
	text-decoration:none;
    color:#fff;
	background:#023059;
}

/* *** FOOTER *** */

#footer {
    float: left;
	position:relative;
    width: 100%;
    background: #0596d5;
    padding: 35px 0 30px 0;
	text-align:center;
	border-top:5px solid #f0f0f0;
}

#copyright {
    text-align:center;
	position:relative;
	margin:0px auto;
    width: 50%;
    width: 325px;
}

#copyright p {
	color:#fff;
}

#copyright p#copyinfo-2 {
    font-size:12px;
    margin-top:12px;
	color:#fff;
}

.created {
	position:absolute;
    text-align: right;
	font-size:12px;
	bottom:30px;
	right:200px;
}

.created p {
	color:#fff;
}

.created a {
    color: #fff;     
}

.created a:hover {
    color: #f0f0f0;       
}



/* *** MENU RESPONSIVE *** */

#MenuResponsive {
    display: none;
    width: 100%;
    float: left;
    background: #959595;    
}

.button-rsp {
    cursor: pointer;
    float: right;
    margin: 8px 10px;
}

.button-rsp:hover span {
    background: #ec850f;
}

.button-rsp span {
    width: 28px;
    height: 4px;
    margin: 4px auto 0 auto;
    display: block;
    background: #fff;    
}

.button-rsp span:first-child {
    margin-top: 0;
}

#MenuResponsive .logo {
    height: 36px;
    float: left;
    margin: 0 0 0 10px;
}

#MenuResponsive .logo img {
    height: 100%;
    float: left;
}

#MenuResponsive .MainMenu {
    float: left;
    width: 100%;    
}

#MenuResponsive .MainMenu ul {
    float: left;
    width: 100%;
    display: none;
    border-bottom: 1px solid #fff;    
}

#MenuResponsive .MainMenu li {
    float: left;
    border: none;
    width: 100%;
    height: auto;
    text-align: center;
    border-top: 1px solid #fff;
}

#MenuResponsive .MainMenu a {
    line-height: normal;    
    height: auto;
    float: left;
    font-weight: bold;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    background: #959595;    
}

#MenuResponsive .MainMenu a:hover {
    background: #ec850f;
    color: #fff;
}

#lightbox-container-image-box {
    max-width: 100% !important;
}

#lightbox-container-image-box img, #lightbox-container-image-data-box {
    max-width: 100% !important;
}

#lightbox-container-image-box {
    height: auto !important;
}

#jquery-overlay {
    width: 100% !important;
}

#jquery-lightbox {
    left: 0 !important;
}

/* *** RESPONSIVE *** */

@media only screen and (max-width: 1000px) {
    div#contact-data, div#reg-frame, div#reg-form {
	width: 100%;
    }
    .wrapper {
        padding: 0 10px;
        width: auto;
    }
    div#reg-frame img {
	width: 50%;
	margin: 0;
	height: auto;
    }
    p.reg-text {
	padding-right: 20px;
	margin: 0;
	width: 50%;
    }
    div#banner-newsletter h2, div#banner-kontakt h2, div#banner-wsparcie h2, div#banner-rejestracja h2, div#banner-oferta h2 {
	margin: 0;
    }
    div#banner-oferta h2, div#banner-newsletter h2 {
	padding-left: 10px;
    }
    div#contact-box-1, div#contact-box-2 {
	margin: 0;
	width: 50%;
	padding: 0 10px;
    }
    p.contact-text {
	width: 100%;
    }
    div#contact-box-2 div {
	width: 100%;
	margin-left: 0;
    }
    img.icon {
	margin-top: 10px;
	margin-bottom: 10px;
    }
    div#banner-newsletter, div#banner-kontakt, div#banner-wsparcie, div#banner-rejestracja, div#banner-oferta {
	background-position: right center;
	width: 100%;
	padding: 0 10px;
    }
    div#content {
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
    }
    #MainMenu li {
        margin: 0 0 0 25px;
    }
    #MainMenu li:first-child {
        margin: 0;
    }
    .home-content .description {
        width: 30%;
    }
    #Slider {
        width: 70%;
    }
    #Slider figure {
        width: 75%;
    }
    #Slider .data {
        width: 25%;
    }
    #Slider .bx-pager {
        float: left;
    }
    .box-1 figure {
        max-width: 45%;
    }
    div#contact-form {
	width: 100%;
	height: auto;
	float: left;
    }
    div#contact-form p, div#reg-form p {
	position: relative;
	width: 100% !important;
	padding: 0 20px;
	left: 0 !important;
	top: 0 !important;
	padding-top: 10px;
    }
    div#contact-form button, div#reg-form button {
	position: relative;
	right: auto;
	top: auto;
	display: block;
	margin: 20px;
	float: right;
    }

    iframe {
	max-width: 100% !important;
    }
    div#reg-form {
	height: auto !important;
	padding-bottom: 0px;
	float: left;
    }
    div#contact-form p, div#reg-form p {
	float: left;
    }
    div#contact-form p input, div#contact-form p textarea, div#reg-form p input, div#reg-form p select {
	width: 100% !important;
	left: auto !important;
	top: auto !important;
	float: left !important;
	position: relative;
    }
    div#reg-form p input {
	margin-bottom: 10px;
    }
    div#reg-form p span, div#contact-form p span {
	float: left;
	width: 100%;
	position: relative;
	top: auto !important;
	left: auto;
    }
    .date-line {
	display: none;
    }
    .kafelek {
	width: 50% !important;
	margin: 0 0 10px 0 !important;
    }
    div#content, div#others {
	width: 100% !important;
    }
    div#others {
	height: auto !important;
    }
    div#table-frame {
	float: left;
	position: relative;
	left: auto;
	width: 100% !important;
    }
    object, div#thumbs {
	width: 100% !important;
    }
    div#thumbs {
	height: auto !important;
	padding-left: 0;
    }
    div#table-frame table {
	width: 100% !important;
    }
    div#others p {
	margin-lefT: 0;
	width: 100%;
    }
    div#nletter {
	width: 100% !important;
    }
    form#nlform .checkbox {
	left: 10px;
    }
    form#nlform p#zgoda {
	padding-left: 45px;
	padding-right: 10px;
	text-align: left;
    }
    p.text {
	padding: 0 10px;
    }
    form#nlform input {
	max-width: 90% !important;
    }
    form#nlform button {
	max-width: 90% !important;
    }
}

@media only screen and (max-width: 760px) {
    #MainMenu {
        display: none;
    }
    #MenuResponsive {
        display: block;
    }
    header {
        display: none;
    }
    .home-content .description {
        width: 100%;
        padding-right: 0;
    }
    #Slider figure {
        width: 100%;
        height: auto;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    #Slider .data {
        width: 100%;
    }
    #Slider {
        margin-top: 25px;
        width: 100%;
    }
    #Slider .bx-controls {
        bottom: auto;
        top: 0;
        margin: 0;
    }
    #Slider .bx-pager {
        padding-right: 0;
        margin: 0;
    }
    #Slider .bx-wrapper .bx-pager {
        padding-top: 0;
    }
    #BottomBox .column {
        width: 100%;
    }
    .box-1 {
        height: auto;
        min-height: 165px;
    }
    .box-2 {
        padding-left: 0;
    }
    div#banner-newsletter, div#banner-kontakt, div#banner-wsparcie, div#banner-rejestracja, div#banner-oferta {
	background: none !important;
    }
    div#contact-box-1, div#contact-box-2 {
	margin: 0;
	width: 100%;
	padding: 10px 10px;
    }
    .kafelek {
	width: 100% !important;
	margin: 0 0 10px 0 !important;
    }
    p.reg-text {
	width: 100%;
	padding-right: 0;
    }
    div#reg-frame img {
	width: 100%;
	margin: 30px 0 0 0;
    }
    div#content object {
	display: none;
    }
    div.photo-xl {
	display: block;
    }
    div.photo-xl img {
	width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .copyright {
        float: left;
        width: 100%;
}
    .created {
        padding-top: 20px;
        text-align: left;
    }
}