/* ==========================================================================
   Portfolio Single navigation style - begin
   ========================================================================== */

.eltdf-ps-navigation {
	position: relative;
	display: table;
	width: 100%;
	vertical-align: middle;
	padding: 43px 0 0;
	margin: 90px 0 0;
	clear: both;
    box-sizing: border-box;
	border-top: 1px solid $default-border-color;

    .eltdf-ps-full-width-custom-layout & {
        padding: 0 40px;
    }
	
	.eltdf-ps-back-btn {
		position: absolute;
		left: 50%;
		display: inline-block;
		vertical-align: middle;
		@include eltdfTransform(translateX(-50%));
		margin-top: 2px;
		
		a {
			position: relative;
			display: inline-block;
			margin: 0;
			padding: 0;
			vertical-align: middle;
			cursor: pointer;
			font-size: 23px;
			line-height: 1;

			svg {
				rect {
					&:nth-child(1) {
						@include eltdfTransition(stroke .2s .6s);
					}
					&:nth-child(2) {
						@include eltdfTransition(stroke .2s .4s);
					}
					&:nth-child(3) {
						@include eltdfTransition(stroke .2s .2s);
					}
					&:nth-child(4) {
						@include eltdfTransition(stroke .2s);
					}
				}
			}
			
			span {
				display: block;
				line-height: inherit;
			}

			&:hover {
				svg {
					rect {
						stroke: #000!important;

						&:nth-child(1) {
							@include eltdfTransition(stroke .2s);
						}
						&:nth-child(2) {
							@include eltdfTransition(stroke .2s .2s);
						}
						&:nth-child(3) {
							@include eltdfTransition(stroke .2s .4s);
						}
						&:nth-child(4) {
							@include eltdfTransition(stroke .2s .6s);
						}
					}
				}
			}
		}
	}
	
	.eltdf-ps-prev,
	.eltdf-ps-next {
		position: relative;
		display: table-cell;
		vertical-align: middle;
		width: 49%;
		padding: 0;
		box-sizing: border-box;
		
		a {
			position: relative;
			display: inline-block;
			vertical-align: middle;
			
			.eltdf-ps-nav-mark {
				position: relative;
				display: inline-block;
				vertical-align: top;
				font-family: $addition-text-font;
				font-size: 18px;
				font-style: italic;
				color: $default-heading-color;
				font-weight: 400;

				&:after {
					position: absolute;
					left: 50%;
					bottom: -2px;
					@include eltdfTransform(translateX(-50%));
					height: 1px;
					width: 19px;
					background-color: currentColor;
					content: '';
					@include eltdfTransition(all .2s ease);
				}

				&:hover {
					&:after {
						width: 100%;
						@include eltdfTransition(all .2s ease);
					}
				}

				&:before {
					display: block;
					line-height: inherit;
				}
			}
		}
	}
	
	.eltdf-ps-prev {
		
		a {
			
			.eltdf-ps-nav-mark {
				left: 0;
			}
		}
	}
	
	.eltdf-ps-next {
		text-align: right;
		
		a {
			
			.eltdf-ps-nav-mark {
				right: 0;
			}
		}
	}
}
/* ==========================================================================
   Portfolio Single navigation style - end
   ========================================================================== */