/*!
Theme Name:    Numberplates4you - Rivmedia Child
Author:        Rivmedia
Author URI:    https://www.rivmedia.co.uk
Description:   Custom theme for Numberplates4you
Version:       1.0.0
Template:      rivmedia-base
Text Domain:   rivmedia-base-child
*/

/* Your custom code goes here! */

#gform_6,
#gform_wrapper_6,
.page-template-page-number-plate-builder .single-product {
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.riv-plates-wp {
    display: flex;
}

.riv-plates-menu {
    width: 20%;
    background: #2456b0;
    min-height: 100vh;
}



.riv-plates-menu-header {
    padding: 30px 20px;
    color: #fff;
}

.riv-plates-ttl {
    text-align: center;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
}

.riv-plates-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    background-attachment: scroll;
    background-clip: border-box;
    background-image: url('img/stripes.jpg');
    background-color: rgb(87, 87, 87);
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    justify-content: space-between;
    max-height: 610px;
}



.riv-plates-nums {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.riv-plate {
    width: 870px;
    height: 180px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 1px 11px 1px #292929;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    max-width: 90%;
    position: relative;
    transition: all 0.25s;
}

.riv-plate-copy {
    left: 50%;
    margin: 0 auto;
    display: table;
    bottom: 8px !important;
    position: absolute;
    transform: translateX(-50%)
}

.riv-plate-copy.__right{
  left: auto;
  right: 0;
  bottom: 15px !important;
    background: transparent !important;
}

.riv-plate-copy {
    background: #fff;
    padding-left: 5px;
    padding-right: 5px
}

.riv-plate.__rear .riv-plate-copy {
    background: #fded5c
}

.riv-plate.__hidden {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

.riv-plate.__rear {
    background-color: #fded5c;
}

.riv-plates-nums.large_rear .riv-plate.__rear {
    width: 887px;
    height: 248px;
}

.riv-plates-nums.short_6 .riv-plate {
    width: 675px;
}

.riv-plates-nums.short_5 .riv-plate {
    width: 632px;
}

.riv-plates-nums.motorcycle .riv-plate,
.riv-plates-nums.s4x4 .riv-plate.__rear {
    width: 321px;
    height: 251px;
}

.riv-plates-nums.motorcycle .riv-plate-text,
.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-text {
    flex-wrap: wrap;
}

.riv-plate-badge.__inner {
    display: block;
    /*min-height: 50%;*/
    height: 47%;
    padding-right: 0;

}

.riv-plate-badge.__inner .riv-plate-badge-logo {
    right: 0;
    margin: 0 auto;
}

.riv-plates-nums.motorcycle .riv-plate-badge:not(.__inner),
.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-badge:not(.__inner) {
    display: none !important;
}

.riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate-badge.__inner,
.riv-plates-nums:not(.s4x4):not(.motorcycle) .riv-plate.__rear .riv-plate-badge.__inner,
.riv-plates-nums.s4x4 .riv-plate.__front .riv-plate-badge.__inner {
    display: none !important;
}

.riv-plates-nums.motorcycle .riv-plate .riv-plate-text-symbol,
.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-text-symbol {
    width: 24%;
    max-height: 50%;
}

.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-text-symbol.__I,
.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-text-symbol.__1,
.riv-plates-nums.motorcycle .riv-plate.__rear .riv-plate-text-symbol.__I,
.riv-plates-nums.motorcycle .riv-plate.__rear .riv-plate-text-symbol.__1 {
    width: auto;
}

.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-separator,
.riv-plates-nums.motorcycle .riv-plate.__rear .riv-plate-separator {
    width: 100%;
}

.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-text-symbol.__empty,
.riv-plates-nums.motorcycle .riv-plate.__rear .riv-plate-text-symbol.__empty {
    display: none;
}

.riv-plates-nums.motorcycle .riv-plate .riv-plate-text-symbol svg,
.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-text-symbol svg {
    max-height: 89%;
    margin: 0 auto;
}

.riv-plates-nums.motorcycle .riv-plate .riv-plate-badge,
.riv-plates-nums.s4x4 .riv-plate.__rear .riv-plate-badge {
    width: 18%;
}

.riv-plates-nums.vintage .riv-plate {
    background: rgb(2, 2, 2);
    background: linear-gradient(0deg, rgba(2, 2, 2, 1) 0%, rgba(125, 125, 125, 1) 100%);

}


.riv-fake-add-to-cart {
    background: #ffca33;
    text-transform: uppercase;
    color: #000;
    padding: 10px 30px;
    width: 300px;
    max-width: 100%;
    display: block;
    text-align: center;
}


.riv-plate-text {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    position: relative;
    border-color: transparent;
}

.riv-plate-text:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    border-width: 4px;
    border-radius: 10px;
    border-style: solid;
    border-color: inherit;
}

.riv-plate-text-slogan {
    font-weight: 700;
    font-size: 12px;
    position: absolute;
    bottom: -7px;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
    display: none;
    color: #000;
}


.riv-slogan-on {
    display: none;
}

.riv-plate.__rear .riv-plate-text-slogan {
    background: #fdeb6b;
}

.riv-plate-badge {
    width: 10%;
    padding-right: 10px;
    position: relative;
    display: none;
}

.riv-plate-badge.Cross-of-Saint-George-ENG-5 .riv-plate-badge-logo {
    background-image: url('img/badges/eng-uk.png');
}

.riv-plate-badge.Cross-of-Saint-George-ENGLAND-3 .riv-plate-badge-logo {
    background-image: url('img/badges/england-uk.png');
}

.riv-plate-badge.Cross-of-Saint-George-ENGLAND-1 .riv-plate-badge-logo {
    background-image: url('img/badges/6.png');
}

.riv-plate-badge.Cross-of-Saint-George-ENG-Contour .riv-plate-badge-logo {
    background-image: url('img/badges/5.png');
}

.riv-plate-badge.Cross-of-Saint-George-ENGLAND-Flag .riv-plate-badge-logo {
    background-image: url('img/badges/7.png');
}

.riv-plate-badge.Cross-of-Saint-George-UK-2 .riv-plate-badge-logo {
    background-image: url('img/badges/8.png');
}

.riv-plate-badge.Cross-of-Saint-George-UNITED-KINGDOM-3 .riv-plate-badge-logo {
    background-image: url('img/badges/9.png');
}

.riv-plate-badge.Cross-of-Saint-George-GB-Contour .riv-plate-badge-logo {
    background-image: url('img/badges/10.png');
}

.riv-plate-badge.Cross-of-Saint-George-GREAT-BRITAIN-3 .riv-plate-badge-logo {
    background-image: url('img/badges/11.png');
}

.riv-plate-badge.Cross-of-Saint-George-GB-2 .riv-plate-badge-logo {}

.riv-plate-badge.Union-Flag-GB-Contour .riv-plate-badge-logo {}

.riv-plate-badge.Union-Flag-GB-1 .riv-plate-badge-logo {}

.riv-plate-badge.Union-Flag-UK-3 .riv-plate-badge-logo {}

.riv-plate-badge.Union-Flag-UNITED-KINGDOM-Flag .riv-plate-badge-logo {}

.riv-plate-badge.Union-Flag-UNITED-KINGDOM-3 .riv-plate-badge-logo {}

.riv-plate-badge.Union-Flag-UNITED-KINGDOM-Contour .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-CYM-3 .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-CYMRU-5 .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-CYMRU-Flag .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-CYM-Contour .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-WALES-Contour .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-WALES-Circle .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-WALES-3 .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-WALES-1 .riv-plate-badge-logo {}

.riv-plate-badge.Welsh-Flag-GB-Flag .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-SCOTLAND-1 .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-SCOTLAND-3 .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-GB-Contour-2 .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-SCO-Contour-2 .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-SCO-Flag-2 .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-SCOTLAND-Contour-2 .riv-plate-badge-logo {}

.riv-plate-badge.Saltire-SCOTLAND-Flag .riv-plate-badge-logo {}

.riv-plate-badge.Euro-GB-1 .riv-plate-badge-logo {}

.riv-plate-badge-bg {
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 10px;
    background: rgb(44, 35, 228);
    background: -webkit-linear-gradient(bottom, rgba(44, 35, 228, 1) 0%, rgba(142, 124, 239, 1) 100%);
    background: -moz-linear-gradient(bottom, rgba(44, 35, 228, 1) 0%, rgba(142, 124, 239, 1) 100%);
    background: -o-linear-gradient(bottom, rgba(44, 35, 228, 1) 0%, rgba(142, 124, 239, 1) 100%);
    background: linear-gradient(to top, rgba(44, 35, 228, 1) 0%, rgba(142, 124, 239, 1) 100%);
}

.riv-plate-badge-logo {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 90%;
    height: 100%;
    background-size: 74%;
    width: calc(100% - 10px);
    background-repeat: no-repeat;
    background-position: center;
}

.riv-plate-text-symbol {
    display: flex;
    align-items: center;
}

.riv-plate-text-symbol.__empty {
    /*width: 10%;*/
    padding: 0 3%;
}

.riv-plate-text-symbol svg {
    width: auto;
    height: 160px;
}

.riv-plates-builder {
    min-height: 500px;
    height: 100%;
}

.riv-plates-footer {
    background: #292929;
}

.riv-plates-nav-item {
    border-bottom: .0625rem solid rgba(0, 0, 0, .2);
}

.riv-plates-nav-item.__disabled .riv-plates-nav-btn {
    opacity: 0.2;
}

.riv-plates-nav-item.__done .riv-plates-nav-btn span {
    display: none;
    position: relative;
}

.riv-plates-nav-item.__done .riv-plates-nav-btn:before {
    content: "";
    font-size: .8125rem;
    padding: .1875rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 1.25rem;
    background: #379632;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .5);
    left: 0;
    top: 4px;
    text-align: center;
    position: relative;
    left: -.25rem;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg enable-background='new 0 0 24 24' height='24px' id='Layer_1' version='1.1' viewBox='0 0 24 24' width='24px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath clip-rule='evenodd' d='M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z' style=' fill: white;' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

.riv-plates-nav {
    margin: 0;
    padding: 0;
    border-top: .0625rem solid rgba(0, 0, 0, .2);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.riv-plates-nav-btn {
    display: block;
    color: #fefefe;
    padding: 1rem 2.5rem;
    position: relative;
}

.riv-plates-nav-btn:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: 6px inset;
    border-color: transparent transparent transparent #003194;
    border-left-style: solid;
    border-right-width: 0;
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 1rem;
}

.riv-plates-nav-back {
    padding: .625rem 2.5rem;
    color: #fff;
    display: block;
    background: #1d458d;
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
}

.riv-plates-nav-back:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: 6px inset;
    border-color: transparent transparent transparent rgba(0, 0, 0, .5);
    border-left-style: solid;
    border-right-width: 0;
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 1rem;
}


.riv-plates-nav-btn span {
    font-weight: 700;
    padding-right: 5px;
    font-size: 18px;
}

.riv-plates-nav-content-wp {
    padding: 1rem 2.5rem;
    color: #fff;
}

.riv-plates-nav-content-wp h5 {
    color: #fff;
}

.riv-plates-nav-content {
    width: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: -1;
    height: 100%;
    width: 100%;
    background: #fefefe;
    transition: transform .15s linear;
    background: #2456b0;

}

.riv-plates-nav-item.__active .riv-plates-nav-content {
    z-index: 1;
    display: block;
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

.riv-plates-nav-continue {
    color: #fff;
    display: block;
    padding: 6px 10px;
    border: 1px solid #fff;
    text-align: center;
    text-transform: uppercase;
}


/*YOUR REG*/

.riv-reg-num {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

input.riv-reg-num-input {
    padding: 0;
    height: 50px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    transition: background 0.25s;

}

input.riv-reg-num-input.__empty {
    background: #ffca33;
}

/*END YOUR REG*/

/*SIZE*/

.riv-plates-size {
    margin-bottom: 20px;
}

/*END SIZE*/

/*MATERIAL*/

.riv-plates-radio {
    overflow-y: scroll;
    max-height: 350px;
    overflow-x: hidden;
    padding: 10px;
}

.riv-plates-radio-item input:checked+label {
    opacity: 1;
}

.riv-plates-radio-item input+label {
    cursor: pointer;
}

.riv-plates-radio-item input+label span {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.riv-plates-radio-item input+label span.close-up {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-right: 0;
    z-index: 1;
}


.riv-plates-radio-item input+label span a {
    color: #fff;
    font-size: 13px;
}

.riv-plates-radio-item label {
    position: relative;
    overflow: hidden;
}

.riv-plates-radio-item input:checked+label:before {
    content: "";
    font-size: .8125rem;
    padding: .1875rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 1.25rem;
    background: #379632;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .5);
    right: -5px;
    top: 10px;
    text-align: center;
    position: absolute;

    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg enable-background='new 0 0 24 24' height='24px' id='Layer_1' version='1.1' viewBox='0 0 24 24' width='24px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath clip-rule='evenodd' d='M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z' style=' fill: white;' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

/*END MATERIAL*/

/*BORDER*/

.riv-plate-colorpicker {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.riv-plate-colorpicker-item {
    width: 30%;
    height: 86px;
    margin-bottom: 3%;
    cursor: pointer;
    border: 2px solid #fff;
    background-color: rgba(0, 0, 0, .2);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.riv-plate-colorpicker-item.__empty {
    border-color: transparent;
    background: transparent;
    cursor: default;
    visibility: hidden;
    opacity: 0;
}

.riv-plate-colorpicker-item.__active:before,
.riv-plates-badge.__active:before {
    content: "";
    font-size: .8125rem;
    padding: .1875rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 1.25rem;
    background: #379632;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .5);
    right: -5px;
    top: -6px;
    text-align: center;
    position: absolute;

    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg enable-background='new 0 0 24 24' height='24px' id='Layer_1' version='1.1' viewBox='0 0 24 24' width='24px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath clip-rule='evenodd' d='M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z' style=' fill: white;' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

.riv-plate-colorpicker-item:hover {
    opacity: 0.9;
}

/*END BORDER*/

/*BADGES*/

.riv-plates-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow-y: auto;
    max-height: 300px;
    margin-bottom: 30px;
}

.riv-plates-badge {
    width: 30%;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-bottom: 30px;
    position: relative;

}

/*END BADGES*/

/* FOOTER */

.riv-plates-footer {
    display: flex;
    padding: 30px 10px;
}

.riv-plates-required-buttons label {
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-block;
    margin-right: 20px;
}

.riv-plates-footer-item h6 {
    font-weight: 300;
    color: #fff;
    font-size: 18px;
}

.riv-plates-footer-item {
    width: 50%;
}

.riv-plates-required-buttons input {
    display: none;
}

.riv-plates-required-buttons label:hover,
.riv-plates-required-buttons input:checked+label {
    background: #003591;
    border-color: #003591;
    opacity: 1 !important;
}



/*END FOOTER*/

.riv-plates-loader {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.riv-plates-wp {
    position: relative;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



@media screen and (max-width: 1200px) {
    .riv-plates-menu {
        width: 30%;
    }

    .riv-plates-content {
        width: 70%;
    }

    .riv-plate {
        height: 160px;
    }

    .riv-plates-nums.large_rear .riv-plate.__rear {
        height: 216px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 125px;
    }

    .riv-plates-required-buttons input+label {
        margin-bottom: 10px;
    }


}

@media screen and (max-width: 1024px) {
    .riv-plates-menu {
        width: 100%;
    }

    .riv-plates-builder {
        min-height: auto;
    }

    .riv-plates-content {
        width: 100%;
        padding-top: 30px;
        max-height: 100%;
    }

    .riv-plates-wp {
        display: block;
    }

    .riv-plate {
        height: 140px;
    }

    .riv-plates-nums.large_rear .riv-plate.__rear {
        height: 189px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 120px;
    }

    .riv-plates-nums {
        min-height: 400px;
        padding-bottom: 30px;
    }

    .riv-plates-nums.large_rear {
        min-height: 400px;
    }

    .riv-plates-nums.s4x4 {
        min-height: 500px;
    }

    .riv-plates-nav {
        min-height: 600px;
    }

    .riv-plates-radio,
    .riv-plates-badges,
    .riv-plate-colorpicker {
        max-height: 300px;
    }

    .riv-plate-colorpicker.__slogan {
        max-height: 185px;
    }

    .riv-plate-colorpicker {
        overflow-y: scroll;
    }

    .riv-plates-nums.short_6 .riv-plate {
        max-width: calc(100% / 2 + 80px);
    }

    .riv-plates-nums.short_5 .riv-plate {
        max-width: calc(100% / 2 + 50px);
    }
}

@media screen and (max-width: 768px) {

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 110px;
    }

    .riv-plate-text:after {
        border-width: 3px;
    }

    .riv-plates-nums {
        min-height: 350px;
        padding-bottom: 30px;
    }

    .riv-plate {
        padding: 6px;
    }

    .riv-plate-text-slogan {
        font-size: 9px;
        bottom: -3px;
    }

    .riv-plate-copy {
        bottom: -9px;
    }
}

@media screen and (max-width: 670px) {

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 105px;
    }

    .riv-plate {
        border-radius: 10px;
        max-width: 100%;
    }

    .riv-plates-nums {
        min-height: 300px;
        padding-bottom: 30px;
    }

    .riv-plate-badge-bg {
        border-radius: 5px;
    }

    .riv-plates-footer {
        padding: 20px !important;
        margin: 0px !important;
    }
}

@media screen and (max-width: 650px) {

    .riv-plate {
        height: 120px;
    }

    .riv-plates-nums.large_rear .riv-plate.__rear {
        height: 162px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 95px;
    }

    .riv-plate-text:after {
        border-width: 2px;
    }

    .riv-plate-badge {
        padding-right: 5px;
    }

    .riv-plate-badge-logo {
        width: calc(100% - 5px);
    }
}

@media screen and (max-width: 600px) {

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 85px;
    }

    .riv-plate-text-slogan {
        font-weight: 400;
        font-size: 7px;
    }
}

@media screen and (max-width: 550px) {

    .riv-plate {
        height: 100px;
    }

    .riv-plates-nums.large_rear .riv-plate.__rear {
        height: 135px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 80px;
    }

    .riv-plate-text:after {
        border-width: 1px;
    }

    .riv-plates-footer {
        display: block;
    }

    .riv-plates-footer-item {
        width: 100%;
    }

    .riv-plates-required-buttons input+label {
        width: 100%;
    }
}

@media screen and (max-width: 550px) {

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 75px;
    }
}

@media screen and (max-width: 480px) {
    .riv-plate {
        height: 90px;
        padding: 6px;
        border-radius: 6px;
    }

    .riv-plates-nums.large_rear .riv-plate.__rear {
        height: 121px;
    }

    .riv-plate-badge-bg {
        border-radius: 4px;
    }

    .riv-plate-text:after {
        border-radius: 7px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 70px;
    }

}

@media screen and (max-width: 420px) {
    .riv-plate {
        height: 90px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 60px;
    }

}

@media screen and (max-width: 360px) {
    .riv-plate {
        height: 80px;
    }

    .riv-plates-nums.large_rear .riv-plate.__rear {
        height: 108px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 55px;
    }

}

@media screen and (max-width: 360px) {
    .riv-plate {
        height: 80px;
    }

    .riv-plate.__front .riv-plate-text-symbol svg,
    .riv-plates-nums:not(.motorcycle):not(.s4x4) .riv-plate.__rear .riv-plate-text-symbol svg {
        height: 55px;
    }

}

.riv-plates-radio-item {
    position: relative;
}

.riv-plates-radio-item.__loading:before {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .2);
    content: '';
    z-index: 1;
    background-image: url('/wp-includes/js/tinymce/skins/lightgray/img/loader.gif');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
}

.riv-plates-radio-item:before {
    transition: opacity 0.5s;
}

#plates-modal {
    background: #fff;
    padding: 20px;
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
}

.popup-modal-btn {
    display: inline-block;
    background: #ffbf11;
    color: #090707;
    padding: 10px;
    border-radius: 6px;
}

.popup-modal-btn:hover {
    color: #3e4349;
}

.popup-modal-btns {
    display: flex;
    justify-content: space-around;
}

.riv-plates-nums.style-gel-3d .riv-plate-badge-logo {
    -webkit-background-size: contain !important;
    background-size: contain !important;
}

.riv-plates-nums.style-gel-3d .riv-plate-badge-bg {
    display: none;
}

.pageintro {
    margin: 0 auto;
    width: 100%;
    max-width: 1276px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 3px #ccc;
}

.pageintro h1 {
    font-size: 31px;
    margin: 0;
    padding: 15px !important;
}

.page-template-page-number-plate-builder #content {
    background: #ededef;
    padding: 30px 10px;
}

.riv-plates-toggle {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.riv-plates-toggle p {
    margin: 0;
}

.checkbox-wrapper-6 {
    padding: 0 15px;
}

.checkbox-wrapper-6 .tgl {
    display: none;
}

.checkbox-wrapper-6 .tgl,
.checkbox-wrapper-6 .tgl:after,
.checkbox-wrapper-6 .tgl:before,
.checkbox-wrapper-6 .tgl *,
.checkbox-wrapper-6 .tgl *:after,
.checkbox-wrapper-6 .tgl *:before,
.checkbox-wrapper-6 .tgl+.tgl-btn {
    box-sizing: border-box;
}

.checkbox-wrapper-6 .tgl::-moz-selection,
.checkbox-wrapper-6 .tgl:after::-moz-selection,
.checkbox-wrapper-6 .tgl:before::-moz-selection,
.checkbox-wrapper-6 .tgl *::-moz-selection,
.checkbox-wrapper-6 .tgl *:after::-moz-selection,
.checkbox-wrapper-6 .tgl *:before::-moz-selection,
.checkbox-wrapper-6 .tgl+.tgl-btn::-moz-selection,
.checkbox-wrapper-6 .tgl::selection,
.checkbox-wrapper-6 .tgl:after::selection,
.checkbox-wrapper-6 .tgl:before::selection,
.checkbox-wrapper-6 .tgl *::selection,
.checkbox-wrapper-6 .tgl *:after::selection,
.checkbox-wrapper-6 .tgl *:before::selection,
.checkbox-wrapper-6 .tgl+.tgl-btn::selection {
    background: none;
}

.checkbox-wrapper-6 .tgl+.tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-wrapper-6 .tgl+.tgl-btn:after,
.checkbox-wrapper-6 .tgl+.tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.checkbox-wrapper-6 .tgl+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-6 .tgl+.tgl-btn:before {
    display: none;
}

.checkbox-wrapper-6 .tgl:checked+.tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper-6 .tgl-light+.tgl-btn {
    background: #f0f0f0;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
}

.checkbox-wrapper-6 .tgl-light+.tgl-btn:after {
    border-radius: 50%;
    background: #646464;
    transition: all 0.2s ease;
}

.checkbox-wrapper-6 .tgl-light:checked+.tgl-btn {
    background: #fded5c;
}

.riv-plates-gel-bgs{
      display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow-y: auto;
    max-height: 300px;
    margin-bottom: 30px;
}

.riv-plates-gel-bg-wrapper{
    width: 46%;
}

.riv-plates-gel-bg-wrapper .riv-closeup {
    color: #fff;
    font-size: 12px;
    line-height: 1;
    margin: 6px 0 20px;
    display: block;
}

.riv-plates-gel-bg{
  height: 150px;
  margin-bottom: 4%;
  background-position: center;
  background-size: cover;
  position: relative;
  border-radius: 5px;
  cursor: pointer;
  margin: 0;
}

.riv-plates-gel-bg.__active:before {
    content: "";
    font-size: .8125rem;
    padding: 0.1875rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 1.25rem;
    background: #379632;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .5);
    top: 5px;
    left: 5px;
    text-align: center;
    position: absolute;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg enable-background='new 0 0 24 24' height='24px' id='Layer_1' version='1.1' viewBox='0 0 24 24' width='24px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath clip-rule='evenodd' d='M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z' style=' fill: white;' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}



.background-silver svg, .background-silver g{
  -webkit-filter: drop-shadow( 0px 0px 0.25px  grey);
          filter: drop-shadow( 0px 0px 0.25px  grey);
 /*  stroke: grey !important;
    stroke-width: 1px !important; */
}

.background-red svg, .background-red g, .background-m-sport svg, .background-m-sport g, .background-m-sport .riv-plate-text-symbol, .background-red .riv-plate-text-symbol{
 -webkit-filter: drop-shadow( 0px 0px 0.25px  red);
         filter: drop-shadow( 0px 0px 0.25px  red);
  /* stroke: #8f1822 !important;
    stroke-width: 1px !important; */
}

.background-purple svg, .background-purple g, .background-purple .riv-plate-text-symbol{
 -webkit-filter: drop-shadow( 0px 0px 0.25px  purple);
         filter: drop-shadow( 0px 0px 0.25px  purple);
  /* stroke: purple !important;
    stroke-width: 1px !important; */  
}

.background-pink svg, .background-pink g,.background-pink .riv-plate-text-symbol{
-webkit-filter: drop-shadow( 0px 0px 0.25px  pink);
        filter: drop-shadow( 0px 0px 0.25px  pink);
  /* stroke: pink !important;
    stroke-width: 1px !important; */
}
 
.background-orange svg, .background-orange g,.background-orange .riv-plate-text-symbol{
 -webkit-filter: drop-shadow( 0px 0px 0.25px  orange);
         filter: drop-shadow( 0px 0px 0.25px  orange);
 /*  stroke: orange !important;
    stroke-width: 1px !important; */
}

.background-green svg, .background-green g,.background-green .riv-plate-text-symbol{
-webkit-filter: drop-shadow( 0px 0px 0.25px  green);
        filter: drop-shadow( 0px 0px 0.25px  green);
  /* stroke: green !important;
    stroke-width: 1px !important; */
}

.background-blue svg, .background-blue g,.background-blue .riv-plate-text-symbol{
 -webkit-filter: drop-shadow( 0px 0px 0.25px  blue);
         filter: drop-shadow( 0px 0px 0.25px  blue);
 /*  stroke: #1e3cb5 !important;
    stroke-width: 1px !important; */
}

body.e--ua-appleWebkit .background-silver svg, body.e--ua-appleWebkit .background-silver g {
     -webkit-filter: drop-shadow(0px 0px 1.25px grey);
     filter: drop-shadow(0px 0px 1.25px grey);
    /* stroke: grey !important;
     stroke-width: 1px !important;
     */
}
 body.e--ua-appleWebkit .background-red svg, body.e--ua-appleWebkit .background-red g, body.e--ua-appleWebkit .background-m-sport svg, body.e--ua-appleWebkit .background-m-sport g, body.e--ua-appleWebkit .background-m-sport .riv-plate-text-symbol, body.e--ua-appleWebkit .background-red .riv-plate-text-symbol {
     -webkit-filter: drop-shadow(0px 0px 1.25px red);
     filter: drop-shadow(0px 0px 1.25px red);
    /* stroke: #8f1822 !important;
     stroke-width: 1px !important;
     */
}
 body.e--ua-appleWebkit .background-purple svg, body.e--ua-appleWebkit .background-purple g, body.e--ua-appleWebkit .background-purple .riv-plate-text-symbol {
     -webkit-filter: drop-shadow(0px 0px 1.25px purple);
     filter: drop-shadow(0px 0px 1.25px purple);
    /* stroke: purple !important;
     stroke-width: 1px !important;
     */
}
 body.e--ua-appleWebkit .background-pink svg, body.e--ua-appleWebkit .background-pink g, body.e--ua-appleWebkit .background-pink .riv-plate-text-symbol {
     -webkit-filter: drop-shadow(0px 0px 1.25px pink);
     filter: drop-shadow(0px 0px 1.25px pink);
    /* stroke: pink !important;
     stroke-width: 1px !important;
     */
}
 body.e--ua-appleWebkit .background-orange svg, body.e--ua-appleWebkit .background-orange g, body.e--ua-appleWebkit .background-orange .riv-plate-text-symbol {
     -webkit-filter: drop-shadow(0px 0px 1.25px orange);
     filter: drop-shadow(0px 0px 1.25px orange);
    /* stroke: orange !important;
     stroke-width: 1px !important;
     */
}
 body.e--ua-appleWebkit .background-green svg, body.e--ua-appleWebkit .background-green g, body.e--ua-appleWebkit .background-green .riv-plate-text-symbol {
     -webkit-filter: drop-shadow(0px 0px 1.25px green);
     filter: drop-shadow(0px 0px 1.25px green);
    /* stroke: green !important;
     stroke-width: 1px !important;
     */
}
 body.e--ua-appleWebkit .background-blue svg, body.e--ua-appleWebkit .background-blue g, body.e--ua-appleWebkit .background-blue .riv-plate-text-symbol {
     -webkit-filter: drop-shadow(0px 0px 1.25px blue);
     filter: drop-shadow(0px 0px 1.25px blue);
    /* stroke: #1e3cb5 !important;
     stroke-width: 1px !important;
     */
}
 

 .show-plate label {
  position: relative;
  display: block;
  overflow: visible;
}

.show-plate label:before{
  content: 'Show plate';
  display: inline-block;
  position: absolute;
  color: #fded5c;
  top: -16px;
  right: 0;
  font-size: 10px;
  text-transform: uppercase;
}

