﻿body {
    padding-top: 50px;
    padding-bottom: 170px;
}

* {
    font-family: 'Amil Typeface Regular', sans-serif;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.pt20 {
    padding-top: 20px !important;
}

.btn {
    min-width: 40px !important;
}

.nopad-sides {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: unset;
    outline-offset: unset;
    /*background: unset !important;*/
}

.not100 {

    width:unset !important;
}

dialog::backdrop {
    background: rgb(0, 0, 0, 0,60) !important;
}

.mtop4 {
    margin-top: 4px;
}

.mtop20 {
    margin-top: 20px;
}

.gray-box {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    border: 1px #ccc solid;
    word-break: break-word;
}

.navbar-brand {
    padding: 15px 0 15px 0;
}

.badge-comunicado {
    background-color: red !important;
}

.naolido td {
    font-weight: bold;
}

.footer-menu-list li a {
    font-size: 1rem;
    font-weight: bold;
    list-style-type: none;
    padding: 0.313rem;
    color: #00672c;
    display: inline-block;
}

.bbgreen {    
    border-bottom: 3px solid #00672c;

}

.nav-path {
    display: inline-block;
    padding-top: 10px;
}

a:hover, a:active, a:focus {
    outline: 0;
}

h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: "Amil Typeface Regular", sans-serif;
}

    a, a:visited {
        color: #00672c;
        cursor: pointer;
        text-decoration: none;
    }

        a:hover {
            color: #00883a;
            text-decoration: none;
        }

.btn-primary, .btn-primary:visited, .btn-primary:hover, .btn-primary:active, .btn-primary:active:focus, .btn-primary:active:hover {
    color: #f5f5f5 !important;
    cursor: pointer;
    text-decoration: none;
}

.btn-default, .btn-default:visited, .btn-default:hover, .btn-default:active, .btn-default:active:focus, .btn-default:active:hover {
    color: #00672c !important;
    cursor: pointer;
    text-decoration: none;
}

.validation-summary-errors ul {
    padding-left: 0;
    list-style: none;
    font-weight: bold;
}

body.loading {
    overflow: hidden;
}

    body.loading .waiting {
        display: block;
    }

.waiting {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .1 );
    overflow-y: hidden;
    cursor: wait;
}

.navdata {
    width:100%;
    max-width:400px;    
}

    .navdata-texto {
        font-size: 1.3em !important;
        color: #00672c;
    }

.upper {
    text-transform: uppercase;
}

.lower {
    text-transform: lowercase;
}

.btn-lg, .btn-group-lg > .btn {
    padding: 6px;
}

.link {
    cursor: pointer;
}

.red-red {
    color: #d83030;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.mw200 {
    min-width: 200px !important;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #777;
    border-color: #fff
}

.navbar {
    background-color: white;
}

.navbar-toggle {
    color: black;
}

.pad10 {
    padding: 10px;
}

.img-guia {
    max-width: 400px;
    padding-top: 20px;
}

.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.titulo {
    color: #00672c;
}

