html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

footer {
    background-color: #f2f2f2;
    padding-top: 2em;
    padding-bottom: 2em;
}

/* barra de navegació */
html {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    -ms-font-smoothing: antialiased !important;
}

.md-stepper-horizontal {
    display: table;
    width: 100%;
    margin: 0 auto;
    background-color: #FFFFFF;
    box-shadow: 0 3px 8px -6px rgba(0,0,0,.50);
}

    .md-stepper-horizontal .md-step {
        display: table-cell;
        position: relative;
        padding: 14px;
    }

    .md-stepper-horizontal .md-step:hover,
    .md-stepper-horizontal .md-step:active {
        background-color: rgba(0,0,0,0.04);
    }

    .md-stepper-horizontal .md-step:active {
        border-radius: 15% / 75%;
    }

    .md-stepper-horizontal .md-step:first-child:active {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .md-stepper-horizontal .md-step:last-child:active {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .md-stepper-horizontal .md-step:hover .md-step-circle {
        background-color: #757575;
    }

    .md-stepper-horizontal .md-step:first-child .md-step-bar-left,
    .md-stepper-horizontal .md-step:last-child .md-step-bar-right {
        display: none;
    }

    .md-stepper-horizontal .md-step .md-step-circle {
        width: 30px;
        height: 30px;
        margin: 0 auto;
        background-color: #999999;
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
        font-size: 12px;
        font-weight: 600;
        color: #FFFFFF;
    }

    .md-stepper-horizontal.green .md-step.active .md-step-circle {
        background-color: #00AE4D;
    }

    .md-stepper-horizontal.orange .md-step.active .md-step-circle {
        background-color: #F96302;
    }

    .md-stepper-horizontal .md-step.active .md-step-circle {
        background-color: rgb(33,150,243);
    }

    .md-stepper-horizontal .md-step.next .md-step-circle {
        background-color: rgb(0,173,78);
    }


    .md-stepper-horizontal .md-step.done .md-step-circle *,
    .md-stepper-horizontal .md-step.editable .md-step-circle * {
    }

    .md-stepper-horizontal .md-step.editable .md-step-circle {
    }



    .md-stepper-horizontal .md-step .md-step-title {
        margin-top: 16px;
        font-size: 12px;
        font-weight: 600;
    }

    .md-stepper-horizontal .md-step .md-step-title,
    .md-stepper-horizontal .md-step .md-step-optional {
        text-align: center;
        color: rgba(0,0,0,.26);
    }

    .md-stepper-horizontal .md-step.active .md-step-title {
        color: rgba(0,0,0,.87);
    }

    .md-stepper-horizontal .md-step.active.done .md-step-title,
    .md-stepper-horizontal .md-step.active.editable .md-step-title {
    }

    .md-stepper-horizontal .md-step .md-step-optional {
        font-size: 10px;
    }

    .md-stepper-horizontal .md-step.active .md-step-optional {
        color: rgba(0,0,0,.54);
    }

    .md-stepper-horizontal .md-step .md-step-bar-left,
    .md-stepper-horizontal .md-step .md-step-bar-right {
        position: absolute;
        top: 36px;
        height: 1px;
        border-top: 1px solid #DDDDDD;
    }

    .md-stepper-horizontal .md-step .md-step-bar-right {
        right: 0;
        left: 50%;
        margin-left: 20px;
    }

    .md-stepper-horizontal .md-step .md-step-bar-left {
        left: 0;
        right: 50%;
        margin-right: 20px;
    }

.border-required {
    border-color: red !important;
}

/* FI BARRA NAVEGACIÓ */

/* Tria Login */

.box {
    border-radius: 4px;
    background: #ecf2f9;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    padding: 18px 36px 18px 36px;
    cursor: pointer;
    height: 12em;
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.social-box {
    margin: 4em 0;
}

.nota {
    margin-top: 1ex;
    font-size: 90%;
}

.cls-1 {
    fill: #fff;
    fill-opacity: 0
}

.cls-2, .cls-4 {
    fill: #4a4a49;
}

.cls-3 {
    fill: #e21122;
}

.cls-4, .cls-5 {
    fill-rule: evenodd;
}

.cls-5 {
    fill: #e40520;
}

/*  Passos 3 i 4 */

dl.dades {
    padding-right: 2eX;
}

dl.dades dd {
    font-weight: 600;
    font-size: 120%;
    background-color: #fff;
    min-height: 3ex;
    padding-top: 0.3ex;
}

dl.dades dt {
    font-size: 110%;
}

div.destacat {
    padding: 2ex;
    border-radius: 5px;
    font-size: 130%;
    font-size: 130%;
    margin: 0 1ex;
}

div.fitxa {
    border-right: #fefefe solid 8px;
    background-color: #f5e1a4;
    border-left: #f5b975 solid 4px;
}
/* // --  FI SOCIAL BOX  --  // */
.blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
    opacity: 0.9;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #ccc;
    display: block;
}

.fs85 {
    font-size: 85%;
}

.btn-peuform {
    max-width: 10em;
}

.barraInfoIn {
    background-color: #f7faff !important;
    border-radius: 1em;
}


/* Fi tria Login */

.font-weight-bold {
    font-weight: bold;
}
/* placeHolder */
/*PlaceHolder color red*/
.required::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: red;
    opacity: 1; /* Firefox */
}

.required:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: red;
}

