.detran-cabecalho{
    display: block;
}

.detran-cabecalho .navbar-header .detran-logo {
    background: url('/themes/sitedetran/images/logos/logo_Detran_RS.png') no-repeat;
    text-indent: -1000px;
    overflow: hidden;
    width: 145px;
    height: 39px;
    background-size: cover;
	margin-top:19px;
}
.detran-cabecalho .navbar-header a.detran-logogoverno {
    background: url('/themes/sitedetran/images/logos/seloGoverno.png') no-repeat;
    text-indent: -1000px;
    overflow: hidden;
	height:52px;
    width: 144px;
    background-size: cover;
    float: right;
    display: none;
	margin-top:5px;
}

.detran-cabecalho div.detran-logogoverno img{
    width: 210px;
}

.detran-cabecalho {
    border-color: #e7e7e7;
	border-bottom:6px solid #999999;
}


.detran-cabecalho.affix {
    background-color: #fff;
    z-index: 2001;
    position: initial;
    top:0px;
    width: 100%;
    -webkit-transition: top 0.3s linear;
    -moz-transition: top 0.3s linear;
    -o-transition: top 0.3s linear;
    transition: top 0.3s linear;
}


#DropDownRenavam .dropdown-menu, #DropDownConsultaPlaca .dropdown-menu, #DropDownConsultaCnh .dropdown-menu, .detran-buscar .dropdown-menu, .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu {
    background-color: #F2F2F2;
    border: 5px solid #F48E04;
    border-radius: 0;
    box-shadow: 1px 1px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding: 0;
    width: 100%;
	padding: 15px;
    min-width: 215px;
}
#DropDownRenavam, #DropDownConsultaPlaca, #DropDownConsultaCnh, #DropDownBuscar {
    margin: 2px;
}
#DropDownRenavam img, #DropDownConsultaPlaca img, #DropDownConsultaCnh img, #DropDownBuscar img {
    background: #F48E04;
    padding: 0 0 4px 0;
    margin: 0;
}
#DropDownRenavam img:hover, #DropDownConsultaPlaca img:hover, #DropDownConsultaCnh img:hover, #DropDownBuscar img:hover {
    background: #e26b02;
}

#DropDownRenavam a:active, #DropDownConsultaPlaca a:active, #DropDownConsultaCnh a:active, #DropDownBuscar a:active {
    background: #e26b02;
}
#DropDownRenavam .dropdown-menu button, #DropDownConsultaPlaca .dropdown-menu button, #DropDownConsultaCnh .dropdown-menu button, #DropDownConsultaCnh .dropdown-menu button, .detran-buscar .dropdown-menu button {
    background-color: #F48E04;
    border: 1px solid #F48E04;
    border-radius: 0;
    box-shadow: 1px 1px rgba(0, 0, 0, 0.7);
    font-size: 1.25em;
}
#DropDownRenavam .dropdown-menu button:hover, #DropDownConsultaPlaca .dropdown-menu button:hover, #DropDownConsultaCnh .dropdown-menu button:hover {
    background-color: #e26b02;
}
#DropDownRenavam .dropdown-menu h6, #DropDownConsultaPlaca .dropdown-menu h6, #DropDownConsultaCnh .dropdown-menu h6, .detran-buscar .dropdown-menu h6 {
    font-family: "PT Sans Narrow", sans-serif !important;
    font-stretch: condensed;
    font-size: 1em;
}
#DropDownRenavam .dropdown-menu form .form-group .form-control, #DropDownConsultaPlaca .dropdown-menu form .form-group .form-control, #DropDownConsultaCnh .dropdown-menu form .form-group .form-control, .detran-buscar .dropdown-menu form .form-group .form-control {
    border-radius: 0px;
    border: 0px none;
    background-color: #666666;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.075) inset;
    color: #FFFFFF;
    font-family: "PT Sans Narrow", sans-serif !important;
    font-size: 1em;
    font-stretch: condensed;
    font-weight: 400;
}

