/*
Theme Name: Webidea Advance 
Description: Webidea Advance framework
Version: 1.0
Author: Tomasz Błokowski, Tomasz Gołkowski - Webidea Advance 
Author URI: http://webidea.pl
*/

@import url('css/styles.css');
@import url('css/slider.css');


html{
	margin:0px;
	padding:0px;	
	position:relative;
}

body{
	background: #F7F7F7 url(images/bck.jpg) no-repeat center top;
	font-family: 'Old Standard TT', serif;	
	font-size: 16px;
	color:#383838;	
	width: 100%;
	overflow-x: hidden;
}
a{
	text-decoration: none;
}
footer a{
	color:#383838;		
}
#content a{
	font-style: italic;
}
.clearfix:after{
	clear: both;
	display:block;
	content: '';
}
header{
	width: 100%;
	position:relative;
	height: 150px;
}
header > div{
	width: 100%;
	max-width: 1180px;
	margin:0 auto;
	position: relative;
}
#logo{
	width: 300px;
	height: 180px;
	background: url(http://www.upperfinance.pl/wp-content/uploads/2017/04/up_10Llogo.png) no-repeat center center;
	position:absolute;
	top:20px;
	left:10px;
}
#logo a{
    position:absolute;
    width:100%;
    height: 100%;
    top:0;
    left:0;
}
#logo a img{
    display:none;
}

#lang_menu{
	position:absolute;
	top:0;
	right:10px;
}
#lang_menu > ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
#lang_menu > ul > li{
	float: right;
	text-transform: lowercase;
	padding: 0 15px;
	background: url(images/menu_bck.png) no-repeat left center;
}
#lang_menu > ul > li:first-of-type{
	padding: 0 0px 0 15px;	
}
#lang_menu > ul > li:last-of-type{
	padding: 0 15px 0 0;
	background: none;
}
#lang_menu > ul > li a:hover,
#lang_menu > ul > li.current a{
	color:#005aab;
}
#lang_menu > ul > li a{
	font-size: 15px;
	color:#c6c6c6;	
}
#content{
	width: 100%;
	max-width: 1180px;
	margin:0 auto;
}
#content p img{
    max-width: 100%;
    height: auto;
}

h1{
	font-size:36px;
	color:#383838;
	font-style:italic;
	margin-top:60px;
	margin-bottom:60px;
}

h1.front_title{
	margin-top:60px;
	font-size:36px;
	font-style: italic;
	line-height: 36px;	
}

#start_box > ul{
	list-style-type: none;
	text-align: center;
}
#start_box{
	margin-top:35px;
}
#start_box > ul > li{
	width:340px;
	height: 185px;
	display:inline-block;
	margin:10px 20px;
	position:relative;
}
#start_box > ul > li a{
	position:absolute;
	top:0;
	left:0;
	display:block;
	bottom:0;
	right:0;
}

.img_container > div.img > img{
	width: 100%;
	height: auto;,
}
#start_box > ul > li div.text{
	position:absolute;
	top:40%;
	width: 100%;
	text-align: center;
	font-size:20px;
	font-style: italic;
}

footer > div{
	width: 100%;
	max-width:1180px;
	min-height: 80px;
	background: url(images/bck_menu.png) repeat left top; 
	margin:0 auto;
	position:relative;
}

footer > div > div{
	margin-top:60px;
	margin-top:25px;
	font-size:14px;
	line:14px;
	width: 46%;
	padding:0 2%;
	float:left;
	height: 100%;
}
footer > div > div:nth-of-type(3){
	text-align: right;
}

#logo_footer{
	position: absolute;
	width:108px;
	top:0;
	left:50%;
	margin:0;
	margin-left:-54px;
	background: url(images/footer_logo.png) no-repeat center center;
}

#lang_container{
	display:none;
}
.page_contact > div:after{
	clear:both;
	content:'';
	display: block;	
}
span.tel,
span.fax,
span.mail{
	padding-left:50px;
	padding-top:10px;
	padding-bottom:10px;
}
span.tel a{
	color:#383838;
}
span.tel{
	background: url(images/tel_ico.png) no-repeat 5px center;
}
span.fax{
	background: url(images/fax_ico.png) no-repeat left center;	
}
span.mail{
	background: url(images/mail_ico.png) no-repeat left center;	
}
.contact_wrapper{
	margin-left:20px;
	line-height: 50px;
	font-style: italic;
}