.required::-ms-input-placeholder { /* Microsoft Edge */
    color: red;
}

.required::-webkit-input-placeholder {
    color: red;
}

.required:-moz-placeholder {
    color: red;
}
/* FI PLACEHOLDER*/

.form-group {
    margin: 3ex 0;
}
.form-group-light {
    margin: 0 0 1ex 0;
}

.form-select {
    height:40px;
}

.text-warning { color: red !important;
}

/*.select2-container .select2-selection--single {
    height: 38px !important;
}*/
/*Per la mida dels selects - > SELECT2-PLUGIN, és l'única manera que s'ah trobat*/

.select2-container .select2-selection--single {
    height: calc(1.5em + .75rem + 2px) !important;
    width: 100%;
}

.select2-selection__arrow {
    height: calc(1.5em + .75rem ) !important;
}

.img-flag {
    width: 25px;
    margin-right: 5px;
}

.btn-peuform {
    max-width: 10em;
}

.barraInfoIn {
    /* background-color: #fff9e8 !important;
    border-radius: 1em; */
    background-color: #ffeeba !important;
    border-radius: 1em;
    border: 1px solid #ffd11b;
}
/* Estils pel rellotge */
.rellotge {
    font-size: 6em;
    color: cornflowerblue;
}

.rellotge-shadow {
    font-size: 6.2em;
    color: darkgrey;
}

.rellotgeBox {
    z-index: 99999;
    display: none;
}
/* FI ESTILS RELLOTGE */
.difuminar {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

/* Compiled CSS from Bootstrap 4's responsive embeds */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden
}

    .embed-responsive::before {
        display: block;
        content: ""
    }

    .embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0
    }

.embed-responsive-21by9::before {
    padding-top: 42.85714%
}

.embed-responsive-16by9::before {
    padding-top: 56.25%
}

.embed-responsive-4by3::before {
    padding-top: 75%
}

.embed-responsive-1by1::before {
    padding-top: 100%
}

/**
* HTML Usage: 
* <div class="embed-responsive embed-responsive-16by9">
*   <iframe class="embed-responsive-item" src="..."></iframe>
* </div>
*/

.text-info {
  color: #285fe3 !important;
}

.shortlabel {
    height:1.2rem;
    overflow:hidden;
}

.box-6 {
    height:6em !important;
}

.box-7 {
    height: 7em !important;
}

.box-14 {
    height: 14em !important;
}

.form-check-label { width:85%;}