body{
    /*font-size:10px;*/
    color:#0e0e0e;
}

i{
    text-decoration: none;
    font-style: normal;
}
input{
    /*
    
    background-color: #eeeeee;
    border: 1px solid #d2d2d1;
    
    font-size: 1.8em;
    line-height: 1.25em;
    padding: 0 12px 0 12px;
    */font-size: 1.8em;
   display: inline-block;
    padding-left: 24px;
    padding-right: 0px;
    border: 2px solid #c7c7c7;
    outline: none;
    color: #0e0e0e;
    text-align: left;
    text-decoration: none;
    background-color: #f8f8f8; 
    transition: all .2s ease-in-out;
    font-family: 'futuraeftuop-demiboldregular',sans-serif;
}
input::placeholder {
    color: #949494;
}
input:-ms-input-placeholder {
    color: #949494;
}
input:focus {
    border: 2px solid #2a5f8d;
    background-color: #fff;
}
input:focus::-webkit-input-placeholder{
    transition: all .30s ease-in-out;
    color: #fff;
    background-color: #fff;
}
input:focus::-moz-placeholder{
    -webkit-transition: all .30s ease-in-out;
    color: #fff;
    background-color: #fff;
}

span.glyphicon.glyphicon-chevron-right{
    margin-left:12px;
}
.row{
    margin-right: 0;
    margin-left: 0;
}


#wizardContainer{
    position: relative;
}


.visible{
    display: block !important;
    opacity: 1 !important;
}

.vertical-align{
    position: relative;
    top: 50%; 
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.horizontal-align{
    position: relative;
    left: 50%; 
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header-container{
    background: navy;
    max-height: 91px;
}

.img-responsive.brand-logo{
    margin:7px 0 7px 47px;
    display: inline-block;
}

.navbar-close-btn{
    position: absolute;
    right: 24px;
    border: 2px solid white;
    display: inline-block;
}
.navbar-close-btn img{
    height: 48px;
    width: 48px;
}
/*
.main{
    padding:30px 10px;
}*/

div#projector3d{
    height: 100%;
    max-height: 602px;
}
div#content3d{
    /*height:596px;*/
    height:100%;
    position: relative;
}
div#content3d.restrictHeight{
    max-height: 665px;
}
.preview-parent {
    width: 100%;
    max-height:665px;
    display: block;
    float: left;
    vertical-align: top;
    overflow: hidden;
    background: url(/Content/Wizard/images/generic_projector_background.jpg) top center white no-repeat;
    background-size: cover;
    position: relative;
}
.canvas-parent{
    display: block;
    width: 100%;
    max-width:830px;
    max-height: 665px;
    float: right;
    background: url(/Content/Wizard/images/generic_canvas_background.jpg) top center white no-repeat;
    background-size: cover;
    vertical-align: top;
    overflow: hidden;
    position: relative;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.canvas-container{
    position: relative;
    top: 50%; 
    left:48%;
    z-index: 10;
    display: inline-block;
    -webkit-transform: translate(-50%,-50%) scale(0.68);
    -ms-transform: translate(-50%,-50%) scale(0.68);
    transform: translate(-50%,-50%) scale(0.68);
}

.preview-tools{
    display:inline-block;
    background-color: rgba(178,178,178,0.5);
    width:282px;
    height:64px;
}

.level-container{
    height: 100%;
}

.level-1, .level-2, .level-3{
    position: absolute;
}
.utility-panel{
    bottom: 0;
}

#controlPanels{
    width:100%;
    max-height:170px;
    position: absolute;
    bottom:0;left:0;
    z-index: 15;
}
#toolContainer{
    position: relative;
    height: auto;
}
#toolControls, #utilityControls{
    position:absolute;
    display:block;
    height:100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    box-sizing: border-box;
}
#toolControls{
    padding-top: 32px;
    z-index: 55;
}
#toolControls, 
#toolControls .level-1, 
#toolControls .level-2, 
#toolControls .level-3
{
    bottom: 0;
    right:0;
    top:0;
    z-index: 56;
}

#toolControls{
    right:5px;
}

#utilityControls{
    right: 0;
    bottom:0;
    top:0;
    left:0;
    z-index: 15;
}

#previewControls{
    bottom:0;
    left:0;
    width:100%;
    background-color: rgba(178,178,178,0.5);
    text-align: center;
    position: absolute;
}
#toolControls ul, #utilityControls ul, #controlPanels ul:not(.dropdown-menu), #previewControls ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    line-height: 0;
}
#toolControls ul{
    background-color: white;
    padding: 22px 23px;
}

#toolControls div.menu-scroll-container.vertical-align ul{
    padding-top:0;
    padding-bottom: 0;
}

#toolControls ul#tools,#toolControls ul#utilities{
    border: 3px solid #ededed;
    padding: 0;
    text-align: center;
    width: 170px;
}
#toolControls ul#utilities,#utilityControls ul{
    width:82px;
    border: none;
}
#toolControls ul#utilities{
    position: absolute;
    right:3px;
}

#previewControls ul{
    padding:14px;
}

#toolControls ul>li:not(:first-of-type){
    padding-top:20px;
}

#toolControls ul#tools >li:not(:first-of-type){
    padding-top:0;
}

#toolControls ul#tools > li.tool-heading{
    text-transform: uppercase;
    padding: 14px;
    font-weight: bold;
    background-color: #ededed;
    font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@-moz-document url-prefix() { 
    #toolControls ul#tools > li.tool-heading{
        padding: 12px;
    }
}
#toolControls ul#tools > li.tool-heading > span.tool-heading-mobile{
    display: none;
}

#toolControls li > a, #utilityControls li a, #controlPanels a:not(.page-link), #previewControls li a{
    text-decoration: none;
    display: block;
}
#utilityControls li a{
    display: inline-block;
}
#toolControls ul#tools > li,#toolControls ul#utilities > li{
    text-align: center;
}
#toolControls li > a{
    width:54px;
    height: 54px;
    position: relative;
    border: 2px solid white;
}
ul#tools li > a{
    width: 38px;
    height: 38px;
    display: inline-block;
    padding: 10px;
}
#toolControls li.menu-tool-button.with-label > a{
    color:black;
}

#utilities li a, #controlPanels a:not(.page-link), #previewControls li a{
    width:35px;
    height:35px;
}

a.icon,a.colour{
    color:rgba(0,0,0,0);
    line-height:0;
    background-repeat: no-repeat;
}
#toolControls li > a.colour{
    width:48px;
    height: 48px;
}
#toolControls li > a{
    background-color: #cccccc;
}
#toolControls a.icon{
    background-size: 50px 50px;
    background-color: #0e0e0e; /* [LS Oct16] colour change to match styleguide */
}
#utilityControls a.icon,#controlPanels a.icon, #previewControls li a{
    background-size: 35px 35px;
    background-color: #eeeeee;
}
#utilityControls a.icon{
    background-color: white;
}

ul#utilities >li:not(:first-of-type){
    padding-top:0;
}

ul#tools a.icon,ul#utilities a.icon{
    background-size: 38px 38px;
    background-color: white;
    width:135px;
    height:88px;
    background-position: center 10px;
    border: 3px solid white;
}
ul#tools a.icon > span{
    font-size: 14px;
    position: absolute;
    bottom:10px;
    left:0px;
    line-height: 16px;
    text-transform: uppercase;
    width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
}
ul#utilities a.icon,#utilityControls a.icon{
    background-size: auto 33px;
    background-position: center center;
    width:55px;
    height:55px;
}
#controlPanels a.icon:active{
    background-color: #6f6f6f;
}
#previewControls li a{
    background-color: transparent;
}

/* ==== main tool icons ==== */
#tools li > a.icon-template{
    background-image: url(/Content/Wizard/images/icons-svg/icon_template_off.svg);
    background-size: auto 62px;
    margin:6px 0;
}
#tools li > a.icon-background{
    background-image: url(/Content/Wizard/images/icons-svg/icon_background_off.svg);
    margin-top: 6px;
}
a.icon-clipart{
    background-image: url(/Content/Wizard/images/icons-svg/icon_clipart_off.svg);
}
#tools li > a.icon-upload{
    background-image: url(/Content/Wizard/images/icons-svg/icon_upload_off.svg);
    background-size: auto 34px;
}
#tools li > a.icon-text{
    background-image: url(/Content/Wizard/images/icons-svg/icon_text_off.svg);
    margin-bottom: 6px;
}

#toolControls li > a.icon-on{
    border: 2px solid #2a5f8d;
}
#utilities li > a.icon-on{
    border: 3px solid #2a5f8d;
}

#tools a.icon-template.icon-on,
#tools a.icon-background.icon-on,
#tools a.icon-clipart.icon-on,
#tools a.icon-upload.icon-on,
#tools a.icon-text.icon-on{
    opacity: 1;
    border:3px solid #2a5f8d;
}


#toolControls a.icon-clipart.subselection{
    background-color: #e5e5e5;
    background-size: 36px 36px;
    background-position: center center;
}

/* ==== utility/adjustment tool icons ==== */
a.icon-move{
    background-image: url(/Content/Wizard/images/icons-svg/icon_move_off.svg);
}
/*a.icon-pointer{
    background-image: url(/Content/Wizard/images/icons/icon_pointer_off.png);
}
a.icon-pointer.icon-on{
    background-image: url(/Content/Wizard/images/icons/icon_pointer_on.png);
}*/
a.icon-move-left{
    background-image: url(/Content/Wizard/images/icons-svg/icon_move_left_off.svg);
}
a.icon-move-right{
    background-image: url(/Content/Wizard/images/icons-svg/icon_move_right_off.svg);
}
a.icon-move-up{
    background-image: url(/Content/Wizard/images/icons-svg/icon_move_up_off.svg);
}
a.icon-move-down{
    background-image: url(/Content/Wizard/images/icons-svg/icon_move_down_off.svg);
}

a.icon-scale{
    background-image: url(/Content/Wizard/images/icons-svg/icon_scale_off.svg);
}

a.icon-scale-up{
    background-image: url(/Content/Wizard/images/icons-svg/icon_scale_up_off.svg);
}
a.icon-scale-down{
    background-image: url(/Content/Wizard/images/icons-svg/icon_scale_down_off.svg);
}

a.icon-delete{
    background-image: url(/Content/Wizard/images/icons-svg/icon_delete_off.svg);
}
/*a.icon-delete.icon-on{
    background-image: url(/Content/Wizard/images/icons-svg/icon_delete_on.svg);
}*/
a.icon-tick{
    background-image: url(/Content/Wizard/images/icons-svg/icon_tick_off.svg);
}

a.icon-order{
    background-image: url(/Content/Wizard/images/icons-svg/icon_order_off.svg);
}

a.icon-order-front{
    background-image: url(/Content/Wizard/images/icons-svg/icon_order_front_off.svg);
}
a.icon-order-forwards{
    background-image: url(/Content/Wizard/images/icons-svg/icon_order_forwards_off.svg);
}
a.icon-order-backwards{
    background-image: url(/Content/Wizard/images/icons-svg/icon_order_backwards_off.svg);
}
a.icon-order-back{
    background-image: url(/Content/Wizard/images/icons-svg/icon_order_back_off.svg);
}

a.icon-rotate{
    background-image: url(/Content/Wizard/images/icons-svg/icon_rotate_off.svg);
}

a.icon-rotate-neg-90{
    background-image: url(/Content/Wizard/images/icons-svg/icon_rotate_neg_90_off.svg);
}
a.icon-rotate-neg-5{
    background-image: url(/Content/Wizard/images/icons-svg/icon_rotate_neg_5_off.svg);
}
a.icon-rotate-pos-5{
    background-image: url(/Content/Wizard/images/icons-svg/icon_rotate_pos_5_off.svg);
}
a.icon-rotate-pos-90{
    background-image: url(/Content/Wizard/images/icons-svg/icon_rotate_pos_90_off.svg);
}

a.icon-colour{
    background-image: url(/Content/Wizard/images/icons-svg/icon_colour_off.svg);
}
/* ==== 3D preview tool icons ==== */
a.icon-preview-rotate-left{
    background-image: url(/Content/Wizard/images/icons/icon_preview_rotate_left_off.png);
}
/*a.icon-preview-rotate-left.icon-on, a.icon-preview-rotate-left:active, a.icon-preview-rotate-left:active{
    background-image: url(/Content/Wizard/images/icons/icon_preview_rotate_left_on.png);
}*/
a.icon-preview-zoom-in{
    background-image: url(/Content/Wizard/images/icons/icon_preview_zoom_in_off.png);
}/*
a.icon-preview-zoom-in.icon-on, a.icon-preview-zoom-in:active, a.icon-preview-zoom-in:active{
    background-image: url(/Content/Wizard/images/icons/icon_preview_zoom_in_on.png);
}*/
a.icon-preview-zoom-out{
    background-image: url(/Content/Wizard/images/icons/icon_preview_zoom_out_off.png);
}/*
a.icon-preview-zoom-out.icon-on, a.icon-preview-zoom-out:active, a.icon-preview-zoom-out:active{
    background-image: url(/Content/Wizard/images/icons/icon_preview_zoom_out_on.png);
}*/
a.icon-preview-rotate-right{
    background-image: url(/Content/Wizard/images/icons/icon_preview_rotate_right_off.png);
}/*
a.icon-preview-rotate-right.icon-on, a.icon-preview-rotate-right:active, a.icon-preview-rotate-right:active{
    background-image: url(/Content/Wizard/images/icons/icon_preview_rotate_right_on.png);
}*/
a.icon-preview-reset{
    background-image: url(/Content/Wizard/images/icons/icon_preview_reset_off.png);
}/*
a.icon-preview-refresh.icon-on, a.icon-preview-refresh:active, a.icon-preview-refresh:active{
    background-image: url(/Content/Wizard/images/icons/icon_preview_refresh_on.png);
}*/

