/* Variables */
:root {
  --modal-status-default: none;
  --modal-bg-color: #eee;
  --modal-backdrop-color: #ffffff;
  --modal-backdrop-opacity: 0.85;
  --collapse-status-default: none;
  --primary: #82c0c7;
  --secondary: #666666;
}

/* Bootstrap - Functional */
.collapse:not(.show) {
    display: none;
}
.collapsing {
	position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: height .35s ease;
    transition: height .35s ease;
}

.fade {
	-webkit-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.text-justify {
    text-align: justify!important;
}


/* Bootstrap Buttons */
.btn {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    border-radius: 3px;
    border: 0;
    padding: 6px 20px;
    
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}
.btn-primary {
	background-color: var(--primary);
    color: #FFFFFF;
}
.btn-secondary,
.btn-default 
{
	background-color: var(--secondary);
    color: #FFFFFF;
}


/* Bootstrap - Modal */
.modal-backdrop {
	position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: var(--modal-backdrop-color);
}
.modal-backdrop.show {
    opacity: var(--modal-backdrop-opacity);
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
	background-color: var(--modal-bg-color);
	padding: 1.75rem;
}

.modal-footer {
	margin-top: 20px;
}

.modal-open .modal {
	overflow-x: hidden;
    overflow-y: auto;
}


@media (min-width: 1024px) {
	.modal-lg, .modal-xl {
	    max-width: 800px;
	}
}
@media (min-width: 576px) {
	.modal-dialog-centered {
	    min-height: calc(100% - 3.5rem);
	}
}
@media (min-width: 576px) {
	.modal-dialog {
	    max-width: 500px;
	    margin: 1.75rem auto;
	}
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

/* Cookieman specific */
.cookieman-modal-title {
	margin-top: 0px;
}


#cookieman-modal #cookieman-settings-toggle[data-toggle=collapse]:after {
    position: relative;
    right: 0;
    top: 0;
    
    display: flex;
    margin-left: 10px;
}

#tx_cookieman #cookieman-acco > .card {
	margin-top: 15px;
}