.form-control-inline {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

.form-control:focus {
    border-color: #999;
    outline: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.input-lg {
    line-height:30px;
}

input[type="radio"], input[type="checkbox"] {
    vertical-align: middle !important;
    height: 20px;
    width: 20px;
    margin: 0 !important;
    margin-right: 5px !important;
    accent-color: #00672c;
    background-color: #00672c !important;
}

    input[type="radio"]:active, input[type="checkbox"]:active {
        accent-color: #00672c !important;
        background-color: #00672c !important;
    }

select, input, .form-control {
    height: 40px;
}

.btn {
    min-height: 40px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    line-height: 28px;
}

    .btn.btn-xs {
        min-height: 20px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        line-height: 30px !important;
    }

td {
    line-height: 25px;
}

.card {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 1.4em;
    color: #333;
}

.list-group a, .list-group-item a:visited {
    color: #00672c !important;
}

.nav-path {
    font-size: 1.2em;
}


.carteirinha-container {
    min-height: 250px;
    max-width: 400px;
    min-width: 300px;
    width: 100%;
    background-image: linear-gradient(to right, #F29E5E, #FC3E02);
    border-radius: 5px;
    padding: 10px;
    color: #000;
    position: relative;
    border: 1px #999 solid;
    box-shadow: 0 4px 6px 1px #bbb;
}

    .carteirinha-container img {
        max-width: 200px;
        height: 100px;
    }

.carteirinha-topo {
    font-size: 1.1em;
    width: 100%;
    font-weight: bold;
}

.carteirinha-detalhe {
    font-size: 0.9em;
    width: 100%;
}

    .carteirinha-detalhe table tr td {
        border-top: none !important;
        padding: 2px;
        padding-top: 6px;
        margin-bottom: 2px !important;
    }

.carteirinha-container .table {
    margin-bottom: 2px;
}

.selo-ans {
    position: absolute;
    top: 20px;
    right: 10px;
    height: 80px;
    width: 15px;
    background-color: #222;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #fff;
    font-size: 0.6em;
    font-weight: bold;
    padding: 3px;
    text-align: center;
    border: 1px #ccc medium;
    border-radius: 2px;
}




input:not([type="radio"]), select, textarea {
    max-width: unset;
    padding: 0.5rem;
    /*outline-width: 0.2rem;
    outline-style: solid;
    outline-color: #00672c;*/
    border: 0.16rem solid #00672c !important;
    outline: unset;
}

.btn, input, select, textarea {
    border-radius: 0.3rem;
}

    input:hover, select:hover, textarea:hover, input:active, select:active, textarea:active, input:focus, select:focus, textarea:focus {
        border: unset;
        outline: unset;
        /*outline-color: #00883a;
        outline: 0.1rem solid #00883a;
        outline-width: 0.1rem;
        outline-style: solid;*/
    }

.icon-bar {
    color: #00672c;
}

dialog {
    border-radius: 0.5rem;
    border-color: #00672c;
    box-shadow: rgba(0,0,0,0.05) 8px 8px;
}

/*remove top border 1st row of a .table*/
.table > tbody > tr:first-child > td {
    border-top: none;
}



.green {
    color: #00672c;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #00672c;
    border-color: #00672c;
}

.btn-primary {
    background-color: #00672c !important;
    color: white;
}

.btn {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 0.3rem;
    border-radius: 0.3rem;
    padding: 0.5rem;
    outline: unset;
    font-family: inherit;
    align-items: center;
}

.btn-primary:hover, .btn-primary:active:focus, .btn-primary:active:hover {
    background-color: #00883a !important;
}

h1 {
    font-size: 2.5rem;
    line-height: 2.7rem;
    margin-bottom: 2.7rem;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f0d59;
}

h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: "Amil Typeface Regular", sans-serif;
}

.table-agendas {
    margin-top: 20px;
    background-color: #f5f5f5;
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius:4px;
}


@font-face {
    font-family: 'Amil Typeface Regular';
    src: url('../fonts/AmilTypeface-Regular.woff2') format('woff2'), url('../fonts/AmilTypeface-Regular.woff') format('woff'), url('../fonts/AmilTypeface-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 768px) {
    .img-guia {
        max-width: 100%;
    }
}

@media(max-width: 374px) {
    .navbar-brand img {
        max-width: 170px;
    }



    .card {        
        border-radius: 5px;
        padding: 5px;
        box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
        margin-top: 20px;
        margin-right: 0px !important;
        margin-left: 0px !important;
        font-size: 1.2em;
        color: #333;
    }

}

@media screen and (max-width: 420px) {
    .navdata-texto {
        font-size: 1.1em !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 460px) {
    .hidden-tiny {
        display: none;
    }

    


}

@media(min-width: 460px) {
    dialog {
        padding:40px;
    }
}


