@font-face{ 
	font-family: 'Bariol';
	src: url('../../ul-custom-fonts/bariol_regular-webfont.eot');
	src: url('../../ul-custom-fonts/bariol_regular-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../../ul-custom-fonts/bariol_regular-webfont.woff') format('woff'),
	     url('../../ul-custom-fonts/bariol_regular-webfont.ttf') format('truetype'),
	     url('../../ul-custom-fonts/bariol_regular-webfont.svg#webfont') format('svg');
}

@font-face{ 
	font-family: 'Bariol-bold';
	src: url('../../ul-custom-fonts/bariol_bold-webfont.eot');
	src: url('../../ul-custom-fonts/bariol_bold-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../../ul-custom-fonts/bariol_bold-webfont.woff') format('woff'),
	     url('../../ul-custom-fonts/bariol_bold-webfont.ttf') format('truetype'),
	     url('../../ul-custom-fonts/bariol_bold-webfont.svg#webfont') format('svg');
}

@font-face{ 
	font-family: 'Segoe-print';
	src: url('../../ul-custom-fonts/segoeprint.eot');
	src: url('../../ul-custom-fonts/segoeprint.eot?#iefix') format('embedded-opentype'),
	     url('../../ul-custom-fonts/segoeprint.woff') format('woff'),
	     url('../../ul-custom-fonts/segoeprint.ttf') format('truetype'),
	     url('../../ul-custom-fonts/segoeprint.svg#webfont') format('svg');
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
	background-color: #f8f8f8 !important;
}

.et_pb_blog_grid .et_pb_post  p,
.et_pb_widget,
.et_pb_text {
	color: #333 !important;
}

.red-link {
	color: #e21f53 !important;
}

.et_pb_post h2.entry-title {
	font-family: Bariol-bold !important;
	font-size: 20px !important;
	color: #333 !important;
	line-height: 23px !important;
	margin-bottom: 14px !important;
}

.single-post #et-main-area .et_pb_post h2 {
	font-family: Bariol !important;
	font-size: 28px !important;
	color: #e21f53 !important;
	line-height: 32px !important;
	font-weight: normal !important;
}

.et_pb_post h3 {
	font-family: Bariol !important;
	font-size: 22px !important;
	color: #333 !important;
	line-height: 28px;
}

.et_pb_post h4 {
	font-family: Bariol !important;
	font-size: 20px !important;
	color: #e21f53 !important;
	line-height: 26px;
}

ol li {
	font-size: 16px;
}

/* Images effects */

#et-main-area .img-circle, #et-main-area .img-circle img {
    border-radius: 50% !important;
    width: auto !important;
}

/* Border effects */

.form-border-error{
	border: 1px #ff0000 solid !important;
}

.form-border-success {
	border: 1px #1F9960 solid !important;
}

#page-container {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	width: 90%;
    max-width: 1264px;
    margin: auto;
}

#main-header {
	left: 0;
}


.et_pb_section {
	padding: 0px !important;
	background-color: #f8f8f8 !important;
}

.category .mobile-category-title {
	display: none;
}

/* Article box */

#et-main-area {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

#main-content {
	margin-top: 80px; 
}

.et_pb_row {
	max-width: none;
}


.ul-blog .et_pb_row {
    width: 90% !important;
}

#top-menu.blog-nav {
    position: absolute;
    top: -50px;
    margin-left: 5%;
}


#top-menu.blog-nav li {
    display: inline-block;
    padding-right: 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1em;
    word-wrap: break-word;
}
#top-menu.blog-nav li,
#top-menu.blog-nav li a {
    color: #333;
}

#top-menu.blog-nav li a {
	font-size: 14px;
    font-weight: bold;
    padding-bottom: 33px !important;
}


#top-menu.blog-nav li.current-menu-item a, #top-menu.blog-nav li.current-menu-parent a {
    background-image: url(../../images/structure/linie.svg) !important;
    background-color: none !important;
    background-size: 50px 45px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-position-y: bottom !important;
}

#top-menu.blog-nav li a:hover {
    color: #e21f53 !important;
    opacity: 1 !important;
    transition: all .4s ease-in-out;
}

