/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}




@font-face {
    font-family: 'robotobold';
    src: url('../fonts/roboto-bold-webfont.eot');
    src: url('../fonts/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('../fonts/roboto-bold-webfont.woff') format('woff'),
         url('../fonts/roboto-bold-webfont.ttf') format('truetype'),
         url('../fonts/roboto-bold-webfont.svg#robotobold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'robotolight';
    src: url('../fonts/roboto-light-webfont.eot');
    src: url('../fonts/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-light-webfont.woff2') format('woff2'),
         url('../fonts/roboto-light-webfont.woff') format('woff'),
         url('../fonts/roboto-light-webfont.ttf') format('truetype'),
         url('../fonts/roboto-light-webfont.svg#robotolight') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'robotoregular';
    src: url('../fonts/roboto-regular-webfont.eot');
    src: url('../fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('../fonts/roboto-regular-webfont.woff') format('woff'),
         url('../fonts/roboto-regular-webfont.ttf') format('truetype'),
         url('../fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
    background: #fefefe;
    font-family: Arial, sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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


/* Generated by Font Squirrel (https://www.fontsquirrel.com) on June 16, 2016 */

div, header, section, article, footer, aside, input {
    box-sizing: border-box;
}


.top {
      font-family: Arial, sans-serif;
    text-align: center;
    font-size: 2em;
    color:#6b6c74;
}

.top strong {
     font-family: 'robotoregular', Arial, sans-serif;
}

.top , .container {
  /* background: #d7d7d7; */
  width: 900px;
  padding: 0em 0em 0;
  margin: 0em auto 0.1em;
  display: table;
  /* border: 1px solid #fff; */
}

.alt-cubeta {
    height: 710px;
}


.bt-start {
  opacity: 1;
  -webkit-transition: all 1s; /* Safari */
  transition: all 1s;
}

.bt-start:hover {
  opacity: 0.7;
}

#solution {
    /*background: #d7d7d7;*/
    width: 50%;
    height: 500px;
    float: left;
    margin: 0em 1em 0;
}

#solution span {
    display: none;
}


#especies {
  /*background: #d7d7d7;*/
  width: 100%;
  height: 700px;
  float: left;
  margin: 0em 1em 0;
}


.recipiente, .cor-da-solucao, .espectro, .recipiente-cor-5, .recipiente-cor-50, .recipiente-cor-150  {
  width: 186px;
  height: 530px;
  margin-left: 100px;
  margin-top: 4em;
}

.espectro img {
  position: absolute;
  margin-left: -220px;
  display:none;
  cursor: pointer;
}

.recipiente-especies {
  background: url('../img/recipiente-especies.png') no-repeat;
  width: 186px;
  height: 510px;
  margin-left: 360px;
      margin-top: 10em;
  position: absolute;
  z-index: 9999;

}

.recipiente-especies img {
      max-width: 40%;
      position: absolute;
      cursor: crosshair;
}

.recipiente  {
    background: url('../img/cubeta.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}


.recipiente-cor-5  {
    background: url('../img/cor-agua.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-50  {
    background: url('../img/cor-agua-50.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-150  {
    background: url('../img/cor-agua-150.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-mb5  {
    background: url('../img/cores/cor-mb5.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-mb50  {
    background: url('../img/cores/cor-mb50.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-mb150  {
    background: url('../img/cores/cor-mb150.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-sds1_5-mb5  {
    background: url('../img/cores/cor-sds1_5-mb5.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-sds1_5-mb50  {
    background: url('../img/cores/cor-sds1_5-mb50.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-sds1_5-mb150  {
    background: url('../img/cores/cor-sds1_5-mb150.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-sds16-mb5  {
    background: url('../img/cores/cor-sds16-mb5.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-sds16-mb50  {
    background: url('../img/cores/cor-sds16-mb50.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-sds16-mb150  {
    background: url('../img/cores/cor-sds16-mb150.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-ctab0_75-mb5  {
    background: url('../img/cores/cor-ctab0_75-mb5.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-ctab0_75-mb50  {
    background: url('../img/cores/cor-ctab0_75-mb50.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-ctab0_75-mb150  {
    background: url('../img/cores/cor-ctab0_75-mb150.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-ctab8-mb5  {
    background: url('../img/cores/cor-ctab8-mb5.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-ctab8-mb50  {
    background: url('../img/cores/cor-ctab8-mb50.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.recipiente-cor-ctab8-mb150  {
    background: url('../img/cores/cor-ctab8-mb150.png') no-repeat;
    position: absolute;
    z-index: 9999;
    cursor: pointer
}

.cor-da-solucao {
    background: url('../img/cor-agua.png') no-repeat;
    position: absolute;
    z-index: 999;
    display: none;
}

.espectro {
    padding: 2em;
    position: absolute;
    display: none;
}

#metileno, #mol-sds, #mol-ctab {
    /*position: absolute;*/
}


#mb5, #mb50, #mb150, #sds-15_mM, #sds-16mM,
#ctab-0_75mM, #ctab-8mM, #sds-1_5-5, #sds-1_5-50,
#sds-1_5-150, #sds-16-5, #sds-16-50, #sds-16-150,
#ctab-075-5, #ctab-075-50, #ctab-075-150, #ctab-8-5, #ctab-8-50, #ctab-8-150,
#sds-8_mM, #ctab-1_mM, #r00   {
    position: absolute;
    z-index: 4;
}
#cubeta-img {
  position: absolute;
  z-index: 2;
}

#cubeta-cor-5, #cubeta-cor-50, #cubeta-cor-150 {
  position: absolute;
  z-index: 1;
}



.hide-in {
    display: none;
}

#metileno {
    margin: 10em 0 0 2em
}

#mol-sds {
    margin: 18em 0 0 17em
}


#mol-ctab {
    margin: 14em 0 0 12em
}

.radar {
    background: #4d8693;
    width: 330px;
    height: 50px;
    margin: 40em 0 0 2em;
    clear: both;
}

.bt-radar {
    background: #5a9aa8;
    width:50px;
    height: 50px;
    padding: 0.95em 0 0 1.4em;
}

.controles {
  /* background: #fff; */
  float: right;
  width: 44%;
  height: auto;
  margin: 0 0em 0;
  border-left: 4px solid #ccc;
}


.col-controles {
    width: 27.5%;
    height: auto;
    padding: 1em;
    float: left
}

.col-controles-2 {
    width: 100%;
    height: auto;
    padding: 1em;
    float: left
}

.controles h4 {
    margin-top: 0.1em;
    color:#4d8693;
}

.recursos {
    /*background: #fff;*/
    width:100%;
    height: 195px;
    border-top:1px solid #ccc;
    padding: 1em;
    clear: both;
}

#legenda-equation {
  margin-left: 25px;
  margin-bottom: 5px
}

.recursos  i {
  color: #ccc;
  cursor: pointer;
}

.recursos i:hover {
  color: #7a7a7a;
}

.helps {
  font-size: 0.7em;
}


.arrow-down {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;

  border-left: 10px solid #fff;
}



/** Tooltip **/
.conteudo-tooltip {
  width: 280px;
  height: 250px;
  position: absolute;
  z-index: 100000;
  margin-top: 80px;
  margin-left: 225px;
  opacity: 0.8;
  font-size: 0.9em;
}

.ttp-especies-container {
  margin-top: 80px;
  height: 600px;
  font-size: 0.8em;

}

/*.conteudo-tooltip div {
  width: 100%;
  height: auto;
  padding: 1em;
  display: none;
  background: #fff;
  display: none;
}*/


/* Arrow */
.arrow_box {
	position: relative;
	background: #88b7d5;
	border: 4px solid #c2e1f5;
  display: none;
  padding: 0.8em;
  text-align: justify;
  text-justify: inter-word;
}
.arrow_box:after, .arrow_box:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(136, 183, 213, 0);
	border-right-color: #88b7d5;
	border-width: 30px;
	margin-top: -30px;
}
.arrow_box:before {
	border-color: rgba(194, 225, 245, 0);
	border-right-color: #c2e1f5;
	border-width: 36px;
	margin-top: -36px;
}

/* Arrow Left */

.arrow_box_left {
	position: relative;
	background: #88b7d5;
	border: 4px solid #c2e1f5;
  display: none;
  padding: 0.8em;
  text-align: justify;
  text-justify: inter-word;
}

.arrow_box_left:after, .arrow_box_left:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_left:after {
	border-color: rgba(136, 183, 213, 0);
	border-left-color: #88b7d5;
	border-width: 30px;
	margin-top: -30px;
}
.arrow_box_left:before {
	border-color: rgba(194, 225, 245, 0);
	border-left-color: #c2e1f5;
	border-width: 36px;
	margin-top: -36px;
}

/* Arrow Down */

.arrow_box_down {
	position: relative;
  top: 410px;
  left: -90%;
  width: 500px;
	background: #88b7d5;
	border: 4px solid #c2e1f5;
  display: none;
  padding: 0.8em;
  text-align: justify;
  text-justify: inter-word;
}

.arrow_box_down:after, .arrow_box_down:before {
  bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_down:after {
	border-color: rgba(136, 183, 213, 0);
	border-bottom-color: #88b7d5;
	border-width: 30px;
	border-width: 30px;
	margin-left: -30px;
}
.arrow_box_down:before {
	border-color: rgba(194, 225, 245, 0);
	border-bottom-color: #c2e1f5;
	border-width: 36px;
border-width: 36px;
	margin-left: -36px;
}


/******  tooltip especies  ******/

#ttp-surfactantes {
  width: 250px;
  height: auto;
  left: 100px;
  z-index: 20000000;
  opacity: 0.8;
  top: 80px;
}


#ttp-surfactantes-sds {
  width: 250px;
  height: auto;
  left: 145px;
  z-index: 20000000;
  opacity: 0.8;
  top: 100px;
}


#ttp-monomero {
  width: 350px;
  height: auto;
  left: 10px;
  top: 257px;
  opacity: 0.8;
  z-index: 20000000
}

#ttp-monomero img {
    max-width: 100%;
    margin-bottom: 0.5em;
}

#ttp-dimero {
  width: 350px;
  height: auto;
  top: 350px;
  left: 0;
  opacity: 0.8;
  z-index: 20000000;
}

#ttp-dimero img {
    max-width: 100%;
    margin-bottom: 0.5em;
}

#ttp-premicelar {
  width: 350px;
  height: auto;
  top: 150px;
  left: 540px;
  opacity: 0.8;
  z-index: 20000000
}



#ttp-micela-ctab {
  width: 350px;
  height: auto;
  top: 205px;
  left: 0;
  opacity: 0.8;
  z-index: 20000000
}

#ttp-micela-sds {
  width: 350px;
  height: auto;
  top: 290px;
  left: 0;
  opacity: 0.8;
  z-index: 20000000
}

#ttp-monomero-mb_micela-sds {
  width: 250px;
  height: auto;
  top: 310px;
  left: 540px;
  opacity: 0.8;
  z-index: 20000000
}

#ttp-dimero-mb_micela-sds {
  width: 250px;
  height: auto;
  top: 430px;
  left: 540px;
  opacity: 0.8;
  z-index: 20000000
}



/*  Checkbox Button  */

div label input {
   margin-right:100px;
}


#ck-button {
    margin:4px;
    background-color:#EFEFEF;
    border-radius:4px;
    border:1px solid #D0D0D0;
    overflow:hidden;
    float:left;
}

#ck-button label {
    float:left;
    width:4.0em;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

#ck-button label span {
    text-align:center;
    padding: 11px 0px;
    display:block;
    border-radius:4px;
}

