.sticky {
    position: -webkit-sticky;
    position: sticky;
}

.sticky:before,
.sticky:after {
    content: '';
    display: table;
}


#float_email_button {
    background-color: #264775;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 50px;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 22px;
    cursor: pointer;
    bottom: 0;
}

#float_email_button.sticky {

}

#float_email_button:before {
    content: url("../images/mail-icon.png");
    display: inline;
}

#dulux_pc_search_container > .full-width-container > .filter_form {
    background-color: #002c65;
}

#dulux_pc_search_container > .full-width-container > .grey_line {
    background-color: #f7f7f7;
}

#dulux_pc_search_results {
    margin-bottom: 30px;
}

@media (min-width: 1200px) {
    #dulux_pc_search_container > .full-width-container > .grey_line {
        min-height: 80px;
    }
    #dulux_pc_search_results {
        margin-top: -80px;
        margin-bottom: 80px;
    }
}

#dulux_pc_search_results a {
    color: #8c8c8c;
}

/*#dulux_pc_search_results span, #dulux_pc_search_results a {
    font-family: 'AvenirNextUltraLight', Arial, Helvetica, sans-serif
}*/

#dulux_pc_search_filters {
    position: relative;
    padding: 30px 0;
    color: #ffffff;
}

.loading-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background-color: #919ba2;
    opacity: 0.5;
    display: none;
}

.loading-overlay img {
    opacity: 0.5;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#dulux_pc_search_filters .loading-overlay img {
    max-height: 100%;
    margin: auto;
    display: block;
}

#dulux_pc_search_filters.loading .loading-overlay {
    display: block;
}

#dulux_pc_search_filters .large_label {
    font-size: 24px;
    margin-right: 15px;
    margin-left: 20px;
    font-weight: bold;
    top: 3px;
    position: relative;
    right: 5px;
}

#dulux_pc_search_results > .table {
    width: 100%;
}

#dulux_pc_search_results > .table > .table-head {
    background-color: #f7f7f7;
    color: #002c65;
}

#dulux_pc_search_results > .table > .table-head .table-header {
    padding: 10px 0;
    vertical-align: middle;
    font-weight: bold;
}

#dulux_pc_search_results > .table > .table-head .table-cell:first-child {
    text-align: center;
    padding-left: 10px;
}

#dulux_pc_search_results > .table > .table-head .table-cell:first-child, #dulux_pc_search_results > .table > .table-head .table-cell:last-child {
    padding-right: 10px;
}

#dulux_pc_search_results .select_to_send {
    text-align: center;
}

#dulux_pc_search_results .left_title {
    text-align: left;
}

#dulux_pc_search_results .right_title {
    text-align: right;
}

#dulux_pc_search_results > .table .table-row > .table-cell {
    padding-top: 15px;
}

#dulux_pc_search_results > .table .table-row > .table-cell:last-child {
    padding-top: 26px;
    padding-bottom: 26px;
}

#dulux_pc_search_results > .table .table-row {
    display: table-row;
}

#dulux_pc_search_results > .table .table-body {
    display: table-row-group;
}

#dulux_pc_search_results .product_type_header > div {
    display: inline-block;
    width: 50%;
}

#dulux_pc_search_results .product_type_header > div:first-child {
    text-align: right;
}

#dulux_pc_search_results .product_type_header > div:last-child {
    text-align: center;
}

#dulux_pc_search_results .reveal {
    text-decoration: underline;
}

.product_type_table {
    width: 100%;
  /*  min-width: 300px;*/
}

.product_type_table tr:nth-child(even) {
    background-color: #e9ebec;
}

/*.product_type_table th {
    visibility: hidden;
}*/

.product_type_table td {
    padding: 5px 10px;
}

.product_type_table tr td {
    width: 33%;
}

#dulux_custom_login_form {
    background-color: #062f5f;
    padding: 15px;
    color: #ffffff;
    position: relative;
}

#dulux_custom_login_form > div:first-child {
    padding-bottom: 30px;
}

@media (min-width: 485px) {
    #dulux_custom_login_form {
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    #dulux_custom_login_form {
        margin-top: 60px;
        margin-bottom: 60px;
        padding: 95px;
    }
    #dulux_custom_login_form > div:first-child {
        padding-right: 30px;
    }
}

/*#dulux_custom_login_form p, #dulux_custom_login_form div, #dulux_custom_login_form select, #dulux_custom_login_form input, #dulux_custom_login_form textarea, #dulux_pc_search_container select {
    font-family: 'AvenirNextUltraLight', Arial, Helvetica, sans-serif;
}*/

