@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

@media screen and (min-width: 1043px) {
  #portal-container:has(.recommended:not(.hidden)) .container-header{
    padding-left: 5px;
  }
#portal-container:has(.recommended:not(.hidden)) .main-content{
  flex-grow: 1;
  /* max-width: calc(100% - 502px);
  max-width: calc(100% - 426px); */
  max-width: calc(100% - 330px);
  
}
#portal-container:has(.recommended) .profile-notify{
  width: calc(100% + 502px);
}
}
.recommended.hidden{
  display: none;
}

@media screen and (min-width: 1925px) {
  #portal-container:has(.recommended:not(.hidden)) .container-header{
    padding-left: 0;
  }

}
@media screen and (min-width: 1043px) and (max-width: 1924px){
 #portal-container:has(.recommended:not(.hidden)) .main-content .conference-container, #portal-container:has(.recommended:not(.hidden)) #portal-content,  #portal-container:has(.recommended:not(.hidden)) .new-slider-container{
  width: calc(100% - 5px);
  margin-left: 5px;
 }
}
@media screen and (min-width: 1043px){
 #portal-container:has(.recommended:not(.hidden)){
    display: flex;
    gap: 5px;
}
}

@media screen and (max-width: 1042px) {
  #portal-container{
      display: block;
  }
  .main-content + .recommended{
    display: none;
  }
  .recommended{
    display: flex;
    flex-direction: column;
  }
  .rec_banner_container{
      order: 1;
      margin-top: 20px;
  }
}

@media screen and (min-width: 1043px) {
  #portal-content .recommended{
      display: none;
  }
}
           
/* #portal-content {
    margin-left:10px;
} */

@media screen and (max-width: 1042px) {
    #portal-menu ul {
        position: relative;
        font-size: 0;
        text-align: center;
        background-color: transparent;
        color: #fff;
        margin: 0;
    }
}
#portal-container .recommended{
    flex-shrink: 0;
    flex-grow: 0;
    width: 454px;
    margin-top: 5px;
    padding: 5px;
    position: relative;
    margin-right: 5px;
    height: fit-content;
}

@media screen and (max-width: 1430px) {
  #portal-container .recommended{
    /* width: 378px; */
    width: 320px;
    padding: 5px;
  }
}

@media screen and (max-width: 480px) {
  #portal-container .recommended{
    max-width: 100%;
    padding: 0;
  }
}
#portal-container  .recommended-list{
  background:#fff;
  padding: 5px;
  border-radius: 8px;
  max-height: 1155px;
  overflow-x: hidden;
  overflow-y: auto;
}
#portal-container  .recommended-list .recommended-title{
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 8px;
  color: #002C6B;
  font-weight: 700;
  font-family: "Urbanist", sans-serif;
}
#portal-container .recommended .recommend-item{
    margin-bottom: 10px; 
}
#portal-container .recommended .rec_banner{
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
#portal-container .recommended .rec_banner img{
  width: 100%;
}
#portal-container .recommended::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #e2e2e2;
    opacity: 0.5000;
    border-radius: 5px;
}
/*
@media screen and (min-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

@media screen and (min-width: 1242px) {
    .mobile-menu{
        display: none;
    }
}

@media screen and (max-width: 1242px) {
    #portal-menu ul {
        position: relative;
        font-size: 0;
        text-align: center;
        background-color: transparent;
        color: #fff;
        margin: 0;
    }
}

@media screen and (max-width: 1242px) {
    #portal-menu {
        position: fixed;
        display: block;
        top: 0;
        right: 100%;
        z-index: 10;
        width: 100%;
        text-align: center;
        color: #fff;
        height: 100vh;
        z-index: 99999;
    }
      #portal-menu.show {
        right:0;
    }
}

@media screen and (max-width: 1242px) {
    .mobile-menu {
        display: flex ;
        align-items: center;
        justify-content: space-between;
        height: 52px;
        position: relative;
    }
}
@media screen and (max-width: 1242px) {
    #portal-menu.show .header-menu-list {
        margin-right: 0;
        margin-left: 30%;
        overflow-y: auto;
        height:100%;
        transition:all 0.2s;
    }
}

@media screen and (max-width: 1242px) {
#portal-menu ul li{
    text-align: center;
    display: inline-block;
    position: relative;
    height: auto;
    width: 100%;
    vertical-align: middle;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
} */

