﻿/* General */
* {
  border-radius: 0 !important;
}

body {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #f8f8f8;
}

body.modal-open {
    position: fixed;
}

html, body {
    height: 100%;
}

hr {
    margin: 10px 0;
}

.table th, .table td { 
     border-top: none !important; 
 }

.icon {  /* default ion icon size */
    font-size: 14px;
}

.icon.icon-sm {
    font-size: 12px;
}

.icon.icon-lg {
    font-size: 18px;
}

.icon.icon-xl {
    font-size: 24px;
}

label.nobold {
    font-weight: normal;
}

.mobile-only {
    display: none !important;
}

/* /General */

/* Navbar / Header */
.navbar-nav {
    margin: 0;
}

#logo-normal {
    display: block;
}
#logo-compact {
    display: none;
}

#languageSelect {
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 1035;    
}

#languageSelect img {
    cursor: pointer;
}

#right-toolbar .navbar-nav > li > a {
    padding-top: 15px;
}

.navbar-brand {
    padding-top: 13px;
}

.navbar ul.nav li > a {
    /*padding: 15px 10px;*/
    padding-left: 10px;
    padding-right: 10px;
    color: #333;
}

.navbar ul.nav li > a:hover {
    color: #54735C;
}

.navbar ul.nav ul.dropdown-menu a:hover {
    color: #fff;
}

.navbar ul.nav li > a .caret, .navbar ul.nav li.dropdown .caret {
    border-top-color: #333;
}

.navbar-collapse.in ul.nav li > a .caret, .navbar-collapse.in ul.nav li.dropdown .caret {
    display: none;
}

.navbar-collapse .menuCollapseText {
  display: none;
}

.navbar-collapse.in .menuCollapseText {
  display: inline;
  margin-left: 5px;
}

.navbar-brand a:hover, .navbar-brand a:focus {
    text-decoration: none;
}

/* /Header */

/* Right panel */
#rightSlidePanel {
    display:none; /* Initially hide if not initialized with bootsidemenu */
}
#rightSlidePanel.sidebar {
    width: 275px;
    display: block;
}

#rightSlidePanel ul.nav {
    white-space: nowrap;
    font-size: 0;
    width: 275px;
}

#rightSlidePanel ul.nav li {
    display: inline-block;
    float: none;
    font-size: 13px;
}

#rightSlidePanel ul.nav li a {
    margin-right: 0;
    font-weight: bold;
}

#rightSlideTopPanel label {
    margin: 0;
}

#rightSlideTopPanel #wmsLayers div label, #rightSlideTopPanel #projectLayers div label, #rightSlideTopPanel #plannedProjectsWMS label {    
    font-weight: normal;
}

#rightSlidePanel .nav-tabs li a {
    padding: 5px 8px;
}

#rightSlidePanel .tab-content {
    padding: 5px;
}
/* /Right panel */

/* Map  / Esri */
#nibMap {
    height: 100%;
    padding-top: 53px;
}

.map .container {
    max-width: 100%;
    height: 100%;
}

.map {
    height: 100%;
    margin: 0;
    max-height: 100%;
    min-height: 100px;
    overflow: hidden;
    padding: 0;
    width: 100%;    
    position: relative;
}

.esriPopup .nav-tabs li a {
    padding: 4px 10px;
}

.esriPopup .nav-tabs {    
    overflow: hidden;
    white-space: nowrap;
}

.esriPopup .nav-tabs > li {
    float: none;
    display: table-cell;
}

.esriPopup .nav-tabs a {
    text-decoration: none;
}

.esriPopup a {
    color: #658b6f;   
}

.esriPopup .close {
    opacity: 1 !important; /* Override of lavish-bootstrap*/
}

.esriScalebarLabel {
    color: #000;
    text-shadow: 0 0 15px #fff;
}

.esriScalebarRulerBlock {
    background-color: #000;
}
/* /Map / Esri */

/* Timeline panel */
#timelinePanel {
    display: none;
    width: 100%;
    height: 35px;
}

#timelinePanel .timelineMarker {
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url(../Images/timeline_marker.png);
    cursor: pointer;
}

#timelinePanel .timelineMarker.selected {
    background-image: url(../Images/timeline_marker_selected.png);
}

