/* Variables */
@fontsize: default;
@background_overlay: default;
@background_opacity: default;
@height: auto;
@padding_bottom: default;
@padding_top: default;
@title_color: #fff;
@content_color: #fff;

.lrw-promote-box {
	line-height: 0px;
	height: @height;
	padding-bottom: @padding_bottom;
	padding-top: @padding_top;
	position: relative;

	&.promote-align-center {
		text-align: center;
	}

	&.promote-align-left {
		text-align: left;
	}

	&.promote-align-right {
		text-align: right;
	}

	&.has-bg {
		background-repeat: no-repeat;
    	background-position: center center;
	}

	.lrw-promote-overlay {
		background-color: @background_overlay;
		opacity: @background_opacity;
		position: absolute;
	    left: 0;
	    top: 0;
	    width: 100%;
	    height: 100%;
	    z-index: 2;
	}

	.lrw-promote-image {
		position: relative;
		z-index: 1;
		max-width: 100%;
	}

	.lrw-promote-infos {
		position: absolute;
	    width: 100%;
	    padding: 0px 40px;
	    box-sizing: border-box;
	    top: 50%;
	    transform: translateY(-50%);
	    z-index: 3;
	}

	.lrw-promote-title {
		color: @title_color;
		font-size: @fontsize;
		line-height: @fontsize;
		margin-top: 0;
	}

	.lrw-promote-content {
		color: @content_color;
		line-height: 1.5;
	}

	.lrw-promote-button {
		.so-widget-sow-button {
		    display: inline-block;
		    margin: 0 5px 5px;

		    &:first-child {
		    	margin-left: 0;
		    }

		    &:last-child {
		    	margin-right: 0;
		    }
		}
	}
}