/* Add here all your CSS customizations */

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* CORRECCIONS PLANTILLA */
body{
    font-size:15px
}
a,
#footer h1, #footer h2, #footer h3, #footer h4, #footer a{
    color: #FFA901;
}
html .text-color-primary, html .text-primary {
    color: #FFA901!important;
}
a:hover{
    color:#d48c01;
}
html .btn-outline.btn-primary{
    color: #FFA901;
    border-color: #FFA901;
}
html .btn-primary,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.pagination .page-item.active .page-link,
.owl-carousel .owl-nav button[class*="owl-"],
#header .header-btn-collapse-nav,
.btn-info{
    background-color: #FFA901!important;
    border-color: #FFA901 #FFA901 #d48c01!important;
    color:#FFF!important
}
html .btn-primary:hover, html .btn-primary.hover,
html .btn-primary:active,
html .btn-outline.btn-primary:active, html .btn-outline.btn-primary.active{
    background-color: #d48c01!important;
    border-color: #d48c01!important;
    color: #FFF;
}
.list.list-icons li > [class*="fa-"]:first-child, .list.list-icons li a:first-child > [class*="fa-"]:first-child, .list.list-icons li > .icons:first-child, .list.list-icons li a:first-child > .icons:first-child {
    color: #FFA901;
    border-color: #FFA901;
}
td{
	word-break: break-word;
}
.btn {
    font-size: 0.9rem;
}
html:not(.sticky-header-active) .homepage #header.header-semi-transparent-light .header-body{
    background:transparent!important;
}
html section.section-tertiary {
    background-color: #e7eaed !important;
    border-color: #e7eaed !important;
    padding-bottom: 10px!important;
}
html .body section.section-tertiary.serveis{
    padding-bottom:50px!important
}
html section.section-tertiary h1{
    margin-bottom: 0;
    padding-top: 3px!important;
    font-size: 32px;
    margin-top: 19px!important;
}
#header .header-body{
    border:none!important
}
aside ul.nav-list > li > a,
.thumb-info-caption .thumb-info-caption-text, .thumb-info-caption p{
    font-size: 1em;
}
aside ul.nav-list > li > a.active{
    color:#212529;
    font-weight: 600;
}
ul.nav-list.show-bg-active .active > a,
ul.nav-list.show-bg-active a.active{
    background-color: #e7eaed;
}
.table-striped tbody tr:nth-of-type(odd){
    background-color: #f9fafb;
}
.homepage .tp-bgimg.defaultimg:before {
    content: "";
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%);
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}
.list.list-icons li b{
    color:#212529;
    font-weight: 600;
}
.pagination {
	display: inline-block;
	padding-left: 0;
	margin: 18px 0;
	border-radius: 2px
}

.pagination>li {
	display: inline
}

.pagination>li>a,
.pagination>li>span {
	position: relative;
	float: left;
	padding: 6px 12px;
	line-height: 1.42857143;
	text-decoration: none;
	color: #212529;
	background-color: #fff;
	border: 1px solid #dee6e9;
	margin-left: -1px
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
	margin-left: 0;
	border-bottom-left-radius: 2px;
	border-top-left-radius: 2px
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
	z-index: 3;
	color: #23527c;
	background-color: #eff1f2;
	border-color: #dee6e9
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
	z-index: 2;
	color: #fff;
	background-color: #212529;
	border-color: #212529;
	cursor: default
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
	color: #777;
	background-color: #fff;
	border-color: #dee6e9;
	cursor: not-allowed
}

.pagination-lg>li>a,
.pagination-lg>li>span {
	padding: 10px 16px;
	font-size: 17px;
	line-height: 1.3333333
}

.pagination-lg>li:first-child>a,
.pagination-lg>li:first-child>span {
	border-bottom-left-radius: 3px;
	border-top-left-radius: 3px
}

.pagination-lg>li:last-child>a,
.pagination-lg>li:last-child>span {
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px
}

