﻿/*
Theme Name: Template padrao para sistemas web da SGI
Theme URI: https://servicos.efazenda.ms.gov.br/templates/bootstrap-sgi/
Description: Template padrao para sistema web da SGI - versao 3 - fevereiro de 2013
Author: Percival Adriano Goncalves
twitter:site: @perciag
Version: 3.0
*/

/* CSS Document */
html, body {
    height: 100%;
}

#corpo {
    min-height: 100%;
}

#main {
    padding-top: 1px;
    overflow: inherit;
    padding-bottom: 130px; /* this needs to be bigger than footer height*/
}

/*------------------------------------------
	Footer
------------------------------------------*/
.footer {
    position: relative;
    background: #004F9F;
    margin-top: -90px; /* negative value of footer height */
    height: 110px;
    clear: both;
    padding-top: 10px;
}
.footer img {
    width: 300px;
    height: 70px;
    margin: 0 auto;
    display: block;
}
.footer p {
    color: #fff;
    margin-top: 10px;
    text-align: center;
    font-size: x-small;
}


/* Lastly, apply responsive CSS fixes as necessary */
@media ( max-width : 767px) {
    footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body {
        padding-top: 0;
    }
}

@media ( max-width : 480px) { /* Remove padding above jumbotron */
    body {
        padding-top: 0;
    }
}

@media ( max-width : 979px) { /* Remove padding above jumbotron */
    body {
        padding-top: 0;
    }

    .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {
        color: #fff;
    }
}

/* Footer
-------------------------------------------------- */
footer {
    /*margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;*/
}

    footer p {
        margin-bottom: 0;
        color: #555;
    }
/* Tweak navbar brand link to be super sleek
-------------------------------------------------- */
.navbar-fixed-top .brand {
    padding-right: 5px;
    padding-left: 0;
    margin-left: 5px;
    float: left;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
}

    .navbar-fixed-top .brand:hover {
        text-decoration: none;
    }

/* Specific jumbotrons
------------------------- */
/* supporting docs pages */
.subhead {
    padding-bottom: 0;
    margin-bottom: 9px;
}

    .subhead h1 {
        font-size: 54px;
    }

/* Subnav */
.subnav {
    width: 100%;
    height: 36px;
    background-color: #ddebf8; /* Old browsers */
    background-repeat: repeat-x; /* Repeat the gradient */
    background-image: -moz-linear-gradient(top, #ddebf8 0%, #eaf3fb 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddebf8), color-stop(100%,#eaf3fb)); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #ddebf8 0%,#eaf3fb 100%); /* Chrome 10+,Safari 5.1+ */
    background-image: -ms-linear-gradient(top, #ddebf8 0%,#eaf3fb 100%); /* IE10+ */
    background-image: -o-linear-gradient(top, #ddebf8 0%,#eaf3fb 100%); /* Opera 11.10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddebf8', endColorstr='#eaf3fb',GradientType=0 ); /* IE6-9 */
    background-image: linear-gradient(top, #ddebf8 0%,#eaf3fb 100%); /* W3C */
    border: 1px solid #77D5F7;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

    .subnav .nav {
        margin-bottom: 0;
    }

        .subnav .nav > li > a {
            margin: 0;
            padding-top: 11px;
            padding-bottom: 11px;
            border-left: 1px solid #f5f5f5;
            border-right: 1px solid #e5e5e5;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            border-radius: 0;
        }

        .subnav .nav > .active > a,
        .subnav .nav > .active > a:hover {
            padding-left: 13px;
            color: #777;
            background-color: #e9e9e9;
            border-right-color: #ddd;
            border-left: 0;
            -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
            -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
            box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
        }

            .subnav .nav > .active > a .caret,
            .subnav .nav > .active > a:hover .caret {
                border-top-color: #777;
            }

        .subnav .nav > li:first-child > a,
        .subnav .nav > li:first-child > a:hover {
            border-left: 0;
            padding-left: 12px;
            -webkit-border-radius: 4px 0 0 4px;
            -moz-border-radius: 4px 0 0 4px;
            border-radius: 4px 0 0 4px;
        }

        .subnav .nav > li:last-child > a {
            border-right: 0;
        }

    .subnav .dropdown-menu {
        -webkit-border-radius: 0 0 4px 4px;
        -moz-border-radius: 0 0 4px 4px;
        border-radius: 0 0 4px 4px;
    }

/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
@media (min-width: 980px) {
    .subnav-fixed {
        position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
        border-color: #d5d5d5;
        border-width: 0 0 1px; /* drop the border on the fixed edges */
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
        -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
        box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
    }

        .subnav-fixed .nav {
            width: 938px;
            margin: 0 auto;
            padding: 0 1px;
        }

    .subnav .nav > li:first-child > a,
    .subnav .nav > li:first-child > a:hover {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }
}
/*table elements*/
/*table {
	margin: 2px 0 0 0;
	border: 1px solid #77D5F7;
	border-collapse: collapse;
	width: 100%
}
table table {
	margin: -5px 0;
	border: 0px solid #77D5F7;
	width: 100%;
}
table td,table th {
	padding: 2px;
	border: 1px solid #77D5F7;
}
table td form {
	text-align:left;
	vertical-align: middle;
	margin: 0px;
}
table th {
	font-size: 0.9em;
	text-align: left;
	font-weight: bold;
color: #05419B;
}
table thead {
	font-weight: bold;
	font-style: italic;
	background-color: #DAEAF8;
}
table tr .footer {
	background-color: #fff;
}*/

.navbar-inverse-sgi .navbar-inner {
    background-color: #004F9F;
    background-image: -moz-linear-gradient(top, #004F9F, #004F9F);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#004F9F), to(#004F9F));
    background-image: -webkit-linear-gradient(top, #004F9F, #004F9F);
    background-image: -o-linear-gradient(top, #004F9F, #004F9F);
    background-image: linear-gradient(to bottom, #004F9F, #004F9F);
    background-repeat: repeat-x;
    border-color: #004F9F;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004F9F', endColorstr='#004F9F', GradientType=0);
}

.navbar-inverse-sgi .brand,
.navbar-inverse-sgi .nav > li > a {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}


.logo {
    float: left;
    margin: 0 2px 0 0;
    background-image: url(https://servicos.efazenda.ms.gov.br/templates/images/logoms.png);
    width: 33px;
    height: 38px;
    border: 1px solid #004F9F;
}

.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
    color: #fff;
    text-shadow: #183864 0 3px 6px;
    border: 0;
    outline: 0;
    cursor: pointer;
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    color: #fff;
    background-color: #004F9F;
    text-shadow: #004F9F 0 2px 5px;
    -webkit-box-shadow: inset 0 4px 8px #004F9F;
    box-shadow: inset 0 4px 8px #004F9F;
    border: 1px solid #004F9F;
    border-bottom: 0;
    border-top: 0;
}

.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
    color: #fff;
    background-color: #004F9F;
}

/*Custom Grid*/

.HeadGrid {
    background: #004F9F;
    color: #ffffff;
}

.SubHeadGrid {
    background: #FFFFFF;
    color: #004F9F;
}

table{
    border-color: whitesmoke;
}