/*
Theme Name: Miejska i Powiatowa Biblioteka Publiczna w Nowym Tomyślu
Author: Webdirect & RAJA Design
Author URI: https://web-direct.pl & http://rajadesign.pl/
Version: 1.0
*/
.karuzela
{
	height:100px;
	width:auto;
	object-fit: contain;
}
.carousel-owl 
{
	background-size:cover !important;
	-webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}

*,*:after,*:before
{
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
-ms-box-sizing:border-box;
-o-box-sizing:border-box;
box-sizing:border-box;
}
html, body, .flexslider
{
margin: 0;
padding: 0;
}
h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td
{
margin: 0;
padding: 0;
border: 0;
font-weight: normal;
font-style: normal;
font-size: 100%;
line-height: 1;
font-family: inherit;
}
strong{font-weight: 700;}
table
{
border-collapse: collapse;
border-spacing: 0;
}
ol, ul
{
list-style: none;
}
q:before,q:after,blockquote:before,blockquote:after
{
content: "";
}
html
{
overflow-y: scroll;
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
a{
outline: none;
}
a:focus
{
outline: thin dotted;
}
a:hover, a:active
{
outline: 0;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section
{
display: block;
}
audio, canvas, video
{
display: inline-block;
}
audio:not([controls]),[hidden]
{
display: none;
}
sub, sup
{
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup
{
top: -0.5em;
}
sub
{
bottom: -0.25em;
}
img
{
border: 0;
-ms-interpolation-mode: bicubic;
max-width:100%;
}
button,input,select,textarea
{
font-size: 100%;
margin: 0;
vertical-align: baseline;
}
button, input
{
line-height: normal;
}
button::-moz-focus-inner, input::-moz-focus-inner
{
border: 0;
padding: 0;
}
button,input[type=button],input[type=reset],input[type=submit]
{
cursor: pointer;
background:none;
-webkit-appearance: button;
color:#404040;
}
input[type=search],input[type=search]::-webkit-search-decoration
{
-webkit-appearance: none;
}
textarea
{
overflow: auto;
vertical-align: top;
}

p{margin: 0;	 }

p, ul{font-size-adjust:0.488; font-weight:300; font-style:normal;}

img{ border: 0; display: block; }
a{text-decoration: none; outline: none;}


@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'), url(https://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nFBvb3f1rSHBccuxwv45BuQ.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nCj3Mi2hOMP9GNHlaDA9WRI.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Condensed'), local('RobotoCondensed-Regular'), url(https://fonts.gstatic.com/s/robotocondensed/v13/Zd2E9abXLFGSr9G3YK2MsL0XspSvAl7ZHo2ORvFbbnU.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotocondensed/v13/Zd2E9abXLFGSr9G3YK2MsK8NE7_Gi-Xz52ZQ_AwfA78.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'), url(https://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nPJ02wFZLBBkWNCvnE5Eqks.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nJT5GEmoOtNsejy4tIPLwv0.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 300;
  src: local('Roboto Condensed Light Italic'), local('RobotoCondensed-LightItalic'), url(https://fonts.gstatic.com/s/robotocondensed/v13/mg0cGfGRUERshzBlvqxeABP3XUJCuv31c8-gEZwRs10.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotocondensed/v13/mg0cGfGRUERshzBlvqxeAKnqGQEx1Z0mO0vh_gmMTLI.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Condensed Italic'), local('RobotoCondensed-Italic'), url(https://fonts.gstatic.com/s/robotocondensed/v13/BP5K8ZAJv9qEbmuFp8RpJd9N7i4wXNGcWzmt9Lbeor0.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotocondensed/v13/BP5K8ZAJv9qEbmuFp8RpJSbgbeQlMzXi74o-QKBHk5k.woff) format('woff');
}

@font-face {
	font-family: 'Freescpt';
	src: url('../fonts/freescpt.eot');
	src: local('☺'), url('fonts/freescpt.woff') format('woff'), url('fonts/freescpt.ttf') format('truetype'), url('fonts/freescpt.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}




body{ border-top: 5px solid #8fc85d; background: #fff; font-size: 1; line-height: 1; }

/* Global */

#green_top_line{position: absolute; top: 91px; right: 0; width: 50%; height: 5px; background: #8fc85d}
.container{margin: 0 auto; max-width: 1168px;}
.right_box{float: right;}
#content h2{margin-bottom: 19px; color: #0254a0; font-size: 1.248em; font-weight: 700;}

/******************************* HEADER */
header{margin-bottom: 54px;}
header .container{overflow: hidden; padding-top: 20px;}
	#logo{float: left; width: 30%}
	
	header .right_box{border-bottom: 5px solid #8fc85d; width: 70%; height: 71px;}
	
		#right_box_header{float: right;}
			#search_container{position: relative; float: left; margin-right: 20px; margin-top: 6px; }
				#search_container input[type='text']{float: left; margin-top: 0; border: 1px solid #0254a0; height: 19px; color: #333; text-align: center; font-size: 0.848em; font-family: 'Roboto Condensed'; font-weight: 300; text-transform: lowercase; }
					#search_container #searchsubmit{display: block; float: left; margin-top: 0; margin-right: 0; border: 0; width: 25px; height: 19px; background:#0254a0 url('img/search_icon.png') center center no-repeat; font-size: 0;r}
		
			#work_menu{float: left;  font-family: 'Roboto Condensed', serif;}
				#work_menu li{padding-top: 3px; float: left; font-size: 0.800em;}
				#work_menu li:first-child{margin-top: 6px; padding-right: 10px;}
				#work_menu li:nth-child(2){margin-top: 6px; margin-right: 28px; padding-left: 10px; }
				#work_menu li:nth-child(2) a{padding-left: 15px; border-left: 1px solid #5c5c5c; }
					#work_menu li a{color: #000;}
					
					#work_menu li a.plusfont, #work_menu li a.minusfont, #work_menu li a.reloadfont{display: block; padding: 0 3px; color: #000; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700;}
					#work_menu li a.minusfont{margin-top: 6px; font-size: 0.948em;}
					#work_menu li a.reloadfont{margin-top: 4px; font-size: 1.148em;}
					#work_menu li a.plusfont{font-size: 1.500em;}

			#social_icon{float: right; margin-left: 25px; }
				#social_icon li{float: left; margin-left: 4px;}
			
	#menu_mobile{display: none;}			
	
	nav#primary_navigation{position: relative; overflow: hidden; margin: 0 auto; margin-bottom: 34px; max-width: 1168px;  font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 0.948em; z-index: 100}
		#primary_navigation li{float: left; padding: 0 20px 0 25px; background: url('img/sprite_global.png') no-repeat -8px -1px; text-transform: uppercase;}
		#primary_navigation li:first-child{padding-left: 0; background: none;}
			#primary_navigation li a{color: #000;}
			
	#slogan{height: 119px; background: #0254a0; font-family: 'Freescpt', Arial, sans-serif;}
		#slogan .container{position: relative;}
			#slogan .container #build{position: absolute; bottom: 0; right: 0;}
			#slogan h2{position: relative; margin-left: 36px; font-size: 6.448em; line-height: 119px; color: #fff; z-index: 1;}
			
	header#subpage{margin-bottom: 12px;}
	nav#primary_navigation.header_subpage {margin-bottom: 14px;}
	.header_subpage #works_menu {float: left; overflow: hidden; padding-top: 25px;}
		#subpage_slogan{float: right; padding-right: 10px; font-family: 'Freescpt', Arial, sans-serif; font-size: 3.448em; color: #01539f;}
		
	/* Breadcrumbs */
	.breadcrumbs{margin: 0 auto; margin-top: 10px; max-width: 1168px; font-family: 'Roboto Condensed'; color: #3d3d3d; font-size: 0.848rem; font-weight: 400; }
		.breadcrumbs a{color: #0154a0 }
		.breadcrumbs a:hover{text-decoration: underline;}
		
	#ninja_forms_form_1_cont input, #ninja_forms_form_1_cont textarea{padding: 3px 4px; border: 1px solid #cdcdcd; font-size: 0.948rem; font-family: 'Roboto Condensed'; color: #6d6d6d}	
	#ninja_forms_form_1_cont input[type='submit']{padding: 5px 10px; border: 0; background: #0154a0; text-transform: uppercase; color: #fff;}
	#ninja_forms_form_1_cont input[type='submit']:hover{background: #8fc95b}
	.subpage .ninja-forms-success-msg p{font-weight: 700; color: #8fc95b}
/******************************* Global grid */
#global_grid{overflow: hidden; position: relative; margin: 0 auto; margin-top: 45px; margin-bottom: 43px; max-width: 1168px}
	#global_grid .cell{float: left; margin-left: 1.2698%; margin-bottom: 16px; width: 23.999%; height: 201px;}
	#global_grid .row .cell:nth-child(5), #global_grid .row .cell:first-child, #global_grid .row .cell:nth-child(8){margin-left: 0;}
	.cell_green{background: #8fc95b;}
	.cell_blue{background: #00539f}
	
		#global_grid .cell a{display: block; position: relative; width: 100%; height: 100%; padding-top: 30px; text-align: center;  color: #fff; text-transform: uppercase; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size:  1.500em;}
		.cell a div{margin: 0 auto;}
		.name_first{position: absolute; top: 140px; left: 0; width: 100%; text-align: center;}
		
		.reader a div{width: 95px; height: 90px; background: url('img/reader_bcg.svg') center center no-repeat;}
		.no-svg .reader a div{width: 95px; height: 90px; background:  url('img/sprite_icon_home.png') no-repeat -5px -5px;}	

		.paint a div{width: 136px; height: 96px; background:  url('img/paint_bcg.svg') center center no-repeat;}
		.no-svg .paint a div{width: 136px; height: 96px; background:  url('img/sprite_icon_home.png') no-repeat -105px -5px;}
			.paint .min_desc{display: block; margin-top: 5px; font-size: 0.448em;}
		
		.region a div{width: 78px; height: 90px; background:  url('img/region_bcg.png') center center no-repeat}
		.no-svg .region a div{width: 78px; height: 90px; background:  url('img/sprite_icon_home.png') no-repeat -245px -5px;}

		.affiliates a div{width: 88px; height: 88px; background:  url('img/affiliates_bcg.png') center center no-repeat}
		
		.archives a div{width: 85px; height: 92px; background:  url('img/archives_bcg.png') center center no-repeat;}
		
		#global_grid .events{position: relative; float: left; margin-left: 1.2698%; width: 49.24%;  height: 201px;}
		.event_short_description{position: absolute; bottom: 0; padding: 14px; width: 100%; background: rgba(000,000,000,0.8); font-family: 'Roboto Condensed', Arial, sans-serif; }
			.event_short_description p{display: inline-block; color: #fff; font-size: 0.900em; font-weight: 700;}
			.event_short_description p:first-child{margin-right: 15px;}
		
		.catalogs a div{width: 91px; height: 93px; background:  url('img/catalogs_bcg.svg') center center no-repeat;}
		.no-svg .catalogs a div{width: 91px; height: 93px; background:  url('img/sprite_icon_home.png') no-repeat -530px -5px;}

		.libraries a div{width: 89px; height: 88px; background:  url('img/libraries_bcg.png') center center no-repeat;}
		
		.books a div{width: 88px; height: 92px; background:  url('img/books_bcg.svg') center center no-repeat}
		.no-svg .books a div{width: 88px; height: 92px; background:  url('img/sprite_icon_home.png') no-repeat -816px -5px;}
		
		.projects a div{width: 94px; height: 94px; background:  url('img/projects_bcg.svg') center center no-repeat}
		.no-svg .projects a div{width: 94px; height: 94px; background:  url('img/sprite_icon_home.png') no-repeat -717px -5px;}
		
		.news a div{width: 102px; height: 88px; background:  url('img/news_bcg.png') center center no-repeat;}

#owl-events .item{position: relative;}
a.link_to_event{position: absolute; top: 0; width: 100%; height: 100%;}		
		
#partners h3{margin-bottom: 23px; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 0.900em; color: #03529f; text-transform: uppercase;}

#partners{margin-bottom: 39px; }
			#partners .container{padding: 0 15px; overflow: hidden; }
				#partners .owl-wrapper{display: table !important;}
					#partners .owl-item{margin: 0 1px; display: table-cell; height: auto}
						#partners .item{display: table; width: 95%;  height: 69px; }
							#partners .item div{display: table-cell; border: 1px solid #e1e1e1;  width: 90%; height: 60px; text-align: center; vertical-align: middle;}
								#partners img{display: inline-block; }

/******************************* Search page */
.search_box{margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #0254a0 }	
	.subpage .title_article_search{margin-bottom: 0; font-weight: 700;  font-size: 1.348em; color: #0254a0}
	.search_box p{line-height: 1.4;}
	

/******************************* Footer */
#foot_info{position: relative;  padding: 37px 0; background: #0254a0; font-family: 'Roboto Condensed', Arial, sans-serif;}
#foot_info .container{overflow: hidden;}
	#foot_info #to_top a{display: block; position: absolute; left: 50%; top: -35px; margin-left: -25px; border-radius: 50px; width: 50px; height: 50px; background: #fff url('img/sprite_global.png') 12px -99px no-repeat; cursor: pointer; }
	
	#info_box{float: left; padding-right: 15px; width: 25%;}
	#hours_open, #fast_contact, #newsletter_box{float: left; margin-left: 2%; width: 23%;}
	#hours_open{padding-left: 20px;}
	
	#newsletter_box{position: relative; }
	#newsletter_box form{margin-top: 20px; }	
		#newsletter_box .wysija-paragraph{float: left; width: 80%;}
			#newsletter_box form input[type='text']{padding: 0; border: 0; width: 100%; height: 30px; text-align: center; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 300; font-size: 0.848em;}
			#newsletter_box form input[type='submit']{display: block; padding: 0; border: 0; width: 33px; height: 30px; font-size: 0; background: #8fc85d url('img/sprite_global.png') 3px -90px no-repeat;}
		#newsletter_box .widget_wysija_cont .wysija-submit{float: left; margin-top: 0; }
		
		.formError .formErrorContent{font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700;}

	#foot_info h4{margin-bottom: 26px; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 1.148em; color: #fff;}
	#foot_info p{color: #fff; font-size: 0.948em; line-height: 1.3;}
	#foot_info p strong{font-weight: 600;}
	
		#fast_contact ul{color: #fff; font-size: 0.948em;}
			#fast_contact li{margin-bottom: 14px; padding-left: 25px; min-height: 18px;}
			#fast_contact #address{background: url('img/sprite_global.png') -6px -23px no-repeat; }
			#fast_contact #phone{background: url('img/sprite_global.png') -5px -49px no-repeat; }
			#fast_contact #mail{background: url('img/sprite_global.png') -5px -72px no-repeat; }
			
footer{overflow: hidden; padding: 7px 0; border-top: 3px solid #fff; background: #8fc95b;}
	footer ul{margin: 0 auto; max-width: 1168px;  color: #fff;}
	footer li{float: left; width: 33.3333%; font-size: 0.948em;  font-weight: 300; font-family: 'Roboto Condensed', Arial, sans-serif; text-align: center;}
	footer li:first-child{text-align: left; width: 29%;}
	footer li:last-child{float: right;}

/******************************* Subpage */
.subpage{padding: 15px 0;}
h2#title_site{margin-bottom: 35px; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 1.248em; color: #0254a0}
	h2#title_site a{}
	.title_sitemap{margin-bottom: 15px; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; color: #0254a0; font-size: 1.048em;}
		
	
	.sitemap_list{font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 300; font-size: 1.048em;}
		.sitemap_list dt{margin-top: 15px; margin-bottom: 10px; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700;}
			.sitemap_list dd{margin-bottom: 5px; margin-left: 15px; }
		.sitemap_list a{color: #0254a0}
		
		.sitemap_list li{font-size: 1.048em;}
			.sitemap_list ul li{margin-bottom: 5px; margin-left: 15px;}

/* Subpage */
#subpage_nav{height: 54px; background: #0154a0;}
		#subpage_nav ul{margin: 0 auto; max-width: 1168px; font-family: 'Roboto Condensed'; }
			#subpage_nav li{float: left; position: relative;}
				#subpage_nav a{display: block; padding: 20px 9px 16px; color: #fff; font-weight: 700; font-size: 1.058em;}
				#subpage_nav li:first-child a{padding-left: 0;}
				#subpage_nav li a:hover{color: #8dc560}
				#subpage_nav li.current-menu-item a, #subpage_nav li.current-menu-parent > a{color: #8dc560}
			
				
				#subpage_nav li ul{position: absolute; display: none; margin-left: -8px; z-index: 999;}
				#subpage_nav li:hover ul{display: block;}
				
					#subpage_nav li ul li{ float: none; margin-right: 0; padding: 0 8px; background: #0254a0;}
					#subpage_nav li ul li a{padding: 7px 7px; border-bottom: 1px dotted #fff; width: 180px;}
					#subpage_nav li ul li:last-child a{border-bottom: none;}
					#subpage_nav li ul li:first-child a{padding-left: 7px;}
					#subpage_nav li ul li.active a{color: #8dc560;}
				
.subpage #content{width: 100%; font-family: 'Roboto Condensed', Arial, sans-serfi;}				
				
#container{overflow: hidden; margin: 0 auto; margin-top: 60px; margin-bottom: 64px; max-width: 1168px;}
	#content{float: left; width: 66%;}
	#my_sidebar{float: right; width: 22%;}
		/*Subpage colors*/
		#container.zone_colors{overflow: visible; overflow: none;  margin-bottom: 100px;}
		.page-template-page_colors #foot_info{clear: both;}
		#container.zone_colors #content .panel-grid:last-child{margin-bottom: 40px;}
		
#pagination{clear: both; padding-top: 15px; border-top: 1px solid #8ec95b; font-family: 'Roboto Condensed'}
	#pagination .navigation{position: relative; }
	#pagination ul{position: relative; overflow: hidden; text-align: center;}	
		#pagination li{display: inline-block; padding: 0 4px; border-right: 1px solid #0152a1; color: #0152a1; }
		#pagination li a{color: #0152a1; font-weight: 700; font-size: 1.248em;}
		#pagination li.current a{color: #90ca5c}
		#pagination li:last-child{border-right: 0;}	
		
		.next_posts, .last_posts{margin-left: 10px; color: #0152a1}
		.first_posts, .prev_posts{margin-right: 10px; color: #0152a1}
		.text_pagination{clear: both; text-align: center;}
			.text_pagination a{display: inline-block;}
	/* News */
	.line_news{width: 100%;}
		.news_box{float: left; width: 45%; height: 380px; font-family: 'Roboto Condensed';}
		.news_box:nth-child(2n+2){margin-left: 10%;}
			.news_box header{margin-bottom: 7px;}
				.news_box time, #single_post time{color: #8fc85d; font-size: 0.748em;}
				.news_box h4 a{color: #024b8f; font-size: 1.200em; font-weight: 700;}

			.news_box img{margin-bottom: 15px; border: 1px solid #999999; padding: 3px; max-width: 100%; height: auto; }
			.news_box p{line-height: 1.3; color: #333333; text-align: justify;}
			
			
	/* Warto przeczytac Category */
		.category-warto-przeczytac .news_box{height: 300px;}
		.category-warto-przeczytac .news_box header{overflow: hidden; }
		.category-warto-przeczytac .news_box .book_thumb_link{display: block; float: left;}
		.category-warto-przeczytac .news_box .book_short_description{display: block; float: right; width: 65%;}
			.category-warto-przeczytac .news_box .book_short_description p{margin-bottom: 14px;}
			.category-warto-przeczytac .news_box .read_more_book{font-weight: 300; color: #0154a0; font-size: 0.848rem; text-transform: lowercase;}
		
	/* Our team */
	.accordion_team{font-family: 'Roboto Condensed', Arial, sans-serif;}
		.accordion_team .su-spoiler-style-simple{margin-bottom: 25px !important; border: none; border-bottom: 4px solid #d7d7d7; }
			.accordion_team .su-spoiler-style-simple .su-spoiler-title{padding-bottom: 30px; background: none; font-size: 1.648rem; font-weight: 300; color: #0154a0}
			.accordion_team .su-spoiler-style-simple .su-spoiler-content{padding-top: 0; color: #333; font-weight: 300;}
			
			
	/* Singel post */
		
	#post_container{float: left; width: 71%; }
		#single_post{overflow: hidden; margin-bottom: 45px; font-family: 'Roboto Condensed'}
			#single_post header{margin-bottom: 12px;}
			#single_post h2{color: #024b8f; font-size: 1.200em; font-weight: 700;}
			
			#post_content{float: none; width: 100%;}
				#post_content .post_thumbnail_container{position: relative; float: left; margin-right: 19px; border: 1px solid #999; width: 388px; height: 184px; overflow: hidden;}
		
				#post_content .thumbnail{float: left; margin-right: 19px; margin-bottom: 24px; max-width: 388px;}
				#post_content p, .subpage p{margin-bottom: 19px; line-height: 1.7; color: #333333; text-align: justify;}
			
		#single_post ul, .subpage ul{margin-bottom: 19px; margin-left: 20px;}
			#single_post li, .subpage li{margin-bottom: 0; padding-left: 16px; background: url('img/dot.png') left top 13px no-repeat; color: #343434;  font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 300; line-height: 1.7;} 	
			.subpage a, #single_post a{text-decoration: underline; color: #0254a0}
			.subpage a:hover, #single_post a:hover{color: #8fc85d}
			
	#news_category{border: 1px solid #8fc95b}
		#news_category h5{margin-bottom: 10px; padding: 10px 16px; background: #8fc95b; color: #fff; font-family: 'Roboto Condensed'; font-weight: 700; font-size: 1.248em;}
		
		#news_category article{padding: 8px 18px; padding-bottom: 0;font-family: 'Roboto Condensed'}
		#news_category article:last-child{margin-bottom: 28px;}
			#news_category time{display: block; margin-bottom: 5px; color: #8fc85d; font-size: 0.748em;}
			#news_category h6 a{color: #01539f; font-weight: 700; font-size: 0.948em; line-height: 1.3;}	
			
	#back_to_news{display: inline-block; padding: 8px 7px 8px 25px; background: #01539d url('img/back_to_news.png') left 9px center no-repeat; font-family: 'Roboto Condensed'; font-weight: 700; color: #fff;}
	
	#post_content .gallery figure{margin: 0 auto; float: left;}
	#post_content .gallery img, .page .gallery img{margin: 0 27px 27px 0; padding: 2px; border: 1px solid #b2b2b2}
	
	.subpage .gallery figure{float: left; margin: 1%; width: 22%; height: 250px; }
	.page-id-1065 .subpage .gallery figure{height: auto;}
	
	#cookie-law-info-bar, #cookie-law-info-again{font-family: 'Roboto Condensed' !important}
@media (max-width: 1168px){
	.container, .breadcrumbs{padding: 0 15px;}
	.subpage{padding: 15px; }
	nav#primary_navigation{padding: 0 15px;}
	
	#slogan .container #build{width: 400px;}
	
	#global_grid{padding: 0 15px;} 
	
	footer ul{padding: 0 15px; font-size: 0.948em;}
		footer li{margin-left: 3%; width: 28%; text-align: center;}
		footer li:last-child{float: left;}
		
	#container, #subpage_nav{padding: 0 15px;}
	#subpage_slogan{display: none;}
}

@media (max-width: 980px){
	/*#slogan h2{font-size: 3.648em;}*/
	#slogan .container #build{width: 360px;}
	
	#my_sidebar{width: 27%;}
	#subpage_nav, #primary_navigation.header_subpage{display: none;}
	#menu_mobile{display: block; height: 90px; background: #0254a0;}
	#menu_mobile ul{position: relative; overflow: hidden; width: 100%; height: 0;  background: rgba(004,086,162,0.95);  -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; -ms-transition: all 0.5s ease; transition: all 0.5s ease; z-index: 999; font-family: 'Roboto Condensed', Arial, sans-serif;}
	#menu_mobile ul.active{ height: 790px; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; -ms-transition: all 0.5s ease; transition: all 0.5s ease;}
		#menu_mobile ul li{padding-left: 35px;}
		#menu_mobile ul li:first-child{padding-top: 80px; border-top: 1px solid #fff; }
		#menu_mobile ul li:first-child a{border-top: 1px solid #fff;}
		#menu_mobile a{display: block; padding: 15px 0; color: #fff; text-transform: uppercase;}
	
	#menu_mobile #mobile_menu_icon{position: relative; float: right; margin-right: 15px; margin-top: 35px;   cursor: pointer; z-index: 9999;}
		#menu_mobile #mobile_menu_icon span{display: block; margin-bottom: 5px; width: 35px; height: 5px; background: #fff;}	
}

@media (max-width: 800px){
	#slogan h2{font-size: 3.848em; margin: 0 auto; text-align: center;}
	#slogan .container #build{display: none;}
	
	#global_grid{padding-top: 224px;}
		#global_grid .cell{margin-left: 0; width: 32.333%;}
		#global_grid .events{float: none; position: absolute; top: 0; left: 0; margin-left: 0; padding: 0 15px; width: 100%; }
		#global_grid .row .cell:nth-child(3n+1), #global_grid .row .cell:last-child{margin-left: 0;}
		#global_grid .row .cell, #global_grid .row .cell:nth-child(5), #global_grid .row .cell:nth-child(7), #global_grid .row .cell:nth-child(10){margin-left: 1.2698%;}
		
	/* Mobile menu */
		#mobile_menu_icon{position: relative; float: right; margin-right: 15px; margin-top: 45px;   cursor: pointer; z-index: 9999;}
		#mobile_menu_icon span{display: block; margin-bottom: 5px; width: 35px; height: 5px; background: #fff;}	
		
		nav#primary_navigation{display: block; position: relative; overflow: visible; padding: 0; }
			#primary_navigation ul{position: absolute; width: 100%; background: rgba(004,086,162,0.9); z-index: 999; height: 0; overflow: hidden; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; -ms-transition: all 0.5s ease; transition: all 0.5s ease;}
			#primary_navigation ul.active{ height: 430px; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; -ms-transition: all 0.5s ease; transition: all 0.5s ease;}
				#primary_navigation li{float: none; padding: 0 15px;  background: none;}
				#primary_navigation li:first-child{margin: 0 15px; margin-top: 120px; padding-top: 35px; border-top: 1px solid #fff}
				#primary_navigation li:last-child{margin-bottom: 0;}
				#primary_navigation li a{display: block;  padding: 15px 0; width: 100%; color: #fff;}
				
		#menu_mobile ul li ul.active{height: auto;}
			#menu_mobile ul li ul li:first-child{padding-top: 0; border-top: 0;}
			#menu_mobile ul li ul li:first-child a{border-top: 0;}

	#info_box, #hours_open, #fast_contact, #newsletter_box{margin-bottom: 25px; width: 49%; height: 230px;}
	#fast_contact{margin-left: 0;}
	#newsletter_box{padding-left: 20px;}
	
	.news_box{float: none; width: 100%;}
	.news_box:nth-child(2n+2){margin-left: 0;}
	
	#my_sidebar{width: 30%}
	#post_container{float: left; margin-bottom: 45px; width: 70%;}
	
	.single-post #my_sidebar{float: none; width: 100%;}
	.single-post #post_container{float: none; width: 100%;}
}
@media (max-width: 670px){
	#partners li{width: 180px}
	
	#content{float: none; overflow: hidden; margin-bottom: 45px; width: 100%; }
	#my_sidebar{float: none; width: 100%;}
	.news_box time{display: block; text-align: center;}
	.news_box h4{text-align: center;}
	.news_box img{margin: 0 auto; margin-top: 15px; margin-bottom: 15px;}
	.news_box p{text-align: center;}
}

@media (max-width: 620px){
	#global_grid .row .cell:nth-child(3n+1), #global_grid .row .cell:nth-child(2n), #global_grid .row .cell:nth-child(9n), #global_grid .row .cell:nth-child(11n){margin-left: 2%; }
	#global_grid .row .cell, #global_grid .row .cell:first-child, #global_grid .row .cell:nth-child(5n), #global_grid .row .cell:nth-child(8n){margin-left: 0; width: 49%;}
	
	#green_top_line{display: none;}
	#logo{float: none; display: block; width: 100%; margin-bottom: 25px;}
		#logo img{margin: 0 auto;}
	header .right_box{float: none; padding-bottom: 25px; width: 100%; height: auto;}
		#right_box_header, #social_icon, #work_menu{overflow: hidden; float: none; margin: 0 auto;  width: 320px;}
		#work_menu{margin: 0 auto; margin-bottom: 25px; width: 300px;}
		#social_icon{margin:  0 auto; width: 100px;}
		
	#partners li{margin-bottom: 23px; margin-left: 2%; width: 230px}

	#post_content .thumbnail{float: none; width: 100%; height: auto; }
	
}

@media (max-width: 530px){
	#slogan h2{font-size: 3.248em; text-align: left; }
	
	#global_grid .row .cell, #global_grid .row .cell:first-child, #global_grid .row .cell:nth-child(3n+1), #global_grid .row .cell:nth-child(2n), #global_grid .row .cell:nth-child(5n), #global_grid .row .cell:nth-child(9n), #global_grid .row .cell:nth-child(11n){float: none; margin-left: 0; width: 100%;}

	#partners li, #partners li:nth-child(4n){margin-bottom: 23px; margin-left: 0; width: 10%;}
	#info_box, #hours_open, #fast_contact, #newsletter_box{margin: 0 0 25px; padding: 0; width: 100%; height: auto; text-align: center;}
		
		#fast_contact #address, #fast_contact #phone, #fast_contact #mail{background: none; }

	footer li{float: none; margin-bottom: 10px; width: 100%;}
	footer li:first-child{width: 100%; text-align: center;}
	footer li:last-child{margin-bottom: 0;}
	
	#post_content .gallery figure{float: none; width: 100%; text-align: center;}
		#post_content .gallery figure img{display: inline-block; margin-right: 0;}
		#back_to_news{padding: 8px 0; width: 100%; background: #01539d; text-align: center;}
		
	#partners .item{display: table; width: 99%;  height: 80px; }
}	


@media(max-width: 480px){
	#slogan h2{font-size: 2.448em; text-align: left; }

}

@media(max-width: 380px){
	#slogan h2{font-size: 2.000em; text-align: left; }

}


/* OWL */
/* 
 * 	Core Owl Carousel CSS File
 *	v1.3.3
 */

/* clearfix */
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/* display none until init */
.owl-carousel{
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
	
.owl-carousel .owl-item{
	float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing { 
    cursor:url(grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);

}

.item{height: 201px;}

/*
* 	Owl Carousel Owl Demo Theme 
*	v1.3.3
*/

.owl-theme .owl-controls{
	position: absolute; top: 6px; right: 7px; 
	text-align: center;
}

/* Styling Next and Prev buttons */

.owl-theme .owl-controls .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	margin: 5px;
	padding: 3px 10px;
	font-size: 12px;

	background: #8ec85c;

}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
	text-decoration: none;
}

/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 13px;
	height: 12px;
	margin: 5px 3px;
	background: #8ec85c;
}
.owl-theme .owl-controls .owl-page.active span{
	display: block;
	width: 13px;
	height: 12px;
	margin: 5px 3px;
	background: #00569d;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

/* preloading images */
.owl-item.loading{
	min-height: 66px;
	background: url(AjaxLoader.gif) no-repeat center center
}

	