@import "normalize";

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*:before,
*:after {
    box-sizing: border-box;
}

body {
    font-family: @font-family;
    font-size: @font-size-small;
    line-height: @line-height-base;
    color: @text-color;
    background-color: @body-background;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

a {
    color: @link-color;
    background: transparent;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    transition: color @transition-time ease;

    &:hover {
        color: @link-hover-color;
    }

    &:active {
        color: @link-active-color;
    }

    &:active,
    &:hover {
        outline: 0;
        text-decoration: none;
    }

    &[disabled] {
        color: #ccc;
        cursor: @cursor-disabled;
        pointer-events: none;
    }
}

code,
kbd,
pre,
samp {
    font-family: @code-family;
}


.go-title{
    font-weight: bold;
    font-size: @btn-font-size-large;
}



::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar
{
    width: 8px;
    height:9px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}
.point_icon:before{
    content: "·";
    font-weight: bold;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input:focus{
    border: 0;
    outline:none;
}

.pull-right{
    float: right;
}

.pull-left{
    float: left;
}

.hidden{
    display: none;
}




.col-sm-12 {
    width: 100%
}

.col-sm-11 {
    width: 91.66666667%
}

.col-sm-10 {
    width: 83.33333333%
}

.col-sm-9 {
    width: 75%
}

.col-sm-8 {
    width: 66.66666667%
}

.col-sm-7 {
    width: 58.33333333%
}

.col-sm-6 {
    width: 50%
}

.col-sm-5 {
    width: 41.66666667%
}
.col-sm-55 {
    width: 46.66666667%
}
.col-sm-53 {
    width: 44.66666667%
}
.col-sm-07 {
    width: 5.33333333%
}

.col-sm-05{
    width: 3.33333333%
}
.col-sm-4 {
    width: 33.33333333%
}

.col-sm-3 {
    width: 25%
}

.col-sm-2 {
    text-align: center;
    width: 16.66666667%
}

.col-sm-1 {
    width: 8.33333333%
}

.font-weight-bold{
    font-weight: bold;
}

//界面蒙层
div.page-cover{
    position: absolute;
    top:0;
    left:0;
    height: @width_100;
    width: @width_100;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.paddingMixins(@className,@pngName){
    .padding-t-@{className}{
        padding-top: @pngName+"px";
    }
    .padding-l-@{className} {
        padding-left: @pngName+"px";
    }
    .padding-r-@{className} {
        padding-right:@pngName+"px";
    }
    .padding-b-@{className} {
        padding-bottom: @pngName+"px";
    }
    .padding-@{className} {
        padding:@pngName+"px";
    }
}

//下面是使用函数生成margin类名的方式
//定义margin数组
@0px:0px;//使用px单位时有个坑，必须采用+的方式，不然编译的不对
@marginList:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20;
//margin-left函数
.ml-loop(@list,@i:1,@val:extract(@list,@i)) when (length(@list)>=@i){
    .padding-t-@{val} {
        padding-top:@val + @0px;
    }
    .padding-l-@{val} {
        padding-left:@val + @0px;
    }
    .padding-r-@{val} {
        padding-right:@val + @0px;
    }
    .padding-b-@{val} {
        padding-bottom: @val + @0px;
    }
    .padding-@{val} {
        padding:@val + @0px;
    }

    .margin-t-@{val} {
        margin-top:@val + @0px;
    }
    .margin-l-@{val} {
        margin-left: @val + @0px;
    }
    .margin-b-@{val} {
        margin-bottom: @val + @0px;
    }
    .margin-r-@{val} {
        margin-right: @val + @0px;
    }

    .ml-loop(@list,(@i+1));
}
.ml-loop(@marginList);



ul li{
    list-style: none;
}

.hidden{
    display: none;
}

.h5{
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
    height: 30px;
}

// hover 不同的颜色
.hover_blue{
    &:hover{
        color: @ctl-hover-com-color;
        cursor: pointer;
    }
}

.borderBox{
    box-sizing: border-box;
}


