/* 
    Document   : menu
    Created on : Mar 23, 2014, 6:07:14 PM
    Author     : Morgan
    Description: Purpose of the stylesheet follows.
*/

.menu {
    text-align: center;
}

.menu ul li {
    width: 14%;
    list-style: none;
    text-align: center;
    position: relative;
    color: #fff;
    border-right: 1px solid #fff2;
    display: inline-block;
    background-color: #333;
    margin: 5px;
    line-height: 35px;
    /* vertical-align: middle; */
}

.menu .border-top
{
    border-top: 0px solid #ddd;
}

.menu .border-top, .menu .border-bottom
{
    height: 9px;
    background: none;
}

.menu ul
{
    margin: 0 auto;
    padding: 10px 0;
    list-style: none;
    width: 74.12898443291327%;
}


.menu ul li a img
{
    width: 45px;
    max-width: 100%;
        opacity: 0.3;
    margin-bottom: 20px;
}
.menu ul li a img:hover
{
        opacity: 1;
}
.menu ul li a img:active
{
        opacity: 1;
}

.menu ul li a span
{
    display: block;
    color:#fff;
        font-size: 14px;
}

.menu ul > li > a.drop 
{
    padding-bottom: 24px;
    background: url("../images/region-down.png") no-repeat scroll center bottom rgba(0, 0, 0, 0);
}

.menu ul li:hover > ul
{
    visibility: visible;
}


.mobile-container {
  max-width: 480px;
  margin: auto;
  background-color: #555;
  height: 500px;
  color: white;
  border-radius: 10px;
}
#myLinks div {
    padding: 10px 50px;
    background-color: #fff;
}
.topnav {
    overflow: hidden;
    position: absolute;
    right: 2%;
    top: 2%;
}
i.fa.fa-bars {
    font-size: 28px;
}
.mobileM {
    position: fixed;
    background: rgb(255 255 255 / 100%);
    height: 100vh;
    z-index: 22;
    top: 0;
    padding: 50px;
    text-align: center;
    width: 76%;
    background-image: url(https://www.build4.bondcalculatoronline.co.za/images/fade_bg.png);
    background-repeat: no-repeat;
    background-position: 61% 59%;
    overflow: hidden;
}
.mobile-menu {
    padding: 5em 0;
}
.mobileM img {
    width: 200px;
}
.mobile-menu div {
    font-size: 18px;
    padding: 12px 0;
}
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ef4e98;
    padding: 16px;
    border-radius: 50%;
    font-size: 10px;
    color: #fff;
}
ul.drop-menu {
    top: 36px;
    margin: 0;
    left: 0;
    width: 198px;
    z-index: 1000;
    padding: 0px 0;
    position: absolute;
    visibility: hidden;
    background: #f7f6f6;
    border-bottom: 0px solid #F04E98;
    background: #333;
    color: #fff;
}

ul.drop-menu li
{
    float: none;
    width: auto;
    display: block;
    border-bottom: 0;
    text-align: left;
    padding: 5px 15px;
    position: relative;
}
ul.drop-menu li {
}
ul.drop-menu li a {
    border-bottom: 1px dashed #ddd;
    color: #fff !important;
}

ul.drop-menu li.last
{
    border-bottom: 0 none;
}

ul.drop-menu li span
{
    height: 5px;
    width: 100px;
    display: block;
}

ul.drop-menu li a
{
    width: 100%;
    height: 100%;
    padding: 5px 0;
    display: block;
    text-align: center;
    border-bottom: 1px dashed #ddd;
}

ul.drop-menu li a.current, ul.drop-menu li a:hover
{
    background: url("../images/region-right.png") no-repeat left center;
}




.small-menu
{
    top: 0;
    width: 100%;
    height: 30px;
    z-index: 200;
    display: none;
    cursor: pointer;
    position: fixed;
    background: #365C89;
    border-bottom: 1px solid #CBCBCB;
}

.small-menu:after,
.small-menu:before
{
    top: 50%;
    left: 50%;
    content: '';
    width: 16px;
    margin-left: -8px;
    position: absolute;
    border-bottom: 1px solid #fff;
}

.small-menu:after
{
    height: 2px;
    margin-top: -1px;
    border-top: 1px solid #fff;
}

.small-menu:before
{
    margin-top: 5px;
}


.walker
{
    z-index: 5;
    width: 50px;
    height: 9px;
    display: none;
    position: absolute;
    background: #F04E98;
}


.sticky {
  position: fixed;
  top: 0;
  width: 100%;
    z-index: 200;      
}
@media only screen and (max-width: 500px) {
  .sticky {
  position: relative;
  top: 0;
  width: 100%;
    z-index: 200;      
}  
}

