/*
Theme Name: PanelOpinea
*/

/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

@font-face {
    font-family: 'kelson_sanslight';
    src: url('fonts/kelson_sans_light-webfont.eot');
    src: url('fonts/kelson_sans_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/kelson_sans_light-webfont.woff') format('woff'),
         url('fonts/kelson_sans_light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'kelson_sansregular';
    src: url('fonts/kelson_sans_regular-webfont.eot');
    src: url('fonts/kelson_sans_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/kelson_sans_regular-webfont.woff') format('woff'),
         url('fonts/kelson_sans_regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
        font-family: 'Tahoma';
}

a {
	color: #0592d5;;
	text-decoration: none;
}

a:visited {
	color: #0592d5;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	color: #d19928;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: Bitter, Georgia, serif;
	line-height: 1.3;
}

h1 {
	font-size: 22px;
	margin: 22px 0;
}


h2 {
	font-size: 22px;
	margin: 22px 0;
}

h3 {
	font-size: 22px;
	margin: 22px 0;
}

h4 {
	font-size: 20px;
	margin: 25px 0;
}

h5 {
	font-size: 18px;
	margin: 30px 0;
}

h6 {
	font-size: 16px;
	margin: 36px 0;
}

address {
	font-style: italic;
	margin: 0 0 24px;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

p {
	margin: 0 0 24px;
}

code,
kbd,
pre,
samp {
	font-family: monospace, serif;
	font-size: 14px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
}

pre {
	background: #f5f5f5;
	color: #666;
	font-family: monospace;
	font-size: 14px;
	margin: 20px 0;
	overflow: auto;
	padding: 20px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
	margin: 24px 40px;
}

blockquote blockquote {
	margin-right: 0;
}

blockquote cite,
blockquote small {
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
}

blockquote em,
blockquote i {
	font-style: normal;
	font-weight: 300;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 20px;
}

menu,
ol,
ul {
	margin: 16px 0;
	padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}
input[type="text"],input[type="email"],input[type="tel"], textarea{
    background: none repeat scroll 0 0 #f7fdff;
    border: 1px solid #2a7294;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset;
    padding: 2px;
}
.wpcf7-submit{
    background: none repeat scroll 0 0 #2a7294;
    border: 1px solid #0567aa;
    color: #fff !important;
    cursor: pointer;
    margin-top: 10px;
    width: 100px !important;
    float: right;
    margin-right: 157px;
}
.wpcf7 input{
    width: 300px;
}
.wpcf7 textarea{
    width: 450px;
}
.wpcf7 p{
    margin-bottom: 0;
    color: #485461 !important;
    font-family: Tahoma !important;
    font-size: 13px !important;
    line-height: 20px !important;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	padding-right: 2px; /* Don't cut off the webkit search cancel button */
	width: 270px;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

hr {
	background: url(images/dotted-line.png) repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}


/*-----------------------------------------------*/
/*-----------------------------------------------*/

header#main_head {
    width: 100%;
    background-image: url('img/bg_header.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 67px;
}
.top{
    width: 960px;
    margin: auto;
    position: relative;
}
a.logo{
    display: block;
    width: 337px;
    height: 33px;
    background-image: url('img/logo.png');
    float:left;
    margin-top: 15px;   
}
a.logo span{
    float: right;
    font-size: 10px;
    font-family: 'kelson_sansregular';
    color:#6B91A4;
    padding-top: 3px;
}
.lang_bar{
    width: 173px;
    height: 31px;
    background-image: url('img/lang_bar.png');
    float:right;
	margin-left:40px;
}
.lang_bar-long a{
    margin-left: 8px;
}
.lang_bar{
    float:right;
}

#nav_menu{
    float:left;
    position: absolute;
    right: 5px;
    top: 53px;
	z-index: 3;
}
nav#site-navigation.mobile{
    display: none;
}
nav#site-navigation ul li{
    display: inline;
   
}
nav#site-navigation ul li:first-child{
    height: 100px;
    width: 115px;
    float:left;
}
nav#site-navigation ul li:first-child a{
    margin-left: 0px;
    background-image: url('img/o_nas.png');
    background-repeat: no-repeat;
    padding: 65px 20px 0;
    background-position: top center;
    display: block;
}
nav#site-navigation ul li:hover:first-child a, nav#site-navigation ul li.current-menu-item:first-child a{
    background-image: url('img/o_nas_h.png');
}


