body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    /*background:#e8f0f4;*/
}
header > div.container {
    margin-top: 64px;
}

main {
    flex: 1 0 auto;
    /*margin-top: 64px;*/
}
main,footer
{
    padding-left: auto;
}
main {
    margin-top: 56px;
}
strong
{
    font-weight: bold;
}
.container {
    width: 90%;
}

h1 {
    color: #993333;
    font-size: 37px;
}
h2
{
    font-size: 26px;
    /*color: #993333;*/
}
h3
{
    font-size: 23px;

}
h4
{
    font-size: 22px;
}

h5
{
    font-size: 21px;
    margin:0;
    /*margin: 0.656rem 0;*/
}
h6
{
    font-size: 20px;
}
p
{
    font-size: 15px;
}

a
{
    color: #993333;
}

#menuLateral
{
    overflow: hidden;
    box-shadow: none;
}
#menuLateral .collection-item i.material-icons, .collection-item .btn {
    background: inherit;
}


#menuLateral .collapsible-header > a {
    color: inherit;
    width: 90%;
    padding: 0px;
}

#menuLateral li.select {
    background: #e0e0e0;
}

#menuLateral li.select > .collapsible-header {
    /*background: #993333;*/
    border-bottom: 1px solid #f5f5f5;
    /*color: white;*/
}
#menuLateral .collection .collection-item.active {
    /*background-color: #993333;*/
    /*color: white;*/
}

#menuLateral .collection-item > i, #menuLateral .collection-item > span {
    float: left;
}

.titolMenuLateral {
    height: 56px;
    background: #993333;
}

.topNav {
    background: #993333;
    position: fixed;
    z-index: 10;
}
.brand-logo {
    padding: 0px !important;
}

.brand-logo > img {
    height: 60px;
    padding: 10px;
}

/*.sidenav li.logoSeu > a{*/
    /*padding: 0px !important;*/
    /*height: 80px;*/
/*}*/

.sidenav li>a, .sidenav .collapsible-header {
    padding: 0 15px;
    font-weight: 400;
    font-size: 15px;

}
.logoSeu
{
    background-color: rgba(0,0,0,0.1) !important;
}
.sidenav li.logoSeu > a {
    border-bottom: 1px solid #f5f5f5;
    height: 75px;
}
.padding0
{
    padding:0px !important;
}

.finalMenu {
    height: 150px;
}

/* Media*/




/* Anterior */




.navMenu{
    height: 50px;
    line-height: 50px;
}

.avis_cookie
{
    padding: 10px;
}

.collection-item.avatar i.material-icons, .collection-item .btn, .btn-large
{
    background: #993333;
}


.btn-flat {
    color: #993333 !important;
    border:1px solid white;

}

.topNav .btn-flat {
    color: white !important;
}

.collection-item > .collection-action
{
    padding-top: 5px;
}

.llistatBanners .card-content
{
    padding: 10px;
}
.llistatBanners .card-title
{
    /* font-size: 18px; */
}
.llistatBanners .content
{
    min-height:80px;
}
.llistatBanners > div
{
    padding: 10px !important;
}
.llistatOpcions .card-content
{
    padding: 0px;
}

.cercador {
    padding: 10px 10px !important;
}

.cercador .card-content
{
    padding: 10px 24px;
}

.cercador  .card-title, .llistatBanners .card-title
{
    color:#993333;
    font-weight: 400;
}
.cercador .row {
    margin-bottom: 0px;
}

/* label focus color */
.input-field input:focus + label {
    color: #993333 !important;
}

.input-field {
    margin: 0px;
    margin-top: 10px;
}

.botons_des .card .card-content {
    padding: 10px;
}

/* label underline focus color */
.input-field input:focus {
    border-bottom: 1px solid #993333 !important;
    box-shadow: 0 1px 0 0 #993333 !important;
}

