﻿
#tagPreview:after, #tagPreviewEnd:after{
    content:"Indicative preview. Official animal numbers will be supplied by ministry. \2020";
    color:#666;
    font-size:12px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 6px;
    width: 100%;
    text-align: center;
}
#tagPreview, #tagPreviewEnd, #hideOnInputXs > div:first-child{
        /*cursor: pointer;*/
    }
#tag-zoom {
    display: none;
    zoom:2;/*swap this for transform:scale()?*/
    -moz-transform: scale(2);
    overflow: visible;
    z-index: 999;
    background-color: white;
    position: absolute;
    padding: 30px;
    top: 0;
    border: #00853a 3px solid;
    width:550px;
}
@-moz-document  url-prefix(){
    #tag-zoom{
        left: 280px;
        width: 570px;
        margin-top:225px;
    }
    
}
span.tag-lowlight{
    background-color: black;
    color: white;
    padding-left: 2px;
    padding-right: 2px;
}
span.attrItem {
    font-size: 12px;
}

.tagPreviewTextA {
    opacity: 0.7;
    line-height: 80%!important;
}

/*Tag Styles*/
/*.SET-tag-preview{
    width:310px;
}
.combi-2000-small-tag-preview{
    width:331px;
}*/
img.tagPreviewImg{
    height: auto;
}

div#tagPreviewOverlay, div#tagPreviewOverlayEnd, div.tagPreviewText.start, div.tagPreviewText.end {
    top: 0;
}
#tagPreview .stamped, #tagPreviewEnd .stamped, .tagPreview .stamped, .tagPreviewEnd .stamped {
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: rgba(0,0,0,.5)!important;
    text-shadow: rgba(255,255,255,0.5) 0px 2px 2px;
}

#tagPreview, #tagPreviewEnd, .tagPreview, .tagPreviewEnd{
    position:relative;
    overflow:hidden;
    width: 100%;
    text-align: left;
    padding-bottom: 15px;
    font-family: 'Shearwell Tag';
}
.tagPreviewText{
    position:absolute;
    text-align:left;
}
.leading-zeros{
    font-size:1em;
    padding-left:0.1em;
}
.leading-zeros > span > span {
    font-size:60%;
    letter-spacing: 5px;
}
.leading-zeros span.char1 {
    padding-left: 0.1em;
}
.regex-complaint{
    display:block!important;
}
.tagPreviewTextA .font-ratioed{
    display: block;
}
.tagPreview,  .tagPreviewEnd{
    visibility: hidden;
}
h2.tag-preview-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3em;
}
#attributeTextInputs .alert-validator{
    position: absolute;
    top: 34px;
    z-index: 99;
    padding: 0 5px;
}
#attributeTextInputs .alert-validator:before{
    content: " ";
    left: 10px;
    height: 10px;
    width:10px;
    position: absolute;
    top: -5px;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}
#attributeTextInputs .alert-danger:before{
    background-color: #f2dede;
}
#attributeTextInputs .alert-info:before{
    background-color: #d9edf7;
}
#attributeTextInputs dl.row{
    margin-bottom:12px;
}
.input-helper{
    position: absolute;
    z-index: 999;
    margin: 0 15px;
    display: block;

    top: 34px;
    left: 0px;
    background: #f5f5f5;
    cursor: pointer;
    width: 100%;
    padding: 5px 15px;
    border:1px #ccc solid;
}
.input-helper:after{
    content: " ";
    left: 10px;
    border-top: 1px #ccc solid;
    border-left: 1px #ccc solid;
    background-color: #f5f5f5;
    height: 10px;
    width:10px;
    position: absolute;
    top: -5px;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}
.input-helper span{
    font-weight: bold
}
#previously-added-tags-list:before{
    content: "Tags just added:";
    color: white;
    background-color: #00853a;
    text-transform: uppercase;
    padding: 5px 10px;
    margin-bottom: 4px;
    display: inline-block;
}
#previously-added-tags-list tbody{
    border: #00853a 1px solid;
}
#previously-added-tags-list th, #previously-added-tags-list td{
    padding-right:15px;
    padding-left:15px;

}
#previously-added-tags-list td{
    text-align: center;
}
#previously-added-tags-list td:first-of-type{
    text-align: right;
}
#previously-added-tags-list td:last-of-type{
    text-align: left;
}
#previously-added-tags-list tr:nth-of-type(even){
    background: #ddd;
}

