﻿/****************************
-- Footer --
****************************/
#footer {
  padding: 35px 25px 30px 25px;
}

#footer .brand {
  display: inline-block;
  float: none;
  width: 30%;
}

#footer .brand a.logo {
	border:none 0px;

}
#footer .secondary-nav {
    background-image: none;
    position: static;
    min-height: 50px;
    padding-top: 5px;
    display: inline-block;
    overflow: visible;
    width: 69%;
    position: relative;
}
#footer #footerinnerContainer {
  position: absolute;
  right: 0;
}

#footer .btn.feedback, #footer .social-nav, #footer .secondary-nav nav.last {
  display: inline-block;
}

/****************************
-- Social Nav --
****************************/
#footer .social-nav {
  margin-bottom: 25px;
  text-align: center;
  float:left;
  padding-left: 10px;
  z-index:1000;
  position:relative;
  vertical-align: middle;
  line-height: 0;
}

#footer .social-nav ul {
  display: inline-block;
  font-size:inherit;
}

#footer .social-nav a[data-icon]:before {
	font-size:25px;
}
#footer .btn.feedback {
    background-color: #ffffff;
    border: 1px solid #00a5e1;
    color: #00a5e1;
    display: inline-block;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1;
    padding: 12px 30px;
    position: relative;
    transition: all 200ms ease-in-out;
    /*white-space: nowrap;*/
    /*float:left;*/
   z-index:1000;
    /*width: 120px;*/
    height: 40px;
    margin-left: 27px;
}

#footer .social-nav li {
  margin-left: 15px;
}

/* country insert */

#footer .secondary-nav nav.last > ul > li > a {
    color: #5e5e5e;
    font-weight: 700;
    padding: 2px 12px;

}

#footer  .secondary-nav nav.last .country {
  position: relative;
  padding-top: 1px;
}

#footer .secondary-nav nav.last {
    margin-left: 10px;
    -webkit-transition: margin 100ms ease 0ms;
    transition: margin 100ms ease 0ms;
}

#footer .secondary-nav nav.last .country > a {
  position:relative;
}

#footer .secondary-nav .country > a:after {
  color: #333;
  content: 'l';
  font-family: ngicons;
  font-size: 5px;
  line-height: 9px;
  margin-top: -5px;
  position: absolute;
  right: -3px;
  top: 50%;
  transition: margin-top 200ms ease;
  width: 10px;
}

#footer .secondary-nav .country > a:hover {
  text-decoration: none;
}

#footer .secondary-nav .country > a img {
  display: inline-block;
  margin-bottom: 2px;
  vertical-align: middle;
}

#footer .secondary-nav .country > a span {
  display: inline-block;
  margin: 0 2px;
}

#footer .secondary-nav .country:hover > a {
  background-color: #fff;
  -webkit-box-shadow: inset 0 1px 6px -1px rgba(0,0,0,0.3);
  -moz-box-shadow: inset 0 1px 6px -1px rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 6px -1px rgba(0,0,0,0.3);
}

#footer .secondary-nav .country:hover > a:after {
  margin-top: -3px;
}

#footer .secondary-nav .country .dropdown {
  /*margin-right: 0;
  padding-right: 10px;
  right: 0;*/
}

#footer  .secondary-nav .country .dropdown nav {
  max-height: 300px;
  overflow-y: scroll;
  padding-right: 0.5em;
  width: 100%;
}

 #footer .secondary-nav .country .dropdown nav {
  background-image: none;
}

 #footer .secondary-nav .country .dropdown nav:before {
  display: none;
}

#footer .secondary-nav .country .dropdown li {
  margin-bottom: 0.5em;
  text-align:left;
}

#footer .secondary-nav .country .dropdown a {
  white-space: nowrap;
  text-decoration:none;
}
#footer .secondary-nav .country .dropdown a:hover {
	color:#00a5e1;
}

#footer  p {
  height: 24px;
  line-height: 20px;
  padding: 2px 0;
  /*font-size: 14px;*/
}

#footer .main-country {
  font-weight: normal;
}

#footer .secondary-nav .dropdown.auto {
  /*left: auto;
  margin: 0;
  right: auto;
  width: auto;*/
 /*width:300px;*/
 float:right;
 margin-right:1px;
}

#footer .secondary-nav .dropdown {
  background-color: #fff;
  display: none;
 /* left: 5%;*/
  margin: 0 -34px;
  max-width: 1376px;
  padding: 20px;
  /*position: absolute;*/
  right: 5%;
  z-index: 0;
  -webkit-box-shadow: 0 3px 7px 1px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 3px 7px 1px rgba(0,0,0,0.3);
  box-shadow: 0 3px 7px 1px rgba(0,0,0,0.3);
}