#map1,
#map2{
	width: 100%;
	max-width: 740px;
	height: 335px;
}
.input_map{
	display:none;
}
.page_contact{
	padding-bottom:50px;
}
.side-menu > ul{
	margin:0;
	padding:0;
}
.side-menu > ul > li{
	height: 68px;
	width: 100%;
	border:1px solid #c6c6c6;
	border-bottom-right-radius: 90px;
	overflow: hidden;
	margin-top:2px;
	box-sizing: border-box;
}

.side-menu a{
	display:block;
	width: 100%;
	height: 100%;
	line-height: 68px;
	/*padding-left:45px;*/
	color: #383838;
	-webkit-transition: all .3s;
	transition: all .3s;
	font-size:20px;
}
.side-menu > ul > li.current_page_parent a,
.side-menu > ul > li.current-menu-item a,
.side-menu > ul > li.current_page a,
.side-menu a:hover{
	background: #005aab;
	color: #F7F7F7;
}


.news_wrapper{
	padding-bottom:85px;	
	position:relative;
}
.news_wrapper > div{
	float:left;
}
.news_wrapper > div.icon{
	width: 34.4%;
	margin-right: 2.7%;
}
.news_wrapper > div.icon > div{
	margin:0 auto;
	max-width: 255px;
	width: 100%;
	height: 170px;
	border-top-left-radius: 60px;
	overflow: hidden;
	background: #E6E6E6;
}
.news_wrapper > div.icon > div > img{
	width: 100%;
	/*height: auto;*/
}
.news_wrapper > div.content{
	width: 62.8%;
	min-height: 170px;
}
.news_wrapper > div.content:after{	
	clear:both;
	content:'';
	display:block;
}
.title_post_news > h2{
	margin-top:0;
	color: #005aab;
	font-size: 20px;
	font-style: italic;
	margin-bottom:0;
}
.date_post_front{
	color: #f26522;
	font-size: 16px;
}
.news_wrapper > div.link{
	position:absolute;
	bottom:45px;
	left:50%;
	margin-left:-105px;
	width: 210px;
	height: 40px;
	line-height:40px;
	border-bottom-right-radius: 50px;
	overflow: hidden;
}
.news_wrapper > div.link a{
	display:block;
	text-align: center;
	background: #005AAB;
	color: #F7F7F7;
}
.content_post_category{
	margin-top:10px;
}
.image_post{
	margin-right:15px;
	margin-bottom:15px;
	float:left;
}

.page-numbers{
	text-align: right;
	list-style-type: none;
}
.page-numbers li{
	display:inline-block;
}
.page-numbers li a:hover,
.page-numbers li span{
	width: 45px;
	background: #005aab;
	height: 40px;
	line-height: 40px;
	text-align: center;
	display:block;
	color:#FFFFFF;	
}
.page-numbers li a{
	width: 45px;
	background: #e6e6e6;
	height: 40px;
	line-height: 40px;
	text-align: center;
	display:block;
	color:#0e63af;
}
.page-numbers li a,
.page-numbers li span{
	border-top-left-radius: 100px;
}
.page-numbers a.prev,
.page-numbers a.next{
	display:none;
}

.title_taxonomy_header{
	color: #005aab;
}
.title_taxonomy_header > div{
	float:left;
	font-size: 20px;
	font-style:italic;
	/*width: 33.3334%;*/
}
.title_taxonomy_header > div:nth-of-type(1){
	width: 30%;
}
.title_taxonomy_header > div:nth-of-type(2){
	width: 30%;
}
.title_taxonomy_header > div:nth-of-type(3){
	width: 40%;
}



.transakcje_category{
	margin-top:20px;
}
.transakcje_category > div:first-of-type{
	border-top:1px solid #e6e6e6;	
}
.content_show {
   border-bottom:1px solid #e6e6e6; 
   padding-top:10px;
   min-height: 60px;
}

