/* entry styles */
.gf-slim-entry img {
    display:block;
    max-width:100%;
}

/* max width of image in entry page */
.entry-detail-view img {
    max-width:100%;
}

.gforms_edit_form .slim {
    background-color:#f8f8f8;
    border: 1px solid #e4e4e4;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
    max-height:80px !important; /* limit height of field in editor */
}

.gforms_edit_form .slim[data-state*=empty]:hover {
    background-color:#f8f8f8;
}

.gfield_error .slim {
    background-color:#f3e7e7;
    color:#790000;
}

/* style quality warning */
.ginput_container_slim .slim-quality-warning {
    color: #2f2503;
    background-color:#edcd85;
    margin-top:1em;
    padding: .25em .5em;
}

/* style post fields */
.ginput_container_slim_post > .slim {
    margin-bottom:1em;
}

/* slim cropper fixes */
.slim {
    font-weight:normal;
}

.slim-btn {
    box-shadow:none !important;
    text-shadow:none !important;
    transition:none !important;
    color:#fff !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    background-repeat: no-repeat !important;
    background-size: 50% 50% !important;
    background-position: center center !important;
}

.slim-editor-btn {
    line-height:1.5 !important;
    text-transform:none;
    text-shadow:none !important;
    font-weight:normal;
}

.slim-editor-utils-btn {
    background-size:50% 50% !important;
    background-color:transparent !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
}

.slim-crop-area button {
    background:#fff !important;
}

.slim-btn-remove {
    background-image: url("") !important;
}

.slim-btn-download {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 269 269' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='1.414'%3E%3Cpath d='M232.943 223.73H35.533c-12.21 0-22.11 10.017-22.11 22.373 0 12.356 9.9 22.373 22.11 22.373h197.41c12.21 0 22.11-10.017 22.11-22.373 0-12.356-9.9-22.373-22.11-22.373zM117.88 199.136c4.035 4.04 9.216 6.147 14.492 6.508.626.053 1.227.188 1.866.188.633 0 1.228-.135 1.847-.186 5.284-.357 10.473-2.464 14.512-6.51l70.763-70.967c8.86-8.876 8.86-23.268 0-32.143-8.86-8.876-23.225-8.876-32.086 0l-32.662 32.756V22.373C156.612 10.017 146.596 0 134.238 0c-12.356 0-22.372 10.017-22.372 22.373v106.41L79.204 96.027c-8.86-8.876-23.226-8.876-32.086 0-8.86 8.875-8.86 23.267 0 32.142l70.763 70.966z' fill='%23fff'/%3E%3C/svg%3E") !important;
}

.slim-btn-upload {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='243' height='269' viewBox='0 0 243 269' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EDownload%3C/title%3E%3Cpath d='M219.943 223.73H22.533c-12.21 0-22.11 10.017-22.11 22.373 0 12.356 9.9 22.373 22.11 22.373h197.41c12.21 0 22.11-10.017 22.11-22.373 0-12.356-9.9-22.373-22.11-22.373zM104.88 6.696c4.035-4.04 9.216-6.147 14.492-6.508C119.998.135 120.6 0 121.238 0c.633 0 1.228.135 1.847.186 5.284.357 10.473 2.464 14.512 6.51l70.763 70.967c8.86 8.875 8.86 23.267 0 32.142-8.86 8.876-23.225 8.876-32.086 0L143.612 77.05v106.41c0 12.355-10.016 22.372-22.374 22.372-12.356 0-22.372-10.017-22.372-22.373V77.05l-32.662 32.755c-8.86 8.876-23.226 8.876-32.086 0-8.86-8.875-8.86-23.267 0-32.142L104.88 6.696z' fill='%23FFF' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
}

.slim-btn-edit {
    background-image: url("") !important;
}

.slim-btn-rotate {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='252' height='287' viewBox='0 0 252 287' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M134.762.626v36.15c65.016 4.594 116.34 58.75 116.34 124.936 0 69.198-56.09 125.288-125.29 125.288C56.616 287 .525 230.91.525 161.71c0-30.036 10.592-57.59 28.215-79.17l31.934 31.934C51.03 127.75 45.27 144.04 45.27 161.71c0 44.485 36.06 80.544 80.544 80.544 44.484 0 80.544-36.058 80.544-80.543 0-41.454-31.327-75.56-71.594-80.017v35.272l-62.646-57.89L134.762.625zm-8.95 196.883c-19.77 0-35.796-16.028-35.796-35.798 0-19.77 16.027-35.796 35.797-35.796 19.77 0 35.797 16.026 35.797 35.796s-16.027 35.797-35.797 35.797z' fill='rgba(255,255,255,.8)' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
}

/* fix status style by giving it more specificity than gravity forms generic span selector */
.slim .slim-area .slim-upload-status .slim-upload-status-icon {
    display: inline-block;
    margin-bottom: .0625em;
}