/*padding for elements*/
/*Based on the Eric Meyer reset*/
/* @group Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
/* remember to define visible focus styles! 
:focus {
	outline: ?????;
} */
/* remember to highlight inserts somehow! */
ins {
  text-decoration: none;
}
del {
  text-decoration: line-through;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* @end */
/*---------------------------------------------------
    LESS Elements 0.6
  ---------------------------------------------------
    A set of useful LESS mixins by Dmitry Fadeyev
    Special thanks for mixin suggestions to:
      Kris Van Herzeele,
      Benoit Adam,
      Portenart Emile-Victor,
      Ryan Faerman

    More info at: http://lesselements.com
-----------------------------------------------------*/
/* @group Typography */
h1 {
  overflow: visible;
  font-family: 'Merriweather', "Georgia", 'serif';
  font-size: 40px;
  margin-bottom: 15px;
  text-rendering: optimizeLegibility;
}
h2 {
  margin-bottom: 15px;
  font-size: 30px;
  text-rendering: optimizeLegibility;
  font-family: "Source Sans Pro", 'sans-serif';
  font-weight: 200;
}
em {
  font-style: italic;
}
strong {
  font-weight: bold;
}
p {
  font-family: "Source Sans Pro", 'sans-serif';
  font-size: 16px;
  line-height: 1.40;
}
#wrapper p {
  padding-bottom: 10px;
}
.warning {
  background: rgba(255, 155, 155, 0.8);
  padding: 15px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.panel a,
.panel a:link,
.panel a:visited {
  color: inherit;
}
/* @end */
/* @group Structure */
body {
  background: #292929;
}
#wrapper {
  background: white;
}
.panel {
  margin: 0 auto;
  width: 80%;
  padding-top: 15px;
  display: none;
  min-height: 400px;
  padding-bottom: 50px;
}
.panel.here {
  display: block;
}
#content_main {
  /*overflow: scroll;*/
}
#content_main h1:hover,
#content_main h2:hover,
#p_text:hover {
  outline: dashed 3px rgba(0, 0, 0, 0.3);
}
#content_main h1:active {
  /*outline: dashed 3px red;*/
}
#nav_controls {
  background: #292929;
  width: 80%;
  margin: -30px auto 0;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
#controls {
  /*position: absolute;*/
  clear: both;
  color: white;
  width: 100%;
  /*bottom: -20px;*/
  /*left: 0;*/
  /*height: 50px;*/
  padding-top: 10px;
  /*		background: rgba(0,0,0,.6);
		background: #292929;*/
  font-family: Verdana, Helvetica, Arial, 'sans-serif';
  font-size: .75em;
}
#controls .chosen-container,
#controls input {
  color: black;
  margin-right: 5px;
}
.control {
  display: none;
}
.control.active,
.no-js .control {
  display: block;
}
#control_option {
  float: left;
  /*margin: 0 15px;*/
}
#h1lh,
#h2lh,
#plh {
  /*width:50px;*/
}
#h1color,
#h2color,
#pcolor {
  width: 60px;
}
#submit #h1_select,
#h2_select,
#p_select,
#h1_select_chosen,
#h2_select_chosen,
#p_select_chosen {
  /*float: left;*/
  clear: both;
  margin-right: 5px;
  margin-bottom: 11.25px;
  width: 100%;
}
.element,
.font-family,
.size,
.lh,
.color {
  margin-left: 15px;
  margin-bottom: 11.25px;
}
.element label,
.font-family label,
.size label,
.lh label,
.color label,
#bg_sec label {
  display: block;
  margin-bottom: 3px;
}
.element {
  padding: 0 0 11.25px 0;
  margin: 0 15px 11.25px 15px;
  border-bottom: solid 1px white;
  width: 90%;
}
#control_option_chosen {
  font-family: Verdana, 'sans-serif';
}
.hide_btn {
  padding: 5px 10px;
  margin-top: 15px;
  margin-left: 15px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: solid 1px white;
  background: #ccc;
}
#share_text {
  width: 100%;
  height: 100px;
  padding: 15px;
  margin-bottom: 15px;
}
#share_text_short {
  width: 190px;
  height: 20px;
  padding: 15px;
}
/* @end */
/* @group Navigation */
.footer_wrapper {
  background: #292929;
  /* Old browsers */
}
footer {
  margin: 0 auto;
  padding: 0;
  clear: both;
  width: 80%;
  font-family: Verdana, Helvetica, Arial, 'sans-serif';
  /*min-width: @pagewidth;*/
}
footer p {
  margin: 15px 0;
  color: white;
}
footer p a {
  color: white;
}
#panel_nav {
  font-size: .8em;
  clear: both;
  margin: 15px 0;
}
#panel_nav li {
  float: left;
  display: inline;
}
#panel_nav a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 8px 20px;
}
#panel_nav a.here {
  background: #666;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
