@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;600;700&display=swap');

dialog#modal{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .25);
    z-index: 1000000000;
    display: none;
    border: 0;
    align-items: center;
    justify-content: center;
		padding: 10px;
}

dialog#modal > .modal-container{
    max-width: 380px;
    width: 100%;
    padding: 10px;
    max-height: 80%;
    background: #EEF0F9;
    opacity: 0;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, .125);
    overflow: auto;
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px;
    color: #3c4d5d;
}

dialog#modal > .modal-container button {
    /* border-radius: 100px; */
    /* padding: 10px 20px !important; */
    /* background: #777AF2 !important; */
    /* margin-top: 10px; */
}

dialog#modal > .modal-container > .mod-title{
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3c4d5d;
}

dialog#modal > .modal-container > .mod-content{
    display: block;
    max-height: 400px;
    overflow: auto;
    word-break: break-word;
    font-size: .8em;
    color: #3c4d5d;
}

.info {
    border: 1px solid;
    padding: 3px; 
    position: relative;
    border-radius: 100px;
    color: #ffffff;
    width: 20px;
    height: 20px;
    font-size: .80em;
    vertical-align: middle;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.info > .info-box {
    position: absolute;
    right: calc(100% + 5px);
    top: 0;
    padding: 10px 20px;
    background: #ffffff;
    width: 350px;
    z-index: 99999;
    display: none;
    text-align: center;
    color: #212529 !important;
    box-shadow: rgba(0,0,0,0.125) 2px 2px 2px;
    font-weight: 300;
    line-height: 1.233em;
    white-space: normal;
}

.info:hover > .info-box {
    display: block;
}

.info.fas.fa-info.label {
  position: relative;
  display: inline-block;
}

.advancecontent {
  background-color: #fff;
  cursor: pointer;
  padding: 10px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  width: fit-content;
  color: #000000;
}

.btns {  
margin: 250px auto 50px;  
width: 600px;  
} 

.modal-dialog {
  max-width: 600px
}
.nt-checkbox {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.nt-checkbox > .selection-box {
    width: 22px;
    height: 22px;
    background: white;
    display: inline-block;
    float: left;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
}
.nt-checkbox > input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0!important;
    height: 0!important;
    min-width: 0;
    min-height: 0;
}
.nt-checkbox > .selection-box:before {
    content: " ";
    width: 0%;
    height: 0%;
    position: absolute;
    background: #777AF2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .125s all linear;
}
.nt-checkbox * {
    transition: .125s all linear;
}
.nt-checkbox > .selection-box.missing {
    width: 22px;
    height: 22px;
    background: pink;
    border: 1px solid red !important;
    display: inline-block;
    float: left;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
}
.nt-checkbox:hover > input:not(:disabled) ~ .selection-box {
    border: 2px solid #777AF2;
}
.nt-checkbox > input:checked ~ .selection-box:before {
    content: " ";
    width: 70%;
    height: 70%;
    position: absolute;
    background: #777AF2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .125s all linear;
}

.nt-radio {
    position: relative;
    vertical-align: middle;
    max-width: 100%;
  }

.nt-radio > input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0!important;
    height: 0!important;
    min-width: 0;
    min-height: 0;
} 

.nt-radio > .selection-box {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    float: left;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    flex: none;
}

.nt-radio > .selection-box.missing {
    width: 22px;
    height: 22px;
    background: pink;
    border: 1px solid red;
    border-radius: 50%;
    display: inline-block;
    float: left;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
}

.nt-radio:hover > input:not(:disabled) ~ .selection-box {
    border: 2px solid #777AF2;
}

.nt-radio > .selection-box:before {
    content: " ";
    width: 0%;
    height: 0%;
    position: absolute;
    background: #777AF2;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .125s all linear;
}

.nt-radio > input:checked ~ .selection-box:before {
    content: " ";
    width: 70%;
    height: 70%;
    position: absolute;
    background: #777AF2;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .125s all linear;
}

.nt-radio * {
    transition: .125s all linear;
}

.salarycalculator {
    max-width: 1000px !important;
    background: linear-gradient(90deg, #777AF2, #A3A9F1);
    color: white;
    padding: 3em;
    border-radius: 1em;
    margin: 0 auto !important;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    color: white;
    font-size: .8em;
}

#enterSalary {
  font-weight: normal;
  font-size: 1rem;
}

.steps {
    font-family: 'Albert Sans', sans-serif;
    font-size: 25px;
    font-weight: 300;
}

