.formi-icon-after{
    top: 30px;
    right: 8px;
    z-index:1;
    font-size: 25px;
    position: absolute;
}
.formi-icon-before{
    top: 30px;
    left: 8px;
    z-index:1;
    font-size: 25px;
    position: absolute;
}
.formi-icon-after-with-tip{
    top: 5px;
    right: 8px;
    z-index:1;
    font-size: 25px;
    position: absolute;
}
.formi-icon-before-with-tip{
    top: 5px;
    left: 8px;
    z-index:1;
    font-size: 25px;
    position: absolute;
}
.formi-button-icon {
  margin-left: 5px !important;
}
.before-add-pading
{
    padding-left: 35px !important;
}
.after-add-pading
{
    padding-right: 35px !important;
}
.grid-stack > .grid-stack-item > .grid-stack-item-content
{
   overflow: initial !important;
}
/*   thumb rating  */
.fm-thumb-rating .formi-thumb-down{
    margin-left: 5%;
}

.fm-thumb-rating .formi-thumb-up{
    margin-right: 5%;
}

.fm-thumb-rating>div {
    display: inline-block;
    font-size: 49px;
    vertical-align: top;
    text-align: center;
    width: 45%;
    color: #666666;
    position: relative;
}

.fm-thumb-rating div input[type="radio"] {
  cursor: pointer;
  height: 1em;
  opacity: 0;
  position: absolute;
  text-align: center;
  width: 45%;
  z-index: 9;
}
.fm-thumb-rating input + i {
    transform: translate3d(0px, 0px, 0px) scale(1);
    -webkit-transition: -webkit-transform 0.2s ease 0s;
    transition: -webkit-transform 0.2s ease 0s;
    transition: transform 0.2s ease 0s;
    transition: transform 0.2s ease 0s, -webkit-transform 0.2s ease 0s;
    -webkit-transform: translate3d(0px, 0px, 0px) scale(1);
    -webkit-transition: transform 0.2s ease 0s;
    line-height: 1.2;
}
.fm-thumb-rating input:checked + i.fa-thumbs-o-up {
    color: #00ff00;
    transform: translate3d(0px, 0px, 0px) scale(1.1);
    -webkit-transform: translate3d(0px, 0px, 0px) scale(1.1);
}
.fm-thumb-rating input:checked + i.fa-thumbs-o-down {
    color: #ff0000;
    transform: translate3d(0px, 0px, 0px) scale(1.1);
    -webkit-transform: translate3d(0px, 0px, 0px) scale(1.1);
}
/*   thumb rating  */

.fm-radio-wrapper input[type="radio"],.fm-radio-wrapper input[type="checkbox"]{
    position: absolute;
    margin: 0;
    padding: 0;
    width: 15px;
    height: 15px;
    font-size: 1em;
    opacity: 0;
    z-index: 100;
    top:1px;
    left: 1px;
    cursor: pointer;
}