/* @end */
/* @group Forms */
/* @group Form fixes */
/* from the normalize section of the HTML5 boilerplate */
label {
  cursor: pointer;
}
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
button,
input {
  line-height: normal;
  *overflow: visible;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}
input[type="search"] {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
/* @end */
/* @end */
/* @group Classes/specific features */
#logo {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  width: 100px;
  height: 100px;
  background: orange;
  float: left;
}
/* @end */
/* @group Helper Classes */
/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */
/* For image replacement */
.ir {
  display: block;
  text-indent: -999em;
  overflow: hidden;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
}
.ir br {
  display: none;
}
/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden {
  display: none;
  visibility: hidden;
}
/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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;
}
/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1;
}
.group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
/*for ie6*/
* html .group {
  height: 1%;
}
/*for ie7*/
*:first-child + html .group {
  min-height: 1px;
}
/* @end */
/* =============================================================================

   PLACEHOLDER Media Queries for Responsive Design.

   These override the primary ('mobile first') styles

   Modify as content requires.

   ========================================================================== */
@media only screen and (min-width: 480px) {
  .panel {
    min-height: 320px;
  }
}
@media only screen and (min-width: 768px) {
  .panel {
    padding-top: 80px;
  }
  #control_option {
    float: left;
    margin: 0 15px;
  }
  #h1_select,
  #h2_select,
  #p_select,
  #h1_select_chosen,
  #h2_select_chosen,
  #p_select_chosen,
  .chosen-container,
  .element,
  .font-family,
  .size,
  .lh,
  .color {
    /*	float: left;
	clear:none;
	margin-right: @spacing;*/
    /*margin-left: @spacing;*/
  }
  .control {
    /*margin-left: 170px;*/
    clear: none;
  }
  .element {
    /*padding:0 6px 0 0;*/
    /*margin:0 10px 0 @spacing;*/
    width: auto;
  }
  #h1lh,
  #h2lh,
  #plh {
    width: 50px;
  }
  #panel_nav {
    float: right;
    clear: none;
  }
  footer p {
    float: left;
  }
}
@media only screen and (min-width: 920px+40px) {
  .panel {
    min-width: 920px;
    padding-top: 80px;
    min-height: 320px;
  }
  #content_main {
    overflow: visible;
  }
  #nav_controls {
    min-width: 920px;
    margin: -30px auto 0 auto;
  }
  #control_option {
    float: left;
    margin: 0 15px;
  }
  .chosen-container,
  .font-family,
  .size,
  .lh,
  .color {
    float: left;
    clear: none;
    margin-right: 15px;
    margin-left: 0;
  }
  #h1_select,
  #h2_select,
  #p_select,
  #h1_select_chosen,
  #h2_select_chosen,
  #p_select_chosen {
    margin-left: 0;
  }
  #h1_select,
  #h2_select,
  #p_select,
  #h1_select_chosen,
  #h2_select_chosen,
  #p_select_chosen,
  .chosen-container,
  .element,
  .font-family,
  .size,
  .lh,
  .color {
    float: left;
    clear: none;
    margin-right: 15px;
  }
  select.variant_select {
    display: none;
  }
  .no-js select.variant_select {
    display: block;
  }
  .element {
    padding: 0 6px 0 0;
    margin: 0 10px 0 15px;
    border-right: solid 1px white;
    border-bottom: none;
    width: 145px;
  }
  .element label {
    margin-left: 0;
  }
}