a.icon-preview-model-full{
    background-image: url(/Content/Wizard/images/icons/icon_handle_zoom_in_off.png);
}
a.icon-preview-model-half{
    background-image: url(/Content/Wizard/images/icons/icon_handle_zoom_in_on.png);
}


/* ==== other icons ==== */
a.icon-scroll-arrow-left{
    background-image: url(/Content/Wizard/images/icons-svg/icon_scroll_arrow_left_off.svg);
}
a.icon-scroll-arrow-right{
    background-image: url(/Content/Wizard/images/icons-svg/icon_scroll_arrow_right_off.svg);
}

a.subsection > span.category-label-container {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
}
a.subsection > span.category-label-container > span.category-label{
    display:inline-block;
    position: relative;
    width: 50px;
    top: 50%; 
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    color: white;
    font-family: 'futuraeftuop-demiboldregular',sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1em;
    padding:6px;
    letter-spacing: 0.5px;
}
span.category-label[data-id='template-gaming'],
span.category-label[data-id='template-general'],
span.category-label[data-id='background-gaming'],
span.category-label[data-id='clipart-passion'],
span.category-label[data-id='background-colour']{
    padding-left: 4px !important;
}
span.category-label[data-id='template-general'],
span.category-label[data-id='clipart-emotions']{
    padding-left: 2px !important;
}

div.help-icon-container{
    position: absolute;
    right:200px;
    top:32px;
    width:25px;
    height:25px;
    display: inline-block;
    z-index: 15;
}
a.icon-help{
    background-image: url(/Content/Wizard/images/icons/icon_help_whitebg_off.png);
    background-size: 25px 25px;
    background-repeat: no-repeat;
    width:25px;
    height:25px;
    display: block;
}


#controlPanels ul.dropdown-menu{
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding:0;
    font-size: 1.8em;
    top:auto;
    bottom:44px;
    width:100%;
    min-width: inherit;
}
#controlPanels ul.dropdown-menu > li > a{
    display: block;
    width: auto;
    height: auto;
    padding:6px 24px;
}

#controlPanels ul.dropdown-menu > li{
    padding: 0px;
}
#controlPanels ul.dropdown-menu > li > a:hover, #controlPanels ul.dropdown-menu > li > a:focus{
    background-color: rgb(238,238,238);
}


#utilityControls ul{ 
    background-color: white; /* [LS Oct16] rgba(178,178,178,0.5); */
    padding:0;
}
#utilityControls li > a.icon.icon-on{
    background-color: white;
}
#controlPanels ul:not(.dropdown-menu) li, #controlPanels a:not(.page-link), #previewControls li {
    display: inline-block;
}

#toolControls li:not(:first-of-type){
    /*margin-top: 22px;*/
}

#utilityControls > div.utilities-container {
    height: 100%;
    background-color: white;
    border: 3px solid #ededed;
}
#utilities > li{
    margin-top: 14px;
}

#utilities > li:last-of-type{
    margin-bottom: 14px;
}

#previewTools li:not(:first-of-type){
    margin-left: 5px;
}
#controlPanels ul:not(.dropdown-menu) li:not(:first-of-type){
    margin-left: 12px;
}
#toolControls .level-1, 
#toolControls .level-2, 
#toolControls .level-3{
    background-color: white; /*rgba(178,178,178,0.5);*/
    right:167px; /* 4G */
    /*-webkit-box-shadow: 55px 0px 55px 0px rgba(0,0,0,0.07);
    -moz-box-shadow: 55px 0px 55px 0px rgba(0,0,0,0.07);
    box-shadow: 55px 0px 55px 0px rgba(0,0,0,0.07);*/
    border: 3px solid #ededed;
}
#toolControls .level-1{
}
#toolControls .level-2{
    right:270px;
}

#toolControls .level-3{
    right:348px;
}
#utilityControls .level-1, 
#utilityControls .level-2, 
#utilityControls .level-3{
    background-color: white; 
    border: 3px solid #ededed;
    position: absolute;
    height: 100%;
    right: auto;
    left: 0;
    padding:0;
    text-align: center;
}

#utilityControls div.utility-panel ul{
    width: 79px;
}

.menu-nav,.utility-nav{
    width: 52px;
    height: 25px;
    display: block;
    margin: 22px 24px;
    background-color: white !important;
    font-size: 0;
    background-repeat: no-repeat;
    background-size: 30px 23px !important;
    background-position: center center;
    position: absolute;
}
.menu-nav.nav-prev,.utility-nav.nav-prev{
    top:0;
    background-image:url(/Content/Wizard/images/icons-svg/icon_scroll_arrow_up_off.svg);
}
.menu-nav.nav-next,.utility-nav.nav-next{
    bottom:0;
    background-image:url(/Content/Wizard/images/icons-svg/icon_scroll_arrow_down_off.svg);
}
.utility-nav.nav-prev{
    margin:12px 12px 0 12px;
}
.utility-nav.nav-next{
    margin:0 12px 12px 12px;
}
.menu-scroll-container{
    height:408px;
    overflow:hidden;
}
.panel-container{
    position: relative;
    left: 50%; 
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.panel-container-white{
    background-color: white;
}
.panel-container{
    height:84px; /* 3G */
}

#controlPanels div.level-1, #image-panel {
    background-color: rgba(178,178,178,0.5); 
}
/* [LS Oct16]  */
#image-panel {
    background-color: white; 
}
#controlPanels div.level-1, #text-panel, #image-panel, #product-panel {
    top:auto;
    bottom: 0;
    text-align: center;
    position: absolute;
    /*left:20%;*/
    float: none;
}
#product-panel{
    height: auto;
}
#product-panel>div{
    text-align: center;
}
#product-panel button, #product-panel img{
    margin-top: 24px;
}

#text-panel{
    bottom:0; /* 3G */
    background-color: white;
    border:3px solid #ededed;
    margin-bottom: 6px;
    border-radius: 0;
}
#text-panel > div{
    padding-top:0;padding-bottom: 0;
}
#text-panel > div > input, #text-panel > div >select{
    width: 100%;
}
#text-panel input, #text-panel select{
    /*background-color: #eeeeee;
    border:none;*/
    height: 55px;
}

#image-panel > button:first-of-type{
    margin-right:12px;
    vertical-align: top;
}
#image-panel > button:last-of-type{
    margin-left: 12px;
}
body.locale-nl-nl #image-panel > button:last-of-type,
body.locale-de-de #image-panel > button:last-of-type{
    margin-left: 0px;
}

.upload-notice{
    display: inline-block; 
    width: 55%;
    font-size:1em;
}
body.locale-nl-nl .upload-notice{
    font-size: 0.9em;
    margin-top: -6px;
}

.font-selector{
    width: 100%;
    /*padding: 10px 12px;*/
display: inline-block;
    padding-left: 24px;
    border: 2px solid #c7c7c7;
    outline: none;
    text-align: left;
    text-decoration: none;
    background: url(/Content/Wizard/images/icons/downicon.png) 166px / 15% no-repeat #fff; 
    background-size: 17px auto;
    background-position: 95% 50%;
    color: #2a5f8d;
    transition: all .2s ease-in-out;
    cursor: pointer;
    background-color: #f8f8f8; 
    border-radius: 0;
    height: 55px;
    padding: 15px 15px 15px 20px;
}
.font-selector > a{
    color: #2a5f8d;
}
.font-selector.open{
    border-color: #2a5f8d;
    background-color: #fff;
}

#controlPanels div.font-selector > a{
    width:100%;
    height:100%;
    font-size: 1.6em;
}
#controlPanels div.level-1 > ul,#controlPanels div.level-1 > div:first-of-type{
    display: inline-block;
/*    padding-top:14px;
    padding-bottom:14px;*/
}

#controlPanels div.level-1 > div:first-of-type {
    display: block;
    padding-bottom: 3px;
}
#controlPanels div.level-1 > div:first-of-type span{
    display: inline-block;
    height:38px;
    line-height: 38px;
    vertical-align: bottom;
    margin-right: 20px;
    font-size: 1.6em;
}
#controlPanels a.utility-nav{
    
}
#controlPanels a.utility-nav.icon-scroll-arrow-left{
    margin-right:12px;
}
#controlPanels a.utility-nav.icon-scroll-arrow-right{
    margin-left:12px;
}


.disabled {
    cursor: not-allowed;
    opacity: 0.25;
}

#colour-group{
   /* width:510px;*/
    font-size:0;
}
#colourScroller{
    /*width: 75%;*/
    overflow: hidden;
    height:388px;
    display: inline-block !important;

/*    margin-top:7px !important;
    margin-bottom:7px !important;*/
    padding-top:0 !important;
    padding-bottom:0 !important;
}

#colour-group ul{
    white-space: nowrap;
    font-size:0;
    height:100%;
    /*width: 100%;*/
    position: relative;
    overflow-x: visible;
}

#colourScroller li{
    /*border-top:7px solid rgba(0,0,0,0);
    border-bottom: 7px solid rgba(0,0,0,0);*/
/*    width: 9.61%;
    height: 100%;*/
}


#colourScroller li.selected:not(:first-of-type){
    margin-left: 5px !important;
}
#colourScroller li.selected:first-of-type{
    margin-left: 0px;
}
#colourScroller li:last-of-type{
    /*margin-right:7px;*/
}

/* ==== Colour swatches ==== */
/*.colour-black{
    background-color: rgb(0,0,0) !important;
}
.colour-white{
    background-color: rgb(255,255,255) !important;
}
.colour-bright-grey{
    background-color: rgb(218,218,218) !important;
}
.colour-dark-grey{
    background-color: rgb(135,135,35) !important;
}
.colour-yellow{
    background-color: rgb(255,238,0) !important;
}
.colour-orange{
    background-color: rgb(233,91,27) !important;
}
.colour-red{
    background-color: rgb(205,23,25) !important;
}
.colour-dark-red{
    background-color: rgb(147,15,15) !important;
}
.colour-brown{
    background-color: rgb(90,28,3) !important;
}
.colour-burgundy{
    background-color: rgb(151,0,82) !important;
}
.colour-pink{
    background-color: rgb(195,0,100) !important;
}
.colour-magenta{
    background-color: rgb(230,0,126) !important;
}
.colour-lilic{
    background-color: rgb(131,31,130) !important;
}
.colour-lavender{
    background-color: rgb(124,110,176) !important;
}
.colour-cyan{
    background-color: rgb(0,159,227) !important;
}
.colour-navy-blue{
    background-color: rgb(0,61,124) !important;
}
.colour-petrol{
    background-color: rgb(0,104,145) !important;
}
.colour-green{
    background-color: rgb(0,150,64) !important;
}
.colour-apple-green{
    background-color: rgb(149,193,31) !important;
}
.colour-forest-green{
    background-color: rgb(0,95,39) !important;
}
.colour-olive{
    background-color: rgb(80,84,17) !important;
}*/

.colour-black{
    background-color: #000000 !important;
}
.colour-white{
    background-color: #ffffff !important;
}
.colour-bright-grey{
    background-color: #dadada !important;
}
.colour-dark-grey{
    background-color: #878787 !important;
}
.colour-yellow{
    background-color: #ffee00 !important;
}
.colour-orange{
    background-color: #e95b1b !important;
}
.colour-red{
    background-color: #cd1719 !important;
}
.colour-dark-red{
    background-color: #930f0f !important;
}
.colour-brown{
    background-color: #5a1c03 !important;
}
.colour-burgundy{
    background-color: #970052 !important;
}
.colour-pink{
    background-color: #c30064 !important;
}
.colour-magenta{
    background-color: #e6007e !important;
}
.colour-lilic{
    background-color: #831f82 !important;
}
.colour-lavender{
    background-color: #7c6eb0 !important;
}
.colour-cyan{
    background-color: #009fe3 !important;
}
.colour-navy-blue{
    background-color: #003d7c !important;
}
.colour-petrol{
    background-color: #006891 !important;
}
.colour-green{
    background-color: #009640 !important;
}
.colour-apple-green{
    background-color: #95c11f !important;
}
.colour-forest-green{
    background-color: #005f27 !important;
}
.colour-olive{
    background-color: #505411 !important;
}


#btnSave,#btnDone{
    position:absolute;
    right:6px;
    bottom:24px;
    z-index:57;
    margin:0;
    width:170px;
    height: 60px;
    white-space: nowrap;
    font-size: 14px;
}

div.modal-container{
    z-index: 100000;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    left:0;
    top:0;
    right:0;
    bottom: 0;
    height: 100%;
    width: 100%;
    display: block;
}

div.progress-container{
    z-index: 100001;
    margin:0 auto;
    display: block;
    top: 50%; 
    position: relative;
    -webkit-transform: translateY(-50%); 
    -ms-transform: translateY(-50%); 
    transform: translateY(-50%);
}
div.progress-label{
    font-family: 'futuraeftuop-demiboldregular', sans-serif;
    font-size:1.6em;
    color:white;
    margin-bottom:5px;
}
#progressBar{
    margin: 0 auto;
}
#toolTour{
    z-index:51;
     /*-webkit-box-shadow: 55px 0px 55px 0px rgba(0,0,0,0.07);
    -moz-box-shadow: 55px 0px 55px 0px rgba(0,0,0,0.07);
    box-shadow: 55px 0px 55px 0px rgba(0,0,0,0.07);*/
}
#toolTour p{
    margin:0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
   }
div.tour-container{
    position: absolute;
    padding: 22px 6px 25px 35px;
    right: 175px;
    top: 32px;
    width: 522px;
    min-height: 526px;
    background-color: white;
  }
body.locale-nl-nl div.tour-container,
body.locale-de-de div.tour-container{
    width:649px;
}
div.tour-content{
    position: relative;
    width: 48%;
    box-sizing: border-box;
    line-height: 150%;
    float: left;
}
body.locale-nl-nl div.tour-content,
body.locale-de-de div.tour-content{
    margin-right:4px;
}

div.tour-sub-content{
    background-color: #eeeeee;
    padding:24px 6px 24px 24px;
    min-height:468px;
}
body.locale-nl-nl div.tour-sub-content,
body.locale-de-de div.tour-sub-content{
    margin-right:0px;
}