.inlineoption{
    margin-top: 22px;
}

.salarycalculator .pound {
    display: flex;
}

.pound > span:before  {
    content: "\00a3";
    display: block;
    float: left;
    color: #777AF2 !important;
    background-color: #ffffff;
    width: 34px;
    aspect-ratio: 1 / 1;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #aaa;
    min-height: 34px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    width: 100%;
}

form > div.missing {
    color: #c0392b;
    font-weight: bold;
    display: block;
}

#periodofemployment {
	text-align: right;
}

input.missing[type=text], 
input.missing[type=time], 
input.missing[type=email], 
input.missing[type=password], 
input.missing[type=number], 
input.missing[type=date],
input.missing[type=time],
input.missing[type=file],
input.missing[type=telephone],
select.missing,
textarea.missing {
    background: pink !important;
    border: 1px solid red !important;
}
.payfrequency {
    color: rgba(76,37,67,.7) !important;
}

.tablecolor {
    background: #ffffff;
    color: #4A4A4A
}

@media (max-width: 1199px) {
    table:not(.archive) tr {
        display: block;
        margin-bottom: .625em;
    }
    table:not(.archive) tr:nth-child(odd) {
        /*background: #eee !important;*/
        /* color: inherit !important; */
    }
    table:not(.archive) thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    table:not(.archive) td {
        display: block;
        text-align: right !important;
        padding-left: 90px !important;
    }
    table:not(.archive) th {
        border-bottom: 1px solid #ddd !important;
        display: block;
        text-align: right !important;
        padding-left: 90px !important;
    }
    table:not(.archive) td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        margin-left: -85px;
    }
    table:not(.archive) th:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        margin-left: -85px;
    }
    table:not(.archive) thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .result {
        margin-right: 50px;
    }
    div#ack {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 752px) {
    .salarycalculator {
        /* margin: 0!important; */
        margin-left: 0 !important;
    }
}
@media screen and (max-width: 600px) {
    #sendemail {
        margin-top: 15px!important;
    }
    #sendholidayemail {
        margin-top: 15px!important;
    }
    .info > .info-box {
        padding: 10px 10px;
        width: 240px;
    }     
    .steps {
        font-family: 'Montserrat', sans-serif;
        font-weight: normal;
        margin-top: 10px;
    }
    .inlineoption{
        margin-top: 0;
    }
    .info.fas.fa-info.label {
    position: relative;
    display: inline-block;
    }
    table td:before {
        content: attr(data-label);
        float: left;
        text-transform: lowercase;
        font-weight: bold;
    }
    table thead {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    #enterSalary {
        width: 90%!important;
    }
    #frequency{
        width: 100%!important;
    }
    #taxCode{
        width: 100%!important;
    }
    /* .pound > span:before{
        width: 10%!important;
    } */
    .mobilewidth {
        text-align: center!important;
    }
    .taxcodeoption {
        width: 100%;
    }
    .result {
        margin-right: 0 !important;
    }
    #periodofemployment {
        text-align: left;
    }
    .salarycalculator {
        padding: 0;
    }
}

.resulttext {
    text-align: center;
    color: #ffffff;
    color: #ffffff; 
    text-align:center;
}

.bulletlist {
    list-style-position: outside;
    padding-left: 15px;
}

.salarycalculator {
    /* margin: 0 !important; */
    padding: 75px;
}

.salarycalculator .form-group > div:not(:first-of-type) {
    margin-top: 10px;
}

.salarycalculator input,
.salarycalculator select {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1em !important;
}

.form-check.form-check-inline {
    margin-top: 0 !important;
    vertical-align: top;
}

.salarycalculator .fa-info,
.holidaycalculator .fa-info {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='192' height='512' style=''%3e%3crect id='backgroundrect' width='100%25' height='100%25' x='0' y='0' fill='none' stroke='none'/%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cg class='currentLayer' style=''%3e%3ctitle%3eLayer 1%3c/title%3e%3cpath d='M160%2c448.58479529619217 h-32 V224.58479529619217 c0%2c-17.69 -14.33%2c-32 -32%2c-32 L32%2c192.58479529619217 c-17.67%2c0 -32%2c14.31 -32%2c32 s14.33%2c31.1 32%2c31.1 h32 v192 H32 c-17.67%2c0 -32%2c14.31 -32%2c32 s14.33%2c32 32%2c32 h128 c17.67%2c0 32%2c-14.31 32%2c-32 S177.7%2c448.58479529619217 160%2c448.58479529619217 zM96%2c128.58479529619217 c26.51%2c0 48%2c-21.49 48%2c-48 S122.5%2c32.59479529619217 96%2c32.59479529619217 s-48%2c21.49 -48%2c48 S69.49%2c128.58479529619217 96%2c128.58479529619217 z' id='svg_1' class='' stroke='none' fill='white' fill-opacity='1'/%3e%3c/g%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20%;
}

