﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

#maindiv {
    display: grid;
    grid-template-rows: 40px calc(100% - 40px);
    flex-wrap: wrap;
    gap: 10px;
    min-height: 95vh;
    height: 100%;
    width: 100%;
}

#mapid {
    position: relative;
    height: inherit;
    width: inherit;
    margin-top: 10px;
}

#mapid2 {
    position: relative;
    min-height: 100vh;
    min-width: calc(100vw - 20px);
    padding: 10px;
}

.mapBtn, #Markers{
    height: 32px;
}

.flexDiv{
    display: flex;
    gap: 5px;
}

.mapMarker{
    display: table;
    width: 48px;
    height: 42px;
}

.mapMarkerTop {
    display: block;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
    height: 24px;
    width: 48px;
    background-repeat: no-repeat;
    background-position: center;
}

.mapMarkerConfetti {
    display: block;
    position: relative;
    width: 320px;
    height: 320px;
}

.mMTConfetti400 {
    background-image: url("../images/confetti_400px.gif");
}

.mMTConfetti640 {
    background-image: url("../images/confetti_640px.gif");
}

.mMTCar {
    background-image: url("../images/specialmap/Car24.png");
}

.mMTCoffeeCup {
    background-image: url("../images/specialmap/CoffeeCup24.png");
}

.mMTCourt {
    background-image: url("../images/specialmap/Court24.png");
}

.mMTMotorCycle {
    background-image: url("../images/specialmap/Motorcycle24.png");
}

.mMTOfficer {
    background-image: url("../images/specialmap/Officer24.png");
}

.mMTOfficerGirl {
    background-image: url("../images/specialmap/OfficerGirl24.png");
}


.mapMarkerBelow {
    display: table-row;
    vertical-align: text-top;
    text-align: center;
    font-size: 11px;
    height: 18px;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center;
}

.mMBBlue {
    background-image: url("../images/specialmap/TemplateBlue.png");
    color: white;
}

.mMBGray {
    background-image: url("../images/specialmap/TemplateGray.png");
    color: white;
}

.mMBGreen {
    background-image: url("../images/specialmap/TemplateGreen.png");
}

.mMBLightBlue {
    background-image: url("../images/specialmap/TemplateLightblue.png");
}

.mMBOrange {
    background-image: url("../images/specialmap/TemplateOrange.png");
}

.mMB135::after{
    position:relative;
    top: 1px;
    content: "1962"
}


.songImgMap {
    border-radius: 12px 12px 0px 0px;
    border: 5px solid gainsboro;
    width: 250px;
}

.songImg {
    border-radius: 12px 12px 0px 0px;
    border: 5px solid gainsboro;
    border-bottom: 0px;
}

.songMediaplayer {
    border: 5px solid gainsboro;
    border-top: 0px;
    border-radius: 0px 0px 12px 12px;
    width: 400px;
}

#confetti {
    width: 320px;
    height: 80px;
    background: royalblue;
    border: 1px solid royalblue;
    border-radius: 12px;
    padding-top: 20px;
    color: whitesmoke;
    font-size: 20px;
    letter-spacing: 0.2em;
}

#divCoord { 
    display: grid; 
    padding: 5px;
    align-items: center;
    max-width: 250px; 
}

/* iPhone X */
@media only screen and (max-width: 480px) {

    #divCoord {
        width: 140px;
        max-width: 140px;
    }

    #divCoord h2, #divInfos h2 { font-size: calc(0.75rem + .9vw) }
    #divCoord h4, #divInfos h4 { font-size: calc(0.75rem + .3vw)}
    
    #divCoord .text-center .dx-checkbox-container .dx-checkbox-text {
        font-size: 9px;
    }
    
    #checkBoxConfetti2 .dx-checkbox-container .dx-checkbox-icon,
    #checkBoxAudio2 .dx-checkbox-container .dx-checkbox-icon {
        width: 15px;
        height: 15px;
        font-size: 11px;
    }
    
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container {
        height: 18px;
    }
    
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container .dx-switch-inner .dx-switch-on,
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container .dx-switch-inner .dx-switch-off  {
        line-height: 14px;
        font-size: 7px;
    }
    
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container .dx-switch-inner .dx-switch-handle {
        width: 9px;
        height: 11px;
    }
        
    .songImgMap {
        width: 120px;
    }
}

/* iPad 3,4 Retina, Samsung Galaxy S7+ */
@media only screen and (max-width: 1024px) {

    #divCoord {
        width: 140px;
        max-width: 140px;
    }

    #divCoord h2, #divInfos h2 { font-size: calc(0.75rem + .9vw) }
    #divCoord h4, #divInfos h4 { font-size: calc(0.75rem + .3vw)}
    
    #divCoord .text-center .dx-checkbox-container .dx-checkbox-text {
        font-size: 9px;
    }
    
    #checkBoxConfetti2 .dx-checkbox-container .dx-checkbox-icon,
    #checkBoxAudio2 .dx-checkbox-container .dx-checkbox-icon {
        width: 15px;
        height: 15px;
        font-size: 11px;
    }
    
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container {
        height: 18px;
    }
    
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container .dx-switch-inner .dx-switch-on,
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container .dx-switch-inner .dx-switch-off  {
        line-height: 14px;
        font-size: 7px;
    }
    
    #switchBoxGo2 .dx-switch-wrapper .dx-switch-container .dx-switch-inner .dx-switch-handle {
        width: 9px;
        height: 11px;
    }
        
    .songImgMap {
        width: 120px;
    }    
}

@media (orientation: portrait) {
	.leaflet-bottom {
		padding-bottom: 90px;
    } 
}

@media (orientation: landscape) {
	.leaflet-bottom {
		padding-bottom: 5px;
    } 
}