.search .et_pb_column_3_4,
.et_pb_gutters3 .et_pb_column_3_4 {
	background-color: #fff !important;
}

.et_pb_column_3_4 .et_pb_row_inner {
	padding-top: 0px !important;
	min-height: 1540px;
}

.category .et_pb_column_3_4 .et_pb_row_inner {
	min-height: unset;
}

.search .et_pb_column_3_4 .et_pb_blog_grid .column.size-1of2,
.et_pb_gutters3 .et_pb_column_3_4 .et_pb_blog_grid .column.size-1of2 {
	margin-right: 0px !important;
	padding-top: 20px !important;
	padding-left: 20px !important;
	width: 48.65% !important;
}

.et_pb_widget_area_left {
	border-right: none !important;
}

.search .et_pb_column_3_4 .et_pb_blog_grid .column.size-1of2 .et_pb_post,
.et_pb_gutters3 .et_pb_column_3_4 .et_pb_blog_grid .column.size-1of2 .et_pb_post {
    min-height: 400px;
	margin-bottom: 20px !important;
}

.et_pb_blog_grid .et_pb_image_container img {
	max-height: 142px !important;
	
}

.et_pb_blog_grid .et_pb_post {
	border: none !important;
	border-radius: 3px !important;
	-webkit-box-shadow: 0px 2px 2px 0px rgba(216,216,216,0.67);
	-moz-box-shadow: 0px 2px 2px 0px rgba(216,216,216,0.67);
	box-shadow: 0px 2px 2px 0px rgba(216,216,216,0.67);
	padding-bottom: 5px !important;
}

.et_pb_blog_grid .et_pb_post .post-content {
	cursor: pointer;
}

.et_pb_blog_grid .et_pb_post .post-content p {
	line-height: 20px !important;
}

.page .et_pb_post .post-meta a, 
.page .et_pb_portfolio_item .post-meta a {
	font-size: 12px !important;
	color: #e21f53 !important;
}

.wp-pagenavi {
	border-top: none !important;
	margin-right: 15px;
}

.wp-pagenavi span.current {
	color: #fff !important;
	background-color: #e21f53;
	padding: 5px 10px;
}

.et_pb_post .custom-userlutions-meta {
	margin-top: 10px;
	margin-bottom: 5px;
}

.et_pb_blog_grid .et_pb_post .left-meta
  {
	display: inline-block;
	margin-right: 10px;
	margin-top: 10px;
}

#et-main-area .et_pb_blog_grid .et_pb_post .left-meta .img-circle  {
	width: 32px !important;
}


.et_pb_blog_grid .et_pb_post .right-meta {
	display: inline-block;
	width: 80%;
	line-height: 16px;
	text-align: left;
	font-size: 12px !important;
	position: relative;
	top: -2px;
}

.et_pb_blog_grid .et_pb_post  .right-meta a {
	color: #e21f53 !important;
}


/* bottom info section */

.bottom-info-section {
	background-color: #f8f8f8 !important;
	z-index: 0;
}

#et-main-area .bottom-info-section .et_pb_row_0 {
	margin-top: 0;
	margin-bottom: 0;
}

#et-main-area .bottom-info-section h2,
#et-main-area .bottom-info-section h2 span {
	font-family: Bariol-bold !important;
	font-size: 25px !important;
	margin-left: 20px;
}

.bottom-info-section .et_pb_column_1_4:nth-child(2){
	width: 38% !important;
	margin-right: 0 !important;
}

/* sidebar */
#sticky-help-buttons,
.category #text-4,
.category #text-5,
.author .rss-and-social-icon {
	display: none;
}

.ul-blog .et_pb_sidebar_0 .et_pb_widget {
    margin-bottom: 30px;
}

.et_pb_widget.no-margin {
	margin: 0 !important;
}

.et_pb_widget.hide-title > .widgettitle {
	display: none;
}

.single-post #custom_html-5 {
	display: none;
}

.widget_search #searchform #s {
    height: 48px;
    width: 100%;
    padding: 5px 10px;
    padding-right: 10px;
    border: 1px #888 solid !important;
    font-family: 'Open Sans' !important;
    background-image: url(../../images/structure/search.svg) !important;
    background-repeat: no-repeat;
    background-position-x: 120% !important;
    background-position-y: -12px !important;
    background-color: #fff !important;
    background-size: 100px !important;
    padding-right: 40px;
}

