.cropbox *{
    outline: none;
}
.cropbox{
    width:100%;
    margin:auto;
    border: 1px solid #ccc;
    padding: 10px;
    display: inline-block;
}
.cropbox .cropbox-error{
    display: none;
    color: #cc0000;
    font-size: 12px;
    text-align: center;
    margin-bottom: 2px;
}
.cropbox img {
    max-width: 100%; /* This rule is very important, please do not ignore this! */
    max-height: 100%; /* This rule is very important, please do not ignore this! */

}

.cropbox .cropbox-preview-block {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cropbox .cropbox-preview {
    overflow: hidden;
    width: 100%; 
    height: 100%;
    border: 1px solid #ddd;
    background: url('../images/grid-transparency.png');
    max-height: 150px;
}
.cropbox .cropbox-areablock{
    width: 70%;
    float: left;
}
.cropbox .cropbox-previewblock{
    width: 30%;
    float: left;
    padding-left: 10px;
}
.cropbox .cropbox-inputbtn{
    /* width: 110px; */
    border-right: 1px solid var(--theme-green);
    display: inline-flex;
    height: 25px;
    background-color: var(--theme-green);
    /* padding: 0px 6px; */
    color: #fff;
    cursor: pointer;
    vertical-align: top;
    margin-bottom: 0;
    align-items: center;
    font-weight: normal;
    width:100px;
    padding: 0px 3px;
    font-size: 14px;
}
.cropbox .cropbox-inputlabel{
    border: 1px solid var(--theme-green);
    display: inline-block;
    width: 100%;
    border-radius: .25rem;
    margin-bottom: 5px;
    padding: 5px;
}
.cropbox .cropbox-fileinput{
    display: none;
}
.cropbox .cropbox-previewtitle{
    height: 37px;
    font-size: 16px;
    color: var(--theme-green);
    /* border: 1px solid var(--theme-green); */
    margin-bottom: 5px;
    border-radius: .25rem;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.cropbox-buttons button {
    border-radius: 4px;
    padding: 6px 15px;
    width: 100%;
    margin: 5px 0;
}
.cropbox .cropbox-theme-btn-color{
    background: var(--theme-green);
    border:none;
}
.cropbox .cropbox-savebtn{
    border-color: var(--theme-green); 
    color: #fff;
}
.cropbox .cropbox-buttons {
    margin-top: 10px;
}
.cropbox .cropbox-clearfix{
    clear: both;
}
.cropbox .cropbox-settings{
    border: 1px solid var(--theme-green);
    margin-top: 10px;
    border-radius: 3px;
    padding: 5px;
    font-size: 12px;
    text-align: center;
}
.cropbox .cropbox-settings button {
    border-color: var(--theme-green);
    color: #fff;
    border-radius: 4px;
    padding: 2px 5px;
}
.cropbox .cropbox-cropper{
    height:250px;
}
.cropbox .cropbox-cropper.noimage{
    position: relative;
}
.cropbox .cropbox-cropper.noimage:before {
    content: "Please Select Image";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: #f1f1f1;
    border: 1px solid #ddd;
}
.cropbox .cropbox-typeselect {
    font-weight: normal;
    font-size: 12px;
    height:100%;
    vertical-align: top;
    margin-bottom: 0;
    cursor: pointer;
}
.cropbox .cropbox-typeselect input {
    margin-left: 10px;
    margin-right: 5px;
}
.cropbox .cropper-disabled:before {
    content: "";
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
    opacity: 0.8;
}
.cropbox .cropper-disabled:after {
    content: "Preview original image";
    top: 0px;
    left: 0;
    font-size: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    right: 0;
    bottom: 40px;
    position: absolute;
    z-index: 1;
    background: url(../images/arrowimage.png) no-repeat;
    background-position: 80% 50px;
}
.cropbox .cropbox-preview.make-use-original {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cropbox .cropbox-preview.make-use-original img {
    max-width: 100% !important;
    max-height: 100% !important;
    height: auto !important;
    width: auto !important;
    transform: none !important;
}
.cropbox .cropbox-typeselect input {
    display: none;
}
.cropbox .cropbox-typeselect input:checked + span {
    /* background: var(--theme-green); */
    color:#fff;
}
.cropbox .cropbox-typeselect span {
    height: 100%;
    display: inline-flex;
    width: 100px;
    align-items: center;
    position: relative;
    justify-content: center;
    transition: color 0.2s ease-in-out;
    padding-left: 5px;
}
.cropbox .cropbox-image-type-controls{
    display: inline-block;
    border: 1px solid var(--theme-green);
    vertical-align: top;
    height: 25px;
    border-radius: 3px;
    float: right;
    font-size: 0;
}
.cropbox .cropbox-typeselect:first-child input + span:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: var(--theme-green);
    z-index: 0;
    left: 0;
    transform: translateX(100%);
    transition: transform 0.2s ease-in-out;
}
.cropbox .cropbox-typeselect:first-child input:checked + span:after {
    transform: translateX(0);
}
.cropbox .cropbox-typeselect input:checked + span:before {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border-color: #fff;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(45deg);
    position: absolute;
    left: 8px;
    top: 5px;
    z-index: 1;
}

/* By Brijesh */

.cropbox .cropbox-inputlabel{
    padding: 3px;
}
@media (max-width:575px){
    .cropbox .cropbox-inputlabel{
        padding: 4px;
    }
}
@media (max-width:1199px){
    .cropbox .cropbox-inputbtn{
        width: 100%;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;}  
}
@media (max-width: 767px){
    .cropbox .cropbox-inputbtn{
        width: 100px;
        display: inline-block;}
}
@media (max-width:575px){
    .cropbox .cropbox-inputbtn{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 4px;}  
}

.cropbox .cropbox-typeselect{
    font-size: 13px;
}
.cropbox .cropbox-typeselect input:checked + span:before{
    left: 6px;
    top: 5px;
}
.cropbox .cropbox-typeselect span{
    width: 90px;
    padding-left: 6px;
}
@media (max-width:1199px){
    .cropbox .cropbox-typeselect span{
        width: 100%;}
}
@media (max-width:1199px){
    .cropbox .cropbox-typeselect{
        width: 50%;}
} 

@media (max-width:767px){
    .cropbox .cropbox-typeselect{
        width: 49%;}
}
@media (max-width:1199px){
    .cropbox .cropbox-image-type-controls{
        width: 100%;}
}
@media (max-width:767px){
    .cropbox .cropbox-image-type-controls{
        width: 49%;}
}
@media (max-width: 575px){
    .cropbox .cropbox-image-type-controls{
        width: 100%;}
}

.cropbox .cropbox-settings{
    padding: 3px 6px;
    font-size: 12px;
}
@media(max-width:991px){
    .cropbox .cropbox-settings{
        padding: 2px;
        font-size: 11px;}
}
@media (max-width:575px){
    .cropbox{
        padding: 5px;}
}
@media (max-width:991px){
    .cropbox .cropbox-areablock{
        width: 100%;}
}

@media (max-width:575px){
    .cropbox .cropbox-areablock{
        width: 100%;}
}

@media (max-width: 767px){
    .cropbox .cropbox-settings button{
        padding: 2px 16px;
    }
}
.cropbox .cropbox-settings button{
    margin-bottom: 3px;
    padding: 3px 2px;
}
@media (max-width: 991px){
    .cropbox .cropbox-previewblock{
        width: 100%;}
}

@media (max-width:575px){
    .cropbox .cropbox-previewblock{
        width: 100%;}
}
@media (max-width:991px){
    .cropbox .cropbox-settings button{
        margin-bottom: 3px;}
}
@media (max-width:575px){
    .cropbox .cropbox-settings button{
        margin-bottom: 3px;}
}
@media (max-width:992px){
    .nav-justified>li, .nav-tabs.nav-justified>li{
        vertical-align: bottom;}
}