.choices input[type=checkbox]:not(old) + label{
    position: relative;
    left: 0;
    top: 0px;
    padding: 0px;
    margin: 0px;
    width: 17px;
    height: 17px;
}
.choices input[type=radio]:not(old) + label{
    position: relative;
    left: 0;
    top: 0px;
    padding: 0px;
    margin: 0px;
    width: 17px;
    height: 17px;
}
.choices input[type=checkbox]:not(old) + label > span,
.choices input[type=radio   ]:not(old) + label > span{
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #81b1de;
    border-radius: 1px;
    background: rgb(224,224,224);
    background-image: -webkit-linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-image: linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-size: cover; background-position: center; background-repeat: no-repeat;
    vertical-align: bottom;
}
.choices input[type=radio   ]:not(old) + label > span{
    box-shadow: 0px 0px 0px 1px #a0a5aa;
    position: relative;
    top: -3px;
    left: 1px;
    margin: 0px;
    padding: 0px;
    line-height: normal;
    -webkit-filter: grayscale(50%);
            filter: grayscale(50%);
    border-radius: 50%;
    top: 0px;
    left: 0px;
    float: left;
}
.choices input[type=checkbox]:not(old) + label > span{
    box-shadow: 0px 0px 0px 1px #a0a5aa;
    position: relative;
    top: -3px;
    left: 1px;
    margin: 0px;
    padding: 0px;
    line-height: normal;
    -webkit-filter: grayscale(50%);
            filter: grayscale(50%);
    top: 0px;
    left: 0px;
    float: left;
}
.choices input[type=radio]:not(old):checked + label > span{
    background: #528fcc;
    box-shadow: 0px 0px 0px 1px #0080ff;
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    position: relative;
    filter: grayscale(0%)!important;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    top: 0px;
    left: 0px;
    float: left;
}
.choices input[type=checkbox]:not(old):checked + label > span{
    background: #528fcc;
    box-shadow: 0px 0px 0px 1px #0080ff;
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    filter: grayscale(0%)!important;
    position: relative;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    top: 0px;
    left: 0px;
    float: left;
}
.fm-radio-wrapper input[type=checkbox]:not(old):checked + label > span:before{
    content: '✓';
    display: block;
    width: 100%;
    color: #fff;
    font-size: 15px;
    text-align: center;
    text-shadow: 0 0 0.0714em rgb(115,153,77);
    font-weight: bold;
    height: inherit;
    margin-top: 0px;
    margin-left: 8px;
    line-height: 13px;
}
.fm-radio-wrapper input[type="checkbox"]:checked:not(old) + label > span.fm-check-bgimg::before{
    display:none;
}

.fm-radio-wrapper{
    float: left;
    width: auto;
    position: relative;
    margin-left: 10px;
    margin-top: 4px;
}
.fm-radio-text-wrapper{
    float: left;
    position: relative;
    margin-top: 3px;
    margin-left: 10px;
    width: auto;
    line-height: 16px;
}
.fm-radio-img-wrapper {
    float: left;
    overflow: hidden;
}
/*.fm-radio-wrapper {
    float: left;
    width: auto;
    position: relative;
    margin-left: 10px;
    margin-top: 4px;
}*/
.choice.checkbox {
    margin-left: 10px;
    float: left;
    width: auto;
    margin-top: 10px !important;
}
.description {
    font-size: 0.85rem;
    width: 100%;
    float: left;
}
.formi-submit {
    width: 100% !important;
    height: 100% !important;
}
.formi-dropzone {
    background: white none repeat scroll 0 0 !important;
    border: 3px dashed #0080ff !important;
    min-height: 150px !important;
    padding: 20px !important;
}
.fm-radio-wrapper input[type="radio"],.formi-checkbox-bg-wrapper input[type="checkbox"]{
    position: absolute;
    margin: 0;
    padding: 0;
    width: 15px;
    height: 15px;
    font-size: 1em;
    opacity: 0;
    z-index: 100;
    top:1px;
    left: 1px;
    cursor: pointer;
}

