body {font-family: Arial, Helvetica, sans-serif;}

.modal {
  margin-top: 16px;
  display: none;
  position: absolute;
  z-index: 1;
  width: 100%;
  max-width: 336px;
}
.searchfunction{
  position: relative;
}
.largeModal{
  max-width: none;
}
.largeModal .modal-text > div{
  padding-left: 20px;
  padding-right: 20px;
}
.largeModal .modal-text > div > ul{
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
}
.largeModal h3{
  margin-top:25px;
}
.largeModal .custom-modal-content li{
  width: calc(33.33% - 12px);
  border-bottom: 1px solid #E9E9E9;
  padding: 9px 30px 15px 30px;
  display: flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
  display: -webkit-flex;
  align-items: center;
}
.largeModal .custom-modal-content li > .thumbnail{
  height: 34px;
  max-width: 34px;
  min-height: 34px;
  margin-right: 15px;
}
span.thumbnail > img{
  width: 100%;
  height: auto;
}
span.thumbText{
  width: calc(100% - 49px);
  font-weight: 600;
  font-size: 14px;
}
@media screen and (min-width: 768px){
  .largeModal li:not(:nth-child(3n)){
    margin-right: 18px;
  }
  .largeModal li:nth-child(n+4){
    margin-top:25px;
  }
}
.custom-modal-content {
  background-color: #fefefe;
  margin: auto;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));
  -webkit-filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));
  -moz-filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));
  border-radius: 25px;
  padding-bottom: 15px;
}
.modal-title{
  padding:18px 22px;
  border-bottom: 1px solid #949499;
}
.close:hover,
.close:focus {
  cursor: pointer;
}

.modallist {
    display: flex;
}
.modallist button{
    width: 300px;
    font-size: 20px;
    padding: 10px;
}
.modallist > div:not(:nth-child(1)){
    margin-left:10px;
}

.modal p > a{
    margin-right: 10px;
}

.btn-modal{
  width: 30%;
}
.btn-action{
  width: 40%;
}
.btn-modal > .btn{
  background-color: #fff;
  display: block;
  border: 1px solid #949499;
  padding: 12px 22px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  text-decoration: none;
  position: relative;
  color: #00146E;
  font-size: 14px;
  font-weight: 600;
}

.btn-modal > .btn::after{
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-color: #333333;
  position: absolute;
  transform: rotate(45deg) translateY(-50%);
  right: 23px;
  top: 50%;
}
.btn-action{
  display: flex;
}
.btn-action > div{
  width: 50%;
}
.btn-action > div:not(:nth-child(1)){
  margin-left:10px;
}
.btn-action{
  padding-left: 20px;
  box-sizing: border-box;
}
.buttonReset > a{
  background-color: #fff;
  display: block;
  border: 1px solid #03166F;
  padding: 12px 22px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  text-decoration: none;
  position: relative;
  color: #00146E;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.buttonSearch > a{
  display: block;
  background-color: #00146E;
  border: 1px solid #00146E;
  padding: 12px 22px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  text-decoration: none;
  position: relative;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.custom-modal-contentul{
  margin: 0;
  padding: 0;
}
.custom-modal-content li{
  list-style: none;
  padding: 0 22px;
}
.modal-text{
  height:100%;
  max-height:400px;
  overflow-y: auto;
}
.modal-text > ul > li > span{
  border-top: 1px solid #E9E9E9;
  text-decoration: none;
  color: #333333;
  font-weight: 300;
  padding:16px 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-modal .btn{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modallist a:hover{
  text-decoration: underline;
}
.modal-text li{
  cursor:pointer;
}
.modal-text li:hover{
  background-color: #F1F1F1;
}
.modal-title{
  position: relative;
}
.close{
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.close-wrap{
  position: relative;
}
.close-wrap:before,.close-wrap:after{
  content: "";
  background-color: #333333;;
  width: 8px;
  height: 1px;
  position: absolute;
  transform: rotate(45deg);
}
.close-wrap::after{
  transform: rotate(-45deg);
}
.modal-title .title-text{
  color: #00146E;
  font-weight: 600;
}
.modallist{
  background-color: #F7F7F7;
  padding:40px 4%;
  margin: 0 -4%;
  width: 100%;
  border-radius: 25px;
  box-sizing: content-box;
}
.searchfunction{
  display: flex;
  justify-content: center;
}

.modal-text::-webkit-scrollbar {
  width: 12px;
}
.modal-text::-webkit-scrollbar-track {
  background: transparent; 
}
.modal-text::-webkit-scrollbar-track:hover{
  background: #eee;
  opacity: 0.9;
}
.modal-text::-webkit-scrollbar-thumb {
  background: #949499; 
}
.modal-text::-webkit-scrollbar-thumb:hover {
  background: #999; 
}
@media screen and (max-width: 1024px){
  .modallist{
    flex-wrap: wrap;
  }
  .modallist > div:not(:nth-child(1)){
    margin: 0;
    margin-top: 10px;
  }
  .btn-modal,.btn-action{
    width: 100%;
  }
  .btn-action{
    padding:10px 0 0 0;
  }
  .close{
    right: 10px;
    top: -15px;
  }
  .close-wrap{
    width: 12px;
    height: 12px;
    display: block;
  }
  .close-wrap:before,.close-wrap:after{
    width: 12px;
    height: 1px;
    background-color: #fff;
  }
  .modal-triggered{
    position: relative;
  }
  .modal-triggered .modal::before{
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    display: block;
    background: rgba(0,0,0,.3);
  }
}
@media screen and (max-width: 767px){
  .largeModal .custom-modal-content li{
    width: 100%;
    padding: 9px 30px 15px 10px;
  }
}

.fade-btn.asw-hidden-lg {
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 8px 0 0 8px;
}