//--------------------------------------------------------------
// Copyright (C) joomla-monster.com
// License: http://www.joomla-monster.com/license.html Joomla-Monster Proprietary Use License
// Website: http://www.joomla-monster.com
// Support: info@joomla-monster.com
//---------------------------------------------------------------

// MEDIATOOLS RESPONSIVE
//---------------------------------------------------------------

.cut-title() {
	.dj-slide-title {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-rendering: optimizeLegibility;
    .box-sizing(border-box);
  }
}

.cut-desc() {
	.dj-slide-description,
  .dj-slide-description p {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-rendering: optimizeLegibility;
    .box-sizing(border-box);
  } 
}

@media (max-width: 1650px) {
	//header
	#jm-header {
		.dj-slide-desc-text {
			padding: 30px !important;
			font-size: (@JMwelcomeSubtitleFontSize * 0.75) !important;
		}
		.dj-slide-title {
			font-size: (@JMwelcomeTitleFontSize * 0.75) !important;
		}
	}
}

@media (max-width: 979px) {
  .cut-desc();
  .dj-tabber .dj-tabs {
     display: none!important;
  }
  .dj-tabber .dj-slides {
     margin: 0!important;
  }
  .dj-tabber .dj-tabber-in {
     min-height: 200px;
  }
  .dj-tabber .dj-navigation {
     display: none;
  }
	 
	//header
	#jm-header {
		.dj-slide-desc-text {
			padding: 20px !important;
			font-size: (@JMwelcomeSubtitleFontSize * 0.65) !important;
		}
		.dj-slide-title {
			font-size: (@JMwelcomeTitleFontSize * 0.65) !important;
		}
	}
}

@media (max-width: 767px) {
	//header
	#jm-header {
		.dj-slide-desc-text {
			padding: 15px !important;
			font-size: (@JMwelcomeSubtitleFontSize * 0.5);
		}
		.dj-slide-title {
			font-size: (@JMwelcomeTitleFontSize * 0.5) !important;
		}
	}
}

@media (max-width: 480px) {
	.cut-title();
	.dj-slide-title {
    font-size: @JMbaseFontSize !important;
  } 
  .dj-slide-desc-text {
    padding: 10px!important;
  }
  .dj-readmore-wrapper {
    display: none!important;
  }
	//header
	#jm-header {
		.dj-slide-desc-text {
			padding: 10px !important;
			font-size: @JMbaseFontSize !important;
		}
		.dj-slide-title {
			font-size: @JMbaseFontSize !important;
		}
		.dj-slide-title + .dj-slide-description {
			margin-top: 10px;
		}
		.navigation-container,
		.navigation-container-custom {
			visibility: hidden;
			pointer-events: none;
		}
	}
	//description 100%
	.dj-slide-desc {
		bottom: 0 !important;
		width: 100% !important;
		left: 0 !important;
	}
}

@media (max-width: 320px) {
  .dj-slide-title,
  .nivo-controlNav,
  .dj-indicators,
	.navigation-container,
  .navigation-container-custom,
  .dj-slide-description,
  .dj-slide-desc-text,
  .dj-slide-desc-bg {
    visibility: hidden;
		pointer-events: none;
  }
	.noimage-ms {
		.dj-slide-desc-text {
			visibility: visible;
			pointer-events: auto;
		}
	}
}