/* Document   : estilos
   Created on : 23/02/2013, 14:57:06
   Author     : Mauro Cruz Brazil
   Description: Purpose of the stylesheet follows para screen < 320px.
*/

@import "estilos-min.css";
@import url('https://fonts.googleapis.com/css?family=Merriweather:ital,wght@0,400;1,700;1,900&display=swap');

/* ELEMENTS for screen < 320px
============================================================================= */ 
body{ background-color: #f0f1e8; font-family: 'Merriweather', serif; }

h1{ width: 100%; }
h2{ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 130%; color: #DF7300; font-weight: bold; clear: both; text-align: left; margin-bottom: 0.3em; line-height: 1.2em; flex-basis: 100%; }
h3{ font-size: 1.2em; margin: 30px 0 5px; }
h3 a{ color: inherit; text-decoration: underline; font-weight: normal; }
h4{ font-size: 1.2em; color: #666; margin: 10px 0 5px; }
p{ word-wrap: break-word; line-height: 1.4em; }
a{ text-decoration: underline; color: #006600; font-family: inherit; }

/* STRUCTURE _ header
============================================================================= */
.header-images{ overflow: hidden; position: relative; }
.header-img{ position: relative; height: auto; width: 100%; overflow: hidden; }
.header-img img{ width: 120%; }
.content-header { margin: 5px 5px 0; }

/* COMPONENT _ menu 
============================================================================= */
#menubutton img{ margin-right: 2px; }
.header-formsearch--input { border: 0; border-right: 1px #999 solid;  border-bottom: 1px #999 solid; border-radius: 5px; color: #90502C; font-size: 100%; background-color: #F0F1E8; min-height: 28px; }
.header-menu--item{ background-image: linear-gradient( to bottom, rgb(184,120,84),rgb(144,80,44) 70% ); margin-bottom: 0; font-family:  Arial, sans-serif; }
.header-menu--item figcaption{ font-size: 20px; }


/* STRUCTURE _ content
============================================================================= */
/* COMPONENT _ navigation */
.navigation{ color: #050C75; clear: both; margin: 5px 1% 10px; list-style: none; padding-left: 0; }
.navigation a{ text-decoration: none; }
.navigation li{ display: inline; }
.breadcrumb-link-thispage{ color: inherit; text-decoration: none !important; }

/* STRUCTURE _ aside
============================================================================= */
/* aside-menu */
.aside-menu{ background: url('/portal/public/images/layout/background_rightColumn.jpg') repeat-y; background-size: 208px auto; width: 200px; margin: 0 auto 10px; text-align: left; overflow: hidden; }
/* menu-janela */
.aside-menu-janela .button-figure-ico{ 
    background: #ebf3ff; width: 150px; 
    border: none; border-top: 1px #5d6470 solid; border-left: 1px #5d6470 solid;border-radius: 0; box-shadow: none;
    display: flex; display: -webkit-flex; 
    margin: 8px auto; padding: 0px; 
    overflow: hidden; 
} 
.aside-menu-janelacima{ }
.aside-menu-janela .button-figure-ico img { padding: 2px; width: 30px; }
.aside-menu-janela .button-figure-ico figcaption a{ font-family: "VinqueRegular"; font-weight: 400; margin-top: 2px; line-height: 1; }
.aside-menu-janela .button-figure-ico:hover{ background: #d3e4ff; }
.aside-menu-janela .button-figure-ico figcaption em { font-size: 90%; }
.aside-menu-janela .button-figure-ico a{ text-decoration: none; color: #050c75; display: block; }
.aside-menu-janela .button-figure-ico a:hover { background: #d3e4ff; }
.aside-menu-janelabaixo{ line-height: 0; }

/* COMPONENT _ aside-banner
============================================================================= */
/* aside banners */
.aside-banners{ margin-bottom: 30px; text-align: center; }
.aside-banners h2{ font-size: 1em; margin-left: 3px; }

.aside-banner-iframe{ width: 200px; height: 266px; overflow: hidden; border: 0; }

.aside-banners--section{ margin-bottom: 10px; overflow: hidden; width: 100%; position: relative; }
.aside-banners--section a{ color: white; text-decoration: none; }
 /* titulo */
.aside-banners--section h1{ 
    position: absolute; top: 35px; left: 0; 
    border: none; border-top-left-radius: 10px; border-top-right-radius: 10px;
    font-size: 1.3em; font-family: sans-serif; font-weight: 700; text-shadow: 2px 2px 2px #333; 
    text-align: center; line-height: 1.6em;
    padding: 10px 6px; 
    background: rgba(252,222,86,1); 
    width: 94%; z-index: 10; 
}
.aside-banners--section h2{ font-size: 1.1em; margin: 10px 0 40px; width: 100%; height: 20px; }
.aside-banners--ad{ position: relative; display: flex; overflow: hidden; }
.aside-banners--ad figure{ position: relative; width: 100%; }
.aside-banners--ad img{ width: 100%; /* border: gainsboro 2px solid;*/ border-radius: 10px; }
.aside-banners--ad figcaption{ 
    position: absolute; bottom: 0px; left: 0; 
    border: none;  border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; 
    font-size: 1em; font-family: sans-serif; font-weight: 700; text-shadow: 2px 2px 1px #333; 
    white-space: nowrap; line-height: initial; 
    padding: 5px 4%; width: 92%; 
    background: rgba(0,0,0,0.5); 
}
.aside-banners--ad a{ color: white; }

/* STRUCTURE _ footer
============================================================================= */
.footer h1{ background: none; font-family: 'Merriweather',Georgia,"Times New Roman", Times, serif; font-size: 15px; margin: 0.4em 0 0; padding: 0; font-weight: bold; border: none; }
.footer a{ color: #006600; }
.footer-content { overflow: hidden; text-align: center; padding: 0.5em 0; }
/* links */
.footer-links{ float: left; width: 50%; }
.footer-links ul{ margin: 0; list-style: none; padding: 0; }
.footer-links li{ margin: 0.6em 0; text-overflow: ellipsis; padding: 0; }
.footer-links li a{ background-color: #e8e3d6; box-shadow: 2px 2px 1px #888; border-radius: 3px; padding: 0.3em 0.5em; text-decoration: none; display: inline-block; color: #060; }
/* policy */
.footer-policy{ float: left; width: 50%; }
.footer-policy p{ font-size: 0.85em; padding: 1em; margin: 0; }
.footer-policy a{ color: #e8e3d6; }
/* assinatura */
.assinatura{ background-color: rgba(255,255,255,0.65); clear: both; text-align: center; padding: 0.5em; font-size: 0.9em; background-color: white; opacity: 0.65; }
.assinatura p{ line-height: 1.8em; color: #600; margin: 0; }

/* TITLE */
.title-h1{ font-family: "VinqueRegular","Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 150%; font-weight: normal; line-height: 1; background-image: url('/portal/public/images/icons/ico27.jpg'); background-size: auto 35px; background-repeat: no-repeat; background-position: left center; padding: 5px 0 5px 45px; border-bottom: 1px #060 solid; margin: 0 0 12px; padding-right: 2%; width: auto; min-height: 25px; flex-basis: 100%; }

/* SHARED
============================================================================= */
h1.ico01{ background: url('/portal/public/images/icons/ico01.jpg') no-repeat left center; }
h1.ico02{ background: url('/portal/public/images/icons/ico02.jpg') no-repeat left center; }
h1.ico03{ background: url('/portal/public/images/icons/ico03.jpg') no-repeat left center; }
h1.ico05{ background: url('/portal/public/images/icons/ico05.jpg') no-repeat left center; }
h1.ico06{ background: url('/portal/public/images/icons/ico06.jpg') no-repeat left center; }
h1.ico09{ background: url('/portal/public/images/icons/ico09.jpg') no-repeat left center; }
h1.ico10{ background: url('/portal/public/images/icons/ico10.jpg') no-repeat left center; }
h1.ico11{ background: url('/portal/public/images/icons/ico11.jpg') no-repeat left center; }
h1.ico19{ background: url('/portal/public/images/icons/ico19.jpg') no-repeat left center; }
h1.ico20{ background: url('/portal/public/images/icons/ico20.jpg') no-repeat left center; }
h1.ico21{ background: url('/portal/public/images/icons/ico21.jpg') no-repeat left center; }
h1.ico24{ background: url('/portal/public/images/icons/ico24.jpg') no-repeat left center; }
h1.ico25{ background: url('/portal/public/images/icons/ico25.jpg') no-repeat left center; }
h1.ico26{ background: url('/portal/public/images/icons/ico26.jpg') no-repeat left center; }
.ico28{ background: url('/portal/public/images/icons/ico28.jpg') no-repeat left center; width: auto; }
h1.ico30{ background: url('/portal/public/images/icons/ico30.jpg') no-repeat left center; }
h1.ico33{ background: url('/portal/public/images/icons/ico33.jpg') no-repeat left center; }
h1.ico36{ background: url('/portal/public/images/icons/ico36.jpg') no-repeat left center; }
h1.ico37{ background: url('/portal/public/images/icons/ico37.jpg') no-repeat left center; }
.nowrap{ white-space: nowrap; }  
.aviso{ padding: 30px 6%; text-align: center; border: 1px #800000 solid; border-radius: 10px; background-color: rgba(144, 80, 44, 0.45); color: #330000; margin: 15px 9% !important; width: 70%; font-size: 120%; } 
.social-buttons{ display: none; }
a.h2{ color: #DF7300; text-decoration: none; }
a.texto{ color: #660626; text-decoration: none; }
img.border{ border: 1px #ccc solid; padding: 3px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; }
dl.dlrel { width: 100%; background-color: rgba(255,255,255,0.75); padding: 5px; font-size: 0.9em; margin: 3px 0; }
dl.dlrel dt { color: darkslategray; }
dl.dlrel dd { margin-left: 15px; color: #777; }

/* fonts */
@font-face{
    font-family: 'VinqueRegular';
    src: url('vinque-webfont.eot');
    src: url('vinque-webfont.eot?#iefix') format('embedded-opentype'),
         url('vinque-webfont.woff') format('woff'),
         url('vinque-webfont.ttf') format('truetype'),
         url('vinque-webfont.svg#VinqueRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* BUTTONS */
.button-figure-ico{ border: 1px gray solid; border-radius: 5px; margin-bottom: 10px; padding: 5px; background-color: rgba(144,80,44,0.45); box-shadow: 2px 2px 2px #999999; }
.button-figure-ico:hover{ background-color: rgba(144,80,44,0.30); }
.button-figure-ico img{ vertical-align: middle; }
.button-figure-ico figcaption{ display: inline; }
.button-figure-ico figcaption a{ color: #330000; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; text-decoration: none; }
a.button{ background-color: #e8e3d6; box-shadow: 2px 2px 1px #888; border-radius: 3px; padding: 0.3em 0.5em; text-decoration: none; display: inline-block; color: #060; }
.h2-button{ background-color: #e8e3d6; color: #DF7300; display: block; margin-top: 5px; box-shadow: 3px 3px 3px #888; padding: 5px; border: 1px dotted gray; border-radius: 3px; text-decoration: none; }

/* BACKGROUNDs */
.celula{ border-bottom: 1px dotted gray; box-shadow: 3px 3px 3px #888; margin-bottom: 15px; overflow: hidden; background-color: #f0f1e8; padding: 0.6em; }

/* PARAGRAFOS */
.legenda, .box-index--figureText figcaption{ background-color: #e7e7e7; padding: 0.3em; font-style: italic; font-size: 85%; text-align: center !important; text-indent: 0 !important; margin-top: 0 !important; color: #333; width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; line-height: 1.2; }

/* COMPONENT _ box-indexes
============================================================================= */
/* somente imagem e titulo sobrepostos */ 
.box-index-content{ position: relative; overflow: hidden; border: 1px solid gainsboro; padding: 0; margin: 20px 6%; border-radius: 5px; background-color: rgba(255,255,249,0.5); line-height: 0; } 
.box-index-content figcaption{ position: absolute; bottom: 0; left: 0; color: white; background: rgba(0,0,0,0.5); line-height: normal; font-family: sans-serif; width: 92%; padding: 4px 4%; }
.box-index-content figcaption a{ color: white; text-decoration: none; }

/* titulo sobreposto à imagem */
.titleOverImage, 
.box-index-content h2, 
.box-index--figureText h2 { 
    position: absolute; top: 0; left: 0px; padding: 0 2%; 
    color: white; text-shadow: 2px 2px 2px black; 
    line-height: 1.1em; z-index: 10; font-size: 1.8em;
}
.titleOverImage a, 
.box-index-content h2 a, 
.box-index--figureText h2 a{ color: inherit !important; text-decoration: none; }

/* imagem à esquerda com titulo à direita*/
.box-index-figureLeft{ position: relative; display: block; overflow: hidden; margin: 8px 0; background-color: rgba(255,255,255,0.7); border-radius: 3px; width: 100%; }
.box-index-figureLeft h2{ display: inline-block; width: 63%; }
.box-index-figureLeft figure{ float: left; width: 35%; margin-right: 2%; }
.box-index-figureLeft p{ margin: 0; }
.box-index-figureLeft .button{ font-size: 80%; color: #555; }

/* imagem com titulo e texto */
.box-index--figureText { position: relative; display: block; overflow: hidden; margin: 8px 0; background-color: rgba(255,255,255,0.7); border-radius: 3px; width: 100%; }
.box-index--figureText figure{ text-align: center; position: relative; }
.box-index--figureText figure a{ text-decoration: none; color: inherit; }
.box-index--figureText figure figcaption{ position: absolute; bottom: 0; left: auto; right: auto;  }
.box-index--figureText p{  color: #555; font-size: 0.9em; margin: 0; line-height: initial; padding: 5px; }
.box-index--figureText p a{  color: inherit; text-decoration: none; }
.box-index--figureText-square { width: 90%; margin: 30px 5%; }

/* icon with text */
.box-index--icoText { width: 100%; margin: 10px 0; background-color: rgba(255,255,255,0.7); overflow: hidden; position: relative; }
.box-index--icoText a{ text-decoration: none; color: inherit; }
.box-index--icoText a:hover{ text-decoration: underline; }
.box-index--icoText p{ margin: 0 5px 5px !important; color: #555; font-size: 0.9em; order: 3; }
.box-index--icoText h2 { order: 4; margin: 3px 3px 8px; display: inline-block; max-width: calc(80% - 6px); }
.box-index--icoText h2 a{ color: #DF7300;  }
.box-index--icoText ul{ list-style: none; padding: 0; margin: 10px 0 0; max-width: 100%; display: flex; flex-wrap: wrap; }
.box-index--icoText li{ margin: 5px; margin-bottom: 10px; }
.box-index--icoText li a{ background-color: #f0f1e8; padding: 3px; border: 1px white solid; border-radius: 3px; box-shadow: 1px 1px 1px #333; white-space: nowrap; }
.box-index--icoText figure { float: left; margin-right: 10px !important; overflow: hidden; max-width: calc(20% - 10px); }
.box-index--icoText img{ vertical-align: top; }

/* COMPONENT _ gallery
============================================================================= */ 
.gallery{ clear: both; text-align: center; }
.gallery a{ color: white; text-decoration: none; }
.gallery-figure { margin: 20px 0; position: relative; overflow: hidden; line-height: 0; background-color: rgba(0,0,0,0.4); border-radius: 3px; }
.gallery-figure figcaption{ line-height: normal; width: 96%; padding: 5px 2%; color: #eee; font-style: italic; font-size: 85%; }

/* COMPONENT _ overlay
============================================================================= */
#overlay{ background-color: rgba(0,0,0,0.5); position: absolute; left: 0; top: 0; width: 100%; z-index: 100; }
#overlayWrapper{ z-index: 101; }

/* PAGE _ videos
============================================================================= */
.listavideos figure{ text-align: center; }
.listavideos a{ text-decoration: none; }
.videoview{ background-color: #333; text-align: center; }
.videoview h2{ text-align: center; color: white; }
.videoview video{ max-width: 100%; }
.videoview p{ color: white; font-size: 0.8em; text-align: center; width: 80%; padding: 0 10%; }

/* COMPONENT _ weather
============================================================================= */
.weather { width: auto; height: 200px; overflow: hidden; }

/* MEDIA QUERIES
============================================================================= */ 
@media (min-width:420px){
    .main{ display: flex; flex-wrap: wrap; justify-content: space-around; }
    .box-index-content{ width: 47%; margin: 5px 0; }
    .box-index--figureText h2{ display: inline-block; font-size: 1.4em; position: relative; color: #DF7300; text-shadow: none; width: 56%; padding: 0; }    
    .box-index--figureText figure{ float: left; margin-bottom: 5px; width: 40%; margin-right: 10px; line-height: 0; }
    .box-index--figureText figcaption{ position: relative !important; }
    
    .box-index--figureText-square { width: 47%; margin: 8px 0; }
    .box-index--figureText-square h2{ color: white; position: absolute; top: 0; left: 5px; text-shadow: 2px 2px 2px black; line-height: 1; z-index: 10; font-size: 2em; width: auto; }
    .box-index--figureText-square h2 a{ color: white !important; text-decoration: none; }
    .box-index--figureText-square figure{ float: none; width: 100%; }
    
    .listavideos figure{ float: left; margin-right: 10px; }
    
    .box-index-figureLeft{ position: relative; width: 48%; }
    .box-index-figureLeft h2{ position: absolute; top: 5px; left: 1%; color: #eee; text-shadow: 2px 2px 2px black; line-height: 1; margin: 0; font-size: 150%; }
    .box-index-figureLeft figure{ float: none; width: auto; line-height: 0; margin: 0; }
    .box-index-figureLeft p{ position: absolute; bottom: 0; right: 0; }
    
    /*.flex50{ width: 48%; }*/
}

@media (min-width:640px){
    .wrapper{ background: url('/portal/public/images/template/background_main.jpg'); }
}

@media (min-width:768px){
    /* STRUCTURE */
    .main{ padding: 10px 0; }
    .navigation{ margin: 5px 0 10px; }
    /* HEADER */
    .header{ background-color: #083185; }
    .header-img{ height: 40vw; bottom: 50px; }
    .header-telhado{ display: block; position: absolute; bottom: 0px; left: 0; width: 100%; }
    .header-telhado img{ width: 100%; }
    /* MENU */
    .header-menu{ font-size: 18px; }
    .header-menu a{ font-weight: 400; }
    #barmenu{ display: none; } 
    .contentmenu{ display: -webkit-flex; display: flex; justify-content: space-between; }
    #formsearch{ display: block; -webkit-order: 0; order: 0; }
    .header-menu--list{ padding: 0; width: auto; white-space: nowrap; width: 100%; display: flex !important; flex-flow: row wrap;  }
    .header-menu--item { margin: 0; border-top: none; border-bottom: none; border-left: none; border-radius: 0; padding: 5px 7px; line-height: 1.4; -webkit-order: 0; order: 0; }
    .header-menu--item img{ display: none; margin-right: 5px; }
    .header-menu--item figcaption{ font-size: 16px; white-space: nowrap; }
    .submenu-container{ -webkit-order: 1; order: 1; width: 100%; background-color: #b67c53; margin: 0; display: none; flex-direction: row; -webkit-flex-direction: row; border: none; color: #800; border-radius: 0; padding: 0; }
    .submenu-content{ font-size: 0.65em; border-right: gainsboro 1px solid; padding: 12px 10px; margin: 0; height: 12px; }
    .submenu-content a{ color: #FFF; }
    .submenu-content h1{ white-space: nowrap; }
    .submenu-content h2{ white-space: nowrap; }
    /* PESQUISAR */
    .header-formsearch{ margin: 5px 1%; position: relative; text-align: right; flex-basis: 18%; flex-grow: 2; }
    .header-formsearch--input{ font-size: 0.65em; padding: 3px 3%; max-width: 80%; color: #330000; display: inline-block; min-height: 26px; }
    .header-formsearch--input::-webkit-input-placeholder{ color: #330000; }
    .header-formsearch--lupa{ border: 1px gainsboro solid; cursor: pointer; border-radius: 3px; padding: 3px; margin: 3px; }
    .header-formsearch--lupa{ width: 20px; margin: 0 0 0 4%; padding: 2px; display: inline-block; vertical-align: bottom; }
    
    .container { position: relative; }
    /* ASIDE */
    .aside{ position: relative; }
    /* poste */
    .aside-poste{ display: block; position: absolute; bottom: -1px; right: 0; line-height: 0; }
    /* FOOTER */
    .footer{ background: url('/portal/public/images/template/background_footer.jpg') no-repeat right top; padding-top: 88px; height: auto; font-size: 0.95em; font-weight: bold; }  
    .footer-content{ height: 188px; overflow: hidden; text-align: center; padding: 10px 1% 0 1%; }
    .footer-content h1{ color: #993300; }
    .footer .footer-links{ width: 33%; padding: 0; }
    .footer .footer-links li{ margin: 0; padding: 0; }
    .footer .footer-links a{ background: none; border: none; border-radius: 0; box-shadow: none; color: #fd0; text-shadow: 1px 2px 3px #000; line-height: 1.5em; }
    .footer .footer-links a:hover{ color: #800; text-shadow: none; }
    .footer .footer-links--ulLeft{ width: 50%; float: left; line-height: 2em; }    
    .footer .footer-links a.button{ line-height: 1.5em; } 
    .footer-policy{ width: 47%; margin: 0 10%; color: #660000; margin-top: 10px; background-color: rgba(255,255,255,0.5); }
    .footer-policy p{ font-weight: normal; }
    .footer-policy a{ font-weight: normal; color: #660000; text-decoration: underline; } 
    .social-buttons{ width: 100%;
        display: -webkit-flex; 
        -webkit-flex-wrap: wrap;
        display: flex;
        flex-wrap: wrap;
    }
    .social-buttons h6{ width: 100%; text-indent: 0 !important; }
    .social-buttons figure{ margin: 5px 5px 0 0; }
    
    /* galleries images */
    .gallery{ display: flex; flex-wrap: wrap; justify-content: space-around; align-items: stretch; }
    .gallery-figure{ width: 48%; margin: 6px 1%; }
}

@media (min-width:800px){
    .header-menu--item{ padding: 5px 8px; }
    .header-formsearch{ flex-basis: 19%; }
}

@media (min-width:900px){
    .header-menu--item{ padding: 5px 12px; }
    .box-index-content h2{ font-size: 1.8em; }
}

@media (min-width:1002px){
    .footer{ background-size: 100%; }
}

@media (min-width:1024px){
    body{ background: url("/portal/public/images/template/body_background.jpg") repeat-y scroll center center #0B3410; }
    #wrapper{ max-width: 1024px; margin: 0 auto; background: url('/portal/public/images/template/wrapper_background.jpg') repeat scroll 0 0 #EBEBE3;  background-size: 1024px 306px; position: relative; } 
    .header-img{ height: 360px; bottom: 40px; }
    #container{ padding: 6px 40px; }
    .aside-poste{ right: 1px; bottom: 0; }
    .footer{ background-position-y: -6px; }
    .classMenu > li{ margin-right: 6px; }
    .header{ background-color: transparent; }
    .header-menu{ background-color: transparent; margin: 5px 40px 0; }
    .header-menu--list figure{ border-radius: 3px; border: 1px solid #999; padding: 3px 12px; margin-right: 1px; }
    .header-formsearch{ margin: 3px 0; }
    .header-formsearch--input{ background-color: rgba(144,80,44,0.45); height: 33px; max-width: 167px; }
    .header-formsearch--lupa{ border-color: #999; border-width: 0 1px 1px 0; border-radius: 5px; background-color: rgba(144,80,44,0.45); }
}    
