.tabs-component {

	.tabs-shadow {
	    display: none;
	    opacity: 0;
	    position: fixed;
	    z-index: 0;
	    width: 100%;
	    height: 100%;
	    top: 0;
	    left: 0;
	    background-color: rgba(255,255,255,0.8);
	}

	.tab-item {
		text-decoration: none;
		position: relative;
		text-align: center;
		line-height:20px;
		display: block;
		//background-color:#63666A;

		.no-touch &:hover {

			.tab-item-inner {
				/*background-color: @item-hover-color;
				color: @item-text-hover-color;*/
                color: @item-body-color;
			}
		}

		&.selected {

			.tab-item-inner {
				/*color: @item-text-selected-color;*/
				background-color: #46b035 !important;
		        color:@white;
		        text-align: center;
			}
		}

		&.visited {

			.tab-item-inner {
				background-color: #9b9b9b;
				color: @item-text-visited-color;
				text-align: center;
			}
		}
	}
	.smallTitle{
		font-weight: normal;
		padding-bottom: 20px;

	}
	.image-zoomer{

		color: blue;
		position:relative;
		margin:0 auto;
		.no-touch &:hover {

			//.tab-item-inner {
			/*	background-color: @item-hover-color;*/
				color: @item-text-hover-color;
			//}
		}

		&.selected {

			//.tab-item-inner {
				background-color: @item-selected-color;
				color: @item-text-selected-color;
			//}
		}

		&.visited {

			//.tab-item-inner {
				background-color: @item-visited-color;
				color: @item-text-visited-color;
			//}
		}
	}

	.tab-content-item-zoom{
		z-index:999;
		position: absolute;
		display: none;
		opacity:1;
	}
	.tab-item-inner {
		/*background-color: @item-color;
		color: @item-text-color;*/

		/*background-color: @mid-grey;*/
		background-color: @primary-color;
		color: @white;
		white-space: initial;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
	    padding: 10px 0px 10px 0px;
        font-size: 14px;
        text-align: center;
	}

	.tab-item-image {
		display:none;
		/*display: block;*/
		width: 20px;
		height: 20px;
		border-radius: 50%;
		background-position: center;
		background-size: contain;
		position: absolute;
		top: 50%;
		left: 15px;
		margin-top: -7px;
		border: 2px solid @item-text-color;
	}

	.tabs-content-items {
		/*border: 1px solid @item-selected-color;
		background: @background-color;*/

		/*border: 1px solid @blue;*/
        /*background: @blue;*/
        background: #d2d2d2;
        position: relative;
	}

	.tabs-content-items-inner {
		padding: 20px 20px 20px;
	}

	.tab-content {
		display: none;
	}

	.tab-content-item-title {
		position: relative;
	    float: right;
        width: 44%;
		margin: 5px;
		text-align: center;
		z-index:1;
	
	}


	.tab-content-item-title-inner {
		padding: 80px 0px 50px 0px;
	}

	.tab-content-item-body {
		margin-top: 5px;
		position:relative;
		float: left;
        width: 50%;
        padding-bottom: 30px;
        color:@item-body-text-color;
        padding-left: 10px;
    	box-sizing: border-box;
    	font-size: 14px;
    	line-height: 1.5;
    	p{
    	    margin-top: 0px;
    		margin-bottom:0px;
    	}
		
		.tab-content-item-inner-text-title{
		    padding-bottom:15px;
		}
	}




	/* TAB LAYOUT LEFT */

	&.tab-layout-left {

		.tabs-tab-items {
			width: 20%;
			float: left;
		}

		.tab-item {
			margin-bottom: 1px;
			z-index: 2;

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

			&.selected {

				&:after {
					opacity: 1;
					-webkit-transform: translateX(0);
					-moz-transform: translateX(0);
					-ms-transform: translateX(0);
					transform: translateX(0);
					border-color: transparent transparent transparent @item-selected-color;
				}
			}

			&:after {
				position: absolute;
				right: -13px;
				top: 50%;
				margin-top: -8.25px;
				width: 0;
				height: 0;
				border-style: solid;
				border-width: 10.5px 0 10.5px 13px;
				content: '';
				z-index: 1;
				border-color: transparent transparent transparent @item-color;
				transform: translateX(-13px);
				opacity: 0;
				transition: all 0.25s ease-in;
				-ms-transition: all 0.25s ease-in;
			}
		}

		.tab-item-inner {
			padding: 20px 20px 20px 45px;
			border-top-left-radius: 20px;
			border-bottom-left-radius: 20px;
		}

		.tabs-content-items {
			width: 80%;
			float: left;
			overflow-y: scroll;
			box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			-ms-box-sizing: border-box;
			-o-box-sizing: border-box;
			-webkit-overflow-scrolling: touch;
			display:inline-block;
		}

		.tabs-content-items-inner {
			padding: 20px 20px 20px 30px;
		}	

		@media all and (max-width: @device-width-medium) {

			.tabs-tab-items {
				width: 10%;
			}

			.tabs-tab-items {
				overflow: hidden;
			}

			.tab-item {
				height: 60px;
				

				.no-touch &:hover {
					
				}

				&.selected {
					
				}

				&.visited {
					
				}

				&:after {
					display: none;
				}
			}

	        .tab-item-inner {
				display: none;
			}

			.tab-item-image {
				left: 50%;
				margin-left: -12px;
			}

			.tabs-content-items-inner {
				padding: 10px 20px;
			}

			.tab-content-item-title-image {
				position: static;
				margin: 0px auto;
				display: block;
			}

			.tab-content-item-title-inner {
				padding: 10px 0;
				text-align: center;
			}
	    }

	    @media all and (max-width: @device-width-small) {

			.tabs-tab-items {
				width: 20%;
			}
		}
	}


	/* TAB LAYOUT TOP */

	&.tab-layout-top {

		.tabs-tab-items {

		}

		.tab-item {
			float: left;
			transform: translateY(5px);
			transition: all 0.3s ease-in;
			-ms-transition: all 0.3s ease-in;

			&:first-child {
				.tab-item-inner {
					margin-left: 0;
				}
			}

			&:last-child {
				.tab-item-inner {
					margin-right: 0;
				}
			}

			&.selected {
				transform: translateY(0);
			}
		}

		.tab-item-inner {
			border-top-left-radius: 20px;
			border-top-right-radius: 20px;
			margin: 0 1px;
			padding: 15px 5px 20px;
		}

		.tabs-content-items {
			//min-height: 350px;
			display: inline-block;
            width: 100%;
            /*margin-top:-1px;*/
            margin-top:0px;
            /*border: 1px solid @primary-color;*/
		}
	}
}


@media(max-width: 768px) {
    .tab-item-inner {
	    font-size: 12px !important;
	}
	.tab-content-item-body {
		margin-top: 0px !important;
        font-size: 12px !important;
    }
}

@media(max-width: 480px) {
  .tabs-component .tab-content-item-body {
    width: 100%;
  }

  .tabs-component .tab-content-item-title{
  	display:none;
  }

  .tabs-component{
  	&.tab-layout-top{
  		.tab-item{
  			background:#63666A;
  			font-size: 12px;
		    padding: 5px;
		    box-sizing: border-box;
  			&.selected{
			  background-color: #5CA50B !important;
			}
  			&.visited{
			  background-color: #63666A;
			}
  		}
  	}
  }
  .block .block-inner{
  		height:auto !important;
  }
}

@media screen and (max-width:740px) and (min-width:620px){
	.tabs-tab-items-inner{
		button{
			background:#63666A !important;
			font-size: 14px;
			height: 100px;
			&.selected{
			  background-color: #5CA50B !important;
			}
			  &.visited{
			  background-color: #63666A;
			}
		}
	}
	.tab-content-item-title{
		display:none;
	}
	.tab-content-item-body{
		width: 100% !important;
	}
}