/* Image */

.inlinecms-widget-image {
    overflow: hidden;
}

.inlinecms-widget-image img {
    max-width: 100%;
    display:block;
}

img.s-rounded { border-radius: 20px; }
img.s-circle { border-radius: 50%; }
img.s-frame { padding:10px; border:solid 1px #95a5a6; }
img.s-shadow-frame { padding:10px; border:solid 1px #95a5a6; box-shadow: 0 4px 8px #7f8c8d; }

/* Gallery */

.inlinecms-widget-gallery .inlinecms-gallery,
.inlinecms-widget-gallery .inlinecms-gallery .image {
    margin: 0;
    padding: 0;
    line-height: normal;
}

.inlinecms-widget-gallery .inlinecms-gallery.centered{
    text-align:center;
}

.inlinecms-widget-gallery .inlinecms-gallery .image {
    display:inline-block;
    margin:0 10px 10px 0;
}

.inlinecms-widget-gallery .inlinecms-gallery .image a,
.inlinecms-widget-gallery .inlinecms-gallery .image a img {
    display: block;
}

.inlinecms-widget-gallery .s-rounded img { border-radius: 10px; }
.inlinecms-widget-gallery .s-circle img { border-radius: 50%; }
.inlinecms-widget-gallery .s-frame img { padding:2px; border:solid 1px #95a5a6; }
.inlinecms-widget-gallery .s-frame img:hover { padding:2px; border:solid 1px #333; }
.inlinecms-widget-gallery .s-shadow-frame img { padding:2px; border:solid 1px #95a5a6; box-shadow: 0 1px 5px #7f8c8d; }
.inlinecms-widget-gallery .s-shadow-frame img:hover { padding:2px; border:solid 1px #333; box-shadow: 0 1px 5px #222; }

/* Form */

.inlinecms-widget-form .field{
    margin-bottom: 10px;
    overflow: hidden;
}

.inlinecms-widget-form form label {
    display:block;
    margin-bottom:5px;
    font-weight:bold;
}
.inlinecms-widget-form form label span {
    color:#e74c3c;
}
.inlinecms-widget-form form input[type=text],
.inlinecms-widget-form form select,
.inlinecms-widget-form form textarea {
    box-sizing: border-box;
    max-width:100%;
    padding:4px;
}

.inlinecms-widget-form form input[type=text],
.inlinecms-widget-form form select {
    width:300px;
}

.inlinecms-widget-form form .error input[type=text],
.inlinecms-widget-form form .error select,
.inlinecms-widget-form form .error textarea {
    border: solid 1px #e74c3c;
}

.inlinecms-widget-form form .error label {
    color:#e74c3c;
}

.inlinecms-widget-form form textarea {
    min-height:120px;
    width: 100%;
}

.inlinecms-widget-form form input[type=submit]{
    padding:5px 10px;
}

.inlinecms-widget-form .s-horizontal .field label {
    float:left;
    min-width:25%;
}

.inlinecms-widget-form .s-horizontal textarea {
    width: 60%;
}

/* File */
.inlinecms-widget-file span {
    padding-left:10px;
}

/* Share Buttons */
.inlinecms-widget-share a {
    margin-right: 5px;
}

/* Code */
.inlinecms-widget-code .code-label {
  background-color: #27ae60;
  padding: 0px 6px;
  color: #FFF;
  font-family: sans-serif;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin: 5px 2px;
  display: inline-block;
}
