html,
body {
	height: 100%;
}

.b-popup{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.85);
    overflow: auto;
    z-index: 100;
    display: flex;
}

.b-popup-content{
	width: 100%;
	max-width: 620px;
	box-sizing: border-box;
	background-color: #f2f2f2;
    min-height: 500px;
	padding: 53px 75px 68px;
    margin:auto;
}

.b-popup-content p{
    text-align: justify;
}

.b-popup-content-header .popup-title{
    display: contents;
}

.b-popup-content-header .b-popup-header-close{
    color: #000;
}

.b-popup-content-header .b-popup-header-close:hover{
    text-decoration: none !important;
}

a .commercial-prop{
    border-color:transparent;
}

.main-page{
    max-width: 100% !important;
    padding: 0 !important;
}

.container.main-page{
    height: calc(100% - 126px);
    height: -moz-calc(100% - 126px);
    height: -webkit-calc(100% - 126px);
}

.card-group{
    height: 100%;
}

.card{
    border-radius:0px !important;
}

.card-group>.card{
    border:none;
    border-right: 1px solid #dee2e6;
}

.card-group>.card:last-child{
    border-right: none;
}

.card-img-top{
    border-radius: 0px !important;
}

.card-body, .card-footer{
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.card-header {
    border: 0px !important;
}

.card-group .card .card-header:hover{
    text-decoration: underline;
    background-color: transparent;
}

.card-group .card .card-header a{
    color:#fff;
    font-weight: 600;
    text-decoration: none !important;
}

.card-body .card-title a{
    display: block;
    color:#000 !important;
    margin: 10px 0 0 10px;
}

.card-footer{
    height: 100px;
    padding: .3rem 1rem !important;
    border-top: none !important;
}

.card-footer button{
    height: 100%;
}

.card-footer .col.buttons{
    height: inherit;
}

.commercial-prop .col{
    padding-right: 5px;
    padding-left: 5px;
}

.commercial-prop .btn-primary{
    border-color: transparent;
    background-color: inherit;
    text-transform: uppercase;
    font-weight: 600;
}

.commercial-prop .btn-primary:hover, .commercial-prop .btn-primary:not(:disabled):not(.disabled):active{
    border: 2px solid #fff;
}

.commercial-prop .btn-primary:focus, .commercial-prop .btn:focus{
    box-shadow: none !important;
}

.section_view .card-deck{
    width: 100%;
}

#accordion .card .card-header h5 button{
    text-align: left;
}

.catalogues{
    overflow: scroll;
    height: 400px;
}

.site-title a{
    color: #000 !important;
}

.site-title a:hover{
    color: #000 !important;
}

.header .telephone, .header .site-title{
    white-space: nowrap;
}

.section-name h2{
    color: #fff;
}

/******************** RESPONSIVE ********************/

@media screen and ( max-width:1500px ){

.card-footer .col.buttons{
    height: auto;
}

.org-info p small{
    font-size: 60%;
}

.card-footer .col:nth-child(n+1){
    flex-basis: auto;
    margin-bottom: .25rem;
}

.card-footer{
    height: auto;
}

.card-footer button{
    height: auto;
}

.container.main-page{
    height: calc(100% - 105px);
    height: -moz-calc(100% - 105px);
    height: -webkit-calc(100% - 105px);
}

.card-group{
    height: 100%;
}

}


@media screen and ( max-width:1285px ){

.header .telephone{
    font-size: 1rem;
}

.header .btns .btn{
    width: 100%;
}

.header .btns .btn:first-child{
    margin-bottom: 10px;
}

.card .card-header h5{
    font-size: 1rem;
}

.card .card-body h2{
    font-size: 1.5rem;
}

.container.main-page{
    height: calc(100% - 135px);
    height: -moz-calc(100% - 135px);
    height: -webkit-calc(100% - 135px);
}

.card-group{
    height: 100%;
}


}

@media screen and ( max-width:1024px ){

    .card .card-body h2{
        font-size: 1.25rem;
    }

}
@media screen and ( max-width:980px ){

    .container.main-page{
        height: calc(100% - 159px);
        height: -moz-calc(100% - 159px);
        height: -webkit-calc(100% - 159px);
    
    .card-group{
        height: 100%;
    }


}

@media screen and ( max-width:575px ){

    .card-group>.card {
    margin-bottom: 0px !important;
    }


    .b-popup-content{
        min-width: auto;
        min-height: auto;
        height: 100%;
        padding: 30px 30px;
        overflow: scroll;
    }


    #accordion{
        margin-bottom: 16px;
    }
}



/******************** /RESPONSIVE ********************/