@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,400;0,500;1,300;1,400;1,500&display=swap');

body, html, * {
    font-family: 'Montserrat', sans-serif;
}
body {
    background: url(../img/bg-top-2.png) no-repeat center top;
    background-size: 100%;
    background-color: var(--secondary);
    background-attachment: fixed;
    background-blend-mode: luminosity;
}
h1, h2, h3, h4, h5, h6 {
    color: #2a3c4a;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.bg-primary {
    background-color: var(--primary)!important;
}
.btn-toggle-icon span {
    font-size: 12px;
}
.navbar-brand {
    margin: 0 auto;
}
.container-box-c {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    /*border: 1px solid #b9e9e7;*/
    box-shadow: 0px 0px 20px -7px #bdbdbd;
}
#header {
    min-height: 200px;
    line-height: 11;
}
#estimation-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 20px -7px #bdbdbd;
}
.btn-step {
    padding-left: 8px;
}
.btn-medium-c {
    padding-top: 0px;
}
.btn-step span {
    position: relative;
    top: 6px;
}
/*
navbar logged
*/
.navbar-logged {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 100%;
    z-index: 99999;
    opacity: 0.5;
    width: auto;
}
.navbar-logged:hover {
    opacity: 1;
}
.navbar-logged .navbar-link-c {
    margin: initial;
    color: var(--primary);
}
/* home */
#home {
    position: relative;
}
/* progress */
#progress-bar {
    /*position: absolute;
    top: 0;
    left: 0;*/
    width: 100%;
    /*background: #e3e3e3;*/
}
.progress-bar-int {
    width: 10%;
    height: 2px;
    background: var(--primary);
}
/* home */
.title-top-home {
    font-weight: 600;
}
.filelabel {
    width: 120px;
    border: 2px dashed grey;
    border-radius: 5px;
    display: block;
    padding: 5px;
    transition: border 300ms ease;
    cursor: pointer;
    text-align: center;
    margin: 40px auto 0 auto;
}
.filelabel i {
    display: block;
    font-size: 30px;
    padding-bottom: 5px;
}
.filelabel i,
.filelabel .title {
  color: grey;
  transition: 200ms color;
}
.filelabel:hover {
  border: 2px solid var(--primary) !important;
}
.filelabel:hover i,
.filelabel:hover .title {
  color: var(--primary);
}
#FileInput{
    display:none;
}
/* cost */
.title-cost {
    font-weight: 600;
}
.title-total {
    color: var(--primary);
}
.subtitle-cost {
    color: #767676;
}
.form-radio-option label:hover {
    /*background: #ebebeb;*/
    border-color: var(--primary);
}
.form-radio-option label {
    background: #fff;
    border: 1px solid #d7d7d7;
    padding: 15px;
    margin: 0;
    border-radius: 5px;
    cursor: pointer;
}
.form-radio-option .title-option {
    position: relative;
    /*padding: 15px 34px 15px 15px;*/
    padding-right: 15px;
    font-size: 15px;
}
.form-radio-option .title-option span {
    font-weight: 600;
    color: #2a3c4a;
}
#home .form-radio-option .title-option span {
    font-size: 40px;
    color: var(--primary);
}
.form-radio-option small {
    color: #767676;
    font-size: 12px;
    display: block;
}
.form-radio-option input[type="radio"], .form-radio-option input[type="checkbox"] {
    position: absolute;
    top: 3px;
    right: 0;
    margin: 0;
}
.form-check-input:checked[type=radio], .form-check-input:checked[type=checkbox] {
    background-color: var(--primary);
    border-color: var(--primary);
}
.form-radio-option label {
    width: 100%;
}
.form-radio-option label.active-opt {
    border-color: var(--primary);
}
.section-option {
    padding-bottom: 40px;
    border-bottom: 5px dashed #f1f1f1;
    padding-top: 30px;
}
.section-option:first-child {
    padding-top: 0px;
}
.section-option-last {
    border-bottom: 0px;
}
.input-group-text {
    background: #767676;
    color: #fff;
    border: 1px solid #767676;
}
.title-option-single {
    padding-bottom: 0px !important;
}

