/* Title
------------------------------------ */
.title-border {
	border-bottom: 2px solid rgba(0,0,0,.4);
	margin-bottom: 20px;
	padding-bottom: 17px;
	&.width-auto {
		display: inline-block;
	}
}

.title-block {
	font-size: 50px;
	font-weight: 700;
	font-family: @font-title;
	color: #000;
	text-transform: uppercase;
	margin-top: 30px;
	margin-bottom: 19px;
	position: relative;

	&::after {
		content:attr(data-title);
		position: absolute;
		opacity: .1;
		font-size: 120px;
		top: -50px;
    	left: -14px;
	    text-overflow: ellipsis;
	    width: 100%;
	    overflow: hidden;
	    white-space: nowrap;
	    display: none;
	}
	.entry-title-wrap{
	    position: absolute;
	    display: inline-block;
	    opacity: .1;
	    font-size: 120px;
	    top: -50px;
	    left: -14px;
	    width: 100%;
	    height: 120px;
	    overflow: hidden;
        background:@page-title-background;

	    .entry-big-text{
	    	color:@page-title-color;
		    display: inline-block;
		    white-space: nowrap;
		    position: absolute;
		    top: 0px;
		    left: 0px;
		    -webkit-transition: transform 2s linear;
			   -moz-transition: transform 2s linear;
				-ms-transition: transform 2s linear;
				 -o-transition: transform 2s linear;
					transition: transform 2s linear;

		    span{
			    display: inline-block;

			    & + span{
				    margin-left: 60px;
				}
			}
		}
	}


	@media screen and (max-width: 768px){
		/*white-space: nowrap;*/
		word-wrap: break-word;

		&::after{
			font-size: 100px;
			top: -36px;
		}

		.entry-title-wrap{
			top: -36px;
			font-size: 100px;
			height: 100px;
		}
	}

	@media screen and (max-width: 600px){
		font-size: 40px;

		&::after{
			font-size: 70px;
			top: -27px;
		}

		.entry-title-wrap{
			top: -27px;
			font-size: 70px;
			height: 70px;
		}
	}
}

h3.title-block {
	font-size: 36px;
	&:after {
		font-size: 100px;
    	top: -44px;
	}
	.category-more.text-right {
		top: 18px;
		@media screen and (max-width: 768px) {
			top: 38px;
		}
	}
}

h4.title-block {
	font-size: 24px;

	&:after {
		font-size: 80px;
    	top: -38px;
	}
	.category-more.text-right {
		top: 8px;
		@media screen and (max-width: 768px) {
			top: 18px;
		}
	}
}
h2.title-block{
	color:@page-title-color;
}

.title-middle,
.title-small {
	color: #000;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	font-family: @font-title;
	text-transform: uppercase;
	margin-top:0;
	margin-bottom: 20px;
	width: 100%;
	.category-more {
		margin-top: 7px;
		font-size: 12px;
		img {
			height: 12px;
		}
		&.text-right {
			position: relative;
			float: right;
			top: auto;
		}
	}
}
.title-small {
	font-size: 14px;
}


/* Category block
------------------------------------ */
.category-block {
	margin-bottom: 20px;
	a:not(.label) {
		color: #000;
		text-decoration: none;
		line-height: 23px;
		text-transform: none;
		font-weight: 500;
		&:hover {
			color: rgba(0,0,0,.8);
		}
	}
	.post {
		margin-bottom: 25px;
		font-size: 14px;
		line-height: 1.4em;

		p, h6 a {
			font-family: @font-second;
			font-size: 14px;
			line-height: 22px;
		}
		&.first p {
			color: rgba(0,0,0,.7);
		}
	}
	&.articles {
		.first {
			&.post {
				margin-bottom: 35px;
			}
			&.bordered {
				border-bottom: 2px solid rgba(0,0,0,.4);
				padding-bottom: 20px;
			}
			h4 {
				margin-top: 10px;
				font-size:18px;
				font-weight: 700;
			}
		}
	}
}
.text-bigger {
	.category-block.articles {
		h4 {
			font-size: 26px;
			line-height: 1.1em;
		}
		p {
			font-size: 16px;
			line-height: 26px;
		}
		.meta {
			font-size: 16px;
		}
	}
}


.m-dimension-carousel{

	.category-block{
		margin-bottom: 0px;
		overflow-x: hidden;

		.post{
			margin-bottom: 0px;
		}

		&.articles{
			.post.first{
				margin-bottom: 0px;
			}
		}
	}
}




@icon-bg-size: 42px;
.title-element i {
    background: @brand-color;
    border-radius: 50%;
    width: @icon-bg-size;
    height: @icon-bg-size;
    text-align: center;
    display: inline-block;
    line-height: @icon-bg-size;
    color: #fff;
    margin-right: 5px;
}