@charset "utf-8";

@IMPORT url("/twni/css/twni-icons-09e678c81057b2805f23156984a207dd.css");

@IMPORT url("/twni/css/twni-colors-18d1559217b5846a98c1074a218f6f84.css");

@IMPORT url("/twni/css/twni-pages-ae3b448cb27d55c080d66529b5504455.css");


/******************************************************************
    placeholder text when no cameras in favourites panel
********************************************************************/
.no-cameras-placeholder {
    grid-column: 1 / -1; /* Makes the div span across all columns */
    width: 100%;         /* Optional: Ensures the div takes full width */
    height: auto;        /* Adjust height as needed */
    font-family: var(--bs-body-font-family);
    padding: 10px;
}

.no-cameras-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 1rem;
}

.no-cameras-td {
    padding: 10px;
    text-align: left;
    vertical-align:top;
}


/******************************************************************
    message fragment styling
********************************************************************/
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 25%;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
}


/* Media query for larger screens */
@media (min-width: 342px) {
    .modal-content {
        width: 90%; /* Adjust width for small screens */
    }
}

@media (min-width: 768px) {
    .modal-content {
        width: 50%; /* Adjust width for larger screens */
    }
}

@media (min-width: 1024px) {
    .modal-content {
        width: 25%; /* Adjust width for very large screens */
    }
}

/******************************************************************
    end of message fragment styling
********************************************************************/   

/* Default button style */
.cameraPreviewAdd img {
    width: 20px;
    height: 20px;
    vertical-align: baseline;
    transition: all 0.2s ease; /* Smooth transition for effects */
}


/* Hover effect: Simulate a haptic feedback with slight scaling and shadow increase */
.imgrotate:hover .cameraPreviewAdd img {
    transform: scale(1.15); /* Scale the image slightly */
}

/* Press down effect: Simulate pressing the button */
.cameraPreviewAdd:active {
    transform: scale(1.05) translateY(2px); /* Slightly smaller scale and move down */
}

.cameraNewTabLink {
    border: 0; /* Removes the border */
    background: transparent; /* Optional: Makes the button background transparent */
    padding: 0; /* Optional: Adjust padding as needed */
    cursor: pointer; /* Changes the cursor to a pointer */
    outline: none; /* Removes the outline on focus */
}

.cameraNewTabLink img {
    vertical-align: middle; /* Ensures image aligns nicely */
    width: 16px; 
    height: 16px; 
    margin-left: 5px; 
    vertical-align: middle;
}

/******************************************************************
    Common styling
********************************************************************/
a {
	text-decoration: none;
}

a[type="application/pdf"]:after {
    content: "\f1c1";
    font-family: Font Awesome\ 5 Free;
    padding-left: 0.25rem;
}

body {
    min-width: 360px;
}

body.popup {
    min-width: 0px;
}

h1 {
    margin-bottom: 1.5rem;
    padding-bottom: .25rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: .75rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: .25rem;
}

h5 {
    font-size: 1rem;
    margin-bottom: .25rem;
}

h6 {
    font-size: 1rem;
    font-style: italic;
}

.container-fluid {
    padding: .5rem .5rem 5px .5rem;
}

.container-static {
    margin: 1rem auto;
    padding: 0 1rem;
}

.invalid-feedback {
    display: inline !important;
    font-size: 100%;
    font-weight: 800;
    margin: 0;
    padding: 0 .25rem;
    width: auto;
}

.alert-item {
    font-weight: 900;
    padding: .25rem 0;
    margin: 0;
}

.tab-content {
    overflow-y: auto;
}

.card {
    padding: 0;
}

.card-header a {
    display: flex;
    cursor: pointer;
}

.card-body {
    padding: 1rem;
}

.card-body-with-border {
    border-radius: inherit;
}

.card-body p {
    margin-bottom: 0;
}

.custom-switch {
    border-radius: .25rem;
    display: inline-block;
    font-size: 1rem;
    height: 2rem;
    margin: 0;
    position: relative;
    width: 6.2rem;
}

.custom-switch input {
    display: none;
}

.custom-switch-slider {
    border-radius: .2rem;
    bottom: 0;
    cursor: pointer;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: .1s;
}