.content_show > div{
	float:left;
	/*width: 33.3334%;*/	
	/*line-height: 60px;*/
        font-size: 16px;
        padding-top:10px;
        padding-bottom:10px;
}
.content_show > div:nth-of-type(1){
	width: 30%;
}
.content_show > div:nth-of-type(2){
	width: 30%;
}
.content_show > div:nth-of-type(3){
	width: 40%;
}



.side-menu a{
	position:relative;
}
.side-menu a span{
	position:absolute;
	line-height: 22px;
	width: 90%;
	left:10%;
}

.transakcje_category{
	cursor: pointer;
}
.content_hide{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px 0;   
        border-bottom: 1px solid #e6e6e6;
}
.content_hide p{
	margin-top:0px;
	margin-bottom:10px;
	line-height: 20px;
}

.select_year{
	width: 100%;
	height: 50px;
	background: #e6e6e6;
	border:0;
	font-family: 'Old Standard TT', serif;	
	font-size: 20px;
	font-style: italic;
}
#select_year{
	position:relative;
}

#select_year > div.select{
	position:absolute;
	right:0;
	top:0;
	width: 55px;
	height: 50px;
	background: url(images/select.png) no-repeat center center;
	pointer-events:none;
}
.kadra_list{
    margin: 0;
    padding:0;
    list-style-type: none;
    font-size:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.kadra_list > li{
    position: relative;
}
.kadra_list > li:hover{
    color:#005AAB;
}
.kadra_list > li a{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
.kadra_list > li > div{
    display:inline-block;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.kadra_list > li > div:nth-of-type(1) img{
    max-width: 100%;
    height: auto;
    width: 100px;
}
.kadra_list > li > div:nth-of-type(1){
    width: 10%;
}
.kadra_list > li > div:nth-of-type(2),
.kadra_list > li > div:nth-of-type(3){
    padding:10px;
}
.kadra_list > li > div:nth-of-type(2){
    vertical-align: middle;
    font-size:14px;
    width: 45%;
}
.kadra_list > li > div:nth-of-type(3){
    vertical-align: middle; 
    font-size:14px;
    width: 45%;
    text-align: right;
    font-weight: 700;
}
.kadra_list > li:after{
    display:block;
    content:'';
    clear:both;
}
.ico_foto{
    float:left;
    margin: 0 20px 20px 0;
    width: 50%;
    min-width: 100px;
    max-width: 300px;
}
.ico_foto > img{
    width: 100%;
    height: auto;
}
@media (min-width: 1160px) {
	.page_contact > div > div{
		float: left;
	}
	.page_contact > div > div:first-of-type{
		width: 360px;
		margin-right:60px;
	}
	.page_contact > div > div:last-of-type{
		max-width: 740px;
		width: 100%;
	}
	
	
	.page_menu > div{
		float: left;
	}
	.page_menu > div:first-of-type{
		width: 360px;
		margin-right:60px;
		padding-bottom:60px;
	}
	.page_menu > div:last-of-type{
		max-width: 740px;
		width: 100%;
	}
}

@media (max-width: 1159px) {
	.page_contact > div > div{
		float: left;
	}
	.page_contact > div > div:first-of-type{
		width: 31%;
		margin-right:5%;
	}
	.page_contact > div > div:last-of-type{
		max-width: 740px;
		width: 63%;
	}
	
	.page_menu > div{
		float: left;
	}
	.page_menu > div:first-of-type{
		width: 31%;
		margin-right:5%;
		padding-bottom:60px;
	}
	.page_menu > div:last-of-type{
		max-width: 740px;
		width: 63%;
	}
}

@media (max-width: 1000px) {
	.text_slide_container{
		left:59%;
	}
}
@media (max-width: 959px){
	.page_menu > div{
		float: left;
	}
	.page_menu > div:first-of-type{
		display: none;
	}
	.page_menu > div:last-of-type{
		max-width:960px;
		width: 96%;
		margin:0 2%;
	}
	.full_page{
		width: 96% !important;
		margin:0 2% !important;
	}
	.sub_header{
		display: block;
		width: 100%;
		position:relative;
	}
	.sub_header > div.img{
		background: url(images/header_subpage.png) no-repeat center center;
		width: 100%;
		z-index: -1;
		background-size:cover;
		padding-top:30%;
	}
	.sub_header > div.title{
		background: #004E94;
		font-size: 36px;
		color:#f7f7f7;
		font-style: italic;
		padding:10px 2%;
	}

	#lang_menu{
		display:none;
	}
	.lang_mobile > div{
		float:left;
		width: 45%;
	}
	.lang_mobile > div:first-of-type{
		padding-right:5%;
		background: url(images/lang_bck_mobile.png) no-repeat right center;
	}
	.lang_mobile > div:first-of-type a{
		text-align: right !important;		
	}
	.lang_mobile > div:last-of-type{
		padding-left:5%;
		text-align: left !important;
	}
	.lang_mobile > div:last-of-type a{
		text-align: left !important;
	}
	
	#menu_bar{
		right:0;
		position: absolute;
	}
	#mobile_menu{
		display:block;
		width: 40px;
		height: 40px;
		position: absolute;
		top:40px;
		right:10px;
		background: url(images/menu.png) no-repeat center center;
		cursor: pointer;
	}
	#menu_bar{
		display:none;
		width: 100%;
		top:90px;
		background: #005aab;
		z-index: 20;
		border-radius:20px;
	}
	#menu_bar.opened{
		display: block;
	}
	#menu_bar > nav > ul{
		padding:0;
		margin:0;
	}
	#menu_bar > nav > ul li{
		min-height: 40px;
		position:relative;
		border-bottom:1px solid #1962a3;

	}
	#menu_bar > nav > ul a{
		height: 40px;
		line-height: 40px;
		display: block;
		font-size: 15px;
		color:#f7f7f7;
		text-transform:lowercase;
		text-align: center;
	}
	#menu_bar > nav > ul li.opened .mobile-dropdown{
		background: url(images/drop_down_up.png) no-repeat center center;		
	}
	.mobile-dropdown{
		position: absolute;
		right:0;
		width: 40px;
		height: 40px;
		background: url(images/drop_down.png) no-repeat center center;
		cursor: pointer;
	}
	#menu_bar:before{
		display:block;
		position: absolute;
		top:-10px;
		right:20px;
		background: url(images/mobile_menu.png) no-repeat center center;
		content: '';
		width:20px;
		height: 10px;
	}
	#menu_bar > nav > ul li > ul{
		display:none;
		background: #00519a;
	}
	#menu_bar > nav > ul li.opened > ul{
		display:block;
		list-style-type: none;
		margin:0;
		padding:0;
	}


	#menu_bar > nav > ul > li.current-page-ancestor > a, 
	#menu_bar > nav > ul > li.current-menu-ancestor > a, 
	#menu_bar > nav > ul > li.current_page_ancestor > a,
	#menu_bar > nav > ul > li.current-menu-item > a,
	#menu_bar > nav > ul > li.current-post-ancestor > a,	
	#menu_bar > nav > ul > li.current_page_item > a,
	#menu_bar > nav > ul > li a:hover{
		color: #f26522;
	}

}
@media (min-width: 960px) {
	
	.page_menu{
		
	}
	#slide_nav > ul li{
		margin-left:10px;
	}
	#menu_bar{
		min-width: 500px;
	}
	.sub_header{
		display: block;
		width: 100%;
		height:225px;
		position:relative;
	}
	.sub_header > div.img{
		background: url(images/header_subpage.png) no-repeat center center;
		width: 100%;
		height: 100%;
		position:absolute;
		z-index: -1;
	}
	.sub_header > div.title{
		width:100%;
		height:100%;
		max-width:1180px;
		margin:0 auto;
		color: #f7f7f7;
		font-size: 46px;
		font-style: italic;
		position: relative;
	}
	.sub_header > div.title > div{
		position:absolute;
		right:0;
		top:105px;
	}
	
	.lang_mobile{
		display:none;
	}
	#menu_bar{
		position: absolute;
		right:0px;
		top:50px;
		height: 100px;
		background: url(images/bck_menu.png) repeat-x left top;
	}
	#menu_bar:before{
		display: block;
		height: 100%;
		width: 90px;
		content: '';
		top:0;
		left:-90px;
		position: absolute;
		border-top-left-radius: 100px;
		background: url(images/bck_menu.png) repeat-x left top;
	}
	#menu_bar:after{
		display: block;
		height: 100%;
		width: 90px;
		content: '';
		top:0;
		right:-90px;
		background: red;
		position: absolute;
		border-bottom-right-radius: 100px;
		background: url(images/bck_menu.png) repeat-x left top;
	}
	#menu_bar > nav > ul{
		margin:0;
		padding:0;
	}
	#menu_bar > nav > ul > li:first-of-type{
		padding:0 27px 0 19px;
		background: none;
	}
	#menu_bar > nav > ul > li:last-of-type{
		padding:0 10px 0 27px;
	}
	#menu_bar > nav > ul > li{
		float:left;
		padding:0 27px;
		background: url(images/menu_bck.png) no-repeat left center;
	}
	#menu_bar > nav > ul > li > a{
		line-height: 100px;
		font-size: 15px;
		color:#383838;
		text-transform:lowercase;
	}
	
	#menu_bar > nav > ul > li.current-page-ancestor a, 
	#menu_bar > nav > ul > li.current-menu-ancestor a, 
	#menu_bar > nav > ul > li.current_page_ancestor a,
	#menu_bar > nav > ul > li.current-menu-item a,
	#menu_bar > nav > ul > li.current-post-ancestor a,	
	#menu_bar > nav > ul > li.current_page_item a,
	#menu_bar > nav > ul > li > a:hover{
		color: #005aab;
	}
	#menu_bar > nav > ul > li > ul{
		display:none;
	}
	
}
@media (max-width: 900px) {
	.page_contact > div > div{
		float: none;
	}
	.page_contact > div > div:first-of-type{
		width: 96%;
		margin:2%;
	}
	.page_contact > div > div:last-of-type{
		width: 90%;
		margin:5%;
		max-width: 900px;
	}
	#map1, #map2{
		max-width: 900px;
	}
	
}
@media (max-width: 540px){
        .kadra_list > li > div:nth-of-type(1){
            width: 20%;
        }
        .kadra_list > li > div:nth-of-type(2),
        .kadra_list > li > div:nth-of-type(3){
            width: 40%;
        }
	footer > div > div{
		width: 90%;
		margin:0 auto;
		text-align: center;
		float: none;
	}	
	#logo_footer{
		position: relative;
		width:108px;
		height:84px;
		top:0;
		left:0;
		margin:0 auto;
		background: url(images/footer_logo.png) no-repeat center center;
	}
	footer > div > div:nth-of-type(3){
		text-align: center;
	}
}

@media (max-width: 480px){
	.title_taxonomy_header{
		display:none;
	}
	.content_show > div{
		float:none;
		width: 96%;
		margin-left: 2%;
		border-bottom:0px solid #e6e6e6;
		line-height: 40px;
	}
	.transakcja{
		border-bottom:1px solid #e6e6e6;
	}
	#start_box > ul{
		padding:0;
	}
	#start_box > ul > li{
		width:300px;
		/*padding-top:30%;*/
		display:inline-block;
		margin:3% 10px;
		position:relative;
	}	
	#start_box > ul > li div.text{
		top:35%
	}
	.sub_header > div.img{
		background-position: -265px center;
	}
	
	.news_wrapper > div{
		float:none;
	}
	.news_wrapper > div.icon{
		width: 100%;
		margin-right: 0%;
	}
	.news_wrapper > div.icon > div{
		margin:0 auto;
		max-width: 255px;
		width: 100%;
		height: 170px;
	}
	.news_wrapper > div.content{
		width: 100%;
		min-height: 170px;
	}
	
}
@media (max-width: 320px){
	.sub_header > div.img{
		background-position: -175px center;
	}	
}