nav#site-navigation ul li:nth-child(2){
    height: 100px;
    float:left;
    margin-left: 40px;
    width: 104px;
}
nav#site-navigation ul li:nth-child(2) a{
    margin-left: 0px;
    background-image: url('img/dolacz_do_nas.png');
    background-repeat: no-repeat;
    padding-top: 65px;
    background-position: top center;
    display: block;
}
nav#site-navigation ul li:hover:nth-child(2) a, nav#site-navigation ul li.current-menu-item:nth-child(2) a{
    background-image: url('img/dolacz_do_nas_h.png');
}


nav#site-navigation ul li:nth-child(3){
    height: 100px;
    width: 123px;
    float:left;
    margin-left: 13px;
}
nav#site-navigation ul li:nth-child(3) a{
    margin-left: 0px;
    background-image: url('img/nasz_kodeks.png');
    background-repeat: no-repeat;
    padding-top: 65px;
    background-position: top center;
    display: block;
}
nav#site-navigation ul li:hover:nth-child(3) a, nav#site-navigation ul li.current-menu-item:nth-child(3) a{
    background-image: url('img/nasz_kodeks_h.png');
}


nav#site-navigation ul li:nth-child(4){
    height: 110px;
    width: 101px;
    float:left;
    margin-left: 0px;
}
nav#site-navigation ul li:nth-child(4) a{
    margin-left: 0px;
    background-image: url('img/zaloguj_sie.png');
    background-repeat: no-repeat;
    padding-top: 65px;
    background-position: top center;
    display: block;
}
nav#site-navigation ul li:hover:nth-child(4) a, nav#site-navigation ul li.current-menu-item:nth-child(4) a{
    background-image: url('img/zaloguj_sie_h.png');
}

nav#site-navigation ul li:last-child{
    height: 100px;
    width: 119px;
    float:left;
    margin-left: 23px;
	margin-right: 0px;
}
nav#site-navigation ul li:last-child a{
    margin-left: 0px;
    background-image: url('img/czeste_pytania.png');
    background-repeat: no-repeat;
    padding-top: 65px;
	padding-left: 9px;
	padding-right: 6px;
    background-position: top center;
    display: block;
}
nav#site-navigation ul li:hover:last-child a, nav#site-navigation ul li.current-menu-item:last-child a, nav#site-navigation ul li.current-page-ancestor a{
    background-image: url('img/czeste_pytania_h.png');
}
nav#site-navigation ul.nav-menu li a{
    font-family: 'kelson_sansregular';
    font-size: 16px;
    color: #fff;
    float: left;
}

nav#site-navigation ul.nav-menu li a:hover{
    color:#EBA925;
    text-decoration: none;
}

nav#site-navigation ul{
    margin: 0 !important;
    padding: 0 !important;
    float:left;
}

/*------------------------------------------*/
/*------------------------------------------*/