p.tour-copy-header{
    text-transform: uppercase;
}
p.tour-copy-intro-header,p.tour-copy-header{
    font-size: 2.49em;
    line-height: 1em;
    padding-top:25px;
}
body.locale-nl-nl p.tour-copy-intro-header,body.locale-nl-nl p.tour-copy-header,
body.locale-de-de p.tour-copy-intro-header,body.locale-de-de p.tour-copy-header{
    font-size:2em;
}
p.tour-copy-intro-header
{
    padding-top:49px;
}
p.tour-copy-body{
    padding-top:25px;
    font-size: 1.8em;
    line-height: 1.25em;
}
.help-arrow{
    position:absolute;
    right:0;
    top:35px;
}
.help-arrow-right{
    width:28px;
    height:50px;
    background: url(/Content/Wizard/images/arrow-right.png) 0 0 transparent no-repeat;
    background-size: 28px 50px;
}
.tour-close-container{
    position:absolute;
    top:16px;
    left:12px;
}
a.tour-close{
    font-size:24px;
}
b.bold{
    font-family: 'futuraeftuop-demiboldregular', sans-serif;
}

#helpArrowRight{
    display: block;
}
#helpArrowBottom{
    display: none;
}

.ftscroller_container, .ftscroller_x{
    height: 100%;
}

.close.alert-close{
    color: rgba(0,0,0,0);
    background: url(/Content/Wizard/images/alert_close_x.png) center center no-repeat;
    /*background-size: 24px 24px;*/
    height:24px;
    width:24px;
    position: absolute;
    right:0px;
    top:6px;
    z-index: 10;
}


#alertPopup .alert-message-content{
    padding: 0px;
}
#alertPopup .alert-message-content.no-alert-icon .alertimage{
    display: none;
}
#alertPopup .alert-message-content.no-alert-icon .alert-wrapper{
    width:100%;
    margin-left: 0;
}
#alertPopup .alert-modal-content{
    padding: 24px;
}

#alertPopup .alert-modal-dialog{
    width: 600px;
}

#alertPopup .wizard-alert-footer.dual-button{
    text-align: center;
}

.wizard-alert-footer{
    margin-bottom: 0px;
}


#deviceUnsupportedBlocker,#phoneLandscapeBlocker,#alertPopup,#readonlyPopup{
    display: none;
}

#deviceUnsupportedBlocker .modal-dialog, #phoneLandscapeBlocker .modal-dialog, #deviceUnsupportedBlocker .alert-wrapper, #phoneLandscapeBlocker .alert-wrapper {
    width:80%;
}

#btnPreview{
    display: none;
}

.close-x{
    font-family: arial,sans-serif;
    text-decoration: none;
    font-size: 32px;
    color:black;
}

a.page-link{
    font-style: italic;
}
#btnEditText{
    display: none;
}

#previewCloseBtn{
    display: none;
}
#phoneLandscapeBlocker .modal-dialog,
#deviceUnsupportedBlocker .modal-dialog{
    margin: auto;
}

#pencil-panel{
    position: absolute;
    width: 134px;
    height: auto;
    padding: 12px 12px 24px 12px;
    bottom:0;
    z-index: 15;
    left: 50%; 
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
#pencil-panel > button{
    padding: 0 13px;
    font-size: 1.5em;
    line-height: 1.9em;
}
#pencil-panel > button > span.glyphicon{
    top:4px;
}

#btnPencilCancel, #btnPencilOk {
    background-size: contain;
    vertical-align: top;
    font-size: 0;
    background-repeat: no-repeat;
    background-position: center center;
    width:44px;
}
#btnPencilCancel {
    float: left;
    background-image: url(/Content/Wizard/images/reject-off.png);
}
#btnPencilCancel:hover,#btnPencilCancel:active {
    float: left;
    background-image: url(/Content/Wizard/images/reject.png);
}

#btnPencilOk {
    float:right;
    background-image: url(/Content/Wizard/images/accept-off.png);
}
#btnPencilOk:hover,#btnPencilOk:active {
    float:right;
    background-image: url(/Content/Wizard/images/accept.png);
}

#toolTour > div[data-id='tour-template']{
    position: initial;
    z-index: 2;
}

.topdesignscontainer{
    position:absolute; 
    left:0;
    right: 22px;
    bottom: 0;
    height: 170px;
    background-color: white;
    z-index: 5;
}
.topdesignscontainer > .gradientBg{
    position: absolute;
    top:70%;
    bottom:0;
    left:0;
    right:0;
    z-index: 1;
    opacity: 0.07;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(255,255,255,1)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#ffffff',GradientType=0 );
}

.tour-copy-header.top-designs-header{
    font-size: 1.8em;
    line-height: 1em;
    padding:0 24px;
}

.topdesignscontent{
    position: absolute;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    bottom: 0;
    height: 113px;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 0 0 0 12px;
    font-size: 0;
    line-height: 0;
}

#templateScroller{
    position: relative;
    display: inline-block;
    width: 84%;
    overflow: hidden;
    /*max-height: 110px;*/
    height:100%;
    margin:0px 2% 0 2%;

        -webkit-flex-grow: 2;
        flex-grow: 2;
}

#templateScroller ul{
    position: relative;
    white-space: nowrap;
    font-size:0;
    line-height: 0;
    height:100%;
    /*width: 100%;*/
    overflow-x: visible;
    margin-bottom: 0;
    padding:0 0 0 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

.topdesignscontent a.template-scroll-arrow{
    display: inline-block;
    width: 27px;
    height:53px;
    /*height: 100%;*/
    background-size: contain;
    background-color: transparent;
    vertical-align: top;
    font-size: 0;
    background-repeat: no-repeat;
    margin-top:5%;
        -webkit-flex-grow: 1;
        flex-grow: 1;
}
.topdesignscontent a.template-scroll-arrow-left{
    background-image: url(/Content/Wizard/images/scroll-arrow-left.png);
}
.topdesignscontent a.template-scroll-arrow-right{
    background-image: url(/Content/Wizard/images/scroll-arrow-right.png);
}
#templateScroller li{
    margin-right:12px;
    display: inline-block;
}
body.locale-nl-nl  #templateScroller li{
    margin-right:14px;
}

a.topdesign{
    display: block;
    width:52px;
    height:116px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
}
#templateScroller li:last-of-type{
    margin-left: 0;


}
#preview2d{
    width:auto;
    height:100%;
}

/*#previewControls.reducedPreviewControls li:first-of-type,
#previewControls.reducedPreviewControls li:nth-of-type(4),
#previewControls.reducedPreviewControls li:last-of-type
{
    display:none;
}*/
/*#previewControls.reducedPreviewControls li:nth-of-type(2){
    margin-left: 0;
}*/
#previewControls.reducedPreviewControls li:first-of-type{
    margin-left: 0;
}
#projector3d.maxHeight{
    max-height:100%;
}
#content3d.restrictHeight #projector3d{
    position: relative;
    max-height: 90%;
    text-align: center;
    overflow: hidden;
}


.bubble:before {
    content: "";
    position: absolute;
    bottom: -21px;
    left: 132px;
    border-width: 21px 20px 0;
    border-style: solid;
    border-color: #2a5f8d transparent;
    display: block;
    width: 0;
}


.bubble:after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 136px;
    border-width: 18px 16px 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
}

.bubble {
    width: 300px;
    height: auto;
    padding: 0px;
    background: #FFFFFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: #2a5f8d solid 2px;
}



.hint-text {
    font-family: 'futuraeftuop-demiboldregular', sans-serif;
    height: auto;
    font-size: 17px;
    padding:0 0 17px 0;
    line-height: 17px;
    color: #2a5f8d;
    font-weight: normal;
}


@keyframes shake {
  0% {
    transform: translate(3px, 0);
  }
  50% {
    transform: translate(-3px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

#readonlyPopup div.alert-modal-content{
    border-radius: 10px;
    border: none;
    padding:17px;
}
#readonlyPopup div.wizard-alert-footer{
    text-align: center;
    overflow: hidden;
}
#readonlyPopup div.wizard-alert-footer button{
    margin:0;
    width:100%;
}
#readonlyPopup div.wizard-alert-footer button:first-child{
    margin-bottom:10px;
}
#readonlyPopup div.wizard-alert-footer button:first-child > .button-content{
    vertical-align: middle;
}
#readonlyPopup div.wizard-alert-footer button:first-child > img.icon-order-razor{
    display: inline-block;
    width:18px;
    height:16px;
}


#btnChangeProduct{
    position: absolute;
    display:block;
    width: 70px;
    height: 215px;
    background-size: contain;
    color:rgba(0,0,0,0);
    left: 20px;
    bottom: 9%;
    z-index: 45;
}


.button-change-product-manual{
    background: url(/Content/Wizard/images/product_change_manual.png) center center no-repeat;
}
.button-change-product-chill{
    background: url(/Content/Wizard/images/product_change_chill.png) center center no-repeat;
}