/* Exemple de degradat*/
.gradient-45deg-light-blue-cyan {
    background: #0288d1;
    background: -webkit-linear-gradient(45deg, #0288d1 0%, #26c6da 100%);
    background: linear-gradient(45deg, #0288d1 0%, #26c6da 100%);
}

.contingut ul {
    padding-left: 20px;
    text-align: justify;
}
.contingut p {
    text-align: justify;
}
.contingut ul > li {
    padding-bottom: 5px;
    list-style-type: square;
}
.contingut.pagaments .card > .card-content{
    padding: 10px;
}
.detallArticle ul
{
    padding-left: 10px;

}
.detallArticle ul > li
{
    list-style-type: square;
}

.detallArticle
{
    list-style-type: square;
}
.menutabs,.tabs{
    background-color: #f5f5f5 !important;
}
.tabs .tab a {
    color: rgba(239,83,80,0.7);
}
.tabs .tab a:hover, .tabs .tab a.active {
    color: #993333;
}

.tabs .indicator {
    background-color: #993333;
}
.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: rgba(239,83,80, 0.2);
}
.collection a.collection-item
{
    color: black;
}
.card
{
    background:#f5f5f5;
}
.card .card-title,.collection .collection-item.avatar .title {
    font-size: 1rem;
    line-height: 1.6rem !important;
    color: #993333;
    font-weight: bold;
}
.truncate2lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate4lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card .card-content {
    color: black;
}
.card.portada .card-content {
    background-color: #993333;
}
.card.portada .card-content .card-title{
    color: white;
}
.card-action > a.btn {
    background: #993333;
}

#equipaments .collapsible-body {
    padding: 10px;
}

.agenda_item .card-image {
    max-height: 250px;
    overflow: hidden;
}

.item_tram .card-image {
    padding: 10px 0px 0px 10px;
}
.item_tram .card-image > i.material-icons {
 padding: 10px;
 color: white;
 background: #993333;
}

.item_tram .card-action {
    padding-left: 0px;
}
.collapsible-header {
    position: relative;
}
.collapsible-header > .collapsible-secondary {
    position: absolute; right: 0;
}
.collapsible li > .collapsible-header > .collapsible-secondary i {
    transition-duration: 0.5s;
}
.collapsible li.active > .collapsible-header > .collapsible-secondary i {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}

.collection.with-header .collection-header {
    font-size: 1.4rem;
    line-height: 1.8rem !important;
    font-weight: bold;
    /*color: #993333 !important*/
}

.collection .collection-item:not(.avatar)
{
    padding:10px;

}

.collection .collection-item:not(.avatar) > i.material-icons
{
    float:left;
}

#descripcio .collection .collection-item:not(.avatar)
{
    background-color: #f5f5f5;
    border: none;
}
#descripcio .collection .collection-item:hover {
    background-color: #ddd;
}

#descripcio .collection .collection-header
{
    text-align:left;
    border: none;
}

#descripcio .collection
{
    border: none;
}

.llistatTramitsTema .collapsible-body
{
    padding: 0px;
}

#filAriadna {
    background: #993333;
    padding-left: 10px;
    margin-top: 10px;
}
.tabuladors
{
    background: white;
}
.tabuladors h4
{
    padding-left: 15px;

}

.btn, .btn:hover, .btn:visited, .btn-floating, .btn-floating:hover, .btn-floating:visited {

    background: #993333;
}
.btn.overline {
    color: #993333;
    background: white !important;
    border: 1px solid;
}

.card-action .btn {
    margin-bottom: 5px;
}