#main{
    background: rgb(68,141,174); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(68,141,174,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(68,141,174,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(68,141,174,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(68,141,174,1) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(68,141,174,1) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(68,141,174,1) 0%,rgba(255,255,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#448dae', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    float:left;
    width: 100%;
}
#primary{
	float: left;
	width: 100%;
}
#content{
    width: 960px;
    margin: auto;
	clear: both;
	display: block;
	position: relative;
	z-index: 2;
}
#content.main_site{
    display:table;
}
.main_content_left{
    width: 410px;
    float:left;
}
.main_content_right{
    width: 550px;
    float: right;
    padding-top: 90px;
}
.main_content_right p{
    font-family: 'kelson_sansregular';
    font-weight: bold;
    color:#135994;
}
.fancy_text{
    padding: 35px 50px 0;
}
.btn_reg{
    text-align: center;
    margin-bottom: 25px;
}
.btn_reg a{
    background: url("img/btn_reg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #0c395f;
    display: block;
    font-family: "kelson_sansregular";
    font-size: 21px;
    height: 61px;
    margin-left: 160px;
    padding: 15px;
    width: 179px;
    text-decoration: none;
}
.btn_reg a:hover{
    background: url("img/btn_reg_h.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.register-btn-small-pl a{
    background: url("img/btn_reg_small.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #0c395f;
    display: block;
    font-family: "kelson_sansregular";
    font-size: 17px;
    height: 49px;
    margin-left: 215px;
    padding: 15px;
    width: 145px;
    text-decoration: none;
    text-align: center;
}
.register-btn-small-pl a:hover{
    background: url("img/btn_reg_small_h.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.under_btn_txt_mobile{
    display: none;
}
.main_content_right .under_btn_txt p {
    font-family: 'arial';
    font-size: 12px;
    font-weight: normal;
    text-align: justify;
}
.under_content{
    width: 960px;
    margin: auto;
}
.under_content_mobile{
    display: none;
}
.uc_left{
    width: 350px;
    float: left;
}
.uc_left h3{
    font-family: "kelson_sansregular";
    font-size: 15px;
    color: #0C395F;
}
.uc_left p{
    font-family: 'arial';
    font-size: 12px;
    color: #0C395F;
}
.uc_right{
    float: right;
    width: 580px;
    background-image: url('img/jak_to_dziala.png');
    height: 168px;
}
.uc_right_content{
    width: 100%;
    float: left;
    height: 135px;
}
.uc_right_title h2{
    font-family: 'kelson_sanslight';
    font-size: 19px;
    color: #999999;
    margin: 9px 0 0;
    text-align: center;
}
.uc_right_content .one_under{
    width: 33%;
    float: left;
    height: 135px;
}
.uc_right_content .two_under{
    width: 32%;
    float: left;
    height: 135px;
}
.uc_right_content .three_under{
    width: 34%;
    float: left;
    height: 135px;
}
.uc_right_content .one_under h3,
.uc_right_content .two_under h3,
.uc_right_content .three_under h3{
    font-family: "kelson_sansregular";
    font-size: 16px;
    color: #EB7705;
    margin: 20px 0 0 65px;
}

.uc_right_content .one_under p,
.uc_right_content .two_under p,
.uc_right_content .three_under p{
    font-family: "arial";
    font-size: 12px;
    color: #0C395F;
    margin: 0;
    margin-top: 15px;
    margin-left: 18px;
}

/*---------------------------------------------*/
/*-------------- SUBPAGE ----------------------*/
.subpage_content_left{
    width: 310px;
    float:left;
    margin-top: 30px;
    position: relative;
}
.subpage_content_right{
    width: 650px;
    float: right;
    margin-top: 90px;
    
}
.subpage_content_right .breadcrumbs{
    width: 650px;
    height: 25px;
    background-image: url('img/bg_breadcrumbs.png');
    margin-bottom: 10px;
}

.subpage_content_right .breadcrumbs, .subpage_content_right .breadcrumbs a{
    padding-left: 4px;
    padding-top: 4px;
    text-transform: uppercase;
    color: #7bd6fe;
    font-family: Tahoma;
    font-size: 11px;
    text-transform: uppercase;
}
.subpage_content_right .inside_content{
    background-color: #fff;
    padding: 15px;
    width: 648px;
    margin: auto;
    min-height: 500px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.subpage_content_right .inside_content .scroll-wrapper{
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}
.subpage_content_right .inside_content .scroll-wrapper iframe{
    width: 590px;
    min-height: 550px;
    margin-left: -20px;
}

.full-width-sub_under{
	float: left;
	width: 100%;
	margin-top: -435px;
}
.page-id-13 .full-width-sub_under,
.parent-pageid-13 .full-width-sub_under{
	margin-top: -230px;
}
.sub_under_content{
	display: block;
	clear: both;
	margin: auto;
	width: 960px;
}
.sub_under_content .sub_uc_left{
    width: 312px;
    float:left;
    padding-right: 20px;
}
.sub_under_content .sub_uc_left h3{
    font-family: "kelson_sansregular";
    font-size: 15px;
    color: #0C395F;
}
.sub_under_content .sub_uc_left p{
    font-family: 'arial';
    font-size: 12px;
    color: #0C395F;
}
.pic_sub{
    position: relative;
}
.pic_sub ul.menu{
    list-style: none;
    width: 286px;
    padding: 0;
}
.pic_sub ul.menu li{
    background-image: url('img/boczne_menu.png');
    background-repeat: no-repeat;
    height: 34px;
    padding-left: 25px;
    padding-top: 6px;
    width: 286px;
    text-align: left;
}
.pic_sub ul.menu li:hover, .pic_sub ul.menu li.current-menu-item{
    background-image: url('img/boczne_menu_h.png');
}
.pic_sub ul.menu li:last-child{
    display: none;
}
.pic_sub ul.menu li a{
    color:#005994;
    text-decoration: none;
    font-weight: bold;
    font-family: 'arial';
    font-size: 15px;
    margin-top: 0;
}
.inside_content h1{
    color: #5186aa;
    font-family: Tahoma;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    margin-top: 0;
}
.inside_content h4{
    color: #000;
    line-height: 1.5em;
    margin: 0 0 20px;
    font-family: Tahoma !important;
    font-size: 15px !important;
}
.inside_content {
    color: #0e2638 !important;
    font-family: Tahoma !important;
    font-size: 13px !important;
    line-height: 20px !important;
}
.inside_content p{
	color: #485461 !important;
}
.inside_content ul{
    list-style-image: url('img/arrow_r.png');
    padding-left: 15px;
}
/*--------------------------------------------*/
/*--------------------------------------------*/

footer{
    float: left;
    width: 100%;
    background-image: url('img/bg_foot.png');
    background-repeat: repeat-x;
    height: 254px;
}

.foot_content{
    width: 960px;
    margin: auto;
    height: 254px;
}
.copyrights{
    width: 100%;
    float:left;
}
.copyrights p{
    font-size: 11px;
    font-family: 'arial';
    color:#fff;
    text-align: center;
    margin: 0;
    margin-top: 13px;
}
.foot_content .foot_one{
    float:left;
    width: 25%;
    height: 210px;
}
.foot_content .foot_two{
    float:left;
    width: 25%;
    height: 210px;
}
.foot_content .foot_three{
    float:left;
    width: 25%;
    height: 210px;
}
.foot_content .foot_four{
    float:left;
    width: 25%;
    height: 210px;
}

.foot_content .foot_one h3,
.foot_content .foot_two h3,
.foot_content .foot_three h3,
.foot_content .foot_four h3{
    margin:0;
    margin-left: 40px;
    margin-top: 13px;
    font-family: 'kelson_sanslight';
    font-size: 14px;
    color:#fff;
    font-weight: normal;
}

.foot_content ul.menu{
    list-style: none outside none;
    margin-bottom: 0 !important;
    margin-left: 40px;
    margin-right: 0 !important;
    margin-top: 25px;
    padding: 0 !important;
}
.foot_content ul.menu li{
    line-height: 16px;
}
.foot_content ul.menu a{
    font-family: 'arial';
    font-size: 10px;
    color:#fff;
}

.foot_four ul.menu li{
    width: 50%;
    float:left;
}
/*-----------------------------------------*/
/*----------------------------------------*/

@media (min-width:801px) and (max-width:1024px) {
    header#main_head {
        background-image: url('img/bg_header_med.jpg');
        min-height: 89px;
    }
    .top{
        max-width: 768px;
        margin: auto;
        position: relative;
    }
    
    #nav_menu {
        right: 9%;
        top: 74px;
    }
    #content{
        max-width: 768px;
    }
    .main_content_left{
        margin-top: 60px;
        width: 345px;
    }
    .fancy_text{
        padding: 30px 0 0;
    }
    .main_content_left img{
        width: 100%;
    }
    .main_content_right{
        width: 420px;
    }
    .under_content{
        max-width: 768px;
    }
    .under_btn_txt_mobile{
        width: 100%;
        float:left;
        display: block;
    }
    .under_btn_txt_mobile p{
        font-family: 'arial';
        font-size: 12px;
        font-weight: normal;
        text-align: justify;
        color:#135994;
        width: 580px;
        margin: auto;
    }
    .main_content_right .under_btn_txt {
        display: none;
    }
    .under_content{
        display: none;
    }
    .under_content_mobile{
        display: block;
        margin: auto;
        width: 768px;
		clear:both;
    }
    .under_content_mobile .uc_left{
        margin: auto;
        width: 580px;
        float: none;
    }
    .under_content_mobile .uc_right{
        float: none;
        margin: 75px auto auto;
    }
    .under_content_mobile .uc_right h1{
        padding-top: 8px;
    }
	.full-width-sub_under{
		margin: auto !important;
	}
    .subpage_content_left{
        width: 650px;
        float: none;
        margin: 90px auto auto;
        text-align: center;
        
    }
    .subpage_content_left .pic_sub aside{
        display: inline-block;
    }
    .sub_under_content .sub_uc_left h3{
        margin-top: 0;
    }
    .subpage_content_right{
        width: 650px;
        float: none;
        margin: auto;
    }
    .sub_under_content{
        max-width: 768px;
        margin: auto;
    }
    .sub_under_content .sub_uc_left{
        width: 648px;
        margin: auto;
        float: none;
        background-color: #fff;
        padding:20px;
    }
    .sub_under_content .sub_uc_right{
        display: none;
    }
    .pic_sub {
        height: 210px;
        position: relative
    }
    .pic_sub .widget-area, .pic_sub aside{
        float:left;
    }
    .pic_sub ul.menu{
        position: absolute;
        right: 0;
        top:20px;
    }
    .foot_content{
        max-width: 768px;
    }
    .foot_content .foot_one h3, 
    .foot_content .foot_two h3, 
    .foot_content .foot_three h3, 
    .foot_content .foot_four h3{
        margin-left: 0px;
    }
    .foot_content ul.menu{
        margin-left: 0px;
    }
}

@media (min-width:491px) and (max-width:801px){
    nav#site-navigation{
        display: none;
    }
    nav#site-navigation.mobile{
        display: block;
    }
    header#main_head{
        background-image: url("img/bg_header_small.jpg");
        background-repeat: repeat-x;
        min-height: 70px;
		height: 70px;
        display: inline-block;
    }
    .top{
        max-width: 480px;
        height: 89px;
    }
    a.logo{
        float:none;
        margin: auto;
        position: relative;
        top: 20px;
    }
    .lang_bar, .lang_bar-long{
        display: none;
    }
    #nav_menu{
        position: relative;
    }
    nav#site-navigation.mobile ul{
        width: 480px;
    }
    nav#site-navigation.mobile ul li:first-child{
        margin-top: 7px;
        
    }
    nav#site-navigation.mobile ul li:first-child a.dcjq-parent{
        text-align: center;
    }
    nav#site-navigation.mobile ul li:first-child a.dcjq-parent img{
        margin-left: -60px;
        margin-top: -8px;
    }
    nav#site-navigation.mobile ul li:last-child{
        margin-bottom: 52px;
    }
    nav#site-navigation.mobile ul li, nav#site-navigation.mobile ul li a{
        float: none !important;
        height: auto !important;
        margin-left: auto !important;
        width: auto !important;
        display: block;
        padding: 0 !important;
    }
    nav#site-navigation.mobile ul li a{
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
        font-size: 20px !important;
        margin-left: 75px !important;
        font-family: 'kelson_sansregular';
        color:#fff;
        text-decoration: none;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(1) a{
        padding-top: 13px !important
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(2) a{
        padding-top: 20px !important;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(3) a{
        padding-top: 21px !important;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(4) a{
        padding-top: 21px !important;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(5) a{
        padding-bottom: 17px !important;
        padding-top: 20px !important;
    }
    nav#site-navigation.mobile ul li a:hover{
        color:#EBA925;
    }
    #main{
        margin-top: -6px;
    }
    #content{
        max-width: 480px;
        width: 480px;
    }
    .main_content_left{
        width: 480px;
    }
    .fancy_text{
        padding: 30px 0 0;
    }
    .main_content_left img{
        width: 80%;
    }
    .main_content_right{
        width: 480px;
        padding: 0;
    }
    .under_content{
        max-width: 480px;
    }
    .uc_right_content .one_under p, .uc_right_content .two_under p, .uc_right_content .three_under p{
        margin-left: 85px !important;
    }
    .under_btn_txt_mobile{
        width: 100%;
        float:left;
        display: block;
        margin-bottom: 20px;
    }
    .under_btn_txt_mobile p{
        font-family: 'arial';
        font-size: 12px;
        font-weight: normal;
        text-align: justify;
        color:#135994;
        width: 480px;
        margin: auto;
    }
    .main_content_right .under_btn_txt {
        display: none;
    }
    .under_content{
        display: none;
    }
    .under_content_mobile{
        display: block;
        margin: auto;
        clear: both;
    }
    .under_content_mobile .uc_right_content{
        height: 340px;
    }
    .under_content_mobile .uc_left{
        margin: auto;
        width: 100%;
        float: none;
        background-color: #fff;
    }
    .uc_left h3{
        text-align: center;
        margin-bottom: 10px !important;
    }
    .uc_left h3, .uc_left p{
        width: 480px;
        margin: auto;
    }
    .under_content_mobile .uc_right{
        float: none;
        margin: 75px auto auto;
        background-image:url("img/jak_to_dziala_small.jpg");
        background-repeat: no-repeat;
        width: 480px;
        height: 382px;
    }
    .uc_right_content .one_under,
    .uc_right_content .two_under,
    .uc_right_content .three_under{
        width: 100%;
        height: auto;
    }
    
    .uc_right_content .one_under h3{
        margin-left: 85px;
    }
    .uc_right_content .two_under h3{
        margin: 17px 0 0 85px;
    }
    .uc_right_content .three_under h3{
        margin: 15px 0 0 85px;
    }
	.full-width-sub_under{
		margin: auto !important;
	}
    .under_content_mobile .uc_right h1{
        padding-top: 42px !important;
    }
    .subpage_content_left{
        width: 480px;
        float: none;
        margin:auto;
        text-align: center;
        
    }
    .subpage_content_left .pic_sub aside{
        display: block;
    }
    .sub_under_content .sub_uc_left h3{
        margin-top: 0;
    }
    .subpage_content_right{
        width: 480px;
        float: none;
        margin: auto;
    }
    .subpage_content_right .breadcrumbs{
        max-width: 480px;
        background-image: url('img/bg_breadcrumbs_mini.png');
        margin-bottom: 10px;
    }
    .subpage_content_right .inside_content{
        max-width: 480px;
    }
    .subpage_content_right .inside_content{
        min-height: 400px;
    }
    .subpage_content_right .inside_content .scroll-wrapper iframe{
        width: 440px;
        min-height: 400px;
    }
    .sub_under_content{
        max-width: 480px;
        margin: auto;
        width: 480px;
    }
    .sub_under_content .sub_uc_left{
        width: 480px;
        margin: auto;
        float: none;
        background-color: #fff;
        padding:20px;
    }
    .sub_under_content .sub_uc_right{
        display: none;
    }
    .pic_sub ul.menu{
        width: 480px;
        margin-bottom: 0;
    }
    .pic_sub ul.menu li{
        background-color: #bcd7e2;
        background-image: none !important;
        border-top: 1px solid #ebf3f6;
        height: 66px;
        padding-left: 50px;
        padding-top: 14px;
        width: 480px;
    }
    .pic_sub ul.menu li:last-child{
        display: block;
        background-color: #CFE2EA !important;
        height: 45px !important;
    }
    .pic_sub ul.menu li:hover{
        background-color: #F3C873;
        background-image: none;
    }
    .pic_sub ul.menu li:last-child:hover{
        background-color: #F3C873;
    }
    .pic_sub ul.menu li a{
        font-size: 25px;
    }
    .register-btn-small-pl a{
        margin-left: 150px !important;
    }
    
    footer{
        display: none;
    }
}