.pagination-sm>li>a,
.pagination-sm>li>span {
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5
}

.pagination-sm>li:first-child>a,
.pagination-sm>li:first-child>span {
	border-bottom-left-radius: 1px;
	border-top-left-radius: 1px
}

.pagination-sm>li:last-child>a,
.pagination-sm>li:last-child>span {
	border-bottom-right-radius: 1px;
	border-top-right-radius: 1px
}
.alert-danger{
    background-color: #ff4444;
    color: #FFF;
    border-color: #CC0000;
}
.alert-success{
    background-color: #00C851;
    color: #FFF;
    border-color: #007E33;
}
.form-control.error {
    border-color: #CC0000;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.client-icons {
	margin: 0;
	padding: 0;
	width: auto;
}
.client-icons li {
	display: inline-block;
	margin: -1px 1px 0 0;
	padding: 0;
	border-radius: 100%;
	overflow: visible;
}

.client-icons li a {
	transition: all 0.2s ease;
	border-radius: 100%;
	display: block;
	height: 28px;
	line-height: 28px;
	width: 28px;
	text-align: center;
	color: #333 !important;
	text-decoration: none;
	font-size: 12.8px;
	font-size: 0.8rem;
}

.client-icons li:hover a {
	background: #151719;
	color: #FFF !important;
}
#legalnote .modal-dialog {
    max-width: 740px;
}
#legalnote .modal-body{
    font-size: 15px;
    line-height: 22px;
}
.cookietable{
    border-color: #e7eaed!important;
}
.cookietable th,
.cookietable td{
    padding-left:5px;
    padding-right:5px
}

/* PORTADA */

#top-header{
    padding-top:10px;
    padding-bottom:10px;
    background-color:#505457
}
#top-header p,
#top-header a,
#top-header i{
    color:#fff;
    margin-bottom:0
}
#top-header .logo-digest-apk{
    margin-left: 45px;
    float: right;
    display: inline-block;
}
#top-header .logo-digest,
#top-header .langs{
    float: right;
    display: inline-block;
}
#top-header .logo-digest{
    margin-right: 30px;
}
#top-header .langs a{
    padding:1px;
    display: inline-block;
    margin-left: 15px;
}
#top-header .langs a.actiu{
    font-weight:bold
}
#top-header .fa-envelope{
    margin-left:20px!important
}
#header.header-narrow .header-logo .logo-default{
    margin:0
}
#header .viewcart{
    position:relative
}
#header .viewcart .badge{
    background-color: #ffa901;
    height: 15px;
    min-width: 15px;
    padding: 0px 5px;
    position: absolute;
    top: -2px;
    left: 16px;
    display: block;
    border-radius: 30px!important;
    color: #fff;
    line-height: 15px;
    font-weight: bold;
    font-size: 12px;
}
ul.breadcrumb{
    padding: 0;
    margin: 0;
    margin-top: 39px;
    font-size: 17px;
}
ul.breadcrumb>li+li:before {
    content: "";
    width:5px;
    height:8px;
    background-image: url("/img/breadcrumb.png");
    display:inline-block;
    margin-left: 8px;
    margin-right: 3px;
    margin-bottom: 1px;
}
.serveis .row-serveis{
    padding-top:20px;
    padding-bottom:20px
}
.serveis .col-serveis{
    display: flex;
}
.serveis .col-serveis h4{
    color: #212529;
    font-weight: 600;
}
.serveis .col-serveis.col-titols > div,
.serveis .col-serveis img{
    align-self: flex-end;
}
.section-custom-construction-2:after{
    display:none!important
}
.diamonds > li{
    position:relative
}
.diamonds .content img{
    width: 375px;
    height: 375px;
    object-fit:cover
}
span.square{
    width: 16px;
    height: 16px;
    background-color: #FFA901;
    display: inline-block;
    margin-right: 15px;
}
.recent-posts h4{
    margin-bottom:12px
}
.homepage .blog_image_wrapper{
    height: 132px;
}
.homepage .wrapperproj{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    color:#FFF;
    opacity: 0;
    transition: all 0.2s ease;
}
.homepage .wrapperproj.sm{
    font-size: 17px;
    padding: 10px;
    line-height: 19px;
}
.homepage li:hover .wrapperproj{
    opacity:1
}
.homepage .diamonds .diamond:hover:after,
.diamonds .content:after{
    content:''!important;
}

