.filtering-header {
	background-color: black;
	min-height: 60px;
	width: 100%;
	box-shadow: inset 2px 200px 0px -194px rgba(17,16,11,1);
}
.filtering-header-mobile{
    display: none;
    background-color: black;
    height: 60px;
    width: 100%;
    position: relative;
}
.filtering-header #container {
	color: #ffffff;
	font-size: 30px;
	line-height: 60px;
	background-color: transparent !important;
	position: relative;
}
#filter-container .container{
    position: relative;
}
#filtering-button {
    width: 160px;
    height: 60px;
    background-image: url(filter-button.png);
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 0 0 0 23px;
    background-position: 23px 17px;
}
.filtering-button-mobile{
    width: 160px;
    height: 60px;
    background-image: url('filter-button.png');
    background-repeat: no-repeat;
    padding: 16px 0 0 23px;
    background-position: 23px 17px;
}
#filtering-button p,
.filtering-button-mobile p {
    position: relative;
    left: 60px;
    color: #fff;
    margin: -3px 0 0;
    display: inline-block;
    vertical-align: middle;
}
.filter-search {
	height: 50px;
    width: 100%;
    position: relative;
    margin: 40px auto 0;
}
.filter-search input {
	height: 50px;
	border: 1px solid #000;
	padding: 0 20px;
	background-color: transparent;
	width: 100%;
    border-radius: 0;
    z-index: 100;
    position: relative;
    display: block;
    transition: all 0.3s ease;
}
.filter-search input:focus {
	outline: none;
}
.filter-search label{
    left: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.filter-search input:focus + label{
    top: -10px;
    font-size: 11px;
}
.filter-search label.form-filled {
    top: -10px;
    font-size: 11px;
}
.close-filter{
    display: none;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: 0;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}
.close-filter span{
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    opacity: 1;
    left: 0;
}
.close-filter span:nth-child(1) {
    transform: rotate(45deg);
}
.close-filter span:nth-child(2) {
    transform: rotate(-45deg);
}
#filtering {
	width: 286px;
	float: left;
	background-color: #eeeeee;
    min-height: 700px;
    height: auto;
    transition: all 0.5s ease;
    overflow: hidden;
}
#filtering.filter-slide{
    width: 0;
}
#filter-form {
	padding: 24px;
}
#filter-form h4 {
	padding-bottom: 14px;
	border-bottom: 1px solid #000000;
	margin-bottom: 8px;
	margin-top: 20px;
	text-transform: uppercase;
}
#filter-form h2:first-child {
	margin-top: 0;
}
#filtering-result-holder {
	width: calc(100% - 286px);
	float: left;
	transition: all 0.5s ease;
	text-align: center;
	margin-bottom: 50px;
}
.filtering-full {
	width: 100% !important;
	transition: all 0.5s ease;
}
#filtering-result {
	padding-left: 70px;
}
.filtering-text-wrap{
    margin: 40px auto 45px;
    width: 67%;
    max-width: 420px;
}
#filtering-result-holder h1 {
    margin: 0 0 36px 0;
	text-align: center;
    /*border-bottom: 1px solid #000;*/
    display: inline-block;
}
.show-results-btn{
    display: none;
}
.company-toptext {
	text-align: center;
	width: 67%	;
    display: inline-block;
}
.category-hasChildren {
	position: relative;
	width: 286px;
	left: -24px;
	padding-left: 24px;
	transition: all 0.5s ease;
}
.category-hasChildren.open{
	background-color: #000000;
}
.category-showmore {
	width: 30px;
	height: 30px;
	position: absolute;
	background-image: url('plus-transparent.png');
	background-size: 30px 30px;
	right: 20px;
	top: 0;
	cursor: pointer;
	transition: all 0.5s ease;
	z-index: 100;
}
.open .category-showmore {
	background-image: url('minus-white.png');
	transition: all 0.5s ease;
}
.showmore-second {
	background-image: url('plus-transparent.png');
	right: -3px;
}
.showmore-second.open {
	background-image: url('minus-transparent.png');
	right: -3px;
}
input[type="checkbox"] {
	cursor: pointer;
	position: absolute;
	top: 5px;
}
.hidden-check{
	display: none;
}
.checkbox-label {
	cursor: pointer;
}
.hidden-check + .checkbox-label:before {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  position: relative;
  display: inline-block;
  margin-right: 14px;
  margin-left: -27px;
  content: "";
}
.open .checkbox-label:before {
  width: 10px;
  heightt: 10px;
  border: 1px solid #fff;
  position: relative;
  display: inline-block;
  margin-right: 17px;
  content: "";
}
.hidden-check:checked + .checkbox-label:before {
  background: #000;
}
p {
	padding: 0;
	margin: 0;
}
.undercat {
	display: none;
}
.second-category {
	margin-left: 25px;
}
.third-category {
	margin-left: 50px;
}
.last-category {
	margin-left: 75px;
}
#filtering-selected {
	width: 100%;
	min-height: 55px;
	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	padding: 16px 0 16px 70px;
    text-align: left;
}
#filtering-selected > p{
	display: inline-block;
	line-height: 21px;
    float: left;
}
#filtering-selected > div{
    display: inline-block;
}
.selected-cat {
	display: inline-block;
	background-color: black;
	height: 21px;
	color: #ffffff;
	font-size: 13px;
	padding: 0 26px 0 6px;
	line-height: 21px;
	float: left;
	cursor: pointer;
	background-image: url("delete-cat.png");
	background-repeat: no-repeat;
	background-position: right center;
	margin-left: 10px;
}