#timelinePanel .timelineMarker.flipped {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
}

#timelinePanel #horizontalLine {
    position: absolute;
    top: 17px;
    width: 100%;
    height: 1px;
    background-color: #2f575d;
}

#timelinePanel .yearTick {
    position: absolute;
    top: 15px;
    width: 1px;
    height: 5px;
    background-color: #2f575d;
}

#timelinePanel .yearLabel {
    position: absolute;
    top: 20px;
    font-size: 11px;
}

#timelinePanel .timelineMessage {
    position: absolute;
    top: 7px;
    left: 10px;
}
/* /Timeline panel */

/* Side-bar */
.toggler {
    background-color: #fff;
    height: 80px;
    width: 30px;
    font-weight: bold;
    font-size: 16px;    
}

.toggler:hover {
    background-color: #DEE1DD;
}

.sidebar-left .toggler {
    right: -30px;
}

.sidebar-right .toggler {
    left: -30px;
}

.sidebar-left .toggler span {
    display: inline-block;    
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);    
    -webkit-transform-origin: 15px 8px;
    transform-origin: 15px 8px;
}

.sidebar-right .toggler span {
    display: inline-block;
    -webkit-transform: rotate(270deg);
    -webkit-transform-origin: 20px 20px;
    transform: rotate(270deg);
    transform-origin: 20px 20px;
}

#leftSlidePanel {
    padding: 10px;
}

#leftSlidePanel.sidebar {
    width: 300px;
}

#leftSlidePanel label {
    margin: 7px 0 0;
    font-size: 13px;
}

#leftSlidePanel #projectSelectPanel .multiselect-container label {
    margin: 0;
    font-size: 12px;
}

#leftSlidePanel .multiselect-group {
    height: 0;
    margin: 8px;
    border-bottom: 1px solid gray;
}

#exportModal label {
    margin: 5px 0 0;
}

#exportListDialog.modal-dialog {
    width: 80% !important;
}

#exportListDialog .modal-header {
    border-bottom: none;
}

#exportTableList tr, #exportTableList td {
    border-color: #c0c0c0;
}

#leftSlidePanel table td {
    width: 50%;
}

.sidebar {
    box-shadow: none;
    top: 52px;
    bottom: 0;
    background-clip: border-box;
    background-color: #f8f8f8;
    border: none;
    z-index: 1000;
}

.sidebarCloseBtn {
    float: right;
}

/* /Side-bar */

/* Misc panels */

#userProfilePanel label {
    margin-top: 6px;
    margin-bottom: 1px;
    /*font-weight: normal;
    font-size: 12px;*/
}

#userMessagePanel label {
    margin-top: 6px;
    margin-bottom: 1px;
}

.topPanel {
    position: absolute;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
}

#measurePanel {    
    left: 320px;
    top: -5px;
    padding-bottom: 5px;
}

#measurePanel .esriMeasurement .esriButton .dijitButtonNode {
    height: 32px;
    padding-top: 5px;
}

#printPanel {
    position: absolute;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);   
    visibility: hidden;
    text-align: left;
    padding: 3px 5px 3px;   
    height: auto;
    left: 75px;  
}

#projectSelectPanel ul.multiselect-container.dropdown-menu {
    width: 100%;
}

.projectName.highlight {
    font-weight: bold;
}

#areaCoordsPanel input {
    height: 24px;
    line-height: normal;
}

#divisionMeterPanel input {
    height: 24px;
    line-height: normal;
}

#divisionMeterPanel span {
    padding-right: 5px;
}

/* /Misc panels */


/* Search */

.search input:focus {
    outline: 0;
    background:transparent;
}

#searchContainer hr, #searchContainerMobile hr {    
    margin: 24px 0 0;
}

#searchContainer .navbar-form {
    margin: 10px 0 0;
    padding: 0;
}

#searchContainer form {
    border: none;
}

/* /Search */

/* Twitter */
.search .tt-hint {
  width: 270px;
  padding: 1px 15px;
  float: left;
  color: #2f575d;
  border: 0;
  background: transparent;
  border-radius: 3px 0 0 3px;
  font-size: 32px;
}