.custom-switch-slider:before {
    border-radius: .2rem;
    bottom: .25rem;
    content: 'Expand';
    left: .25rem;
    line-height: 1.5;
    position: absolute;
    text-align: center;
    transition: .1s;
    width: 4.5rem;
}

input:checked+.custom-switch-slider:before {
    content: 'Collapse';
    left: auto;
    right: .35rem;
}

/* @deprecated */
.img-static {
    min-width: 150px;
    max-width: 300px;
    height: auto;
}

/* @deprecated */
.img-125 {
	width: 125px;
}

.img-150 {
    width: 150px;
    height: auto;
}

.img-300 {
    width: 300px;
    height: auto;
}

.font-size-100pc {
	font-size: 100%;
}

/******************************************************************
  Navigation styling
********************************************************************/
.navbar-brand img {
	width: 245px;
}

.dfi-logo {
	height: 45px;
	margin-top: 2px;
}

.eu-logo {
    height: 60px;
}

.arc-atlantique-logo {
    height: 60px;
}

@media(max-width:690px ){
    .arc-atlantique-logo{
        float:none !important;
    }
    .eu-logo{
        float:none !important;
        max-height: 7vh !important;
    }
}

@media(min-width:1260px){
    .arc-atlantique-logo{
        float:right !important;
        max-height: 6vh !important;
    }

    .eu-logo {
        float:left !important;
        max-height: 7vh !important;
    }

}

@media(min-width:1261px){
    .arc-atlantique-logo{
        float:right !important;
        max-height: 6vh !important;
    }

    .eu-logo {
        float:right !important;
        max-height: 7vh !important;
    }

}

@media(max-width: 690px){}

.navbar-right { padding-left: 10px; }
@media ( min-width: 1601px) { .navbar-right { margin-left: auto; } #index-tabs { height: 68vh; }}
@media ( max-width: 1600px) { .navbar-right { margin-left: 685px; margin-right: auto; } #index-tabs { height: 57vh; } }
@media ( max-width: 1300px) { .navbar-right { margin-left: 579px; margin-right: auto; }}
@media ( max-width: 1200px) { 
	.navbar-right { margin-left: 0; margin-right: auto; }
	.navbar-social-media-icon { text-align: center; } 
	#index-tabs { height: 67vh; }
}

@media ( max-width: 576px) { 
	.navbar-social-media { flex-wrap: nowrap; } 
    .navbar-social-media-icon { padding: 0; text-align: center; }	
}

.navbar-fixed-top {
    border-width: 0 0 1px 0
}

.navbar-fixed-bottom {
    border-width: 1px 0 0 0
}

.navbar {
    padding: .5rem 1rem;
    margin: 0;
}

.footer-nav {
    padding: 1rem 1rem;
    margin: 0;
}
.navbar-brand {
    margin-right: 0;
    padding: .25rem 1rem .25rem 0;
}

.navbar .nav-item span {
    font-weight: 600;
    text-align: center;
}

.navbar .nav-item i {
    width: 2.25rem;
}

#navbarNav {
    flex-direction: column;
    margin-top: .5rem;
    width: 100%;
}

#navbarNav ul {
    margin-bottom: .5rem;
}

.footer-nav .list-inline-item {
    padding-right: .5rem;
    margin: .5rem;
    margin-left: 0;
    margin-right: .25rem;
    width:auto;
}

.footer-nav .list-inline-item:last-child {
    border: 0;
}

.footer-nav .footer-image-links {
    display:inline;
    padding-right: 0;
    padding-left: .5rem;
    margin: .5rem;
    margin-right: 0;
    margin-left: .25rem;
}

.footer-nav a[target=_blank]:after, .external-link:after {
    color: rgba(0, 0, 0, 0.8);
    content: "\f2d2";
    font-size: 90%;
    font-family: Font Awesome\ 5 Free;
    padding-left: 0.25rem;
}

/** Bootstrap lg viewport */
@media ( min-width : 992px) {
    .container-fluid {
        padding: 1rem 1rem 10px 1rem;
    }
    
}

