/* CITYLYTIX STYLESHEETS */

/* MAIN NAV MENU */

a {
  color: #0071bd;
  text-decoration: none;
}

#cx-logo-citylytix {
  padding: 10px 0px 10px 28px;
}

.cx-main-menu { /*main-menu area / class*/
  display: flex;
  flex-direction: column;
  min-width: 200px; /*main-menu "min-width" should be = main-menu:hover "width" */
}
  
  /* user icon */
  .cx-user-icon { /*user-icon class*/
    text-align: center;
    padding: 10px 0px 20px 0px;
  }

  .cx-user-icon > img { /*user-icon class*/
    max-width: 50px; 
    border-radius: 50%;
  }

  .cx-user-icon a { /*user-icon links class with link selector*/
    color: rgb(70, 70, 70);
    font-size: 14px;
    text-decoration: none;
  }
 
  /* main menu button */
  .cx-main-menu-btn { /*main menu button link class*/
    position: relative;
    display: inline-block;
  }

    /* main buttons */
    .cx-main-btn { /*main menu button class*/
      background-color: rgb(224, 224, 224); 
      padding: 9px 28px;
      border: none;
      cursor: pointer;
      text-align: left;
      white-space : nowrap;
      width: 200px;
    }

    .cx-main-btn a { /*main menu button link class*/
      text-decoration: none;
      color: rgb(70, 70, 70);
    }

    .cx-main-btn-text { /*button text class, hidden in mobile view*/
      color: rgb(70, 70, 70);
      font-size: 14px;
      text-decoration: none;
      display: inline-block;
      padding-left: 10px;
    }

    .cx-main-btn:hover a { /*main menu button hover behavior class*/
      color: rgb(0, 134, 223);
    }  

    .cx-main-menu-btn:hover .cx-main-btn { /*main menu button hover link behavior class*/
      background-color: #ffffff; 
    }

    .cx-main-arrow-right {
      margin-left: 5px;
      width: 10px; 
      height: 0; 
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 5px solid rgb(70, 70, 70);
      display: inline-block;
    }

    .cx-main-menu-btn:hover .cx-main-arrow-right {
      margin-left: 45px;
      width: 10px; 
      height: 0; 
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 5px solid rgb(70, 70, 70);
      display: inline-block;
    }

    /* main window-drpdwn-menu buttons */
    .cx-main-menu-btn:hover .cx-main-drpdwn-btn {
      display: inline-block;
    }

    .cx-main-drpdwn-btn {
      display: none;
      position: absolute;
      background-color: #f5f5f5;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
    }

    .cx-main-drpdwn-btn a {
      color: rgb(70, 70, 70);
      font-size: 14px;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }

    .cx-main-drpdwn-btn a:hover {
      background-color: #eeeeee;
      color: rgb(0, 134, 223);
    }

  /* cloud version info */
  .cx-cloud-version a {
    color: rgb(70, 70, 70);
    font-size: 14px;
    text-decoration: none;
  }

/* WINDOWS */
.cx-window {
  margin: 10px;
  padding: 0px;
}

  #cx-window-header {
    background-color: #7979796c; /* Green */ /*TODO join window title properties*/
    border: none;
    color: rgb(255, 255, 255);
    padding: 4px 12px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    display: inline;
    font-size: 14px;
    float: left;
    z-index: 1;
    position: relative;
  }

  .cx-window-btn {
    margin: 10px 10px 0px 0px;
    background-color: #7979796c; /* Green */ /*TODO join window title properties*/
    border: none;
    color: rgb(255, 255, 255);
    padding: 4px 12px;
    text-align: center;
    text-decoration: none;
    position: relative;
    font-size: 14px;
    display: inline;
  }
  
  .cx-window-btn:hover {
    background-color: rgb(255, 255, 255);/* Green */ /*TODO join window title properties*/
    color: rgb(70, 70, 70);
  }

  .cx-window-content-btn {
    margin: 10px 10px 0px 0px;
    background-color: #0071bd; /* Green */ /*TODO join window title properties*/
    border: none;
    color: rgb(255, 255, 255);
    padding: 4px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
  }

  .cx-window-content-btn:hover {
    background-color: #5dbbff;;/* Green */ /*TODO join window title properties*/
    color: rgb(255, 255, 255);
  }

  /*window dropdown menu*/
  .cx-window-drpdwn-menu { /* The container <div> - needed to position the window-drpdwn-menu content */
    position: relative;
    display: inline;
    float: left;
    z-index: 1;
  }

    .cx-window-drpdwn-menu-btn { /* Dropdown Content (Hidden by Default) */
      display: none;
      position: absolute;
      font-size: 12px;
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 2;
    }

    .cx-window-drpdwn-menu-btn a { /* Links inside the window-drpdwn-menu */
      color: rgb(70, 70, 70);
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }

    .cx-window-drpdwn-menu-btn a:hover { /* Change color of window-drpdwn-menu links on hover */
      background-color: #f1f1f1;
      color: rgb(0, 134, 223);}

    .cx-window-drpdwn-menu:hover .cx-window-drpdwn-menu-btn { /* Show the window-drpdwn-menu menu on hover */
      display: block;
    }
    
/* LEAFLET */
.leaflet-container {  /* all maps, do not change name, class name is defined in leaflet app */
        height: 100%;
        z-index: 0;
  }

/* MOBILE VIEW */
@media only screen and (max-width: 600px) {

/*main menu mobile*/
.cx-main-menu {
    min-width: 50px;
    /*background-color: rgb(0, 255, 34) !important;*/
}

.cx-user-icon > img { /*user-icon class*/
  max-width: 40px; 
  border-radius: 50%;
}

.cx-main-menu:hover .cx-user-icon > img {
  max-width: 50px; 
  border-radius: 50%;
}

#cx-logo-citylytix {
  padding: 5px 0px 5px 10px;
}

.cx-main-menu:hover{
    width: 200px; /* main-menu "min-width" should be = main-menu:hover "width" */
    /*background-color: rgb(255, 0, 0) !important;*/
}

  /* user icon mobile*/
  .cx-user-icon a { /*user-icon links class with link selector*/
    font-size: 10px;
  }

  .cx-main-menu:hover .cx-user-icon a { /*user-icon links class with link selector*/
    font-size: 14px;
  }

  .cx-main-btn {
    width: 50px;
    padding: 9px 10px;
  }

  .cx-main-btn-text {
    display: none;
  }

  .cx-main-menu:hover .cx-main-btn {
    width: 200px;
    padding: 9px 28px;
  }
      
  .cx-main-menu:hover .cx-main-btn-text {
    display: inline-block;
    z-index: 1000;
  }

  .cx-main-arrow-right {
    display: none;
  }

  .cx-main-menu:hover .cx-main-arrow-right {
    margin-left: 5px;
    width: 10px; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid rgb(70, 70, 70);
    display: inline-block;
  }

  .cx-main-menu-btn:hover .cx-main-arrow-right {
    margin-left: 45px;
    width: 10px; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid rgb(70, 70, 70);
    display: inline-block;
  }
  
  .cx-cloud-version a {
    font-size: 8px;
  }

  .cx-main-menu:hover .cx-cloud-version a {
  color: rgb(70, 70, 70);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  }

}