@media (max-width:490px){
    nav#site-navigation{
        display: none;
    }
    nav#site-navigation.mobile{
        display: block;
    }
    header#main_head{
        background-image: url("img/bg_header_small.jpg");
        background-repeat: repeat-x;
		min-height: 55px;
		height: 55px;
        display: inline-block;
    }
    .top{
        max-width: 230px;
        height: 55px;
    }
    a.logo{
        float:none;
        margin: auto;
        position: relative;
        top: 12px;
        background-size: 100%;
        width: 100%;
        background-repeat: no-repeat;
		left:13%;
    }
    
    .lang_bar, .lang_bar-long{
        display: none;
    }
    #nav_menu{
        position: relative;
    }
    nav#site-navigation.mobile ul{
        width: 300px;
    }
    nav#site-navigation.mobile ul li:first-child{
        margin-top: 6px;
        
    }
    nav#site-navigation.mobile ul li:first-child a.dcjq-parent{
        text-align: center;
    }
    nav#site-navigation.mobile ul li:first-child a.dcjq-parent img{
        margin-left: -60px;
        margin-top: -6px;
    }
    nav#site-navigation.mobile ul li:last-child{
        margin-bottom: 52px;
    }
    nav#site-navigation.mobile ul li, nav#site-navigation.mobile ul li a{
        float: none !important;
        height: auto !important;
        margin-left: auto !important;
        width: auto !important;
        display: block;
        padding: 0 !important;
    }
    nav#site-navigation.mobile ul li a{
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
        font-size: 20px !important;
        margin-left: 75px !important;
        font-family: 'kelson_sansregular';
        color:#fff;
        text-decoration: none;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(1) a{
        padding-top: 13px !important
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(2) a{
        padding-top: 20px !important;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(3) a{
        padding-top: 21px !important;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(4) a{
        padding-top: 21px !important;
    }
    nav#site-navigation.mobile ul.sub-menu li:nth-child(5) a{
        padding-bottom: 19px !important;
        padding-top: 20px !important;
    }
    nav#site-navigation.mobile ul li a:hover{
        color:#EBA925;
    }
    #main{
        margin-top: -6px;
    }
    #content{
        max-width: 300px;
        width: 300px;
    }
    .main_content_left{
        width: 300px;
    }
    .fancy_text{
        padding: 30px 0 0;
    }
    .main_content_left img{
        width: 80%;
    }
    .main_content_right{
        width: 300px;
        padding: 0;
    }
    .under_content{
        max-width: 300px;
    }
    .uc_right_content .one_under p, .uc_right_content .two_under p, .uc_right_content .three_under p{
        margin-left: 85px !important;
        margin-top: 0px;
    }
    .under_btn_txt_mobile{
        width: 100%;
        float:left;
        display: block;
        margin-bottom: 20px;
    }
    .under_btn_txt_mobile p{
        font-family: 'arial';
        font-size: 12px;
        font-weight: normal;
        text-align: justify;
        color:#135994;
        width: 300px;
        margin: auto;
    }
    .main_content_right .under_btn_txt {
        display: none;
    }
    .under_content{
        display: none;
    }
    .under_content_mobile{
        display: block;
        margin: auto;
        clear: both;
    }
    .under_content_mobile .uc_right_content{
        height: 340px;
    }
    .under_content_mobile .uc_left{
        margin: auto;
        width: 100%;
        float: none;
        background-color: #fff;
    }
	.full-width-sub_under{
		margin: auto !important;
	}
    .uc_left h3{
        text-align: center;
        margin-bottom: 10px !important;
    }
    .uc_left h3, .uc_left p{
        width: 300px;
        margin: auto;
    }
    .under_content_mobile .uc_right{
        float: none;
        margin: 75px auto auto;
        background-image:url("img/jak_to_dziala_small.jpg");
        background-repeat: no-repeat;
        width: 300px;
        height: 382px;
    }
    .uc_right_content .one_under,
    .uc_right_content .two_under,
    .uc_right_content .three_under{
        width: 100%;
        height: auto;
    }
    
    .uc_right_content .one_under h3{
        margin-left: 85px;
    }
    .uc_right_content .two_under h3{
        margin: 12px 0 0 85px;
    }
    .uc_right_content .three_under h3{
        margin: 30px 0 0 85px;
    }
    
    .under_content_mobile .uc_right h1{
        padding-top: 42px !important;
    }
    .subpage_content_left{
        width: 300px;
        float: none;
        margin:auto;
        text-align: center;
        
    }
    .subpage_content_left .pic_sub aside{
        display: block;
    }
    .sub_under_content .sub_uc_left h3{
        margin-top: 0;
    }
    .subpage_content_right{
        width: 300px;
        float: none;
        margin: auto;
    }
    .subpage_content_right .breadcrumbs{
        max-width: 300px;
        background-image: url('img/bg_breadcrumbs_mini_mini.png');
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .subpage_content_right .inside_content{
        max-width: 300px;
    }
    .subpage_content_right .inside_content{
        min-height: 400px;
    }
    .subpage_content_right .inside_content .scroll-wrapper iframe{
        width: 260px;
        min-height: 400px;
    }
    .sub_under_content{
        max-width: 300px;
        margin: auto;
        width: 300px;
    }
    .sub_under_content .sub_uc_left{
        width: 300px;
        margin: auto;
        float: none;
        background-color: #fff;
        padding:20px;
    }
    .sub_under_content .sub_uc_right{
        display: none;
    }
    .pic_sub ul.menu{
        width: 300px;
        margin-bottom: 0;
    }
    .pic_sub ul.menu li{
        background-color: #bcd7e2;
        background-image: none !important;
        border-top: 1px solid #ebf3f6;
        height: 66px;
        padding-left: 25px;
        padding-top: 17px;
        width: 300px;
    }
    .pic_sub ul.menu li:last-child{
        display: block;
        background-color: #CFE2EA !important;
        height: 45px !important;
    }
    .pic_sub ul.menu li:hover{
        background-color: #F3C873;
        background-image: none;
    }
    .pic_sub ul.menu li:last-child:hover{
        background-color: #F3C873;
    }
    .pic_sub ul.menu li a{
        font-size: 19px;
    }
    .register-btn-small-pl a{
        margin-left: 60px !important;
    }
    footer{
        display: none;
    }
    
    .btn_reg a{
        margin-left: 55px;
    }
	#click-menu{
		width:55px !important;
		height:55px !important;
	}
	#click-menu .threeLines{
		margin: 11px auto !important;
		width:22px !important;
	}
	#click-menu .threeLines .line{
		height:3px !important;
	}
	a.logo span{
		padding-top:0;
		margin-top:-5px;
	}
}