div.menu-scroll-container-mobile{
    height: 100%;
}

 .razorStep h3, .razorStep h2 {text-align:center; text-transform:uppercase; letter-spacing:1.2px;}
	.razorStep h3 { font-size:20px; color:#606060; margin-bottom: 0px;}
	.razorStep h2 { font-size:28px; color:#000; margin-top: 10px;}
	.razorBtnPB  {padding-bottom:30px;}
	.razorStep button {background-color: #fff; border:1px solid #606060; border-radius: 0; width:100%; padding:15px 0; font-weight:bold; font-size:14px; color:#606060;  text-transform:uppercase; letter-spacing: 1.2px; }
.razorStep button.selected {background-color: #1491d4; color:#FFF; border:1px solid #1491d4; }
.razorStep button.selected:hover, .razorStep button:hover  {background-color: #1491d4; color:#FFF; border:1px solid #1491d4; }

.modal {position: absolute; top: 128px;}

	.positionRel {position:relative;} 
	.paddingL0 {padding-left:0px;} 
	.paddingR0 {padding-right:0px;} 
    	/* iRazor Top */
	.pRazorCont h1 { font-size:37px; color:#000 !important; padding:35px 0 20px; text-align:center; margin:0px;}
	.iRazorSeparator, .iRazorDwnArw { text-align:center }
	.iRazorDwnArw { padding:33px 0 40px; }
	.iRazorSeparator img { width: 40px; height:21px; }
	.iRazorDwnArw img  { width: 30px; height:17px;}
	.iRazorImg {padding-left:96px; padding-top:0;}
	.iRazorImg img {width: 404px; height:644px;}
	.iRazorIconRgt  { padding-top:96px;}
	.iRazorIconCont  { padding-bottom:36px;}
	.iRazorIcon img  { width: 67px; height:58px;}
	.iRazorIconTxt { padding-left:2px; width:77%;}
	.iRazorIconTxt h5 { font-size:15px; color:#000; font-weight:bold; margin:0; padding:0; text-transform: uppercase;  letter-spacing: 1.2px; }
	.iRazorIconTxt p { font-size:15px; color:#000; font-weight:normal; padding:5px 0 0; margin:0; line-height:16px; text-transform: uppercase;  letter-spacing: 1.2px; }
	.gltStartBtn {background-color: #1491d4; font-size:14px; border:none; border-radius: 0; width:100%; padding:15px 0; font-weight:bold; text-transform:uppercase; letter-spacing: 1.2px; }
	.gltStartBtn:hover, .gltStartBtn:active, .gltStartBtn:focus {background-color: #f29200; }
    .bodyTransparent {background-color:transparent}
	.wizardBtmTxt { color:#666; font-size:14px; font-style: italic;}
	.wizardBtmTxt span { font-weight:bold; display:block}
	.wizardBtmTxt span a { color:#1491d4; text-decoration:underline; }
	.wizardBtmPad { padding-bottom:55px; padding-top:5px;} 
	/* iRazor Top */

/* 
 * midsize desktop or fullsize desktop in landscape 
 */
@media(min-width:1200px) {
 .container {
  width:970px !important;
 } 
 }
@media screen and (min-width:1024px) and (max-width:1199px) and (min-aspect-ratio: 13/9)
{ 
    p.tour-copy-body{
        font-size: 1.7em;
    }
}

/* 
 * midsize desktop or fullsize desktop in landscape 
 */
@media screen and (min-width:1024px) and (max-width:1199px),
screen and (min-width:1200px) and (max-height: 776px) and (min-aspect-ratio: 13/9)
{ 

 /*   #toolControls .level-1{
        right:80px;
    }
    #toolControls .level-2{
        right: 160px;
    }
    #toolControls .level-3 {
        right: 240px;
    }*/
#toolControls{
    padding-top: 6px;
}
#btnSave,#btnDone{
    height:50px;
    bottom:6px;
}
div.help-icon-container{
    /*right:100px;*/
    top:6px;
}

    /*#toolControls ul{
        padding: 14px 15px;
    }*/
    #toolControls ul>li:not(:first-of-type){
        /*padding-top: 16px;*/
    }
    #previewControls ul{
        padding:10px;
    }


    #toolTour{
        /*min-height: 446px;*/
        padding: 34px 6px 14px 14px;
        top:6px;
        }
    p.tour-copy-header{
        padding-top: 14px; 
    }
    p.tour-copy-intro-header{
        padding-top: 28px;
    }


    div.tour-sub-content{
        padding: 14px 6px 14px 14px;
        min-height: 446px;
    }
    #helpArrowRight{
        top:34px;
    }
    .tour-close-container{
        z-index: 10;
    }
    body.locale-de-de .topdesignscontainer{
        height: 146px;
    }
    body.locale-de-de #templateScroller{
        max-height: 96px;
    }
    body.locale-de-de .topdesignscontent{
        height: 96px;
    }
    body.locale-de-de #templateScroller li{
        margin-right: 8px;
    }

    body.locale-de-de #templateScroller a.topdesign{
        height:96px;
    }
    body.locale-nl-nl p.tour-copy-intro-header,body.locale-nl-nl p.tour-copy-header,
    body.locale-de-de p.tour-copy-intro-header,body.locale-de-de p.tour-copy-header{
        font-size:1.8em;
    }
    div.help-icon-container{
        /*right:100px;*/
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px){
    div.wizard-alert-footer  button.button-orange-style, .wizard-alert-footer  button.button-blue-style{
        font-size: 1.17em;
        line-height: 1.17em;
        min-height: 42px;
    }
    
}

/*
 * Mobile phone, any orientation, and iPad portrait
 */
@media screen and (max-width:767px),
 screen and (min-width:768px) and (max-width:1024px) and (max-aspect-ratio: 1/1)
 {
    ::-webkit-scrollbar {display:none;}

    .col-md-3,.col-md-9,.col-md-12{
        width:100%;
        padding:0;
    }
    .row {
         margin-right: 0px; 
         margin-left: 0px; 
    }
    .container > .navbar-header{
        margin-right: 0;
        margin-left: 0;
    }

    #previewContainer{
        opacity: 0;
        z-index: 50;
        position: absolute;
        top:0;
        left:0;
        right:0;
        bottom:0;
    }
    #previewCloseBtn{
        display: block;
    }
    .canvas-container{
        /*left:50%;*/
        top:40%;
    }

    div#content3d{
        /*height:596px;*/
        /*height:100%;*/
        z-index: 10;
    }
    div#previewControls{
        z-index: 15;
    }
    .canvas-parent{
        z-index: 1;
        max-width:100vw;
        max-height: 100vh;

        background: url(/Content/Wizard/images/canvas_background.jpg) 0 0 white no-repeat !important;
        background-size: cover !important;
    }
    .preview-parent{
        background: url(/Content/Wizard/images/projector_background.jpg) 0 0 white no-repeat !important;
        background-size: cover !important;
    }
    #btnSave,#btnDone{
        right: 10px;
        bottom: 10px;
        left:10px;
        width: 100%;
        height: 50px;
        margin:0 auto;
        max-width: 354px;
    }
    /*.utility-panel{

    }
    #controlPanels{
        width:100%;
        max-height:170px;
        position: absolute;
        bottom:0;left:0;
        z-index: 15;
    }*/
    .panel-container,.utility-panel{
        position: relative;
        left: auto;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
    .utility-panel{
        height:76px;
        width:100%;
    }
    #toolControls ul, #utilityControls ul, #controlPanels ul:not(.dropdown-menu), #previewControls ul{
        display: inline-block;
    }
    #toolControls ul, #utilityControls ul{
        padding:0px;
        background-color: transparent;
    }
    #toolControls,#utilityControls{
        padding: 0;
        white-space: nowrap;
    }
    #utilityControls{
        display: none;
        right:0;
        top: auto;
        z-index: 53;
        height: 68px;
    }
    #toolControls, 
    #toolControls .level-1, 
    #toolControls .level-2, 
    #toolControls .level-3
    {
        left:0;
        right:0;
        top:auto;
        text-align: center;
    }

    #toolControls .level-1, 
    #toolControls .level-2, 
    #toolControls .level-3{
        max-width:354px;
        margin:0 auto;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #toolControls .level-1, 
    #toolControls .level-2, 
    #toolControls .level-3,
    #toolTour{
      /*  -webkit-box-shadow: 0px 55px 55px 0px rgba(0,0,0,0.07);
           -moz-box-shadow: 0px 55px 55px 0px rgba(0,0,0,0.07);
                box-shadow: 0px 55px 55px 0px rgba(0,0,0,0.07);*/
        height: auto;
        width:auto;
        left: 10px;
        right: 10px;
        border:none;
        color: white;
        background-color: white;
        padding:10px;
      }
    #toolControls {
        bottom: 70px;
        background-color: transparent;
        height: 68px;
        padding:0;
    }
    #toolControls ul#tools{
        width:auto;
        position: relative;
    }
    #toolControls .level-1{
        bottom: 70px;
    }
    #toolControls .level-2{
        bottom: 156px;
    }
    #toolControls .level-3 {
        bottom: 221px;
    }
    

    #toolControls ul#tools{
        padding: 0;
        height: 68px;
        white-space: nowrap;
        border: 0;
        background-color: transparent;
        margin-top: 0;
        overflow: visible;
        position: absolute;
        bottom: 0;
        left:0;
    }
    #previewControls ul#utilities{
        padding:12px;
        display: inline-block;
        border: 0;
    }

    #toolControls ul#tools >li:not(:first-of-type){
        padding:0;
    }


    #utilities{
        width: 372px;
        overflow: auto;
        display: inline-block;
    }
    #toolControls li,#utilities li{
        display: inline-block;
        padding: 0px;
        float: none;
        white-space: normal;
    }
    #toolControls ul>li:not(:first-of-type){
        padding-top: initial;
        margin-bottom: 0;
    }
    #toolControls ul>li:first-of-type
    {
        margin-top: 0;
    }
    #toolControls li:last-of-type{
        padding-right: 0px;
    }
    #toolControls li > a,
    #toolControls li > a.colour{
        width:64px;
        height: 64px;
    }
    #utilityControls ul#utilities > li{
       padding:0; 
    }
    #utilityControls li > a.colour{
        margin:0 5px;
    }
    #colourScroller > ul > li {
        padding:0;
    }
    #utilityControls li:first-of-type > a.colour{
        margin-left:0;
    }
    
    #utilityControls li:last-of-type > a.colour{
        margin-right:0;
    }

    #toolControls ul#tools > li.tool-heading > span.tool-heading-desktop{
        display: none;
    }
    #toolControls ul#tools > li.tool-heading:first-child{
        left:0;
    }

    #toolControls ul#tools > li.tool-heading > span.tool-heading-mobile{
        display: inline-block;
    }
    #toolControls ul#tools > li.tool-heading{
        display: none;
        position: absolute;
        bottom:74px;
        background-color: transparent;
        font-size: 11px;
        color: black;
        text-align: center;
        padding: 0px;
        line-height: 14px;
    }
    #toolControls ul#tools > li.tool-heading:first-child > span.tool-heading-mobile{
        max-width: 72px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    }


    #utilityControls ul{
        padding:0px;
    }
    #toolControls li{
        padding: 0 5px;
    }
    #toolControls li:first-of-type{
        padding-left:0px;
    }
    #toolControls li:last-of-type{
        padding-right:0px;
    }
    #toolControls ul#utilities{
        position: relative;
        background:white;
        width: auto;
        padding: 0;
        right:auto;
        left:auto;
    }
    #utilities li a, #controlPanels a:not(.page-link){
        width:50px;
        height:50px;
    }
    #previewControls li a{
        width:42px;
        height:42px;
    }
    #previewControls li a{
        background-size: 42px 42px;
    }
    #toolControls a.icon{
        background-size: 60px 60px;
    }
    #utilityControls a.icon, #controlPanels a.icon{
        background-size: auto 33px;
        width:64px;
        height:64px;
    }
    ul#tools a.icon, 
    ul#utilities a.icon{
        background-size: auto 30px;
        background-position: center center;
        width: 68px;
        height:68px;
        border: none;
        margin:0 3px 0 0;
    }
    ul#utilities a.icon{
        margin:0;
    }
    #tools li > a.icon-template{
        background-size: auto 40px;
        margin:0 5px 0 0;
    }
    #tools li > a.icon-background{
        margin-top: 0px;
        margin-right:5px;
    }
    #tools li > a.icon-text{
        margin-right: 0;
    }

    #tools a.icon-template.icon-on, 
    #tools a.icon-background.icon-on, 
    #tools a.icon-clipart.icon-on, 
    #tools a.icon-upload.icon-on, 
    #tools a.icon-text.icon-on,
    #utilityControls #utilities li > a.icon.icon-on{
        border: 0;
        background-color: #2a5f8d;
    }

    #tools a.icon-template.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_template_on.svg);
    }
    #tools a.icon-background.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_background_on.svg);
    }
    #tools a.icon-clipart.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_clipart_on.svg);
    }
    #tools a.icon-upload.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_upload_on.svg);
    }
    #tools a.icon-text.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_text_on.svg);
    }

    #utilities a.icon-move.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_move_on.svg);
    }
    #utilities a.icon-scale.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_scale_on.svg);
    }
    #utilities a.icon-order.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_order_on.svg);
    }
    #utilities a.icon-rotate.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_rotate_on.svg);
    }
    #utilities a.icon-colour.icon-on{
        background-image: url(/Content/Wizard/images/icons-svg/icon_colour_on.svg);
    }

    .utility-nav.nav-prev,
    .utility-nav.nav-next{
        display: none;
    }


    ul#tools a.icon > span{
        line-height: 0;
        color: white;
        display: none;
    }


    a.subsection > span.category-label-container {
        width: 61px;
        height: 61px;
    }
    a.subsection > span.category-label-container > span.category-label{
        width: 61px;
    }
    
    span.category-label[data-id='template-gaming'],
    span.category-label[data-id='template-general'],
    span.category-label[data-id='background-gaming'],
    span.category-label[data-id='clipart-passion'],
    span.category-label[data-id='background-colour']{
        padding-left: 6px !important;
    }
    span.category-label[data-id='template-general'],
    span.category-label[data-id='clipart-emotions']{
        padding-left: 6px !important;
    }

    div.help-icon-container{
        right: 12px;
        top: 24px;
        width:23px;
        height:23px;
    }
    a.icon-help{
        background-size: 23px 23px;
        width:23px;
        height:23px;
    }
  
    #controlPanels{
        z-index: 60;
        bottom:73px;
    }
    #controlPanels div.level-1, #image-panel{
        background-color:rgba(255,255,255,1);
    }
    #controlPanels ul.dropdown-menu{
        bottom:-100px;
    }
    #controlPanels ul.dropdown-menu > li > a{
        padding:6px 12px;
    }
    #toolsScroller{
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        height:100%;
        max-width: 354px;
        width: auto;
        margin:0 auto;
    }
    .tool-container,#utilityControls > div.utilities-container{
        overflow:visible;
        -webkit-overflow-scrolling: touch;
        background-color: transparent;
        text-align: center;
        width: auto;
        height: auto;
        border: 0;
    }
    .tool-container{
        padding: 0 10px;
    }
    #toolContainer{
        height:100%
    }
    #utilityControls > div.utilities-container{
        height:100%;
        max-width:354px;
        overflow-x: scroll;
        overflow-y: hidden;
        margin-left: 10px;
        margin-right: 10px;
        background-color: white;
    }
    #utilities > ul{ 
        background-color: white;
        padding:20px 16px;
    }
    #utilities > li:not(:first-of-type){
        margin-top: 0px;
    }

    #previewTools li:not(:first-of-type){
        margin-left: 12px;
    }
    #controlPanels ul:not(.dropdown-menu) li:not(:first-of-type){/*,#colourScroller ul li:first-of-type{*/
        margin-left: 8px;
    }
    /*#colourScroller li:last-of-type{
        margin-right:8px;
    }*/
    .menu-nav{
        display: none;
    }
    #utilities.disabled{
        cursor: inherit;
        opacity: 1;
        pointer-events: inherit;
    }
    /*#utilities li:first-of-type{
        padding-left: 12px;
    }
    #utilities li:last-of-type{
        padding-right: 12px;
    }*/
    .menu-scroll-container,.menu-scroll-container-mobile {
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #btnPreview{
        position: absolute;
        display:block;
        width: 88px;
        height: 110px;
        background-size: contain;
        color:rgba(0,0,0,0);
        left: 12px;
        bottom: 188px;
        z-index: 55;
    }
    #previewCloseBtn{
        position: absolute;
        display:block;
        right: 0px;
        top: 24px;
        width: 50px;
        height:25px;
        z-index: 45;
    }
    #previewParent.se-starwars > a.close-x{
        color: white;
    }

    .button-preview-power{
        background: url(/Content/Wizard/images/mobile_preview_power.png) center center no-repeat;
    }
    .button-preview-manual{
        background: url(/Content/Wizard/images/mobile_preview_manual.png) center center no-repeat;
    }
    .button-preview-chill{
        background: url(/Content/Wizard/images/mobile_preview_chill.png) center center no-repeat;
    }
    .preview-parent {
        height:100%;
        max-height:none;
    }

    .close-x{
        font-size: 24px;
    }
    #toolTour{
        z-index: 65;
        min-height: 0;
        margin:0 auto;
        color: black;
        top:auto;
        bottom:139px
    }

    div.tour-container{
        padding:12px;
        top:0;
        width:auto;
        left:0;
        right:0;
    }
    #helpArrowBottom{
        margin-left: 12px;
        margin-right: 12px;
    }

    .tour-close-container{
        left:auto;
        right:12px;
        z-index: 10;
        top:5px;
    }
    div.tour-content{
        width: 100%;
    }
    div.tour-sub-content{
        position: absolute;
        width:auto;
        min-height: initial;
        padding:8px;
        left:12px;
        right:12px;
        bottom:24px;
        height: 45%;
    }
    p.tour-copy-header{
        padding-top: 0px;
    }
    p.tour-copy-body{
        padding-top:12px;
    }
    p.tour-copy-intro-header{
        padding-top: 24px;
    }
    p.tour-copy-intro-header, p.tour-copy-header{
        font-size: 1.84rem;
        line-height: 1.8rem;
    }
    p.tour-copy-body{
        font-size: 1.57rem;
        line-height: 1.66rem;
    }

    .help-arrow-bottom{
        width:50px;
        height:24px;
        background: url(/Content/Wizard/images/arrow-down.png) 0 0 transparent no-repeat;
        background-size: 50px 24px;
    }
    #helpArrowRight{
        display: none;
    }
    #helpArrowBottom{
        display: block;
        top:auto;
        bottom:0;
        right:auto;
        left:0;
    }

    #image-panel{
        height:96px;
    }
    .upload-notice{
        width: auto;
        padding-top:6px;
    }
    body.locale-nl-nl .upload-notice{
        margin-top: 0px;
    }
    #colour-group{
        width:100%;
    }
    #utilityControls div.utility-panel ul{
        /*min-height:64px;*/
        width: auto;
        /*padding: 10px;*/
    }
    #utilityControls div.utility-panel ul.vertical-align{
        top: auto;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    #colourScroller{
        width:100%;
        overflow-y: hidden;
        overflow-x:scroll;
        -webkit-overflow-scrolling: touch;
        max-height:none;
        height: auto;
        top: auto;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    #colourScroller li.selected:not(:first-of-type){
        margin-left: 8px !important;
    }
    #colourScroller li.selected:not(:last-of-type){
        margin-right: 0px !important;
    }
    #controlPanels a.utility-nav.icon-scroll-arrow-left,#controlPanels a.utility-nav.icon-scroll-arrow-right{
        display: none;
    }

    #pencil-panel{
        padding: 12px;
    }

    #toolTour > div[data-id='tour-template']{
        position: absolute;
     }

    .tour-copy-header.top-designs-header{
        font-size: 1.27rem;
        line-height: 1.17rem;
        padding:0 12px;
        text-transform: none;
    }

    .topdesignscontainer{
        right:0;
        height:72px;
    }
    .topdesignscontent{
        position:relative;
        bottom: initial;
        left:initial;
        right:initial;
        height: 60px;
        padding: 0 12px;
    }
    .topdesignscontent a.template-scroll-arrow{
    }

    #templateScroller{
        max-height: 58px;
        margin:0 2%;
    }
    #templateScroller li{
        margin-right:10px;
    }
    .topdesignscontainer > .gradientBg{
        background: rgb(255,255,255);
    }
    #templateScroller ul{
        padding: 0;
    }

    #templateScroller .ftscroller_container{
         font-size: 0; 
         line-height: 0; 
    }


    #preview2d{
        width:auto;
        height:100%;
    }
    #content3d.restrictHeight div#projector3d{
        max-height:90%;
    }
    /*#previewControls li a.icon-preview-rotate-right,
    #previewControls li a.icon-preview-rotate-left,
    #previewControls li a.icon-preview-reset{
        display:none;
    }*/

    .wizard-alert-footer  .button-blue-style{
        padding:13px 8px;
        max-width:none;
    }
    .wizard-alert-footer  .button-orange-style, .wizard-alert-footer  .button-blue-style{
        font-size: 1.12rem;
        line-height: 1.1rem;
        min-height: 42px;
    }
    #alertPopup.modal {
        padding-right: 6px !important;
        padding-left: 6px;
    }
    #alertPopup .wizard-alert-footer.dual-button{
        display: -webkit-flex;
        display: flex;
    }
    #alertPopup .wizard-alert-footer.dual-button #btnAlert1 {
        margin-left:6px;
        max-width: none;
        -webkit-flex:1 0 auto;
        flex:1 0 auto;
    } 
    #alertPopup .wizard-alert-footer.dual-button #btnAlert2 {
        max-width: none;
        -webkit-flex:2 0 auto;
        flex:2 0 auto;
    }

    #alertPopup button{
        font-size: 0.9rem;
    }
    #alertPopup .alert-modal-content{
        padding: 6px;
    }
    #alertPopup .alert-modal-dialog{
        width: auto;
    }

    #alertPopup span.glyphicon.glyphicon-chevron-right{
        margin-left:6px;
    }

    #readonlyPopup{
        overflow: hidden;
    }
    #readonlyPopup .alert-modal-dialog{
        margin-top: 65px;
    }

    #btnChangeProduct{
        left: 50%;
        margin-left: -150px;
    }


    #text-panel{
        bottom: 153px;
        margin: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        max-width: 354px;
        border: 0;
    }


}