#dulux_custom_login_form h2 {
    color: #ffffff;
    padding-top: 0;
    text-align: left;
    font-weight: bold;
    margin: 0 0 30px 0;
}

@media (min-width: 1200px) {
    #dulux_custom_login_form h2 {
        font-size: 30px;
    }
}

#dulux_custom_login_form textarea {
    width: 100%;
    border: none;
    height: 238px;
    padding: 15px;
    margin-top: 15px;
    line-height: 2;
    resize: none;
}

#dulux_custom_login_form p {
    font-size: 16px;
    line-height: 1.7;
}

@media (min-width: 1200px) {
    #dulux_custom_login_form p {
        font-size: 20px;
    }
}

#dulux_custom_login_form label {
    font-size: 14px;
}

#dulux_custom_login_form #privacy_statement {
    margin-top: 30px;
}

#dulux_custom_login_form input[type=submit] {
    background-color: #2f9eca;
    border: none;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
}

#dulux_custom_login_form .block_label {
    display: block;
    margin-bottom: 15px;
}

#dulux_custom_login_form label[for=dulux_visitor_subscribe] {
    font-size: 14px;
    line-height: 1 !important;
}


#dulux_custom_login_form .dulux_login_row {
    margin-bottom: 15px;
    font-size: 18px;
}

#dulux_custom_login_form form > .dulux_login_row:first-child {
    margin-top: 0;
}

#dulux_custom_login_form .submit_button_container {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    width: 100%;
}

#dulux_custom_login_form .submit_button_container input {
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
}

#dulux_custom_login_form .submit_button_container .fa {
    display: none;
}

@media (min-width: 485px) {
    #dulux_custom_login_form .submit_button_container input {
        padding-right: 40px;
        padding-left: 25px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #dulux_custom_login_form .submit_button_container .fa {
        position: absolute;
        top: 50%;
        font-size: 20px;
        color: #ffffff;
        right: 20px;
        transform: translate(0, -50%) ;
        display: inline-block;
    }
}

#dulux_visitor_email {
    border: none;
    background: #ffffff;
    padding: 15px;
    width: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.dulux_custom_select {
    position: relative;
  /*  width: 100%;*/
    overflow: hidden;
    display: inline;
}

.dulux_custom_select select {
    border: none;
    background: #ffffff;
    box-sizing: content-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 15px 0;
    width: 200px;
    color: #002c65;
    font-weight: bold;
    text-indent: 15px;
}

.dulux_login_row .dulux_custom_select select {
    width: 100%;
}

.dulux_custom_select .fa-caret-down {
    position: absolute;
    right: 15px;
    color: #062f5f;
    font-size: 18px;
    top: 50%;
    transform: translate(0, -50%)
}

span.round_checkbox {
    display: inline-block;
    padding-right: 90px;
}

.round_checkbox input[type=checkbox], .square_checkbox input[type=checkbox] {
    display:none;
} /*span.round_checkbox */

.round_checkbox input[type=checkbox] + label, .square_checkbox input[type=checkbox] + label
{
    background: url("../images/checkbox-square.png") no-repeat;
    background-position: top left;
    padding-left: 30px;
    line-height: 50px !important;
    padding-top: 2px;
}

#dulux_pc_search_filters .round_checkbox input[type=checkbox] + label {
    background: url("../images/checkbox-square.png") no-repeat;
    padding-top: 2px;
}

.square_checkbox input[type=checkbox] + label {
    background: url("../images/checkbox-square.png") no-repeat;
    padding-top: 2px;
    margin-left: 0;
}

#dulux_pc_search_filters span.round_checkbox {
    padding-right: 40px;
}

.round_checkbox input[type=checkbox]:checked + label,  #dulux_pc_search_filters .round_checkbox input[type=checkbox]:checked + label, .square_checkbox input[type=checkbox]:checked + label{
    background-position: bottom left;
}

#dulux_pc_search_filters .dulux_custom_product_type {
    display: inline-block;
    float: right;
}

#dulux_pc_search_filters .dulux_custom_product_type label{
   font-size: 14px;
}

#dulux_pc_search_filters .dulux_custom_product_type label:first-child {
    margin-right: 30px;
}

#dulux_pc_search_container .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.5);
}

#dulux_pc_search_container .overlay.hidden, #float_email_button.hidden {
    display: none;
    visibility: hidden;
}

#send_email_popup {
    background-color: #002c65;
    width: 400px;
    height: 185px;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    padding: 30px;
}