/* Company information */

.company-result {
	border-bottom: 1px solid #dcdcdc;
	padding: 20px;
	position: relative;
	transition: all 0.6s ease-in-out;
}
.company-result p,
.company-result h2{
    width: 80%;
}
/*.company-result:hover {
	background-color: #ededed;
	transition: all 0.6s ease-in-out;
}*/
.company-result h2 {
	text-align: left;
	font-size: 20px;
    line-height: 24px;
	font-weight: 500;
	margin: 0 0 0 0;
}
.company-result p {
	text-align: left;
	margin-top: 5px;
}
.company-result .arrow-wrap {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    transition: all 0.4s ease-in-out;
}
.company-result .arrow-wrap:hover {
    width: 43px;
    right: 10px;
}
/*.company-result .right-arrow{
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}*/
.link {
	width: 24px;
	height: 24px;
	position: absolute;
	right: 20px;
	top: 34px;
	background-image: url('link.png');
	background-size: 24px 24px;
}
#companies-info {
	padding: 20px;
    font-weight: 700;
}

/* Animation for the list */
.repeated-item.ng-enter, .repeated-item.ng-move {
  transition: all 0.3s ease-in-out;
  opacity: 0;
}
.repeated-item.ng-enter.ng-enter-active,
.repeated-item.ng-move.ng-move-active {
  opacity: 1;
}
.repeated-item.ng-leave {
  -webkit-animation: 0.3s my_animation;
          animation: 0.3s my_animation;
}
@-webkit-keyframes my_animation {
  from { opacity:1; }
  to { opacity:0; }
}
@keyframes my_animation {
  from { opacity:1; }
  to { opacity:0; }
}
#filter-headline {
	width: 286px;
	height: 54px;
	background-color: #626262;
	line-height: 54px;
	color: #ffffff;
	position: relative;
    display: flex;
    align-items: center;
}
#filter-headline h4 {
	margin: 0;
	margin-left: 20px;
	color: #ffffff;
}
#filter-headline p {
	position: absolute;
	top: 18px;
	right: 16px;
	margin: 0;
	padding: 0;
    color: #ffffff;
}
.category-holder {
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
}
.category-holder label {
	position: relative;
	color: #000000;
	width: 181px;
	display: inline-block;
    margin-left: 27px;
}
.category-holder label span{
    vertical-align: middle;
}
.category-hasChildren.open  label {
	color: #ffffff;
}

/* Big list */
.filtering-big-list{
    margin: 60px 0 50px;
}
.filtering-big-list .top-cat-buttons{
	margin: 0 0 30px;
}
.filtering-big-list .top-cat-buttons a{
	margin-right: 5px;
}
.filtering-big-list .top-cat-buttons a:last-of-type{
	margin-right: 0;
}
.filtering-big-list h3{
	border-bottom: 1px solid #000;
	margin-bottom: 28px;
    padding-bottom: 6px;
    text-transform: uppercase;
}
.filtering-big-list h4{
	text-transform: uppercase;
	margin-bottom: 5px;
}

/* FRONTEND (list with companies) */

#infoBox {
	width: 100%;
	background-color: black;
	top: 0;
	left: 0;
	line-height: 22px;
	text-align: center;
	color: #ffffff;
    padding: 15px;
}
#infoBox .container {
	background-color: black;
}
.filtering-active {
	background-color: #bfbfbf;
}
#filtering-buttons {
	position: absolute;
	bottom: 40px;
}
.filtering-gallery {
	width: 100%;
	margin-top: 20px;
	display: flex;
	border-top: 10px solid #ffffff;
	background-color: #ffffff;
}
.filtering-gallery-item {
	width: 15.16%;
    height: 107px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 1.8%;
}

