.wrapper {
    display: flex;
    align-items: stretch;
	position: relative;
}

#sidebar {
    min-height: 100vh;
	position: absolute;
	z-index: 102;
	background-color: rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
#sidebar {
    min-width: 500px;
    max-width: 500px;	
	margin-left: -500px;
}

#sidebar.active {
	margin-left: 0;
}
}

@media (max-width: 768px) {
    #sidebar {
		width: calc(100% - 48px);
		left:-webkit-calc(48px - 100%);
		left:-moz-calc(48px - 100%);
		left:calc(48px - 100%);
		height:1500px;
    }
    #sidebar.full {
		width: 100%;
		left: -100%;
    }
    #sidebar.active {
        left: 0;
    }
	.footer {
		height: 32px;
	}
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar {
    /* don't forget to add all the previously mentioned styles here too */
    background: #ffffff;
    color: #000;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}
.sidebartitle {
	padding: 16px;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}
#content {
	width:100%;
	position: fixed;
	height: calc(100% - 48px)!important;
}

#map {
	width: 100%;
	height: calc(100% - 48px);
}

#overlay {
	z-index: 101;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	width: 100%;
	min-height: 100vh;
	position: fixed;
}

#overlay.active {
	display:block;
}

.bg-light {
    background-color: #ffffff!important;
}

.navbar {
	height: 48px;
}

.navbar.sidebar {
	border-bottom:1px solid #c8c8c8;
	justify-content: unset;
}

#location {
	margin-left: 8px;
}

#myChart, #myTides {
	border-bottom:1px solid #c8c8c8;
}

.ol-viewport {
   background-color: rgba(0, 0, 0, 0.2);
 }
 
 .ol-zoom-in, .ol-zoom-out {
	color: #8a8a8a!important;
	background-color: rgba(0, 0, 0, 0.5)!important;
 }

.ol-attribution {
	display:none;
}

#myChart, #myTides, #spotdescription {
	padding:16px;
	display: none;
}

#tidescontainer {
	display: none;
}

#myChart.active, #myTides.active, #tidescontainer.active, #spotdescription.active {
	display: block;
}

.navbar {
	padding-top: 4px;
	padding-bottom: 4px;
	padding-right: 0px;
	padding-left: 0px;
}

.navbar-collapse {
	z-index: 100;
	padding: 8px;
	background-color: #ffffff;
    padding-left: 24px;
}

@media (min-width: 768px) {
	.navbar-collapse {
		height: 48px;
	}
} 

.navbar_logo {
	height: 40px;
	padding-left: 16px;
}

.navbar-toggler {
	margin-right: 16px;
}

#loc_sidebar_container {
	overflow-y: scroll;
    top: 48px;
    bottom: 0;
    position: absolute;
	width: 100%;
}

#spotdescription {
    font-size: 13px;
}

.camcontent {
	width: 100%;
    position: absolute;
    height: calc(100% - 48px)!important;
}

.camimage {
	width: 200px;
	height: 200px;
	padding: 16px;
	margin: auto;
}

.imagecard {
    background-color: white;
    margin: 16px;
	width:100%;
}

.camdescription {
	padding: 16px;
	margin: auto;
}

.card-container {
	padding:16px;
}

@media (max-width: 768px) {
	.card-container {
		padding-left:0px;
		padding-right:0px;
		padding-bottom: 0px;
	}
}

.card {
	background: #fff;
	padding: 16px;
	img {
		width: 100px;;
	}
}

.img-square-wrapper {
	padding: 0px;
	width: 100px;
	height: 100px;
}

.row {
	margin-left: 0px;
	margin-right: 0px;
}

[class*="col-"] {
	width: 100%;
	
}
.container-fluid {
	max-width: 1200px;
	margin:auto;
}

.pt24 {
	padding-top: 24px;
}

.dismiss {
	margin-right: 16px;
    font-size: 22px;
    color: #448fff;
}

#camiframe, #playerElement {
	display: none;
}

#camiframe.active, #playerElement.active {
	display: block;
}

#playerElement {
	width:100%; 
	height:0; 
	padding:0 0 56.25% 0
}

#windy {
	width: 100%;
	height: calc(100% - 48px)!important;
}