style.sass 37.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666
// ------------------------------------
// Organização da folha de estilo:
//
// 0 - Dependências
// 1 - Variaveis
//   1.1 - espacamento
//   1.2 - arredondamento
//   1.3 - tamanhos de fontes
//   1.4 - dicionarios
//   1.5 - cores
//   1.6 - escurecer
// 2 - Mixins
//   2.1 - hover
// 3 - Base
// 4 - Grid
// 5 - Elementos reusaveis
//   5.1 - esconder
//   5.1 - botao padrao
//   5.2 - botao voltar
//   5.3 - icones
// 6 - Blocos de elementos
//   6.1 - compartilhar
//   6.2 - logo
//   6.3 - menu topo
//   6.4 - video
//   6.5 - background do conteudo
//   6.6 - tabs de temas e programas (pagina antiga)
//   6.7 - menu dos temas
//   6.8 - listagem dos programas aleatorios
//   6.9 - blocos dos programas
//   6.10 - header do programa e select box
//   6.11 - imagem destaque do programa, titulo, descricao e botao de acesso
//   6.12 - login form
//   6.13 - votacao
//   6.14 - tabela de resultados
//   6.15 - lista de resultados
//   6.16 - paginador
//   6.17 - calendario dos ministros
//   6.18 - listas
//   6.19 - artigo
//   6.20 - participe
//   6.21 - captcha
// 7 - Modificadores
// 8 - Cores do Temas
// 9 - Alto Contraste
// 10 - Mobile
// ------------------------------------


// ------------------------------------
// 0 - Dependências
// ------------------------------------
@import ../css/_bootstrap.min
@import ../css/bootstrap-alert.min
@import ../css/hover.custom
@import ../css/footable.core.min
@import ../css/font-awesome.min
// @import ../css/open-sans.min // get from google webfonts
// @import ../css/font-asap.min // get from google webfonts

// ------------------------------------
// 1 - Variaveis
// ------------------------------------

//   1.1 - espacamento
$gutter: 20px

//   1.2 - arredondamento
$radius: 3px

//   1.3 - tamanhos de fontes
$font-size-base: 16px
$font-size-big: $font-size-base + 2
$font-size-small: $font-size-base - 2
$font-size-h1: 28px
$font-size-h2: 38px
$font-size-h3: 28px
$font-size-h4: 34px
$theme-size-header: 24px
$proposal-title: 32px