#ck-button label input {
    position:absolute;
    top:-20px;
}

#ck-button input:hover + span {
    background-color:#efE0E0;
    width: 45px;
    height: 45px;
}

#ck-button input:checked + span {
    background-color:#4d8693;
    color:#fff;
    width: 45px;
    height: 45px;
    -webkit-box-shadow: inset 3px 0px 15px 6px rgba(0,0,0,0.33);
    -moz-box-shadow: inset 3px 0px 15px 6px rgba(0,0,0,0.33);
    box-shadow: inset 3px 0px 15px 6px rgba(0,0,0,0.33);
}

#ck-button input:checked:hover + span {
    background-color:#4d8693;
    color:#fff;
    width: 45px;
    height: 45px;
}


/*  Radio Button  */

#rd-button {
  margin: 4px 0.8em 0 0;
  background: url(../img/unchecked.png) no-repeat;
  width: auto;
  height: 22px;
  /* background-color: #EFEFEF; */
  border-radius: 4px;
  /* border: 1px solid #D0D0D0; */
  overflow: hidden;
  float: left;
}

#rd-button label {
    float:left;
    width:4.0em;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

#rd-button label span {
    text-align:center;
    padding:20px 0px;
    display:block;
    border-radius:4px;
}

#rd-button label input {
    position:absolute;
    top:-20px;
}

#rd-button input:hover + span {

    width: 22px;
    height: 22px;
}

#rd-button input:checked + span {
    background: url(../img/checked.png);
    color:#fff;
    width: 22px;
    height: 22px;
}

#rd-button input:checked:hover + span {
    background: url(../img/checked.png);
    color:#fff;
    width: 22px;
    height: 22px;
}


.button-oa {
    display: inline-block;
    padding: 1em;
    background-color: #6b6c74;
    text-decoration: none;
    color: white;
    transiton:;
}

.button-oa:hover {
    display: inline-block;
    padding: 1em;
    background-color: #878892;
    text-decoration: none;
    color: white;
}

.equacao {
  /*margin: 37em 0 0 3.2em;*/
  width: 300px;
  height: 100px;
}

.equacao img {
  display:none;
  position: absolute
}

.titulo-area {
  font-family: Arial, sans-serif;
}

.subtitulo-area {
  font-family: Verdana, sans-serif;
}



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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.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 screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
