/**
* CAAD-5 template customization
*
* @framework    iC.Web - Content Management System
* @copyright  Copyright © 2006-2019 Ideia Central Consulting, Lda
* @link       http://www.ideiaCentral.com/
*
* @project    caad-site
* @category   Template
* @author     Nuno Rodrigues
* @version    1.6.6.20190221
*
**/


/* ------------ LOADING FONTS ------------- */


/* NR.2019-02-21 - Montserrat - Menu replacement */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');



/* Menu icons */
@font-face {
  font-family: "icon";
  src: url("./fonts/icon.woff") format("woff"), /* Modern Browsers */
    url("./fonts/icon.woff2") format("woff2"); /* Modern Browsers */
}


/*
* ------------------------------------------
*          OVERRIDE BASE TEMPLATE
* ------------------------------------------
*/


/* ------------- PREVENTING TEMPLATE FROM BEING RESPONSIVE ----------------- */


.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 984px !important;
    max-width: 984px !important;
}


@media (max-width: 984px) {
    .header .brand {text-align: left;float: left;}
    .header .nav.pull-right, .header-search {float: right;}
    .nav-pills > li {float: left;}
    [class*="span"], .uneditable-input[class*="span"], .row-fluid [class*="span"] {width: 23.4043%; }
    .row-fluid .span6 {width: 48.9362%; }
    .row-fluid [class*="span"] {float: left;margin-left: 2.12766%;}
    .row-fluid .span4 {width: 31.9149%}
    .row-fluid .span9 {width: 74.4681%;}
    .row-fluid .span9 {width: 100%;}
    .well {padding: 19px;}
}



/* ------------ FIXING STUFF ------------- */


/* Changing General fonts */
body {
    font-family: 'Montserrat','Arimo', Arial, Helvetica, 'Bitstream Vera Sans', sans-serif;
  font-size: 13px;
    font-weight: normal;
  font-style: normal;
  font-variant: normal;
  font-stretch: normal;
    line-height: 18px;
  color: #606060;


    padding: 0 !important;
    border-top: none !important;
    margin: 0 5px;
    background-color: #fff;
}