.salarycalculator .form-row {
    display: flex;
}

.salarycalculator .form-group > label:first-of-type {
    display: block;
}

.salarycalculator .form-check.form-check-inline {
    display: inline-block;
}

.salarycalculator .form-group:not(#form-group) > .form-check.form-check-inline:not(:first-of-type) {
    margin-left: 10px;
}

.salarycalculator p {
    color: white;
}

.holidayCalc {
    max-width: 1000px !important;
    background: linear-gradient(90deg, #777AF2, #A3A9F1);
    color: white;
    padding: 3em;
    border-radius: 1em;
    margin: 0 auto !important;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    color: white;
}

/* .holidayCalc .form-row {
    display: flex;
} */

.holidayCalc input {
    color: initial;
}

.holidayCalc p {
    color: white;
}

.holidayCalc .hcresult .resulttext:first-of-type {
    font-size: 3em;
    /* height: auto; */
    display: block;
    padding: 10px;
    /* margin-top: 20px !important; */
    line-height: initial;
    margin-bottom: 0 !important;
}

.calculator .vc_btn3-container {
    margin-bottom: 0;
}

.salarycalculator label {
    font-weight: normal;
}

.salarycalculator {
    font-size: .8em;
}

@media (max-width: 992px) {
    .salarycalculator .form-row {
        display: block;
    }
    .salarycalculator .mobilewidth {
        display: block !important;
    }
    .salarycalculator .mobilewidth:not(:first-of-type) {
        margin-top: 40px;
    }
    .salarycalculator [class*="col-"] {
        float: none;
    }
    .salarycalculator .form-group {
        padding: 0 !important;
        margin: 0;
    }
    .salarycalculator .mobilewidth + br {
        display: none;
    }
    .salarycalculator .mobilewidth + br + .form-row {
        margin-top: 30px;
    }
    input[name=email] {
        margin-bottom: 10px;
    }
    .holidaycalculator > .form-group {
        flex-direction: column;
    }
    .mobilewidth > .form-row > .form-group:not(:first-of-type) {
        margin-top: 20px;
    }
    input#email, input#hcemail {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.d-inline-block {
    display: inline-block !important;
}

.ml-10px {
    margin-right: 10px;
}

.mr-10px {
    margin-right: 10px;
}

div#tax-code > label:not(:first-of-type),
div#form-group > label:not(:first-of-type) {
    margin-top: 10px;
}

.salarycalculator button {
    /* text-transform: uppercase; */
}

.salarycalculator li::before,
.holidaycalculator li::before {
    content: "\2022" !important;
    font-size: 2em !important;
    vertical-align: baseline !important;
    line-height: initial !important;
    margin-top: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

dialog#modal > .modal-container > .mod-content p {
    font-size: inherit;
    color: inherit;
}

dialog#modal > .modal-container > .mod-content p:not(:first-of-type) {
    margin-top: 10px;
}

dialog#modal > .modal-container > .mod-content ul {
    margin-top: 10px;
}

.salarycalculator table {
    border: 0 !important;
}
.salarycalculator table tr td:last-of-type {
    border: 0 !important;
}

input#email, input#hcemail {
    height: 48px;
    -webkit-appearance: none;
    appearance:  none;
    border: 0;
    background: transparent;
    color: white !important;
}

dialog#modal div#ack label {
    color: #3c4d5d;
    font-weight: normal;
    font-size: 0.9em;
}

.salarycalculator a[href] {
    text-decoration: underline;
    color: white;
}

dialog#modal div#ack label {
    color: #3c4d5d;
    font-weight: normal;
    font-size: 0.9em;
}

.salarycalculator label.steps {
    margin-bottom: 10px;
}

.holidaycalculator label {
    font-weight: normal;
    font-size: .8em;
}

.holidaycalculator label.steps {
    font-size: 25px;
}

.holidaycalculator input,
.holidaycalculator select {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1em !important;
    font-weight: normal;
    color: #3c4d5d;
}