#send_email_popup h2 {
    color: #fff;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
}

#send_email_popup .close-popup {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}

#send_email_popup #email_to_send {
    border: none;
    width: 70%;
    padding: 15px;
    margin-right: 0;
    background-color: #fff;
}

#send_email_popup #dulux_pc_email_submit {
    width: 30%;
    padding: 15px;
    border: none;
    margin-left: 0;
    margin-left: -5px;
    background-color: #b9bfc4;
    color: #fff;
}

#send_email_popup .loading img {
    display: block;
    max-width: 100px;
    margin: auto;
}

.message {
    width: 100%;
    height: 100px;
}

.message-text {
    text-align: center;
    margin-bottom: 15px;
    color: white;
    font-size: 20px;
}

.circ{
    opacity: 0;
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.tick{
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    -webkit-transition: stroke-dashoffset 1s 0.5s ease-out;
    -moz-transition: stroke-dashoffset 1s 0.5s ease-out;
    -ms-transition: stroke-dashoffset 1s 0.5s ease-out;
    -o-transition: stroke-dashoffset 1s 0.5s ease-out;
    transition: stroke-dashoffset 1s 0.5s ease-out;
}
.drawn + .message-tick svg .path{
    opacity: 1;
    stroke-dashoffset: 0;
}

.message-tick {
    width: 25%;
    margin: auto;
}

#privacy_statement {
    margin-bottom: 60px;
}

#privacy_statement textarea {
    width: 100%;
    min-height: 100px;
    line-height: 1.8;
    border: 1px solid #c3c3c3;
    border-radius: 5px;
    background-color: #f5f5f5;
    padding: 10px 5px;
}

#privacy_statement h6 {
    font-weight: bold;
    margin-bottom: 5px;
}

.table-cell.business-info {
    line-height: 1.8;
}

.product_feature {
    padding-right: 15px;
}

@media (min-width: 992px) {
    #dulux_pc_search_results > .table {
        display: table;
    }

    #dulux_pc_search_results > .table .table-cell {
        display: table-cell;
    }

    #dulux_pc_search_results > .table > .table-head {
        display: table-header-group;
    }
    .hidden-md-up {
        display: none;
    }
    #dulux_pc_search_results > .table .table-row > .table-cell:not(.table-header) {
        border-bottom: 2px solid  #e1ecf2;
    }
/*    #dulux_pc_search_results > .table .table-row > .table-cell {
        padding-top: 45px;
    }*/
    .product_type_table {
        min-width: 300px;
    }
}

@media (max-width: 991px) {
    .hidden-md-below {
        display: none;
    }
    #dulux_pc_search_filters {
        padding: 30px 15px;
    }
    #dulux_pc_search_filters .dulux_custom_select {
        display: block;
    }
    #dulux_pc_search_filters .dulux_custom_select select {
        width: 100%;
    }
    #dulux_pc_search_filters .dulux_custom_product_type {
        float: none;
    }
    #dulux_pc_search_filters .dulux_custom_product_type label:first-child {
        display: block;
        margin-top: 20px;
    }
    #dulux_pc_search_filters span.round_checkbox {
        padding-right: 20px;
        height: 45px;
    }
    #dulux_pc_search_results > .table > .table-head > .table-row {
        width: 100%;
        display: block;
        height: 40px;
    }
    #dulux_pc_search_results > .table > .table-head > .table-row > .send-header, #dulux_pc_search_results > .table > .table-body > .table-row > .select_to_send {
        width: 20%;
        display: inline-block;
        float: left
    }
    #dulux_pc_search_results > .table > .table-head > .table-row > .business-header,
    #dulux_pc_search_results > .table > .table-body > .table-row > .business-info,
    #dulux_pc_search_results > .table > .table-body > .table-row > .phone_number,
    #dulux_pc_search_results > .table > .table-body > .table-row > .email_address,
    #dulux_pc_search_results > .table > .table-body > .table-row > .product_feature
    {
        width: 80%;
        display: inline-block;
        float: left;
    }
    #dulux_pc_search_results > .table > .table-body > .table-row > .phone_number,
    #dulux_pc_search_results > .table > .table-body > .table-row > .email_address,
    #dulux_pc_search_results > .table > .table-body > .table-row > .product_feature
    {
        float: right;
    }
    .product_type_table .table-head {
        background: #c8cdd0;
        color: #fff;
    }
    .product_type_table .table-head th {
        padding: 5px 0;
    }
    .product_type_table td {
        padding: 5px 10px;
        text-align: center;
    }

}