.checkboxes input[type=checkbox]:not(old) + label{
    position: relative;
    left: 0;
    top: 0px;
    padding: 0px;
    margin: 0px;
    width: 17px;
    height: 17px;
}
.checkboxes input[type=radio]:not(old) + label{
    position: relative;
    left: 0;
    top: 0px;
    padding: 0px;
    margin: 0px;
    width: 17px;
    height: 17px;
}
.checkboxes input[type=checkbox]:not(old) + label > span,
.choices input[type=radio]:not(old) + label > span{
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #81b1de;
    border-radius: 1px;
    background: rgb(224,224,224);
    background-image: -webkit-linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-image: linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-size: cover; background-position: center; background-repeat: no-repeat;
    vertical-align: bottom;
}
.choices input[type=radio]:not(old) + label > span{
    box-shadow: 0px 0px 0px 1px #a0a5aa;
    position: relative;
    top: -3px;
    left: 1px;
    margin: 0px;
    padding: 0px;
    line-height: normal;
    -webkit-filter: grayscale(50%);
            filter: grayscale(50%);
    border-radius: 50%;
    top: 0px;
    left: 0px;
    float: left;
}
.checkboxes input[type=checkbox]:not(old) + label > span{
    box-shadow: 0px 0px 0px 1px #a0a5aa;
    position: relative;
    top: -3px;
    left: 1px;
    margin: 0px;
    padding: 0px;
    line-height: normal;
    -webkit-filter: grayscale(50%);
            filter: grayscale(50%);
    top: 0px;
    left: 0px;
    float: left;
}
.choices input[type=radio]:not(old):checked + label > span{
    background: #528fcc;
    box-shadow: 0px 0px 0px 1px #0080ff;
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    position: relative;
    filter: grayscale(0%)!important;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    top: 0px;
    left: 0px;
    float: left;
}
.checkboxes input[type=checkbox]:not(old):checked + label > span{
    background: #528fcc;
    box-shadow: 0px 0px 0px 1px #0080ff;
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    filter: grayscale(0%)!important;
    position: relative;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    top: 0px;
    left: 0px;
    float: left;
}
.formi-checkbox-bg-wrapper input[type=checkbox]:not(old):checked + label > span:before{
    content: '✓';
    display: block;
    width: 100%;
    color: #fff;
    font-size: 15px;
    text-align: center;
    text-shadow: 0 0 0.0714em rgb(115,153,77);
    font-weight: bold;
    height: inherit;
    margin-top: 0px;
    margin-left: 8px;
    line-height: 13px;
}
.formi-checkbox-bg-wrapper input[type="checkbox"]:checked:not(old) + label > span.fm-check-bgimg::before{
    display:none;
}
.fm-radio-img-wrapper {
    text-align:  center;
    overflow: hidden;
    /*    margin-bottom: 5px;
        min-height: 1px;
    margin-left: 20px;*/
}

.fm-radio-wrapper{
    float: left;
    width: auto;
    position: relative;
    margin-left: 10px;
    margin-top: 4px;
}
.formi-checkbox-bg-wrapper{
    float: left;
    width: auto;
    position: relative;
    margin-left: 10px;
    margin-top: 4px;
}
.fm-radio-text-wrapper{
    float: left;
    position: relative;
    margin-top: 3px;
    margin-left: 10px;
    width: auto;
    line-height: 16px;
}
.fm-radio-text-wrapper>.fm-radio-heading{
    float:left;
    width:100%;
}
.fm-radio-text-wrapper>.fm-radio-sub-heading{
    float:left;
    width:100%;
    font-size: 0.8em;
    margin-top: 5px;
}

.fm-option-bg{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.choice.checkbox {
    margin-left: 10px;
    float: left;
    width: auto;
    margin-top: 10px;
}
.fm-radio-text-wrapper span{
    display: list-item;
    list-style-type: none;
}
.checkbox+.checkbox, .radio+.radio
{
	margin-top: 0px !important;
}
.fm-radio-img-wrapper {
    text-align:  center;
    overflow: hidden;
    /*    margin-bottom: 5px;
        min-height: 1px;
    margin-left: 20px;*/
}
.grid-stack>.grid-stack-item[data-gs-width='11'] {
    width: 91.6666666667%;
}
.checkbox, .radio {
    float: left;
    margin-right: 10px;
}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
            animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
.formi.segment {
    z-index: 1 !important;
}
.formi_form [type="submit"] {
    margin-bottom: 0.25em;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0;
}
.formi_form [type="submit"]:hover {
    text-decoration: none;
    color: none;
    border-color: none;
    background-color: none;
}
.formi.dropdown {
  height: 40px;
  font-size: 14px;
}
.formi.form  h2 {
  font-size: 24px;
}
.formi.form  h3 {
  font-size: 18px;
}
input.parsley-error {
    border: 1px solid red !important;
}
.parsley-required {
  color: red !important;
}
.parsley-error-list {
    color: red !important;
}
.parsley-type {
  color: red !important;
}
.formi-error-container {
  color: red !important!
}
