﻿
.select2 {
    font-family: Calibri;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeSpeed !important;
    -webkit-font-smoothing: antialiased !important;
    font-size:15px;
}

.select2-dropdown {
    font-family: Calibri;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeSpeed !important;
    -webkit-font-smoothing: antialiased !important;
    border-color: #80bdff !important;  
    font-size:15px;
    

    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.3rem rgba(143, 197, 255, 0.5);   
}

.select2-container--open .select2-dropdown--below {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.select2-container .select2-selection--single {
    font-family: Calibri;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeSpeed !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 15px;
    box-sizing: border-box;
    /*border-color: #80bdff !important;*/
    border: 1px solid #80bdff;
    cursor: pointer;
    display: block;
    height: 31px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-selection--single:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-container .select2-selection--single .required-border {
    height: 29px;
    box-shadow: 0pt 0pt 0pt 0.05rem #dc3545;
    border: 1px solid transparent;
    border-radius: 2px;

    background-color: #fff;    
    outline: 0;
}

.select2-container:focus .required-border {
    box-shadow: 0pt 0pt 5pt 1pt #dc3545;
}

.select2-selection--single:focus .required-border {
    box-shadow: 0pt 0pt 5pt 1pt #dc3545;
}


.select2-container .select2-selection--single .required-border-fake {
    box-shadow: 0pt 0pt 0pt 0.05rem #ffae88;
    border: 1px solid transparent;
    border-radius: 2px;

    background-color: #fff;    
    outline: 0;
}

.select2-container:focus .required-border-fake {
    box-shadow: 0 0 0 0.2rem rgba(255, 227, 215, 1);
    border-color: #ffae88;
}

.select2-selection--single:focus .required-border-fake {
    box-shadow: 0 0 0 0.2rem rgba(255, 227, 215, 1);
    border-color: #ffae88;
}

/*################################################*/
/*modificaciones del boton desplegar*/
.select2.select2-container .select2-selection .select2-selection__arrow{
    background: #f8f8f8;
    border-left: 1px solid #ccc;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    height: 29px;
    width:28px;
}
.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
    background: #f8f8f8
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
}

/*Boton "x" para eliminar el elemento seleccionado*/
.select2-selection__clear {
    margin-right: 15px;
    font-weight: 900;
    font-size: 20px;
    color: red !important;
    
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    opacity:0;
}

/*################################################*/

/*Input de busqueda. agregar imagen de fondo "lupa"*/
.select2-search--dropdown .select2-search__field { /*/:focus {*/
    background-image: url('../Images/search.png');
    background-size: 14px 14px;
    background-position-x: 8px;
    background-position-y: 8px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.svgSelect.icon-11:before {
    font-size: 20px !important;
}

.svgSelect.icon-transport-aereo:before {
    font-size: 20px !important;
}
    

/*Convierte los Option "disabled" en ocultos. Muy importante para el Select_Master_WS*/
.control_SelectMaster_WS .select2-results .select2-disabled, .select2-results__option[aria-disabled=true] {
    display: none;
}


.AdditionalInfo {
    font-size: 11px;
    color: #3e4cec;
    font-weight: bold;
}

/*actualziacion de chrome. agregan un borden negro sobre el input seleccionado.
    Eliminar configuracion de chrome*/
.select2-search__field {
    outline: none;
}


/*Boton para editar los servicios contratados*/
.btnContractedServices {
    position:absolute !important;    
    right:24px !important;
    top: 2px !important;
    color: #696969 !important;

    width:24px !important;
    margin-right:-8px !important;

    cursor: pointer ;    
}


/*##############################################################################################################################################################################*/
/*#############Selectores con aspecto simple ##################*/

.selectSimple .select2-selection {
    background-color: white !important;
    border-color: white !important;
    padding-left:4px !important;    
    height: 27px !important;
    margin-top: 2px !important;
    margin-left:2px !important;
    margin-right:2px !important;
}


.selectSimple .select2-selection__arrow {
    background-color: white !important;
    color: white !important;
    visibility: hidden !important;
}

.selectSimple .select2-selection__rendered {
    width: calc(100% + 25px) !important;
    color:#007bff !important;
    font-size:13px !important;

}
.selectSimple .divOptSelected{
    width: calc(100% - 6px) !important;
    margin-top: -1px !important;
}

.selectSimple .select2-selection__clear {
    margin-top: -3px !important;
}

.dropdown_simple .select2-dropdown {
    margin-top: 10px !important;
}

.selectSimple .select-Search {
    display: none;
}



.selectSimple .select2-container .select2-selection--single  .required-border {
    box-shadow: 0pt 0pt 0pt 0.05rem transparent !important;
    
}

.selectSimple .required-border .select2-selection__placeholder
{
    color:tomato  !important;
    position: absolute ;
    margin-top: -2px;

    width:100%;
    display: inline-block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;   
}

.selectSimple .select2-selection .select2-selection__rendered 
{    
    padding:0px;        
    width: calc(100%) !important;
    /*margin-top:-2px;*/
    
    height:24px !important;
}

.selectSimple .select2-selection__placeholder
{
    text-decoration: none !important;
}

.selectSimple .select2-selection__placeholder:hover
{
    text-decoration: underline !important;
}

.selectSimple .divOptSelected:hover
{
    text-decoration: underline !important; 
}

.selectSimple .label-input100
{
    /*color:#007bff !important;*/
    font-size:14px !important;    
}

/*.selectSimple_required-border .label-input100 {
    color: tomato !important;
}

/*.selectSimple_required-border .select2-selection:focus
{
    box-shadow: 0pt 0pt 5pt 1pt #dc3545 !important;
}*/

.selectSimple_Black .select2-selection__rendered {
    color: #212529 !important;
}

/*##############################################################################################################################################################################*/


/*##############################################################################################################################################################################*/
/*#############Selectores con aspecto oscuro (DARK)##################*/

.dark .select2-selection
{
    margin-top: 1px !important;
    height:27px !important;
    background-color: grey !important;
    border-color: white !important;  
}


.dark .select2-selection__arrow
{
    margin-top: 1px !important;
    height:25px !important;
    background-color: grey !important;
    color: white !important;
}


.dark .select2-container--default .select2-selection--single .select2-selection__arrow b
{
    border-color: white transparent white transparent;    
}

.dark .select-Search
{
    margin-top: 1px !important;
    height:25px !important;
    background-color: grey !important;
    color: white !important;
}

.dark .select-Search:before
{
    top:4px !important;
}

.dark .select2-selection__rendered
{
    margin-top: -2px !important;
    height:27px !important;
    color: white !important;
}

.dark .select2-selection:focus {
    outline: 0px transparent !important;    
    border-radius: 1px;
    outline:1px solid 	white !important;
    box-shadow: 0 0 3pt 3pt rgb(255 255 255 / 50%);    
}

.dropdown_dark .select2-results {
    background-color: grey !important;
    color: white;
}

.dropdown_dark .select2-search {
    background-color: grey !important;
    color: white;
}

.dropdown_dark .select2-search__field {
    background-color: grey !important;
    color: white;
}

.dropdown_dark .icon-link
{
    color:white !important;
}

.dropdown_dark .icon-refresh_select
{
    color:white !important;
}

.dropdown_dark .select2-search--dropdown .select2-search__field {
    background-image: url(../../Images/search_white.png);
    background-size: 14px 14px;
    background-position-x: 8px;
    background-position-y: 8px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.dropdown_dark .select2-results .select2-results__option--highlighted[aria-selected] {
    background-color: #aaa !important;
    color: white;
}

.dropdown_dark .select2-results .select2-results__option[aria-selected=true] {
    background-color: #908f8f !important;
}

.dropdown_dark .select2-dropdown
{
    border-color: gray !important;
    outline: 0px transparent !important;    
    border-radius: 0.2rem;
    outline:1px solid 	gray !important;
    box-shadow: 0 0 3pt 3pt rgb(43 43 43 / 50%);        
}

.dropdown_dark .select2-results__options [role=treeitem]
{
    background-color: gray !important;
}

/*##############################################################################################################################################################################*/