body.site { background-color: #fff;}

/* Clearing the container borders in fixed layout mode */
.container {
  border: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
    padding: 0 !important;
}


/* Header separation */
.header {margin-bottom: 0;}

/* Logo position */
.header .brand { margin-top: 15px; margin-bottom: 10px; }


/* Redefine h text sizes */
h1 { font-size: 20px; line-height: 28px;}
h2 { font-size: 17px; line-height: 24px;}
h3 { font-size: 15px; line-height: 20px;}
h4 { font-size: 14px; line-height: 16px;}
h5 { font-size: 12px; line-height: 15px;}
h6 { font-size: 11px; line-height: 14px;}

/* Make h text normal (i.e. not bold)*/
h1,h2,h3,h4,h5,h6 {font-weight: normal;}

/* Redefining span width - originally different */
.span2 { width: 150px !important; }
.span3 { width: 210px !important; }
.span12 { width: 984px !important; }

/* Fixing breadcrumb look */
.breadcrumb {background-color: #fff; color: #444; font-size: 12px; margin: 0; padding: 0; float: right;}
.breadcrumb > .active {color: inherit;}

/* Prevent display of category on FAQ */
.faq_category { display: none !important;}

/* Fixing nav-pills margins and corners */
.nav-pills > li > a {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
/*  margin-bottom: 3px;*/
  margin-bottom: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
    line-height: 30px;
    vertical-align: middle;
}


/* Grid-news */
.grid-news {text-align: justify;}
.sprocket-grids-b-text {color: #666; text-align: justify;}
.sprocket-grids-b-content {background-color: #fff;}


/* Fixing Search position and size */
.pesquisa { float: right; margin-top: 6px;}
.search-query { width: 150px !important; }
/*.pesquisa form { margin: 0 0 14px; }*/
.pesquisa form { margin: 0; }

/* Hourglass da pesquisa */
.pesquisa input.button { position: relative; left: 180px;}



/* ------------ ADDED STUFF --------------*/
  
/* iC logo */
#icc_link { position: fixed; left: 2px; bottom: 4px; border: none; opacity: 0.5; filter: alpha(opacity=50); z-index: 1000;}
#icc_link:hover { opacity: 1; filter: alpha(opacity=100);}


/* general double column arranjement (not responsive) */
.col1 {width: 49%; float: left;  clear; margin: 10px 20px 20px 0;}
.col2 {width: 48%; float: right; clear; margin: 20px 0 10px 0;}

/* Newsletter decoration */
.newsletter {
  background-color: #fff;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.15);
  -moz-box-shadow: 8px 8px 5px rgba(0,0,0,0.3);
  -webkit-box-shadow: 8px 8px 5px rgba(0,0,0,0.3);
  box-shadow: 8px 8px 5px rgba(0,0,0,0.3);
}



/* ---------------- Menus decoration ---------------*/


/* General menu things */
.navigation { margin-top: 0px; margin-bottom: 0px; border: none;} /* Fix navigation padding & margins */
.navigation .nav-child a { font-size: 13px; text-align: left; text-transform: none; line-height: 13px !important;} /* Level 1 menu */
.navigation .nav-child li > a:hover,
.navigation .nav-child li > a:focus,
.navigation .nav-child:hover > a { background-color: #898989; color: #fff; background-image: none !important;}


/* Fix main menu color when child is open */
.menu-caad > li:hover  { background-color: #898989;}
.menu-caad > li:hover .administrativo { background-color: #000941;}
.menu-caad > li:hover .tributario { background-color: #00A99F;}
.menu-caad > li:hover > a { color: #fff !important;}


/* Affects CAAD Menu horizontal elements separation*/
.menu-caad > li > a { padding: 0 18px; } /* for Montserrat 11px bold use 18px, for 12px use 14px; for Trajan 15 use 10px */


/* caad - menu */
/*.menu-caad { font-family: 'Trajan'; font-size: 14px; margin: 0; padding: 0; text-decoration: none; text-align: left; background-color: #fff; color: #333; vertical-align: middle; height: 46px;}*/
.menu-caad { font-family: 'Montserrat'; font-size: 11px; margin: 0; padding: 0; font-weight: bold; text-transform: uppercase; text-align: center; background-color: #e8e8e8; color: #898989; vertical-align: middle; height: 46px;}
.menu-caad > li > a { color: #898989; margin-right: 0; line-height: 46px;}
.menu-caad > li > a:focus { background-color: #e8e8e8;}
.menu-caad > li > a:hover { background-color: #898989; color: #fff;}
.menu-caad > .active > a { background-color: #898989; color: #fff;}
.menu-caad > .active > a:hover, .menu-caad > .active > a:focus { background-color: #898989}
.menu-caad > ul > li { text-align: left;}
li.item-289 { float: right; } /* Truque ranhoso to align "Notícias" to the right */


/* Special color classes */  
.administrativo {color: #000941 !important;}
.tributario {color: #00A99F !important;}
.requerimento {color: #00ADEE !important;}
.geral {color: #898989 !important;}

/* Special background color classes */  
.bg-administrativo {background-color: #000941 !important;}
.bg-tributario {background-color: #00A99F !important;}
.bg-requerimento {background-color: #00ADEE !important;}
.bg-geral {background-color: #898989 !important;}

/* caad - Colored menu entries when active */
.menu-caad > .active > a.administrativo { background-color: #000941; color: #fff !important;}
.menu-caad > .active > a.tributario { background-color: #00A99F; color: #fff !important;}
.menu-caad > .active > a.requerimento { background-color: #00ADEE; color: #fff !important;}

.menu-caad > li > a.administrativo:hover { background-color: #000941; color: #fff !important;}
.menu-caad > li > a.tributario:hover { background-color: #00A99F; color: #fff !important;}
.menu-caad > li > a.requerimento:hover { background-color: #00ADEE; color: #fff !important;}

.menu-caad > li > a.administrativo:focus { background-color: #000941; color: #fff !important;}
.menu-caad > li > a.tributario:focus { background-color: #00A99F; color: #fff !important;}
.menu-caad > li > a.requerimento:focus { background-color: #00ADEE; color: #fff !important;}

/* Sub-menus adjustments */
.navigation .nav .nav-child > li > a { color: #555; }
.navigation .nav .nav-child > li > a:hover, .navigation .nav .nav-child > li > a:focus { color: #fff; }

.navigation .nav .nav-child > li > a.administrativo:hover { background-color: #000941; color: #fff !important;}

.navigation .nav-child { min-width: 126px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; margin: 0; border: 0; z-index: 10000;}   /* square menus w/o border */
.navigation .nav > li > .nav-child:before, .navigation .nav > li > .nav-child:after { display: none; }    /* get rid of top pointer on menus */




/* Top menu on position 0 (Contactos)*/
.menu-top { float: right; background-color: #fff !important;}
.menu-top > li > a:hover, .menu-top > li > a:focus { color: #fff;}

.menu-top > li > a { line-height: 41px;}


/* Color title bars */
/*
.title-bar { font-family: 'Trajan'; color: #fff; font-size: 14px; text-align: center; line-height: 26px; background-color: #021d49; }
.title-bar { font-family: 'Montserrat'; color: #898989; font-size: 10px;font-weight: bold; text-transform: uppercase; text-align: center; line-height: 24px; background: #fff url(/files/imagens/sep-gray.png) center; _background-color: #898989; }

*/
.title-bar { font-family: 'Montserrat'; color: #fff; font-size: 11px; font-weight: bold; text-transform: uppercase; text-align: center; height: 26px; line-height: 26px; background-color: #898989; }

/* Administrativo - Links */
.links-administrativo {margin-bottom: 0; font-size: 13px; text-align: right;}
.links-administrativo > li > a {background-color: #fff; color: #000941; line-height: 20px; border-right: 1px solid #ddd; padding-left: 25px; padding-right: 25px;}
.links-administrativo > li > a:hover { background-color: #fff;}

/* Tributário - Links */
.links-tributario {margin-bottom: 0; font-size: 13px; text-align: right;}
.links-tributario > li > a {background-color: #fff; color: #038c47; line-height: 20px; border-right: 1px solid #ddd; padding-left: 15px; padding-right: 15px;}
.links-tributario > li > a:hover { background-color: #fff;}

/* Rodapé - Links */
.rodape { border-top: 10px solid #ddd; }
/*.links-rodape {font-family: 'Trajan'; font-size: 11px; text-align: right; margin-bottom: 0;}*/
.links-rodape {font-family: 'Montserrat'; font-size: 12px; text-align: right; margin-bottom: 0;}
.links-rodape > li > a {background-color: #fff; color: #898989; /*font-weight: bold;*/ padding-left: 30px;}
.links-rodape > li > a:hover { background-color: #fff; /*text-decoration: underline ;*/ color: #000}
.links-rodape > .active > a { background-color: #fff; color: #898989;}
.links-rodape > .active > a:hover { background-color: #fff; color: #898989;}

/* Destaques - imagem */
.destaques { border-top: 1px solid #ccc; width: 984px;}
.destaques td { border-bottom: 1px solid #ccc; padding: 0; padding: 6px 0;}

.destaques_img {min-width: 170px !important; height: 90px; text-align: right; vertical-align: middle; margin-left: 20%;}
.destaques_main { position: relative; top: 10px; padding-right: 8px; margin-left: 25% !important; max-width: 75%;}
/*.destaques_link {color: #fff; font-family: 'Trajan'; font-size: 14px; line-height: 15px;}*/
.destaques_link {color: #fff; font-family: 'Montserrat'; font-size: 14px; line-height: 15px;}
a:hover.destaques_link {color: #fff !important;}

/* Destaques - texto */
.destaques_text { padding-left: 10px !important; padding-right: 15px !important; vertical-align: top; min-width: 294px !important;}
/*.destaques_title {font-family: 'Trajan'; font-size: 15px; line-height: 30px;}*/
.destaques_title {font-family: 'Montserrat'; font-size: 15px; line-height: 30px;}
.destaques_line {color: #555;}

/* Destaque-1 - top left */
.d1-fundo {background-color: #000941;}
.d1-letra {color: #000941;}

/* Destaque-2 - top right */
.d2-fundo {background-color: #7a1618;}
.d2-letra {color: #7a1618;}

/* Destaque-3 - middle/bottom left */
.d3-fundo {background-color: #00A99F;}
.d3-letra {color: #00A99F;}

/* Destaque-4 - middle/bottom right */
.d4-fundo {background-color: #dfaa0e;}
.d4-letra {color: #b68b09;}

/* Destaque-5 - bootom left */
.d5-fundo {background-color: #2788a6;}
.d5-letra {color: #237b96;}

/* Destaque-6 - bottom right */
.d6-fundo {background-color: #95a627;}
.d6-letra {color: #67731b;}


/* Double menu second line adjustments */
.xmenu {font-size: inherit; line-height: 0; padding-bottom: 14px;}
.xm-double {line-height: 32px !important;}
#xmap {padding: 0 60px;}


/* Doutrina and general articles */
.column-1 {padding: 10px 0; border-top: 1px solid #ddd; padding-right: 10px;}
.column-2 {padding: 10px 0; border-top: 1px solid #ddd; padding-left: 10px;}


/* Published dates */
dd { margin-left: 0;}


/* Print icon */
.icon-print {display: inline; position: relative; top: -12px;}


/* List inscrições on arbitros <p> */
.inscricoes { background-color: #f5f5f5; padding: 0 4px; margin: 10px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.inscricoes > p { padding: 0 20px; }


/* Fix 'Read more' button style */
.btn {
  background-color: #fff;
  background-image: none;
  *background-color: #fff;
    font-size: 12px;
}
/* Fix 'Back' button style on Árbitros */
.cbBackButton { color: #fff; border-color: #666; background-color: #666; text-shadow: none;}
.cbBackButton:hover  { background-color: #333;}

/* Force footer simbols height */
.next {height: 40px;}

/* Enlarge content link C */
.content-links-c { font-size: 15px; }


/* Menu icons */
.link:after {
  font-family: 'icon';
  content: " \f08e"; /* link*/
}
.pdf:after {
  font-family: 'icon';
  content: " \f1c1"; /* pdf */
}


/* remove search oval roundness */
input.search-query {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

/* Silder text */
.slide-desc-text .slide-title a { color: #eeee88; }
.slide-desc-text-default .slide-title { font-weight: normal;}


/* News headers */
.item-title, .page-header > h2 > a { font-size: 15px;}
.page-header {border-bottom: 0; margin: 0;}
.page-header > h2 {color: #005e8d; margin-bottom: 9px; margin-top: 0;}

/* News body */
.item-page { padding-top: 11px;}

/* Used for tables with headers similar to title bars (div need to raise because of previous padding) */
.destaque-like { position: relative; top: -11px;}


/* Título na agenda */
.category-module li { font-weight: bold; }
.category-module li > p { font-weight: normal; }


/* Separação do início das faqs, no left padding e size do título*/
#fsf_faqs { padding: 15px 0 0 0; }
.fsf_highlight { font-size: 15px; color: #005e8d;}

/* Títulos do componente de notícias da página de entrada */
.junewsultra .jn .jn-head h4 { font-size: 15px; color: #005e8d; }

/* Enlarge line height em certain li */
.large-line > li { line-height: 22px; }

/* Fix popup height on Safari */
#dailyfullscreen img {max-height: none !important;}


/* Special styles for "artigos do CAAD" */
a.artigos-caad {text-decoration:none;}
a.artigos-caad div {background-image: url(/files/imagens/pdf-icon.png); background-position: 3px 13px; background-repeat: no-repeat; background-size: 25px auto; text-align: justify !important; padding: 5px 3px 5px 38px; border-top: 1px solid #fff;border-radius:5px; transition: 0.3s;color:#606060;}
a.artigos-caad:hover div {box-shadow: 0 6px 6px rgba(0,0,0,0.18), 0 6px 6px rgba(0,0,0,0.12); border-top: 1px solid #eee;}


/* Button red color */
.btn-danger {color: #da4f49; }


/* NR.2025-03-31 - Mobile conditional links */
@media (max-width: 600px) {
  .desktop {display: none;}
}

@media (min-width: 601px) {
  .mobile {display: none;}
}