.flat-field-box {
    position: relative;
    overflow: visible;
    padding: .25em 0;
    margin-bottom: .5em;
}

.flat-button-box {
    padding: 0 1em 1.5em 1em;
    background-color: #BDC3C7;
}

.flat-fieldset {
    position: relative;
    background-color: transparent;
    padding: 1em;
    border: 2px #b7b7b7 solid;
}

.flat-legend {
    display: inline-block;
    line-height: 1.5em;
    font-weight: bold;
    padding: 0 .3em;
    position: absolute;
    top: -.78em;
    left: .3em;
    background-color: #FFF;
}

[type="file"] {
    cursor: pointer;
}

.flat-button,
.flat-input-text,
.flat-textarea,
.flat-file {
    font-family: Helvetica, Arial, Verdana, Geneva, sans-serif;
    font-size: 100%;
    vertical-align: middle;
    height: 2.3em;
    line-height: 2.3em;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.flat-input-text[type=date],
.flat-input-text[type=datetime-local],
.flat-input-text[type=number],
.flat-input-text[type=time],
.flat-input-text[type=color] {
    min-width: 14em;
}

.flat-textarea,
.flat-input-text {
    padding: 0 .5em;
}

.flat-textarea,
.flat-input-text {
    display: inline-block;
    position: relative;
    color: #333;
    transition: border 250ms ease-out; 
    -webkit-transition: border 250ms ease-out; 
    -moz-transition: border 250ms ease-out;
    -o-transition: border 250ms ease-out;
    border: 1px solid #888;
    background-color: #FFF;
}

.flat-textarea {
    height: 6.5em;
    line-height: 1.5em;
    overflow: auto;
    vertical-align: top;
    resize: none;
}

[type="hidden"] {
    display: none;
}

.flat-textarea[disabled],
.flat-input-text[disabled],
.flat-textarea[disabled]:hover,
.flat-input-text[disabled]:hover {
    border-color: #d5dbdb;
    color: #d5dbdb;
    background-color: #f4f6f6;
}

.flat-input-text[type=search] {
    -webkit-appearance: textfield;
}

.flat-input-text[type=search]::-webkit-search-cancel-button,
.flat-input-text[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.flat-button {
    min-width: 10em;
    -webkit-appearance: none;
    display: inline-block;
    white-space: nowrap;
    overflow: visible;
    width: auto;
    cursor: pointer;
    padding: 0 1.5em;
    text-transform: none;
    text-align: center;
    text-decoration: none !important;
    font-weight: bold;
    border: 0;
    color: #FFF;
    -webkit-user-drag: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-transition: background-color 250ms ease-out; 
       -moz-transition: background-color 250ms ease-out;
         -o-transition: background-color 250ms ease-out;
            transition: background-color 250ms ease-out;
}

.flat-button:hover,
.flat-button:active,
.flat-button:focus {
    color: #FFF;
}

.flat-button:focus {
    outline: none;
}

.flat-button:before {
    float: left;
    width: 1em;
    text-align: center;
    font-size: 1.4em;
    margin: 0 1.1em 0 -1.1em;
    padding: 0 .4em;
    pointer-events: none;
    font-weight: normal;
}

.flat-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.flat-button[disabled],
.flat-button[disabled]:hover {
    cursor: default;
    position: static;
}

.flat-button-box .flat-button {
    margin: 1.5em .75em 0 0;
}

.flat-button-add:before { content: "\271A"; }
.flat-button-delete:before { content: "\2718"; }
.flat-button-edit:before { content: "\270E"; }
.flat-button-email:before { content: "\2709"; }
.flat-button-like:before { content: "\2764"; }
.flat-button-next:before { content: "\279C"; }
.flat-button-play:before { content: "\25B6"; }
.flat-button-save:before { content: "\2714"; }
.flat-button-spark:before { content: "\2737"; }
.flat-button-star:before { content: "\2605"; }

.flat-button[disabled],
.flat-button[disabled]:hover,
.flat-button[disabled]:before {
    color: #d5dbdb;
    background-color: #f4f6f6;
}


/* ==========================================================================
   SPECIFIC CSS FOR input[radio] AND input[checkbox]
   ========================================================================== */

.flat-checkbox,
.flat-radio {
    position: relative;
    display: inline-block;
    padding: 5px 0 5px 10px;
}

.flat-checkbox-original,
.flat-radio-original {
    position: absolute;
    -webkit-opacity: 0;
       -moz-opacity: 0;
            opacity: 0;
    top: 1px;
    z-index: 0;
}

.flat-checkbox-label,
.flat-radio-label {
    z-index: 2;
    padding-left: 23px;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.flat-checkbox-original[disabled] + .flat-checkbox-label,
.flat-radio-original[disabled] + .flat-checkbox-label {
    cursor: default;
}

.flat-checkbox-label:before ,
.flat-radio-label:before {
    width: 18px;
    height: 18px;
    content: '';
    background: url(../img/minimal/minimal.png) no-repeat;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 1;
}

.ie8 .flat-checkbox-original,
.ie8 .flat-radio-original {
    top: 8px;
    left: 10px;
}
.ie8 .flat-checkbox-label:before,
.ie8 .flat-radio-label:before {
    display: none;
}

.flat-checkbox-label:before {
    background-position: 0 0;
}
.flat-radio-label:before {
    background-position: -100px 0;
}
.flat-checkbox-label:hover:before {
    background-position: -20px 0;
}
.flat-radio-label:hover:before {
    background-position: -120px 0;
}
.flat-checkbox-original:checked + .flat-checkbox-label:before {
    background-position: -40px 0;
}
.flat-radio-original:checked + .flat-radio-label:before {
    background-position: -140px 0;
}
.flat-checkbox-original[disabled] + .flat-checkbox-label:before {
    background-position: -60px 0;
}
.flat-radio-original[disabled] + .flat-radio-label:before {
    background-position: -160px 0;
}
.flat-checkbox-original[disabled]:checked + .flat-checkbox-label:before {
    background-position: -80px 0;
}
.flat-radio-original[disabled]:checked + .flat-radio-label:before {
    background-position: -180px 0;
}
.flat-checkbox-label.min-aero:before ,
.flat-radio-label.min-aero:before {
    background-image: url(../img/minimal/aero.png);
}
.flat-checkbox-label.min-blue:before ,
.flat-radio-label.min-blue:before {
    background-image: url(../img/minimal/blue.png);
}
.flat-checkbox-label.min-green:before ,
.flat-radio-label.min-green:before {
    background-image: url(../img/minimal/green.png);
}
.flat-checkbox-label.min-grey:before ,
.flat-radio-label.min-grey:before {
    background-image: url(../img/minimal/grey.png);
}
.flat-checkbox-label.min-orange:before ,
.flat-radio-label.min-orange:before {
    background-image: url(../img/minimal/orange.png);
}
.flat-checkbox-label.min-pink:before ,
.flat-radio-label.min-pink:before {
    background-image: url(../img/minimal/pink.png);
}
.flat-checkbox-label.min-purple:before ,
.flat-radio-label.min-purple:before {
    background-image: url(../img/minimal/purple.png);
}
.flat-checkbox-label.min-red:before ,
.flat-radio-label.min-red:before {
    background-image: url(../img/minimal/red.png);
}
.flat-checkbox-label.min-yellow:before ,
.flat-radio-label.min-yellow:before {
    background-image: url(../img/minimal/yellow.png);
}
/**
    ESTILO SQUARE
**/
.flat-checkbox-label[class*="square-"],
.flat-radio-label[class*="square-"] {
    padding-left: 27px;
}
.flat-checkbox-label[class*="square-"]:before ,
.flat-radio-label[class*="square-"]:before {
    width: 22px;
    height: 22px;
    top: -1px;
}
.flat-checkbox-label[class*="square-"]:before {
    background-position: 0 0;
}
.flat-radio-label[class*="square-"]:before {
    background-position: -120px 0;
}
.flat-checkbox-label[class*="square-"]:hover:before {
    background-position: -24px 0;
}
.flat-radio-label[class*="square-"]:hover:before {
    background-position: -144px 0;
}
.flat-checkbox-original:checked + .flat-checkbox-label[class*="square-"]:before {
    background-position: -48px 0;
}
.flat-radio-original:checked + .flat-radio-label[class*="square-"]:before {
    background-position: -168px 0;
}
.flat-checkbox-original[disabled] + .flat-checkbox-label[class*="square-"]:before {
    background-position: -72px 0;
}
.flat-radio-original[disabled] + .flat-radio-label[class*="square-"]:before {
    background-position: -192px 0;
}
.flat-checkbox-original[disabled]:checked + .flat-checkbox-label[class*="square-"]:before {
    background-position: -96px 0;
}
.flat-radio-original[disabled]:checked + .flat-radio-label[class*="square-"]:before {
    background-position: -216px 0;
}
.flat-checkbox-label.square-aero:before ,
.flat-radio-label.square-aero:before {
    background-image: url(../img/square/aero.png);
}
.flat-checkbox-label.square-black:before ,
.flat-radio-label.square-black:before {
    background-image: url(../img/square/square.png);
}
.flat-checkbox-label.square-blue:before ,
.flat-radio-label.square-blue:before {
    background-image: url(../img/square/blue.png);
}
.flat-checkbox-label.square-green:before ,
.flat-radio-label.square-green:before {
    background-image: url(../img/square/green.png);
}
.flat-checkbox-label.square-grey:before ,
.flat-radio-label.square-grey:before {
    background-image: url(../img/square/grey.png);
}
.flat-checkbox-label.square-orange:before ,
.flat-radio-label.square-orange:before {
    background-image: url(../img/square/orange.png);
}
.flat-checkbox-label.square-pink:before ,
.flat-radio-label.square-pink:before {
    background-image: url(../img/square/pink.png);
}
.flat-checkbox-label.square-purple:before ,
.flat-radio-label.square-purple:before {
    background-image: url(../img/square/purple.png);
}
.flat-checkbox-label.square-red:before ,
.flat-radio-label.square-red:before {
    background-image: url(../img/square/red.png);
}
.flat-checkbox-label.square-yellow:before ,
.flat-radio-label.square-yellow:before {
    background-image: url(../img/square/yellow.png);
}
/**
    ESTILO POLARIS
**/
.flat-checkbox-label.polaris-check,
.flat-radio-label.polaris-check {
    padding-left: 27px;
}
.flat-checkbox-label.polaris-check:before ,
.flat-radio-label.polaris-check:before {
    width: 29px;
    height: 29px;
    top: -4px;
    left: -5px;
}
.flat-checkbox-label.polaris-check:before {
    background-position: 0 0;
}
.flat-radio-label.polaris-check:before {
    background-position: -155px 0;
}
.flat-checkbox-label.polaris-check:hover:before {
    background-position: -31px 0;
}
.flat-radio-label.polaris-check:hover:before {
    background-position: -186px 0;
}
.flat-checkbox-original:checked + .flat-checkbox-label.polaris-check:before {
    background-position: -62px 0;
}
.flat-radio-original:checked + .flat-radio-label.polaris-check:before {
    background-position: -217px 0;
}
.flat-checkbox-original[disabled] + .flat-checkbox-label.polaris-check:before {
    background-position: -93px 0;
}
.flat-radio-original[disabled] + .flat-radio-label.polaris-check:before {
    background-position: -248px 0;
}
.flat-checkbox-original[disabled]:checked + .flat-checkbox-label.polaris-check:before {
    background-position: -124px 0;
}
.flat-radio-original[disabled]:checked + .flat-radio-label.polaris-check:before {
    background-position: -279px 0;
}
.flat-checkbox-label.polaris-check:before ,
.flat-radio-label.polaris-check:before {
    background-image: url(../img/polaris/polaris.png);
}


/* ==========================================================================
   SPECIFIC CSS FOR SELECT
   ========================================================================== */

.flat-select {
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
	appearance: none;
    text-indent: 0.01px;
    text-overflow: "";
    background: #fff url(data:image/png;base64,iVBORw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0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAKRJREFUeNrslDsOwkAMBeeRM5DNFcnvOnQcJXdIAsdBpnEBEgrebSKhWHK17800K8vM2GNO7DSH+GMkVZJukpooUFLjnapYbGZPYAYmSSkgTcAEzN7dhP9cYAQeQNrIJM+MIWYk5OABuAP1l7fa34YwLxp0QQ+s73KXrkCfxcoJu6gDFuDsuwBdNie34PLWhQvQljBUejIlXfxzXov6x63+e/FrALtck55Xto+hAAAAAElFTkSuQmCC) center right no-repeat;
    color: #333;
    transition: border 250ms ease-out; 
    -webkit-transition: border 250ms ease-out; 
    -moz-transition: border 250ms ease-out;
    -o-transition: border 250ms ease-out;
    border: 1px solid #888;
    font-family: Helvetica, Arial, Verdana, Geneva, sans-serif;
    font-size: 100%;
    padding: .4em 30px .4em .5em;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.flat-select::-ms-expand {
    display: none;
}

.flat-select[disabled],
.flat-select[disabled]:hover {
    border-color: #d5dbdb;
    color: #d5dbdb;
    background-color: #f4f6f6;
}

.ie9 .flat-select {
    background-image: none;
    padding-right: .5em;
}