/*! HTML5 Boilerplate v5.2.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;
}
body{
    font-family: 'Titillium Web', sans-serif !important;
    font-size: 15px !important;
}

.table-hover>tbody>tr:hover>td, .table-hover>tbody>tr:hover>th {
    background-color: #E0E0DD;
    color:#000000;
}

.div-detalhes{
    display: block;
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #EEE;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/*
 * 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;
}
a,a:focus{
    text-decoration: none !important;
}
/*
 * 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;
}

/* ==========================================================================
   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;
}

::-webkit-input-placeholder {
   font-style: italic;
}

:-moz-placeholder {
   font-style: italic;
}

::-moz-placeholder {
   font-style: italic;
}

:-ms-input-placeholder {  
   font-style: italic;
}
/*
 * 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;
}

/* ==========================================================================
   Custom customization
   ========================================================================== */
#masthead{
    background-color: #d9d9d9;
}
.site-title{
    margin-top: 10px;
}
.logo-index{
    margin: 30px 0;
}
.busca-topo{
    padding-top: 5px !important;
}
.busca-topo input[type="text"]{
    width: 260px;
    float: left;
}
.logout{
    color: #b70000;
    display: inline-block;
    font-weight: bold;
    float: right;
}
#content{
    padding-top: 20px;
}
#my-tab-content{
    border-top: 20px solid #d9d9d9;
    border-left: 20px solid #d9d9d9;
    border-right: 20px solid #d9d9d9;
    background-color: #eeeeee;
    padding-bottom: 30px;
}
.busca-bottom{
    margin-top: 20px;
    margin-bottom: 20px;
}
.busca-fields{
    margin-right: 8px;
}
.busca-fields select{
    min-width: 230px;
}
.first-item{
}
.user-logged{
    text-align: right;
    padding-top: 30px;
}
th{
    text-align: center !important;
    background-color: #f8f8f8 !important;
}
td{
    text-align: center !important;
}
.content-login {
    background-color: #f8f8f8;
}
.form-login{
    margin:30px 0;
}
.form-login a{
    color: #000;
}
.form-login form{    
    width: 100%;
    max-width: 420px;
    padding: 50px;
    background-color: #fff;    
}
.form-login button[type="submit"]{
    color: #000;
    font-weight: bold;
}
#login::-webkit-input-placeholder , #senha::-webkit-input-placeholder {
   font-style: normal;
   font-weight: bold;
   color: #000;
}

#login:-moz-placeholder,#senha:-moz-placeholder {
   font-style: normal;
   font-weight: bold;
   color: #000;
}

#login::-moz-placeholder,#senha::-moz-placeholder {
   font-style: normal;
   font-weight: bold;
   color: #000;
}

#login:-ms-input-placeholder,#senha:-ms-input-placeholder {  
   font-style: normal;
   font-weight: bold;
   color: #000;
}
#colophon {
    background-color: #d9d9d9;
    padding: 10px 0;
}
.grafico-wrapper{
	background-color: #fff;
	position: relative;
	display: block;
	width: 100%;
	overflow-x: auto;
}
#piechart{
    margin: 0 auto;
    margin-top: 30px;
    width:100%;
    height:100%;
}
.detalhes-left{
  padding: 30px 30px 0 15px;
}
.detalhes-right{
  padding-top: 30px;
}
.form-update-simulacao{
  margin-bottom:30px !important;
  padding:10px 0 !important;
}
.form-update-simulacao input[type=text]{
  min-width: 240px;
}
.historico-wrapper{
  border: 1px solid #ccc;
  padding: 5px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.historico-wrapper .historico-item:last-child{
  border-bottom: 0;
}
.historico-item{
  border-bottom: 1px solid #ccc;
  padding: 15px;
}
#box-toggle .tgl {
  margin:30px 0;
}
#box-toggle span {
  display:block;
  float: left;
  cursor:pointer;
  font-weight:bold;
  margin-right: 5px;
  background-color: #d9d9d9;
  padding: 0px 5px;
  border-radius: 2px;
  border: 1px solid #ccc;
  width: 20px;
}
.detalhes-wrapper{
  background-color: #f8f8f8;
  overflow: auto;
  margin-left: 15px;
  margin-right: 15px;
}
#chart {
  margin: 0 auto;
}
#masthead-simu{
    padding: 30px 0;
}
#colophon-simu {
    background-color: #e6e7e8;
    padding: 30px 0;
}
.site-info-simu .ctt-info {
    display: inline-block;
    float: right;
    margin-top: 25px;
}
.site-info-simu a {
    color: #808184 !important;
    display: inline-block;
    float: left;
    margin-right: 20px;
}
.site-info-simu p {
    display: inline-block;
}
#content-simu{
    /*padding: 50px 0;*/
    background: url('')center bottom no-repeat;
}
#content-simu h1{
    margin-top: 0;
    font-weight: 700;
}
.errop{
    color: #0088cf;
}
.sucessop,.txt-destaque{
    color: #37b34a;
}
#table-simulacao{
    background-color: #fff;
}
#table-simulacao th{
    background-color: #007e41 !important;
    color: #fff;
    position: relative;
}
#table-simulacoes th{
	position: relative;
	min-width: 100px;
}
span.reorder{
  display: inline-block;
  background: url('../img/reordenar.gif') center bottom no-repeat;
  width: 21px;
  height: 9px;
  position: absolute;
  right: 0;
  cursor: pointer;
}
span.reorder_black{
  display: inline-block;
  background: url('../img/reordenar_black.gif') center bottom no-repeat;
  width: 21px;
  height: 9px;
  position: absolute;
  right: 0;
  cursor: pointer;
}
#table-simulacao td{
    font-weight: bold;
    color: #007e41;
}
#checkAll{
    margin: 0 auto;
}
.text-info{
    color: #0088cf;
    font-weight: bold;
}
.voltar-home{
    background-color: #999;
    color: #fff;
    border: 0;
    float: right;
    padding: 5px 10px;
    margin-right: 20px;
}
.btn-confirmar{
    background-color: #007e41;
    color: #fff;
    border: 0;
    float: right;
    padding: 5px 10px;
}
@media screen and (max-width: 767px) {
    #my-tab-content{
        padding: 20px;
    }
    #masthead {
        padding: 20px;
    }
    .user-logged{
        text-align: left;
        padding-top: 0;
    }
    .logout{
        float: none;
    }
}







/* ==========================================================================
   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 {
        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;
    }
}