.container-box-c {
    max-width: 1140px;
}
#home .container-box-c {
    margin-top: 100px;
}
.container-medium {
    max-width: 600px;
    margin: 0 auto;
}
.textarea-c {
    min-height: 120px;
}
.col-left-c {
    text-align: left;
}
#home .form-radio-option small {
    font-size: 15px;
}
.input-medium {
    max-width: 350px;
    margin: 0 auto;
}
/*
SECCIÓ
*/
#seccio-opt .form-check {
    padding-left: 0;
}
.container-w-2 {
    max-width: 200px;
}
#seccio-opt input[type='range']::-webkit-slider-thumb {
    background: var(--primary);
}
#seccio-opt .options-radio-inline-long .form-radio-option {
    margin-bottom: 20px;
}
#seccio-opt .options-radio-inline-long .form-radio-option .title-option {
    padding-right: 20px;
    font-size: 13px;
}
#seccio-opt .list-opts {
    margin: 0;
    list-style: none;
    width: auto;
    display: inline-grid;
    background: var(--secondary);
    margin-bottom: 20px;
    margin-left: 10px;
    padding: 0px;
    border-radius: 10px;
    color: initial;
}
#seccio-opt .list-opts li {
    border-bottom: 1px solid #68cbc8;
    padding: 7px 18px 7px 17px;
    font-size: 14px;
}
#seccio-opt .list-opts li:last-child {
    border: none;
}
#seccio-opt .list-opts li span {
    font-size: 14px;
    position: relative;
    top: 3px;
    color: var(--primary);
}
/*
ESTIMATION BOX
*/
#estimation-box h2 {
    background: var(--primary);
    font-weight: 600;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 24px;
    margin: 0px;
}
#estimation-box .list-group-items {
    max-height: 300px;
    overflow: auto;
    background: #fff;
    border-radius: 0px;
}
#estimation-box .item-title-t {
    color: #2a3c4a !important;
    font-weight: 600 !important;
}
#estimation-box .item-title-t small {
    font-size: 12px;
    color: #858585;
}
#estimation-box .total-est-g {
    background: var(--secondary);
    border: none;
    padding: 8px;
    border-radius: 0px;
}
#estimation-box .total-est-g li {
    border-radius: 0px;
    background: transparent;
    border: none;
}
#estimation-box .total-est-g li .item-title-t {
    font-weight: 700 !important;
}
#estimation-box .bd-total-c {
    font-size: 16px;
    background: transparent;
    background-color: transparent !important;
    color: var(--primary);
    padding: 5px 0;
}
#estimation-box.fixed-box-c {
    position: fixed;
    max-width: 416px;
    width: 100%;
    top: 20px;
}
#estimation-box .list-group-item {
    border-left: none;
    border-right: none;
    border-color: var(--secondary);
    border-radius: 0px;
}

/*
*/
#loader {
    position: fixed;
    top: 50%;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0
}

