@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 900px;
    }
}

.main-nav .container {
    margin-top: 0px !important;
}

#nav-container {
	margin-top: 0;
	position: sticky;
	top: 0;
}

thead > tr > td {
	position: sticky;
	top: 45px;
}

.dashboard {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.row.logdata {
	padding-top: 15px;
}

.statistics {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.statistics_custom {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.notes {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.eqsl {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.search {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.logbook {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.user {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.adif {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.adif .alert p {
    margin-bottom: 0rem;
}

.api .alert p {
    margin-bottom: 0rem;
}

.qso_panel #callsign {
    text-transform: uppercase;
}

.qso_panel #locator {
    text-transform: uppercase;
}

.qso_panel .iota_ref {
    text-transform: uppercase;
}

.qso_panel .sota_ref {
    text-transform: uppercase;
}

.workedGrid {
    border-color: green;
}

.newGrid {
    border-color: red;
    border-width: 2px;
}

#country {
    border: none;
}


TD.eqsl{
    width: 33px;
}

.eqsl-green{
    color: #00A000;
    font-size: 1.1em;
}
.eqsl-red{
    color: #F00;
    font-size: 1.1em;
}
.qsl-green{
    color: #00A000;
    font-size: 1.1em;
}
.qsl-red{
    color: #F00;
    font-size: 1.1em;
}
.qsl-yellow{
    color: #d39e00;
    font-size: 1.1em;
}
.qsl-grey{
    color: #dddddd;
    font-size: 1.1em;
}
TD.lotw{
    width: 33px;
}
.lotw-green{
    color: #00A000;
    font-size: 1.1em;
}
.lotw-red{
    color: #F00;
    font-size: 1.1em;
}

.qso-edit-box {
    padding: 10px;
}

.previous-qsos .card-title {
    margin-bottom: 0px;
}

.qso-map .card-title {
    margin-bottom: 0px;
}

.qso-map {
    margin-bottom: 10px;
}

.callsign-suggest {
    margin-bottom: 10px;
}

.callsign-suggest .card-title {
    margin-bottom: 0px;
}


#search_box #callsign {
    text-transform: uppercase;
}

#nav-bar-search-input:focus {
    text-transform: uppercase;
}

.settings {
    padding-top: 15px;
}

.settings-nav {
    margin-bottom: 15px;
    list-style: none;
    background-color: #fff;
    border: 1px solid #d1d5da;
    border-radius: 3px;
}

.settings-nav .nav-link {
    list-style: none;
    background-color: #fff;
    border: 1px solid #d1d5da;
}

.settings-nav .nav-link:hover {
    background-color: #e1e4e8;

}

/* QSL Card Management CSS */

.qsl_management {
    padding-top: 15px;
}

/*
*
*
*/
.qso-map-new .card-header {
background: #0F2027;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: #ffffff;
}

#myTab .nav-link {
    padding: 8px !important;
}

#map {
    z-index: 1;
}

#qsomap {
    z-index: 1;
}

#create_station_profile .row {
    margin-bottom: 10px;
}

/*
*   Debug CSS
*/

    .debug_main .card {
        margin-bottom: 10px;
    }

    .was-map-dialog .modal-dialog {
        width: 100%;
    }

    @media (min-width: 576px) {
        .was-map-dialog .modal-dialog {
            max-width: 73% !important;
        }
    }

.modal-body {
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}

/*
.btn {
    padding: 0rem 0.75rem;
    margin-top: 0.1rem !important;
    font-size: 1.1rem;
    line-height: 1.5;
}
*/

.btn {
    margin-top: 0 !important;
}

.badge {
    font-size: initial;
}

.badge_sm:empty {
    display: none;
}

.badge_sm {
    display: inline-block;
    padding: 0.2em 0.5em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    vertical-align: text-top;
    border-radius: 0.25rem;
}

.flags {
    display: inline;
    margin: auto;
    height: 1.4rem;
    -webkit-mask-repeat: repeat;
    border-radius: 2px;
    padding: 0px;
    background-size: cover!important;
    max-width: auto;
    max-height: auto;
    height: 20px!important;
    width: 30px!important;
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.5);
    -o-box-shadow: 0 2px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.5);
    box-shadow: -1px 0px 4px 0px rgb(0 0 0 / 50%);
    margin-right: 5px;
}

.flags_sm {
    border-radius: 2px;
    background-size: cover!important;
    height: 12px!important;
    width: 18px!important;
}

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @-webkit-keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  :root {
    --switches-bg-color: goldenrod;
    --switches-label-color: white ;
    --switch-bg-color: white;
    --switch-text-color: goldenrod ;
}

.contain {
    border: 1px solid plum;
    width: 20rem;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
}

