/* 
===   INDICE   ====

#0. Fixs 2020
#1. Override Sharepoint / Bootstrap
#2. General Doc Styles / Buddy Classes / Override Bootstrap
#3. Buttons and Elements
#4. Compound Elements and Webparts / Header / Footer (Modular)
#5. Cross Page Styles
#6. Page Specific
#7. Media Queries

=== */


/*=============================  ###################################  =============================*/
/*=============================             #0. Fixs 2020             =============================*/
/*=============================  ###################################  =============================*/

.ms-rtestate-write {border: 1px solid #aaa;}
.ms-core-webpartadder {z-index: 1000;}


/*=============================  ###################################  =============================*/
/*=============================  #1. Override Sharepoint / Bootstrap  =============================*/
/*=============================  ###################################  =============================*/


* { box-sizing: content-box; -moz-box-sizing: content-box; }
#s4-workspace,
#s4-bodyContainer { padding: 0; }

#s4-workspace * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }

.blank-wp { padding: 0; }
.welcome-content { display: none; }
div.article,
div.welcome { padding: 0px; }

.cell-margin { margin: 0; }

.ms-webpartzone-cell { margin: 0; }

input[type=button],
input[type=reset],
input[type=submit],
button {
min-width: 0;
border: none;
background-color: transparent;
margin-left: 0;
font-family: "Roboto", Arial, sans-serif;
font-size: 14px;
}


input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover, button:hover {
border-color: none !important;
background-color: transparent;
}




.ms-rtestate-field h1, h1.ms-rteElement-H1, .ms-rtestate-field h2, h2.ms-rteElement-H2 {
line-height: 1.4;
color: #0072C6;
}

.ms-rtestate-field p, p.ms-rteElement-P {
margin: 0px 0px 10px 0px;
line-height: 1.6;
}

.error-page .error-content { display: block; width: 100%; max-width: 1170px; margin: 100px auto; padding-bottom: 200px; background: url(../Images/ripple.png) bottom right no-repeat; }
.error-page .error-content h2 { margin: 0 50% 0 0; }
.error-page .error-content p { margin: 0 50% 0 0; font-size: 16px; color: #4B5F70; }



/*=============================  ###########################################################  =============================*/
/*=============================  #2. General Doc Styles / Buddy Classes / Override Bootstrap  =============================*/
/*=============================  #######################""""""""""""""""""""""""""""""""""""  =============================*/



/* GENERAL */

#s4-workspace { background: #fff; font-family: "Roboto", Arial, sans-serif; }

.wrapper { position: relative; }

::-moz-selection { color: #fff; background: #1F4769; }
::selection { color: #fff; background: #1F4769; }

* { outline: none !important; }

a,
a:hover { text-decoration: none; }

form { margin: 0; }

/* BUDDY CLASSES */
.skewright {
transform: skewx(-27deg);
-webkit-transform: skewx(-27deg);
-moz-transform: skewx(-27deg);
}
.skewleft {
transform: skewx(27deg);
-webkit-transform: skewx(27deg);
-moz-transform: skewx(27deg);
}
.fleft { float: left; }
.fright { float: right; }
.clear { clear: both; }
.displaynone { display: none; }

/* COLORS */
.azul { color: #1D344C; }
.vermelho { color: #B70600; }







/*=============================  ########################  =============================*/
/*=============================  #3. Buttons and Elements  =============================*/
/*=============================  ########################  =============================*/

/* BUTTONS */
.setaesquerda { display: block; width: 31px; height: 48px; background: url(../Images/setaesquerda.png); }
.setadireita { display: block; width: 31px; height: 48px; background: url(../Images/setadireita.png); }

.carseta { display: block; width: 31px; height: 48px; -webkit-backface-visibility: hidden; transform: translateZ(0) scale(1.0, 1.0); -webkit-transform: translateZ(0) scale(1.0, 1.0); }

.carseta .antenna { position: absolute; background: #FFD300; width: 32px; height: 9px; }
.carseta .antenna.up { transform: rotate(-45deg); -webkit-transform: rotate(-45deg); top: 11px; left: 0; } 
.carseta .antenna.down { transform: rotate(45deg); -webkit-transform: rotate(45deg); bottom: 11px; left: 0; }  

.carseta.turn {
transform: rotate(180deg) translateZ(0) scale(1.0, 1.0);
-webkit-transform: rotate(180deg) translateZ(0) scale(1.0, 1.0);
}




.gov { width: 110px; height: 36px; background: url(../Images/MainSprites.png) 0 0 no-repeat; opacity: .3; }
.marinhabtn { width: 36px; height: 36px; background: url(../Images/MainSprites.png) 0 -50px no-repeat; opacity: .3; }
.btnfb { width: 32px; height: 32px; background: url(../Images/MainSprites.png) 0 -100px no-repeat; opacity: .3; }
.btntwitter { width: 31px; height: 26px; background: url(../Images/MainSprites.png) 0 -150px no-repeat; opacity: .3; }

.gov:hover,
.marinhabtn:hover,
.btnfb:hover,
.btntwitter:hover { opacity: .7; transition: opacity .3s; }

/*
.round.rmar { background: url(../Images/roundicon-marinha.png) 0 0; }
.round.rgov { background: url(../Images/roundicon-gov.png) 0 0; }
.round.rmedia { background: url(../Images/roundicon-media.png) 0 0; }
.round.rlinks { background: url(../Images/roundicon-atalhos.png) 0 0; }

.round.rmar:hover,
.round.rmar:active,
.round.rgov:hover,
.round.rgov:active,
.round.rlinks:hover,
.round.rmedia:hover,
.round.rmedia:active,
.round.rlinks.on { background-position: 0 -50px; }
*/


.topmar { display: block; width: 40px; height: 40px; background: url(../Images/MainSprites.png) -200px 0 no-repeat; }
.topgov { display: block; width: 25px; height: 35px; background: url(../Images/MainSprites.png) -200px -50px no-repeat; }


.lupa { width: 27px; height: 27px; background: url(../Images/MainSprites.png) -120px -60px no-repeat; border: 0; outline: 0; }
.lupa:hover,
.lupa:active, 
.lupa:focus { background-position: -120px -100px; }

.rsocial { background: url(../Images/MainSprites.png) no-repeat; width: 30px; height: 30px; }
.rsocial.fb { background-position: 0 -190px; }
.rsocial.fb:hover,
.rsocial.fb:active{ background-position: 0 -240px; }

.rsocial.tw { background-position: -40px -190px; }
.rsocial.tw:hover,
.rsocial.tw:active{ background-position: -40px -240px; }



.marker { background: url(../Images/MainSprites.png) -180px -120px no-repeat; width: 21px; height: 37px; }
.marker:hover,
.marker.active { background-position: -210px -120px; }



/* baloes mau tempo */
.baloes .bl { background: url(../Images/baloes-sprites.png) no-repeat; width: 40px; height: 60px; }

.baloes .bl.dia1 { background-position: 0 0; }
.baloes .bl.dia2 { background-position: 0 -60px; }
.baloes .bl.dia3 { background-position: 0 -120px; }
.baloes .bl.dia4 { background-position: 0 -180px; }
.baloes .bl.dia5 { background-position: 0 -240px; }
.baloes .bl.dia6 { background-position: 0 -300px; }
.baloes .bl.dia7 { background-position: 0 -360px; }
.baloes .bl.dia8 { background-position: 0 -420px; }
.baloes .bl.dia9 { background-position: 0 -480px; }

.baloes .bl.noite1 { background-position: -40px 0; }
.baloes .bl.noite2 { background-position: -40px -60px; }
.baloes .bl.noite3 { background-position: -40px -120px; }
.baloes .bl.noite4 { background-position: -40px -180px; }
.baloes .bl.noite5 { background-position: -40px -240px; }
.baloes .bl.noite6 { background-position: -40px -300px; }
.baloes .bl.noite7 { background-position: -40px -360px; }
.baloes .bl.noite8 { background-position: -40px -420px; }
.baloes .bl.noite9 { background-position: -40px -480px; }



.gifloader { position: relative; display: block; padding: 10px 0; }
.gifloader img { position: relative; display: block; width: 64px; height: 64px; margin: 0 auto; }
.gifloader.hide { display: none; }








/*=============================  ##############################################################  =============================*/
/*=============================  #4. Compound Elements and Webparts / Header / Footer (Modular)  =============================*/
/*=============================  ##############################################################  =============================*/


/* TABELAS */
.table > thead > tr > th { vertical-align: middle; border-bottom: 1px solid #DDD; }
.table th { color: #fff; background: #275378; font-weight: 400; }

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td, .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td, .table-bordered { border-color: #386F9D; }







.nojavascript { padding: 1% 20%; border-bottom: 5px solid #790300; background: #B70600; color: #fff; font-size: 20px; font-weight: bold; }
.nojavascript a { color: gold; text-decoration: underline; }



/* HEADER */
.mobilemenu { display: none; }


.header { position: relative; z-index: 100; background: #fff; }
.header .top { }
.header .top .logo { margin: 0; float: left; }
.header .top .logo span { color: #263138; font-size: 20px; font-weight: 700; margin-left: -12px; text-decoration: none; }
.header .topatalhos { float: right; margin-top: 15px; }
.header .topatalhos .emergencias { float: left; padding: 8px 13px; border: 1px solid #ddd; }
.header .topatalhos .emergencias h6 { margin: 3px 0; font-size: 13px; }
.header .topatalhos .emergencias h6.comar { color: #B70600; float: right; }
.header .topatalhos .emergencias h6.euro { color: #19334B; float: left; line-height: 1.3; }
.header .topatalhos .emergencias h6.comar span { font-weight: 700; margin-left: 20px; font-size: 15px; display: block; text-align: right; }
.header .topatalhos .icon { position: relative; float: left; height: 50px; max-width: 77px; margin: 0 0 0 26px; }
.header .topatalhos .icon a { display: block; }

/* header limpo */
.header .topright { position: relative; float: right; /* width: 30%; */ }
.header .topright .emergencias { display: block; }
.header .topright .emergencias h6 { text-align: right; font-size: 14px; color: #19334B; margin-top: 15px; }
.header .topright .emergencias h6 .emerlink { display: inline; }
.header .topright .emergencias h6 a { color: #19334B; position: relative; }
.header .topright .emergencias h6 span { margin-left: 30px; color: #B70600; font-weight: 900; }
.header .topright .emergencias h6 span a { color: #B70600; }
.header .topright .emergencias h6 span a:hover,
.header .topright .emergencias h6 span a:active{ text-decoration: underline; }

.header .topright .emergencias h6 a .info112 { position: absolute; display: none; width: 300px; padding: 15px; background:  #F7F1D5; z-index: 600; font-weight: 400; color: #163856; line-height: 1.6; top: 20px; right: -30px; border: 1px solid #DBD5B6; font-size: 13px; }
.header .topright .emergencias h6 a:hover .info112 { display: block; }


.header .topright .secmenu { position: relative; padding-top: 10px; border-top: 1px solid #ddd; margin-top: 18px; }
.header .topright .secmenu .link { position: relative; float: right; margin-left: 35px; }
.header .topright .secmenu .link a { display: inline-block; font-size: 13px; color: #888; }
.header .topright .secmenu .link a span { color: #9E9E9E; }
.header .topright .secmenu .link a:hover,
.header .topright .secmenu .link a:active,
.header .topright .secmenu .link.active a { color: #222; }

.link.translate { position: relative; overflow: hidden; }
.link.translate > a { pointer-events: none; }
.link.translate i { color: #9E9E9E; padding-right: 3px; font-size: 15px; }
.link.translate .hiddentranslate { position: absolute; top: 0; right: 0; opacity: 0; }

.header .toplogos { position: relative; float: right; padding: 20px 0 0 10px; }
.header .toplogos .topgov,
.header .toplogos .topmar { position: relative; float: left; margin: 0 0 0 20px; }
.header .toplogos .topgov { margin-top: 5px; }

.header .toplogos .round span { position: absolute; text-align: center; width: 110px; font-size: 10px; background: #fff; top: 0px; left: -30px; padding: 5px; z-index: 5; opacity: 0; border: 1px solid #ccc; color: #333; border-radius: 2px; pointer-events: none; }
.header .toplogos .round:hover span { top: -15px; opacity: 1; transition: all .2s; transition-delay: .4s; }

/* SEARCHMODAL */
#hiddenSearch { display: none; }

#searchModal { padding-right: 0; }
#searchModal .modal-dialog { width: 100%; margin: 0; border: none; border-radius: 0; z-index: 100; }
#searchModal .modal-content { border-radius: 0; background: #1D354D; padding: 10px 0; }

#searchModal .inputbox { position: relative; width: 60%; margin: 20px auto; }
#searchModal .inputbox a { margin-top: 10px; }
#searchModal .inputbox a:hover { color: #ccc; }
#searchModal .inputbox a:visited { color: #ccc; }
#searchModal .inputbox .maininput { display: block; width: 100%; background: #223e5a; border: 1px solid #35618C; outline: none !important; box-shadow: none; padding: 4px 20px; font-size: 21px; color: #fff; font-weight: 300; height: 50px; line-height: 50px; }

/* eliminar cruz do IE */
#searchModal .inputbox .maininput::-ms-clear { display: none; }


#searchModal .inputbox .lupa { position: absolute; top: 12px; right: 15px; }
#searchModal .inputbox .lupa:focus {}

#searchModal .close { color: #fff; text-shadow: none; opacity: .5; font-size: 40px; margin-top: 10px; }
#searchModal .close:hover { opacity: .8; }

::-webkit-input-placeholder { 
    color:    #5B8EC1; font-style: italic; font-weight: 400;
}
:-moz-placeholder {
   color:    #5B8EC1; font-style: italic;  font-weight: 400;
   opacity:  1;
}
::-moz-placeholder {
   color:    #5B8EC1; font-style: italic;  font-weight: 400;
   opacity:  1;
}
:-ms-input-placeholder { 
   color:    #5B8EC1; font-style: italic;  font-weight: 400;
}




/* MAIN MENU */
.desktopmenu { background: #1F4769; }

/* all uls */
.desktopmenu ul { position: relative; margin: 0; padding: 0; list-style: none; z-index: 500; }

.desktopmenu ul.parent { width: 100%; display: table; padding: 0; }
.desktopmenu ul.parent > li { float: none; display: table-cell; width: 1%; }
.desktopmenu ul.parent > li > a { position: relative; display: block; text-transform: uppercase; font-size: 13px; background: none; padding: 14px 0 15px 0; text-align: center; line-height: 13px; color: #fff; font-weight: 500; text-shadow: 1px 1px 4px rgba(0,0,0,.2); }

.desktopmenu ul.parent > li:hover > a,
.desktopmenu ul.parent > li.active > a { background: #24394F; color: #FFD300; }


.desktopmenu ul.parent .megamenu { position: absolute; display: none; left: 0; width: 100%; background: #fff;
-webkit-box-shadow: 3px 3px 3px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    3px 3px 3px 0px rgba(50, 50, 50, 0.75);
box-shadow:         3px 3px 3px 0px rgba(50, 50, 50, 0.75); 
}

.desktopmenu ul.parent .megamenu.mega33 { width: 33%; }
.desktopmenu ul.parent .megamenu.mega66 { width: 66%; }
.desktopmenu ul.parent .megamenu.megadireita { left: 34%; }

.desktopmenu ul.parent li:hover .megamenu { display: table; }

.desktopmenu ul.parent .megamenu .sub { float: none; display: table-cell; width: 1%; background: #fff; padding: 10px 15px 15px 15px; border-left: 1px solid #ddd; vertical-align: top; }

.desktopmenu .megamenu h6 { margin: 0; }
.desktopmenu .megamenu h6 a { font-size: 14px; padding: 8px 6px; color: #B70600; display: block; }
.desktopmenu .megamenu h6 a:hover,
.desktopmenu .megamenu h6 a:active { background: #eee; }
.desktopmenu .megamenu h6 span.glyphicon { margin-left: 15px; font-size: 12px; }

.desktopmenu .megamenu b { display: block; margin: 35px 0 0 5px; }
.desktopmenu .megamenu h6 + b { margin-top: 5px; }

.desktopmenu ul.parent .megamenu ul li a { color: #24405E; display: inline-block; line-height: 1.1; font-size: 13px; padding: 6px; }
.desktopmenu ul.parent .megamenu ul li a:hover,
.desktopmenu ul.parent .megamenu ul li a:active { background: #eee; }

.desktopmenu ul.parent .megamenu ul li a span.glyphicon { margin-left: 10px; font-size: 12px; color: #999; }





/* FOOTER */
.footer { position: relative; background: #1C334A; padding-top: 30px; margin-top: 100px; }
.footer .footertop { position: absolute; height: 70px; top: -70px; width: 100%; left: 0; background: url(../TEMP_IMG/footertop.png) top center no-repeat; }

.footer .footermenu { position: relative; margin-bottom:  40px; }

.footer ul { position: relative; margin: 0; padding: 0; width: 100%; list-style: none; display: table; padding: 0; }
.footer ul.parent li { position: relative; float: none; display: table-cell; width: 1%; }
.footer ul.parent li a { font-size: 13px; color: #ccc; line-height: 1.3; display: inline-block; padding: 5px 0; }
.footer ul.parent li a:hover,
.footer ul.parent li a:active{ color: #fff; text-decoration: underline; }

.footer ul.parent ul { padding-right: 40px; }
.footer ul.parent ul li { display: block; width: 100%; }
.footer ul.parent ul ul li { padding-left: 15px; }
.footer ul.parent li a { text-decoration: none; }
.footer ul.parent li a h5 { position: relative; font-size: 15px; color: #FFD300; margin-bottom: 30px; text-decoration: none; }
.footer ul.parent li a h5:after { content: ""; position: absolute; width: 50%; height: 2px; bottom: -10px; background: #576B8E; left: 0; transition: all .2s; }

.footer ul.parent > li > a:hover,
.footer ul.parent > li > a:active { text-decoration: none; }
.footer ul.parent > li:hover > a h5:after,
.footer ul.parent > li > a:active h5:after { text-decoration: none; background: #FFD300; width: 100%; }

.footer .legal { overflow: hidden; border-top: 1px solid #1B4369;
background: #152a3d;
background: -moz-linear-gradient(left,  #152a3d 44%, #152a3d 44%, #101e2c 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(44%,#152a3d), color-stop(44%,#152a3d), color-stop(100%,#101e2c));
background: -webkit-linear-gradient(left,  #152a3d 44%,#152a3d 44%,#101e2c 100%);
background: -o-linear-gradient(left,  #152a3d 44%,#152a3d 44%,#101e2c 100%);
background: -ms-linear-gradient(left,  #152a3d 44%,#152a3d 44%,#101e2c 100%);
background: linear-gradient(to right,  #152a3d 44%,#152a3d 44%,#101e2c 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#152a3d', endColorstr='#101e2c',GradientType=1 );
}

.footer .legal .container { position: relative; }
.footer .legal .left { position: relative; float: left; background: #101E2C; padding: 25px 0; }
.footer .legal .left:after { content: " "; position: absolute; background: #101E2C; width: 2000px; height: 100%; right: -50px; top: 0; z-index: 0; transform: skewx(-27deg); -webkit-transform: skewx(-27deg); border-right: 1px solid #1B4369; }

.footer .legal .left .gov { position: relative; z-index: 1; float: left; display: block; margin-right: 30px; }
.footer .legal .left .marinhabtn { position: relative; z-index: 1; float: left; display: block; }
.footer .legal p.copy { float: left; margin: 35px auto auto 80px; font-size: 12px; color: #777; }

.footer .legal .right { float: right; padding: 25px 0; }
.footer .legal .right .mappable  { float: left; display: block; margin-left: 5px; }
.footer .legal .right .mappable a { float: left; display: block; font-size: 12px; margin-top: 10px; margin-left: 25px; color: #777; }
.footer .legal .right a:hover { color: #ccc; }
.footer .legal .right .socials { float: left; margin-left: 15px; }
.footer .legal .right .socials a { display: inline-block; margin-left: 15px; }
.footer .legal .right .socials .btnfb { margin-top: 0; }
.footer .legal .right .socials .btntwitter { margin-top: 3px; }




/* OTHER COMPOUND ELEMENTS */
h3.nestedtitle { font-size: 30px; font-weight: 700; text-transform: uppercase; }
h3.nestedtitle span { font-size: 16px; font-weight: 500; display: block; margin-bottom: 4px; }

/* BREADCRUMB */
.bcbox { position: relative; z-index: 2; border-bottom: 1px solid #ddd; background: url(../Images/branco70.png); }
.bcbox .breadcrumb { background: none; margin: 0; padding: 0; }
.bcbox .breadcrumb li { transform: skewx(-27deg); padding: 8px 20px 8px 0; }
.bcbox .breadcrumb li a { display: block; transform: skewx(27deg); font-size: 12px; color: #999; }
.bcbox .breadcrumb li a:hover,
.bcbox .breadcrumb li a:active{ color: #1D354D; text-decoration: underline; }
.bcbox .breadcrumb li ~ li  { border-left: 1px solid #ddd; padding: 8px 20px; }
.breadcrumb > li + li:before { display: none; }
.bcbox .breadcrumb li .last { transform: skewx(27deg); padding-left: 10px; font-size: 12px; color: #1D354D; }




/* PAGINACAO */
.paginacao { margin-top: 35px; padding-top: 15px; border-top: 1px solid #DDD; }
.paginacao ul { list-style: none; padding: 0; }
.paginacao ul li { transform: skewx(-27deg); display: inline-block; }
.paginacao ul li ~ li { border-left: 1px solid #ddd; }
.paginacao ul li a { transform: skewx(27deg); display: block; padding: 2px 15px; }
.paginacao ul li a:hover { color: #1F4769; }
.paginacao ul li.active a { font-weight: 700; }
.paginacao ul li a i { font-size: 22px; }
.paginacao ul li.prev a,
.paginacao ul li.next a { padding: 0px 8px; }
.paginacao .count { padding-top: 4px; font-size: 13px; color: #888; }









/* ULTIMA HORA E ALERTAS */
.ultimahora { background: #B70600; padding: 20px 0; margin: 0px; border: none; border-radius: 0px; }
.ultimahora * { color: #fff; }

.ultimahora.amarelo { background: gold; }
.ultimahora.amarelo * { color: #1F4769; }

.ultimahora.azul { background: #4472D3; }

.ultimahora h1 { margin-top: 0; }
.ultimahora img { width: 100%; margin-top: 10px: }
.ultimahora .close { float: none; font-size: 14px; font-weight: 400; text-shadow: none; filter: alpha(opacity=50); opacity: .5; border: 1px solid #fff; border-radius: 2px; padding: 8px 20px; margin-top: 10px; transition: all .2s; margin-right: 10px; }
.ultimahora .close:hover { opacity: 1; filter: alpha(opacity=100); }

.ultimahora p a { text-decoration: underline; }
.ultimahora p a:hover { text-decoration: underline; color: #fff; }

.ultimahora.amarelo .close,
.ultimahora.azul .close{ filter: alpha(opacity=100); opacity: 1; }
.ultimahora.amarelo .close:hover { background: #fff; }

.ultimahora.azul.browser { display: none; }
.ie8 .ultimahora.azul.browser { display: block; }

html[data-useragent*='MSIE 8.0'] .ultimahora.azul.browser,
html[data-useragent*='MSIE 7.0'] .ultimahora.azul.browser { display: block; }







/* ACCORDION */
/* http://inspirationalpixels.com/tutorials/creating-an-accordion-with-html-css-jquery */
/*----- Accordion -----*/
.accordion, .accordion * {
    -webkit-box-sizing:border-box; 
    -moz-box-sizing:border-box; 
    box-sizing:border-box;
}
 
.accordion { overflow:hidden; border-radius: 0; background:#f7f7f7; }
.accordion-section-title { width:100%; padding: 10px 15px; display:inline-block; border-bottom: 1px solid #396986; background: #1F4769;  transition:all linear 0.15s; font-size: 14px; text-shadow: 0px 1px 0px #1a1a1a; color:#fff; }
 
.accordion-section-title.active,
.accordion-section-title:hover,
.accordion-section-title:focus { background:#193F5F; text-decoration:none; color:#fff; }
 
.accordion-section:last-child .accordion-section-title { border-bottom:none; }
.accordion-section-content { padding:15px; display:none; }




/* SIDEBOXES */
.sidebox { margin-bottom: 30px; box-shadow: 1px 1px 3px rgba(0,0,0,.5); }
.sidebox header h5 { font-size: 13px; text-transform: uppercase; color: #275378; font-weight: 900; margin: 0; }
.sidebox .body { padding: 20px 20px 10px 20px; }

.sidebox img { max-width: 100%; }

.sidebox.no-header { box-shadow: none; }
.sidebox.no-header header { padding: 5px 0; }
.sidebox.no-header .body { box-shadow: 1px 1px 3px rgba(0,0,0,.5); border-top: 3px solid #FFD300; }

.sidebox.headeramarelo { box-shadow: none; box-shadow: 1px 1px 3px rgba(0,0,0,.5); }
.sidebox.headeramarelo header { background: #FFD300; padding: 12px 15px; }

/* GALLERY */
.sidebox.gallery .body { overflow: hidden; background: #ddd; padding: 0; }
.sidebox.gallery .slide { position: relative; }
.sidebox.gallery .carousel-control { background-image: none !important; transition: all .2s; transition-delay: .5s; color: transparent; opacity: 1; text-shadow: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }

.sidebox.gallery .carousel-control img { position: absolute; width: 50%; height: auto; top: 0; }
.sidebox.gallery a.left img { left: 0; }
.sidebox.gallery a.right img { right: 0; }
.sidebox.gallery a.left { left: -60px; }
.sidebox.gallery a.right { right: -60px; }
.sidebox.gallery:hover a.left { left: 5px; transition-delay: 0s; }
.sidebox.gallery:hover a.right { right: 5px; transition-delay: 0s; }
.sidebox.gallery .expand { position: absolute; cursor: pointer; width: 40px; height: 40px; background: url(../Images/expand.png); left: 50%; top: 70%; margin: -20px auto auto -20px; pointer-events: none; transition: all .2s; transition-delay: .2s; opacity: 0; }
.sidebox.gallery:hover .expand { top: 50%; opacity: 1; }

.sidebox .body .contacto { margin-top: 0px; }
.sidebox .body .contacto ~ .contacto { margin-top: 20px; }
.sidebox .body .contacto h6 { margin-top: 0; font-weight: 700; color: #B70600; font-size: 14px; }
.sidebox .body .contacto p { margin-bottom: 10px; }

/* pointer-events nao suportado */
html[data-useragent*='MSIE 9.0'] .sidebox.gallery .expand,
html[data-useragent*='MSIE 10.0'] .sidebox.gallery .expand{ display: none; }



/* FAQ e sidebox com accordion */
.sidebox.faq { box-shadow: none; }
.sidebox.faq header { padding: 8px 0; }
.sidebox.faq .glyphicon { font-size: 12px; }

.sidebox.faq .accordion-section-title {background: #fff;color: #275378; padding: 8px 0; border-bottom-color: #ccc; text-shadow: none; }
.sidebox.faq .accordion-section:last-child .accordion-section-title { border-bottom: 1px solid #ccc; }
.sidebox.faq .accordion-section-content { padding: 15px 0; background: #fff; }
.sidebox.faq .accordion-section-title.active,
.sidebox.faq .accordion-section-title:hover,
.sidebox.faq .accordion-section-title:focus { background:#fff; color: #222; border-bottom-color: #888; }



/* Legislação Local - dentro, mas não dependente de, sidebox */
.lex .diploma { padding: 0 0 10px 0; display: block; }
.lex .diploma p.titulo { font-weight: bold; color: #106DBD; margin: 0 0 5px 0; }
.lex .diploma h6.data { font-size: 12px; color: #999; margin: 0 0 5px 0; text-transform:uppercase;}
.lex .diploma p.resumo { font-size: 12px; color: #555; margin: 0; }
.lex .diploma ~ .diploma { border-top: 1px solid #ccc; margin-top: 10px; padding: 10px 0; }

.lex .diploma:hover p.titulo,
.lex .diploma:active p.titulo { text-decoration: underline; }






/* ESTATISTICAS */
.sidebox.stats { box-shadow: none; margin: 60px 0 20px 0; }
.sidebox.stats header { border-bottom: 1px solid #386F9D; }
.sidebox.stats header h5 { font-size: 14px; }
.sidebox.stats .body { width: 100%; display: table; }
.sidebox.stats .body .dado { position: relative; display: table-cell; width: 1%; }

.sidebox.stats .dado td { vertical-align: middle; }
/* bootstrap icons */
.sidebox.stats .dado .glyphicon { font-size: 40px; color: #4B7AA1; }
/* fontello icons */
.sidebox.stats .dado i { font-size: 40px; color: #4B7AA1; }
.sidebox.stats .dado .h5 { font-size: 38px; color: #B70600; font-weight: 400; padding-left: 10px; }
.sidebox.stats .dado p { font-size: 14px; margin-top: 10px; max-width: 90%; text-align: left; }



/* conteudos */
.sidebox .accordion p { font-size: 13px; margin: 0 0 10px; text-align: left; }
.conteudo .sidebox ul { padding-left: 20px; margin: 20px 0; }
.conteudo .sidebox ul li { color: #4B5F70; font-size: 13px; }
.conteudo .sidebox table td { font-size: 13px; }

/* primeiro header compensar o padding top */
.sidebox .accordion-section-content h2:first-of-type,
.sidebox .accordion-section-content h3:first-of-type,
.sidebox .accordion-section-content h4:first-of-type { margin-top: 0; }






/* FANCYBOX PLUGIN */
.fancybox-error { font-family: "Roboto", Arial, sans-serif; }
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { background-image: url(../Images/fancybox/fancybox_sprite_mj_alt.png); }
#fancybox-loading div { background: url(../Images/fancybox/fancybox_loading.gif) center center no-repeat; }
.fancybox-nav { background: transparent url(../Images/fancybox/blank.gif); }
.fancybox-overlay { background: url(../Images/fancybox/fancybox_overlay.png); }
.fancybox-title { font-family: "Roboto", Arial, sans-serif; }
.fancybox-title-float-wrap { bottom: -5px; }
.fancybox-skin { border-radius: 0; }
.fancybox-close { background-position: 0 0px; transition: none; top: -14px; right: -22px; }
.fancybox-close:hover { background-position: -50px 0; }
.fancybox-next span { background-position: 0 -40px; transition: none; width: 30px; }
.fancybox-next span:hover { background-position: -50px -40px; }
.fancybox-prev span { background-position: 0 -90px; transition: none; width: 30px; }
.fancybox-prev span:hover { background-position: -50px -90px; width: 30px; }
/* caption */
.fancybox-title-float-wrap .child { border-radius: 0; color: #333; background: #ddd; text-shadow: none; }





/* ATALHOS TOPO */
.mainatalhos { position: relative; z-index: 90; background: #fff; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4); transition: all .3s; }
.mainatalhos.visible { margin-top: 0; transition: all .3s; }

.mainatalhos .mainatalhosbox { width: 100%; display: table; }


.mainatalhos .mainatalhosbox a { display: table-cell; width: 1%; padding-top: 5px; padding-bottom: 5px; transform: skewx(-27deg); -webkit-transform: skewx(-27deg); transition: all .2s; transition-delay: .2s; }
.mainatalhos .mainatalhosbox a:hover { box-shadow: inset 0 0 10px rgba(0,0,0,0.4); }

.mainatalhos .glyphicon,
.mainatalhos i { text-align: center; color: #BDCAD8; font-size: 20px; line-height: inherit; display: block; text-shadow: 1px 2px #fff; transform: skewx(27deg); -webkit-transform: skewx(27deg); margin-left: -23px; }


.mainatalhos .mainatalhosbox h3 { text-align: center; color: #1F4769; font-size: 13px; font-weight: 700; text-transform: uppercase; transform: skewx(27deg); -webkit-transform: skewx(27deg); margin: 2px 0 10px 0; }


/* ATALHOS LADO */
.sideatalhos { position: fixed; z-index: 190; background: #fff; box-shadow: -2px -1px 3px rgba(0, 0, 0, 0.4); top: 155px; right: 17px; transition: all .3s; border-radius: 3px 0 0 3px; width: 85px; }






.sideatalhos .mainatalhosbox { display: none; }
.sideatalhos.visible { opacity: .7; }
.sideatalhos.visible:hover,
.sideatalhos.visible:active { opacity: 1; }
.sideatalhos.visible .mainatalhosbox { display: block; }
.sideatalhos .mainatalhosbox a { display: block; padding: 5px; transition: all .2s; transition-delay: .2s; border-top: 1px solid #ddd; }
.sideatalhos .mainatalhosbox a:hover { box-shadow: inset 0 0 10px rgba(0,0,0,0.4); }

.sideatalhos .glyphicon,
.sideatalhos i { text-align: center; line-height: inherit; color: #81A0C2; font-size: 18px; display: block; }
.sideatalhos .mainatalhosbox h3 { text-align: center; color: #1F4769; font-size: 12px; font-weight: 400; margin: 5px 0 10px 0; }
.sideatalhos a.fixtoggle { display: block; padding: 0 8px 8px 8px; padding: 0 10px 10px 10px; transition: all .2s; transition-delay: .2s; text-decoration: none; }
.sideatalhos a.fixtoggle i { color: #999; font-size: 30px; }
.sideatalhos a.fixtoggle h3 { text-align: center; color: #888; font-size: 12px; font-weight: 700; margin: -5px 0 0px 0; }

.sideatalhos .icon-left-open { display: block; }
.sideatalhos .icon-right-open { display: none; }
.sideatalhos.visible .icon-left-open { display: none; }
.sideatalhos.visible .icon-right-open { display: block; }
/*
.sideatalhos.visible a.fixtoggle h3 { display: block; }
.sideatalhos.visible a.fixtoggle { padding: 0 10px 10px 10px; }
*/



/* MENU LATERAL */
#sideMenu { display: block; overflow: hidden; width: 300px; background: #fff; position: absolute; padding-top: 40px; top: 0; z-index: 2; box-shadow: 3px 3px 2px rgba(0,0,0,.4); left: -500px; height: 380px; }

#sideMenu ul { position: relative; width: 100%; margin: 0; list-style: none; padding: 0; transition: all .3s ease; border-top: 1px solid #ddd; }
#sideMenu ul ul { position: absolute; width: 100%; right: -100%; height: auto; top: 0; display: none; }

#sideMenu ul li { display: block; }
#sideMenu ul li a { padding: 8px 18px 8px 12px; display: inline-block; line-height: 1.2; color: #6A7C8E; }
#sideMenu ul li:hover,
#sideMenu ul li.active { background: #eee; }
#sideMenu ul li a:hover,
#sideMenu ul li a:active { color: #24405E; }

/* seta */
#sideMenu .seta { cursor: pointer; width: 34px; height: 20px; padding: 0; position: absolute; z-index: 2; margin-top: 5px; }
#sideMenu .seta:before { content: ''; border: 2px solid rgba(0, 0, 0, 0); display: inline-block; width: 7px; height: 7px; position: absolute; top: 7px; right: 13px; border-color: #777; 
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#sideMenu .seta.left { left: 8px; }
#sideMenu .seta.right { right: 0; border-left: 1px solid #ddd; }
#sideMenu .seta.left:before { border-right: none; border-bottom: none; }
#sideMenu .seta.right:before { border-top: none; border-left: none; }
#sideMenu .seta:hover,
#sideMenu .seta:active { /* background: #eee; */ }
#sideMenu ul li.back { padding: 10px 0 10px 48px; cursor: pointer; color: #999; border-bottom: 1px solid #ddd; }
#sideMenu ul li.back .seta { margin: 0; border-right: 1px solid #ddd; width: 26px; }
#sideMenu ul li.back:hover,
#sideMenu ul li.back:active { color: #24405E; }
#sideMenu .seta:hover:before,
#sideMenu ul li.back:hover .seta:before{ border-color: #24405E; }




/*=============================  #####################  =============================*/
/*=============================  #5. Cross Page Styles  =============================*/
/*=============================  #####################  =============================*/

/* PAGINAS INTERIORES */
/* ou vector */
/*

.conteudo .vector.vectorisn { background: url(../TEMP_IMG/vector-isn.png) right no-repeat; }
*/
/* ou hall */
.conteudo .hall { position: relative; overflow: hidden; border-bottom: 1px solid #ccc;}
.conteudo .hall img { position: absolute; display: block; width: 100%; height: auto; z-index: 0; }
.conteudo .hall .titulos { position: relative; min-height: 260px; background: rgba(255,255,255,.9); z-index: 5; padding: 20px; }
.conteudo.presentation .hall .titulos { min-height: 300px; }
.conteudo .hall .titulos h1 { margin: 0; }
.conteudo .hall .titulos h2 { margin: 0 0 10px 0; font-size: 15px; font-weight: 700; }
.conteudo .hall .titulos h2 a { color: #888; font-weight: 500; text-decoration: none; }
.conteudo .hall .titulos h2 a:hover { color: #444; }


.conteudo .hall .titulos .pagedesc { margin: 20px 0; font-size: 15px; color: #1F4769; padding-top: 20px; border-top: 1px solid #ccc; text-align: left; }
.conteudo .hall .titulos .pagedesc br { display: none; }
.conteudo .hall .titulos .pagedesc p,
.conteudo .hall .titulos .pagedesc div { margin: 0; text-align: left; }


/* ILUSTRACOES */
.conteudo .hall .vector { position: absolute; width: 100%; height: 100%; }
.conteudo .hall .vector.isn { background: url(../Images/ilustracoes/isn-fundo.png) bottom right; }
.conteudo .hall .vector.isn .isn-cut { position: absolute; width: 100%; height: 100%; background: url(../Images/ilustracoes/isn.png) bottom center no-repeat; }


.conteudo .hall .vector.dgam { background: #98B0D6; }
.conteudo .hall .vector.dgam .dgam-cut { position: absolute; width: 100%; height: 100%; background: url(../Images/ilustracoes/dgam.png) center bottom no-repeat; }














/* GENERIC STYLES */
.conteudo h1 { font-size: 35px; color: #B70600; font-weight: 300; }
.conteudo h2 { font-size: 20px; color: #B70600; font-weight: 500; }
.conteudo h3 { font-size: 17px; color: #B70600; font-weight: 700; }
.conteudo h4 { font-size: 17px; color: #275378; font-weight: 700; margin-top: 20px; }
.conteudo h5 { color: #B70600; font-weight: 700; }
.conteudo h6 { color: #555; }


.conteudo p { color: #4B5F70; text-align: justify; margin: 0 0 20px; }
.conteudo .centro a { font-weight: 500; color: #106DBD; }
.conteudo .centro a:hover,
.conteudo .centro a:active { color: #24405E; }
.conteudo .centro img { display: block; width: auto; max-width: 100%; height: auto; margin: 20px auto; }
.conteudo .centro img + h6 { margin-top: -10px; margin-bottom: 20px; text-align: right; }

.conteudo table td { font-size: 13px; color: #4B5F70; }
.conteudo table td p {  margin-bottom: 10px; }

.conteudo .direita img { display: block; width: 100%; height: auto; }

.conteudo .centro ul,
.conteudo .centro ol { margin: 20px 0 30px 0; }
.conteudo .centro ul li,
.conteudo .centro ol li { color: #4B5F70; }

/* primeiro header compensar o padding top */
.conteudo .centro > h2:first-of-type,
.conteudo .centro > h3:first-of-type,
.conteudo .centro > h4:first-of-type { margin-top: 0; }

.conteudo.generica .maincontent { position: relative; margin-top: -150px; margin-top: 0; z-index: 2; }
.conteudo.generica .maincontent .centro { margin-top: 150px; margin-top: 0; padding-left: 80px; overflow: hidden; padding-top: 20px; }
.conteudo.generica .maincontent .direita { padding-top: 25px; }
.conteudo.generica .maincontent .direita .sidebox.video { margin-bottom: 25px; }
.conteudo.generica .maincontent .direita .sidebox.gallery .item, .conteudo.generica .maincontent .direita .sidebox.video .item { max-height: 260px; }
    .conteudo.generica .maincontent .direita .sidebox.gallery .item a, .conteudo.generica .maincontent .direita .sidebox.video .item a{ display: block; }

/* btn voltar ao topo */
.conteudo a.backtotop { display: block; width: 100px; text-align: center; margin: 30px auto 10px auto; font-size: 13px; text-decoration: none; }
.conteudo a.backtotop span { color: #fff; transition: all .2s; }
.conteudo a.backtotop i { font-size: 35px; display: block; margin-top: -5px;  }
.conteudo a.backtotop:hover span { color: #337AB7; }


/* PAGINAS DE RAIZ SECUNDARIAS */
.conteudo.gensec {}
.conteudo.gensec .hall { border-bottom: 6px solid #FFD300; background: #F5F5F5; }
.conteudo.gensec .hall .container { position: relative; }
.conteudo.gensec .hall .deco { width: 200px; height: auto; position: absolute; right: 10px; top: 50px; z-index: 0; }
.conteudo.gensec .hall .deco img { width: 100%; height: auto; position: absolute; top: 0; }


.conteudo.gensec .hall .titulos { min-height: 0; background: none; }
.conteudo.gensec .hall .sidedesc { position: relative; padding-top: 100px; }
.conteudo.gensec .hall .sidedesc p { position: relative; font-size: 18px; font-weight: 300; color: #4B5F70; text-align: right; z-index: 1; }
.conteudo.gensec .hall .sidedesc p { position: relative; font-size: 18px; font-weight: 300; color: #4B5F70; text-align: right; z-index: 1; }
.conteudo.gensec .hall div.text-left p { text-align: left; }

.conteudo.gensec .richtext { padding-top: 50px; }
.conteudo.gensec .richtext img { display: block; width: auto; max-width: 100%; height: auto; margin: 20px auto 20px 0; }




/*=============================  #################  =============================*/
/*=============================  #6. Page Specific  =============================*/
/*=============================  #################  =============================*/

/* HOMEPAGE */
.newslider { overflow: hidden;  background: #1F4769; }
.newslider .container { position: relative; }

/* titulo "Noticias" */
.newslider .nestedtitle { position: absolute; z-index: 2; margin: 0; top: 10px; left: 43px; }
.newslider .nestedtitle a { font-size: 15px; font-weight: 400; color: #FFD300; }
.newslider .nestedtitle a:hover { color: #fff; }


.newslider .montra { position: relative; width: 100%; overflow: hidden;  background: #eee;}
/* link para noticia */
.newslider .montra a.activenews { position: relative; display: block; height: auto; max-height: 550px; }
.newslider .montra a.activenews img { position: relative; display: block; height: auto; width: 100%; max-width: 1140px; margin: 0 auto; }
.newslider .montra .bckimg img { position: absolute; display: block; height: auto; width: 100%; opacity: .3; }
.newslider .montra .bckimg img { position: absolute; display: block; height: auto; width: 100%; }

.newslider .montra .shadow { position: absolute; width: 100%; height: 20px; bottom: 0;
-webkit-box-shadow: inset 0px -7px 15px -4px rgba(0,0,0,0.52);
-moz-box-shadow: inset 0px -7px 15px -4px rgba(0,0,0,0.52);
box-shadow: inset 0px -7px 15px -4px rgba(0,0,0,0.52);
}

.newslider .montra .texto { position: absolute; bottom: 0; width: 100%; background: #fff; /* overflow: hidden; */ }

.newslider .montra .texto a.gonews { position: absolute; top: -35px; right: 35px; color: #fff; text-shadow: 1px 1px #333; }

.newslider .montra .texto h2 { float: left; width: 50%; background: #FFD300; font-size: 20px; color: #1D344C; text-transform: uppercase; height: auto; margin: 0; padding: 15px 30px 15px 0; line-height: 1.2; }

.newslider .montra .texto h2 .skewleft { padding-left: 20px; }

.newslider .montra .texto h2:before { content: ""; width: 1200px; background: #FFD300; height: 400%; position: absolute; right: 0; top: 0; }

.newslider .montra .texto p.resumo { float: left; width: 50%; background: #fff; height: auto; margin: 0; padding: 15px 20px 15px 30px; color:#666; font-size: 13px; }

.newslider .montra:hover .texto p.resumo { color: #1D344C; }
.newslider .montra .texto:after { content: " "; position: absolute; width: 36px; height: 36px; background: url(../Images/MainSprites.png) -110px -180px no-repeat; top: 800px; margin-top: -18px; left: 50%; margin-left: -18px; border-radius: 50%; box-shadow: 1px 1px #ccc; transition: all.3s; }
.newslider .montra:hover .texto:after { top: 50%; }


.newslider .item { width: 200%; background: #ccc; width: 100%; }

.newslider .thumb { position: relative; float: left; width: 188px; height: 122px; border: 2px solid #fff; border-top-width: 4px; cursor: pointer; overflow: hidden; border-bottom: 0; width: 16.6666%; margin-left: -1px; background: #fff; }

.newslider .thumb .moldura { display: none; position: absolute; width: 101%; height: 118px; top: 0; left: 0;
-webkit-box-shadow: inset 0px 0px 0px 4px rgba(255,211,0,1);
-moz-box-shadow: inset 0px 0px 0px 4px rgba(255,211,0,1);
box-shadow: inset 0px 0px 0px 4px rgba(255,211,0,1);
}
.newslider .thumb.active .moldura { display: block; }
.newslider .thumb p.titulo { position: absolute; width: 100%; height: 102%; top: 0px; left: 0; background: #1D354D; opacity: 0; color: #fff; padding: 10px 15px;  font-size: 15px; text-transform: uppercase; transition: opacity .2s; }
.newslider .thumb:hover p.titulo { opacity: .9; }
.newslider .thumb img { position: relative; width: 100%; margin: 0 2px; display: block; height: auto; min-width: 120px; }


.newslider .carousel-control { position: absolute; bottom: 0; width: 100px; height: 130px; background: #1D354D; opacity: 1; background: #1F4769; }
.newslider .carousel-control.left { left: -30px; }
.newslider .carousel-control.right { right: -30px; }
/*
.newslider .carousel-control .setaesquerda { margin: 32px auto auto 48px; }
.newslider .carousel-control .setadireita { margin: 32px 48px auto auto; }
*/
.newslider .carousel-control .carseta { margin: 32px auto auto 48px; 
transform: translateZ(0) scale(1.0, 1.0) skewx(27deg);
-webkit-transform: translateZ(0) scale(1.0, 1.0) skewx(27deg); }


.newslider .carousel-control .carseta.turn { margin: 32px 48px auto auto; 
transform: rotate(180deg) translateZ(0) scale(1.0, 1.0) skewx(27deg);
-webkit-transform: rotate(180deg) translateZ(0) scale(1.0, 1.0) skewx(27deg); }

/* IE */
html[data-useragent*='MSIE 8.0'] .carseta .antenna,
html[data-useragent*='MSIE 7.0'] .carseta .antenna,
html[data-useragent*='MSIE 9.0'] .carseta .antenna { display: none; }

html[data-useragent*='MSIE 8.0'] .newslider .carousel-control .carseta,
html[data-useragent*='MSIE 7.0'] .newslider .carousel-control .carseta,
html[data-useragent*='MSIE 9.0'] .newslider .carousel-control .carseta { background: url(../Images/setaesquerda.png); transform: skewx(27deg); }
html[data-useragent*='MSIE 8.0'] .newslider .carousel-control .carseta.turn,
html[data-useragent*='MSIE 7.0'] .newslider .carousel-control .carseta.turn,
html[data-useragent*='MSIE 9.0'] .newslider .carousel-control .carseta.turn { background: url(../Images/setadireita.png); transform: skewx(27deg); }




/* ATALHOS EM BAIXO */
.mainatalhos.embaixo { background: #F4F4F4; padding: 30px 0; }
.mainatalhos.embaixo .nestedtitle { color: #999; }
.mainatalhos.embaixo .nestedtitle span { color: #1F4769; }

.mainatalhos.embaixo a { padding-top: 30px; padding-bottom: 10px; transform: none; }
.mainatalhos.embaixo .glyphicon {
border-radius: 50%; width: 150px; height: 150px; margin: 0 auto; border: 1px solid #ccc; padding-top: 55px; background: #fff;
text-align: center; color: #97B4CD; font-size: 38px; text-shadow: none; transform: none; transition: all .4s; }

.mainatalhos.embaixo h4 { text-align: center; color: #1F4769; font-size: 16px; font-weight: 700; text-transform: none; transform: none; margin: 15px 0 5px 0; }

.mainatalhos.embaixo p { text-align: center; color: #777; font-size: 12px; font-style: italic; margin: 0 10px; }

.mainatalhos.embaixo .mainatalhosbox a:hover { box-shadow: none; }
.mainatalhos.embaixo .mainatalhosbox a:hover .glyphicon { background: #ccc; color: #fff; }
.mainatalhos.embaixo .mainatalhosbox a:hover h4,
.mainatalhos.embaixo .mainatalhosbox a:hover p { color: #222; }



/* atalhos rapidos */
.atalhosrapidos { position: relative; background: #fff; padding: 50px 0; }
.atalhosrapidos .linha { position: relative; border-top: 15px solid #fff; }
.atalhosrapidos .linha .atalho { position: relative; float: left; overflow: hidden; height: 210px; margin: 0; }
.atalhosrapidos .linha .atalho ~ .atalho { border-left: 15px solid #fff; }
.atalhosrapidos .atalho.ata25 { width: 25%; }
.atalhosrapidos .atalho.ata50 { width: 50%; }
.atalhosrapidos .atalho.ata75 { width:75%; }

.atalhosrapidos .atalho img { display: block; height: auto; width: 100%; }
.atalhosrapidos .atalho img.larga { width: auto; height: 100%; }


.atalhosrapidos .atalho .text { position: absolute; display: block; /* top: 166px; */ width: 100%; transition: all .2s ease-in; /* transition-delay: 0.2s; */ bottom: -110px; }
.atalhosrapidos .atalho .text h5 { position: relative; display: inline-block; bottom: 0; background: #1D354D; background: #1F4769;  width: auto; padding: 15px 40px; color: #FFD300; font-size: 15px; line-height: 1; margin: 0 0 0 -20px; font-weight: 400; }

.atalhosrapidos .atalho .text p { display: block; background: #13283C; width: 100%; padding: 15px 20px; color: #ccc; height: 100px; font-size: 13px; line-height: 1.1; }

.atalhosrapidos .atalho:hover .text { /* top: 55%; */ bottom: -20px; }
.atalhosrapidos .atalho:active.text ,
.atalhosrapidos .atalho:focus .text { bottom: -110px; }
.atalhosrapidos .atalho:hover .text h5 { padding: 10px 40px; }




.linksuteis { position: relative; padding: 110px 0 140px 0; margin-bottom: -123px;
background: url(../TEMP_IMG/fundomar.png);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.linksuteis .wavetop { position: absolute; top: 0; left: 0; width: 100%; }
.linksuteis .wavetop img { width: 100%; height: auto; }

.linksuteis .waveleft { position: absolute; top: 55px; left: 0; }
.linksuteis .waveright { position: absolute; top: 91px; right: 0; }

.linksuteis .quadrados { position: relative; margin-top: 30px; }
.linksuteis .quadrados .link { cursor: pointer; }
.linksuteis .quadrados .link .card { position: relative; overflow: hidden; box-shadow: 0 0 6px rgba(0,0,0,.5); }

.linksuteis .quadrados .link .card .front.back { position: absolute; width: 100%; bottom: -150px; padding: 20px; background: #fff; transition: all .3s; }
.linksuteis .quadrados .link .card .front.back p { font-style: italic; font-size: 13px; background: url(../Images/tinyarrow.png) right center no-repeat;}

.linksuteis .quadrados .link .card:hover .front.back { bottom: 0; }


.linksuteis .quadrados img.deco { position: relative; display: block; width: 100%; height: auto; border: 20px solid #fff; z-index: 0; }
.linksuteis .quadrados img.temptitle { position: absolute; top: 0; left: -6px; z-index: 5; }







/* MENU LATERAL */
.centro .sidemenu { position: relative; border-right: 1px solid #ccc; width: 40px; min-height: 200px; float: left; margin-left: -65px; margin-top: -20px; }
.centro .navbar-toggle { position: relative; z-index: 3;  display: block; float: none; margin-top: 0; padding: 13px 0 0 0; min-width: 0; }
.centro .navbar-toggle:hover { border: none !important; }
.centro .navbar-toggle .icon-bar { background: #BFC1C3; height: 4px; margin-bottom: 2px; width: 26px; }





html[data-useragent*='MSIE 9.0'] .poplink + .body {
    display: none;
}







/* CAPITANIAS / COMANDOS DETALHE*/
.conteudo.polcap .hall { position: relative; z-index: 2; }
.conteudo.polcap .hall .titulos { width: 100%; min-height: 0; }
.conteudo.polcap .hall .titulos p { padding-top: 0; border: none; font-size: 14px; margin-bottom: 0; }

.conteudo.polcap .hall .capitao { background: #1F4769; padding: 20px; }
.conteudo.polcap .hall .capitao .foto { width: 100px; height: auto; position: relative; margin: 0; float: left; }
.conteudo.polcap .hall .capitao .foto img { position: relative; width: 100%; height: auto; display: block; }

.conteudo.polcap .hall .capitao .txt { float: left; width: 120px; margin-left: 18px; }
.conteudo.polcap .hall .capitao .txt h6 { font-size: 12px; color: #FFD200; margin-top: 0; }
.conteudo.polcap .hall .capitao .txt h3 { font-size: 18px; color: #fff; margin-top: 15px; font-weight: 400; }
.conteudo.polcap .hall .capitao .txt p.posto { font-size: 12px; color: #eee; }


.conteudo.polcap .mapa { position: relative; overflow: hidden; }
.conteudo.polcap .mapa .mapadeco { position: absolute; width: 100%; height: 100%; min-height: 200px; background-position: center center; background-repeat: no-repeat; top: 0; }



.conteudo.polcap .mapabuttons { position: relative; }
.conteudo.polcap .mapabuttons .vermapa { position: absolute; background: #fff; display: block; width: 120px; color: #1F4769; text-align: center; bottom: 27px; right: 0; padding: 5px 0; transition: all .3s; }
.conteudo.polcap .mapabuttons .vermapa:hover { background: #2F7FC3; color: #fff; }

.conteudo.polcap .fundo .direita { padding-top: 30px; }



/* MAU TEMPO */
.conteudo.polcap .estadobarras { position: relative; display: block; }
.conteudo.polcap .estadobarras:hover {}
.conteudo.polcap .estadobarras .barra { margin-bottom: 30px; }
.conteudo.polcap .estadobarras .barra .flag { padding: 5px 25px 5px 0; }
.conteudo.polcap .estadobarras .barra .flag .circle { height: 70px; width: 70px; border-radius: 50%; border: 2px solid #ddd; background: #fff; }
.conteudo.polcap .estadobarras .barra .flag i { font-size: 40px; display: block; margin: 5px auto auto 10px; color: #999; }
.conteudo.polcap .estadobarras .barra .flag.verde i { color: green; }
.conteudo.polcap .estadobarras .barra .flag.amarelo i { color: #FFB800; }
.conteudo.polcap .estadobarras .barra .flag.vermelho i { color: #D00B0B; }
.conteudo.polcap .estadobarras .barra .estado h5 { font-size: 15px; color: #888; font-weight: 400; margin: 0; }
.conteudo.polcap .estadobarras .barra .estado h4 { font-size: 23px; color: #1F4666; font-weight: 400; margin: 4px 0 0 0; }


/* baloes */
.conteudo.polcap .estadobarras .sinais { margin-bottom: 50px; }
.conteudo.polcap .estadobarras .baloes { border-top: 2px solid #ccc; width: 100%; }

.estadobarras .baloes th { border-bottom: 1px solid #ccc; color: #888; font-weight: 400; font-size: 12px; padding: 8px 5px; }
.estadobarras .baloes td { border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; padding: 5px 10px; }
.estadobarras .baloes td.numero { border-left: none; text-align: center; font-weight: bold; font-size: 14px; }
.estadobarras .baloes td.text { line-height: 1.2; }

.conteudo.polcap .estadobarras .sinais h6 { font-size: 11px; color: #999; }


.conteudo.polcap .topo .direita { position: relative; }
.conteudo.polcap .topo .sidebox.headeramarelo { position: absolute; margin: 0; left: 15px; right: 15px; bottom: 0; box-shadow: 1px -1px 3px rgba(0,0,0,.5); }

.conteudo.polcap .docs { padding-top: 5px; }
.conteudo.polcap .docs h6 { font-size: 14px; color: #555; font-weight: 700; margin: 30px 0 -10px 0; text-transform: uppercase; }
.conteudo.polcap .docs p { line-height: 1.2; margin: 20px 0 30px 0; }
.conteudo.polcap .docs a,
.conteudo.polcap .docs p a { color: #106DBD; line-height: 1.2; font-size: 14px; }
.conteudo.polcap .docs p a span.desc { display: block; margin-top: 5px; color: #666; font-size: 12px; }
.conteudo.polcap .docs a:hover,
.conteudo.polcap .docs p a:hover { color: #185B94; text-decoration: underline; }
.conteudo.polcap .docs h4.noresults { color: #666; font-weight: 300; font-size: 20px; line-height: 1.5; }



.conteudo.polcap .ctct { background: #F5F5F5; padding-top: 5px; margin-bottom: 30px; }
.conteudo.polcap .ctct section { padding: 20px 20px 10px 20px; border-bottom: 1px solid #ccc; }
.conteudo.polcap .ctct section ~ section { border-top: 1px solid #fff; }
.conteudo.polcap .ctct h4 { font-size: 14px; color: #B70600; margin: 0 0 10px 0; text-transform: uppercase; }
.conteudo.polcap .ctct h5 { margin: 20px 0 10px 0; color: #265278; font-weight: 700; }
.conteudo.polcap .ctct p { color: #4B5F70; margin: 0 0 10px; line-height: 1.3; font-size: 13px; }
.polcap .back { position: relative; background: #ddd; border-bottom: 1px solid #ccc; overflow: hidden; }


.conteudo.polcap.all .hall { width: 30%; float: left; border: none; }
.conteudo.polcap .clearfix { position: relative; z-index: 2; }
.polcap .lista { position: relative; display: table; margin-top: 30px; }
.polcap .lista .sub { position: relative; display: table-cell; width: 1%; }
.polcap .lista .sub ul {list-style: none; padding: 0; }
.polcap .lista h3 { font-size: 20px; color: #B70600; font-weight: 500; padding-bottom: 5px; border-bottom: 1px solid #ddd; margin-right: 20%; margin-bottom: 20px; }

.polcap .lista a { color: #106DBD; }
.polcap .lista a:hover { color: #144874; }
.polcap .back { background: #98B0D6; min-height: 400px; }
.polcap .back .dgam-cut { position: absolute; width: 100%; height: 100%; background: url(../Images/ilustracoes/dgam.png) 80% 100% no-repeat; }


.polcap .accordion-section-title { border-bottom: 1px solid #fff; color: #fff; background: #ddd; text-shadow: none; padding: 8px 15px; background: #315C80; border-bottom: 1px solid #1F4769;
}

.polcap.all .accordion-section-content { position: relative; padding: 0px; overflow: hidden; }
.polcap.all .accordion-section-content img { width: 100%; height: auto; }
.polcap.all .accordion-section-content .tempmark { width: 91px; height: 507px; position: absolute; top: 0px; left: 60%; }
.polcap.all .accordion-section-title.active,
.polcap.all .accordion-section-title:hover,
.polcap.all .accordion-section-title:focus { background: #315C80; color: gold; }



.avisosnav { position: relative; display: block; }
.avisosnav img { display: block; width: 100%; height: auto; }


/*temp popover*/
.caspop { width: 344px; height: 273px; background: url(../TEMP_IMG/cascaispopover.png); }
.popover-content { padding: 0; border: none; border-radius: 0; }
.popover { padding: 0; border: none; border-radius: 0; }



/* COMANDOS LOCAIS */
/*
.comandos {}
*/







/* MAPAS COMUNS A CAP/COM */
.polcap .mapas { position: relative; width: 770px; float: left; }
.mapbox { background: #ecf5f7; }

.mapbox.continente { position: relative; }
.mapbox .interactivemap { position: absolute; }
.mapbox.continente .interactivemap { background: url(../Images/cartas/continente.gif) no-repeat; width: 900px; height: 1500px; }

.mapbox.continente .interactivemap.novomapatempclas { background: url(../Images/cartas/continente-2colors.png) no-repeat; }


.mapbox.continente.norte { height: 690px; }
.mapbox.continente.norte .interactivemap { margin: 0; }
.mapbox.continente.centro { height: 690px; }
.mapbox.continente.centro .interactivemap { top: -600px; }
.mapbox.continente.sul { height: 360px; }
.mapbox.continente.sul .interactivemap { top: -1137px; left: -130px; }


.mapbox.madeira { height: 583px; }
.mapbox.madeira .interactivemap { background: url(../Images/cartas/madeira.gif) no-repeat; width: 770px; height: 583px; }

.mapbox.acores { height: 537px; }
.mapbox.acores .interactivemap { background: url(../Images/cartas/acores.gif) no-repeat; width: 770px; height: 537px; }



.mapbox .marker { position: absolute; cursor: pointer;
/* width: 10px; height: 10px; background: red; */ }


/* POPUPS EM MAPAS */
.popdetail { position: absolute; width: 350px; box-shadow: 3px 2px 3px rgba(0, 0, 0, 0.5); top: 5000px; left: 50%; z-index: 2; transition: all .3s; }
.popdetail header { background: #FFD300; padding: 12px 15px; }
.popdetail header h5 { font-size: 13px; text-transform: uppercase; color: #275378; font-weight: 900; margin: 0; }
.popdetail .foto { max-height: 200px; overflow: hidden; border: 5px solid #fff; }
.popdetail .foto img { width: 100%; height: auto; }
.popdetail .body { position: relative; background: #fff; padding: 10px 20px 10px 20px; }
.popdetail .body p { margin: 0 0 5px 0; font-size: 13px; text-align: left; display: block; line-height: 1.1; color: #666; }

.popdetail.direita:after { content: ""; position: absolute; left: -20px; top: 50%; margin-top: -10px; width: 0; height: 0; border-style: solid; border-width: 15px 20px 15px 0; border-color: transparent #fff transparent transparent; }

.popdetail.esquerda:after { content: ""; position: absolute; right: -20px; top: 50%; margin-top: -10px; width: 0; height: 0; border-style: solid; border-width: 15px 0 15px 20px; border-color: transparent transparent transparent #fff; }

.popdetail .body .arrow { position: absolute; background: url(../Images/MainSprites.png) -180px -180px no-repeat; width: 11px; height: 20px; top: 50%; margin-top: -10px; right: 20px; opacity: 0; transition: all .3s; pointer-events: none; }
.popdetail:hover .body .arrow { opacity: 1; }










/* CONTACTOS */
.contactos .hall { border-bottom: 6px solid #FFD300; background: #F3F3F3; }
.contactos .hall .titulos { min-height: 0; width: 100%; padding: 20px 0 30px 0; background: none; }

.contactos .hall .titulos .emergencia { position: relative; text-align: right; border-left: 2px solid #ddd; float: right; padding: 15px 0 15px 30px; margin-top: -20px; }
.contactos .hall .titulos .emergencia h3 { font-size: 14px; color: #888; margin: 0; }
.contactos .hall .titulos .emergencia h3 span { padding-left: 30px; text-align: right; font-size: 20px; color: #B70600; font-weight: 700; }


.container.ctcts { margin-top: 70px; }

.container.ctcts .area { margin-bottom: 30px; }
.container.ctcts .area h2 { position: relative; color: #1F4666; font-size: 22px; padding-bottom: 3px; border-bottom: 2px solid #FFD300; margin: 0 0 30px 0; }
/*
.contactos .area h2:after { content: " "; position: absolute; bottom: 0; left: -1500px; width: 4000px; height: 2px; background: #FFD300; }
*/
.container.ctcts .area h2 span { display: inline-block; max-height: 40px; margin: 5px 15px 10px 0; }
.container.ctcts .area h2 span img { margin: auto 0 10px 0; }


.container.ctcts .place { margin: 0 0 35px 0; }
.container.ctcts .place h3 { color: #1F4666; font-size: 15px; margin: 3px 0 15px 0; }
.container.ctcts .place h4 { font-size: 13px; color: #a3a3a3; margin: 0; font-weight: 400; }
.container.ctcts .place p { color: #4B5F70; margin: 3px 0 12px 0; font-size: 15px; }
.container.ctcts .place p + p { margin-top: -15px; }

.container.ctcts .accordion { background: none; }
.container.ctcts .accordion-section-title { background: #F3F3F3; color: #B70600; font-weight: 500; text-transform: uppercase; text-shadow: none; border: 1px solid #ddd; margin-top: 3px; font-size: 13px; }
.container.ctcts .accordion-section:last-child .accordion-section-title { border-bottom: 1px solid #ddd; }

.container.ctcts .accordion-section-title.active,
.container.ctcts .accordion-section-title:hover,
.container.ctcts .accordion-section-title:focus { background: #eee; }

.container.ctcts .accordion-section-content { background: #fff; border: 1px solid #ddd; border-top: none; }
.container.ctcts .accordion-section-content b { display: block; color: #4B5F70; line-height: 1.1; }
.container.ctcts .accordion-section-content p { margin-bottom: 10px; }
.container.ctcts .accordion-section-content a:hover b,
.container.ctcts .accordion-section-content a:hover p { text-decoration: underline; }







/* MEDIA CENTER */
.mediacenter .hall { border-bottom: 6px solid #FFD300; background: #F5F5F5; }
.mediacenter .hall .container { position: relative; }
.mediacenter .hall .deco { width: 253px; height: 253px; position: absolute; right: 0; top: -20px; }
.mediacenter .hall .deco .ms-rtestate-field { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.mediacenter .hall .deco img { position: absolute; right: 0; top: -20px; }
				
.mediacenter .hall .titulos { min-height: 0; background: none; }
.mediacenter .hall .mediadesc { padding-top: 100px; }
.mediacenter .hall .mediadesc p { font-size: 18px; font-weight: 300; color: #4B5F70; text-align: right; }


.mediacenter .hall .mediatabs { position: relative; margin-top: 0px; }

.mediacenter .hall .mediatabs .tabinput { position: relative; font-size: 15px; color: #888; text-align: center; float: left; background: #fff; padding: 10px 30px; margin: 2px 0 0 0; border: none; outline: none;
-webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.4);
box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.4);
}
.mediacenter .hall .mediatabs .tabinput:hover,
.mediacenter .hall .mediatabs .tabinput:active { color: #444; padding: 12px 30px 11px 30px; margin: -1px 0 0 0;  }
.mediacenter .hall .mediatabs .tabinput.active { background-color: #FFD300; padding: 12px 30px; margin: -2px 0 0 0; color: #1F4666; font-weight: 700; }




/* SEM WOOKMARK E COM ROW */
.mediacenter .thumbs { position: relative; }
.mediacenter .mediathumbs { position: relative; margin-top: 25px; }
.mediacenter .mediathumbs h2.noresults { margin: 25px 0 100px 0; color: #275378; }
.mediacenter .mediathumbs .row { margin-bottom: 25px; }
.mediacenter .mediathumbs .col-md-4 a { display: block; overflow: hidden; }
    .mediacenter .mediathumbs .col-md-4 img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: 0.3s ease-out;
        -webkit-transition: 0.3s ease-out;
        transform: translate3d(0,0,0) scale(1);
        -webkit-transform: translate3d(0,0,0) scale(1);
    }

.mediacenter .mediathumbs .col-md-4 p { margin: 10px 0 0 0; font-weight: bold; line-height: 1.2; }
.mediacenter .mediathumbs .col-md-4 span { color: #555; font-size: 12px; }
.mediacenter .mediathumbs .col-md-4 a:hover p,
.mediacenter .mediathumbs .col-md-4 a:active p { text-decoration: underline; }
.mediacenter .mediathumbs .col-md-4 a:hover img { opacity: .7;
transform: translate3d(0,0,0) scale(1.05);
-webkit-transform: translate3d(0,0,0) scale(1.05); }




.mediacenter .filtros { text-align: right; margin: 30px 0 30px 0; }
.mediacenter .filtros .dropdown-toggle { border: 1px solid #ccc; padding: 5px 10px 5px 20px; color: #888; display: inline-block; text-decoration: none; }
.mediacenter .filtros .btn-group.open .dropdown-toggle { color: #1F4666; }

.mediacenter .filtros .dropdown-menu { border-radius: 0; }
.dropdown-menu > li > a { color: #888; }




/* MEDIA CENTER - NOTICIA */
.conteudo.noticia {}
.conteudo.noticia .hall { border: none; }
.conteudo.noticia .hall .titulos { min-height: 0; padding: 20px 0 0 0; width: 100%; }
.conteudo.noticia .hall .titulos h1 { margin-top: 35px; font-weight: 400; }
.conteudo.noticia .hall .titulos h6.data { color: #888; font-size: 14px; font-weight: 400; text-transform: uppercase;}
.conteudo.noticia .hall .titulos p.resumo { margin: 20px 0 35px 0; font-size: 16px; padding: 0px; border: none; }


.noticia .noticiabar { position: relative; margin-top: 80px; border-top: 3px solid #DDD; padding-top:10px; color:#888; }
.noticia .noticiabar .noticiabarleft { float: left; width: 80%; padding-top: 5px; }
.noticia .noticiabar .noticiabarleft a { margin:0 15px; color:#007AC4; }
.noticia .noticiabar .noticiabarright { float: right; width:20%; text-align:right; }
.noticia .noticiabar .noticiabarright a {display: inline-block; margin: 0 0 0 5px; }

.noticia .noticiabar .noticiabarright .sendpress { display: inline-block; margin: 0 0 0 5px; padding: 5px 15px; background: #777; color: #fff; }
.noticia .noticiabar .noticiabarright .sendpress input { padding: 0px; color: #fff; }
.noticia .noticiabar .noticiabarright .sendpress:hover,
.noticia .noticiabar .noticiabarright .sendpress:active { background: #344F6B; }

.noticia .noticiabar .noticiabarright .resultado { display: inline-block; margin: 0 0 0 5px; padding: 5px 15px; background: #344F6B; color: #fff; }


.conteudo.noticia .newsbody img:first-of-type { width: 100%; height: auto; }
.conteudo.noticia .newsbody .externalnew { border-radius: 0; padding: 6px 20px; margin: 30px 0; }



.noticia .noticiabar .backtomedia { position: absolute; top: -30px; color: #4B5F70; font-weight: 400; margin-left: -5px; }
.noticia .noticiabar .backtomedia:hover { color: #106DBD; }

.noticia .direita { margin-top: 85px; }
.noticia .sidebox { box-shadow: none; }
.noticia .sidebox .body { padding: 0; }
.noticia .sidebox .body p { font-weight: 700; margin-top: 3px; }
.noticia .sidebox header img { width: auto; display: inline-block; margin-top: -3px; }
.noticia .next .sidebox header img { margin-left: 8px; }
.noticia .previous .sidebox header img { margin-right: 8px; }

.noticia .direita .next,
.noticia .direita .previous { display: block; }
.noticia .next:hover .body p,
.noticia .previous:hover .body p { color: #106DBD; }



/* LEGISLACAO */
.lexbox { position: relative; padding-top: 50px; }
.lexbox #lextop { position: absolute; top: 0; }

.lexbox .pesquisa h4 { /* font-weight: 400; font-size: 15px; margin-bottom: 15px; */ }
.lexbox .top p { margin-top: -3px; text-align: left; }
.lexbox .pesquisa .form-control { height: 44px; padding: 6px 12px; font-size: 18px; line-height: 1.42857143; color: #1F4769; border: 3px solid #ddd; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; font-weight: 700;
-webkit-transition: border-color ease-in-out .15s;
-o-transition: border-color ease-in-out .15s;
transition: border-color ease-in-out .15s; }

.lexbox .pesquisa .btn-default { color: #a5a5a5; background-color: #ddd; border-color: #ddd; border-radius: 0; padding: 12px 20px; font-size: 14px; }
.lexbox .pesquisa:hover .btn-default { color: #1F4769; background-color: #1F4769; border-color: #1F4769; color: #fff; }
.lexbox .pesquisa:hover .form-control,
.lexbox .pesquisa .form-control:focus { border-color: #1F4769; }



.lexbox .indice { background: #fff; padding: 20px; border: 1px solid #ddd; margin: 30px 0 0 0; width: auto; display: inline-block; min-width: 50%; }
.lexbox .indice p { font-size: 13px; color: #555; font-weight: 700; margin: 0 0 10px 0; text-transform: uppercase; }
.lexbox .indice ul { padding: 0; margin: 0; list-style: none; }
.lexbox .indice ul li a { display: inline-block; padding: 3px 0 3px 20px; font-size: 15px; }
.lexbox .area { position: relative; padding-top: 20px; margin-top: 50px; }
.lexbox .area a.lextop { position: absolute; top: 35px; right: 0; }
.lexbox .area h2 { margin: 0 80px 30px 0; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
.lexbox .diploma { max-width: 85%; }
.lexbox .diploma h3 a { display: block; padding-bottom: 5px; border-bottom: 2px solid #ddd; }
.lexbox .diploma p { text-align: left; }

.lexbox .columns .row { margin-top: 20px; }
.lexbox .columns h2.termo { font-weight: 400; padding-bottom: 10px; border-bottom: 2px solid #ddd; margin: 30px 0 20px 0; }
.lexbox .columns h2.termo i { font-weight: 700; }

.lexbox p.area { margin-top: -10px; }
.lexbox .label { display: inline-block; padding: 5px 10px; font-size: 12px; font-weight: 400; line-height: 1; color: #777; border-radius: 0; background: #eee; }






/* ESTATISTICAS */
.statsbox { padding-top: 50px; }
.statsbox .row { margin-bottom: 50px; }
.statsbox .body .dado { position: relative; display: table-cell; width: 1%; }
.statsbox .dado td { vertical-align: middle; }
/* bootstrap icons */
.statsbox .dado .glyphicon { font-size: 40px; color: #4B7AA1; }
/* fontello icons */
.statsbox .dado i { font-size: 40px; color: #4B7AA1; }
.statsbox .dado .h5 { font-size: 38px; color: #B70600; font-weight: 400; padding-left: 10px; }
.statsbox .dado p { font-size: 14px; padding-top: 10px; max-width: 85%; text-align: left; border-top: 2px solid #B4D0E7; }

.statsbox h4 { padding: 0 20px 10px 0; margin: 70px 0 50px 0; font-weight: 300; border-bottom: 1px solid #ddd; font-size: 30px; text-align: center; }
 
 /* layout como legislacao */
 .statsbox .indice { background: #fff; padding: 20px; border: 1px solid #ddd; margin: 30px 0 0 0; width: auto; display: inline-block; min-width: 50%; }
.statsbox .indice p { font-size: 13px; color: #555; font-weight: 700; margin: 0 0 10px 0; text-transform: uppercase; }
.statsbox .indice ul { padding: 0; margin: 0; list-style: none; }
.statsbox .indice ul li a { display: inline-block; padding: 3px 0 3px 20px; font-size: 15px; }

.statsbox .area { position: relative; padding-top: 20px; margin-top: 50px; }
.statsbox .area a.lextop { position: absolute; top: 35px; right: 0; }
.statsbox .area h2 { color: #1F4769; margin: 0 80px 30px 0; border-bottom: 1px solid #ddd; padding-bottom: 5px; }






/* MAPA DO SITE */
.mapadosite { padding-top: 50px; }
.mapadosite .menureplica ul { padding: 0; }
.mapadosite .menureplica ul.parent li { list-style: none; }
.mapadosite .menureplica ul.parent > li { margin-top: 50px; }
.mapadosite .menureplica ul.parent > li > a { font-size: 20px; color: #B70600; font-weight: 500; border-bottom: 2px solid #ddd; display: block;}
.mapadosite .menureplica .sub { padding-top: 25px; }
.mapadosite .menureplica .sub h6 { margin-top: 0; }
.mapadosite .menureplica .sub h6 a { font-size: 15px; color: #1F4769; font-weight: 500; }
.mapadosite .menureplica .sub ul li { display: inline-block; padding-right: 20px; }
.mapadosite .menureplica .sub ul li.title { display: block; padding: 0 0 0 0px; margin: 10px 0; }
.mapadosite .menureplica .sub ul li.title b a { color: #337AB7; }
.mapadosite .menureplica .sub a i,
.mapadosite .menureplica .sub a .glyphicon { padding-left: 5px; }

.mapadosite .menureplica .sub ul li b { display: block; padding-right: 30px; }







/* PESQUISA */
.searchbox { padding-top: 50px; }

.searchtools { margin-bottom: 50px; }



.searchtools .form-control { height: 44px; padding: 6px 12px; font-size: 18px; line-height: 1.42857143; color: #1F4769; border: 3px solid #ddd; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; font-weight: 700;
-webkit-transition: border-color ease-in-out .15s;
-o-transition: border-color ease-in-out .15s;
transition: border-color ease-in-out .15s;
-webkit-transition-delay: 1s;
transition-delay: 1s;
}

.searchtools .btn-default { color: #555; background-color: #ddd; border-color: #ddd; border-radius: 0; padding: 12px 20px; -webkit-transition-delay: 1s;
transition-delay: 1s;
}

.searchtools .input-group:hover .btn-default { color: #1F4769; background-color: #1F4769; border-color: #1F4769; color: #fff;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}

.searchtools .input-group:hover .form-control,
.searchtools .input-group .form-control:focus { border-color: #1F4769;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}


.searchbox .resultados.noresults { min-height: 160px; }
.searchbox .resultados a.result { display: block; padding: 10px 0; }
.searchbox .resultados a.result ~ a.result { border-top: 1px solid #ddd; }
.searchbox .resultados a.result h3 { color: #337AB7; }
.searchbox .resultados a.result:hover h3,
.searchbox .resultados a.result:active h3 { color: #23527C; }
.searchbox .resultados a.result:active { padding-left: 5px; }















/*=============================  #################  =============================*/
/*=============================  #7. Media Queries  =============================*/
/*=============================  #################  =============================*/


/* HP News Slider Specific */
@media (max-width: 1599px) {
/*.newslider .montra a.activenews img { width: 1170px; max-height: 400px; } */
}

@media (max-width: 1199px) {
.newslider .montra a.activenews img { width: 100%; max-height: 400px; }
}

@media (max-width: 993px) {
.newslider .nestedtitle { left: 20px; opacity: .7; }
.newslider { background: none; }
.newslider .montra + .container { padding: 0; }
.newslider .montra .texto h2 { font-size: 16px; }
.newslider .carousel-control { background: none; }
.newslider .carousel-control.left { left: -35px; }
.newslider .carousel-control.right {  }
.newslider .thumb { width: 16.6666%; overflow: hidden; }
.newslider .thumb p.titulo { font-size: 13px; }
}

@media (max-width: 780px) {

.newslider .montra { display: none; }
.newslider .nestedtitle { position: relative; left: auto; top: auto; margin: 35px 0px -5px 0; opacity: 1; }
.newslider .nestedtitle a { font-size: 16px; font-weight: 500; color: #B70600; }
.newslider .nestedtitle a:hover,
.newslider .nestedtitle a:active { color: #1F4769; }


/* so vendo as primeiras 6*/
.newslider .item { display: none; }
.newslider .item.active { display: block; }
.newslider .carousel-control { display: none; }

.newslider .montra + .container { padding: 15px 15px 0 15px; }

.newslider .item { width: 100%; }
.newslider .item a { position: relative; display: block; }
.newslider .item .thumb { width: 100%; height: auto; display: block; min-height: 200px; max-height: 330px; }
.newslider .thumb img { position: relative; display: block; width: 100%; height: auto; max-height: none; }
.newslider .thumb.active .moldura { display: none; }
.newslider .thumb p.titulo { position: absolute; width: 100%; height: auto; top: auto; bottom: 0; margin: 0; left: 0; background: #fff; opacity: 1 !important; color: #101E2C; font-size: 14px; line-height: 1.2; font-weight: 500; padding: 10px 0 30px 0; text-transform: none; }

}
/* HP News Slider Specific */





@media (max-width: 1199px) {

/* capitanias */
.conteudo.polcap.all .hall { width: 100%; float: none; }
.polcap .mapas { float: none; margin: 50px auto; }

/* capitania detalhe */
.conteudo.polcap .mapa .mapadeco img { position: absolute; width: auto; height: 100%; }


.footer .legal p.copy { margin: 35px 0 0 70px; font-size: 11px; }
.footer .legal .right .mappable a { margin-left: 15px; }




} /*1199px*/









@media (max-width: 993px) {

/* BS */
.container { width: 100%; }

/* header */
.header .top .container { position: relative; padding: 0; }
.header .top .logo { float: none; margin-right: 50px; }
.header .top .logo a { text-decoration: none; }
.header .top .logo span { font-size: 16px; line-height: 1; }


.header .toplogos { position: absolute; float: none; top: 1px; right: 15px; }
.header .toplogos .topgov, .header .toplogos .topmar { margin: 0 0 0 30px; }

.header .topright { display: block; float: none; padding: 19px 0 20px 0; background: #1F4769;}
.header .topright .secmenu { display: none; }


.header .topright .emergencias { float: none; margin: 0; }
.header .topright .emergencias h6 { color: #fff; padding-right: 15px; margin: 0; }
.header .topright .emergencias h6 a { color: #fff; font-size: 16px; }
.header .topright .emergencias h6 span { margin-left: 30px; color: #fff; font-weight: 400; font-size: 16px; }
.header .topright .emergencias h6 span a { color: #fff; }

.header .topright .emergencias h6 .emerlink > a { font-size: 13px; }

.mobilemenu { position: relative; width: 80px; margin-top: -60px; display: block; }
.mobilemenu .navbar-toggle { position: relative; float: none; display: block; padding: 10px 20px 5px 20px; border: none; }
.mobilemenu .navbar-toggle .icon-bar { width: 32px; height: 5px; border-radius: 0; background: #fff; }
.mobilemenu .navbar-toggle .icon-bar + .icon-bar { margin-top: 7px; }

.mm-menu { background: #14314A; color: #ddd; z-index: 150; }
.mm-list a.mm-subopen { width: 52px; }
.mm-list a.mm-subopen:after,
.mm-list a.mm-subclose:before { width: 10px; height: 10px; }
.mm-menu .mm-list > li > a.mm-subopen:after, .mm-menu .mm-list > li > a.mm-subclose:before {
border-color: rgba(255, 255, 255, 0.7);
}

.mm-menu .mm-list > li > a.mm-subclose { color: rgba(255, 255, 255, 0.5); }
.mm-list a.mm-subclose:before { margin-bottom: -12px; }

.mm-list a.mm-subopen:after { right: 22px; }
.mm-list > li > a,
.mm-list > li > span { padding: 15px 10px 15px 20px;}

.mm-menu .mm-list {}
.mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-search):not(.mm-noresults):after {
margin-left: 0px; }

/* mmenu com pesquisa */
.mm-menu .modal-content { border-radius: 0; background: #1D354D; padding: 10px 0 20px 0; }

.mm-menu .inputbox,
.mm-menu .inputbox * { box-sizing: border-box; }


.mm-menu .inputbox { position: relative; width: 92%; margin: 0 auto 20px auto; }
.mm-menu .inputbox a { display: none; }
.mm-menu .inputbox .maininput { display: block; width: 100%; background: #223e5a; border: 1px solid #35618C; outline: none !important; box-shadow: none; padding: 4px 40px 4px 20px; font-size: 21px; color: #fff; font-weight: 300; height: 50px; line-height: 50px; }
.mm-menu .inputbox .lupa { position: absolute; right: 13px; top: 13px; }


.mainatalhos .mainatalhosbox { display: none; }
	
/* footer */
.footer { padding: 0; }
.footer .footermenu { display: none; }
.footer .legal { background: none; }
.footer .legal .left { background: none; }
.footer .legal .left:after { display: none; }
.footer .legal p.copy { float: none; display: block; clear: both; margin: 0 -15px; text-align: center; padding: 20px; background: #101E2C; font-size: 12px; }

/* google translate*/

.footer .legal .right .link.translate { float: left; }
.footer .legal .right .link.translate > a { display: block; font-size: 12px; margin-top: 8px; color: #777; }



/* atalhos hp */
.atalhosrapidos .linha { border-top: none; }
.atalhosrapidos .linha .atalho { display: block; border-right: none; border-bottom: 10px solid #fff; height: 220px; overflow: hidden; }
.atalhosrapidos .atalho.ata25 { width: 50%; }
.atalhosrapidos .atalho.ata50,
.atalhosrapidos .atalho.ata75 { width: 100%; }
.atalhosrapidos .linha .atalho ~ .atalho { border-left: none; }
.atalhosrapidos .linha .ata25 ~ .ata25 { border-left: 10px solid #fff;; }
.atalhosrapidos .atalho img { margin: 0px !important; }

.sideatalhos { display: none; }


.conteudo a.backtotop span { color: #337AB7; }





/* PAGINAS GENERICAS */
.conteudo .hall .titulos { width: 50%; background: #fff; }
.conteudo.generica .maincontent .centro { padding-left: 15px; }
.conteudo.generica .maincontent .direita {}
.conteudo.generica .maincontent .direita .sidebox.gallery { margin-top: 30px; }

/* secundarias */
.conteudo.gensec .hall .titulos { margin-left: -5px; }
.conteudo.gensec .hall .sidedesc { padding-top: 10px; }
.conteudo.gensec .hall .sidedesc p { font-size: 16px; font-weight: 400; text-align: left; }
.conteudo.gensec .hall .deco { top: -25px; }

/* media */
.mediacenter .hall .mediatabs .tabinput { padding: 10px 20px; }
.mediacenter .hall .mediatabs .tabinput:hover, .mediacenter .hall .mediatabs .tabinput:active { padding: 11px 20px; }
.mediacenter .hall .titulos { width: 100%; }
.mediacenter .hall .mediadesc { padding-top: 20px; padding-bottom: 20px; }
.mediacenter .hall .mediadesc p { text-align: left; padding: 0 20px; }
.mediacenter .mediathumbs .row { margin-bottom: 0; }
.mediacenter .mediathumbs .row .col-md-4 { margin-bottom: 50px; }
.mediacenter .mediathumbs .col-md-4 p { font-size: 18px; margin: 10px 0 0 0; }


/* POLCAP */
.conteudo.polcap .mapa { position: relative; overflow: hidden; }
.conteudo.polcap .container.topo { padding: 0px; }
.conteudo.polcap .hall .titulos p { font-size: 16px; }
.conteudo.polcap .hall .capitao { display: none; }
.conteudo.polcap .topo .direita { display: none; }

.conteudo.polcap .container.fundo .esquerda,
.conteudo.polcap .container.fundo .direita{ padding-left: 0; padding-right: 0; }

.conteudo.polcap .ctct { border-top: 1px solid #CCC; }
.conteudo.polcap .docs { padding: 10px 5px 0px 5px; }
.conteudo.polcap .docs h6 { font-size: 16px; margin-top: 30px; }
.conteudo.polcap .estadobarras { margin: 50px 0; padding: 30px 20px; background: #f5f5f5; }
.conteudo.polcap .estadobarras ~ .estadobarras { margin-top: -110px; }
.conteudo.polcap .estadobarras .baloes { background: #fff; }
.conteudo.polcap .estadobarras .sinais { margin-bottom: 0; }
.estadobarras .sinais h4 { margin: 30px 0 15px 0; }
.estadobarras .baloes th { padding-left: 15px; }
.conteudo.polcap .direita .sidebox { margin: 0 20px 50px 20px; }
.avisosnav { background: #F5F5F5; margin-left: -15px; margin-right: -15px; }
.avisosnav img { display: none !important; }
.avisosnav span { position: relative; display: block; color: #106DBD; bottom: auto; left: auto; font-size: 30px; padding: 30px; line-height: 1.2; }





/* CTCT */
.container.ctcts .area { margin-bottom: 70px; }


/* LEX */
.lexbox .columns h2.termo { margin-top: 60px; }
.lexbox .pesquisa .btn-default { color: #777; }
.lexbox .columns .row { margin-top: 0px; }
.lexbox .col-md-4 { margin-bottom: 40px; }
.lexbox .diploma { max-width: 100%; }



/* ultima hora */
.ultimahora img { width: auto; max-width: 100%; height: auto; margin-top: 20px; }

/* 404 */
.error-page .error-content { padding: 50px 20px; background: none; margin: 50px 0 250px 0; }
.error-page .error-content h2,
.error-page .error-content p { margin: 0; }

} /* 992px */






@media (max-width: 780px) {
.header .toplogos { display: none; }
.sidebox.stats .body { display: block; }
.sidebox.stats .body .dado { display: block; width: 100%; }

.polcap .back { min-height: 0; }
.polcap .mapas { display: none; }
.conteudo.polcap.all .hall { width: 50%; }
.polcap .lista { display: block; }
.polcap .lista .sub { display: block; width: 100%; padding-left: 20px; }
.polcap .lista a { display: block; padding: 5px 0; font-size: 16px; }


/* footer */
.footer .legal .right { float: none; text-align: center; padding: 15px 0; }

.footer .legal .right .mappable {  }
.footer .legal .right .mappable a { display: inline-block; margin: 8px 25px 0 0; }
.footer .legal .right .socials { float: right; margin: 0; }
.footer .legal .left { float: none; padding: 25px 0; clear: both; text-align: center; border-top: 1px solid #2D4B69; margin-top: 34px; }
.footer .legal .left a.marinhabtn,
.footer .legal .left a.gov { float: none; display: inline-block; }



} /* 780px */









@media (max-width: 480px) {

.header .top .logo { margin: 0; }
.header .top .logo span { float: left; margin-left: 130px; margin-top: -63px; max-width: 250px; }


.header .topright { padding: 0; margin: 0; background: #1A3D5A; }
.header .topright .emergencias { padding: 10px 0; }
.header .topright .emergencias h6 span,
.header .topright .emergencias h6 span a { font-size: 14px; color: gold; }
.mobilemenu { margin-top: 0px; padding-bottom: 6px; background: #1F4769;; width: 100%; }
.mobilemenu .navbar-toggle { margin: 0px; }

/*
.mobilemenu { margin-top: -80px; }
.header .topright .emergencias { width: 50%; margin-left: 50%; }
.header .topright .emergencias .emerlink,
.header .topright .emergencias span { display: inline-block; padding: 3px 0; }
*/
/* atalhos */
.atalhosrapidos .linha .atalho { border: none !important; border-bottom: 15px solid #fff !important; }
.atalhosrapidos .atalho.ata25,
.atalhosrapidos .atalho.ata50,
.atalhosrapidos .atalho.ata75 { width: 100%; }
.atalhosrapidos .atalho img { height: 100%; width: auto; }

/* GENERICAS */
.conteudo .hall .vector * { display: none; }
.conteudo .hall .container { padding: 0; }
.conteudo .hall .titulos { width: 100%; }
.conteudo.gensec .hall { padding: 0 15px; }


/* polcap */
.conteudo.polcap.all .hall { width: 100%; }

/* stats */
.statsbox .row { margin-bottom: 0; }
.statsbox .row .dado { margin-bottom: 50px; }
.statsbox .dado p { max-width: 100%; display: inline-block; }


/* ctct */
.container.ctcts .area h2 span { display: block; margin: 0 0 10px 0; }


/* ultima hora */
.ultimahora img { display: none; }


.mapadosite .menureplica .sub ul li { display: block; }
.mapadosite .menureplica .sub ul li a { padding: 3px 0; display: inline-block; }

.footer .legal .right .link.translate { float: none; margin-bottom: 20px; text-align: left; }
.footer .legal .right .link.translate .hiddentranslate { right: auto; left: 0; }

} /* 480px */










/* FANCYBOX */
/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('fancybox_sprite2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('fancybox_loading2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}