/* QUI SOM */
#certificacions p{
    max-width: 130px;
    line-height: 18px;
    font-size: 14px;
    margin-top: 10px;
}

/* PROJECTES */
.project-image,
.product-image{
    display:block;
    padding-bottom: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* background-color: #e7eaed; */
}

.project-image,
.product-no-image{
    display:block;
    padding-bottom: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #e7eaed;
}

/* DETALL PROJECTE */
.info-projecte .titol-projecte{
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
    margin-bottom: 5px!important;
    font-weight: 400;
}
.info-projecte .subtitol-projecte{
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px!important;
    text-align: center;
    font-size: 24px;
    text-transform: none;
    font-weight: 400;
    color: #777777;
}
.alert.alert-warning.dimensions{
    float: left;
    margin-bottom: 0;
    margin-top: 15px;
    text-align: left;
    padding-top: 8px;
    padding-bottom: 7px;
}

/* PRODUCTES */
.desc-producte,
.desc-producte p{
    line-height: 22px!important;
    font-size: 15px!important;
    color: #777!important;
    margin-bottom: 15px!important;
}
.desc-producte p span{
    /*color:#212529!important*/
}
.modelqttlabel{
    display:block;
    margin-top: 10px;
}
#modelqtt {
    width: 50px;
    float: left;
    text-align: center;
}
#solpressu{
    margin-left: 10px;
    padding: 6px 15px;
}
.dropdown-menu .referencia_producte{
    font-size: 16px;
    font-weight: bold;
    color: #212529;
    margin-right: 15px;
    display:block;
}
.dropdown-menu .selected .referencia_producte{
    color:#fff
}
.dropdown-menu .mides_producte,
.dropdown-menu .nivellR_producte,
.dropdown-menu .descripcio_producte{
    font-size: 16px;
}
.dropdown-menu .descripcio_producte{
    float:left;
    max-width: calc(100% - 100px);
    white-space: normal;
    line-height: 20px;
}
.dropdown-menu .descripcio_producte.veurepreus0{
    max-width: 100%;
}
.dropdown-menu .mides_producte,
.dropdown-menu .nivellR_producte{
    line-height: 15px;
}
.dropdown-menu .mides_producte span,
.dropdown-menu .nivellR_producte span,
.dropdown-menu .descripcio_producte span{
    color: #8b9196;
    font-size:14px
}
.dropdown-menu .selected .mides_producte span,
.dropdown-menu .selected .nivellR_producte span,
.dropdown-menu .selected .descripcio_producte span,
.dropdown-menu .selected .mides_producte,
.dropdown-menu .selected .nivellR_producte,
.dropdown-menu .selected .descripcio_producte{
    color: #fff;
}
.dropdown-menu .mides_producte{
    display:block
}
.dropdown-menu .descompte_producte{
    font-size: 16px;
    background-color: #fff3cd;
    color:#212529!important;
    padding: 3px 6px;
    border-radius: 2px;
    float: right;
    margin-left: 15px;
    margin-top: -4px;
    margin-bottom: 10px;
}
.dropdown-menu .pvp_producte{
    font-size: 16px;
    background-color: #e7eaed;
    padding: 3px 6px;
    border-radius: 2px;
    float: right;
    color:#212529!important;
    margin-top: -4px;
}
button .referencia_producte{
    color: #212529;
    font-weight: bold;
    margin-right: 12px;
}
button .mides_producte,
button .nivellR_producte,
button .descripcio_producte{
    margin-right:12px;
    color: #212529;
}
button .pvp_producte{
    background-color: #e7eaed;
    padding: 3px 6px;
    border-radius: 2px;
    color: #212529!important;
}
.dropdown-menu .dropdown-item .text{
    width:100%
}
.bootstrap-select .dropdown-menu li a{
    border-bottom: #d9d9d9 solid 1px;
    padding-bottom: 10px;
}
.bootstrap-select .dropdown-menu li:last-of-type a{
    border-bottom: none;
}
.dropdown-item.active,
.dropdown-item:active{
    background-color: #ffa901;
}