.detran-buscar .dropdown-menu form .form-group .form-control::-moz-placeholder {/* Mozilla Firefox 19+ */
	color:#FF6600;
	opacity:1;
}
.detran-buscar .dropdown-menu form .form-group .form-control::-webkit-input-placeholder {/* WebKit browsers */
	color:#FF6600;
	opacity:1;
}
.detran-buscar .dropdown-menu form .form-group .form-control:-ms-input-placeholder { /* Internet Explorer 10+ */
	color:#FF6600;
	opacity:1;
}

.detran-buscar .dropdown-menu button.btn-block {
    box-shadow: 0 0;
}
#busca-avancada {
    margin: 5px 0;
	display:none;
}
#busca-avancada a{
    font-size: 0.8571em;
	display:block !important;
	text-decoration:underline;
}
.btn-link {
    background: #F48E04;
    padding: 0 !important;
    margin:0 5px 5px 0 !important;
	border:none;
	width:54px;
}
.detran-nav-md-sd-xs li:last-child button {
	margin-right:0 !important;
}
.btn-link:hover, .btn-link:active, .btn-link:focus {
    background: #e26b02;
}
#blocoLinksTopo {
	font-size:0.8571em;
}
#blocoLinksTopo .nav > li > a {
    padding: 5px 7px;
    position: relative;
}
#blocoLinksTopo .nav-pills > li > a{
	border-radius:0;	
}

@media print {
}
@media (max-width: 767px) {
    .detran-cabecalho .detran-menuservicos a.dropdown-toggle {
        display: none;
    }
	.detran-container .container{
		padding-left:0 !important;
		padding-right:0 !important;
	}	
}
@media (max-width: 991px) {
	.detran-cabecalho {
	border:none;    
	margin-bottom:2px;
	}
	.row{
		margin-left:-5px;
		margin-right:-5px;
	}
    .detran-cabecalho .navbar-header{
        float: none;
		margin-bottom:13px;
		padding-left:10px;
		padding-right:10px;
    }

    .detran-cabecalho .detran-logo {
        width: 145px !important;
        height: 40px!important;
        margin-top: 10px !important;
    }
	.detran-cabecalho.affix{
       /* position: fixed;*/
		border-bottom:1px solid #999999;
    }

    .detran-cabecalho.affix .detran-logo {
        height: 40px !important;
        margin-top: 3px;
        width: 145px !important;
    }

    .detran-cabecalho .detran-logogoverno{
        display: none;
    }

    .detran-cabecalho .navbar-header .detran-logogoverno{
        display: block!important;
    }
	.detran-cabecalho .container .nav-pills > li + li {
		margin-left:0;
		}

    .detran-cabecalho .detran-nav-md-sd-xs{
        float: right;
    }
    .detran-cabecalho .detran-menuservicos{
        clear: both;
    }

    .detran-cabecalho .detran-menuservicos ul.navbar-nav{
        float: none!important;
        margin-right: 0px;
        margin-left: 0px;
    }
    .detran-cabecalho .detran-menuservicos ul.navbar-nav li{
        float: none!important;
    }
    .detran-cabecalho .detran-menuservicos .dropdown-menu{
        position: initial;
    }
    .detran-cabecalho .detran-menuservicos a.dropdown-toggle {
        display: none;
    }
    .detran-cabecalho .detran-menuservicos .container .navbar-nav > li > a {
        padding: 0 2px 0 0;
    }
    .detran-menuprincipal ul li a {
        font-size: 1.125em;
        font-family: 'Average Sans', sans-serif !important;
    }

    .container:before, .container:after {
        display: inline;
    }

    .detran-cabecalho .navbar-collapse {
        clear: both;
        width: 100%;
        padding: 0 0 0 10px;
    }

    .detran-cabecalho .detran-menuprincipal .navbar-nav{
        margin: 7.5px 5px;
        float: none;
		border-top:1px solid #cecece;
		border-bottom:1px solid #cecece;
    }

    .detran-cabecalho .detran-menuprincipal .navbar-nav>li {
        display: block;
        position: relative;
        float: none;
    }

    .detran-cabecalho .detran-menuprincipal .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }

    .detran-cabecalho .collapse{
        display: none!important;
    }

    .detran-cabecalho .collapse.in{
        display: table!important;

    }	
}

@media (max-width: 768px) {

}


