<style>
  * {
        box-sizing: border-box;
      
    }
    section {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 5vh 5vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main {
        width: 70%;
    }
    h2 {  
      font-weight: 600;
        text-align: left;
    }

    .preference {
        color: #DCB929;
        text-align: left;
        margin: 0 !important;
        padding: 0;
        font-size: 30px;
        font-weight: 600;
        margin-top:40px !important;
    }

    .sub {
        text-align: left; color: #AAAAAA; width: 50%;
        font-size: 14px;
    }

    .main-sub {
        font-size: 14px; width: 50%;
    }

    .container {
        display: flex;
        flex-direction: column;
        text-align: left;
        width: 100%;
        padding: 3vh 0;
    }

    .radio {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .container2 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    

    button {
        border-radius: 50px;
        background-color: #DCB929;
        color: #fff;
        padding: 2.3vh 3vw;
        font-weight: 600;
        font-size: 18px;
        align-self: center;
        border: none;
        letter-spacing: 0.9px;
    }

    .btn_container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5vh 0;
    }

    /*------------------------------------ homanscss css start ---------------------------------------------*/

    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    color: #596674;
    line-height: 1.4;
    font-family: 'Montserrat', work sans;
    font-size: 14px;
    background-color: #AAAAAA;
    min-height: 100vh;
  }
  
  
  .navbar,
  .additional-bar {
    position: relative;
    min-height: 50px;
    background-color: #fff;
  }
  
  .logo {
    width: 200px;
    height: auto;
    transition: 0.3s all;
    padding: 20px;
  }
  
  .additional-bar {
    background-color: #505868;
    height: 70px;
  }
  
  .additional-bar img {
    width: 100%;
    height: 70px;
  }
  
  /* The section must grow to put footer on the bottom */
  
  
  
  .menu {
    border: 1px solid #e7e7e7;
    margin-right: 40px;
    max-width: 250px;
    background-color: #fff;
  }
  
  ul {
    list-style: none;
  }
  
  .menu ul a {
    text-decoration: none;
    color: #596674;
  }
  
  .menu ul li {
    display: flex;
    padding: 30px 40px;
    border-top: 1px solid #e7e7e7;
    font-weight: 400;
    cursor: pointer;
    transition: 0.3s all;
  }
  
  .menu ul li:first-child {
    border-top: none;
  }
  
  .menu ul li:hover {
    color: #0077c8;
    background-color: #1778b81f;
  }
  
  .menu ul li.active {
    color: #0077c8;
    background-color: #1778b81f;
    border-left: 12px solid #0077c8;
    padding-left: 28px;
  }
  
  i {
    font-size: 25px;
    padding: 7px;
  }
  
  h1 {
    margin: -35px 30px;
    position: absolute;
    color: #0077c8;
    font-weight: 400;
  }
  
  .pref-list,
  .prof-list {
    border: 1px solid #e7e7e7;
    background-color: #fff;
    margin-bottom: 15px;
    padding: 10px;
    width: 800px;
  }
  
  .pref-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
  }
  
  .pref-list li.assign-item {
     padding: 0 20px;
  }
  
  .pref-list li div {
    margin-right: 40px;
  }
  
  .prof-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px;
  }
  
  .prof-list div input.subKey {
   width: 215%;
  }
  
  .prof-list div,
  .pref-list div {
    width: 48%;
    margin: 10px 0;
    font-size: 12px;
  }
  
  
  .prof-list div:nth-of-type(3),
  .prof-list div:nth-of-type(6),
  .pref-list div {
    width: 100%;
  }
  
  .prof-list div:nth-of-type(8),
  .prof-list div:nth-of-type(9) {
    width: 20%;
  }
  
  .prof-list div input,
  .prof-list div select,
  .pref-list div select,
  .emailInput {
    width: 100%;
    margin: 5px -5px;
    border: 1px solid #e7e7e7;
    border-radius: 30px;
    padding: 5px;
    outline: none;
  }
  
  .pref-list div select,
  .emailInput {
    width: 106%;
  }
  
  .dateInput {
    height: 20px;
    width: 150px;
    border: none;
    color: #596674;
    outline:none;
  }
  
  input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url('https://cdn.iconscout.com/icon/premium/png-256-thumb/date-1695954-1437334.png');
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
  }
  
  .btn {
    padding: 5px 15px;
    border: 1px solid #e7e7e7;
    border-radius: 40px;
    height: 28px;
    float: right;
    margin: 5px;
    outline: none;
    text-decoration:none;
    cursor: pointer;
    transition: 0.3s all;
    background-color: #346092;
    color:white;
  }
  
  
  .clearfix {
    overflow: auto;
  }
  
  .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
  
  .btn:hover {
    opacity: 0.9;
  }
  
  
  .profBtn {
    background-color: white;
    color: #596674;
  }
  
  #txtarea {
   margin-top: 10px;
      padding: 5px;
      width: 500px;
      border: 1px solid #e7e7e7;
      border-radius: 10px;
   outline:none;
  }
  
  /* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 21px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
  
  input:checked+.slider {
    background-color: #0077c8;
  }
  
  input:focus+.slider {
    box-shadow: 0 0 1px #2196f3;
  }
  
  input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
    content: "IN";
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: #0077c8;
  }
  
  input#unsub:checked+.slider:before {
  content: "";
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  /* Select arrow style */
  
  select {
  
    /* styling */
    background-color: white;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    cursor: pointer;
  
    /* reset */
  
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  select.round {
    background-image:
      linear-gradient(45deg, transparent 50%, white 50%),
      linear-gradient(135deg, white 50%, transparent 50%),
      radial-gradient(#346092 65%, transparent 72%);
    background-position:
      calc(100% - 15px) calc(1em + 0px),
      calc(100% - 10px) calc(1em + 0px),
      calc(100% - .5em) .4em;
    background-size:
      5px 5px,
      5px 5px,
      1.5em 1.5em;
    background-repeat: no-repeat;
  }
  
  select.round:focus {
    background-image:
      linear-gradient(45deg, white 50%, transparent 50%),
      linear-gradient(135deg, transparent 50%, white 50%),
      radial-gradient(#596674 65%, transparent 72%);
    background-position:
      calc(100% - 10px) 0.8em,
      calc(100% - 15px) 0.8em,
      calc(100% - .5em) .4em;
    background-size:
      5px 5px,
      5px 5px,
      1.5em 1.5em;
    background-repeat: no-repeat;
  }
  
  #ms-list-2 button span {
  max-width: 600px;
  }
  
  footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    width: 100%;
    padding: 20px;
    background-color: #1c3f80;
    color: white;
  }
  
  .copyrights {
    font-weight: 100;
    margin-top: 60px;
  }
  
  .follow-us {
    margin: 20px 10px 5px 5px;
    width: 190px;
    height: 60px;
    
  }
  
  .follow-us h4 {
    margin: 5px 10px;
  }
  
  .follow-us i {
    margin-left: 3px;
    font-size: 20px;
    color: #c4e7ffb6;
    cursor: pointer;
    transform: 0.3s all;
  }
  
  .follow-us i:hover {
    color: #c4e7ffdc;
  }
  
  @media (max-width: 1199.98px) {
      body {
          font-size: 12px;
      }
  
      .pref-list,
      .prof-list {
          width: 600px;
      }
  
      .menu {
          width: 200px;
      }
   section {
      display: grid;
      justify-content: center;
      align-items: flex-start;
      /* margin: 80px; */
      min-height: 60vh;
      margin-top: 80px;
      margin-bottom: 80px;
   margin-left:0px;
   margin-right:0px;}
  }
  
  @media (max-width: 991.98px) {
      body {
          font-size: 10px;
      }
  
      .pref-list,
      .prof-list {
          width: 600px;
      }
  
      .menu {
          width: 200px;
      }
  
      .btn {
          padding: 3px 10px;
      }
  
      i {
          font-size: 20px;
      }
  
      .slider:before {
          height: 12px;
          width: 12px;
          left: 3px;
          bottom: 3px;
      }
  
      .switch {
          height: 18px;
          width: 38px;
      }
  
      input:checked+.slider:before {
          -webkit-transform: translateX(15px);
          -ms-transform: translateX(15px);
          transform: translateX(15px);
      }
   section {
      display: grid;
      justify-content: center;
      align-items: flex-start;
      /* margin: 80px; */
      min-height: 60vh;
      margin-top: 80px;
      margin-bottom: 80px;
   margin-left:0px;
   margin-right:0px;}
  }
  
  @media (max-width: 889.98px) {
      body {
          font-size: 8px;
      }
  
      .main-content {
          margin: 0 auto;
      }
  
      .pref-list,
      .prof-list {
          width: 480px;
      }
  
      .menu {
          display: none;
      }
   section {
      display: grid;
      justify-content: center;
      align-items: flex-start;
      /* margin: 80px; */
      min-height: 60vh;
      margin-top: 80px;
      margin-bottom: 80px;
   margin-left:0px;
   margin-right:0px;}
  }
  
  @media (max-width: 575.98px) {
      body {
          font-size: 10px;
      }
  
      .main-content {
          margin-right: 2px;
      }
  
      .prof-list div:nth-of-type(8), .prof-list div:nth-of-type(9) {
      width: 45%;
    }
  
   .prof-list div {
   width: 100%; 
   }
  
      h3 {
          font-size: 12px;
      }
  
      .pref-list,
      .prof-list {
          width: 400px;
      }
  
      .follow-us i {
          font-size: 16px;
      }
  input[type=date] {
    position: relative;
    text-indent: 15px;
    border: none;
    background: transparent;
  }
  
  .prof-list div input.subKey {
  width: 100%;
  }
  
  input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
  }
  
  input[type=date]:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f073";
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    color: #346092;
    font-size: 15px;
  }
  section {
      display: grid;
      justify-content: center;
      align-items: flex-start;
      /* margin: 80px; */
      min-height: 60vh;
      margin-top: 80px;
      margin-bottom: 80px;
   margin-left:0px;
   margin-right:0px;}
  }
  
  @media (max-width: 375.98px) {
      body {
          font-size: 10px;
      }
  
      h3 {
          font-size: 10px;
      }
  
      .container {
          width: 360px;
      }
  
      p {
          font-size: 10px;
      }
  
      .main-content {
          margin-right: 35px;
      }
  
   .prof-list div {
   width: 100%; 
   }
   .pref-list{width:100%;}
  
      .follow-us {
          width: 120px;
          height: 50px;
      }
  
      .follow-us i {
          font-size: 13px;
          margin-left: 2px;
      }
  
      .slider:before {
          height: 10px;
          width: 10px;
          left: 3px;
          bottom: 3px;
      }
  
      .switch {
          height: 15px;
          width: 34px;
      }
  
      input:checked+.slider:before {
          -webkit-transform: translateX(12px);
          -ms-transform: translateX(12px);
          transform: translateX(12px);
          font-size: 8px;
      }
  
      .dateInput {
          height: 15px;
      }
   section {
      display: grid;
      justify-content: center;
      align-items: flex-start;
      /* margin: 80px; */
      min-height: 60vh;
      margin-top: 80px;
      margin-bottom: 80px;
   margin-left:0px;
   margin-right:0px;}
  
  
  }

  /* ---------------------------------------- homanscss css end ---------------------------------------------- */


  input:checked+.slider {
    background-color: #CCCCCC;
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(23px);
    content: "";
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: #0077c8;
}

    

    input:checked+.slider:before {
        background-color: #29b56c;
    }
    @media only screen and (max-width: 1024px) {
        

        .sub {
            width: 60%;
        }

        .main-sub {
            width: 60%;
        }
    }

    @media only screen and (max-width: 768px) {
        .main {
            width: 85%;
        }

        .sub {
            width: 60%;
        }

        .main-sub {
            width: 70%;
        }
    }

    @media only screen and (max-width: 500px) {
        .main {
            width: 100%;
        }

        .sub {
            width: 100%;
            font-size: 15px;
        }

        .main-sub {
            display: none;
        }

    }
 
</style>