﻿.licenseplate {
    width: 100%;
    position: relative;
    margin: 0 auto;
    margin-top: 5px;
    display:none;
}
.licenseplate.visible
{
    display:block;
}

    .licenseplate .innerbox {
        display: flex;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;    
        direction:ltr;
        
    }

        .licenseplate .innerbox.vertical {
            flex-direction: column;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        .licenseplate .innerbox span {
            color: black;
            flex-grow: 1;
            font-family: "IRANSansfnum";
            font-size: 24pt;
            text-align: center;
            position: relative;
        }

        .licenseplate .innerbox .large {

            font-size: 32pt;

        }

.licenseplate .innerbox span.col2 {
    flex-grow: 2;
}
.licenseplate .innerbox span.col3 {
flex-grow: 3;
}
.licenseplate .innerbox span.col4 {
flex-grow: 4;
}
    .licenseplate .innerbox span.col5 {
        flex-grow: 5;
    }
.licenseplate .innerbox span.col6 {
    flex-grow: 6;
}

        .licenseplate .innerbox span.col12 {
            width:100%;
        }




        .licenseplate .innerbox input, .licenseplate .innerbox select {
            position: absolute;
            background: transparent;
            width: 100%;
            z-index: 100;
            padding: unset;
            left: 0px;
            top: 0px;
            height: 100%;
            border: none;
            text-align:center;
            font-size:22pt;
        }


    .licenseplate.iran {
        padding-top: 21%;
        background-size: 100%;
        z-index: 1;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .licenseplate.iran .innerbox
    {
        padding-left:30px;
        padding-right:5px;
    }

        .licenseplate input::placeholder {
            color: rgba(0,0,0,0.5) !important;
        }

        .licenseplate.iran:before {
            position: absolute;
            content: " ";
            width: 100%;
            height: 100%;
            background: white;
            left: 0px;
            top: 0px;
            z-index: 0;
            border-radius:10px;
        }

        .licenseplate.iran.yellow:before {
            background: #ffc813;
        }
        .licenseplate.iran.red:before {
            background: #ee161f;
        }
        .licenseplate.iran.green:before {
            background: #005224;
        }
        .licenseplate.iran.blue:before {
            background: #00a2e8;
        }

        .licenseplate.iran.red input, .licenseplate.iran.red select, .licenseplate.iran.green input, .licenseplate.iran.green select {
            color: white;
        }

            .licenseplate.iran.red input::placeholder, .licenseplate.iran.green input::placeholder {
                color: rgba(255,255,255,0.5) !important;
            }
            .licenseplate.iran.red select option, .licenseplate.iran.green select option {
            color:black;
        }

            .licenseplate.iran:after {
            position: absolute;
            content: " ";
            width: 100%;
            height: 100%;
            background: url('icons/licenseplates/iran.svg');
            background-size:100% auto;
            background-repeat: no-repeat;
            left: 0px;
            top: 0px;
            z-index: 0;
            pointer-events:none;
        }








    .licenseplate.iranprotocol {
        padding-top: 21%;
        background-size: 100%;
        z-index: 1;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .licenseplate.iranprotocol .innerbox {
        padding-left: 30px;
        padding-right: 5px;
    }

        .licenseplate.iranprotocol input, .licenseplate.iranprotocol select{
            color: white;
        }

    .licenseplate.iranprotocol:before {
        position: absolute;
        content: " ";
        width: 100%;
        height: 100%;
        background: white;
        left: 0px;
        top: 0px;
        z-index: 0;
        border-radius: 10px;
    }

        

    .licenseplate.iranprotocol:after {
        position: absolute;
        content: " ";
        width: 100%;
        height: 100%;
        background: url('icons/licenseplates/iranprotocol.svg');
        background-size: 100% auto;
        background-repeat: no-repeat;
        left: 0px;
        top: 0px;
        z-index: 0;
        pointer-events: none;
    }


    .licenseplate.iranmotorcycle {
        padding-top: 31%;
        width: 50%;
        background-size: 100%;
        z-index: 1;
        margin-top: 3px;
        margin-bottom: 3px;
    }

        .licenseplate.iranmotorcycle .innerbox {
            padding-left: 30px;
            padding-right: 5px;
        }

        .licenseplate.iranmotorcycle input, .licenseplate.iranmotorcycle select {
         font-weight:bold;  
        }

        .licenseplate.iranmotorcycle:before {
            position: absolute;
            content: " ";
            width: 100%;
            height: 100%;
            background: white;
            left: 0px;
            top: 0px;
            z-index: 0;
            border-radius: 10px;
        }



        .licenseplate.iranmotorcycle:after {
            position: absolute;
            content: " ";
            width: 100%;
            height: 100%;
            background: url('icons/licenseplates/iranmotorcycle.svg');
            background-size: 100% auto;
            background-repeat: no-repeat;
            left: 0px;
            top: 0px;
            z-index: 0;
            pointer-events: none;
        }







    .licenseplate.iranhistorical {
        padding-top: 31%;
        width: 50%;
        background-size: 100%;
        z-index: 1;
        margin-top: 3px;
        margin-bottom: 3px;
    }

        .licenseplate.iranhistorical .innerbox {
            padding-left: 65px;
            padding-right: 0px;
            padding-top:20px;
        }

        .licenseplate.iranhistorical input, .licenseplate.iranhistorical select {
            font-weight: bold;
            color:white;
            font-size:24px;
        }

        .licenseplate.iranhistorical:before {
            position: absolute;
            content: " ";
            width: 100%;
            height: 100%;
            background: white;
            left: 0px;
            top: 0px;
            z-index: 0;
            border-radius: 10px;
        }



        .licenseplate.iranhistorical:after {
            position: absolute;
            content: " ";
            width: 100%;
            height: 100%;
            background: url('icons/licenseplates/iranhistorical.svg');
            background-size: 100% auto;
            background-repeat: no-repeat;
            left: 0px;
            top: 0px;
            z-index: 0;
            pointer-events: none;
        }












    .licenseplate.iranfreezone {
        padding-top: 30%;
        width: 75%;
        background-size: 100%;
        z-index: 1;
        margin-top: 5px;
        margin-bottom: 6px;
    }

    .licenseplate.iranfreezone .innerbox {
        padding-left: 14px;
        padding-right: 0px;

    }

    .licenseplate.iranfreezone input, .licenseplate.iranfreezone select {
        font-weight: bold;
        font-size: 24px;
        
    }

    .licenseplate.iranfreezone:before {
        position: absolute;
        content: " ";
        width: 100%;
        height: 100%;
        background: white;
        left: 0px;
        top: 0px;
        z-index: 0;
        border-radius: 10px;
    }



    .licenseplate.iranfreezone:after {
        position: absolute;
        content: " ";
        width: 100%;
        height: 100%;
        background: url('icons/licenseplates/iranfreezone.svg');
        background-size: 100% auto;
        background-repeat: no-repeat;
        left: 0px;
        top: 0px;
        z-index: 0;
        pointer-events: none;
    }




    .licenseplate .customselect {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block;
        float: left;
        min-width: 14.3rem;
        padding: .5rem;
        margin: .125rem 0 0;
        font-size: 1rem;
        color: #212529;
        text-align: left;
        list-style: none;
        background-color: var(--darkgray);
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: .25rem;
        direction: rtl;
        margin-top: -10px;
    }

    .licenseplate .customselect button
    {
        width:40px;
        border:none;
        font-size:16pt;
        text-align:center;
        border-radius:4px;
        margin:1px;
    }
        .licenseplate .customselect button.yellow {
            background: #ffc813;
        }

        .licenseplate .customselect button.red {
            background: #ee161f;
        }

        .licenseplate .customselect button.green {
            background: #005224;
            color:white;
        }

        .licenseplate .customselect button.blue {
            background: #00a2e8;
        }

        .licenseplate .customselect button:hover {
            background: #0069d9;
            color: white;
            box-shadow: 0px 0px 10px #0069d9;
        }

.licenceplatetypes {
    background: var(--darkgray);
    color: var(--white);
    border: none;
    border-radius: 15px;
    text-align: center;
    width: 130px;
    margin: 0 auto;
    display: block;
    padding: 3px;
    margin-top: 5px;
    font-size: 10pt;
    outline: none;
    height: auto;
}
}

    .licenceplatetypes:focus {
 
        box-shadow: 0 0 0 0.2rem var(--outlinecolor);
    }

.miniplate {
    background: url('icons/licenseplates/iran.svg');
    background-color: white;
    border-radius: 4px;
    color: black;
    width: 140px;
    height: 30px;
    box-sizing: border-box;
    padding: 4px 2px 0px 20px;
    text-align: left;
    display: inline-flex;
    direction: ltr;
    vertical-align: top;
    margin-top:7px;
}

    .miniplate span {
        line-height: 17pt;
    }

    .miniplate.iran.red {
        background-color: #ee161f; color:white;
    }
    .miniplate.iran.yellow {
        background-color: #ffc813;
    }
    .miniplate.iran.green {
        background-color: #005224;
        color: white;
    }
    .miniplate.iran.blue {
        background-color: #00a2e8;
    }

.miniplate.iran span
{
    text-align:center;
}
.miniplate.iran span:nth-child(1)
{
    flex-grow:2;
}
.miniplate.iran span:nth-child(2) {
    flex-grow: 2;
}
.miniplate.iran span:nth-child(3) {
    flex-grow: 4;
    margin-right:5px
}
.miniplate.iran span:nth-child(4) {
    flex-grow: 4;
}

    .miniplate.iranmotorcycle {
        background: url('icons/licenseplates/iranmotorcycle.svg');
        background-color: white;
        width: 64px;
        height: 40px;
        padding: 2px 2px 0px 15px;
        display: inline-flex;
        flex-direction: column;
        direction: ltr;
        margin-top: 2px;
    }

    .miniplate.iranmotorcycle span
    {
        line-height:1.2;
        text-align:center;
    }

    .miniplate.iranprotocol {
        background: url('icons/licenseplates/iranprotocol.svg');
        background-color: white;
        border-radius: 4px;
        color: black;
        width: 140px;
        height: 30px;
        box-sizing: border-box;
        padding: 4px 2px 0px 90px;
        text-align: left;
        display: inline-flex;
        direction: ltr;
        color:white;
    }


    .miniplate.iranhistorical {
        background: url('icons/licenseplates/iranhistorical.svg');
        background-color: white;
        width: 64px;
        height: 40px;
        padding: 24px 2px 0px 28px;
        display: inline-flex;
        flex-direction: column;
        direction: ltr;
        margin-top: 2px;
    }

        .miniplate.iranhistorical span {
            line-height: 1.2;
            text-align: center;
            color: white;
            font-size:8pt;
        }

    .miniplate.iranfreezone {
        background: url('icons/licenseplates/iranfreezone.svg');
        background-color: white;
        border-radius: 4px;
        color: black;
        width: 126px;
        height: 50px;
        box-sizing: border-box;
        padding: 4px 2px 0px 20px;
        text-align: left;
        display: inline-flex;
        direction: ltr;
        margin-top: 2px;
    }
    .miniplate.iranfreezone span:nth-child(1)
    {
        flex-grow:6;
        text-align:center;
    }
        .miniplate.iranfreezone span:nth-child(2) {
            flex-grow: 1;
        }


        .miniplate.iranfreezone .platelatin {
            display: block;
            font-family: "IRANSans";
            font-size:11pt;
        }

.scale2 {  
    zoom:1.5;
}