.widget_search #searchsubmit {
    display: none;
}

#et-main-area h2.entry-title, 
#et-main-area h4.widgettitle {
	font-family: Bariol-bold !important;
	font-size: 20px !important;
	line-height: 23px !important;
	margin-bottom: 14px !important;
	color: #333;
}

#et-main-area  #main-content h2.entry-title a, 
#et-main-area  #main-content h4.widgettitle a {
	color: #333 !important;
}

.free-text-sidebar {
	width: 100%;
	display: block;
}

.free-text-sidebar span {
	position: relative;
	top: -3px;
	left: 5px;
}

.free-text-sidebar:nth-child(2) span{
	 
}

.textwidget .widgettitle.social {
	margin-top: 40px;
}

.textwidget .ul-custom-sidebar-icon {
	font-size: 24px;
	margin-right: 10px;
}

a.red-link .fa-rss-square {
	color: #ff9900 !important;
	font-size: 24px;
}

.et_pb_widget.widget_rss ul {
	display: none;
}

.widget_categories ul {
	padding: 0 !important;
}

.et_pb_widget .cat-item {
	background-color: #e21f53 !important;
	padding: 5px 7px !important;
	border-radius: 4px !important;
	display: inline-block;
	margin-right: -2px !important;
	margin-bottom: 2px !important;
	font-size: 13px;
}

.et_pb_widget .cat-item:hover {
	background-color: #d20f43 !important;
}

 #et-main-area #main-content .et_pb_widget .cat-item a,
 .ul-blog .et_pb_widget .cat-item a {
	color: #fff !important;
}

#et-main-area .sidebar-row .img-circle {
	width: 96px !important;
	margin-right: 13px;
}

.sidebar-row .sidebar-row-box {
	visibility: hidden;
	position: absolute;
	background-color: #fff;
	width: 280px;
	border-radius: 5px;
	padding: 10px;
	border: 1px solid #ddd;
	border-left: 0;
	border-top: 0;
	border-radius: 4px;
	box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.3);
	z-index: 2;	
}

.nose-down {
    content: ' ';
    position: relative;
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-style: solid;
    border-color: #fff;
    border-width: 0 0 1px 1px;
    -webkit-transform: rotate(133deg);
    -moz-transform: rotate(133deg);
    -ms-transform: rotate(133deg);
    -o-transform: rotate(133deg);
    z-index: 999;
    top: 15px;
    left: 49%;
}

.sidebar-row .sidebar-row-box p {
	font-size: 13px;
	line-height: 20px !important;
}

.sidebar-row .sidebar-row-box p.title {
	font-size: 14px;
	font-weight: bold !important;
}

#sidebar-newsletter {
	position: relative;
	z-index: 1;
}

#sidebar-newsletter form {
	margin-top: 20px;
}

#sidebar-newsletter p.newsletter-label {
	font-size: 13px;
	margin-bottom: 5px;
}

#sidebar-newsletter input[type="text"] {
	color: #333;
	height: 48px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	width: 206px;
}

#sidebar-newsletter label {
	display: block;
}

@media only screen and ( min-width: 1120px ) and ( max-width: 1400px ) {
	#sidebar-newsletter input[type="text"] {
		width: 70%;
	}
}
@media only screen and ( min-width: 768px ) and ( max-width: 1119px ) {
	#sidebar-newsletter input[type="text"] {
		width: 50%;
	}
}
@media only screen and ( max-width: 767px ) {
	#sidebar-newsletter input[type="text"] {
		width: calc(100% - 60px);
	}
}