@media screen and (min-width: 1430px) {
 #portal-container:has(.recommended:not(.hidden)) #portal-menu ul li a {
    min-width: none;
    max-width: none;
  }
}

@media screen and (min-width: 1126px) and (max-width: 1466px) {
   #portal-container:has(.recommended:not(.hidden)) .col-lg-4 {
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
    }
}

@media screen and (min-width: 1043px) and (max-width: 1125px) {
   #portal-container:has(.recommended:not(.hidden)) .col-sm-6 {
      flex: 0 0 50%;
      max-width: 50%;
    }
}

            
/*
@media (min-width: 576px) {
 #portal-container:has(.recommended:not(.hidden)) .col-sm-6 {
      flex: none;
      max-width: none;
      width: auto;
    }
}

@media (min-width: 992px) {
  #portal-container:has(.recommended:not(.hidden)) .col-lg-4 {
      flex: none;
      max-width: none;
      width: auto;
    }
}

@media (min-width: 1200px) {
  #portal-container:has(.recommended:not(.hidden)) .col-xl-3 {
      flex: none;
      max-width: none;
      width: auto;
    }
  }

@media (min-width: 1050px) {
  #portal-container:has(.recommended:not(.hidden)) .col-sm-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
} */

@media (min-width: 1466px) {
   #portal-container:has(.recommended:not(.hidden)) .col-lg-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 1674px) {
  #portal-container:has(.recommended:not(.hidden)) .col-xl-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media screen and (min-width: 1430px) {
  #portal-container:has(.recommended:not(.hidden)) #listing-main .list-box.col-sm-6.col-lg-4.col-xl-3,#portal-container:has(.recommended:not(.hidden)) #listing-top .list-box.col-sm-6.col-lg-4.col-xl-3 {
        max-width: none;
    }
}

@media screen and (min-width: 1904px) {
   #portal-container:has(.recommended:not(.hidden)) #listing-main .list-box.col-sm-6.col-lg-4.col-xl-3,#portal-container:has(.recommended:not(.hidden)) #listing-top .list-box.col-sm-6.col-lg-4.col-xl-3 {
        max-width: 334px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1288px) {
  #portal-container:has(.recommended:not(.hidden)) #portal-menu ul li {
        flex: none; 
    }
}



@media screen and (min-width: 1904px) {

  .list-box.list-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .list-box.list-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .container {
    max-width: 1390px;
  }
  #portal-menu ul li {
    width: 11.111%;
  }
  #portal-menu ul li a {
    min-width: 130px;
    max-width: 140px;
  }
  #portal-menu ul li:last-child {
    padding-right: 0;
  }
  .background-overlay::before {
    height: 200px;
    background-image: linear-gradient(
      rgba(250, 249, 249, 0) 0%,
      rgba(250, 249, 249, 1) 100%
    );
  }
}

@media screen and (min-width: 1466px) and (max-width: 1762px) {
 #portal-container:has(.recommended:not(.hidden)) #portal-menu ul li {
    flex: 0 0 14.28%;
  }
 #portal-container:has(.recommended:not(.hidden)) #portal-menu ul li.menu-6 {
    flex: 0 0 14.28%;
  }
  .background-overlay::before {
    height: 200px;
    background-image: linear-gradient(
      rgba(250, 249, 249, 0) 0%,
      rgba(250, 249, 249, 1) 80%,
      rgba(250, 249, 249, 1) 100%
    );
  }
}

@media screen and (min-width: 1043px) and (max-width: 1465px) {
 #portal-container:has(.recommended:not(.hidden)) #portal-menu ul li {
    flex: 0 0 25%;
  }
 #portal-container:has(.recommended:not(.hidden)) #portal-menu ul li.menu-5 {
    flex: 0 0 33.333333%;
  }
 #portal-container:has(.recommended:not(.hidden)) #new-slider-panel {
    margin-top: 10%;
  }
 #portal-container:has(.recommended:not(.hidden)) #portal-content h1 {
    font-size: 21px;
  }
#portal-container:has(.recommended:not(.hidden))  #portal-content h3 {
    font-size: 20px;
  }
}
/*
@media screen and (max-width: 1049px) {
    .list-box{
        width: 100%;
    }
    .list-box .banner-ratio {
        padding-bottom: 14.5%;
    }

    .row-listing > .col, .row-listing > [class*="col-"]{ 
        padding: 0 4px 4px 4px !important;
    }
}
*/