/** Bootstrap xl viewport */
@media ( min-width : 1200px) {
    .container-fluid {
        padding: 1.5rem 1.5rem 10px 1.5rem;
    }
    .navbar {
        padding: .5rem 1.5rem;
    }
    
    .footer-nav {
        padding: 1rem 1.5rem;
    }
    
    .navbar .nav-link {
        margin: 0 .25rem;
    }
    .navbar .nav-link span {
        max-width: 6.5rem;
    }
    .navbar .nav-link i {
        font-size: 2rem;
        width: auto;
    }
}

/** Custom/TWNI viewports */
@media ( min-width : 1600px) {
    .navbar-brand {
        padding-right: 2rem;
    }
    #navbarNav {
        flex-direction: row !important;
        margin: 0;
        padding: .5rem 0;
    }
    #navbarNav ul {
        margin-bottom: 0 !important;
    }
}

/* Cookie header */
.cookie-header {
    position: fixed;
    top: 0;
    background-color: rgba(4,31,52,0.95);
    color: #fff;
    text-align: center;
    z-index: 1050;
    width: 100%;
}

.cookie-header a {
    color: #64b5d9;
}

/* Site map */
.site-map ul, .site-map li, .site-map {
	position: relative;
}

.site-map ul {
	list-style: none;
}

.site-map li {
	padding-bottom: 2px;
}

.site-map li::before, .site-map li::after {
	content: '';
	position: absolute;
	left: -12px; 
}

.site-map li::before {
	border-top: 1px solid #afafaf;
	top: 12px;
	width: 10px;
	height: 0;
}

.site-map li::after {
	border-left: 1px solid #afafaf;
	top: 2px;
	width: 0px;
	height: 100%;
}

.site-map ul > li:last-child::after {
	height: 10px;
}

.list-circle-bullet {
	list-style-type: circle;
}

/* Add to any overrides */
.a2a_kit a:not(.copy-link) {
	line-height: 32px !important;
}

.copy-link span {
	width: 32px;
	height: 32px;
}

.break-word {
	word-wrap: break-word;
}

.ps-15px {
	padding-left: 15px;
}

.w-65px {
	width: 65px !important;
}

.copy-link:hover, .copy-link *:hover {
	opacity: 0.7 !important;
}

.py-2px {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
}
/******************************************************************
  CCTV page styling
********************************************************************/
.camera-group-header {
    background-color: #C6C7C8;
    color: #7F2131;
    padding: 0.22rem 0.5rem;
    font-weight: 475;
}

.camera-group-container {
    background-color: #F8F9FA;
    margin-bottom: 1.5rem;
}

.camera-group-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.no-border-right {
    border-right: 0px !important;
}

.cctv-no-style {
    max-width:80%;
    display: inline-block;
}

.cctv-icon-small {
    width: 16px;
}

.cctv-truncated-text{
    max-width: 80%;            /* Set the max width of the text */
    overflow: hidden;          /* Hide the overflow */
    text-overflow: ellipsis;   /* Add ellipsis (...) at the end of the text */
    white-space: nowrap;       /* Prevent text from wrapping */
    display: inline-block;     /* Make the element inline-block */
    vertical-align: bottom;    /* Align the text at the bottom */
}

.no-float {
    float: none;
}

.camera-page-map{
    height: 640px;
    position: relative;
    overflow: hidden;
}

.cameraPreviewAdd {
    border:none;
    background-color:inherit;
    color:black;
    font-weight:bold;
    float:left;
}

.cameraPreviewAdd:hover {
    text-decoration:none;
}

/******************************************************************
  Roadwork page styling
********************************************************************/
.roadworkRowTitle {
    font-weight:700;
    list-style:none;
}

.roadworkRowTitleContainer {
    padding:0;
}

.roadwork-row-toggle {
    cursor: pointer;
}

.roadwork-row-toggle:focus {
    outline: 2px solid #7f2131;
    outline-offset: -2px;
}

.roadwork-summary {
    min-height: 2.5rem;
    flex-wrap: nowrap;
}

.roadwork-summary > .col {
    min-width: 0;
}

.roadwork-expand-indicator {
    display: inline-block;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.roadwork-row-toggle.expanded .roadwork-expand-indicator {
    transform: rotate(90deg);
}

.roadwork-details[hidden] {
    display: none !important;
}

/******************************************************************
  Subscribe page styling
********************************************************************/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