/*------------------------------------------------------*/
/*-----------------------------------------------------*/
/*-----------------------------------------------------*/
nav.flags ul ul {
	display: none;
}

nav.flags ul li:hover > ul {
	display: block;
}
nav.flags ul {
	background: rgba(0, 0, 0, 0) url("img/short_bar.png") no-repeat scroll 0 0;
	background-repeat: no-repeat;
	padding: 0px;
	list-style: none;
	position: relative;
	display: inline-table;
	margin: 0;
	width: 110px;
}
nav.flags ul:after {
	content: ""; clear: both; display: block;
}
nav.flags ul li {
	float: left;
	width:110px;
}
nav.flags ul li:hover {
	background: #CFD6DC;
}
nav.flags ul li:hover a {
	
}
nav.flags ul ul li:hover a {
	color: #000;
}
nav.flags ul li a {
	display: block;
	padding: 0px 11px 6px;
	color: #fff;
	text-decoration: none;
}
nav.flags ul ul {
	background: #fff;
	border-radius: 0px;
	padding: 0;
	position: absolute;
	top: 100%;
	z-index: 9999;
}
nav.flags ul ul li {
	float: none;
	border-bottom: 1px solid #CFD6DC;
	position: relative;
}
nav.flags ul ul li a {
	padding: 5px 11px;
	color: #000;
}
nav.flags ul ul li a:hover {
	background: #CFD6DC;
	color: #000;
}
nav.flags ul li  img{
	margin-right:5px
}
nav.flags ul ul ul {
	position: absolute; left: 100%; top:0;
}