/* BLOG */
.blog_image_wrapper{
    height: 276px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#e7eaed;
}
.blog-image-detail{
    height:420px;
    width:100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#e7eaed;
}
.blog-detail .data-blog{
    font-size:20px;
    color:#777777;
    font-weight: 300;
}
.blog-detail .titol-blog{
    font-weight:normal;
    font-size:30px;
    line-height:34px;
    color:#212529
}
.blog-detail a{
    word-break: break-word;
}

/* CONTACTE */
.subtitol_contacte{
    max-width:340px
}

/* LOGIN */
.cool-block-bor{
    border: #e7eaed solid 1px;
    padding: 30px;
}
.cool-block-bor h3{
    background-color: #e7eaed;
    padding: 15px;
}
.labelpwd{
    font-size: 13px;
    margin-left: 14px;
    margin-bottom:0
}
.form-group.firstname{
	opacity:0;
	height:1px;
	margin:0;
	overflow:hidden
}
.recupera-pwd{
    margin-bottom:100px
}
.recupera-pwd .firstname{
    opacity:0;
    height:1px;
}

/* FOOTER */
#footer{
    background: #515355 url(/img/bg-footer.jpg) no-repeat 50% 50%;
    background-size:cover
}
#footer .list-footer-nav a{
    font-size: 15px;
    color: #fff;
}
#footer p,
#footer a:not(.btn),
#footer [class*="fa-"],
#footer .footer-copyright p{
    color: #fff;
}
#footer .logo {
    margin-top: 0;
    margin-bottom:10px
}
#footer #newsletterForm label{
    color:#FFF
}
#footer #newsletterForm .checkbox{
    margin-top:5px
}
#footer #newsletterForm .checkbox a{
    text-decoration:underline
}

/* COOKIES */
html #cookie-policy-consent{
    background-color:#505457!important;
    border-top: 1px solid #414548!important;
    z-index: 9999!important;
    display: flex !important;
    align-items: center!important;
    justify-content: center!important;
    padding: 10px 0!important;
}
#cookie-policy-consent p{
    font-size: 14px!important;
    float: left!important;
    width: calc(100% - 120px)!important;
    text-align: center!important;
    padding-bottom: 0!important;
}
#cookie-policy-consent a#cookie-policy-consent-close{
    border-radius: 0px!important;
    background-color: #FFA901!important;
    border-style: solid!important;
    border-width: 1px!important;
    border-color: #FFA901 #FFA901 #d48c01!important;
    padding:6px 15px!important;
    width: 90px!important;
    display: block!important;
    float: right!important;
    margin-right: 20px!important;
}

/* CART */

.view-cart img{
    max-height:50px;
}
.view-cart .input-group{
    max-width:120px;
}
.view-cart td span,
.view-cart td a{
    line-height: 20px;
    display: inline-block;
}
.view-cart .btn-primary{
    float:right
}
.btn-light{
    background-color: #e7eaed !important;
    border-color: #e7eaed #e7eaed #dfe4e8!important;
    color: #212529;
}

