/* .fa, .far, .fas */
body *:not(.fa):not(.fas):not(.far) {
	font-family: 'Montserrat-Regular', sans-serif;
	--font-family-sans-serif: 'Montserrat-Regular', sans-serif;
	--font-family-monospace: 'Montserrat-Regular', sans-serif;
}

h1, h2, h3, h4, .h3, .h1, .h2, .h4, .bold {
    font-family: 'Montserrat-Bold', sans-serif !important;
}

h1{
    color: #337ab7;
    font-size: 3rem !important;
}

h2{
    font-size: 1.6rem !important;
}

h3, .h3{
    font-size: 1.4rem !important;
}

h4, .h4{
    font-size: 1.2rem !important;
}

.bg-grey {
    background-color: #f1f1f0;
}

.blocks {
	height: 100vh;
	width: 100vw;
    overflow: hidden;
    position: relative;
}

.block {
    position: absolute;
}

.blocks .block-content {
	height: 100%;
	width: 100%;
	overflow: auto;
/* 
    display: flex;
    align-items: center;
    justify-content: center; */
}

.block-content:has(iframe){overflow:hidden !important}

.blocks .block-content > * {
	max-height: 100%;
	max-width: 100%;
}

.blocks > .row {
	margin-bottom: 30px;
}

.block-phone .col,
.block-code .col {
	background-color: #f5f5f5;
}

#clock_block {
	float: right;
}

#clock_iframe {
	border: 0;
}

/* Panel Bootstrap 3.3*/
.panel {
    background-color: #fff;
    border: 1px solid transparent;
	border-radius: 4px;
	padding: 0 !important;
}

.panel-primary {
    border-color: #337ab7;
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

/* BHC */
.container-bhc {
    height: 100%;
    max-width: calc(100vw - 30px);
    /*width: 100vw;*/
}

.container-bhc-list .row {
    border-bottom: 1px solid #202E70;
}
.container-bhc-list .row:first-child {
    border-top: 1px solid #202E70;
}

.container-bhc-list .row.societe-success {
    border-left: 5px solid #7cb245;
}

.container-bhc-list .row.societe-warning {
    border-left: 5px solid #f73d3d;
}

.container-bhc-list .row.societe-critical {
    border-left: 5px solid black;
}

.container-bhc h2,
.container-bhc-list h2 {
    color: #202E70;
    overflow: hidden;
    padding-right: 27px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.container-bhc h2 a {
    position: absolute;
    right: 0;
}

.container-bhc .list-super-devices > a,
.container-bhc-list .list-super-devices > a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-bhc .card-header a,
.container-bhc .card-header a:hover,
.container-bhc .card-header a:active,
.container-bhc .card-header a:focus,
.container-bhc-list  .card-header a,
.container-bhc-list  .card-header a:hover,
.container-bhc-list  .card-header a:active,
.container-bhc-list  .card-header a:focus {
    text-decoration: none;
}

/* BHC Table */
.container-bhc-table {
    font-size: 1.4rem;
}
.container-bhc-table h2 {
	font-family: 'Montserrat-Regular', sans-serif !important;
}
.container-bhc-table .status-tab {
    cursor: pointer;
}
.nowrap {
    white-space: nowrap;
}

/* Badge */
.badge-black, .badge-red {
    margin-left: 1rem;
}

.badge, .check-green {
    position: absolute;
    right: 0.5rem;
}

.badge-black {
    color: #333;
}

.badge-red {
    color: #f73d3d;
}

.check-green {
    color: #7cb245;
}

/* Menu accordeon */
.card-header {
    position: relative;
}

.card-header a {
    color: #202E70;
}

.card-header h5 {
    display: flex;
    align-items: center;
    padding-right: 0.5rem;
}

/* progress bar BHC */
.progress-bar {
    background-color: #e8e8e8;
    height: 3px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

.progress-red {
    height: 100%;
    background-color: #f73d3d;
}

/* Flux RSS */
.blue-rss-title {
    color: #0782c5;
    font-family: 'Montserrat-Bold' !important;
    font-size: 2.5vw;
    text-transform: uppercase;
}

.blue-rss-item {
    display: flex;
    border-bottom: 1px solid grey;
    padding: 2em;
}

.blue-rss-item-title {
    color: #202e6f;
    font-size: 1.5vw;
    font-family: 'Montserrat-Bold', sans-serif !important;
}

.blue-rss-item-image {
    max-width: 30%;
    height: auto;
    margin-right: 1em;
    object-fit: cover;
}

/* Message defilant */
.defilement-container {
    overflow: hidden;
    width: 100%;
}

.defilement-container.bg-grey {
    color: #202e6f;
}

.defilement-content {
    display: inline-block;
    padding-right: 2em;
    padding-left: 100%;
    font-size: 3em;
    white-space: nowrap;
    animation: defilement-rtl 30s infinite linear;
}

.defilement-message {
    white-space: nowrap;
}

.btn-connect-vpn {
    cursor: pointer;
}
@keyframes defilement-rtl {
    0% {
        transform: translate3d(0,0,0);      /* position initiale à droite */
    }
    100% {
        transform: translate3d(-100%,0,0);  /* position finale à gauche */
    }
}
