//
// Class Ivan_Layout_Header_Simple_Right_Menu
// --------------------------------------------------

.simple-right-menu {

	/* General Styles */

	.row {
		position: relative;
		min-height: 100%;
		height: 100%;
	}


	.header-right-area {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
	}

	// Remove top/bottom spacing when stuck
	&.stuck {
		.header-right-area {
			top: 0px;
			bottom: 0px;
		}
	}

	/* Modules */

	.iv-module {
		float: right;
		display: table !important;

		height: 100%;

		margin-left: 30px;
		position: relative;

		.centered {
			display: table-cell !important;
			vertical-align: middle !important;
		}

		&:last-child {
			margin-left: 0;
		}
	}

	/* Menu Module */
	.iv-module-menu {
		float: right;

		height: 100%;

		margin-left: 30px;
		position: relative;

		&:last-child {
			margin-left: 0;
		}
	}

	.mega_main_menu .mega_main_menu_ul {

		height: 100%;

		> li {
			float: left;
			position: relative;
			height: 100%;

			> .item_link {
				display: inline-block;
				height: 100%;

				.item_link_content {
					display: block;
					.iv-center-rules();
					top: 75%;
					padding: 10px 0px 10px;
				}
				
			}
		}
	}

	&.stuck {
		.mega_main_menu .mega_main_menu_ul {
			> li {

				> .item_link {

					.item_link_content {

						top: 50%;
					}
					
				}
			}
		}
	} // stuck
}

/* Lateral Lines Layout */

.simple-right-menu.lateral-lines {
	
	.iv-module {

		/* Centralized Lines */

		padding-left: 30px;

		&:after {
			content: "";
			display: block;
			width: 1px;
			height: 30px;
			border-left: 1px dotted @header-border;
			position: absolute;
			top: 50%;
			left: 0px;
			margin-top: -15px;
		}

		&:last-child {
			padding-left: 0;

			&:after {
				display: none;
			}
		}

	}
}

// XSS Screen Phone Portrait
@media (max-width: @screen-xxs-min) {
	
}

// XS Screen Phone
@media (max-width: @screen-xs-max) {
	.simple-right-menu, .simple-right-menu.lateral-lines {

		.iv-module, .iv-module-menu {
			margin-left: 10px;
			padding-left: 10px;

			&:first-child {
				.inner-wrapper {
					right: 0 !important;
				}
			}
		}
	}
}

// SM Screen Tablet
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
	
}

// MD Screen Desktop
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {

	.simple-right-menu {

		.iv-module, .iv-module-menu {
			margin-left: 20px;
		}
	}

	.simple-right-menu.lateral-lines {

		.iv-module, .iv-module-menu {
			padding-left: 20px;
		}
	}
	
}

// LG Screen Large Desktop
@media (min-width: @screen-lg-min) {
	
}