/*
 * Mobile phone, portrait only 
 */
@media screen and (min-width:320px) and (max-width:767px) { 

	#btnSave, #btnDone {width: auto;}
	.iRazorIconRgt  { padding-top:20px;}
	..iRazorIconCont {padding-bottom: 20px;}
    .header-container{
        max-height: 73px;
    }

    .img-responsive.brand-logo{
        margin:6px 0 6px 6px;
    }
    .navbar {
        min-height: inherit;
    }
    .navbar-close-btn{
        right: 6px;
    }
    .navbar-close-btn img{
        height: 27px;
        width: 27px;
    }
    .navbar-container {
        padding-right: 0px !important;
    }
    .button-grey-style{
        font-size: 1.12rem;
        margin-top: 6px;
        max-width:50%;
    }
    .canvas-container{
        top:30%;
        -webkit-transform: translateX(-50%) translateY(-50%) scale(0.35);
        -ms-transform: translateX(-50%) translateY(-50%) scale(0.35);
        transform: translateX(-50%) translateY(-50%) scale(0.35);
    }


    .preview-tools{
        width:100%;
        height:64px;
    }

    .wizard-alert-footer .button-grey-style{
        
        padding: 13px 8px;
        min-height:42px;
    }
    .wizard-alert-footer{
        overflow-y:auto;
    }
    .wizard-alert-footer .button-orange-style{
        padding:13px 8px;
        max-width:none;
    }

    #product-panel button, #product-panel img{
        margin-top: 6px;
    }

    #btnEditText{
        display: block;
        float: right;
        margin-top: 8px;
        margin-left:0;
        padding:0 12px;
        width:40%;
        height:40px;
    }
    #btnEditText > span.glyphicon{
        margin-left: 4px;
    }
    #text-panel{
        width:100%;
        height:68px;
        margin-bottom: 0;
    }
    #text-panel>div:last-of-type{
        display: none;
        padding-top:8px;
    }
    #canvasParent.visibleTextOnly>#controlPanels,#canvasParent.visibleTextOnly #text-panel{
        bottom:35px;
        border:0;
    }
    #canvasParent.visibleTextOnly>#toolControls{
        display: none;
    }
    .font-selector{
        margin-top: 8px;
    }
    .font-selector{
        width:55%;
        padding: 10px 10px 10px 10px;
        height: 40px;
    }
    #text-panel input{
        margin-top: 0px;
        height:40px;
    }
    #controlPanels ul.dropdown-menu{
        left:0px;
        bottom:-100px;
    }

    #product-panel{  
        left: 0;
        right: 0;
        width: 100%;
    }
    #product-panel>div.col-md-6{
        width: 50%;
        float: left;
    }
    .button-blue-style{
        padding:0 8px;
    }
    #product-panel img.product-select{
        height:250px;
    }
    div.alert-title{
        width:90%;
    }
    .close.alert-close{
        top:0px;
        margin-right:6px;
        height: 16px;
        width: 16px;
        background-size: contain;
    }
    .tour-copy-header br{
        display: none;
    }

    p.tour-copy-intro-header{
        padding-top: 0;
        width: 92%;
        margin-right: 7%;
    }
    body.locale-nl-nl p.tour-copy-intro-header,body.locale-nl-nl p.tour-copy-header,
    body.locale-de-de p.tour-copy-intro-header,body.locale-de-de p.tour-copy-header{
        line-height:1.95rem;
    }

    body.androidKeyboardFocus div.help-icon-container,
    body.androidKeyboardFocus #btnDone,
    body.androidKeyboardFocus #btnSave,
    body.androidKeyboardFocus #btnPreview{
        display: none;
    }


    p.tour-copy-intro-header, p.tour-copy-header{
        font-size: 1.54rem;
        line-height: 1.5rem;
    }
    p.tour-copy-body{
        font-size: 1.27rem;
        line-height: 1.36rem;
    }

    body.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size:1.2rem;
    }

    #pencil-panel{
        padding: 12px 12px;
        left:50%;
        /*bottom:80px;*/
        width: 140px;
    }
    #pencil-panel > button{
        padding:0 10px;
    }

    .topdesignscontent a.template-scroll-arrow{
        width: 14px;
        height:26px;
        /*margin-top:4px;*/
    }

    a.topdesign{
        display: block;
        width:26px;
        height:58px;
    }


    #canvasParent.visibleTextOnly #btnPreview{
        display: none;
    }


    #toolTour p.tour-copy-header.top-designs-header{
        margin-bottom: 10px;
    }
