.popup-form {
    font-size: 16px;
}

.popup-form #cancel-button {
    background-color: #f2f2f2;
    color: #000000;
    border-radius: 4px;
    width: 150px;
    border: none;
    height: 40px;
    cursor: pointer;
}

.popup-form #manual-address {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #365e1b;
    cursor: pointer;
}

.popup-form  label em {
    color: red;
    font-style: normal;
}

.popup-form .address_fields_wrapper {
    display: none;
}

.popup-form {
    text-align: left;
}

.popup-form label {
    width: 180px;
    text-align: right;
    display: inline-block;
    vertical-align: top;
    padding-top: 5px;
}

.popup-form select {
    font-size: inherit;
}

.popup-form  #company_address {
    text-align: left;
    margin-left: 20px;
    font-size: 16px;
    color: #716f6f;
    letter-spacing: 1.14px;
    font-weight: bold;
}

.popup-form input[type="text"].field-short,
.popup-form input[type="email"].field-short,
.popup-form select.field-short {
    width: 150px;
}

.popup-form input[type="text"].field-long,
.popup-form input[type="email"].field-long,
.popup-form select.field-long {
    width: 300px;
}

.popup-form input[type="text"].field-tiny,
.popup-form input[type="email"].field-tiny,
.popup-form select.field-tiny {
    width: 120px;
}

.popup-form select.dropdown-short {
    width: 200px;
}

.popup-form select.dropdown-long {
    width: 320px;
}

.popup-form .submits-wrapper {
    text-align: center;
}

.popup-form .address-wrapper {
    display: none;
}

.popup-form .post_code_auto-wrapper {
    display: inline-block;
}

.popup-form label[for=company_number] {
    line-height: 1;
}

.popup-form #find-address {
    height: 40px;
    display: inline-block;
    width: 120px;
    margin-left: 10px;
    border-left: 0;
}
/* Styling of form for old pages without new modern-layout.css style */
.popup-form  select,
.popup-form  input[type="text"],
.popup-form  input[type="email"]
{
    height: 40px;
    border: solid 1px #b3b3b3;
    background-color: #ffffff;
}

.popup-form input[type="text"], .popup-form input[type="email"] {
    box-sizing: border-box;
    padding-left: 10px;
}

.popup-form input,
.popup-form textarea,
.popup-form select,
.popup-form label {
    margin: 10px 0;
    color: #1a1919;
}

/* Styling for select2 selectors */
.popup-form .select2-selection {
    height: 40px !important;
    border-radius: 0;
}

.popup-form .select2-selection__rendered {
    line-height: 40px !important;
}

.popup-form .select2-selection__arrow {
    height: 40px !important;
    width: 40px !important;
}

.popup-form input[type="submit"] {
    border-radius: 4px;
    width: 150px;
    font-size: 16px;
    background-color: #60a632;
    color: #ffffff;
    height: 40px;
    margin: 10px 5px;
    border-left: 0;
    cursor: pointer;
}

.popup-form input[type="submit"]:hover {
    background-color: #90d24b;
}

.popup-form button {
    background-color: #60a632;
    color: #ffffff;
    width: 120px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.popup-form  div.element {
    display: inline-block;
    margin-left: 0;
    padding-left: 20px;
}

.popup-form .element {
    border-top: unset;
    margin-top: 0;
}

.popup-form .submits-wrapper {
    margin-top: 10px;
}

.popup-form .submits-wrapper::before {
    content: '';
    border-bottom: solid 1px #cccccc;
    width: 600px;
    position: relative;
    display: block;
    height: 0;
}

.popup-form .submits-wrapper .element {
    border-top: none;
    margin-top: 0;
}
