textarea {
    height: auto;
}

.ges-form-metronic textarea {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-width: 0;
    margin-bottom: 0;
}

.ges-form-metronic input,
.ges-form-metronic textarea {
    display: block;
    width: max-content;
    /*width: inherit;*/
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #464E5F;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #bbbbbb;
    border-radius: 0.42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.ges-date-metronic input[type=text] {
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #464E5F;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #bbbbbb;
    border-radius: 0.42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

/*
 * date
*/
.ges-date-metronic select {
    -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.ges-date-metronic select {
    display: inline-block;
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 2rem 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #464E5F;
    vertical-align: middle;
    background: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 0.42rem;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.ges-date-metronic select:not(2) {
    margin-right: 1em;
}

.ges-date-metronic select:focus {
    border-color: #69b3ff;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(54, 153, 255, 0.25);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(54, 153, 255, 0.25);
}

.ges-date-metronic input[type=button] {
    vertical-align: middle;
}

.ges-form-metronic.richtext textarea{
    height: auto;
}

.ges-form-metronic.richtext  select {
    display: inline-block;
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 2rem 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #464E5F;
    vertical-align: middle;
    background: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 0.42rem;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.ges-form-metronic.richtext table {
    margin-bottom: 1%;
}

.calendar, .calendar table {
    background: #ffffff;
}

table td.at-a-glance-head-current_view {
    text-align: center;
}

/*
 * Display
 */
.ges-metronic-display {
    height: auto;
    word-break: break-word;
}

.ges-form-metronic > select:not(.form-control) {
    display: inline-block;
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 2rem 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #464E5F;
    vertical-align: middle;
    background: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 0.42rem;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.metronic-two-column .ges-metronic-select{
    width: 100% !important;
}

.ges-date-metronic input[type="button"] {
    display: none;
}


#courses .ges-form-metronic > select#career {
    width: inherit;
}

#course_search .ges-form-metronic > select#career_id {
    width: 90%
}

.text-item-table input[type="text"],
.text-item-table textarea {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3F4254;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #bbbbbb;
    border-radius: 0.42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; 
}

@media (prefers-reduced-motion: reduce) {
    .text-item-table input[type="text"],
    .text-item-table textarea {
        -webkit-transition: none;
        transition: none;
    }
}

.text-item-table input[type="text"]::-ms-expand,
.text-item-table textarea::-ms-expand {
    background-color: transparent;
    border: 0;
}

.text-item-table input[type="text"]:-moz-focusring,
.text-item-table textarea:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #3F4254;
}

.text-item-table input[type="text"]:focus,
.text-item-table textarea:focus {
    color: #3F4254;
    background-color: #ffffff;
    border-color: #69b3ff;
    outline: 0;
}

.text-item-table input[type="text"]::-webkit-input-placeholder,
.text-item-table textarea::-webkit-input-placeholder {
    color: #B5B5C3;
    opacity: 1;
}

.text-item-table input[type="text"]::-moz-placeholder,
.text-item-table textarea::-moz-placeholder {
    color: #B5B5C3;
    opacity: 1;
}

.text-item-table input[type="text"]:-ms-input-placeholder,
.text-item-table textarea:-ms-input-placeholder {
    color: #B5B5C3;
    opacity: 1;
}

.text-item-table input[type="text"]::-ms-input-placeholder,
.text-item-table textarea::-ms-input-placeholder {
    color: #B5B5C3;
    opacity: 1;
}

.text-item-table input[type="text"]:placeholder,
.text-item-table textarea:placeholder {
    color: #B5B5C3;
    opacity: 1;
}

.text-item-table input[type="text"]:disabled,
.text-item-table textarea:disabled,
.text-item-table input[type="text"][readonly],
.text-item-table textarea[readonly] {
    background-color: #F3F6F9;
    opacity: 1;
}

#grade_form .col-form-label{
    max-width: 100%;
    flex: 0 0 100%;
    text-align: left !important;
}

#grade_form .ges-form-metronic{
    max-width: 100%;
    flex: 0 0 100%;
}

#grade_form .ges-form-metronic input,
#grade_form .ges-form-metronic.richtext textarea {
    width: 100%;
}

#grade_form .ges-form-btn {
    max-width: 100%;
    flex: 0 0 100%;
    display: flex;
    padding-left: 0;
}

#grade_form .ges-form-btn .btn{
    width: 100%;
}

#grade_form .ges-form-metronic .custom-file .custom-file-label{
    overflow: hidden;
}


.ges-date-metronic span.icon-2x {
    font-size: 1.3rem !important;
}


@media only screen and (max-width: 767.98px) {
    .ges-form-metronic input, .ges-form-metronic textarea{
        width: 100%;
    }

    .ges-form-metronic select#entity_id {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .ges-form-metronic input, .ges-form-metronic textarea{
        width: 100%;
    }
}


@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .ges-form-metronic input, .ges-form-metronic textarea{
        width: 100%;
    }
}

.custom-file-label::after {
    content: "Explorar";
}

.custom-browse-text-label {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: clip; 
    border: 1px solid #bbbbbb;
}

.ges-label {
    font-weight: 600 !important;
}

.ges-information-icon {
    font-size: 1.40rem!important;
}
.ges-form-metronic textarea {
    overflow: inherit;
    resize:auto;
}

.fill-in-the-blank-answer .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

#show_item_form .card-custom img,
#section_preview_form .card-custom img,
form[id^='admin_section'] .assessment-questions img,
form[id^='session_results'] .row img {
    max-width: 100%;
    height: fit-content;
}

/* Range Slider */
input[type="range"] {
    width: 100%;
    padding: 0;
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    background: #0075ff;
    border: 0;
}
input[type="range"]::-moz-range-track {
    background-color: #ccc;
    height:.5rem;
    border-radius:1rem;
    cursor:pointer;
}
input[type="range"]::-moz-range-progress {
    background-color: #0075ff;
    height:.5rem;
    border-radius:1rem;
}
input[type="range"]::-moz-focus-outer {
    border: 0;
    outline: none;
    outline-offset: -1px;
}
input[type="range"]::focus {
    outline: none;
}
/* Microsoft */
input[type="range"]::-ms-track {
    background: #ccc;
}
input[type="range"].styled-slider::-ms-thumb:hover {
    background: #0075ff;
}
input[type="range"]::-ms-fill-lower {
    background: #0075ff;
    border-radius: 10px;
}
input[type="range"]::-ms-fill-upper {
    background: #ccc;
}
/* Ticks */
.range_list {
    display: flex;
    justify-content: space-between;
    height: auto;
    overflow: hidden;
    margin-top: 2px;
}
.range_opt {
    background: none;
    transform-origin: 0 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}