/* --------------
 * GENERAL STYLES
 * -------------- */
html {
    font-family: 'Source Sans Pro', sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
    margin: 0;
    background-color: #fff;
    color: #777;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333333;
    background-color: #ffffff;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1 {
    font-size: 2.7em;
    margin: 0 0 20px;
    color: #293037;
    font-weight: 300;
    line-height: 38px;
    height: 42px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
h2 {
    font-weight: 300;
    font-size: 24px;
    color: #333c45;
    margin: 6px 0;
}
h3 {
    color: #333;
    font-size: 1.15em;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}
h4 {
    color: #778997;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}
p {
    font-weight: 300;
    font-size: 16px;
    margin: 6px 0;
}


/* ------------
 * HELPER CLASS
 * ------------ */
.pull-right {float: right !important;}
.pull-left {float: left !important;}
.clear {clear: both;}
br.clear {clear: both; display: block; height: 0px;}
*[unselectable="on"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}



/* -----------
 * FORM STYLES
 * ----------- */

/* Error message (@todo revisar si es correcto, de lo contrario hay que borrarlo) */
.error-prompt {
    text-align: center;
    color: #B9B9B9;
}
.error-prompt .esicon {font-size: 40px;}
.error-prompt span {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 20px;
    text-align: left;
    position: relative;
    top: -12px;
}


/* Form control margins */
.field-margin {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Opacity */
.opacity-3 {opacity: 0.3;}
.opacity-4 {opacity: 0.4;}
.opacity-5 {opacity: 0.5;}
.opacity-6 {opacity: 0.6;}
.opacity-7 {opacity: 0.7;}
.opacity-8 {opacity: 0.8;}


/* Buttons */
.btn {
    -moz-user-select: none;
    background-image: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 0px;
    padding: 0px 22px;
    text-align: center;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
    min-height: 40px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
    color: #333333;
    text-decoration: none;
}
.btn:active,
.btn.active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    filter: alpha(opacity=50);
    -webkit-box-shadow: none;
    box-shadow: none;
}
.btn-default {
    color: #293037;
    background-color: #d9e2e8;
    border-bottom: none;
    text-transform: none;
}
.btn-default:hover:active {background-color: #586879; color: #fff;}
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active {
    background-color: #c5d2db;
}
.btn-default:active,
.btn-default.active {
    background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    background-color: #c5d2db;
}
.btn-primary {
    color: #ffffff;
    background-color: #333c45;
}
.btn-primary:hover:active {background-color: #213243;}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
    color: #ffffff;
    background-color: #173452;
}
.btn-primary:active,
.btn-primary.active {
    background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #173452;
}
.btn-success {
    color: #ffffff;
    background-color: #56a846;
}
.btn-success:hover:active {background-color: #3b8c2b;}
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active{
    color: #ffffff;
    background-color: #2da915;
}
.btn-success:active,
.btn-success.active{
    background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
    background: #8CC382;
}
.btn-info {
    color: #ffffff;
    background-color: #5bc0de;
    border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.btn-info.active {
    color: #ffffff;
    background-color: #31b0d5;
    border-color: #269abc;
}
.btn-info:active,
.btn-info.active {
    background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
    background-color: #5bc0de;
    border-color: #46b8da;
}
.btn-warning {
    color: #ffffff;
    background-color: #f0ad4e;
    border-color: #eea236;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:active,
.btn-warning.active {
    color: #ffffff;
    background-color: #ec971f;
    border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active {
    background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
    background-color: #f0ad4e;
    border-color: #eea236;
}
.btn-danger {
    color: #ffffff;
    background-color: #d9534f;
    border-color: #d43f3a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active {
    color: #ffffff;
    background-color: #c9302c;
    border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active {
    background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
    background-color: #d9534f;
    border-color: #d43f3a;
}
.btn-link {
    color: #428bca;
    font-weight: normal;
    border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
    color: #2a6496;
    text-decoration: underline;
    background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
    color: #777777;
    text-decoration: none;
}

.btn-single-icon {
    width: 40px;
    min-width: auto;
    max-width: auto;
    font-size: 23px;
}
.btn-single-icon i {

}

/* Input */
label {
  display: inline-block;
  max-width: 100%;
  font-weight: bold;
  cursor: pointer;
}
/*label.active {color: #0CC9E3;}*/
label.active {color: #01B2CE;}

label.fixed-field {cursor: default;}

label.tool-label {
  font-weight: initial;
  font-size: 18px;
}

input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  line-height: normal;
}
input[type="file"] {
  display: block;
}
input[type="range"] {
  display: block;
  width: 100%;
}
select[multiple],
select[size] {
  height: auto;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.form-control {
    display: inline-block;
    width: 100%;
    min-height: 40px;
    padding: 4px 12px;
    font-size: 1em;
    line-height: 1.42857143;
    background-color: #ffffff;
    background-image: none;
    border: 2px solid #d9e2e8;
    border-radius: 4px;
    color: inherit;
    font-weight: normal;
    box-shadow: none;
}
.has-error .form-control {border-color: #EB434F !important;}

a.form-control {padding: 11px 10px 0; text-decoration: none;}
a.form-control > span {
  position: absolute;
  left: 10px;
  right: 10px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.form-control:hover {
  border-color: #c2ccd3;
}
.form-control:focus,
.form-control.focus {
  border-color: #0CC9E3;
  outline: 0;
}
.form-control::-moz-placeholder {
  color: #999999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999999;
}
.form-control::-webkit-input-placeholder {
  color: #999999;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  cursor: default;
  background-color: #eeeeee;
  opacity: 1;
}
.form-control[readonly]{
  background-color: #ebf0f3;
  opacity: 1;
  border: none;
  padding-left: 12px;
}
textarea.form-control {
  height: auto;
  padding-top: 17px;
  resize: vertical;
}
.esicon.help-trigger {
    font-size: 15px;
    cursor: pointer;
    margin-left: 3px;
    color: #0CC9E3;
    top: 2px;
}
.esicon.flipped{
    transform: rotate(90deg);
}

.tool-icon {
  transform: translate(0px,5px);
}


.btn.btn-icon {
    position: relative;
    padding-right: 40px;
    padding-left: 15px;
}
.btn.btn-icon i{
    font-size: 18px;
    position: absolute;
    right: 10px;
    top: 11px;
    color: #777777;
}
.btn.btn-icon i.small{
    font-size: 17px;
    top: 12px;
}
.btn.btn-icon:hover{
    background-color: #c9d5de;
    color: black;
}
.btn.btn-icon:hover i{
    color: #333;
}
.ellipsis{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cursor-pointer{
    cursor: pointer;
}