.pRazorCont h1 { font-size:30px; color:#000 !important; padding:35px 53px 20px; text-align:center; margin:0px;line-height: 30px;font-weight: bold;}	
.wizardBtmPad { padding-bottom:30px; padding-top:5px;} 
.iRazorImg {text-align:center; padding-left: 0;}
.iRazorImg img {max-width: 350px; height:auto; width:85%;}
.iRazorIconTxt h5 {color:#000;}
.iRazorIconTxt p {color:#000;}
}


/* iPhone 4 specific styles in Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (max-aspect-ratio: 13/9) 
  {

    #wizardContainer.width320.height480 .canvas-container,
    body.isAndroid #wizardContainer.width320 .canvas-container{
        top:24%;
    }

    #wizardContainer.width320.height480 #canvasParent.full-panels .canvas-container,
    body.isAndroid #wizardContainer.width320 #canvasParent.full-panels .canvas-container{
        top:20%;
    }
    #wizardContainer.width320.height480 #canvasParent.utility-menu #toolsScroller,
    body.isAndroid #wizardContainer.width320 #canvasParent.utility-menu #toolsScroller{
        display:none;
    }

    #wizardContainer.width320.height480 div.help-icon-container,
    body.isAndroid #wizardContainer.width320 div.help-icon-container{
        top:6px;
        right:6px;
    }

    #wizardContainer.width320.height480 #toolControls,
    #wizardContainer.width320.height480 #toolControls ul#tools,
    body.isAndroid #wizardContainer.width320 #toolControls,
    body.isAndroid #wizardContainer.width320 #toolControls ul#tools{
        height: 58px;
    }
    #wizardContainer.width320.height480 #toolControls,
    body.isAndroid #wizardContainer.width320 #toolControls{
        bottom:44px;
    }

    #wizardContainer.width320.height480 #tools li > a.icon-template,
    body.isAndroid #wizardContainer.width320 #tools li > a.icon-template{
        margin-right:4px;
    }

    #wizardContainer.width320.height480 ul#tools a.icon.icon-template,
    body.isAndroid #wizardContainer.width320 ul#tools a.icon.icon-template{
        background-size: auto 40px;
    }
    #wizardContainer.width320.height480 ul#tools a.icon,
    #wizardContainer.width320.height480 #toolControls li > a,
    body.isAndroid #wizardContainer.width320 ul#tools a.icon,
    body.isAndroid #wizardContainer.width320 #toolControls li > a{
        width:58px;
        height:58px;
        background-size: auto 30px;
    } 
    

    #wizardContainer.width320.height480 #toolControls li > a,
    body.isAndroid #wizardContainer.width320 #toolControls li > a{
        background-size: 54px 54px;
    }


    #wizardContainer.width320.height480 #utilityControls li > a,
    body.isAndroid #wizardContainer.width320 #utilityControls li > a{
        width:44px;
        height:44px;
    }
    #wizardContainer.width320.height480 #utilities li > a,
    body.isAndroid #wizardContainer.width320 #utilities li > a{
        width:58px;
        height:58px;
    }

    #wizardContainer.width320.height480 #utilities > li > a.icon,
    #wizardContainer.width320.height480 #utilityControls li > a,
    body.isAndroid #wizardContainer.width320 #utilities > li > a.icon,
    body.isAndroid #wizardContainer.width320 #utilityControls li > a{
        background-size: auto 24px;
    }

    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subsection[data-id='clipart-emotions'], 
    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subsection[data-id='clipart-gentlemen'], 
    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subsection[data-id='clipart-passion'], 
    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subsection[data-id='clipart-shapes'], 
    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subsection[data-id='clipart-sports'], 
    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subsection[data-id='clipart-symbols'],
    #wizardContainer.width320.height480 #toolControls a.icon-clipart.subselection,
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subsection[data-id='clipart-emotions'], 
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subsection[data-id='clipart-gentlemen'], 
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subsection[data-id='clipart-passion'], 
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subsection[data-id='clipart-shapes'], 
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subsection[data-id='clipart-sports'], 
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subsection[data-id='clipart-symbols'],
    body.isAndroid #wizardContainer.width320 #toolControls a.icon-clipart.subselection{
        background-size: 36px 36px;
    }

    #wizardContainer.width320.height480 #toolControls .level-1,
    body.isAndroid #wizardContainer.width320 #toolControls .level-1{
        bottom:60px;
    }
    #wizardContainer.width320.height480 #toolControls .level-2,
    body.isAndroid #wizardContainer.width320 #toolControls .level-2{
        bottom:132px;
    }
    #wizardContainer.width320.height480 #toolControls .level-1, 
    #wizardContainer.width320.height480 #toolControls .level-2, 
    #wizardContainer.width320.height480 #toolControls .level-3,
    body.isAndroid #wizardContainer.width320 #toolControls .level-1, 
    body.isAndroid #wizardContainer.width320 #toolControls .level-2, 
    body.isAndroid #wizardContainer.width320 #toolControls .level-3{
        padding:6px;
    }
    #wizardContainer.width320.height480 #utilityControls > div.utility-panel.level-1,
    body.isAndroid #wizardContainer.width320 #utilityControls > div.utility-panel.level-1{
        padding: 4px;
        bottom:49px;
    }
    #wizardContainer.width320.height480 #utilityControls > div#colour-group,
    body.isAndroid #wizardContainer.width320 #utilityControls > div#colour-group{
        padding:2px;
    }
    #wizardContainer.width320.height480 ul#utilities > li > a.icon,
    #wizardContainer.width320.height480 #toolControls li > a.colour,
    body.isAndroid #wizardContainer.width320 ul#utilities > li > a.icon,
    body.isAndroid #wizardContainer.width320 #toolControls li > a.colour{
        width:48px;
        height: 48px;
    }

    #wizardContainer.width320.height480 a.subsection > span.category-label-container,
    body.isAndroid #wizardContainer.width320 a.subsection > span.category-label-container{
        width:55px;
        height:55px;
    }
    #wizardContainer.width320.height480 a.subsection > span.category-label-container > span.category-label,
    body.isAndroid #wizardContainer.width320 a.subsection > span.category-label-container > span.category-label{
        width:55px;
        font-size: 8px;
    }
    #wizardContainer.width320.height480 #utilityControls,
    body.isAndroid #wizardContainer.width320 #utilityControls{
        height:48px;
    }
    #wizardContainer.width320.height480 #btnPreview,
    body.isAndroid #wizardContainer.width320 #btnPreview{
        bottom:118px;
        width:49px;
        height:70px;
    }


    #wizardContainer.width320.height480 #toolTour,
    body.isAndroid #wizardContainer.width320 #toolTour{
        bottom:104px;
    }

    #wizardContainer.width320.height480 p.tour-copy-intro-header,
    #wizardContainer.width320.height480 p.tour-copy-intro-body,
    body.isAndroid #wizardContainer.width320 p.tour-copy-intro-header,
    body.isAndroid #wizardContainer.width320 p.tour-copy-intro-body{
        display: none;
    }
    #wizardContainer.width320.height480  div.tour-sub-content,
    body.isAndroid #wizardContainer.width320  div.tour-sub-content{
        height: 70%;
    }
    #wizardContainer.width320.height480 #toolTour > div[data-id='tour-template'],
    body.isAndroid #wizardContainer.width320 #toolTour > div[data-id='tour-template']{
        height: 34%;
    }
    #wizardContainer.width320.height480  .tour-close-container,
    body.isAndroid #wizardContainer.width320  .tour-close-container{
        top:10px;
        right:5px;
    }
    #wizardContainer.width320.height480 #toolTour > div[data-id='tour-template'] > p.tour-copy-header,
    body.isAndroid #wizardContainer.width320 #toolTour > div[data-id='tour-template'] > p.tour-copy-header{
        font-size: 1.24rem;
        line-height: 1.2rem;
    }
    #wizardContainer.width320.height480 #toolTour > div[data-id='tour-template'] > p.tour-copy-body,
    body.isAndroid #wizardContainer.width320 #toolTour > div[data-id='tour-template'] > p.tour-copy-body{
        padding-top: 0;
    }

    #wizardContainer.width320.height480 .tour-copy-header.top-designs-header, 
    #wizardContainer.width320.height480 body.locale-nl-nl .tour-copy-header.top-designs-header, 
    #wizardContainer.width320.height480 body.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid #wizardContainer.width320 .tour-copy-header.top-designs-header, 
    body.isAndroid #wizardContainer.width320 body.locale-nl-nl .tour-copy-header.top-designs-header, 
    body.isAndroid #wizardContainer.width320 body.locale-de-de .tour-copy-header.top-designs-header{
        font-size: 1.27rem;
        line-height: 1.36rem;
    }

    #wizardContainer.width320.height480 #btnSave, 
    #wizardContainer.width320.height480 #btnDone,
    body.isAndroid #wizardContainer.width320 #btnSave, 
    body.isAndroid #wizardContainer.width320 #btnDone{
        height:36px;
        bottom: 4px;
    }

    #wizardContainer.width320.height480 div#controlPanels > div#text-panel,
    body.isAndroid #wizardContainer.width320 div#controlPanels > div#text-panel{
        height:52px;
        bottom:73px;
        padding: 6px 4px;
    }
    #wizardContainer.width320.height480 div#controlPanels > div#text-panel > div,
    body.isAndroid #wizardContainer.width320 div#controlPanels > div#text-panel > div{
        padding: 0px;
    }
    #wizardContainer.width320.height480 .font-selector,
    #wizardContainer.width320.height480 #btnEditText,
    body.isAndroid #wizardContainer.width320 .font-selector,
    body.isAndroid #wizardContainer.width320 #btnEditText{
        margin-top: 0px;
    }

    #wizardContainer.width320.height480 #text-panel>div:last-of-type,
    body.isAndroid #wizardContainer.width320 #text-panel>div:last-of-type{
        padding-top: 0px;
    }
    #wizardContainer.width320.height480 #canvasParent.visibleTextOnly>#controlPanels, 
    #wizardContainer.width320.height480 #canvasParent.visibleTextOnly #text-panel,
    body.isAndroid #wizardContainer.width320 #canvasParent.visibleTextOnly>#controlPanels, 
    body.isAndroid #wizardContainer.width320 #canvasParent.visibleTextOnly #text-panel{
        bottom:82px;
    }

    #wizardContainer.width320.height480 #btnChangeProduct,
    body.isAndroid #wizardContainer.width320 #btnChangeProduct{
        height: 150px;
        width: auto;
        margin-left: -110px;
    }
}

/*
 * iphone 5 specific style to position and adjust the canvas when keyboard is open
 */
@media only screen 
    and (min-device-width : 320px) 
    and (max-device-width : 568px) 
    and (max-aspect-ratio: 13/9) 
    { 

    body.deviceKeyboardFocus div.help-icon-container,
    body.deviceKeyboardFocus #btnDone,
    body.deviceKeyboardFocus #btnSave,
    body.deviceKeyboardFocus #btnPreview{
        display: none;
    }

    #canvasParent.full-panels .canvas-container{
        top:16%;
    }

    body.deviceKeyboardFocus .canvas-container{
        top:46%;
    }

    #toolTour > div[data-id='tour-template']{
        height:30%;
    }
    div.tour-sub-content{
        height:40%;
    }
    body.locale-de-de div[data-id='tour-text'].tour-sub-content{
        height:50%;
    }

    p.tour-copy-intro-header, p.tour-copy-header,
    body.locale-nl-nl p.tour-copy-intro-header, body.locale-nl-nl p.tour-copy-header,
    body.locale-de-de p.tour-copy-intro-header, body.locale-de-de p.tour-copy-header{
        font-size: 1.34rem;
        line-height: 1.3rem;
    }
    p.tour-copy-body,
    body.locale-nl-nl p.tour-copy-body,
    body.locale-de-de p.tour-copy-body{
        font-size: 1.1rem;
        line-height: 1.2rem;
        padding-top: 6px;
    }

    body.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size:1.2rem;
        line-height: 1.3rem;
    }
    
    #controlPanels ul.dropdown-menu > li {
        padding:5px 12px;
    }
    #controlPanels ul.dropdown-menu > li > a{
        font-size: 0.6em;
        padding:0 12px;
    }
    /*#toolTour > div[data-id='tour-template']{
        height:30%;
    }*/

    /*.topdesignscontainer{
        height: 82px;
    }
    body.locale-de-de .topdesignscontainer{
        height: 96px;
    }
    .topdesignscontent{
        height: 60px;
    }*/

    #toolTour p.tour-copy-header.top-designs-header{
        margin-bottom: 10px;
    }
    .topdesignscontainer{
        height: auto;
    }

    .topdesignscontent{
        height: auto;
    }
    #templateScroller{
        max-height: none;
    }
.topdesignscontent a.template-scroll-arrow{
        width: 14px;
        height:26px;
        /*margin-top:4px;*/
    }

    a.topdesign{
        display: block;
        width:26px;
        height:58px;
    }
    #pencil-panel{
        /*bottom:80px;*/
        padding: 12px 18px;
        left:40%;
    }
    .tour-copy-header.top-designs-header,
    body.locale-nl-nl .tour-copy-header.top-designs-header,
    body.locale-de-de .tour-copy-header.top-designs-header{
        font-size: 1.17rem;
        line-height: 1.26rem;
    }
    body.locale-de-de #toolTour > div[data-id='tour-template']{
        height: 30%;
    }

    body.locale-nl-nl  #templateScroller li{
        margin-right:10px;
    }

    #btnPreview{
        bottom: 148px;
        width: 56px;
        height: 80px;
    }
    #content3d.restrictHeight div#projector3d{
        max-height:80%;
    }
    #controlPanels div.font-selector > a{
        font-size: 1.3em;
    }
    #text-panel{
        max-width: 300px;
    }
    #btnEditText{
        width:43%;
    }
    #btnSave,#btnDone{
        width: auto;
    }

    #toolControls li > a.colour{
        width:54px;
        height: 54px;
    }
    div#controlPanels > div#text-panel{
        bottom: 143px;
    }
    #utilityControls a.icon{
        width: 54px;
        height: 54px;
    }
}

/* override iphone 5s for iphone 6 and 6+ */

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (max-aspect-ratio: 13/9), 
  only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (max-aspect-ratio: 13/9){ 

    body.deviceKeyboardFocus div.help-icon-container,
    body.deviceKeyboardFocus #btnDone,
    body.deviceKeyboardFocus #btnSave,
    body.deviceKeyboardFocus #btnPreview{
        display: initial;
    }

    body.deviceKeyboardFocus .canvas-container{
        top:50%;
    }

    div.tour-sub-content{
        height:45%;
    }
    body.locale-de-de div[data-id='tour-text'].tour-sub-content{
        height:45%;
    }

    p.tour-copy-intro-header, p.tour-copy-header,
    body.locale-nl-nl p.tour-copy-intro-header, body.locale-nl-nl p.tour-copy-header,
    body.locale-de-de p.tour-copy-intro-header, body.locale-de-de p.tour-copy-header{
        font-size: 1.8rem;
        line-height: 1.85rem;
    }
    p.tour-copy-body,
    .tour-copy-header.top-designs-header,
    body.locale-nl-nl p.tour-copy-body,
    body.locale-de-de p.tour-copy-body,
    body.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size: 1.6rem;
        line-height: 1.65rem;
    }

    #pencil-panel{
        /*bottom:140px;*/
        left:50%;
    }
/*
    #toolTour p.tour-copy-intro-header,#toolTour p.tour-copy-intro-body{
        display: block;
    }
    #toolTour div.tour-sub-content{
        height: initial;
    }
    #toolTour > div[data-id='tour-template']{
        height: initial;
        padding:initial;
    }
    #toolTour .tour-close-container{
        top:initial;
        right:initial;
    }
    #toolTour > div[data-id='tour-template'] > p.tour-copy-header{
        font-size: initial;
        line-height: initial;
    }
    #toolTour > div[data-id='tour-template'] > p.tour-copy-body{
        padding-top: initial;
    }
*/

    #toolTour > div[data-id='tour-template'],
    body.locale-nl-nl #toolTour > div[data-id='tour-template']{
        height:30%;
    }
    body.locale-de-de #toolTour > div[data-id='tour-template']{
        height:30%;
    }

    .topdesignscontainer{
        height: 125px; 
        margin-top:10px;
    }
    body.locale-de-de .topdesignscontainer{
        height: 125px;
    }

    /*body.locale-nl-nl .topdesignscontainer,
    body.locale-de-de .topdesignscontainer{
        height: 125px;
    }*/

    .topdesignscontent{
        height: 75px;
    }
    body.locale-nl-nl .topdesignscontent,
    body.locale-de-de .topdesignscontent{
        /*height: 60px;*/
    }

    a.topdesign{
        width:36px;
        height:75px;
    }
    body.locale-nl-nl a.topdesign,
    body.locale-de-de a.topdesign{
        /*width: 26px;
        height: 58px;*/
    }

    #templateScroller{
        max-height: none;
    }
    body.locale-nl-nl #templateScroller,
    body.locale-de-de #templateScroller{
        /*max-height: 58px;*/
    }

    .topdesignscontent a.template-scroll-arrow{
        width: 14px;
        height:26px;
        /*margin-top:4px;*/
    }

    body.locale-nl-nl .tour-copy-header.top-designs-header,
    body.locale-de-de .tour-copy-header.top-designs-header{
        font-size: 1.77rem;
        line-height: 1.86rem;
    }

    #btnPreview{
        bottom: 168px;
        width: 88px;
        height: 110px;
    }
    #btnSave, #btnDone{
        max-width: 354px;
    }
    #content3d.restrictHeight div#projector3d{
        max-height:90%;
    }
  
    #controlPanels ul.dropdown-menu > li > a{
        font-size: 0.8em;
        padding: 2px 12px;
    }
    #btnEditText{
        width:40%;
    }

    #canvasParent.full-panels .canvas-container{
        top:30%;
    }

    #text-panel{
        max-width: inherit;
        width: auto;
        left:10px;
        right:10px;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
     #toolControls li > a.colour{
        width:64px;
        height: 64px;
    }
    div#controlPanels > div#text-panel{
        bottom:153px;
    }
}

/* iPhone 6+ - increase the size of the canvas a little to make better use of the larger space */

@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (max-aspect-ratio: 13/9){ 

    body.deviceKeyboardFocus .canvas-container{
        top:55%;
    }

    .canvas-container{
        -webkit-transform: translateX(-50%) translateY(-50%) scale(0.40);
        -ms-transform: translateX(-50%) translateY(-50%) scale(0.40);
        transform: translateX(-50%) translateY(-50%) scale(0.40);
    }

    #pencil-panel{
        /*bottom:170px;*/
        left:50%;
    }
.topdesignscontainer{
        height: 130px; 
    }

    body.locale-de-de .topdesignscontainer{
        height: 150px;
    }

    .topdesignscontent{
        height: 100px;
    }
    #templateScroller{
        max-height: 100px;
    }
    a.topdesign{
        width:48px;
        height:100px;
    }

    .tour-copy-header.top-designs-header{
        padding-bottom: 8px;
    }
    #toolTour p.tour-copy-intro-header{
        margin-top: 20px;
    }

    #btnPreview{
        bottom: 188px;
width: 88px;
height: 110px;
    }

#utilityControls > div.utilities-container{
        margin:0 auto;
}

    #toolControls ul#tools{
        left: 50%; 
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
#controlPanels ul.dropdown-menu{
        bottom:-50px;
    }
 div#controlPanels > div#text-panel{
        max-width: 354px;
        width: 100%;
        left:50%;
        right:auto;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    #btnEditText{
        width:40%;
    }
}


/*
 * Tablet, portrait only
 */
