/*
* IDP CSS Modal
* 
* CSS with styles for the modified aspect of the modal.
* For mobile and desktop.
*/

/* Fonts */
/*Open Sans*/
@font-face {
    font-family: 'OpenSans-Regular';
    src: url('../../fonts/openSans/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Style general */
/* contains general css */
/* especially for desk */
.main-content .modal-mod .modal-dialog-mod{
    padding: 0;
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    min-height: 41vh;
}

.main-content .modal-error-mod .modal-dialog-mod{
    min-height: 40vh;
}

.modal-dialog-label{
  padding-left: 26px;
}

.modal-dialog-cancel{
    color: #ec0000;
    padding-right: 26px;
    cursor: pointer;
    padding-top: 7px;
}

.modal-dialog-mod .modal-body-mod{
    padding: 0 26px;
}

.modal-dialog-mod .modal-select-options{
    height: 200px;
    overflow: scroll;
    overflow-x: hidden;
    margin-bottom: 6px;
    padding: 5px;
}

.modal-select-options .opt-select-modal{
    background-image: url('../../img/check-symbol-none.svg');
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 95% 50%; 
    padding-right: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
    font-family: 'SantanderText-Regular', sans-serif;
    line-height: normal;
    color: #000000;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0), 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0), 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0), 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-height: 52px;
}

.modal-mod .modal-dialog-mod .modal-content{
    border-radius: 12px 12px 0 0;
    border: 0;
    font-size:14px;
    min-height: 41vh;
}

.modal-error-mod .modal-dialog-mod .modal-content{
    min-height: 40vh;
}

.modal-select-options .option-selected{
    background-color: #ffffff;
    background-image: url('../../img/check-symbol.svg');
}

.modal-mod .modal-dialog-mod .modal-header{
    padding-bottom: 1px;
}

.modal-select-options .opt-select-modal:focus{
    outline: none;
}
/* End style general */

/* Style min-width 768px */
/* style for mobile devices*/
@media screen and (min-width: 768px) {
    .modal .amount-row ul {
        padding: 20px 30px;
    }
    
    .main-content .modal-mod .modal-dialog-mod{
        position: relative;
        padding: 0;
        bottom: 0;
        max-width: 370px;
    }
    
    .modal-mod .modal-dialog-mod .modal-content {
        border-radius: 13px 13px 13px 13px;
    }
}
/* End style */


/* Style for the error code in modal */
.modal-error-mod .modal-error-code {
	font-size: .5rem !important;
	text-align: right;
	margin: 1rem;
}

.image-msj-update-xy{
	width: 18em;
}