/* Isle of Man emblem */ 
/* to hide the (s) on all none-slaughter tags */

.iom-non-slaughter{
    overflow: hidden;
}

.iom-non-slaughter > div {
    right: -70px;
    position: absolute;
    width: 170px;
    overflow: hidden;
}
.iom-non-slaughter > div > div > img.emblem{
    margin-left:-140px;
}

/* END - Isle of Man emblem */


/* Northern Ireland emblem combinations and different tag layouts */

/* BELOW are classes for hidden 'i' and 'i' to the LEFT */
/* Standard Combi Large */
.ni-emblem-combi-large{
    overflow: hidden;
}

.ni-emblem-combi-large > div {
    right: -7px;
    position: absolute;
    width: 67px;
    overflow: hidden;
    top: -25px;
}
.ni-emblem-combi-large > div > div > img.emblem{
    margin-left:-15px;
}
/* END - Standard Combi Large */

/* Combi Large with management space */
.ni-emblem-combi-large-manspace{
    overflow: hidden;
}

.ni-emblem-combi-large-manspace > div {
    right: -7px;
    position: absolute;
    width: 45px;
    overflow: hidden;
    top: -17px;
}
.ni-emblem-combi-large-manspace > div > div > img.emblem{
    margin-left:-15px;
}
/* END - Combi Large with management space */

/* Combi Small and E30 Flag */
.ni-emblem-combi-small-e30flag{
    overflow: hidden;
}

.ni-emblem-combi-small-e30flag > div {
    right: -7px;
    position: absolute;
    width: 56px;
    overflow: hidden;
    top: -21px;
}
.ni-emblem-combi-small-e30flag > div > div > img.emblem{
    margin-left:-15px;
}
/* END - Combi Small and E30 Flag */

/* Combi Button and E30 Button  */
.ni-emblem-combi-button{
    overflow: hidden;
}

.ni-emblem-combi-button > div {
    right: -7px;
    position: absolute;
    width: 39px;
    overflow: hidden;
    top: -15px;
}
.ni-emblem-combi-button > div > div > img.emblem{
    margin-left:-15px;
}
/* END - Combi Button and E30 Button  */
/* END - classes for hidden 'i' and 'i' to the LEFT */

/* 'i' to appear on the above */
/* Standard Combi Large */

.ni-emblem-i-above{
    overflow: hidden;
}

.ni-emblem-i-above > div {
    right: -19px;
    position: absolute;
    width: 70px;
    overflow: hidden;
    top: 0px;
}
.ni-emblem-i-above > div > div > img.emblem{
    margin-left:-45px;
}
/* END - Standard Combi Large */
/* END - 'i' to appear on the above */



@font-face {
	font-family: 'Shearwell Tag';
	src: url('../Fonts/ShearwellTag.eot');
	src: url('../Fonts/ShearwellTag.eot?#iefix') format('embedded-opentype'),
		url('../Fonts/ShearwellTag.woff') format('woff'),
		url('../Fonts/ShearwellTag.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@media screen and (max-width:480px){
    #tagPreview, #tagPreviewEnd{

        transform: translate(-12.5%, -12.5%) scale(0.75);
        -moz-transform: translate(-12.5%, -12.5%) scale(0.75);
        -ms-transform: translate(-12.5%, -12.5%) scale(0.75);
        -webkit-transform: translate(-12.5%, -12.5%) scale(0.75);
        margin-bottom:-25%;
        margin-right:-25%;
        display: flow-root;
    }
}
@media screen and (max-width:420px){
    #tagPreview, #tagPreviewEnd{

        transform: translate(-18.75%, -12.5%) scale(0.625);
        -moz-transform: translate(-18.75%, -12.5%) scale(0.625);
        -ms-transform: translate(-18.75%, -12.5%) scale(0.625);
        -webkit-transform: translate(-18.75%, -12.5%) scale(0.625);
        margin-bottom:-37.5%;
        margin-right:-37.5%;
    }
}

@media screen and (max-width:360px) {
    #tagPreview, #tagPreviewEnd {
        transform: translate(-25%, -25%) scale(0.5);
        -moz-transform: translate(-25%, -25%) scale(0.5);
        -ms-transform: translate(-25%, -25%) scale(0.5);
        -webkit-transform: translate(-25%, -25%) scale(0.5);
        margin-bottom: -50%;
        margin-right: -50%;
    }

    #hideOnInputXs > div:first-child {
        max-width: 100%;
    }
}