.input-field input[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:after {

    background-color: #993333;
    border: 2px solid #993333;
}


.input-field input[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after {

    border: 2px solid #993333;

}


/*.checkbox-asssitent.filled-in[type="checkbox"]:checked+span:not(.lever):before {
    top: -4px;
    left: -5px;
    width: 12px;
    height: 22px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #993333 !important;
    border-bottom: 2px solid #993333 !important;

}*/

[type="checkbox"].filled-in:checked+span:after {
    background: #993333 !important;
    border: 2px solid #993333 !important;
}

 li > p {
    list-style-type: square;
}

/*#enviar{

  float: right;
  margin-bottom: 20px;

}*/

.enviar-dreta-down{
  float: right;
  bottom: 5px;

}
.enviar-dreta-up{
  float: right;
  bottom: 50px;

}

.col >.cancelar{
float:left;
margin-bottom: 20px;


}

/*.btn-large {
    margin-bottom: 20px;

}*/

.card .card-content {
    padding: 26px;
    border-radius: 0 0 2px 2px;
    border-style: none;
}

.collapsible-header {
    padding: 15px;
    position: relative;
    /*border-bottom: none;*/
}

.icona{
      position: absolute;
      right: 15px
}

#preguntes{
    padding: 10px;
    border-radius: 0 0 2px 2px;
    border-style: none;
}

.collapsible.popout>li {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    margin: 0 24px;
    -webkit-transition: margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collapsible.popout>li.active {
   -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15) !important;
    box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15) !important;
    margin: 16px 0;

}

.card-content.documents{
  padding: 10px;



}
.float{

  position:fixed;
  bottom:40px;
  right:40px;
  text-align:center;


}
.stepper.horizontal {
    position: relative;
    display: flex;
    min-height: 50px !important;
    overflow: hidden;

}
ul.stepper.horizontal::before{
  box-shadow: none !important;

}
ul.stepper.horizontal .step.active .step-title::before,
ul.stepper.horizontal .step.done .step-title::before{

  background-color: #993333 !important;
}


.step .step-title {
    position: relative;
}

.step .step-title:hover {
    background:inherit !important;
}

.llistatDocuments
{
    margin-bottom: 20px;
}
.llistatDocuments .collapsible{
    margin: 0px;
    box-shadow: none;
    border: none;
}

.llistatDocuments .collapsible-body {
    padding: 0px;
}

.llistatDocuments .collection-item {
    border-bottom: 1px solid #ddd !important;
}
.llistatDocuments .collapsible > li .btn
{
    padding: 5px !important;
    line-height: 16px;
    height: 24px;
    font-size: 12px;
}

.llistatDocuments .collapsible-header > div > div {
    padding-left: 43px;
    padding-top: 5px;
}

.btn[data-format=XLS],.btn[data-format=XLSX] {
    background-color: #2db55d !important;
}
.btn[data-format=CSV] {
    background-color: #dfb100 !important;
}
.btn[data-format=DOC],.btn[data-format=DOCX] {
    background-color: #2a5699 !important;
}
.btn[data-format=XML]{
    background-color: #ef7100 !important;
}

.btn[data-format=PDF]{
    background-color: #d91a21 !important;
}

.btn[data-format=MP3]{
    background-color: #d91a21 !important;
}

.llistatOpo .card-title, .llistatOpo .card-content > ul > li > a {
    color: #616161;
}
.llistatOpo .card-content > ul, .llistatAnuncis .card-content > ul
{
    margin: 0px;
}
.llistatOpo .card-content > ul > li
{
    padding: 5px 0px
}
.llistatOpo .card-content > ul > li > a:hover {
    text-decoration: underline;
}
.opos .card > .card-content > .card-title
{
    font-size:1.5rem;
}
.metodesPagament .card-content {
    padding: 15px;
    text-align: center;
}

.carousel {
    margin-bottom: 10px;
}
.carousel.carousel-slider .carousel-fixed-item.with-indicators
{
    bottom: 30px;
    margin: 0px 10px;
}
.carousel .carousel-fixed-item > a
{
    float: right;
}

.carousel-item > div.title {
    margin: 0px;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    color:black;
    z-index: 10;
    width: 100%;
    font-weight: 500;
}

