/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	overflow: hidden;
}

#header {
	background-color: #323B44;
	border-bottom: 2px solid #0BB697;
	height: 50px;
	line-height: 50px;
	z-index: 100;
	overflow: hidden;
}

#preview {
	background-color: #FFFFFF;
	width: 100%;
}

.filters {
	float: left;
}

.links {
	float: right;
	padding-right: 10px;
}

.filters select {
	width: 200px;
	background-color: #F5F5F5;
	color: #585858;
	color: rgba(0,0,0,0.8);
	text-shadow: 0 1px rgba(255,255,255,0.5);
	padding: 9px 14px;
	font-size: 10px;
}

.template-colors {
	padding-left: 20px;
}

.template-colors .mk-button.small {
	margin-right: 5px;
	padding: 15px;
}

.template-colors .mk-button.small:hover {
	box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

.template-colors .mk-button.active {
	box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
	position: relative;
}
.template-colors .mk-button.small.active:hover {
	box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
	cursor: default;
}

.template-colors .mk-button.active:after {
	background-color: #FFFFFF;
	box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
	border-radius: 3px;
	bottom: -8px;
	left: 12px;
	content: "";
	height: 6px;
	position: absolute;
	width: 6px;
}

.logo {
	display: block;
	padding: 0 20px;
	float: left;
}

.logo img {
	border: none;
	height: 50px;
}

.mk-button{text-decoration:none;position:relative;display:inline-block;margin-right:10px;margin-left:0;vertical-align:middle;text-align:center;cursor:pointer;zoom:1;font-weight:bold;transition:background .1s ease-in-out;-webkit-transition:background .1s ease-in-out;-moz-transition:background .1s ease-in-out;-ms-transition:background .1s ease-in-out;-o-transition:background .1s ease-in-out;text-shadow:0 1px rgba(0,0,0,0.3);color:#fff;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.mk-button:hover{color:#fff}
.mk-button.dark-color{color:#585858;color:rgba(0,0,0,0.8);text-shadow:0 1px rgba(255,255,255,0.5)}
.mk-button.light-color{text-shadow:0 1px rgba(0,0,0,0.4);color:#fff}.mk-button.light-color:hover{color:#fff !important}
.mk-button[type=submit],.mk-button[type=button]{border:none;outline:none;font-weight:600}
.mk-button i{margin:-4px 8px 0 0;line-height:4px !important}
.mk-button.large{padding:14px 26px;font-size:14px;line-height:100%}.mk-button.large i{font-size:16px}
.mk-button.medium{padding:11px 22px;font-size:12px;line-height:100%}.mk-button.medium i{font-size:14px}
.mk-button.small{padding:9px 14px;font-size:10px;line-height:100%}.mk-button.small i{font-size:12px;margin-top:-3px}
.mk-button.three-dimension{box-shadow:inset 0 1px 0 rgba(0,0,0,0.3)}.mk-button.three-dimension:active{top:2px}
.mk-button.two-dimension{box-shadow:inset 0 0 1px rgba(0,0,0,0.8);background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.07)), to(rgba(0,0,0,0.15)));background-image:-webkit-linear-gradient(top, rgba(0,0,0,0.07), rgba(0,0,0,0.15));background-image:-moz-linear-gradient(top, rgba(0,0,0,0.07), rgba(0,0,0,0.15));background-image:-ms-linear-gradient(top, rgba(0,0,0,0.07), rgba(0,0,0,0.15));background-image:-o-linear-gradient(top, rgba(0,0,0,0.07), rgba(0,0,0,0.15))}.mk-button.two-dimension:active{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.15)), to(rgba(0,0,0,0.07)));background-image:-webkit-linear-gradient(top, rgba(0,0,0,0.15), rgba(0,0,0,0.07));background-image:-moz-linear-gradient(top, rgba(0,0,0,0.15), rgba(0,0,0,0.07));background-image:-ms-linear-gradient(top, rgba(0,0,0,0.15), rgba(0,0,0,0.07));background-image:-o-linear-gradient(top, rgba(0,0,0,0.15), rgba(0,0,0,0.07))}
button.mk-button{line-height:100%;outline:none;border:none !important;}
button.mk-button::-moz-focus-inner{border:none}
.mk-button-align{display:inline-block}.mk-button-align.right{float:right}
.mk-button-align.center{text-align:center;display:block !important}
.mk-button-align.left{text-align:left}

.mk-button-primary {
  background-color: #0BB697;
}

.mk-button-secondary {
  background-color: #F5F5F5;
  color: #787878;
}

.mk-button-alert {
  background-color: #F56A5F;
}



.select2-results .select2-highlighted {
	background: #0BB697;
}
.select2-drop-active {
	border: 1px solid #0BB697;
	border-top: none;
}
.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
    border: 1px solid #0BB697;
}
.zebra {
    background-color: #EFEFEF;
}
img.flag {
    height: 10px;
    padding-right: 10px;
    width: 15px;
}
.template-result td {
    vertical-align: top;
}
.template-image {
    width: 120px;
}
.template-image img {
    height: 120px;
    width: 120px;
	border: 1px solid #999;
}
.template-info {
    padding-left: 10px;
    vertical-align: top;
}
.template-title {
    font-size: 18px;
    padding-bottom: 15px;
}
.template-description {
    color: #888888;
    font-size: 12px;
}
.select2-highlighted .template-image img {
    border: 1px solid #0BB697;
}
.select2-highlighted .template-description {
    color: #EEEEEE;
    font-size: 12px;
}
.bigdrop.select2-container .select2-results {
    max-height: 300px;
}
.bigdrop .select2-results {
    max-height: 300px;
}

.loader {
	width: 100%;
	position: absolute;
	opacity: 0.7;
	background: #FFF url('../img/loader.gif') no-repeat center;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}