.switches-container {
    /* width: 10rem; */
    display: flex;
    padding: 0;
    position: relative;
    background: rgb(127 127 127 / 50%);
    line-height: 1.9rem;
    border-radius: 3rem;
	letter-spacing: 0.5px;
}

/* input (radio) for toggling. hidden - use labels for clicking on */
.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

/* labels for the input (radio) boxes - something to click on */
.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    color: white;
}

/* switch highlighters wrapper (sliding left / right) 
    - need wrapper to enable the even margins around the highlight box
*/
.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.15rem;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
}

/* switch box highlighter */
.switch {
    height: 100%;
}

/* switch box labels
    - default setup
    - toggle afterwards based on radio:checked status 
*/

.switch_red {
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0;
    display: block;
    color: white;
    background: #e52103;
    /* box-shadow: 4px 0px 5px 0px rgb(0 0 0 / 50%); */
    border-radius: 3rem;
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

.switch_green {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    opacity: 0;
    display: block;
    color: white;
    background: #2da845;
    /* box-shadow: -4px 0px 5px 0px rgb(0 0 0 / 50%); */
    border-radius: 3rem;
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

/* slide the switch box from right to left */
.switches-container input:nth-of-type(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

/* slide the switch box from left to right */
.switches-container input:nth-of-type(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

/* toggle the switch box labels - first checkbox:checked - show first switch div */
.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
}

/* toggle the switch box labels - second checkbox:checked - show second switch div */
.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
}

[data-title] {
    display: inline;
    position: relative;
}

[data-title]:hover:after{
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 0.8rem;
	font-weight: 400;
	white-space: nowrap;
	background: #333;
	border-radius: 5px;
	bottom: 23px;
	color: #fff;
	content: attr(data-title);
	left: 20%;
	padding: 5px 15px;
	position: absolute;
	z-index: 98;
	/* min-width: 200px; */
}

[data-title]:hover:before {
    border: solid;
    border-color: #333 transparent;
    border-width: 6px 6px 0 6px;
    bottom: 18px;
    content: "";
    left: 30%;
    position: absolute;
    z-index: 99;
}

.spotstream {
	animation: slide-up 5.0s ease;
}
.spotstream [data-title]:hover:before {
    left: 20%;
}
.spotstream [data-title]:hover:after {
    font-size: 11px;
	left: 5%;

}



@keyframes slide-up {
	0% {
		background-color: rgba(255, 0, 0, 1);
	}
	1% {
		background-color: rgba(255, 0, 0, 1);
	}
	2% {
		background-color: rgba(255, 0, 0, 1);
	}
	3% {
		background-color: rgba(255, 0, 0, 1);
	}
	4% {
		background-color: rgba(255, 0, 0, 1);
	}
	5% {
		background-color: rgba(255, 0, 0, 1);
	}
	6% {
		background-color: rgba(255, 0, 0, 1);
	}
	7% {
		background-color: rgba(255, 0, 0, 1);
	}
	8% {
		background-color: rgba(255, 0, 0, 1);
	}
	9% {
		background-color: rgba(255, 0, 0, 1);
	}
	100% {
		background-color: rgba(255, 0, 0, 0);
	}
}

.spotheader {
    font-size: 11px;
    font-weight: bolder;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: rgb(249 167 45);
    float: left;
    min-height: 1px;
    padding: 4px 5px !important;
}
.field {
    float: left;
    min-height: 1px;
    font-size: 11px;
    padding: 0.7px 5px !important;
}
.qrg {
    width: 72px;
    padding-right: 10px;
    text-align: right;
}
.modes {
    width: 55px;
	text-align: center;
}
.call_t {
    width: 135px;
}
.call {
    width: 135px;
    font-weight: bolder;
}
.call:hover {
	color: rgb(255 200 76) !important;
}
.date {
    /* width: 42px; */
    width: 112px;
    text-align: center;
}
.comment {
    width: 237px;
    padding-left: 10px;
    overflow: hidden;
}
.spotter {
    width: 135px;
}

.icon-connected {
    filter: invert(80%) sepia(80%) saturate(2900%) hue-rotate(360deg) brightness(110%) contrast(150%);
}

.buttons {
	font-size: 11px;
	display: inline-block;
	outline: none!important;
	/* padding: 2px; */
	border-radius: 2px;
	border: 1px solid #777777;
	text-align: center;
	cursor: pointer;
}
.btnModeSize {
    width: 87.5px;
}
.btnBandSize {
    width: 51px;
    /* margin-right: -3px; */
}
.btnPulsado {
    background-color: rgb(0 252 0 / 10%);
    color: rgb(0 255 0);
    border: 1px solid rgb(0 255 0);
}

#bar-chart-grouped {
    font-size: 10px;
}