.tt-dropdown-menu {
  width: 280px;
  margin-top: 1px;
  margin-left:0px;
  padding: 5px;
  background: #444;
  background: rgba(255,255,255,.9);
  border-radius:  3px;
  border: 1px solid #658B6F;
  color: #2f575d;
}



.tt-suggestion {
    padding: 3px 0px;
    font-size: 14px;
    line-height: 18px;
}

.tt-suggestion.tt-cursor { /* UPDATE: newer versions use .tt-suggestion.tt-cursor */
    color: #2f575d;
    background-color: #DEE1DD;
}

.tt-suggestion p {
    margin: 0;
}
.tt-dataset-stedsnavn {
}

.categoryHeader {
  margin-top: 5px;
  margin-bottom: -20px;  
}

.twitter-typeahead .tt-query {
    z-index: 2;
    border-radius: 4px!important;

    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;

    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0!important;
}
/* Twitter */

/* Popup, project */

.esriPopup .sizer {
    width: 400px;
}

.esriPopup .sizer .tab-content {
    padding-top: 5px;
}

span.projectName {
    cursor: pointer;
    padding-left: 5px;
    margin-top: -2px;
}

.esriPopup .tab-content .projectMetadata {
    padding-left: 20px;
    padding-bottom: 4px;
}

.projectMetadata {
    display: none;
    color: #666;
}

#lastProjectHeading {
    width: 275px;
    border-collapse: separate; 
    border-spacing: 5px;
}

.esriPopup .tab-content .projectMetaName{
    display: inline-block;
    width: 150px;
}

.projectTableMetadata .projectMetaName {
    display: inline-table;
    /*width: 100px;    */
    font-size: 12px;
    vertical-align: top;
    margin-right: 4px;
    /*font-style: normal;     */
}

.projectTableMetadata .projectMetaValue {    
    font-size: 12px;
    font-style: oblique;
    vertical-align: top;
}

.projectTableMetadata .projectMetaValue a {
    text-decoration: underline;
}

.esriPopup .titlePane {
    -moz-user-select: text !important;  /* Firefox */
    -webkit-user-select: text !important;  /* Chrome all / Safari all */    
    -ms-user-select: text !important;      /* IE 10+ */
}
/* /Popup, project */

/*.LayerSwipe .vertical .handle {
    width: 48px;
    height: 64px;
    margin: -32px 0 0 -24px;
}*/

/* Swipe */
.LayerSwipe .vertical:hover {    
    opacity: 1;
}

.layerSwipeLabel {
    opacity: 0.7;
    background-color: #ffffff;
    position: absolute;
    top: 1px;
    padding: 4px 10px;
    white-space: nowrap;
    cursor: pointer;
}

.layerSwipeLabel.left {
    right: 18px;
}

.layerSwipeLabel.right {
    left: 18px;
}

#closeSwipeBtn {
    position: absolute;
    width: 30px;
    height: 28px;
    left: -13px;
    top: 1px;
    background-color: lightgray;
    text-align: center;
}

#closeSwipeBtn i {
    line-height: 1.7;
}

.slider-selection {
    /*background-color: #658b6f;*/
    background-image: linear-gradient(to bottom, #f9f9f9 0%, #658b6f 100%);
}

.slider-handle {
    background-color: #658b6f;
    background-image: none;
}

/* /Swipe */

/* Mobile / Media queries */
@media (max-width: 400px) {
    #searchContainer input[type="text"] {
        max-width: 150px;
    }
}

@media (max-width: 500px) {
    #right-toolbar-buttons {
        display: none;
    } 
}

