@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", serif;
}

.container{
  min-height: calc(100% - 263px) !important;
  margin-bottom: 0px !important;
}
.alert-danger {
  background-color: #ffd1d1 !important;
  border-color: #f9f1f1;
  color: #000;
  margin: 15px;
}
.alert-danger ul li a {
  color: #701515 !important;
}
.validation-header{
  display: none;
}

nav{
  position: relative;
  /* right: 0;
  margin-left: auto; */
}
nav .wrapper{
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .nav-links{
  display: inline-flex;
  margin: auto;
}
.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #555;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 9px 15px;
  /* border-radius: 5px; */
  transition: all 0.3s ease;
}
.nav-links li a:hover{
  background: #339fd6;
  color:#fff;
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #fff;
  width: 190px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: #242526;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 45px;
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
  padding: 0 20px;
}
.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: #f2f2f2;
}
.wrapper .btn{
  color: #555;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

@media (max-width:767px){
  .header-sec {
  padding: 10px !important;
  }
  .img-card{
    width: -webkit-fill-available !important;
  }
}

@media(max-width:480px){
  .container.header-sec {
  flex-wrap: wrap;
}
.user-login {
  width: 100%;
}
.menu {
  right: 16px;
}
}

@media screen and (max-width: 991px) {
  .nav-links .drop-menu {
  background: #1c80b3;
  }
  .menu-sec {
  margin-left: auto;
}
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    /* background: #242526; */
    background: #339fd6;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
    z-index: 9;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
    color:#fff;
  }
  .nav-links li a:hover {
  background: #1c80b3;
  color: #fff;
}
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    /* border-radius: 5px; */
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    /* background: #3A3B3C; */
    background: #1c80b3;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}
nav input{
  display: none;
}

.header-sec {
  display: flex;
  align-items: center;
  padding: 10px 0;
  justify-content: space-between;
}
.main-header {
  background: #fff;
  box-shadow: 0px 0px 5px #555;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.logo img {
  height: 60px;
}



/* profile menu */

.profile {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: end;
    font-size: 16px;
}

.profile h3 {
    text-align: end;
    line-height: 1;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
}

.profile p {
    line-height: 1;
    font-size: 14px;
    opacity: .6;
}

.profile .img-box {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.profile .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #d9d9d9;
}

/* menu (the right one) */

.menu {
    position: absolute;
    top: calc(100% + 0px);
    /* right: 16px; */
    width: 200px;
    min-height: 100px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: 300ms;
}

.menu::before {
    /* content: '';
    position: absolute;
    top: -10px;
    right: 14px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    z-index: -1; */
}

.menu.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* menu links */

.menu ul {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background: #fff;
}

.menu ul li {
    list-style: none;
}

.menu ul li:hover {
    background: #eee;
}

.menu ul li a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  gap: 6px;
  font-size: 16px;
}

.menu ul li a i {
    font-size: 1.2em;
}

.desktop-item:after, .mobile-item:after{
  content: "\f107";
   font: normal normal normal 20px/1 FontAwesome;
}


.desktop-item:hover:after, .mobile-item:hover:after {
  transition: 0.9s;
  transform: rotateY(180deg);
}

.profile::after{
  content: "\f107";
   font: normal normal normal 20px/1 FontAwesome;
}

.main-footer {
  background-color: #000;
    width: 100%;
    padding: 20px 0;
}
body > .main-footer {
  margin-top: 20px;
}

.footer-sec{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.address-sec {
  text-align: center;
  width: 60%;
  color: #777 !important;
}

.address-sec a {
  color: #fff;
  font-size: 14px;
}
.address-sec a:hover{
  color:#339fd6;
  text-decoration: none;
}

.footer-sec img {
  height: 100px;
}
.copyright {
    font-size: 16px;
    color: #777 !important;
}

@media (max-width:480px){
  .footer-sec {
  flex-direction: column;
}
.address-sec {
  width: 100%;
  margin: 20px auto;
}
}

table, .tablelayout {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.tablelayout th, .tablelayout td {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

table > thead > tr > th,.tablelayout > thead > tr > th {
    background: #319ed6 !important;
    color: #fff;
    line-height: 1.5;
}

.sectionpanel {
    box-shadow: 0 2px 15px rgb(0 136 204 / 15%);
    border: none;
    margin-top: 15px;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #f2f2f2;
}

.sectionpanelheader {
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    color: #0088cc;
}

.sectionpanelbody {
    padding: 15px 15px 30px 15px;
}

.form-element {
    position: relative;
    min-width: 0;
    margin-bottom: 15px;
}

.img-group {
    margin-top: 8px;
}

.img-card {
    border: 1px solid #d4d4d4;
    padding: 10px 15px 10px 15px;
    border-radius: 8px;
    vertical-align: middle;
    width: calc(25% - 20px);
    text-align: center;
    transition: .5s;
    text-decoration: none;
    color: #444;
    font-size: 16px;
    height: 260px;
    position: relative;
    display: inline-block;
    margin: 0 20px 15px 0;
}

.img-card a {
    text-decoration: none !important;
    cursor: pointer;
}

    .img-card:after {
        border: 4px solid transparent;
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        right: 0;
        border-radius: 8px;
    }

.img-card::selection {
    background: rgb(216, 230, 254);
    text-shadow: none;
    color: rgb(68, 68, 68);
}

.picklist.horizontal input[type=radio] {
    margin-right: 0.5rem !important;
}

.picklist.horizontal label {
    margin-right: 1.1rem !important;
}

.picklist.vertical input[type=radio] {
    margin-right: 0.5rem !important;
}

.picklist.vertical label {
    display: contents;
}

.success-message {
    border: 1px solid #bee5eb;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin: 10px 0;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.error-message {
    border: 1px solid #f5c6cb;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin: 10px 0 20px;
    color: #721c24;
    background-color: #f8d7da;
}

.form-subgrid-heading {
    border-bottom: none;
}

table > thead > tr > th > a, .tablelayout > thead > tr > th > a, 
table > thead > tr > th > a:hover, .tablelayout > thead > tr > th > a:hover, 
table > thead > tr > th > a:focus, .tablelayout > thead > tr > th > a:focus {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}