@media screen and (min-width: 768px) {
}
@media (min-width: 992px) {

    .detran-cabecalho:not(.affix) .detran-menuprincipal .navbar-nav > li > a, .detran-cabecalho.affix .detran-menuprincipal .navbar-nav > li > a {
        color:#575858;
        font-size: 1.107em;
        font-family: 'Average Sans', sans-serif !important;
    }
	.detran-cabecalho:not(.affix) .detran-menuprincipal .navbar-nav > li > a:hover, .detran-cabecalho.affix .detran-menuprincipal .navbar-nav > li > a:hover {
        background-color: #565757;
        background:
            url(/themes/sitedetran/images/menu/seta-menu.png) center bottom no-repeat,  url(/themes/sitedetran/images/menu/moduloFundoMenu.png) left top repeat;
        color: rgba(255,255,255,1);
    }
    .detran-cabecalho:not(.affix) .detran-menuprincipal .navbar-nav > li > a:focus, .detran-cabecalho.affix .detran-menuprincipal .navbar-nav > li > a:focus {
        background-color: #565757;
        background:
            url(/themes/sitedetran/images/menu/seta-menu.png) center bottom no-repeat,  url(/themes/sitedetran/images/menu/moduloFundoMenu.png) left top repeat;
        color: rgba(255,255,255,1);
    }
    .detran-cabecalho.affix{
        position: fixed;
    }
    .detran-cabecalho.affix .detran-logo {
        height: 39px;
        margin-top: 8px;
        width: 145px;
    }
    .detran-cabecalho.affix .detran-menuservicos .container .navbar-nav > li > a {
        padding: 0 2px 0 0;
    }
    .detran-cabecalho.affix .detran-menuservicos a.dropdown-toggle span {
        display: none;
    }
    .detran-cabecalho.affix .detran-logogoverno {
        display: none!important;
    }
    .detran-cabecalho.affix .detran-container.container .container:before,  .detran-cabecalho.affix .detran-container.container .container:after {
        content:initial;
    }
    .detran-cabecalho.affix .detran-container.container .detran-buscar .dropdown-menu button.btn-block {
        box-shadow: 1px 1px rgba(0,0,0,0.7);
    }
	.detran-cabecalho:not(.affix) #busca-avancada {
		display:block;
	}
    .detran-cabecalho:not(.affix) {
        position: inherit;
        top:-68px;
        border-color: #ffffff
    }
    .detran-cabecalho:not(.affix) .detran-container {
        width: 100%;
        padding: 0px;
        margin: 0px;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos {
        height: 104px;
        background-image: url(/themes/sitedetran/images/menu/bg-menu.png);
        width: 100% !important;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos .container .nav {
        margin-top: 23px;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > li > a {
        background-color: #FB9F24;
        box-shadow: 2px 2px rgba(0,0,0,0.7);
        padding: 0px;
        font-size: 13px;
        font-family: "PT Sans Narrow", sans-serif;
		letter-spacing:0px;
        font-stretch: condensed;
        text-transform: uppercase;
        font-weight: bold;
        color: white;
        width: 205px;
        height: 49px;
    }
	.detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > #DropDownRenavam > a {
		width:220px;
	}
	.detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > #DropDownConsultaPlaca > a {
		width:227px;		
	}
    .detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > li > a > span {
        margin: 5px 4px 5px 5px;
        text-align: center;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > li > a:hover {
        background-color: #F48E04;
        box-shadow: 2px 2px rgba(0,0,0,0.7);
        padding: 0px;
        color: white;
    }
	.detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > li > a:active {
		box-shadow:none;
	}
	.detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > li > a:focus {
		background-color: #F48E04;
		box-shadow:none;
	}
    .detran-cabecalho:not(.affix) #DropDownRenavam, .detran-cabecalho:not(.affix) #DropDownConsultaPlaca, .detran-cabecalho:not(.affix) #DropDownConsultaCnh {
        margin-right: 12px;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos ul.navbar-right {
        float: none!important;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown {
        float: right!important;
        margin: 2px 0 0 0;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown a {
        display: none!important;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu {
        background: none repeat scroll 0 0 #F48E04 !important;
        border: medium none;
        border-radius: 0 !important;
        box-shadow: 2px 2px rgba(0, 0, 0, 0.7);
        display: block;
        float: none;
        left: auto;
        list-style: none outside none;
        margin: 0;
        padding: 3px !important;
        position: static;
        top: auto;
        width: 257px;
        z-index: auto;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu .btn-block {
        display: inline-block;
        width: auto;
        padding-right: 12px;
        padding-left: 12px;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu form .form-group {
        display: inline-block;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: middle;
		width:280px;
		width: -webkit-calc(100% - 69px);
		width: -moz-calc(100% - 69px);
        width: calc(100% - 69px);
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu form .form-group .form-control {
        background-color: #FFFFFF;
        background-image: none;
        border: 1px solid #F48E04;
        border-radius: 4px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
        color: #555555;
        display: block;
        font-size: 14px;
        height: 43px;
        line-height: 1.42857;
        border-radius: 0px !important;
        margin-left: 0px;
        padding-left: 12px;
        transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
        vertical-align: middle;
        width: 102%;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu form button {
        background: url(/themes/sitedetran/images/icones_servicos/busca_transp.png) no-repeat scroll left top rgba(0, 0, 0, 0);
        border: 2px solid #FFFFFF !important;
        border-radius: 0 !important;
        height: 41px;
        width: 65px !important;
        color: rgba(0,0,0,0);
        font-size: 0px !important;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu form button:hover {
        background: #e26b02 url(/themes/sitedetran/images/icones_servicos/busca_transp.png) left top no-repeat;
    }
    .navbar-nav>li>.dropdown-menu {
        background: #ffffff !important;
        border: solid 3px #CCCCCC;
        padding: 10px;
    }
    .dropdown-menu>li>a {
        border-bottom: solid 1px #e8e7e7;
        padding: 8px 8px 8px 20px;
        background: #FFF url(/themes/sitedetran/images/menu/bolletOut.png) 6px 12px no-repeat !important;
    }
    .dropdown-menu>li>a:hover {
        background: #e8e7e7 url(/themes/sitedetran/images/menu/bolletOver.png) 6px 12px no-repeat !important;
    }
	.detran-menuprincipal {
		margin-top:15px;
	}
	.detran-cabecalho.affix .detran-menuprincipal {
		margin-top:3px;
	}
	#blocoLinksTopo {
	margin:0 0 3px 30px;
	}
/*    .detran-menuprincipal .open a {
        background:
            url(/themes/sitedetran/images/menu/seta-menuOver.png) center bottom no-repeat,
            url(/themes/sitedetran/images/menu/moduloFundoMenuAtivo.png);
    }*/
}

@media (min-width: 1200px) {
    .detran-cabecalho .navbar-header .detran-logo {
        width: 230px;
        height: 64px;
		margin-top:30px;
    }
	.detran-cabecalho.affix .navbar-header .detran-logo {
		margin:10px 0;
    }

    .detran-cabecalho div.detran-logogoverno img{
        width: 222px;
		margin-top:30px;
		margin-left:10px;
    }
	.detran-cabecalho.affix .detran-menuservicos {
		margin-top:20px;
	}
    .detran-cabecalho:not(.affix) .detran-menuservicos li.detran-buscar.dropdown .dropdown-menu {
        width: 353px;
    }

    .detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > li > a, .detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > #DropDownRenavam > a{
        font-size: 16px;
        width: 250px;
    }
    .detran-cabecalho:not(.affix) .detran-menuservicos .container .navbar-nav > #DropDownConsultaPlaca > a{
        width: 256px;
    }	
	
	.detran-menuprincipal {
		margin-top:40px;
	}
	.detran-cabecalho.affix .detran-menuprincipal {
		margin-top:20px;
	}

    .detran-cabecalho:not(.affix) .detran-menuprincipal .navbar-nav > li > a, .detran-cabecalho.affix .detran-menuprincipal .navbar-nav > li > a {
        font-size: 1.2857em;
    }
	#blocoLinksTopo {	
	margin:0 0 3px 47px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.detran-container .container{
		padding-left:20px !important;
		padding-right:20px !important;
	}		
}
@media (min-width: 992px) and (max-width: 1199px) {
}
@media (min-width: 768px) and (max-width: 991px) {
}