//   1.4 - dicionarios
$categories: (saude: #3449b7, seguranca-publica: #e34748, educacao: #f39720, reducao-da-pobreza: #3ebb8f, cultura: #a63738)
$categories-descriptions: (saude: "Saúde é direito de todos e dever do Estado. O Sistema Único de Saúde (SUS) é universal, integral e de responsabilidade do Governo Federal, estados e municípios. Atende a todos os brasileiros.", seguranca-publica: "A segurança pública é um direito fundamental dos cidadãos. A proteção da vida, a disseminação da cultura da paz e a integração dos órgãos e instituições municipais, estaduais e federais são os maiores compromissos dessa política pública.", educacao: "Uma pátria educadora se faz com oportunidades para todos. Nos últimos anos, o Brasil criou esse caminho de oportunidades. Ampliamos o acesso à educação em todos os níveis de ensino – da creche à pós-graduação – e para todos os brasileiros, independentemente de sua classe social. E ainda há muito a fazer. O Plano Nacional de Educação (PNE) estabelece novas metas para que o governo federal trabalhe em parceria com a sociedade, com os estados e os municípios na construção de um futuro melhor. Queremos agora um salto na qualidade do ensino.", reducao-da-pobreza: "Com o esforço do Brasil para reduzir a pobreza e a desigualdade, 36 milhões de pessoas superaram a miséria na última década e o país saiu do Mapa da Fome das Nações Unidas.", cultura: "O que nos singulariza no conjunto das nações é, em última instância, nossa cultura. É por ela que nos identificamos como brasileiros de norte a sul deste país. Uma grande nação precisa ter um desenvolvimento cultural à altura de sua grandeza, contemplando as dimensões simbólica, econômica e cidadã da cultura, que são parte central do projeto de um país democrático e plural. A pluralidade é nossa singularidade.")

//   1.5 - cores
$header-color: #03316f
$link-color: #387bfa

//   1.6 - escurecer
$darken: 15%

//   1.7 - screens
$screen-xs: 480px
$screen-sm: 767px
$screen-md: 992px
$screen-lg: 1200px

// ------------------------------------
// 2 - Mixins
// ------------------------------------

//   2.1 - hover
=hover($color, $amount)
  transition: all 400ms
  &:hover
    background-color: darken($color, $amount)
    text-decoration: none


// ------------------------------------
// 3 - Base
// ------------------------------------

body
  font-family: 'Open Sans', sans-serif
  font-size: $font-size-base
  font-weight: 400
h1
  font-size: $font-size-h1
  font-weight: 500
  margin: $gutter 0
  text-transform: uppercase
  a
    color: $header-color
h2
  font-size: $font-size-h2
  font-weight: 500
  margin-bottom: $gutter * 2
  padding-bottom: $gutter
  small
    display: block
    font-size: 16px
    padding-top: $gutter * 0.25
    text-transform: none
h3
  font-size: $font-size-h3
  font-weight: 500
h4
  font-size: $font-size-h4
  font-weight: 500
p,ul,select
  color: #000
blockquote
  border-bottom: 5px solid
  border-left: 0
  border-right: 0
  border-top: 5px solid
  font-size: $font-size-h1
  margin: $gutter 0
  padding: $gutter 0
a
  color: $link-color
  &:hover,&:focus
    color: $link-color
tr
  &:last-child
    td
      &:first-child
        border-bottom-left-radius: 3px
        border-bottom: 0
        border-left: 0
      &:last-child
        border-bottom-right-radius: 3px
        border-bottom: 0
        border-right: 0
th
  border-bottom: 3px solid
  border-left: 1px solid
  border-right: 1px solid
  padding: 15px 20px
  &:first-child
    border-top-left-radius: $radius
    border-left: 0
    border-top: 0
  &:last-child
    border-top-right-radius: $radius
    border-right: 0
    border-top: 0
td
  background-color: #eeeff1
  border: 1px solid #fff
  padding: 10px
  text-align: center
  &:first-child
    border-left: 0
  &:last-child
    border-right: 0
input
  width: 100%
textarea
  border: 1px solid
  padding-bottom: $gutter * 0.25
  padding-left: $gutter * 0.5
  padding-right: $gutter * 0.5
  padding-top: $gutter * 0.25
  width: 100%
  height: 100px


// ------------------------------------
// 4 - Grid
// ------------------------------------

.container, .row
  margin-bottom: $gutter


// ------------------------------------
// 5 - Elementos reusaveis
// ------------------------------------

//   5.1 - esconder
.hide
  display: none

//   5.1 - botao padrao
.button
  background-color: #387bf9
  border-bottom: 3px solid darken(#387bf9, $darken)
  border-left: 0
  border-right: 0
  border-top: 0
  border-radius: $radius * 2
  color: #fff
  cursor: pointer
  display: block
  font-size: $font-size-small
  font-weight: 700
  padding-bottom: $gutter * 0.75
  padding-left: 0
  padding-right: 0
  padding-top: $gutter * 0.75
  text-align: center
  +hover(#387bf9,$darken)
  &:hover, &:focus
    color: #fff
  &-inline
    display: inline-block
    padding-bottom: $gutter * 0.25 !important
    padding-top: $gutter * 0.25 !important
  &-block
    width: 100%
  &-cancela
    @extend .button
  &-send
    span
      background-image: url(images/airplane.png)
      background-position: left center
      background-repeat: no-repeat
      color: #fff
      padding-left: $gutter * 1.5
    a
      display: block
      padding: 15px 0 18px 0
      margin: -15px 0 -18px 0
  &-participe
    .fa
      margin-right: $gutter * 0.5
  &-confirm
    margin-bottom: $gutter

//   5.2 - botao voltar
.btn
  background-color: transparent
  border: 0
  color: #fff
  font-size: $font-size-small
  font-weight: 700
  padding-bottom: 0
  padding-left: $gutter * 0.5
  padding-right: $gutter * 0.5
  padding-top: 0
  vertical-align: middle

#display-contrast
  color: $link-color
  font-weight: normal
  .contraste &
    color: white
//   5.3 - icones
.icon
  background-repeat: no-repeat
  background-position: 50% !important
  background-size: auto !important
  border: 0 !important
  border-radius: 100%
  color: #fff !important
  display: inline-block
  font-size: 20px
  height: 36px
  min-width: 0 !important
  text-align: center
  transform: all 200ms
  width: 36px
  &-facebook
    background-color: #537abb
    padding: 8px 0
    +hover(#537abb,$darken)
  &-twitter
    background-color: #78caee
    padding: 8px 0
    +hover(#78caee,$darken)
  &-gplus
    background-color: #d54000
    padding: 9px 0
    +hover(#d54000,$darken)
  &-whatsapp
    background-color: #56ba62
    padding: 7px 0
    +hover(#56ba62,$darken)
  &-email
    background-color: #edb24c
    padding: 7px 0
    +hover(#edb24c,$darken)
  &.disabled
    background-color: #fff
    color: #000
    +hover(#fff,$darken)
  &-theme
    background-size: 35px !important
    height: 48px
    width: 48px
    vertical-align: middle
    margin-right: $gutter * 0.5
  &-vote
    display: inline-block
    font-size: 35px
    height: 64px
    margin: 0 6%
    padding: 3px 0
    width: 64px
    &.dislike
      background-color: #db4127
      border-bottom: 3px solid darken(#db4127, $darken) !important
      +hover(#db4127, $darken)
    &.like
      background-color: #32dbb5
      border-bottom: 3px solid darken(#32dbb5, $darken) !important
      +hover(#32dbb5, $darken)
  &-user-created
    height: 71px
    width: 71px
    background: url(images/icons/icon-user-created.png) no-repeat 50% 50%
    border-radius: 0
  &-login-success,
  &-proposal-sent
    height: 71px
    width: 71px
    background-repeat: no-repeat
    background-position: 50% 50%
    border-radius: 0
  &-login-success
    .saude &
      background-image: url(images/icons/icon-login-success-blue.png)
    .seguranca-publica &
      background-image: url(images/icons/icon-login-success-red.png)
    .educacao &
      background-image: url(images/icons/icon-login-success-yellow.png)
    .reducao-da-pobreza &
      background-image: url(images/icons/icon-login-success-green.png)
  &-proposal-sent
    .saude &
      background-image: url(images/icons/icon-proposal-sent-blue.png)
    .seguranca-publica &
      background-image: url(images/icons/icon-proposal-sent-red.png)
    .educacao &
      background-image: url(images/icons/icon-proposal-sent-yellow.png)
    .reducao-da-pobreza &
      background-image: url(images/icons/icon-proposal-sent-green.png)


// ------------------------------------
// 6 - Blocos de elementos
// ------------------------------------

//   6.1 - compartilhar
.social
  position: relative
  z-index: 1
  &.top
    float: right
    margin-top: $gutter * 2
  &.right
    padding-top: 10px
    > span
      color: #000
      display: inline-block
      font-size: 12px
      font-weight: 300
      padding-right: 10px
      text-align: right
      vertical-align: middle
    ul
      display: inline-block
      vertical-align: middle
  span
    display: block
    margin-bottom: 10px
  ul
    list-style: none
    padding-left: 0
  li
    display: inline-block
    padding: 0 2px !important
    vertical-align: top

//   6.2 - logo
h1
  float: left
  .logo
    background-image: url(images/logo.png)
    background-repeat: no-repeat
    background-position: center center
    background-size: contain
    height: 55px
    margin-right: $gutter * 2
    width: 322px
    display: inline-block
    text-indent: -99999px

//   6.3 - menu topo
.top-menu
  float: left
  margin: $gutter ($gutter * 0.75)
  @media (max-width: $screen-xs)
    margin: auto
  a
    color: $header-color
    display: block
    float: left
    margin: ($gutter) ($gutter * 0.5) 0
    text-transform: uppercase
    @media (max-width: $screen-xs)
      margin: 0 ($gutter)

//   6.3 - video
#content
  margin-bottom: $gutter * 1.5
  .embed-responsive
    border: 1px solid #333

  &.video-smaller
    @media (min-width: $screen-md)
      width: 60%
      margin-left: auto
      margin-right: auto

//   6.4 - background do conteudo
.content
  padding-top: $gutter * 1.5
  &.background
    background-color: #f1f1f1

//   6.5 - tabs de temas e programas (pagina antiga)
.tab
  margin-top: $gutter
  ul
    font-size: 0
    list-style: none
    margin-bottom: 0
    padding-left: 0
  li
    display: inline-block
    font-size: $font-size-base
    width: 50%
  a
    background-color: #efefef
    border-bottom: 1px solid #000
    color: #000
    display: block
    font-weight: 700
    padding-bottom: $gutter
    padding-left: $gutter * 0.25
    padding-right: $gutter * 0.25
    padding-top: $gutter
    text-align: center
    text-transform: uppercase
  .active
    background-color: #fff
    border-bottom: 1px solid #fff
    border-left: 1px solid #000
    border-right: 1px solid #000
    border-top: 1px solid #000

//   6.6 - menu dos temas
#proposal
  &-categories
    ul
      list-style: none
      padding-left: 0
.themes
  li
    border-bottom: 1px solid #f1f1f1
    display: block
    font-size: $font-size-base
    position: relative
  a
    background-color: #fff
    color: #484848
    display: block
    font-family: asap, sans
    font-size: $font-size-small
    font-weight: 700
    padding-bottom: $gutter * 0.5
    padding-left: $gutter
    padding-right: $gutter
    padding-top: $gutter * 0.5
    text-transform: uppercase
    +hover(#fff,$darken)
    &:hover,&:focus
      text-decoration: none
  .fa
    color: #898989
    font-size: 45px
    position: absolute
    top: 50%
    margin-top: -22px
    right: 8px
  &-name
    display: inline-block
    width: 50%
    vertical-align: middle
  // .arrow-box
  //   position: relative
  //   top: $gutter
  //   &:after
  //     bottom: 100%
  //     left: 50%
  //     border: solid transparent
  //     content: ""
  //     position: absolute
  //     border-bottom-color: #000
  //     border-width: 8px
  //     margin-left: -8px

//   6.7 - listagem dos programas aleatorios
.ver-todos
  float: right
  .fa
    font-size: $theme-size-header
    margin-right: $gutter * 0.5
    vertical-align: bottom
.proposal
  &-container
    border-radius: $radius
    margin-bottom: $gutter
  &-list
    list-style: none
    padding-left: 0
    .proposal-item
      margin-bottom: $gutter
  &-group
    ul
      list-style: none
      padding-left: 0
  &-title
    margin-top: $gutter * 2

//   6.8 - blocos dos programas
.box
  background-color: #fff
  border-radius: $radius
  color: #000
  display: block
  margin-top: $gutter * 1.5
  height: 100%
  overflow: hidden
  transition: all 400ms
  +hover(#fff,$darken)
  &:hover
    text-decoration: none
  p
    padding-bottom: $gutter * 0.75
  &-propostas
    height: auto
    border: 1px solid
    margin-bottom: $gutter * 1.5
    margin-top: 0
    height: 570px
    overflow: auto
    padding: $gutter
    position: relative
    &.talk-proposal
      height: auto
    &:hover
      background-color: #fff
    p
      border-bottom: 0
      padding-bottom: inherit
  &-apoie
    p
      @extend .box-subtitle
      border-bottom: 0
      padding-bottom: inherit
  &-header
    color: #000
    font-size: $font-size-big
    font-weight: 700
    p
      font-size: $font-size-small
      font-weight: 500
      margin-top: $gutter * 0.5
      // height: $gutter * 2
      // @media (min-width: $screen-md)
      //   height: $gutter * 3
  &-body
    padding: $gutter
    // img
    //   margin-left: $gutter * (-1)
    //   margin-right: $gutter * (-1)
    //   margin-top: $gutter * (-1)
    //   margin-bottom: $gutter
    //   height: 170px
  &__image
    background-size: cover
    height: 170px
    margin: -20px -20px 10px
    background-position: center center
  // &__footer
  //   position: absolute
  //   left: 0
  //   width: 100%
  //   bottom: $gutter
  //   padding: 0 10%
  &-category
    font-size: $font-size-small
    font-weight: 700
    list-style: none
    text-transform: uppercase
    div
      color: #fff
      padding-bottom: $gutter * 0.25
      padding-left: $gutter
      padding-right: $gutter * 0.5
      padding-top: $gutter * 0.25
  &-title
    font-size: $font-size-h2
    font-weight: 400
    margin-bottom: $gutter
  &-subtitle
    color: $link-color
    font-size: $theme-size-header
    font-weight: 700
    line-height: 1.2
    margin-bottom: $gutter
  &-info
    margin-bottom: $gutter
  &-footer
    margin-bottom: $gutter * 0.25
    margin-left: auto
    margin-right: auto
    margin-top: $gutter
  &-bottom
    @extend .box-footer
    bottom: 10px
    color: #000
    display: inline-block
    font-size: $font-size-small
    font-weight: 700
    margin-bottom: $gutter * 0.75
    margin-top: 0
    text-align: center
    &:hover, &:focus
      color: #000
  &-center
    text-align: center

//   6.9 - header do programa e select box
.select
  background-color: #000
  margin-bottom: $gutter * 0.5
  padding: $gutter * 0.25
  .proposal
    &-link
      color: #fff
      display: inline-block
      font-size: $theme-size-header
      font-weight: 700
      padding-bottom: 0
      padding-left: $gutter * 2.25
      padding-right: 0
      padding-top: 0
      vertical-align: middle
    &-selection
      background-color: #fff
      border: 0
      border-radius: 3px
      float: right
      margin: 4px
      width: 50%
      vertical-align: middle

//   6.10 - imagem destaque do programa, titulo, descricao e botao de acesso
.proposal-header
  position: relative
  .title
    background-color: #000
    bottom: 170px
    color: #fff
    font-size: $proposal-title
    font-weight: 700
    margin-bottom: $gutter * 1.25
    margin-left: 0
    margin-right: 0
    margin-top: $gutter * 1.25
    padding: $gutter
    position: absolute
    right: 0
    text-align: center
    text-transform: uppercase
    width: 50%
    vertical-align: middle
  .show_body
    margin-bottom: $gutter
    margin-top: $gutter
    a
      background-color: lighten(#000, 40%)
      border-bottom: 5px solid #000
      border-left: 0
      border-right: 0
      border-top: 0
      border-radius: $radius * 2
      color: #fff
      display: block
      font-size: $font-size-h2
      font-weight: 700
      padding-bottom: $gutter * 0.5
      padding-left: 0
      padding-right: 0
      padding-top: $gutter * 0.5
      text-align: center
      +hover(#000,$darken)
  img
    width: 100%
  p
    @extend .title
    bottom: 140px
    font-size: $font-size-small
    margin-bottom: $gutter * 0.5
    padding-top: $gutter * 0.25
    text-transform: none

//   6.11 - login form
.participar
  position: relative
  text-align: right
  .btn
    color: $link-color
    font-weight: normal
    .contraste &
      color: #fff
  .participe
    font-size: 14px
    padding: 2px 10px
  .icon-login
    display: inline-block
    position: relative
    top: -2px
    right: 5px
    width: 20px
    height: 20px
    padding: 12px
    vertical-align: middle
    border: 1px solid #ccc !important
    background: url(images/icons/icon-user.png) no-repeat 20px 50%
    .contraste &
      background-image: url(images/icons/icon-user-contrast.png)
  .login
    margin-left: 20px
  .logout
    margin-left: 20px
#login-panel
  position: absolute
  top: 0
  right: 0
  padding: 20px
  z-index: 9999
  background-color: #fff
  border: 1px solid #ccc
  .loading
    display: none
  .contraste &
    background-color: #262626

.login,
.signup
  text-align: left
  .message
    background: #fcc
    border: 1px solid #b00
    border-radius: $radius
    color: #b00
    font-weight: 700
    padding-bottom: $gutter * 0.25
    padding-left: $gutter * 0.5
    padding-right: $gutter * 0.5
    padding-top: $gutter * 0.25
    margin-bottom: $gutter
  .message.message-warning
    background: #fcf8e3 !important
    border: 1px solid #FFD681 !important
    color: #8a6d3b !important
  input
    border: 1px solid
    display: block
    margin-bottom: $gutter
    padding-bottom: $gutter * 0.25
    padding-left: $gutter * 0.5
    padding-right: $gutter * 0.5
    padding-top: $gutter * 0.25
    width: 100%
    &.button
      @extend .button
      margin-bottom: $gutter * 0.25
  .checkbox
    padding: 10px 0
    input
      width: auto
      display: inline-block
  .label
    vertical-align: middle
  .icon
    vertical-align: middle
  .oauth
    margin-top: $gutter * 0.5
    text-align: right
    .icon
      padding: 3px 0
  .forgot-password
    display: block
    font-size: $font-size-small
    text-align: center
  i
    font-style: normal
    font-weight: 700
    padding-left: $gutter * 0.25
    padding-right: $gutter * 0.25
  .row
    input
      margin-bottom: 0
.maxlength
  margin: ($gutter * 0.5) 0 ($gutter * 2)
  text-align: right


//   6.12 - votacao
.vote-actions
  .like
    display: inline-block

//   6.13 - tabela de resultados
table
  .abstract-text
    width: 80%
  .value
    text-align: center
    width: 10%
  .header
    font-weight: bold
    line-height: 22px
    text-align: center
  .position
    width: 20%
    a
      border: 1px solid #fff
      border-radius: 100%
      color: #fff
      display: inline-block
      font-size: 16px
      height: 30px
      margin-left: 5px
      padding: 2px 0
      text-align: center
      width: 30px
      vertical-align: middle
      transition: all 400ms
  .votes-for
    display: table-cell
    .fa
      background-color: #32dbb5
      border: 2px solid #ffffff
      border-radius: 100%
      color: #fff
      font-size: 16px
      height: 30px
      padding: 5px 0
      text-align: center
      transition: all 200ms ease 0s
      width: 30px
  .votes-against
    display: table-cell
    .fa
      background-color: #DB4127
      border: 2px solid #ffffff
      border-radius: 100%
      color: #fff
      font-size: 16px
      height: 30px
      padding: 5px 0
      text-align: center
      transition: all 200ms ease 0s
      width: 30px
  .truncate
    display: table
    table-layout: fixed
    width: 90%
  .truncated
    overflow-x: hidden
    text-overflow: ellipsis
    white-space: nowrap
th
  color: #fff
  &.abstract-text
    text-align: left
td
  &.abstract-text
    text-align: left
    p
      margin: 0

//   6.14 - lista de resultados
.results-content
  .total
    float: left
  .vote-result
    float: right
    background: none
    border: none

    @each $category, $color in $categories
      .#{$category} &
        color: $color

    .contraste &
      color: #fff

  .updated-at
    @extend .vote-result
    margin-top: $gutter
  table
    clear: both
    tr:nth-child(odd)
      background: #e5e5e5
    td
      padding: $gutter * 0.25
    .header
      font-weight: 700
      text-align: center
    .abstract-text
      width: 80%
      cursor: pointer
      p
        margin: inherit
    .value
      text-align: center
      width: 10%
    .truncate
      position: relative
      display: table
      table-layout: fixed
      width: 100%
      @media (max-width: 567px)
        width: 90%
    .truncated
      overflow-x: hidden
      text-overflow: ellipsis
      white-space: nowrap
      &:after
        display: block
        content: "[...]"
        // content: "\e000"
        position: absolute
        top: 0
        right: 2px
        padding: 1px 3px
        color: #888
        background-color: #e0e0e0

    &.phone
      .footable-toggle
        float: right
        padding: 5px 0 !important
        width: 10%
        text-align: center
        background-color: #e0e0e0
      .footable-row-detail-row
        display: inline-block
        &:not(:last-child)
          // margin-right: 10px
          // padding-right: 10px
          border-right: 1px solid #ccc
      .footable-row-detail-inner
        margin: 0 auto
      .footable-row-detail-cell
        background-color: #e0e0e0
      .footable-row-detail-name
        display: block
        text-transform: uppercase
      .footable-row-detail-value
        display: block

      // fix height
      .footable-row-detail-row:nth-child(1)
        .footable-row-detail-value:before
          height: 30px

      // check icon
      .footable-row-detail-row:nth-child(2)
        .footable-row-detail-name
          display: none
        .footable-row-detail-value:before
          content: '\f00c'
          font: normal normal normal 14px/1 'FontAwesome'
          display: block
          background-color: #32dbb5
          border: 2px solid #ffffff
          border-radius: 100%
          color: #fff
          font-size: 16px
          height: 30px
          padding: 5px 0
          text-align: center
          transition: all 200ms ease 0s
          width: 30px
          margin: 0 20px

      // check icon
      .footable-row-detail-row:nth-child(3)
        .footable-row-detail-name
          display: none
        .footable-row-detail-value:before
          content: '\f00d'
          font: normal normal normal 14px/1 'FontAwesome'
          display: block
          background-color: #DB4127
          border: 2px solid #ffffff
          border-radius: 100%
          color: #fff
          font-size: 16px
          height: 30px
          padding: 5px 0
          text-align: center
          transition: all 200ms ease 0s
          width: 30px
          margin: 0 20px

//   6.15 - paginador
.paging
  padding: $gutter * 0.25
  ul
    display: table
    list-style: none
    margin: auto
    padding: 0
  li
    float: left
  span
    @extend .page-link
  .page-link
    padding: 0 7px
    font-size: $font-size-small
    font-weight: 400
    text-align: center
    background-color: #000
    color: #fff
    display: inline-block
    line-height: 24px
  .current
    background-color: lighten(#000, $darken)
  .next
    border-radius: 0 $radius $radius 0
  .prev
    border-radius:  $radius 0 0 $radius

//   6.16 - calendario dos ministros
.slick
  &-slider
    list-style: none
    margin-bottom: 0
    margin-left: auto
    margin-right: auto
    margin-top: $gutter * 2
    padding: 0
    position: relative
    width: 80%
    li
      background-color: #eeeff1
      margin-bottom: $gutter * 0.25
      padding: $gutter * 0.5
    span
      display: block
    .date, .time
      display: inline-block
      margin-top: $gutter
      width: 45%
  &-list
    overflow: hidden
  &-slide
    float: left
  &-def
    background-color: transparent
    border: 0
    color: #000
    font-size: 0
    position: absolute
    top: 43%
    width: 20px
    &:before
      font-family: "FontAwesome"
      font-size: 20px
  &-prev
    @extend .slick-def
    left: -25px
    &:before
      content: "\f053"
  &-next
    @extend .slick-def
    right: -25px
    &:before
      content: "\f054"
  &-disabled
    opacity: 0.25

.presenter-warning
  background-color: #D9D9DD
  font-weight: bold

// .calendar
.calendar__disabled
  opacity: 0.6

.calendar__presenter
  font-weight: bold
  font-size: 20px

.calendar__column
  height: 90px
  padding-top: 20px
  background-color: #eeeff1

  &:not(:last-child)
    border-right: 2px solid #fff
  &:first-child
    padding-left: 40px

  @media (max-width: $screen-sm)
    &:first-child
      border-bottom: 2px solid #fff
      border-right: none

  .contraste &
    background-color: #333
    color: #fff !important

    &:not(:last-child)
      border-right: 2px solid #262626

    @media (max-width: $screen-sm)
      &:first-child
        border-bottom: 2px solid #262626
        border-right: none

    // @media (max-width: $screen-sm)

.calendar__date,
.calendar__time
  font-size: 20px
  font-weight: bold
  padding-top: 10px
  text-align: center

  .fa
    font-size: 32px
    vertical-align: middle

//   6.17 - listas
.list-container-border
  border: 3px solid
  border-radius: $radius
.list
  &-unstyled
    li
      border-top: 1px solid darken(#eeeff1,$darken)
      font-size: $font-size-big
      font-weight: 700
      padding: $gutter
      &:first-child
        border-top: 0
  &-styled
    margin-left: $gutter
    padding-left: 0
.no-border
  li
    border: 0
    padding-bottom: $gutter * 0.25
    padding-left: 0
    padding-right: 0
    padding-top: $gutter * 0.25

//   6.18 - artigo
.article-container
  max-width: 1170px
  margin-left: auto
  margin-right: auto
  .abstract
    font-style: italic
    color: rgb(114, 114, 114)
    margin-bottom: 30px
    margin-top: 10px
  .title
    font-size: 22px

// 6.19 - sucesso
.success-panel
  position: absolute
  z-index: 100
  text-align: center

// 6.20 - participe
.talk__participate
  .button
    position: relative
    z-index: 5
.talk__counter
  position: relative
  display: inline-block
  // line-height: 3
  margin-left: -15px
  padding: 15px 15px 15px 30px
  background-color: #eeeff1
  z-index: 1
  border-radius: 10px

  .contraste &
    background-color: #333
    color: #fff !important

  @each $category, $color in $categories
    .#{$category} &
      color: $color

  @media (max-width: $screen-sm)
    width: 100%
    margin-left: 0

.talk__value
  font-weight: bold

// 6.21 - captcha
#serpro_captcha
  margin: 15px 0 10px 0
  &:before,
  &:after
    clear: both
    content: " "
    display: table
  #divContainerUI_captcha_serpro_gov_br
    border: none
    box-shadow: none
    width: 250px
  #img_captcha_serpro_gov_br
    float: left
  #divButtons_captcha_serpro_gov_br
    float: left
    width: 100px
    img
      float: left
      margin: 0 0 0 10px

// 6.22 - random proposal
.random-proposal > .success-panel
  position: relative
  margin-bottom: 10px


// 6.23 - freeze messages
// .freeze--home-message
.freeze--theme-message
  font-weight: bold
  margin: 10px 0
.freeze--top-proposals
  margin: 10px 0

// ------------------------------------
// 7 - Modificadores
// ------------------------------------
h2
  &.name
    color: #6c6c6c
    font-size: $font-size-big
    font-weight: 700
    margin-bottom: $gutter * 0.25
    margin-left: 0
    margin-right: 0
    margin-top: 0
    padding: 0
    text-transform: none
  &.menu
    background-color: #484848
    border: 0
    border-top-left-radius: $radius
    border-top-right-radius: $radius
    color: #fff
    font-size: $font-size-base - 1
    font-weight: 300
    margin: 0
    padding-bottom: $gutter
    padding-left: $gutter
    padding-right: $gutter
    padding-top: $gutter

h3.titulo-destaque
  font-size: $font-size-h3 + 10
.bloco-destaque
  padding: $gutter * 1.75
  border-radius: $radius
  h4
    margin-bottom: $gutter * 3

@each $category, $description in $categories-descriptions
  section.#{$category}
    .description
      margin-top: $gutter
      &:before
        content: "#{$description}"
        color: #6c6c6c
        font-family: asap, sans
        padding-top: $gutter


// ------------------------------------
// 8 - Cores do Temas
// ------------------------------------

@each $category, $color in $categories
  .#{$category}
    color: $color
    a
      color: $color
    strong
      color: $color
    textarea
      border-color: $color
    .button,.show_body a
      background-color: $color
      border-color: darken($color, $darken)
      color: #fff
      +hover($color,$darken)
    .select
      background-color: $color
    .proposal
      &-header
        .title,p
          background-color: darken($color, $darken)
    .box
      &-propostas
        border-color: $color
      &-title,&-bottom
        color: $color
      &-category
        li
          background-color: $color
    table
      .position
        a
          background-color: $color
          +hover($color,$darken)
    th
      background-color: $color
      border-bottom-color: darken($color,$darken)
      border-left-color: lighten($color,$darken)
      border-right-color: lighten($color,$darken)
    .slick
      &-prev,&-next
        color: $color
      &-slider
        .date,.time
          color: $color
    .login,
    .signup
      input
        border-color: $color
        &.button
          +hover($color,$darken)
      i
        color: $color

    .list
      &-unstyled li
        color: $color
    .bloco-destaque
      background-color: $color
      // background-image: url(http://www.participa.br/articles/public/0009/6039/mais-medicos-foto4.png)
      background-repeat: no-repeat
      background-position: 100% 100%
      color: #fff
      p
        color: #fff
    .select
      .proposal-link
        background-image: url(images/icons/#{$category}.png)
        background-position: 5px 50%
        background-repeat: no-repeat
        background-size: 32px
    .category-title
      background-color: $color
      border-color: darken($color, $darken)

    .freeze--theme-message p,
    .freeze--program-message p
      color: $color

  .icon
    &-#{$category}
      background-color: $color
      background-image: url(images/icons/#{$category}.png)
  .#{$category}
    ul.list-color
      li:before
        color: $color

// hack
ul.list-color
  list-style: none
  padding: 0
  margin: 0

  li
    padding-left: 1em
    text-indent: -.7em
    &:before
      content: "• "
      font-weight: bold
      font-size: 20px
      position: relative
      top: 2px

.saude
  .bloco-destaque
    background-image: url(http://www.participa.br/articles/public/0009/6039/mais-medicos-foto4.png)

.cultura
  .bloco-destaque-cultura
    background-color: map-get($categories, "cultura")
    p
      color: #fff
    .col-md-4
      padding-right: 0
      text-align: right
      right: -15px

      @media (max-width: $screen-lg)
        right: 23px
      @media (max-width: $screen-md)
        right: 0
        padding-bottom: 20px
        text-align: center
      @media (max-width: $screen-xs)
        img
          width: 100%

  .col-cultura
    padding: 35px
    @media (min-width: $screen-md)
      padding-bottom: 28px

.category-title
  background-position: 5px 50%
  background-repeat: no-repeat
  background-size: 40px


// ------------------------------------
// 9 - Alto Contraste
// ------------------------------------

.contraste
  background-color: #000
  color: #fff
  .background
    background-color: #000
  // .container
  h2,h3,h4,a,p,strong,li,label,.label,.login i,.total,.updated-at span
    color: #fff
  a
    text-decoration: underline
  small
    color: darken(#fff, 40%)
  blockquote
    border-color: #fff
  .button,.show_body a,.login input.button,.box-category li
    background-color: #fff
    border-color: darken(#fff, 40%)
    color: #000
    text-decoration: none
    +hover(#fff, 40%)
    span
      color: #000
  .icon
    color: #000 !important
    text-decoration: none
    background-color: #fff
    +hover(#fff,40%)
    &-vote
      border-color: darken(#fff, 40%) !important
    @each $category,$color in $categories
      &-#{$category}
        background-image: url(images/icons/#{$category}-contrast.png)
  .tab
    a
      background-color: darken(#fff, 85%)
      border-bottom-color: #fff
    .active
      background-color: #000
      border-color: #fff
      border-bottom-color: #000
  #proposal-categories,#proposal-group
    border-color: #fff
  .proposal
    &-category
      a
        background-color: darken(#fff, 85%) !important
      .arrow-box:after
        border-bottom-color: darken(#fff, 85%) !important
    &-container
      background-color: #000
      +hover(#fff,100%)
    &-header
      .title, p
        background-color: darken(#fff, 85%)
  .box
    background-color: darken(#fff, 85%)
    text-decoration: none
    &-header
      background-color: darken(#fff, 85%)
    &-propostas
      border-color: #fff
    &-title,&-subtitle,&-info,&-bottom,.social span,&-header
      color: #fff
    .icon span
      color: #000 !important
  .select
    background-color: darken(#fff, 85%)
  section
    background-color: darken(#fff, 85%)
    &:hover
      background-color: darken(#fff, 85%)
    .box
      background-color: #000
  table
    .position a
      background-color: #000
  .votes-for .fa,.votes-against .fa
    background-color: #000
  th,td
    background-color: #000
    border-color: #fff
    color: #fff
  .slick
    &-prev,&-next
      color: #fff
    &-slider
      li
        background-color: #000
      .date,.time
        color: #fff
  .bloco-destaque
    background: darken(#fff, 85%)
  @each $category,$color in $categories
    .category-#{$category}
      background-color: darken(#fff, 85%)

  #login-panel
    input
      color: #000

// ------------------------------------
// 10 - mobile
// ------------------------------------
@media (max-width: $screen-xs)
  #content
    // margin-top: $gutter * 1.5 * (-1)
    margin-bottom: 0
    .embed-responsive
      margin-left: $gutter * (-1)
      margin-right: $gutter * (-1)
      iframe
        left: 0 !important

  // .themes
  //   margin-bottom: $gutter * 1.5
  //   margin-left: $gutter * 1.5 * (-1)
  //   margin-right: $gutter * 1.5 * (-1)
  //   margin-top: $gutter * 1.5 * (-1)
  //   font-size: 0
  //   &-name
  //     display: block
  //     width: 100%
  //   &:after
  //     content: ""
  //     display: block
  //     clear: both
  //   li
  //     display: block
  //     width: 25%
  //     float: left
  //     // font-size: $font-size-base
  //     // vertical-align: top
  //     &:first-child
  //       a
  //         border-left: 0
  //     a
  //       border-left: 1px solid #f1f1f1
  //       display: block
  //       padding: 0
  //       text-align: center
  //       height: 145px
  //       .icon
  //         margin-bottom: $gutter * 0.5
  //         margin-left: 0
  //         margin-right: 0
  //         margin-top: $gutter
  .box
    &-header
      p
        height: auto
    &-propostas
      height: auto
  .proposal
    &-header
      .title
        margin: 0
        padding-bottom: 0
        position: inherit
        width: 100%
      p
        padding-bottom: $gutter
  .proposal-list
    .proposal-item,
    .box__title,
    .box__abstract p
      height: auto !important
  .select
    .proposal
      &-selection
        float: none
        margin: 0
        width: 100%
  table
    .position
      a
        margin-left: 0
        margin-top: 5px

// content
.vcenter
  display: inline-block
  vertical-align: middle
  float: none
  margin-right: -2px
  margin-left: -2px

// HACK IDG
#barra-brasil .brasil-flag
  height: 100% !important