#sidebar-newsletter button {
	height: 48px;
	width: 55px;
	position: relative;
	left: -5px;
	font-family: Bariol;
	font-size: 18px;
	top: 1px;
	background: rgb(37,180,114); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(37,180,114,1) 0%, rgba(31,153,96,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(37,180,114,1) 0%,rgba(31,153,96,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(37,180,114,1) 0%,rgba(31,153,96,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#25b472', endColorstr='#1f9960',GradientType=0 ); /* IE6-9 */
	color: #fff;
	border: none;
	border-radius: 0px 3px 3px 0px;
	cursor: pointer;
}
#sidebar-newsletter button:hover {
	background: -moz-linear-gradient(top, rgba(31,153,96,1) 0%, rgba(37,180,114,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(31,153,96,1) 0%, rgba(37,180,114,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(31,153,96,1) 0%, rgba(37,180,114,1)100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f9960', endColorstr='#25b472',GradientType=0 ); /* IE6-9 */
}

#sidebar-newsletter p.newsletter-error-label {
	display: none;
	color: #ff0000;
	font-size: 13px !important;
	margin-top: 5px;
	line-height: 18px;
}
#sidebar-newsletter p.newsletter-success-label {
	display: none;
	color: #1F9960;
	font-size: 13px !important;
	margin-top: 5px;
	line-height: 18px;
}


/* 404 */

.error404 #left-area {
    min-height: 410px;
}

.error404 #main-content .container::before {
	display: none;
}

@media only screen and ( min-width: 1100px ) {

	.et_pb_column_single {
		padding: 0% !important;
	}

	.search  .et_pb_column_3_4,
	.et_pb_gutters3 .et_pb_column_3_4 {
		width: 70% !important;
		margin-right: 3.5% !important;
		padding: 0px;
	}
	
	.search .et_pb_column_1_4,
	.et_pb_gutters3 .et_pb_column_1_4 {
		width: 26% !important;
		background-color: #f8f8f8 !important;
	}
}

@media only screen and ( max-width: 980px ) {

	.et_boxed_layout #page-container, .et_boxed_layout.et_non_fixed_nav.et_transparent_nav #page-container #top-header, .et_non_fixed_nav.et_transparent_nav.et_boxed_layout #page-container #main-header, .et_fixed_nav.et_boxed_layout #page-container #top-header, .et_fixed_nav.et_boxed_layout #page-container #main-header, .et_boxed_layout #page-container .container, .et_boxed_layout #page-container .et_pb_row, .et_boxed_layout.et_pb_pagebuilder_layout.single.et_full_width_page #page-container .et_pb_row, .et_boxed_layout.et_pb_pagebuilder_layout.single.et_full_width_portfolio_page #page-container .et_pb_row, .et_boxed_layout.et_pb_pagebuilder_layout.single #page-container .et_pb_row {
		width: 96% !important;
	}


	.et_pb_gutters3 .et_pb_column_3_4 {
		background-color: transparent !important;
	}
	
	.single-post .et_pb_post .et_post_meta_wrapper:nth-child(1){
		padding: 2% !important;
	}
	
	.category .mobile-category-title{
		display: block;
		padding-bottom: 30px;
		width: 90%;
		margin: auto;
	}
	
	.category .mobile-category-title h3 {
		font-family: Bariol !important;
		color: #e21f53 !important;
		font-size: 26px !important;
	}
	
	.bottom-info-section {
		top: 0px;
	}	
	
	.bottom-info-section h2 {
		margin-left: 0px;
	}
	
	.bottom-info-section  .et_pb_row_6 {
		padding-top: 0px;
	}
}

@media only screen and ( max-width: 767px ) {
.et_pb_blog_grid .et_pb_image_container img {
	max-height: unset !important;
	}
}

@media only screen and ( max-width: 476px ) {
	.bottom-info-section .et_pb_column_1_4:nth-child(2){
		width: 100% !important;
		margin-right: 0 !important;
	}
}

@media only screen and ( max-width: 330px ) {
	.page .et_pb_blog_grid .et_pb_post .right-meta, 
	.category .et_pb_blog_grid .et_pb_post .right-meta {
		width: 80%;
		top: -2px;
	}

	.bottom-info-section {
		top: 0px;
	}
}


/* MEDIA QUESRIE FOR SPECIAL DEVICES*/
/* iPad portrait*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape){ 

	li#menu-item-55 {
		margin-left: 80px;
		top: -10px;
	}
	li#menu-item-170 {
		top: -10px;
	}

	#social-icons-box .fb-share-button {
		top: -56px !important;
	}
	#sidebar-newsletter button {
		width: 60px;
		top: 3px;
	}
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait){
	#sidebar-newsletter button {
		width: 60px;
		top: 3px;
	}
}