@media (max-width : 812px) {

    .form-control, select {
      font-size: 16px;
    }

    

    #loginBtn {
        display: none;
    }

    #map_zoom_slider {
        display: none !important;
    }

    #cursorPosLabel {
        display: none;
    }

    .esriPopup.esriPopupMaximized .titleButton.restore {
        display: none;
    }

    .esriPopup select {
        margin-bottom: 10px;
    }

    .esriPopup .titleButton.close {
        right: 16px !important;
        top: 10px !important;
        padding: 12px;
        background-position: 8px 0 !important;
    }

    .esriPopup .contentPane {
        background-color: #F0F0F0;
    }

    .esriPopup .projectRow {
        padding: 4px 0;
    }

    .esriPopup .projectRow.selected {
        background: #ccc;
    }

    .esriPopup .projectRow.selected .projectName {
        font-weight: bold;
    }

    .esriPopup .projectRow .projectHeader {
        display: flex;
        align-items: center
    }

    .esriPopup .projectRow .projectHeader input {
        margin-top: 0 !important;
    }

    .esriPopup .projectRow .projectMetaExpand {
        margin-left: auto; /* Flex align right*/
        margin-right: 4px;
        width: 24px;
        height: 24px;
        border-radius: 12px !important;
        background-color: #fff;   
    }

    .esriPopup .projectRow .projectMetaExpand i {
        margin-top: 6px;
        margin-left: 6px;
    }

    .esriPopup .projectRow .projectMetaExpand i.glyphicon-chevron-up {
        margin-top: 4px;
        margin-left: 6px;
    }

    .esriPopup .listSeperator {
        margin: 4px 0 4px 0;
        height: 1px;
        background-color: #ccc;
    }

    .esriPopup .projectHeaderContent {
        display: flex;
        flex-direction: column;
        padding-left: 6px;
    }

    .esriPopup .projectDate, .esriPopup .projectResolution {
        color: #999;
        font-size: 10px;
        margin-bottom: 2px;
    }

    .esriPopup .projectName {
        padding-left: 0;
    }

    .esriPopup .nav-tabs li a {
        font-size: 11px;
    }

    .esriPopup .nav-tabs li.active a {
        background: #fff;
    }

    .esriOverviewMap .ovwButton.ovwController {
        left: 12px;
        bottom: 6px;
        height: 20px;
        width: 20px;
        background-repeat: no-repeat;
        background-position-x: 2px;
    }

    .esriPopup #closePopupBtn {
        display: none;
    }

    .esriScalebar.scalebar_bottom-left {
        left: 50px !important;
        bottom: 5px !important;
    }

    #right-toolbar {
        display: none;
    }

    #rightSlidePanel {
        display: none !important;
    }

    #nibMap {
        padding-top: 0px;
        margin-right: 0 !important; /* reset due to no right sidebar*/
    }

    #nibMap .hamburger-map-icon {
        display: flex;
    }

    #nibMap .hamburger-map-icon .glyphicon {
        top: 0; /* reset */
    }

    #measurePanel {
        right: 0;
        left: 0;
        margin: 0;
        background: #fff;
    }

    #measurePanel .esriMeasurement {
        margin-top: 10px;
    }

    #measurePanel .esriButton {
        border: 1px solid #ddd;
    }

     #measurePanel .closeBtn {
         float:right;
         display: inline-block !important;
     }

    .modal-dialog {
        padding: 0;
    }

    /* Navbar mobile changes */

    .navbar-nav {
        height: 100%;
    }

    .mobile-hide {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .navbar-nav.navbar-collapse {
        max-height: none;
        overflow-y: auto;
    }

    /* navbar-default is replaced with navbar-light in bootstrap 4 */
    .navbar.navbar-light.navbar-fixed-top {
        height: 100%;
        
        right: auto;
        width: 0;  /* Collapsed */

    }

    .collapse.width, .collapsing {
        height: auto; /* depending on your element height */
        overflow: hidden;
        -webkit-transition: width 0.25s ease;
        -moz-transition: width 0.25s ease;
        -o-transition: width 0.25s ease;
        transition: width 0.25s ease;
    }

    .collapsing .navbar-nav li {
        white-space: nowrap;
        overflow: hidden;
    }

    .collapsing #right-toolbar-mobile button, .collapsing li .caret {
        display: none !important;
    }

    .navbar.navbar-fixed-top {
        bottom: 10px !important;

        /* added beacuse of bootstrap 4 */
        width: 80% !important;
        min-width: 300px;
    }

    .navbar.navbar-fixed-top.in {
        width: 80% !important;
        min-width: 300px;
    }

    #right-toolbar-mobile button {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .navbar-collapse .menuCollapseText {
        display: inline;
        padding-left: 4px;
    }
    .navbar-collapse.navbar-nav {
        float: none !important;
        margin: 0 !important;        
    }

    .navbar.navbar-light label {
        font-weight: normal;
    }

    .navbar.navbar-light li a i.icon {
        position: relative;
        top: 1px;
    }


    .navbar #searchContainerMobile .navbar-form {
        border-top: none;
        margin-top: 0;
        padding: 10px 15px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
    }

    .navbar #searchContainerMobile .twitter-typeahead {
        width: 100%;
    }

    #searchContainerMobile .tt-suggestion {
        padding: 6px 0 6px 6px;
        border-bottom: 1px solid #eee;
    }

    #searchContainerMobile .tt-suggestion .divider {
        display: none;
    }

    #searchContainerMobile .tt-suggestion i {
        font-style: normal !important;
        display: block;
        font-size: 10px;
        color: #999;
    }

    #searchContainerMobile .tt-dropdown-menu {
        background: #fff;
    }

    /* /Navbar mobile changes*/

    /* Swipe / fade mobile changes */

    .layerSwipeLabel {
        position: fixed;   
    }

    .layerSwipeLabel.right {
        right: 0px;
        left: auto;
        transform-origin: top right;
        transform: rotate(90deg) translate(100%, 0);
        top: 110px;
    }

    .layerSwipeLabel.left {
        left: 0px;
        right: auto;
        transform: rotate(90deg);
        transform-origin: 0 100%;
        top: 80px;
    }

    #closeSwipeBtn {
        top: 10px;
    }

    #closeSwipeBtn i {
        top: 3px;
    }

    .slider-selection {
        background: rgba(101,139,11,0.5) !important;
    }

    .slider-handle {
        border-radius: 50% !important;
        width: 24px; /* larger on mobile */
        height: 24px;
        margin-top: -7px !important; /** change alignment since larger */
    }

    /* /Swipe mobile changes */
}

