/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 11, 2018, 6:11:02 PM
    Author     : ALL-IN-DESIGN
    Location   : SÃO PAULO - BRAZIL
    Contact    : www.all-in-design.com.br
*/

/*
================================================================
TOP CONTENT
================================================================
*/
#top_container {
    float: left;
    width: 100%;
    height: 175px;
}

#line_1 {
    float: left;
    width: 100%;
    height: 110px;
    line-height: 110px;
}

#line_1_left {
    float: left;
    width: 30%;
    height: 110px;
    line-height: 110px;
}

#line_1_center {
    float: left;
    width: 50%;
    height: 110px;
    line-height: 110px;
    text-align: center;
}

.line_1_center_itens {
    float: left;
    width: 50%;
    height: 110px;
    line-height: 110px;
    text-align: center;
    font-size: 16px;
    color: #0D47A1;
}

#line_1_right {
    float: left;
    width: 20%;
    height: 110px;
    line-height: 110px;
    text-align: right;
}

.line_1_right_itens {
    float: right;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 44px;
    color: #96bf3b;
    margin-top: 25px;
    -webkit-border-radius: 10px;
}

/*
================================================================
MAIN MENU
================================================================
*/
#line_2 {
    float: left;
    width: 100%;
    height: 65px;
    line-height: 65px;
    transition: all .2s ease-in-out;
}
/* FIXES THE MAIN MENU AFTER SCROLLING */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  /*z-index: 100;
  box-shadow: 0px 5px 18px #ccc;*/
    z-index: 99;
}

#line_2_main_menu {
    float: left;
    width: 93%;
    height: 65px;
    line-height: 65px;
    text-transform: uppercase;
    /*-webkit-border-radius: 10px 0 0 0;*/
    background: #4CAF50;
}

#line_2_main_menu a {
    color: #fff;
}

.line_2_icons {
    float: right;
    width: auto;
    font-size: 32px !important;
    height: 65px;
    padding-left: 20px;
    padding-right: 20px;
    background: #0D47A1;
    /*-webkit-border-radius: 0 10px 0 0;*/
}

.line_2_icons a {
    color: #fff;
}

.back_itens {
    float: left;
    width: 30px;
    height: 25px;
    -webkit-border-radius: 7px;
    /*background: #fff;
    
    */
    color: #fff;
    margin-top: 17px;
    padding-top: 5px;
    margin-right: 10px;
    font-size: 18px;
}
/*
.back_itens:hover{
    color: #0D47A1;
}
*/


/* Add a black background color to the top navigation */
.topnav {
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 0px 26px;
    text-decoration: none;
    font-size: 14px;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #4CAF50;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    border: none;
    outline: none;
    color: white;
    padding: 0px 26px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    font-size: 14px; 
}
/*MAKE THE SCROLL BAR INTO THE DROPDOWN BOX VISIBLE*/
.visible_scrollbar::-webkit-scrollbar {
    width: 10px;
}
.visible_scrollbar::-webkit-scrollbar-thumb {
    background: #4CAF50; 
    /*border-radius: 5px;*/
}
/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 245px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    opacity: 1 !important;
    
    /*MY CODE*/
    max-height: 415px !important;
    overflow: scroll;
    
    margin-top: 65px;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: #333 !important;
    padding: 2px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #0D47A1;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: #333 !important;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}
/*
================================================================
MAIN MENU MOBILE
================================================================
*/
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 720px) {
    /* Change the code to hide the first menu item
  .topnav a:not(:first-child) {display: none;}*/
  .topnav a {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  
  /* MY CODE */
  /* LOGO WITH 100% IN MOBILE*/
  #line_1_left {
      width: 100%;
      padding: 10px;
  }
  /* MAIN MENU WITH 100% IN MOBILE*/
  #line_2_main_menu {
      width: 100%;
      
  }
  /* REMOVE E-MAIL PHONE E FACEBOOK IN MOBILE*/
  #line_1_center, #line_1_right, .line_2_icons {
      display: none;
  }
  /* MAIN MENU E DROPDOWN BACKGROUND */
  .topnav, .dropdown {
      background: #4CAF50;
      /*GET THE DROPDOWN BOX OVER THE BANNERS*/
      z-index: 150;
  }
  
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 720px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative; /*MY CODE*/margin-top: 0;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    z-index: 10000;
  }
}
