@import "../../../../variables.less";
@import "../../../../mixins.less";
@import "generatedStyle.less";

/* Styles of terms and conditions screen */

body {
    background: url("@{images-path}/platform/portlets/extensions/login_texture.jpg") repeat;
    font-family: @baseFontFamily;
    font-size: @baseFontSize;
    color: @textColor;
    overflow: auto;
    height: auto;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}


.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
			    line-height: 0;
    }

.clearfix:after {
    clear: both;
}


a {
    color: @linkColor;
}


.backLight {
    .border-radius(80px);
    .box-shadow(0 0 200px @baseBackground);
    .square(280px);
    margin: 140px auto 0;
}

.uiWelcomeBox {
	background-color: @baseBackground;
	.border-radius(10px);
	.box-shadow(0 1px 3px #3d3d3d);
	margin: -380px auto 0;
	width: 512px;
    .header {
		.gradientBar(@toolbarDarkEndBackground, @toolbarDarkStartBackground);
		border: 1px solid #393939;
		.border-radius(4px 4px 0 0);
		width: 511px;
		line-height: 22px;
		padding: 10px 0;
		text-align: center;
		font-size: 18px;
		font-weight: bold;
      color: @textLightColor;
	}
	 .content {
		background-color: @baseBackground;
		margin: 0 auto;
		padding: 10px 20px;
		position: static;
		width: auto;
		height: 400px;
        overflow-y: scroll;
	}
	.bottom {
		background: url("@{images-path}/platform/portlets/extensions/bottomBG.png") no-repeat center bottom;
		text-align: center;
		 padding: 25px 30px;
      border-radius: 8px;
	}
	.btn{
		.border-radius(4px);
		cursor: pointer;
		display: inline-block;
		font-weight: bold;
		line-height: 41px;
		text-align: center;
		text-shadow: none;
		vertical-align: top;
		width: 100px;
		text-decoration: none;
        font-family: @baseFontFamily;
        font-size: 16px;
		padding: 0 6px;
		.buttonBackgroundEXO(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight, @btnPrimaryBorder,@btnPrimaryColor);

	}

	button.inactive {
		.opacity(50);
		cursor: default;
	}
	.uiCheckbox {
		position: relative;
		display: inline-block;
		margin: 10px 5px;
		line-height: 20px;
		input[type="checkbox"]:checked,
		input[type="checkbox"]:not(:checked) {
			margin: 4px 0 0;
			opacity: 0;
			padding: 0;
			outline: 0 none;
			position: absolute;
			top: 0;
			z-index: 100;

		}
		input {
			margin-left: -18px e("\0/");
			min-height: 10px e("\0/");
		}
		> span {
			display: inline-block;
            color: @textColor;
			text-indent: 18px;
		}
	}
}



.uiWelcomeBox .uiCheckbox input[type="checkbox"]:checked + span:after {
    border-bottom: 2px solid @primaryColor;
    border-left: 2px solid @primaryColor;
    content: "";
    .size(3px,6px);
    -webkit-transform: skew(45deg, -49deg);
     -moz-transform: skew(45deg, -49deg);
      -ms-transform: skewX(30deg) skewY(-35deg);
       -o-transform: skew(45deg, -49deg);
          transform: skew(45deg, -49deg);
  -webkit-backface-visibility: hidden;
	left: 4px;
	position: absolute;
	top: 4px;
	left: 2px\9;
	width: 10px\9;
	height: 4px\9;
	background: transparent e("\0/");
}

.uiWelcomeBox .uiCheckbox input[type="checkbox"] + span:before {
    background: @primaryBackgroundHover;
    .border-radius(3px);
    .box-shadow(~'0 1px 2px rgba(0, 0, 0, 0.17) inset');
    .square(12px);
    top: 4px;
    left: 0px;
    content: " ";
    position: absolute;
    background: transparent e("\0/");
}

.uiWelcomeBox input:focus {
  .box-shadow(~'inset 0 1px 1px rgba(0,0,0,.075), 0 0 5px rgba(29,75,159,.6)');
  color:  @inputFocusColor;
}

@media (max-width: 640px){
  .backLight{
    display: none;
  }
  .uiWelcomeBox {
    margin: 0 15px;
    width: auto;
    .header {
	    width: auto;
	}
    .content {
	    padding: 10px 20px;
	}
    .bottom{
      background: none;
      text-align: left;
      .pull-left, .pull-right{
        float: none;
      }
      .btn{
	    width: 100%;
	    text-align: center;
	  }
    }
  }
}