@media (max-width: 800px) {
    #logo-normal {
        display: none;
    }
    #logo-compact {
        display: block;
    }
}

@media (max-width: 990px) {
  
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.navbar-nav {
        float: none !important;
        margin: 7.5px -15px;        
    }
    .navbar-collapse.navbar-nav>li {
        float: none;      
    }
    .navbar-collapse.navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-collapse.in {
        overflow-y: auto;
    }
    #left-toolbar {
        width: 100%;
    }
    #right-toolbar {
        float: none !important;
    }
    #right-toolbar-buttons {
        float: right;
    }
    #right-toolbar .dropdown.open {
        width: 50px;
    }
}

@media (min-width: 500px) {
    .sidebarCloseBtn {
        display: none;
    }
}

@media (max-height: 380px) {
    .navbar-light .nav.navbar-collapse {
        max-height: 300px;
    }
}

/* /Mobile / Media queries */

/* Rounded icon / Hamburger */

.rounded-icon {
    background-color: #f1f1f1;
    width: 36px;
    height: 36px;
    display: flex;
    border-radius: 23px !important; /* Account for padding */
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hamburger-map-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    display: none; /* only mobile */
    z-index: 35;
    border-radius: 50px !important;
    padding: 30px; /* Expand touchable area of hambruger icon */
}

.glyphicon-menu-hamburger {
    font-size: 1.7em;
}

.glyphicon-menu-hamburger:before {
    content: "\e236";
}

/* /Rounded icon / Hamburger */

/* About page */

#AboutPage {
    display: none;
    position: absolute;
    top:0;right:0;bottom:0;left:0;
    background: #f8f8f8;
    z-index: 150;
    overflow-y: auto;
}

#AboutPage .aboutHeader {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 20px 20px;
}

#AboutPage .logo {
    height: 24px;
}

#AboutPage .closeBtn {
    margin-left: auto; /* Flex align right */
    border: 1px solid #ddd;
    color: #000;
    text-align: center;
    padding: 6px 10px;
}

#AboutPage .aboutContent {
    padding: 20px 20px;
}

#AboutPage .aboutContent p, #AboutPage .aboutContent p a {
    color: #373D3F;
}

#AboutPage .partnersContainer {
    background: white;
    width: 100%;
    margin: 20px 0 10px 0;
    padding: 10px;
    text-align: center;
}

#AboutPage .partnersContainer img {
    width: 100%;
    max-width: 300px;
}