@media screen and (min-width:768px) and (max-width:1024px) and (max-aspect-ratio: 1/1) {

    .col-md-7:not(#image-panel){
        width:100%;
    }
    .canvas-container{
        -webkit-transform: translateX(-50%) translateY(-50%) scale(0.75);
        -ms-transform: translateX(-50%) translateY(-50%) scale(0.75);
        transform: translateX(-50%) translateY(-50%) scale(0.75);
    }
    
    .alert-modal-content{
        padding: 8px;
    }

    #product-panel{
        left: 50%; 
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    #product-panel button, #product-panel img{
        margin-top: 8px;
    }

    #toolControls ul>li:not(:first-of-type){
        /*padding-top:6px;*/
    }
    #tools,#utilities{
        width: auto;
        overflow: auto;
    }

    #controlPanels{
        left:auto;
    }

    /*#toolTour{
        top:auto;
        bottom:138px;
    }*/

    p.tour-copy-intro-header, p.tour-copy-header{
        font-size: 2.59rem;
        line-height: 3.25rem;
    }
    p.tour-copy-intro-header{
        padding-top: 10px;
    }
    p.tour-copy-body{
        font-size: 2.15rem;
        line-height: 2.46rem;
    }
    .tour-copy-header br{
        display: none;
    }
    div.tour-sub-content{
        height:50%;
        padding:12px;
    }
 
    /*#image-panel{
        left: 50%; 
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }*/


    #text-panel > div{
        padding-top: 8px;
    }
    #text-panel > div.col-md-7{
        width:58.33333333%;
    }

    #alertPopup .alert-modal-dialog{
        width:500px;
    }
    
    #alertPopup button{
        font-size: 1.2rem;
        margin-top:24px;
    }

    #pencil-panel{
        /*bottom:200px;*/
        padding: 12px 24px;
        width: 170px;
    }
    #toolTour > div[data-id='tour-template']{
        height: 35%;
    }
   .tour-copy-header.top-designs-header{
        padding-bottom: 12px;
        font-size: 2.15rem;
        line-height: 2.46rem;
    }
    .topdesignscontainer{
        height: 184px;
    }
    body.locale-nl-nl .topdesignscontainer{
        height: 160px;
    }

    .topdesignscontent{
        height: 115px;
    }
    #templateScroller{
        max-height: 115px;
    }
    #templateScroller li{
        margin-right: 16px;
    }
    /* for tablet portrait we override the height restriction */
    div#content3d.restrictHeight, #content3d.restrictHeight div#projector3d{
        max-height:95%;
    }

    #btnPreview{
        bottom: 10px;
        width: 112px;
        height: 140px;
        z-index: 60;
    }


    #btnSave, #btnDone{
        width:100%;
        max-width: 354px;
        position: absolute;
        left: 50%; 
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        margin:0;
    }

    #toolControls ul#tools{
        left: 50%; 
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    #toolControls .level-1, #toolControls .level-2, #toolControls .level-3{
        max-width: 354px;
        left: 50%; 
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        margin-left:0;
        margin-right:0;
    }

    #utilityControls > div.utilities-container{
        margin:0 auto;
    }


}
/*
 * Tablet, landscape only
 */
@media  screen and (min-width:768px) and (max-width:1024px) and (min-aspect-ratio: 1/1),
screen and (min-width:1024px) and (max-width:1199px) and (max-height: 725px) and (min-aspect-ratio: 13/9),
screen and (min-width:1200px) and (max-height: 725px) and (min-aspect-ratio: 13/9)
{ 

    .row.col-md-12{
        padding:0;
        margin-left: 0;
        margin-right: 0;
    }
    .navbar-gradient.navbar-container{
        padding-right: 0 !important;
    }
    .navbar-close-btn{
        right:12px;
    }
    #canvasContainer{
        -webkit-transform: translate(-50%,-50%) scale(0.54);
        -ms-transform: translate(-50%,-50%) scale(0.54);
        transform: translate(-50%,-50%) scale(0.54);
        top:45%;
    }



    #toolControls{
        padding-top: 16px;
    }
    #toolControls ul{
        padding: 14px 15px;
    }
    #toolControls ul>li:not(:first-of-type){
        /*padding-top: 16px;*/
    }
    #colour-group ul{
        padding: 0px 15px;
    }

    /*#toolControls .level-1, 
    #toolControls .level-2, 
    #toolControls .level-3{
        right:80px; 
    }
    #toolControls .level-2{
        right:160px;
    }

    #toolControls .level-3{
        right:240px;
    }*/
ul#tools a.icon{
    background-size: 34px 34px;
    height: 78px;
    background-position: center 8px;
}
#tools li > a.icon-template{
    background-size: auto 58px;
}
ul#tools a.icon > span{
    bottom: 6px;
}
#toolControls .level-2{
    right:254px;
}

    #utilityControls{
        /*padding-top: 16%;*/
    }

    .menu-scroll-container{
        height:366px;
    }
    .menu-nav{
        margin:22px 15px;
    }
.panel-container{
    left:45%;
}

    .canvas-parent,.preview-parent{
        max-height:596px;
    }
    .canvas-parent{
        background: url(/Content/Wizard/images/canvas_background.jpg) 0 0 white no-repeat !important;
        background-size: cover !important;
    }
    .preview-parent{
        background: url(/Content/Wizard/images/projector_background.jpg) 0 0 white no-repeat !important;
        background-size: cover !important;
    }

    #previewControls ul{
        padding:8px 6px;
    }
    .alert-modal-content{
        padding: 16px;
    }

    #product-panel button, #product-panel img{
        margin-top: 16px;
    }
    #product-panel button{
        padding: 0 12px;
    }
    #previewTools li:not(:first-of-type){
        margin-left: 4px;
    }
    #colourScroller{
       height:338px;
    }

    #image-panel{
        width: 65%;
        left: 45%;
    }
    #btnImageSelect{
        margin-top:2px;
    }
    
    #btnSave,#btnDone{
        height:50px;
    }
    body.locale-nl-nl div.tour-container,
    body.locale-de-de div.tour-container{
        width: 549px;
    }
    
    #toolTour{
        min-height: 474px;
        top: 16px;
        /*right: 80px;*/
        padding:12px 6px 12px 12px;
    }


    p.tour-copy-header,
    body.locale-nl-nl p.tour-copy-header:not(.top-designs-header),
    body.locale-de-de p.tour-copy-header:not(.top-designs-header){
        padding-top: 24px; 
    }

    p.tour-copy-header.tour-copy-intro-header,
    body.locale-nl-nl p.tour-copy-header.tour-copy-intro-header,
    body.locale-de-de p.tour-copy-header.tour-copy-intro-header{
        padding-top:38px;
    }

    div.tour-sub-content,
    body.locale-nl-nl div.tour-sub-content,
    body.locale-de-de div.tour-sub-content{
        padding:12px 6px 12px 12px;
        min-height:446px;
    }
    #helpArrowRight{
        top:52px;
    }
    .tour-close-container{
        z-index: 10;
    }
    div.help-icon-container{
        /*right:100px;*/
        top:16px;
    }

    body.locale-nl-nl #alertPopup .alert-modal-dialog,
    body.locale-de-de #alertPopup .alert-modal-dialog {
        width: 600px;
    }

    .tour-copy-header.top-designs-header{
        padding-bottom: 8px;
    }
    body.locale-nl-nl .tour-copy-header.top-designs-header{
        font-size:1.8em;
    }

    body.locale-de-de .tour-copy-header.top-designs-header{
        font-size: 1.6em;
        padding-bottom: 0;
        padding-top: 6px;
    }

    body.locale-de-de .topdesignscontainer{
        height: 146px;
    }
    body.locale-de-de #templateScroller{
        max-height: 96px;
    }
    body.locale-de-de .topdesignscontent{
        height: 96px;
    }
    body.locale-de-de #templateScroller li{
        margin-right: 8px;
    }

    body.locale-de-de #templateScroller a.topdesign{
        height:96px;
    }

    #preview2d{
        width:auto;
        height:100%;
    }
    div#projector3d{
        position:relative;
        max-height:85%;
        text-align:center;
    }
    #btnChangeProduct{
        left:8%;
    }
    /*#previewControls li a.icon-preview-rotate-right,
    #previewControls li a.icon-preview-rotate-left,
    #previewControls li a.icon-preview-reset{
        display:none;
    }*/

}


/* android sizes */
@media screen 
  and (max-width: 767px) 
  and (max-aspect-ratio: 13/9),
  screen 
  and (max-width: 667px) 
  and (max-aspect-ratio: 13/9),
  screen 
  and (max-width: 567px) 
  and (max-aspect-ratio: 13/9){

    body.isAndroid div.tour-sub-content{
        height:45%;
    }
    body.isAndroid #utilityControls > div#colour-group{
        max-height: 84px;
    }
    body.isAndroid div#controlPanels > div#text-panel {
        max-width: inherit;
        width: auto;
        left:10px;
        right:10px;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    body.isAndroid #canvasParent.full-panels div#controlPanels > div#text-panel {
        bottom:153px;
    }
    body.isAndroid #btnEditText{
        width:43%;
    }
    body.isAndroid #btnPreview{
        width: 88px;
        height: 110px;
    }
}
@media screen 
  and (max-width: 767px) 
  and (max-aspect-ratio: 13/9){
    body.isAndroid p.tour-copy-intro-header, 
    body.isAndroid p.tour-copy-header,
    body.isAndroid.locale-nl-nl p.tour-copy-intro-header, 
    body.isAndroid.locale-nl-nl p.tour-copy-header,
    body.isAndroid.locale-de-de p.tour-copy-intro-header, 
    body.isAndroid.locale-de-de p.tour-copy-header{
        font-size: 2.49rem;
        line-height: 2.95rem;
    }
    
    body.isAndroid p.tour-copy-body,
    body.isAndroid .tour-copy-header.top-designs-header,
    body.isAndroid.locale-nl-nl p.tour-copy-body,
    body.isAndroid.locale-nl-nl .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de p.tour-copy-body,
    body.isAndroid.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size: 1.95rem;
        line-height: 2.36rem;
    }

    body.isAndroid #toolTour > div[data-id='tour-template']{
        height:40%;
    }
    body.isAndroid .topdesignscontainer{
        height: auto;
    }

    body.isAndroid .topdesignscontent{
        height: auto;
    }
    body.isAndroid #templateScroller{
        max-height: none;
    }
    body.isAndroid a.topdesign{
        width:48px;
        height:100px;
    }

    body.isAndroid .tour-copy-header.top-designs-header{
        padding-bottom: 8px;
    }
}
@media screen 
  and (max-width: 667px) 
  and (max-aspect-ratio: 13/9){
    body.isAndroid p.tour-copy-intro-header, 
    body.isAndroid p.tour-copy-header,
    body.isAndroid.locale-nl-nl p.tour-copy-intro-header, 
    body.isAndroid.locale-nl-nl p.tour-copy-header,
    body.isAndroid.locale-de-de p.tour-copy-intro-header, 
    body.isAndroid.locale-de-de p.tour-copy-header{
        font-size: 2.29rem;
        line-height: 2.75rem;
    }
    body.isAndroid p.tour-copy-body,
    body.isAndroid .tour-copy-header.top-designs-header,
    body.isAndroid.locale-nl-nl p.tour-copy-body,
    body.isAndroid.locale-nl-nl .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de p.tour-copy-body,
    body.isAndroid.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size: 1.75rem;
        line-height: 2.16rem;
    }


    body.isAndroid #toolTour > div[data-id='tour-template']{
        height:40%;
    }
    body.isAndroid .topdesignscontainer{
        height: auto;
    }

    body.isAndroid .topdesignscontent{
        height: auto;
    }
    body.isAndroid #templateScroller{
        max-height: none;
    }
    body.isAndroid a.topdesign{
        width:48px;
        height:100px;
    }

    body.isAndroid .tour-copy-header.top-designs-header{
        padding-bottom: 0px;
    }

    body.isAndroid #utilityControls > div.utilities-container,
    body.isAndroid div#controlPanels > div#text-panel{
        margin:0 auto;
        max-width: 354px;
    }

}
@media screen 
  and (max-width: 567px) 
  and (max-aspect-ratio: 13/9){
    body.isAndroid p.tour-copy-intro-header, 
    body.isAndroid p.tour-copy-header,
    body.isAndroid.locale-nl-nl p.tour-copy-intro-header, 
    body.isAndroid.locale-nl-nl p.tour-copy-header,
    body.isAndroid.locale-de-de p.tour-copy-intro-header, 
    body.isAndroid.locale-de-de p.tour-copy-header{
        font-size: 1.99rem;
        line-height: 2.45rem;
    }
    body.isAndroid p.tour-copy-body,
    body.isAndroid .tour-copy-header.top-designs-header,
    body.isAndroid.locale-nl-nl p.tour-copy-body,
    body.isAndroid.locale-nl-nl .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de p.tour-copy-body,
    body.isAndroid.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size: 1.35rem;
        line-height: 1.76rem;
    }
    body.isAndroid #toolTour > div[data-id='tour-template']{
        height:28%;
    }

    body.isAndroid .topdesignscontainer{
        height: auto;
    }

    body.isAndroid .topdesignscontent{
        height: auto;
    }
    body.isAndroid #templateScroller{
        max-height: none;
    }

    body.isAndroid a.topdesign{
        width:36px;
        height:75px;
    }
    body.isAndroid .topdesignscontent a.template-scroll-arrow{
        width: 14px;
        height:26px;
        /*margin-top:4px;*/
    }
    body.isAndroid #toolControls li > a.colour{
        width: 64px;
        height: 64px;
    }
    body.isAndroid #utilityControls > div.utilities-container,
    body.isAndroid div#controlPanels > div#text-panel{
        margin:0 auto;
        max-width: 354px;
    }
    body.isAndroid #toolTour p.tour-copy-intro-header{
        margin-top: 20px;
    }
}