.gradient-45deg-light-blue-white {
    background: white;
    background: -webkit-linear-gradient(45deg, #bbdefb 0%, white 100%);
    background: linear-gradient(45deg, #bbdefb 0%, white 100%);
}

.gradient-45deg-light-blue-white2 {
    background: white;
    background: -webkit-linear-gradient(45deg, #bbdefb 0%, white 100%);
    background: linear-gradient(135deg, #bbdefb 0%, white 100%);
}
.card-content.error {
  background: #ffcccc;

}
div.card-content.error > ul {
  padding-left: 20px;
  padding-bottom: 20px;

}
div.card-title.red-text{
padding-top: 20px;
padding-left: 20px;
}
footer
{
    background:none;
    background: rgba(0,0,0,0.1) !important;
    border-top: 1px solid white;
}

.popover__title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 36px;
    text-decoration: none;
    color: rgb(228, 68, 68);
    text-align: center;
    padding: 15px 0;
}

.popover__wrapper {
    position: relative;
    display: inline-block;
}
.popover__content {
    z-index: 10;
    margin-top: -10px;
    display: none;
    position: absolute;
    right: 10px;
    transform: translate(0,10px);
    background-color: white;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    width: auto;
    color: black;
}
.popover__content:before {
    position: absolute;
    z-index: -1;
    content: '';
    left: calc(100% - 20px);
    top: -8px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent white transparent;
    transition-duration: 0.3s;
    transition-property: transform;
}
#menuLogin .card-content
{
    padding: 10px 20px;
}

#menuLogin .card-action
{
    padding: 0px 20px;
}
#menuLogin .card-title
{
    white-space: nowrap;
    text-align: left;
}
#menuLogin .card
{
    box-shadow:none;
    margin: 0px;
}

.enrrere {
  position: absolute;
  background-color: #993333 !important;
  margin-left: -16%;
  border: none;
  color: white;
  transition: 0.3s;

}
.enrrere:hover{
  background-color: #2bbbad !important;
  opacity: 1;


}
.print{
  position:relative;
  background-color: #993333 !important;
  border: none;
  color: white;
  transition: 0.3s;
  /*top: 1195px;*/
  bottom:10%;
  height: 54px;
  width: 170px;
  float:left;
  margin-bottom: 20px;
  margin-left: 5px;
}
.iconaB
{
  /*float: right;*/

}
.print:hover{
  background-color: #2bbbad !important;
  opacity:1;
}

/*.logics{

margin-left: 10px;

}*/



.btn-large i.material-icons {
float: left;
}
.hidden{
  display: none;
}

.card.detallArticle .card-content {
    background: inherit;
    padding: 26px;
}

.width100{
    max-width: 100% !important;
}

.resum > p {
    font-size: 1.2rem;
    font-weight: bold;
}

.llistatNoticies > a
{
    padding:10px;
    display: block;
}
.llistatNoticies > a:hover
{
    background: rgba(0,0,0,0.1);
}

.llistatNoticies .card
{
    box-shadow: none;
    background: none;
}


.llistatNoticies .card .card-content {
    height: 130px;
    overflow: hidden;
    background: none;
    padding: 0px;
}
.llistatNoticies .card .card-content .data {
    /* font-weight: bold; */
    font-size: 0.9rem;
    color: #808080;
    padding: 5px 0px;
}
.llistatNoticies .card .card-image
{
    overflow: hidden;
    padding-top: 66%;
}

.botoInf
{
    padding:10px !important;
}
/*.popover__wrapper:hover .popover__content {*/
    /*z-index: 10;*/
    /*opacity: 1;*/
    /*visibility: visible;*/
    /*transform: translate(0,-20px);*/
    /*transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);*/
/*}*/
@media only screen and (min-width: 600px)  /* Mida M */
{
    .titolMenuLateral {
        height: 64px;
    }
}
@media only screen and (min-width: 992px)  /* Mida L */
{
    main, footer {
        padding-left: 300px;
    }
    #menuLateral
    {
        margin-top: 67px;
    }
    main
    {
        margin-top: 64px;
    }

}