
.aym_window-box {min-width: 500px;} 
.aym_window-wrapper {background: #F6F6F6 !important; border-radius: 0; border: 1px solid  #ccc !important; border-bottom: 3px solid #911B21 !important;}
.aym_window-titlebox {background: transparent; border-color: #911B21!important;}
.aym_window-title {color: #222 !important;}

.btnbox button {background: #911B21 !important; border-radius: 5px !important; color: #222 !important; padding: 10px !important;}
.btnbox button:hover {background: #E89B6B !important;}

.aym_window-content .aym_window-closebtn {background-color: #911B21;}




.aym_window_edit.aym_window {
    margin: auto;
    bottom: 0;
    height: max-content;
    top: 0 !important;
}



/**********  MODAL EDICIÓN ************/
.aym_window_edit.aym_window{z-index: 10 !important;}
.aym_window_edit .aym_window-content{max-height: 800px; height: auto !important; padding: 20px !important}
.aym_window_edit .aym_window-content .aym_wrap_form{width: 100%; margin: 0 auto;}
.aym_window_edit .aym_wrap_form hr{max-width: none}
.aym_window_edit .aym_window-box{max-width: 900px;max-height: 90vh;}
.aym_window_edit .aym_window-box .aym_wrap_form form fieldset > div p{font-size: 0.8em !important;margin-bottom:0}
.aym_window_edit .aym_window-box .aym_wrap_form form fieldset div.aym_frm_row label{font-size: 1.3em !important;}
.aym_window_edit .aym_window-box .aym_wrap_form form fieldset div.filled label{font-size: 0.9em !important;}
.aym_window_edit.aym_window .aym_wrap_info.without_text div.cke_inner span:last-child{width: 98%;}

.aym_window_edit .aym_wrap_edit #aym_form_edit{border: 0 !important; height: 0; margin-bottom: 0; min-height: 30px;}
.aym_window_edit .aym_wrap_edit.aym_edit div.aym_no_edit{border: 0 !important;}
.aym_window_edit .aym_wrap_edit.aym_edit div {border: 1px solid #929292 !important;}   
.aym_window_edit .aym_wrap_edit div.aym_frm_date,
.aym_window_edit .aym_wrap_edit.aym_edit div.aym_frm_date{border: 0 !important;margin: 0;}
.aym_window_edit .aym_wrap_form form fieldset > div.aym_no_border,.aym_window_edit .aym_wrap_form form fieldset div.aym_frm_submit{border: 0 !important;}
.aym_window_edit .aym_wrap_form table tr td.error input,
.aym_window_edit .aym_wrap_form table tr td.error select{border: 1px solid #c11c1c;}    
.aym_window_edit table tr td {font-size: .9em;}

.aym_window-content .aym_wrap_edit #aym_form_edit a, .aym_window-content  .aym_wrap_edit #aym_form_edit span{    right: 0;max-width: 60px;}

.aym_window_edit.aym_window_big .aym_window-box{max-width: 1400px;width: 1400px !important;}
   

@media screen and (max-width: 1024px){
    .aym_window_edit table tr td select,  .aym_window_edit table tr td input {width: max-content;}
    .aym_window_edit table tr td input {max-width: 100px;}
}
@media screen and (max-width: 900px){
    .aym_window_edit .aym_window-box{width: 90% !important;}
    .aym_window-content .aym_window-closebtn{opacity: 1;}
}


@media screen and (max-width: 768px){ 
    .aym_window_edit .aym_window-content{padding: 15px!important;}
    .aym_window-content .aym_wrap_form{margin: 0;margin-bottom: 0 !important;padding: 0;}
}       


@media screen and (max-width:375px){
    .aym_window-content div form fieldset{overflow: auto;}
}




/*PRELOADER*/
/*#aym_loading{position: fixed; height: 100%; width: 100%; display: flex; align-items: center; z-index: 800; justify-content: center;}
#aym_loading div {display: inline-block; padding: 20px 0; position: relative;}
#aym_loading div::after {animation: preloader 1s linear infinite; border: 3px solid #222; border-radius: 50%; border-top: 3px solid #911B21; content: ''; display: inline-block; height: 30px; position: relative; width: 30px;}

@keyframes preloader {
	0% {transform: rotate(0deg);} 
	100% {transform: rotate(360deg);}
}*/