@media screen 
  and (max-device-width: 480px) 
  and (max-aspect-ratio: 13/9){
    body.isAndroid p.tour-copy-intro-header,
    body.isAndroid p.tour-copy-intro-body, 
    body.isAndroid.locale-nl-nl p.tour-copy-intro-header, 
    body.isAndroid.locale-nl-nl p.tour-copy-header,
    body.isAndroid.locale-de-de p.tour-copy-intro-header, 
    body.isAndroid.locale-de-de p.tour-copy-header{
        display: none;
    }

    body.isAndroid p.tour-copy-header{
        font-size: 1.55rem;
        line-height: 1.86rem;
    }
    body.isAndroid p.tour-copy-body,
    body.isAndroid .tour-copy-header.top-designs-header,
    body.isAndroid.locale-nl-nl p.tour-copy-body,
    body.isAndroid.locale-nl-nl .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de p.tour-copy-body,
    body.isAndroid.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size: 1.35rem;
        line-height: 1.66rem;
    }

    body.isAndroid div.tour-sub-content{
        height: 60%;
    }
    body.isAndroid #toolTour > div[data-id='tour-template']{
        height: 50%;
    }

    body.isAndroid #utilityControls > div.utilities-container{
        margin:0 10px;
        max-width: 354px;
    }

    body.isAndroid #utilityControls > div.utilities-container,
    body.isAndroid div#controlPanels > div#text-panel{
        margin:0 auto;
        max-width: 354px;
    }
    
    body.isAndroid #toolControls a.icon.icon-clipart.subsection[data-id='clipart-emotions'], 
    body.isAndroid #toolControls a.icon.icon-clipart.subsection[data-id='clipart-gentlemen'], 
    body.isAndroid #toolControls a.icon.icon-clipart.subsection[data-id='clipart-passion'], 
    body.isAndroid #toolControls a.icon.icon-clipart.subsection[data-id='clipart-shapes'], 
    body.isAndroid #toolControls a.icon.icon-clipart.subsection[data-id='clipart-sports'], 
    body.isAndroid #toolControls a.icon.icon-clipart.subsection[data-id='clipart-symbols'], 
    body.isAndroid #toolControls a.icon.icon-clipart.subselection{
        background-size: 36px 36px;
    }
}
@media screen 
  and (min-device-width: 361px) 
  and (max-device-width: 432px) 
  and (max-aspect-ratio: 13/9){
  
    body.isAndroid p.tour-copy-intro-header, 
    body.isAndroid p.tour-copy-header,
    body.isAndroid.locale-nl-nl p.tour-copy-intro-header, 
    body.isAndroid.locale-nl-nl p.tour-copy-header,
    body.isAndroid.locale-de-de p.tour-copy-intro-header, 
    body.isAndroid.locale-de-de p.tour-copy-header{
        display: block;
        font-size: 1.99rem;
        line-height: 2.45rem;
    }
    body.isAndroid p.tour-copy-body,
    body.isAndroid .tour-copy-header.top-designs-header,
    body.isAndroid.locale-nl-nl p.tour-copy-body,
    body.isAndroid.locale-nl-nl .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de p.tour-copy-body,
    body.isAndroid.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        font-size: 1.35rem;
        line-height: 1.76rem;
    }
    body.isAndroid div.tour-sub-content{
        height: 50%;
    }
    body.isAndroid #toolTour > div[data-id='tour-template']{
        height: 30%;
    }
}

@media screen 
  and (max-device-width: 360px) 
  and (max-aspect-ratio: 13/9){

    body.isAndroid p.tour-copy-intro-header, 
    body.isAndroid p.tour-copy-header{
        display: block;
        font-size: 1.89rem;
        line-height: 2.35rem;
    }

    body.isAndroid.locale-nl-nl p.tour-copy-intro-header, 
    body.isAndroid.locale-nl-nl p.tour-copy-header,
    body.isAndroid.locale-de-de p.tour-copy-intro-header, 
    body.isAndroid.locale-de-de p.tour-copy-header{
        display: block;
        font-size: 1.69rem;
        line-height: 2.15rem;
    }
    body.isAndroid p.tour-copy-body,
    body.isAndroid .tour-copy-header.top-designs-header{
        display: block;
        font-size: 1.30rem;
        line-height: 1.60rem;
    }

    body.isAndroid.locale-nl-nl p.tour-copy-body,
    body.isAndroid.locale-nl-nl .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de p.tour-copy-body,
    body.isAndroid.locale-de-de .tour-copy-header.top-designs-header,
    body.isAndroid.locale-de-de div[data-id='tour-text'] p.tour-copy-body{
        display: block;
        font-size: 1.25rem;
        line-height: 1.56rem;
    }

    body.isAndroid #toolTour p.tour-copy-intro-header{
        margin-top: 0px;
    }

    body.isAndroid #utilityControls > div.utilities-container{
        margin:0 10px;
        max-width: 354px;
    }
    body.isAndroid #btnEditText{
        width:38%;
    } 
    body.isAndroid div.tour-sub-content{
        height: 50%;
    }
    body.isAndroid #toolTour > div[data-id='tour-template']{
        height: 30%;
    }
}
@media screen 
  and (max-device-width: 320px) 
  and (max-aspect-ratio: 13/9){

    body.isAndroid #wizardContainer.width320 #canvasParent.full-panels div#controlPanels > div#text-panel{
        bottom:77px;
    }
    body.isAndroid #wizardContainer.width320 #colourScroller{
        top:4px;
    }
    body.isAndroid #wizardContainer.width320 #utilityControls li > a.colour {
        width: 44px;
        height: 44px;
    }

}
/* Selection of large Android tablets in Portrait */

@media screen 
  and (device-width: 601px) 
  and (device-height: 906px) 
  and (-webkit-min-device-pixel-ratio: 1.331) 
  and (-webkit-max-device-pixel-ratio: 1.332) 
  and (max-aspect-ratio: 13/9),
  only screen 
  and (min-device-width: 800px) 
  and (max-device-width: 1280px) 
  and (-webkit-min-device-pixel-ratio: 1.5) 
  and (max-aspect-ratio: 13/9),
  only screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1.5) 
  and (max-aspect-ratio: 13/9),
  only screen 
  and (min-width : 600px) 
  and (max-width : 603px) 
  and (max-aspect-ratio: 13/9)
  {
    body.isAndroid #pencil-panel{
        /*bottom:440px;*/
        left:50%;
    }

    body.isAndroid .canvas-container{
        -webkit-transform: translateX(-50%) translateY(-50%) scale(0.50);
        -ms-transform: translateX(-50%) translateY(-50%) scale(0.50);
        transform: translateX(-50%) translateY(-50%) scale(0.50);
    }

}



/* ipad landscape - slightly increase the design area */
@media  screen and (min-width:768px) and (max-width:1024px) and (min-aspect-ratio: 1/1) and (-webkit-min-device-pixel-ratio: 2){
    #canvasContainer{
        -webkit-transform: translate(-50%,-50%) scale(0.60);
        -ms-transform: translate(-50%,-50%) scale(0.60);
        transform: translate(-50%,-50%) scale(0.60);
    }
}

/*
 specific styles for when landscape device is only just above the breakpoint threshold
 */
@media screen and (min-width:768px) and (max-width:918px) and (min-aspect-ratio: 1/1){
    /*#canvasContainer{
        margin-left:-17%;
    }*/
    #colourScroller{
        /*width: 254px;*/
    }
    #previewControls li a{
        width:25px;
        height:25px;
        background-size: 25px 25px;
    }
    .upload-notice{
        width: 50%;
        font-size:0.7em;
    }
    div.tour-container,
    body.locale-nl-nl div.tour-container, 
    body.locale-de-de div.tour-container{
        width:425px;
    }
    
    body.locale-nl-nl #toolTour > div[data-id='tour-template'] .tour-copy-header > b.bold{
        word-break: break-word;
    }

    p.tour-copy-intro-header, p.tour-copy-header{
        font-size: 2em;
    }
    p.tour-copy-body{
        font-size: 1.5em;
    }

    body.locale-de-de .topdesignscontainer{
        height: 170px;
    }

    #templateScroller{
        width:80%;
    }
} 

/*
 * Mobile phone, landscape only or devices with weird heights when in landscape 
 */
@media screen and (min-width:320px) and (max-width:767px) and (min-aspect-ratio: 13/9),
screen and (max-height:620px) and (min-aspect-ratio: 1/1)
{ 

    #phoneLandscapeBlocker{
        display: none;  /*old - block Reena - to remove alert message for browser issue*/
    }
    #deviceUnsupportedBlocker{
        display: none;
    }
    body.androidKeyboardFocus #phoneLandscapeBlocker{
        display: none;
    }
    .panel-container{
        left:45%;
    }
}

/*
 * Ipad, landscape only with browser tabs visible, and to not show the blocker
 */
@media screen and (min-width:768px) and (height:672px) and (min-aspect-ratio: 1/1) {
    #btnSave,#btnDone{
        bottom:14px;
    }#phoneLandscapeBlocker{
        display: none;
    }
}
/* 
 * ipad, landscape only with browser tabs and favourites bar visible, and to not show the blocker
 */
@media screen and (min-width:768px) and (height:649px) and (min-aspect-ratio: 1/1) {
    #btnSave,#btnDone{
        bottom:14px;
    }
    #phoneLandscapeBlocker{
        display: none;
    }
}

/*
 * When the height gets to a certain threshold, force the mobile version of the header bar
 * to appear. This released ~45px of space and allows the wizard to remain usable.
 */
@media screen and (min-width:768px) and (max-height:670px) and (min-aspect-ratio: 1/1){

    #btnSave,#btnDone{
        bottom:2.5%;
    }
    .navbar.navbar-default .verticalLine{
        height:36px !important;
    }
    .navbar.navbar-default a.close-wizard{
        padding:4px !important;
        margin-top: 0 !important;
    }
    .navbar.navbar-default .close-wizard > img{
        width:27px !important;
    }
    .navbar-inverse .navbar-nav > li > a {
        padding: 4px !important;
    }
    .navbar.navbar-default .close-wizard-section {
        margin-top: 3px !important;
    }
    
    .navbar.navbar-inverse{
        display: none !important;
    }

    .navbar.navbar-default{
        display: block !important;
        min-height: inherit;
        border-radius: 0;
        margin-bottom: 0;
        border: 0;
    }
    .navbar.navbar-default .logo-image{
        margin: 4px 15px;
        margin-right: 0;
    }
    .navbar.navbar-default .brand-logo{
        width:72px;
    }
}
@media (min-width: 640px) and (max-width: 1024px) {
	.canvas-parent {height:665px !important;}
	}
@media (min-width: 320px) and (max-width: 640px) {
	.razorStep h3 { font-size:14px; color:#606060; margin-bottom: 0px;}
	.razorStep h2 { font-size:30px; color:#000; margin-top: 10px; letter-spacing:1.2px;}
	.canvas-parent {height:520px !important;}
	.modal-content {padding:15px 20px !important;}
	.modal-dialog {width: 94% !important;}
	.razorStep {padding-bottom:58px;}
	#btnSave, #btnDone {margin: 0;}
	.modal-body {padding: 5px !important;}
	} 

/*
 * devices <320 = unsupported
 */
@media screen and (max-width:319px) {
    #phoneLandscapeBlocker{
        display: none;
    }
    #deviceUnsupportedBlocker{
        display: none; /*old - block Reena - to remove alert message for browser issue*/
    }
}


@media screen and (min-width:320px) and (max-width:767px) {

    div#readonlyPopup.modal-container {
         position: fixed !important; }

}

@media screen and (max-height:670px) and (min-height:651px) and (min-width:1024px){

    #btnSave {
         padding: 0px;
        min-height: 25px;
        height: 35px; 
    }

}

@media screen and (max-height:650px) and (min-height:500px) and (min-width:1024px) {
    #btnSave {
        bottom:0%;
        padding: 0px;
        min-height: 25px;
        height: 35px; 
    }
}
.popupHeader {
    color: #666;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    display: block;
    padding: 0;
}
.content-wrapper{margin-top:0px;}
.gift {text-align:center; margin-bottom:15px;}
.gift input {margin-left:0 !important; margin-right:5px;  }
.gift label {color:#666; font-size:16px; line-height:16px; margin-right:15px; font-weight:normal; }
.modal-dialog {width: 408px;}
.modal-content {padding:47px 60px; border-radius: 0;}
.modal-backdrop {background-color: #e5e5e5; opacity:0.7;}
.gltBtn {background-color: #606060; border:none; border-radius: 0; width:100%; padding:15px 0; font-weight:bold;}
.gltBtn:hover, .gltBtn:active, .gltBtn:focus {background-color: #f29200;}
	p {color:#666; font-size:14px; line-height:16px; padding:15px 0;}
.checkbox label {color:#666; font-size:14px; line-height:16px; }
.checkbox label a {color:#1491d4; text-decoration:underline; }
.checkbox {
  padding-left: 20px; }
  .checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px; }





    /*.checkbox label::before {
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid #cccccc;
      border-radius: 3px;
      background-color: #fff;
      -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
      -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
      transition: border 0.15s ease-in-out, color 0.15s ease-in-out; }
    .checkbox label::after {
      display: inline-block;
      position: absolute;
      width: 16px;
      height: 16px;
      left: 0;
      top: 0;
      margin-left: -20px;
      padding-left: 3px;
      padding-top: 1px;
      font-size: 11px;
      color: #555555; }
  .checkbox input[type="checkbox"] {
    opacity: 0; }
    .checkbox input[type="checkbox"]:focus + label::before {
      outline: thin dotted;
      outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px; }
    .checkbox input[type="checkbox"]:checked + label::after {
       content: "\e013" ;
      font-family: 'Glyphicons Halflings'; 
        }
    .checkbox input[type="checkbox"]:disabled + label {
      opacity: 0.65; }
      .checkbox input[type="checkbox"]:disabled + label::before {
        background-color: #eeeeee;
        cursor: not-allowed; }
  .checkbox.checkbox-circle label::before {
    border-radius: 50%; }
  .checkbox.checkbox-inline {
    margin-top: 0; }*/