.filtering-gallery-item:last-of-type{
	margin-right: 0;
}
.filtering-gallery-item img{
	-o-object-fit: cover;
	   object-fit: cover;
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}
.filtering-categorie-menu{
	background-color: #eeeeee;
}
.gallery-link{
	background-color: #eeeeee;
}
.filtering-line {
	width: 100%;
	height: 60px;
}
.filtering-company-list{
	margin: 60px 0 50px;
	border-top: 1px solid #dcdcdc;
}
.filtering-title {
    hyphens: auto;
}
.filtering-company-holder {
	width: 100%;
	padding: 47px 0;
	border-bottom: 10px solid #dcdcdc;
}
.filtering-company-content{
	/*display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;*/
}
.filtering-company-logo {
    width: 25%;
    margin-bottom: 20px;
}
.filtering-company-text {
    /*flex: 1 0 0;
	width: 50%;
	position: relative;
	align-self: center;*/
}
.filtering-city {
	margin: 7px 0 7px;
}
.filtering-company-buttons{
	width: 80%;
	margin: 38px 0 0;
}
.filtering-company-buttons .ts-btn1{
    margin-bottom: 10px;
}
.filtering-categorie-list {
	display: block;
    padding: 15px;
    transition: all 0.5s ease;
    color: #000;
}
.filtering-categorie-list:hover{
    background-color: #626262;
    color: #fff;
}
.filtering-active {
	background-color: #626262;
    color: #fff;
}
.filtering-company-reportage.post-list{
    margin: 20px 0;
    border: none;
}
.filtering-company-reportage.post-list .post-wrap{
    border: none;
    background-color: #eeeeee;
}

.filtering-company-reportage.post-list a:hover h2,
.filtering-company-reportage.post-list a:hover .post-date,
.filtering-company-reportage.post-list a:hover .post-text > p,
.filtering-company-reportage.post-list a .post-text > p {
    text-decoration: none;
}

.filtering-company-reportage.post-list a h2,
.filtering-company-reportage.post-list a:hover h2 {
    font-size: 18px;
    font-weight: bold;
}

.filtering-company-list .filtering-gallery-item:not(.gallery-link) {
    overflow: visible;
}

.filtering-company-list .filtering-gallery-item a:hover {
    transform: scale(1.025);
    transform-origin: center center;
    cursor: pointer;
}

.filtering-company-reportage.post-list .post-image{
    width: 165px;
}
.chips-holder {
	width: 100%;
	background-color: #ededed;
	padding: 0 10px;
	margin-top: 40px;
}
.chips {
	background-color: #000;
	display: inline-block;
	float: left;
	margin-right: 10px;
	padding: 5px;
	font-size: 12px;
	margin-bottom: 5px;
}
a .chips{
    color: #fff;
}
.filtering-bottom-text{
    margin-bottom: 50px;
}

.all-categories-tags {
    max-width: 1170px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.all-categories-tags .chips-section{
    margin-top: 10px;
    margin-bottom: 10px;
}
.all-categories-tags .chips{
    margin: 0 20px 20px 0;
    float: none;
    padding: 12px 10px;
}

.filtering-bottom-text a {
    display: inline-block;
}

/* Resposive */

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

    #filter-headline {
        width: 100%;
        position: absolute;
        top: 60px;
    }
	#filtering {
        float: none;
        position: fixed;
        bottom: 0;
        top: 0;
        height: 100%;
        min-height: 0;
        left: -100%;
        z-index: 1000;
        width: 100%;
        margin: 0;
	}
    #filtering.filter-slide{
        left: 0;
        width: 80%;
    }
    #filter-form h4{
        margin-top: 0;
    }
    #filter-form{
        padding-bottom: 85px;
        overflow-y: scroll;
        height: calc(100% - 168px); /* Removing the height of filtering-header-mobile, filter-headline and show-results-btn */
        margin-top: 114px;
    }
    #filter-headline p{
        right: 24px;
    }
	.category-hasChildren {
		width: calc(24px + 100%);
	}
	.category-holder label {
		width: 80%;
	}
	#filtering-result-holder {
		width: 100%;
	}
	#filtering-result {
		padding-left: 0;
	}
	#filtering-result-holder h1 {
		line-height: 54px;
	}
    .filtering-text-wrap {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
    #filtering-selected {
        padding-left: 20px;
    }
    .filtering-header-mobile{
        display: block;
        width: 100%;
        position: absolute;
        top: 0;
    }
    .close-filter{
        display: block;
        right: 24px;
    }
    .ng-scope{
        position: relative;
    }
    .filtering-header{
        position: absolute;
        top: 0;
    }
    .filtering-header.sticky{
        position: fixed;
        z-index: 500;
    }
    .show-results-btn{
        bottom: 0;
        width: 100%;
        height: 54px;
        background-color: #626262;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .show-results-btn h4 {
        color: #ffffff;
        text-align: center;
    }
    .company-result p, .company-result h2 {
        width: 100%;
    }
    .filtering-company-reportage.post-list .post-image{
        width: 104px;
        height: 63px;
        margin: 0;
    }
}

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

    .filtering-gallery-item{
        height: 75px;
    }

}

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

    .filtering-company-logo{
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .filtering-company-text{
        width:100%;
        padding: 0;
    }
    #filtering-button {
        background-position: 0 17px;
        padding-left: 0;
    }
    #filter-search input{
        width: 100%;
        top: 0;
    }
    .filtering-gallery{
        flex-wrap: wrap;
    }
    .filtering-gallery-item{
        width: 32.13%;
        margin-bottom: 5px;
    }
    .filtering-gallery-item:nth-of-type(3){
        margin-right: 0;
    }
}
