﻿/*for cropper*/

.icrop-wrap {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.icrop-clip-canv, .icrop-preview-canv {
    display: block
}

.icrop-clip-canv, .icrop-bg {
    position: absolute;
    top: 0;
    left: 0;
}

.icrop-bg {
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50)
}

.icrop-clip-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.icrop-clip-canv {
    position: absolute;
    top: 0;
    left: 0
}

.icrop-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    display: none;
    cursor: move;
    border: 1px dashed #0cf;
    touch-action: none
}

.icrop-transition {
    transition: top .5s,left .5s,width .5s,height .5s
}

.notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important
}

.resize {
    position: absolute;
    z-index: 3;
    width: 17px;
    height: 17px;
    background: #ccc;
    background: rgba(255,255,255,.6);
    border: 1px solid #333;
    border-radius: 2px
}

.N {
    top: -10px;
    left: -10px
}

.W {
    top: -10px;
    left: -10px
}

.S {
    left: -10px;
    bottom: -10px
}

.E {
    right: -10px;
    top: -10px
}

.N, .S {
    cursor: ns-resize
}

.E, .W {
    cursor: ew-resize
}

.NW, .SE {
    cursor: nw-resize
}

.NE, .SW {
    cursor: ne-resize
}

.NW, .NE {
    top: -10px
}

.SE, .SW {
    bottom: -10px
}

.NW, .SW {
    left: -10px
}

.NE, .SE {
    right: -10px
}

.wrapN, .wrapS {
    position: absolute;
    left: 50%
}

.wrapE, .wrapW {
    position: absolute;
    top: 50%
}

.wrapN {
    top: 0
}

.wrapS {
    bottom: 0
}

.wrapE {
    right: 0
}

.wrapW {
    left: 0
}

.file-input {
    position: absolute;
    right: 0;
    top: 0;
    font-family: helvetica,arial;
    font-size: 118px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0
}

.file-button {
    position: relative;
    overflow: hidden;
    direction: ltr
}

.ibox {
    background: #fff;
    border: 1px solid #ccc;
    padding: 19px;
    border-radius: 3px
}

.clearfix:after, .c-text:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0
}


.but {
    text-align: center;
    height: 32px;
    font: 16px/30px helvetica,arial;
    display: inline-block;
    cursor: pointer;
    padding: 0 10px;
    text-decoration: none;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

    .but:hover {
        text-decoration: none;
        box-shadow: -1px 1px 1px rgba(0,0,0,.2);
        z-index: 2
    }

    .but:active {
        box-shadow: none
    }

    .but.lrg {
        height: 36px;
        line-height: 34px;
        border-radius: 4px
    }

    .but.l {
        color: #000000;
        fill: #000000;
        border: 1px solid #ccc;
        background: #fff
    }

        .but.l:hover {
            border: 1px solid #999
        }

/* PAGE */

#ic-cropper-wrap .icrop-wrap {
    margin-top: 20px
}

.ic-btns {
    margin: -5px
}

    .ic-btns .but, #ic-auto-crop-padding {
        float: left;
        margin: 5px
    }

#ic-auto-crop-btn {
    margin-right: -11px;
    border-radius: 4px 0 0 4px;
    position: relative;
    z-index: 1
}

#ic-auto-crop-padding {
    width: 75px;
    height: 36px;
    border-radius: 0 4px 4px 0;
    padding-left: 10px
}

#ic-rotate-btn svg {
    width: 28px;
    height: 28px;
    float: left;
    margin: 3px 3px 3px -3px;
    color: white;
}

#ic-crop-btn-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
}

.ic-crop-btn-wrap {
    margin-top: 10px;
}

#ic-download-wrap {
    margin-top: 20px
}

#ic-download-btn {
    vertical-align: middle;
    margin-right: 10px
}

#ic-download-wrap .select {
    height: 34px;
    line-height: 34px
}

#ic-download-wrap select {
    line-height: 34px
}

#ic-info {
    vertical-align: middle;
    margin-left: 10px
}

.ic-hidden {
    display: none
}
