/*! Site Preview - v - 2013-12-26
* https://github.com/kaptinlin/site-preview
* Copyright (c) 2013 Kaptinlin; Licensed MIT */
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

/**
 * Address margins handled incorrectly in IE 6/7.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}

/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 6/7/8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Address margins set differently in IE 6/7.
 */

p,
pre {
    margin: 1em 0;
}

/**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/**
 * Address CSS quotes not supported in IE 6/7.
 */

q {
    quotes: none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */

q:before,
q:after {
    content: '';
    content: none;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Lists
   ========================================================================== */

/**
 * Address margins set differently in IE 6/7.
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

/**
 * Address paddings set differently in IE 6/7.
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/**
 * Correct list images handled incorrectly in IE 7.
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
header {
	width:100%;
	top: 0;
	left: 0;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.75);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.75);
	box-shadow: 0 0 5px rgba(0,0,0,.75);
	background: #070707;
	background-image: -webkit-linear-gradient(bottom, #070707, #151515);
	background-image: -moz-linear-gradient(bottom, #070707, #151515);
	background-image: -o-linear-gradient(bottom, #070707, #151515);
	background-image: -ms-linear-gradient(bottom, #070707, #151515);
	background-image: linear-gradient(to top, #070707, #151515);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	height:60px;
	position:fixed;
	z-index: 99999;
}
header {
  *zoom: 1;
}
header:before,
header:after {
  display: table;
  line-height: 0;
  content: "";
}
header:after {
  clear: both;
}
html {
	margin-top: 60px;
	overflow: hidden;
	height: -moz-calc(100% - 60px);
	height: -webkit-calc(100% - 60px);
	height: calc(100% - 60px);
	_height: 100%;
}
body {
	height: 100%;
	background: url(../img/bg.png);
}
article {
	height: 100%;
}
.mobile-iframe {
	width:100%;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	display: block;
	border: none;
	overflow-x: hidden;
	overflow-y: scroll;
	z-index: 9999;
}
#logo {
	border: 0;
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	background: url(../img/sprites-nav.png) 20px -205px no-repeat;
	width: 235px;
	height: 60px;
	float: left;
}
/* Theme Selector */
#theme_selector {
	position: relative;
	float: left;
}
#selector {
	color:#fff;
    font-size: 14px;
	display:block;
	background: url(../img/sprites-nav.png) -20px -21px no-repeat;
	width:202px;
	height:32px;
	line-height:32px;
	text-indent: 12px;
	margin: 14px 0px 14px 10px;
	text-decoration: none;
}
#selector:hover{
	color:#fff;
	background-position: -20px -83px;
}
.open #selector {
	background-position: -20px -145px;
}
.open #theme_list {
	display:block;
}
#theme_list {
	display:none;
	position:absolute;
	top: 46px;
	left:10px;
	width:200px;
	border:1px solid #000;
	border-top:none;
	background-color:#f0f0f0;
	margin: 0;
	padding: 0;
	list-style: none;
	
	-webkit-border-radius: 0 0 2px 2px;
	-moz-border-radius: 0 0 2px 2px;
	border-radius: 0 0 2px 2px;

	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	z-index:1000;
}
#theme_list li a {
	position: relative;
	font-size:12px;
	display:block;
	color:#555;
	line-height:30px;
	height:30px;
	padding-left:12px;
	border-bottom:1px solid #ccc;
	border-top:1px solid #fff;
	cursor: pointer;
}
#theme_list li:first-child a {
	border-top:none;
}
#theme_list li:last-child a {
	border-bottom:none;
	-webkit-border-radius: 0 0 2px 2px;
	-moz-border-radius: 0 0 2px 2px;
	border-radius: 0 0 2px 2px;
}
#theme_list li a.hover {
	font-weight:bold;
	background-color:#fbfbfb;
}
#theme_list li a.hover:after,
#theme_list li:hover a:after {
	position: absolute;
	top: -1px;
	right: -1px;
	content: "";
	width: 1px;
	height: 100%;
	background: #fff;
}
.theme_type {
	position: absolute;
	right: 8px;
	top: 6px;
	display: block;
	padding: 0 10px;
	background: #66aaff;
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
#theme_list li a.hover .theme_type{
	background: #ff8899;
	font-weight: normal;
}
#theme_preview {
	position: absolute;
	display:none;
	top:46px;
	left:212px;
	background: url(../img/loading.gif) no-repeat scroll center center #fff;
	border: 1px solid #eee;
	padding:8px;
	width:590px;
	height:300px;
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	z-index:1001;
}
.nav-button {
	position: relative;
	margin-left: 18px !important;
}
.nav-button:before {
	content: "";
	display:inline-block;
	width: 18px;
	height:60px;
	top:0;
	position: absolute;
	left: -20px;
	background: url(../img/sprites-nav.png) -344px -207px no-repeat;
}
/* purchase button */
#purchase {
	float: right;
}
#purchase a {
	display:block;
	width:148px;
	height:60px;
	background: url(../img/sprites-nav.png) -18px -275px no-repeat;
	text-indent:-10000px;
}
#purchase a:hover{
	background-position: -18px -275px;
}
/* remove frame button */
#remove_frame {
	margin-left:-3px;
	margin-right:5px;
	float: right;
}
#remove_frame a {
	display:block;
	width:44px;
	height:60px;
	text-indent:-10000px;
	background: url(../img/sprites-nav.png) -237px -201px no-repeat;
}
#remove_frame a:hover{
	background-position: -237px -266px;
}
header {
	width:100%;
	top: 0;
	left: 0;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.75);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.75);
	box-shadow: 0 0 5px rgba(0,0,0,.75);
	background: #070707;
	background-image: -webkit-linear-gradient(bottom, #070707, #151515);
	background-image: -moz-linear-gradient(bottom, #070707, #151515);
	background-image: -o-linear-gradient(bottom, #070707, #151515);
	background-image: -ms-linear-gradient(bottom, #070707, #151515);
	background-image: linear-gradient(to top, #070707, #151515);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	height:60px;
	position:fixed;
	z-index: 99999;
	/*-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	-o-user-select: none;
  	user-select: none;  */ 
}
header {
  *zoom: 1;
}

header:before,
header:after {
  display: table;
  line-height: 0;
  content: "";
}
header:after {
  clear: both;
}
#logo {
	border: 0;
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	background: url(../img/sprites-nav.png) 20px -205px no-repeat;
	/*width: 185px;*/
	width: 235px;
	height: 60px;
	float: left;
}
html {
	margin-top: 60px;
	overflow: hidden;
	height: -moz-calc(100% - 60px);
	height: -webkit-calc(100% - 60px);
	height: calc(100% - 60px);
	_height: 100%;
}
body {
	height: 100%;
	background: url(../img/bg.png);
}
article {
	height: 100%;
}
/* ==========================================================================
   ViewportResizer Necessary
   ========================================================================== */
/* viewport */
.resizer-viewport {
	position: relative;
}
.resizer-viewport {
	height:100%;
	position: relative;
}
/* axis */
.resizer-axis {
	top:0;
	left:0;
	height:100%;
	width: 100%;
	position: absolute;
	z-index: -1;
}
.resizer-axis:before, .resizer-axis:after  {
	content:"";
	top:0;
	left:0;
	height:100%;
	width: 100%;
	display: block;
	position: absolute;
}
.resizer-axis-y {
	position: absolute;
	width: 100%;
}
.resizer-axis-x {
	position: absolute;

	left:50%;
	height: 100%;
}
/* info */
.resizer-info {
	left: 50%;
	position: absolute;
	z-index: -1;
	width: 150px;
}
/* resizable */
.resizer-resizable {
	top:0;
	left: 50%;
	height:100%;
	width: 100%;
	position: absolute;
	pointer-events: none;
}
.resizer-resizable-x, .resizer-resizable-y, .resizer-resizable-xy {
	position: absolute;
	font-size: 0.1px;
	display: block;
	pointer-events: auto;
}
.resizer-resizable-x {
	top: 50%;
	right: 0px;
}
.resizer-resizable-y {
	left: 50%;
	bottom: 0;
}
.resizer-resizable-xy {
	right: 0;
	bottom: 0;
}
.resizer-resizable-x, [data-resizing="onx"] {
	cursor: e-resize;
}
.resizer-resizable-y, [data-resizing="ony"] {
	cursor: s-resize;
}
.resizer-resizable-xy, [data-resizing="onxy"] {
	cursor: se-resize;
}

[data-current="auto"] .resizer-width-area {
	height:100% !important;
}
/* switcher */
ul.resizer-switcher {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.resizer-switcher li {
	margin:0;
	padding:0;
}
/* iframe */
.resizer-iframe {
	width:100%;
	height: 100%;
	max-height: 100%;
	margin: 0 auto;
	padding: 0;
	display: block;
	border: none;
	overflow-x: hidden;
	overflow-y: scroll;
	z-index: 9999;
}
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { 
.resizer-iframe {
    overflow-y: hidden;
}
}
/* viewport auto */
[data-viewport="auto"] > div {
	display:none;
}
/* ==========================================================================
   ViewportResizer Styled
   ========================================================================== */
/* target */
.resizer-inputer {
	float: left;
	padding: 15px;
	position: relative;
}
.resizer-inputer-input {
	width: 300px;
	height: 30px;
	background-color: rgba(255,255,255,.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #666666;
	text-indent: 5px;
	padding-right: 35px;
	font-size: 16px;
	line-height: 30px;
	
}
.resizer-inputer-input:hover{
	background-color: #313131;
	color: #888888;
}
.resizer-inputer-input:focus {
	background-color: #fff;
	color: #666666;
}
.resizer-inputer-placeholder {
	color: #666666;
}
.resizer-inputer-input, .resizer-inputer-input:focus {
	border: none;
	outline: none;
}
.resizer-inputer-enter {
	background: url(../img/enter.png) center center no-repeat;
	width: 21px;
	height: 8px;
	position: absolute;
	right: 27px;
    top: 27px;
	display: block;
}
/* viewport */
.resizer-viewport:not([data-resizing*="on"]) * {
	-moz-transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -o-transition: all .5s linear;
    transition: all .5s linear;
}
.resizer-resizable-x, .resizer-resizable-y, .resizer-resizable-xy {
	-moz-transition-property: width,height !important;
    -webkit-transition-property: width,height !important;
    -o-transition-property: width,height !important;
    transition-property: width,height !important;
}

/* iframe */
.resizer-iframe {
	color: #666666;
	background: #fff;
}
/* axis */
[data-resizing="onx"] .resizer-axis:before {
	opacity: 1;
}
[data-resizing="ony"] .resizer-axis:after {
	opacity: 1;
}
[data-resizing="onxy"] .resizer-axis:after,
[data-resizing="onxy"] .resizer-axis:before {
	opacity: 1;
}
.resizer-axis:before {
	background: url(../img/axis_bg_x.png) bottom repeat-x;
}
.resizer-axis:after {
	background: url(../img/axis_bg_y.png) repeat-y;
}
.resizer-axis:before, .resizer-axis:after  {
	opacity: 0.3;
}
.resizer-axis-y {
	height: 0px;
	border-bottom: 1px dotted #acacac;
}
[data-resizing="ony"] .resizer-axis-y, [data-resizing="onxy"] .resizer-axis-y {
	border-bottom: 1px solid #e48688;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.3);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.3);
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.resizer-axis-x {
	width: 0px;
	border-left: 1px dotted #acacac;
}
[data-resizing="onx"] .resizer-axis-x, [data-resizing="onxy"] .resizer-axis-x {
	border-left: 1px solid #e48688;
	-webkit-box-shadow: 1px 0 2px rgba(0,0,0,.3);
	-moz-box-shadow: 1px 0 2px rgba(0,0,0,.3);
	box-shadow: 1px 0 2px rgba(0,0,0,.3);
}
/* info */
.resizer-info {
	font-size: 12px;
	color: #aaa;
	padding: 20px;
	text-shadow: 1px 1px rgba(255,255,255,0.8);
}
[data-resizing="onx"] .resizer-info-width,
[data-resizing="ony"] .resizer-info-height,
[data-resizing="onxy"] .resizer-info {
	color: #5f5f5f;
}
.resizer-info-lable {
	text-align: right;
	width: 40px;
	margin-right: 5px;
	display:inline-block;
	zoom: 1;
    *display: inline; 
}
/* switcher */
ul.resizer-switcher {
	float: right;
}
.resizer-switcher > li {
	
	position: relative;
	display: inline;
	float: left;
}
.resizer-switcher > li a {
	display: block;
	height: 56px;
	
	text-decoration: none;	
	text-indent: 9999px;

	background: url(../img/sprites-nav.png) no-repeat;
	
	cursor: pointer;
	outline: 0;
}
.resizer-switcher [data-viewport="auto"] a {
	width: 48px;
	background-position: -238px -19px;
}
.resizer-switcher [data-viewport="auto"]:hover a, .resizer-switcher [data-viewport="auto"][data-current="true"] a {
	background-position: -238px -85px;
}
/*.resizer-switcher [data-viewport="optional"] a {
	width: 36px;
	background-image: url(../img/optional.png);
}
.resizer-switcher [data-viewport="optional"]:hover a, .resizer-switcher [data-viewport="optional"][data-current="true"] a {
	background-image: url(../img/optional_active.png);
}*/
.resizer-switcher [data-viewport="mobile"] a {
	width: 30px;
	background-position: -294px -20px;
}
.resizer-switcher [data-viewport="mobile"]:hover a, .resizer-switcher [data-viewport="mobile"][data-current="true"] a {
	background-position: -294px -88px;
}
.resizer-switcher [data-viewport="tablet"] a {
	width: 38px;
	background-position: -335px -25px;
}
.resizer-switcher [data-viewport="tablet"]:hover a, .resizer-switcher [data-viewport="tablet"][data-current="true"] a {
	background-position: -335px -100px;
}
.resizer-switcher [data-viewport="notebook"] a {
	width: 61px;
	background-position: -386px -28px;
}
.resizer-switcher [data-viewport="notebook"]:hover a, .resizer-switcher [data-viewport="notebook"][data-current="true"] a {
	background-position: -387px -106px;
}
.resizer-switcher [data-viewport="desktop"] a {
	width: 66px;
	background-position: -459px -36px;
}
.resizer-switcher [data-viewport="desktop"]:hover a, .resizer-switcher [data-viewport="desktop"][data-current="true"] a {
	background-position: -460px -124px;
}
/* swithcher optional */
.resizer-switcher-optional-container {
	display: none;
	position: absolute;
	text-indent: 0 !important;
	top: 70px;

	left: -54px;
	width: 132px;
	font-size: 12px;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #fff;
	border: solid 2px rgba(0,0,0,.6);
	background: #eeeeee;
	
}
.resizer-switcher-optional-container:after {
	border-bottom: 7px solid #FFFFFF;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    content: "";
    display: block;
    height: 0;
    left: 63px;
    position: absolute;
    top: -7px;
    width: 0;
}
.resizer-switcher-optional-container:before {
	border-bottom: 8px solid rgba(0, 0, 0, 0.6);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: block;
    height: 0;
    left: 62px;
    position: absolute;
    top: -10px;
    width: 0;
}
.resizer-switcher [data-viewport="optional"] a:before{
    content: "";
    display: block;
    height: 14px;
    left: -26px;
    position: absolute;
    top: 56px;
    width: 80px;
}
[data-show="true"] .resizer-switcher-optional-container {
	display: block;
}
.resizer-switcher-optional-add {
	padding: 10px;
}
.resizer-switcher-optional-add div {
	
	
	text-indent: 0px;
	margin-bottom: 2px;
}
.resizer-switcher-optional-add label {
	color: #bbb;
	text-align: right;
	width: 45px;
	display: inline-block;
	margin-right: 5px;
}
.resizer-switcher-optional-add input {
	color: #999;
	display: inline;
	width: 60px;

	background-color: #fefefe;
	-webkit-box-shadow: 0 0 0 2px rgba(255,255,255,.3), inset 0 2px 2px rgba(0,0,0,.03);
	-moz-box-shadow: 0 0 0 2px rgba(255,255,255,.3), inset 0 2px 2px rgba(0,0,0,.03);
	box-shadow: 0 0 0 2px rgba(255,255,255,.3), inset 0 2px 2px rgba(0,0,0,.03);
	border: 1px solid rgba(0,0,0,.15);
}
.resizer-switcher-optional-add input:focus,.resizer-switcher-optional-add input:hover {
	-webkit-box-shadow: 0 1px 8px rgba(111,188,243,.3);
	-moz-box-shadow: 0 1px 8px rgba(111,188,243,.3);
	box-shadow: 0 1px 8px rgba(111,188,243,.3);
	border: solid 1px rgba(126,191,238,.6);
}
.resizer-switcher-optional-container ul {
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
	background-color: #fff;
	color: #b3b3b3;
}
.resizer-switcher-optional-container li {
	border-top:1px solid #fff;
	border-bottom: 1px solid #d4d4d4;
	padding: 10px !important;
	display: block;
	-webkit-box-shadow: inset 0 1px #fff;
	-moz-box-shadow: inset 0 1px #fff;
	box-shadow: inset 0 1px #fff;
	background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.06), rgba(0,0,0,.05) 10%, rgba(0,0,0,.03) 20%, rgba(0,0,0,.02) 31%, rgba(0,0,0,.01) 48%, rgba(0,0,0,.01));
	background-image: -moz-linear-gradient(bottom, rgba(0,0,0,.06), rgba(0,0,0,.05) 10%, rgba(0,0,0,.03) 20%, rgba(0,0,0,.02) 31%, rgba(0,0,0,.01) 48%, rgba(0,0,0,.01));
	background-image: -o-linear-gradient(bottom, rgba(0,0,0,.06), rgba(0,0,0,.05) 10%, rgba(0,0,0,.03) 20%, rgba(0,0,0,.02) 31%, rgba(0,0,0,.01) 48%, rgba(0,0,0,.01));
	background-image: -ms-linear-gradient(bottom, rgba(0,0,0,.06), rgba(0,0,0,.05) 10%, rgba(0,0,0,.03) 20%, rgba(0,0,0,.02) 31%, rgba(0,0,0,.01) 48%, rgba(0,0,0,.01));
	background-image: linear-gradient(to top, rgba(0,0,0,.06), rgba(0,0,0,.05) 10%, rgba(0,0,0,.03) 20%, rgba(0,0,0,.02) 31%, rgba(0,0,0,.01) 48%, rgba(0,0,0,.01));
}
.resizer-switcher-optional-container li:hover {
	background: #fff;
}
.resizer-switcher-optional-container li[data-current="true"] {
	-webkit-box-shadow: inset 0 0 3px rgba(34,18,10,.1);
	-moz-box-shadow: inset 0 0 3px rgba(34,18,10,.1);
	box-shadow: inset 0 0 3px rgba(34,18,10,.1);
	background-image: -webkit-linear-gradient(top, #e1e6e7, #eaf2f4);
	background-image: -moz-linear-gradient(top, #e1e6e7, #eaf2f4);
	background-image: -o-linear-gradient(top, #e1e6e7, #eaf2f4);
	background-image: -ms-linear-gradient(top, #e1e6e7, #eaf2f4);
	background-image: linear-gradient(to bottom, #e1e6e7, #eaf2f4);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e6e7', endColorstr='#eaf2f4');
}
.resizer-switcher-optional-container li:last-child {
	border-bottom: none;
}
.resizer-switcher-optional-container li:first-child {
	border-top: solid 2px rgba(0,0,0,.6);
}
/* resizable */
.resizer-resizable-x {
	width: 10px; 
	height: 40px;

	margin-top: -20px;
	right: -15px;
	background: url(../img/sprites-resizable.png) repeat-y -18px -9px;
	/*background: url(../img/resizable_x.png) repeat-y;*/
}
[data-resizing="onx"] .resizer-resizable-x {
	background: url(../img/sprites-resizable.png) repeat-y -55px -9px;
	/*background: url(../img/resizable_x_active.png) repeat-y;*/
}
.resizer-resizable-y {
	width: 40px;
	height: 10px;
	margin-left: -20px;
	bottom: -15px;
	background: url(../img/sprites-resizable.png) repeat-x -18px -69px;
	/*background: url(../img/resizable_y.png) repeat-x;*/
}
[data-resizing="ony"] .resizer-resizable-y {
	background: url(../img/sprites-resizable.png) repeat-x -68px -69px;
	/*background: url(../img/resizable_y_active.png) repeat-x;*/
}
.resizer-resizable-xy {
	width: 15px;
	height: 15px;
	right: -17px;
	bottom: -17px;	
	background: url(../img/sprites-resizable.png) no-repeat -94px -20px;
	/*background: url(../img/resizable_xy.png) no-repeat;*/
}
[data-resizing="onxy"] .resizer-resizable-xy {
	background: url(../img/sprites-resizable.png) no-repeat -135px -20px;
	/*background: url(../img/resizable_xy_active.png) no-repeat;*/
}

[data-resizing*="on"] .resizer-resizable {
	pointer-events: auto;

	background:url(../img/blank.gif)\9; //ie6-ie9
}
@media only screen and (max-width: 1024px) {
    #purchase a {
    	width: 38px;
    }
}

@media only screen and (max-width: 960px) {
	#logo {
		width: 200px;
		background-position: 0 -205px;
	}
    .resizer-switcher .resizer-switcher-desktop {
    	display: none;
    }
    .resizer-switcher [data-viewport="auto"] a {
		background-position: -238px -23px;
	}
	.resizer-switcher [data-viewport="auto"]:hover a, .resizer-switcher [data-viewport="auto"][data-current="true"] a {
		background-position: -238px -89px;
	}
	.resizer-switcher [data-viewport="mobile"] a {
		background-position: -294px -23px;
	}
	.resizer-switcher [data-viewport="mobile"]:hover a, .resizer-switcher [data-viewport="mobile"][data-current="true"] a {
		background-position: -294px -92px;
	}
	.resizer-switcher [data-viewport="tablet"] a {
		background-position: -335px -29px;
	}
	.resizer-switcher [data-viewport="tablet"]:hover a, .resizer-switcher [data-viewport="tablet"][data-current="true"] a {
		background-position: -335px -104px;
	}
	.resizer-switcher [data-viewport="notebook"] a {
		background-position: -386px -32px;
	}
	.resizer-switcher [data-viewport="notebook"]:hover a, .resizer-switcher [data-viewport="notebook"][data-current="true"] a {
		background-position: -387px -110px;
	}
	#remove_frame a {
		width: 40px;
		background-position: -240px -201px;
	}
	#remove_frame a:hover{
		background-position: -240px -266px;
	}
}

@media only screen and (max-width: 768px) {
	#theme_selector {
		display: none;
	}

    .resizer-switcher .resizer-switcher-notebook {
    	display: none;
    }
}

@media only screen and (max-width: 568px) {
}

@media only screen and (max-width: 480px) {
    .resizer-switcher .resizer-switcher-tablet,
    .resizer-switcher .resizer-switcher-mobile,
    .resizer-switcher .resizer-switcher-auto {
    	display: none;
    }
    #logo {
    	width: 195px;
    }
}