/*form styles*/

.row.ror-toggle-bar {
    text-align: left;
    background: #eaf8ff;
    margin: 10px auto !important;
    border-radius: 5px;
    padding: 15px 0px;
}
.onoffswitch {
      position: relative;
      width: 60px;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
    }
    
    .onoffswitch-checkbox {
      display: none !important;
    }
    
    .onoffswitch-label {
      display: block !important;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid #999999;
      border-radius: 20px;
      margin: 0;
    }
    
    .onoffswitch-inner {
      display: block;
      width: 200%;
      margin-left: -100%;
      transition: margin 0.3s ease-in 0s;
    }
    
    .onoffswitch-inner:before,
    .onoffswitch-inner:after {
      display: block;
      float: left;
      width: 50%;
      text-align: left;
      height: 20px;
      padding: 0 0 0 0;
      line-height: 19px;
      font-size: 12px;
      color: white;
      font-family: Trebuchet, Arial, sans-serif;
      font-weight: bold;
      box-sizing: border-box;
    }
    
    .onoffswitch-inner:before {
      content: "Yes";
      padding-left: 8px;
      background-color: #000000;
      color: #FFFFFF;
      border-radius: 20px;
    }
    
    .onoffswitch-inner:after {
      content: "No";
      padding-right: 10px;
      background-color: #EEEEEE;
      color: #999999;
      text-align: right;
      border-radius: 20px;
    }
    
    .onoffswitch-switch {
      display: block;
      width: 18px;
      margin: 6px;
      background: #FFFFFF;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 26px;
      border: 2px solid #999999;
      border-radius: 20px;
      transition: all 0.3s ease-in 0s;
    }
    
    .onoffswitch-switch:hover {
      background-color: #999999;
      color: #999999;
    }
    
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
      margin-left: 0;
    }
    
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
      right: 0px;
    }
    
  .add-btn-block {
    text-align: center;
    display: block;
    background: #dddcdc;
    margin: auto !important;
    padding: 10px 0px;
    border-radius: 5px;
}
span.modal-btn.settings i {
    padding: 0;
}
.tips-content ol {
    padding: 0px 20px;
}
.sortable-accordions  .placeholder{
	background: #f0f0f0;
	border:1px dashed #ddd;
}
.sortable-accordions .drop-acc{
	position:relative;
	text-align: left;
    padding: 10px 10px;
    border-bottom: 1px solid;
}
.acc-repeater-trig .col-md-4 span {
    font-size: 25px;
    color: #888787;
    padding: 0px 5px;
}
.acc-repeater-trig .col-md-4 {
    text-align: right;
    padding: 8px 8px;
}
.move-acc-rep{
    cursor: move;
}
.delete-acc-rep, .edit-acc-rep, .acc-expand{
    cursor: pointer;
}
  #msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
  }

  #msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: relative;
  }

  /*Hide all except first fieldset*/
  #msform fieldset:not(:first-of-type) {
    display: none;
  }

  /*inputs*/
  #msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 13px;
  }

  #msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ee0979;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
  }

  /*buttons*/
  #msform .action-button {
    width: auto;
    min-width: 110px;
    max-width: 100%;
    background: #663eae;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 5px;
    cursor: pointer;
    padding: 12px 18px;
    margin: 10px 5px;
    border: 1px solid;
    line-height: 1.2;
  }

  #msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;
  }

  #msform .action-button-previous {
    width: auto;
    min-width: 110px;
    max-width: 100%;
    background: #9838a9;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 5px;
    cursor: pointer;
    padding: 12px 18px;
    margin: 10px 5px;
    border: 1px solid;
    line-height: 1.2;
  }

  #msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
  }

  /*headings*/
  .fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
  }

  .fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
  }

  /*progressbar*/
  #progressbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    counter-reset: step;
  }

  #progressbar li {
    flex: 1 1 0;
    position: relative;
    padding: 48px 8px 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
  }

  #progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 36px;
    height: 36px;
    line-height: 32px;
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    background: white;
    border: 2px solid #d7deea;
    border-radius: 999px;
    margin: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  /*progressbar connectors*/
  #progressbar li:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #d7deea;
    position: absolute;
    left: -50%;
    top: 17px;
    z-index: 0;
  }
  #progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
  }

  /*marking active/completed steps green*/
  /*The number of the step and the connector before it = green*/
  #progressbar li.active:before, #progressbar li.active:after {
    background: #ee0979;
    border-color: #ee0979;
    color: white;
  }

  @media (max-width: 767px) {
    #progressbar {
      gap: 8px;
    }

    #progressbar li {
      padding: 42px 4px 0;
      font-size: 10px;
      letter-spacing: 0;
    }

    #progressbar li:before {
      width: 30px;
      height: 30px;
      line-height: 26px;
      font-size: 12px;
    }

    #progressbar li:after {
      top: 14px;
    }
  }


  /* Not relevant to this form */
  .dme_link {
    margin-top: 30px;
    text-align: center;
  }
  .dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #ee0979;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
  }

  .dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
  }

  fieldset {
    position: relative !important;
  }





  .container-fluid.main-cv-form-sec {
    background: #fff;
    background-image: none;
    padding-bottom: 50px;
    background-size: contain;
  }








  .file-upload {
    background-color: #ffffff;
    margin: 0 auto;
    padding: 8px;
    border: 2px dashed #b3b3b3;
    height: 131px;
  }

  .file-upload-btn {
    width: 100%;
    margin: 0;
    color: #fff;
    background: #1FB264;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #15824B;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
  }

  .file-upload-btn:hover {
    background: #1AA059;
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
  }

  .file-upload-btn:active {
    border: 0;
    transition: all .2s ease;
  }

  .file-upload-content {
    display: none;
    text-align: center;
  }

  .file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
  }

  .image-upload-wrap {
    margin-top: 0px;
    border: 0px dashed #1FB264;
    position: relative;
    font-size: 8px;
  }

  .image-dropping,
  .image-upload-wrap:hover {
    background-color: #1FB264;
    border: 4px dashed #ffffff;
  }

  .image-title-wrap {
    padding: 0 0px 0px 0px;
    color: #222;
    font-size:9px;
  }

  .drag-text {
    text-align: center;
  }

  .drag-text h3 {
    font-weight: 100;
    text-transform: uppercase;
    color: #15824B;
    padding: 60px 0;
  }

  .file-upload-image {
    margin: auto;
    padding: 10px;
    height: 70px;
  }
  button.file-upload-btn {
    display: none;
  }
  .remove-image {
    width: auto;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 5px;
    border-radius: 4px;
    border-bottom: 0px solid #b02818;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
  }

  .remove-image:hover {
    background: #c13b2a;
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
  }
  .image-dropping, .image-upload-wrap:hover {
    background-color: #653fae00 !important;
    border: 4px dashed #ffffff;
  }
  .remove-image:active {
    border: 0;
    transition: all .2s ease;
  }

  .camera-image {
    font-size: 30px;
    position: absolute;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    opacity: 0.4;
  }

  .form-group {
    text-align: left;
  }

  .rgt {
    width: 49%;
    float: right;
  }

  .lft {
    width: 50%;
    float: left;
    clear: both;
  }

  .extra-personal-fields {
    display: flow-root;
    width: 100%;
  }

  .extra-personal-fields .js-personal-date {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .ui-datepicker {
    z-index: 9999 !important;
  }

  .panel-default {
    clear: both;
  }

  h4.panel-title {
    TEXT-ALIGN: LEFT;
  }









  fieldset.remove-bg {
    background: none !important;
    box-shadow: none !important;
  }
  .panel-default>.panel-heading {
    color: #333;
    background-color: #ffffff !important;
    border-color: #ddd;
  }
  .panel-group {
    display: inline-block;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 30px 0px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  }
  .panel-default {
    border-color: #ddd;
    border: 0px;
  }
  h4.panel-title a {
    font-size: 16px;
  }
  h4.panel-title i {
    padding-right: 10px;
    font-size: 23px;
    padding-left: 15px;
  }

  h4.panel-title a:hover {
    text-decoration: none;
  }

  span.settings {
    float: right;
  }

  i.fa.fa-cog {
    transition: transform 1s;
  }
  i.fa.fa-cog:hover {
    transform: rotate(360deg);
    cursor: pointer;
  }

  ul.move-it {
    list-style: none;
  }
  a.reorder-down {
    background-color: white;
    padding: 2px;
    display: grid;
    margin-top: 2px;
  }
  a.reorder-up {
    background-color: white;
    padding: 2px;
    display: grid;
  }
  .move-main {
    position: absolute;
    right: 8px;
    border-radius: 6px;
  }
  .move-main a:hover {
    text-decoration: none;
  }

  a.tips-btn, a.save-btn {
    border: .4px solid #525252;
    padding: 4px 9px;
    cursor: pointer;
  }
  span.tips {
    float: left;
  }
  span.save {
    float: right;
  }
  .save-tips {
    position: relative;
    top: 20px;
    width: 100%;
    clear: both;
  }
  a.tips-btn:hover, a.save-btn:hover
  {
    background-color:#693faf;
    color:#fff;
    text-decoration: none;
  }


  .first-step .panel-group {
    display: inline-block;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0px 0px;
    background: #f9f9f9;
    box-shadow: none;
  }

  .first-step .panel-default>.panel-heading {
    background-color: #e6e6e69e !important;
  }
  .modal-div {
    border-bottom: 1px solid #d6d6d6;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }
  .modal-body {
    padding: 30px;
  }
  button.close {
    color: #000 !important;
    opacity: 1;
    font-size: 26px;
    position: absolute;
    right: -15px;
    top: -13px;
    z-index: 999;
  }

  .switch-field {
   display: flex;
   margin-bottom: 10px;
   overflow: hidden;
 }

 .switch-field input {
   position: absolute !important;
   clip: rect(0, 0, 0, 0);
   height: 1px;
   width: 1px;
   border: 0;
   overflow: hidden;
 }

 .switch-field label {
   background-color: #e4e4e4;
   color: rgba(0, 0, 0, 0.6);
   font-size: 14px;
   line-height: 1;
   text-align: center;
   padding: 8px 16px;
   margin-right: -1px;
   border: 1px solid rgba(0, 0, 0, 0.2);
   box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
   transition: all 0.1s ease-in-out;
 }

 .switch-field label:hover {
   cursor: pointer;
 }

 .switch-field input:checked + label {
   background-color: #a5dc86;
   box-shadow: none;
 }

 .switch-field label:first-of-type {
   border-radius: 4px 0 0 4px;
 }

 .switch-field label:last-of-type {
   border-radius: 0 4px 4px 0;
 }

 .f-set:first-of-type a>i.fa.fa-minus-circle, .f-set:first-of-type a.dec-btn:before {
  display:none;
}

a.fac-btn, a.dec-btn {
  font-size: 20px;
  color:#636060;
}
a.fac-btn:hover, a.dec-btn:hover
{
  text-decoration: underline;
}
a.fac-btn {
  float: right;
  padding-right: 10px;
}

a.dec-btn {
  float: right;
}

.rep-sec .panel-group {
  margin-top: 20px;
}
.f-set:first-of-type .panel-group
{
  margin-bottom:30px;
}
.rep-sec .panel-group {
  background: #efefef;
  box-shadow: none;
  padding: 0px 0px;
  margin: 0 0 0px 0;
}
.rep-sec .panel-default>.panel-heading {
  background-color: #ececec !important;
}
.rep-sec .panel .in>.panel-body {
  background-color: whitesmoke;
  padding-bottom: 40px;
}
.rep-sec h4.panel-title a {
  font-size: 13px !important;
}

@media(max-width:767px)
{
  #msform fieldset {
    
    width: 100% !important;
    margin: 0 0% !important;
    padding: 15px 10px !important;
  }  

  .container-fluid.main-cv-form-sec
  {
    padding:0 !important;
  }
  .file-upload {
    margin-bottom: 18px;
  }
  .move-main {

    display: none;
  }
  h4.panel-title a {
    font-size: 12px;
  }
  h4.panel-title i {
    font-size: 19px;
    position: relative;
    top: 2px;
  }

  #msform .action-button,
  #msform .action-button-previous {
    display: block;
    width: 100%;
    margin: 10px 0 0;
  }
}

.cv-form-layout {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) minmax(170px, 220px);
  gap: 28px;
  align-items: start;
}

.cv-form-layout--no-rails {
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr);
}

.cv-form-layout__main {
  min-width: 0;
}

.cv-form-layout--no-rails .cv-form-layout__main {
  grid-column: 1 / -1;
}

.cv-form-layout__main #msform fieldset,
.cv-download-page-shell fieldset {
  width: 100%;
  margin: 0;
}

.cv-side-rail {
  min-width: 0;
}

.cv-side-rail__inner {
  position: sticky;
  top: 108px;
}

.cv-side-rail__label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.cv-side-rail__slot,
.cv-download-inline-ad {
  width: 100%;
  min-height: 280px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.cv-side-rail__slot {
  min-height: 600px;
}

.cvhazir-ad-slot--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.cv-download-page-shell {
  max-width: 980px;
  margin: 30px auto 0;
}

.cv-download-page-shell #progressbar {
  margin-bottom: 24px;
}

@media(max-width:1279px) {
  .cv-form-layout {
    grid-template-columns: 1fr;
  }

  .cv-side-rail {
    display: none;
  }
}