@media (min-width: 1199px){
    .diamonds .diamond-sm .content img {
        width: 195px;
        height: 195px;
    }
}
@media (min-width: 992px){
    html #header.header-semi-transparent-light .header-body {
        transform: translate3d(0, 0, 0);
    }
    #header .header-nav.header-nav-stripe nav > ul:not(:hover) > li > a.active {
        background-color: transparent;
    }
    html:not(.sticky-header-active) #header .header-nav-main nav > ul > li > a,
    html:not(.sticky-header-active) #header.header-semi-transparent-light .header-nav-main nav > ul > li:not(.active) > a{
        font-size:15px;
        color:#212529;
        background-color:transparent!important
    }
    html:not(.sticky-header-active) .homepage #header .header-nav-main nav > ul > li > a,
    html:not(.sticky-header-active) .homepage #header.header-semi-transparent-light .header-nav-main nav > ul > li:not(.active) > a,
    html:not(.sticky-header-active) .homepage #header.header-semi-transparent-light .header-nav-features i{
        color:#FFF;
    }
    html.sticky-header-active #header .header-nav-main nav > ul > li > a,
    html.sticky-header-active #header.header-semi-transparent-light .header-nav-main nav > ul > li:not(.active) > a{
        font-size:15px;
        color:#212529
    }
    #header .header-nav.header-nav-stripe nav > ul:not(:hover) > li > a.active,
    #header .header-nav.header-nav-stripe nav > ul > li > a.active,
    html:not(.sticky-header-active) #header.header-semi-transparent-light .header-nav-main nav > ul > li:hover > a,
    html.sticky-header-active #header.header-semi-transparent-light .header-nav-main nav > ul > li:hover > a{
        color:#FFA901!important
    }
    #header.header-semi-transparent-light .header-nav-main nav > ul > li:last-child > a{
        padding-right:0
    }
    #header .header-nav.header-nav-stripe nav > ul > li:hover > a,
    #header .header-nav.header-nav-stripe nav > ul > li.open > a {
        background-color: transparent;
    }
    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a{
        font-size: 0.9em;
    }
    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
        border-top-color: #FFA901;
    }
}
@media (max-width: 991px){
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active,
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active:focus,
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active:hover {
        background: #FFA901;
    }
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
        color: #FFA901;
    }
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.nav-link{
        color:#212529
    }
    #header .header-nav-main nav{
        max-height: 80vh;
    }
    html #header.header-semi-transparent-light .header-body,
    html:not(.sticky-header-active) .homepage #header.header-semi-transparent-light .header-body {
        background: rgba(255, 255, 255, 0.8) !important;
    }
}
@media (max-width: 768px){
    .serveis .col-serveis img{
        max-width: 125px;
    }
    #footer{
        background-size: cover;
    }
    .homepage .blog_image_wrapper,
    .blog_image_wrapper{
        height: 261px;
    }
    .blog_image_wrapper.blog{
        margin-bottom: 15px;
    }
    .row.wrapper-noticies{
        margin-bottom:50px!important
    }
    .row.wrapper-noticies p{
        margin-bottom:15px
    }
}
@media (max-width:480px){
    h2{
        font-size: 2em;
        line-height: 32px;
    }
    .mailheader{
        float:right
    }
    .logo-digest{
        float: left!important;
    }
    #header{
        position:relative!important
    }
    .home-textintro h2{
        margin-bottom:10px!important
    }
    .serveis .col-serveis img{
        margin:auto;
        max-width: 140px;
    }
    .serveis .col-serveis.col-titols h4{
        margin-bottom:0!important
    }
    .serveis .col-serveis.col-titols > div{
        margin: auto;
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    .diamonds .diamond{
        height: 215px;
        width: 215px;
    }
    .diamonds > li{
        margin: 45px 0 115px 115px !important;
    }
    .diamonds .content img {
        width: 320px;
        height: 320px;
    }
    html section.section-tertiary .pt-4{
        margin-top:0!important;
        padding-top: 2px!important;
    }
    html section.section-tertiary h1{
        margin-top:0!important
    }
    aside.sidebar.quisom{
        display:none
    }
	.blog-image-detail{
		height:170px
    }
    .homepage .blog_image_wrapper,
    .blog_image_wrapper{
        height: 145px;
    }
    ul.breadcrumb{
        display:none;
    }
}
