/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

//
// Component: Grid
//
// ========================================================================


// Variables
// ========================================================================

@grid-gutter-horizontal:                        @global-grid-gutter;
@grid-gutter-vertical:                          @global-grid-gutter;

@grid-gutter-large-horizontal:                  @global-grid-gutter-large;
@grid-gutter-large-vertical:                    @global-grid-gutter-large;

@grid-divider-border:                           rgba(30,50,70,0.15);

//
// New
//

@grid-divider-box-shadow: 						rgba(255,255,255,0.1);


// Miscellaneous
// ========================================================================

.hook-grid-misc() {

	/*
	 * Horizontal divider
	 */

	.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2),
	.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { box-shadow: inset 1px 0 0 @grid-divider-box-shadow; }

	/* Tablet and bigger */
	@media (min-width: @breakpoint-medium) {

	    .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { box-shadow: inset 1px 0 0 @grid-divider-box-shadow; }

	}

	/* Desktop and bigger */
	@media (min-width: @breakpoint-large) {

	    .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { box-shadow: inset 1px 0 0 @grid-divider-box-shadow; }

	}

}