#footer li:hover .dropdown {
  display: block;
}

#footer nav nav a {
    color: #5e514f;
}
.dropup {
  position: relative;
}
.dropup .dropdown {
  top: auto;
  bottom: 20px;
  right: 0 !important;
  margin-top: 0px;
  margin-bottom: -2px;
  border-radius: 5px 5px 5px 0px;
  z-index: 9999 !important;
  position:absolute;
}


/* end country insert */

/****************************
-- Main --
****************************/
#footer .main {
  margin-bottom: 35px;
  text-align: center;
}

#footer .main ul {
  display: inline-block;
}

#footer .main li {
  display: block;
  margin-top: 12px;
}

#footer .main li:first-child {
  margin: 0;
}

#footer .main a {
  color: #333;
  font-size: 1.6rem;
  font-weight: 700;
}

#footer .main a:hover {
  color: #808080;
  text-decoration: none;
}

/****************************
-- Copyright --
****************************/
#footer .copyright p {
 /* border-top: 1px solid #e1e1e1;*/
  color: #999;
  font-size: 1.4rem;
  padding: 22px 0;

}
#footer .copyright a {
  color: #999;
  font-size: 1.4rem;
  padding-left:30px;
}

/****************************
-- Media Queries --
****************************/
@media screen and (min-width: 48em) {
  /*---------------------
  Footer
  ---------------------*/
  #footer {
    padding: 30px;
	  padding-bottom:20px;
    padding-top: 15px;
  }

  /*---------------------
  Social Nav
  ---------------------*/
  #footer .social-nav {
    margin-bottom: 18px;
	padding-top:5px;
  }

  /*---------------------
  Main
  ---------------------*/
  #footer .main {
    margin-bottom: 37px;
  }

  #footer .main li {
    float: left;
    margin: 0 0 0 20px;
  }

  #footer .main li:first-child {
    margin: 0;
  }

  /*---------------------
  Copy
  ---------------------*/
  #footer .copyright {
    clear:both;
  }

  #footer .copyright.wrapper {
    padding: 0;
    text-align: center;
  }

  #footer .copyright p {
    padding: 0;
    text-align: left;
    height: auto;
    line-height: normal;
  }
}


/* mobile */

@media (max-width:960px) {
	#footer #footerinnerContainer {
    position: static;
    width: auto;
    display: -moz-box;
    display: -moz-box;
    display: -webkit-box;
    display: box;
  }
  #footer .secondary-nav,
  #footer .brand
   {
		position: static;
    display: table;
    margin-left: auto;
    margin-right: auto;
    min-width: auto;
    width: auto;
	}
  #footer .brand a {
    display: block;
    margin: 0;
    padding: 0;
  }
}

@media (max-width:690px) {
  #footer #footerinnerContainer {
    margin-left: auto;
    margin-right: auto;
    display: table;
  }
  #footer .secondary-nav {
    width: 100%;
  }
  #footer .social-nav {
   padding: 0;
  }
  #footer .social-nav li:first-child {
    margin: 0;
  }
}


@media (max-width:490px){
  #footer .btn.feedback, #footer .social-nav, #footer .secondary-nav nav.last {
    display: block;
    width: 100%;
  }
  #footer #footerinnerContainer {
    display: block !important;
    width: auto;
  }
  #footer .btn.feedback {
    margin: 0;
    text-align: center;
  }
  #footer .secondary-nav {
    width: auto;
  }
  #footer .secondary-nav nav.last {
    width: 215px;
    margin-left: 0;
  }

  #footer .brand a.logo {
    padding: 0 !important;
  }

  #footer .secondary-nav nav.last > ul > li > a {
    padding: 2px 12px 2px 0;
  }
  #footer .social-nav li:first-child {
    margin-left: 0;
  }
  #footer .social-nav {
   float:none;
   width:auto;
   text-align:center;
   margin-bottom: 0;
 }
}

@media (max-width:480px){

   #footer .social-nav {
		float:none;
		width:auto;
		text-align:center;
    margin-bottom: 0;
	}
	#footer .btn.feedback {
		float:none;
		margin-left:0px;
		margin-bottom:20px;
		margin-top:15px;
	}

	#footer img {
		display:inline;
	}
	#footer .brand {
		width:100%;
		text-align:center;
	}
	#footer .secondary-nav nav.last  {
		/*width:110%;*/
		text-align:center;
	}
	#footer .secondary-nav .dropdown.auto {
		/*width:300px;*/
		/*argin-right:-20px;*/
	}
	#footer .secondary-nav .country .dropdown li {
        text-align:center;
	}
	#footer .copyright {
		width:100%;
		text-align:center;
	}
	#footer .copyright p a {
		padding-top:10px;
		margin-left:2px;
	}
}