/*
RESUM
*/
.logoClientResum {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 20px;
}
.section-option-total {
    padding-bottom: 40px;
    border-bottom: 5px dashed #f1f1f1;
    padding-top: 30px;
}
.section-option-total-last {
    border: none;
}
.section-option-total-w-l {
    padding-bottom: 20px !important;
}
.container-medium {
    max-width: 600px;
    margin: 0 auto;
}
.input-medium {
    max-width: 350px;
    margin: 0 auto;
}
.container-large {
    max-width: 900px;
    margin: 0 auto;
}
.result-list-c {
    text-align: left;
}
.title-result-c {
    font-weight: 600;
    font-size: 17px;
    color: #fff;
    background: var(--primary);
    background-color: var(--primary);
    padding: 10px;
    margin-bottom: 0px;
}
.result-c ul.result-li-w {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
.result-c ul.result-li-w li.result-li-c {
    padding: 10px;
    border-bottom: 5px dashed #f1f1f1;
    margin-top: 10px;
}
.result-c ul.result-li-w li.result-li-c h5 {
    font-size: 15px;
    color: inherit;
}
.result-c ul.result-li-w li.result-li-c p {
    font-size: 14px;
    margin: 11px;
    color: #686868;
}
.result-legal {
    padding: 30px;
    background: var(--secondary);
    border-radius: 12px;
    /*color: var(--primary);*/
    color: #525252;
}
.result-legal ul {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 12px;
    font-style: italic;
}
.result-legal ul li {
    margin-bottom: 10px;
}
.acceptance {
    margin: 40px auto  0 auto;
}
.acceptance .form-check-input {
    margin: 0;
    position: relative;
    top: 4px;
}

.desc-resum {
    font-size: 12px;
    margin: 20px;
}
.desc-resum-img {
    margin-left: 0px !important;
    margin-top: 10px;
}
.label-img-mod {
    padding: 0px !important;
    overflow: hidden;
}
.label-img-mod .title-option {
    padding: 15px;
}
.label-img-mod .title-option input.form-check-input {
    top: 18px;
    right: 10px;
}
.label-img-mod small {
    padding: 0px 15px 15px 15px;
}
.img-wrap-mod {
    position: relative;
}
.external-link-mod {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    /* line-height: 50%; */
    background: var(--primary)a6;
    color: #fff;
    opacity: 0;
    text-decoration: none;
}
.external-link-mod:hover {
    color: #fff;
    opacity: 1;
}
.external-link-mod span {
    position: relative;
    top: 47%;
}
.external-link-mod span i {
    position: relative;
    top: 7px;
    margin-right: 5px;
}
.img-mod {
    width: 100%;
}
.mod-resum li {
    list-style-type: none;
}

.info-client-resum {
    list-style: none;
    padding: 0;
    margin: 20px 0px 0px 0px;
}
.info-client-resum li {
    margin-top: 10px;
}
#signature {
    width: 300px;
    height:100px;
    border:1px solid var(--primary);
    border-radius:5px;
    background:#fff;
    margin:0 auto;
    cursor: crosshair;
}
.btn-reset {
    display: block;
    border: none;
    background: transparent;
    color: #8d8d8d;
    line-height: 10px;
    margin: 0 auto;
    position: relative;
    top: -33px;
    left: -135px;
}
.btn-reset:hover {
    color: #212529;
}
.btn-reset i {
    font-size: 20px;
}
.signature-result img {
    width:300px;height:100px;border: 1px solid #1dbfb9;border-radius:5px;
}
.imgModRes img {
    width: 100%;
}
.check-l {
    text-align: left;
    margin-bottom: 10px;
}
.label-accept {
    font-size: 13px;
    position: relative;
    left: 8px;
}
.label-accept-b {
    margin-left: 39px;
    left: 0;
}
.dades-c-list {
    padding-left: 10px;
    list-style-type: none;
    margin-top: 20px;
}
.dades-c-list li {
    font-size: 15px;
    margin-bottom: 5px;
}
.dades-c-list li b {

}
/*
PRINT RESUM
*/
@media print {
    body {
        background-color: #fff;
    }
    .project-info-section h3 {
        color: #0dcaf0;
    }
    .acceptance {
        margin: 0px;
        text-align: left;
    }
    .result-legal {
        padding: 0px;
        margin-bottom: 10px;
    }
    .result-legal ul {
        font-size: 10px;
    }
    .result-legal ul li {
        margin-bottom: 5px;
    }
    .acceptance .form-check, .acceptance button, .acceptance a, .acceptance h3, .footer {
        display: none;
    }
    .container-box-c {
        max-width: 100%;
        border-radius: none;
        box-shadow: none;
        padding: 0px !important;
    }
    .result-legal {
        background-color: var(--secondary) !important;
        background: var(--secondary) !important;
        padding: 20px;
    }
    #signature {
        border-color: #cecece;
        border-radius: 0;
    }
    .signature-result img {
        border-color: #cecece;
        border-radius: 0;
    }
    .navbar-logged {
        display: none;
    }
    .alert {
        display: none;
    }
    h3.title-resum {
        color: initial;
    }
}

.footer {
    padding: 30px;
    font-size: 12px;
    color: #5c5c5c;
}
.footer a {
    color: var(--primary);
    text-decoration: none;
}

.show-box {
    position: fixed;
    top: 20%;
    right: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 5px 0 0 5px;
    padding: 6px;
    line-height: 9px;
    visibility: hidden;
}
.close-box {
    position: absolute;
    color: var(--secondary);
    right: 9px;
    top: 8px;
    visibility: hidden;
}
.close-box span {
    font-size: 34px;
}
.separator {
    width: 20px;
    height: 2px;
    background-color: #838383;
    margin: 10px auto;
}
.transfer-opts-w {
    text-align: left;
    border-bottom: 5px dashed #f1f1f1;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
/*
MEDIA QUERIES
*/
@media (max-width: 540px){
    #estimation-box {
        position: fixed;
        top: 20%;
        width: 100%;
        transition: 0.3s;
    }
    .show-box, .close-box {
        visibility: visible;
    }
    .row-cols-device .col {
        width: 100% !important;
        margin-bottom: 10px;
    }
    #seccio-opt .options-radio-inline-long .form-radio-option {
        margin-bottom: 0px;
    }
}