#AboutPage .aboutPageFooter, #AboutPage .aboutPageFooter a {
    color: #8C979A !important;
    font-size: 12px;
    text-align: center;
}

/* /About page */

/* Misc / Unsorted */

#transparencyDiv, #mobileTransparencyDiv {
    visibility: hidden;
    /*position: absolute;*/
    top: 0;
    left: 20px;
    padding: 4px 10px;    
    white-space: nowrap;
}

#transparencyDiv .topTransLayerName, #transparencyDiv .bottomTransLayerName {
    cursor: pointer;
}

#mobileTransparencyDiv {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 100;
    background: #fff;
}

#mobileTransparencyDiv .transparencyNamesContainer {
    display: flex;
    flex-direction: row;
    margin-top: 6px;
}

#mobileTransparencyDiv .transparencyNamesContainer .layerName {
    flex: 1 0 50%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mobileTransparencyDiv .bottomTransLayerName {
    text-align: right;
}

#mobileTransparencyDiv .transparencySlidesContainer {
    text-align: center;
}

#mobileTransparencyDiv #mobileCloseTransBtn {
    float:right;
}

#updateExportListButton {
  float: left;
  opacity: 0.2;
  filter: alpha(opacity=20);
  position: absolute;
  right: 40px;
  top: 17px;
}

.dropdown-menu li.highlight {
    background-color: #c0c0c0;
}

.ovwButton.ovwMaximize {
    display: none !important;
}

#cursorPosLabel {
    position: absolute;
    top: 3px;
    right: 5px;
    padding: 0 5px;
    text-align: right;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 30;
    font-size: 11px;
    font-family: Arial;
}

.top-msg {
    display: none;
    position:absolute;
    margin: 0 auto;
    left: 0%;
    right: 0%;
    top:65px;
    width:50%;
    max-width: 400px;
    padding:5px;
}

.bottom-msg {
    display: none;
    position:absolute;
    margin: 0 auto;
    left: 0%;
    right: 0%;
    bottom:65px;
    width:50%;
    max-width: 400px;
    padding: 10px;
    text-align: center;
}

.bottom-msg .button-container {
    margin-top: 15px;
}

.bottom-msg .btn.ok {
    margin-right: 10px;
}

.caret {
    margin-top: 8px; /* align center */
}

.esriMeasurementButtonContainer, #measureValue {
    text-align: center;
}

.hidden {
    display: none !important;
}

.icon-layers {
    display: inline-block;
    width: 16px;
    height: 15px;
    background-image: url(../Images/layers_16px.png);
    vertical-align: text-top;
}

.alert-clear {
    background: #fff;
}

#measurePanel .closeBtn {
    display: none;
}

.photoHeader {
    cursor: pointer;
}

.photoHeader .glyphicon {
    padding: 0px 5px;
    cursor: pointer;
}

.photoHeader .glyphicon-chevron-down {
    display: none;
}

.photoHeader .photoHeaderToggleWrapper.mobile {
    float: right;
    margin-right: 4px;
    width: 24px;
    height: 24px;
    background-color: darkgray;
    border-radius: 12px !important;
    text-align: center;
    color: white;
}
    
.photoHeader .photoHeaderToggleWrapper.mobile i {
    top: 6px;
}

.photoHeaderToggleWrapper i.glyphicon-chevron-down {
    display: none;
}

.photoHeader.mobile {
    margin: 17px 0 10px 0;
    font-weight: bold;
}

.typeHeaderSeparator {
    border-top: 1px solid darkgray;
    margin-top: 20px;
}

/* Necessary after upgrading to bootstrap 4. Without this, the modal background becomes pitch black */
.modal-backdrop {
    opacity: 0.5 !important;
}

/* bootstrap 4 */
.nav-tabs .nav-item .nav-link.active {
    background-color: #DDDDDD;
}


.collapse-menu li {
    list-style-type: none; /* Remove black dot */
}

.collapse-menu li a {
    border: none;
}

.collapse-menu li.highlight a {
    background-color: #c0c0c0;
}

/* Make touch area for checkbox bigger for mobile, so it's easier to hit */
.mobileCheckbox {
    padding: 10px;
    margin: -10px;
}

/* /Misc  / Unsorted */