/*@charset "utf-8";*/
/* CSS Document */
@font-face {
  font-family: 'Lato-black';
  src: url('../fonts/Lato-Black.eot');
  src: url('../fonts/Lato-Black.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Black.woff2') format('woff2'), url('../fonts/Lato-Black.woff') format('woff'), url('../fonts/Lato-Black.ttf') format('truetype'), url('../fonts/Lato-Black.svg#Lato-Black') format('svg');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Lato-light';
  src: url('../fonts/Lato-Light.eot');
  src: url('../fonts/Lato-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Light.woff2') format('woff2'), url('../fonts/Lato-Light.woff') format('woff'), url('../fonts/Lato-Light.ttf') format('truetype'), url('../fonts/Lato-Light.svg#Lato-Light') format('svg');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Medium.eot');
  src: url('../fonts/Lato-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Medium.woff2') format('woff2'), url('../fonts/Lato-Medium.woff') format('woff'), url('../fonts/Lato-Medium.ttf') format('truetype'), url('../fonts/Lato-Medium.svg#Lato-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
}
body {
  background: #fff;
  font-family: 'Lato-light';
  font-size: 16px;
  color: #484848;
}

a {
  color: #2966a6;
}



.main-container {
  max-width: 1170px;
}
.form-container {
  max-width: 750px;
}
.form-head {
  background: #DAE6EF;
  display: block;
}
.form-main {
  background: #DAE6EF;
  display: block;
  padding-left: 10%;
  padding-right: 10%;
}

.form-note {
  color: #2966A6;
  font-size: 0.8em;
	font-family: 'Lato-light';
	text-align: center;
	padding-top:10px;
}

.form-control {
    color: #212529;
    background-color: #fff;
    border: none;
    border-radius: 0rem;
	margin-bottom: 15px;
    margin-top: 5px;

}

.form-group-s {
    padding: 0% 10%;

}

@media (max-width: 991px) {
	
	.form-group-s {
        padding: 0% 4%;

}

}
	

#menu {
	background: transparent;
}

#menu_list {
	background: transparent;
	
}



#menu_list li {
	list-style-type: none;
	float: left;
	padding-left: 3%;
    padding-right: 0%;
	/*position: relative;*/
}


#menu_list li a {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 15px 0px 6px;
	color: #fff;
}

#menu_list li a:hover {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 15px 0px 6px;
	color: #fff;
	border-bottom: 2px solid #ffffff;
}



@media (max-width: 991px) {
	#menu > .row > .col-12.col-lg {
		background: #fff;
	}
	
	#menu_list li {
	float: none; 	
		color: #004289;
		background: #fff;
}
	#menu_list li a {
	text-align: right;
	color: #004289;
}

}

.menu {
	text-align:right;
	font-size: 1.2rem;
	text-decoration:none;
}

@media (max-width: 750px) {
	.menu {
	font-size: 1.2rem;
}
}


@media (max-width: 1199px) {

	#menu_list {
	margin-left: 45px;	
		transition: 0.55s ease;	
	}
}

@media (max-width:991px) {
	.menu {
	color:#000;
}
	#menu_list {
	margin-left: 0px;	
		transition: 0.55s ease;	
	}
}


.menu:hover {
	color:#000;
}

#menu_list li a.active {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 15px 0px 6px;
	color: #fff;
	border-bottom: 2px solid #ffffff;
}



.menu_bottom{
	margin-top: 0px;
	transition: 0.55s ease;
	
}

.menu_top{
	margin-top: 0px;
	transition: 0.55s ease;	

}

@media (max-width: 991px) {
	
	#menu_list li a:hover {
	display: block;
	text-decoration: none;
	padding: 15px 22px 6px;
	text-align: right;
	color: #004289;
	border: none;
}
	
	#menu_list li a.active {
	display: block;
	text-decoration: none;
	padding: 15px 22px 6px;
	text-align: right;
	color: #004289;
	border: none;
}

.menu_bottom{
	margin-top: 0px;
	margin-bottom: 50px;
	transition: 0.55s ease;
	
}

.menu_top{
	margin-top: -200px;
	transition: 0.55s ease;	

}

}


.active {
	color: #fff;
	border-bottom: 2px solid #ffffff;
}

.footer {
  background: #E5EFF9;
  color: #484848 !important;
  font-family: 'Lato-light';
  font-size: 1em;
  padding: 2% 2% 0%;
}
.footer a {
  color: #004289 !important;
  text-decoration: none;
      font-size: 2em;
    text-transform: uppercase;
	    font-size: 1.5em;
}

@media (max-width: 991px) {
.footer {

  font-size: 0.7em;
}
.footer a {
  font-size: 1.3em;
}
	.form-consensi {

  font-size: 0.8em;

}
	
	}


.footer a:hover {
  color: #484848 !important;
  text-decoration: underline;
}
.navbar-dark .navbar-nav .nav-link {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'Lato-black';
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'Lato-black';

}
.navbar-dark .navbar-nav .nav-link span{
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 0.8em;
  font-family: 'Lato-black';
}
.navbar-dark .navbar-nav .nav-link span:hover {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-family: 'Lato-black';
border-bottom: 2px solid #004289;
	padding-bottom: 6px;
}
.navbar-dark .navbar-nav .link-login span{
  color: #2966A6 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 1em;
  font-family: 'Lato-black';
}
.navbar-dark .navbar-nav .link-login span:hover {
  color: #2966A6 !important;
  background: transparent;
  text-transform: uppercase;
  font-family: 'Lato-black';
border-bottom: 2px solid #2966A6;
	padding-bottom: 6px;
}

@media (max-width: 768px) {
.navbar-dark .navbar-nav .nav-link {
	text-align: left;
	padding: 10px;
}
	}

.navbar-dark .navbar-nav .link-login {
  color: #2966A6 !important;

}
.navbar-dark .navbar-nav .link-login:hover {
  color: #2966A6 !important;

}
.navbar-dark .navbar-toggler {
  color: #004289;
  border-color: #004289;
	float: right;
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 66, 137, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	width: 2em;
    height: 2em;
}
.nav-item:before {
  content: none;
}
.menubullet {
  margin-right: 1%;
  margin-top: -1%;
	max-height: 16px;
}
.footerfrozen {
  margin-left: 1%;
  margin-top: 0%;
}
h1 {
  font-family: 'Lato-black';
          font-size: 1.5em;
  color: #004289;
  text-transform: uppercase;
  text-align: center;
}

.form-head h1 {
      font-size: 1.5em;

}
h2 {
  font-family: 'Lato';
      font-size: 1.5em;
  color: #2966A6;
  text-align: center;
}
h3 {
  font-family: 'Lato-light';
  font-size: 4em;
  color: #484848;
}
h4 {
  font-family: 'Lato-light';
      font-size: 1.5em;
  color: #484848;
  text-align: center;
}
h5 {
  font-family: 'Lato-light';
    font-size: 2em;
  color: #2966A6;
  text-align: center;
	text-transform: uppercase;
	letter-spacing: 3px;
}
h6 {
      font-family: 'Lato';
    font-size: 1.5em;
    color: #2966a6;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 3px;
}
hr {
  border-top: solid 1px #2966A6;
  max-width: 770px;
}
@media (max-width: 768px) {
  h1 {
    font-family: 'Lato-black';
    font-size: 1em;
    color: #004289;
    text-transform: uppercase;
    text-align: center;
  }
  h2 {
    font-family: 'Lato';
    font-size: 1.1em;
    color: #2966A6;
    text-align: center;
  }
  h3 {
    font-family: 'Lato-light';
    font-size: 36px;
    color: #484848;
  }
  h4 {
    font-family: 'Lato-light';
    font-size: 1.3em;
    color: #484848;
    text-align: center;
  }
  h5 {
    font-family: 'Lato-light';
    font-size: 1.5em;
    color: #2966A6;
    text-align: center;
  }
  h6 {
    font-family: 'Lato-black';
    font-size: 0.9em;
    color: #004289;
    text-transform: uppercase;
    text-align: left;
  }
}

.list-group-item {
    position: relative;
    display: list-item;
    padding: 0.5rem 1rem;
    color: #212529;
    /* text-decoration: none; */
    background-color: transparent;
    list-style: inside;
    border: none;
}

.form {
  font-family: 'Lato';
font-size: 1em;
  color: #00408D;
}
.form .row {
  margin-top: 16px;
}
.forminput {
  font-family: 'Lato';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  width: 100%;
  height: 40px;
  background: #fff;
  text-indent: 6px;
}
@media (max-width: 768px) {
	
	.form {
  color: #00408D;
  font-size: 1em;
}
  .forminput {
    font-size: 13px;
  }
}
.forminput_s {
  font-family: 'Lato';
  font-size: 1em;
  color: #00466b;
  border: none;
  width: 48%;
  height: 40px;
  color: #000;
  background: #fff;
  text-indent: 6px;
}
@media (max-width: 768px) {
  .forminput_s {
    width: 30%;
  }
}
@media (max-width: 750px) {
  .forminput_s {
    width: 44%;
  }
}
.formselect {
  font-family: 'Lato';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  width: 100%;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  background: url(../img/arrow.png) right top no-repeat;
  background-color: #fff;
}
@media (max-width: 750px) {
  .formselect {
    font-size: 1em;
  }
}
.formselect_s {
  font-family: 'Lato';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  width: 30%;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 10px;
  text-overflow: '';
  background: url(../img/arrow.png) right top no-repeat;
  background-color: #fff;
  margin-left: 1%;
}
@media (max-width: 768px) {
  .formselect_s {
    width: 30%;
  }
}
@media (max-width: 750px) {
  .formselect_s {
    font-size: 1em;
  }
}
.formselect_sm {
  font-family: 'Lato';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  border-bottom: 1px solid #dd78a6;
  width: 48%;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 10px;
  text-overflow: '';
  background: url(../img/arrow.png) right top no-repeat;
  background-color: #fff;
}
.subs {
  font-family: 'Lato';
  font-size: 11px;
  text-align: left;
  margin: 0px;
  text-transform: none;
  text-indent: unset;
}
.note {
  font-family: 'Lato';
  font-size: 12px;
  color: #000;
  text-align: center;
  margin: 0px;
}

#login_panel {
  position: absolute;
  top: 100px;
  right: 12%;
  background-color: #fff;
  padding: 15px;
  width: 400px;
  z-index: 300;
  box-shadow: 7px 7px 0px rgba(0, 0, 0, .4);
}
@media (max-width: 768px) {
  #login_panel {
    position: relative;
    top: 10%;
    right: auto;
    background-color: #fff;
    padding: 15px;
    width: 100%;
    z-index: 300;
    box-shadow: none;
  }
}
#login_panel:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0px 45px 55px;
  border-color: transparent transparent #fff transparent;
  position: absolute;
  top: -45px;
  right: 0px;
  z-index: 300;
}
.conferma {
  font-size: 25px;
  color: #fff;
  max-width: 80%;
}
.vincita {
  font-size: 25px;
  color: #000;
  text-align: center;
}
.confermabox {
  background: #cf2027;
  padding-right: 0px;
}
.confermabox:after, .confermabox:before {
  height: 0;
  width: 0;
  content: "";
  display: block;
  position: relative;
}
.confermabox:before {
  border-top: 25em solid #cf2027;
  border-left: 3em solid transparent;
  left: -3em;
}
#cookie-bar {
  padding: 15px;
  background: #004289;
  color: #fff;
  font-family: 'Lato';
  z-index: 1040;
  position: fixed;
  bottom: 0px;
  width: 100%;
	font-size: 0.8em;
}
.cb-enable {
  padding: 10px;
  background: #fff;
  color: #2966A6  !important;
  border-radius: 0px;
  display: table;
  font-family: 'Lato';
	  font-size: 0.8em;
	margin-top: 10px;
}
input:-internal-autofill-selected {
  background-image: none !important;
  color: rgb(0, 0, 0) !important;
  background: transparent !important;
}
.purple {
  color: #a1176b;
}
.blue {
  color: #a1176b;
}
.bodywrap {
  max-width: 1440px;
}
@media (max-width: 768px) {
  .bodywrap {}
}
ul {
  list-style: none;
}
/*li {
    position: relative;
}

li:before {
    content: "•";
    position: absolute;
    left: -1em;
    color: #a1176b;
}*/
/*Modal*/
.modal-dialog {
  max-width: 600px;
  margin: 1.75rem auto;
	background: #fff;
	border: 2px solid #004289;
	text-align: center;
	margin-top: 10%;
}



.modal-body h1{
	font-family: 'Lato';
  font-size: 32px;
	
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: transparent;
  border: none;
  border-radius: 0.3rem;
  outline: 0;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  /*padding: 4rem;*/
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

.modal-body p{
font-family: 'Lato-light';
	color: #2966A6;
	font-size: 28px;
	
}
.modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}
.modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}
@media (max-width: 768px) {
	.modal-body h1{
	font-family: 'Lato';
  font-size: 1em;
	
}
	.modal-body p{
font-family: 'Lato-light';
	color: #2966A6;
	font-size: 0.8em;
	
}

	
  .modal-bodybg1 {
    background: url("../img/modal_bg_mobile1.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }
  .modal-bodybg2 {
    background: url("../img/modal_bg_mobile2.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }
}
.modal-backdrop.show {
  opacity: 0.6;
  background: #061F33;
}


/*Login Modal*/

.form_modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.form_modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    /*padding: 1rem 1rem;*/
    border: none;
    background: transparent;
    text-align: right;
    font-size: 1.5rem;
}
.form_modal-header .btn-close {
    /*padding: 0.5rem 0.5rem;*/
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.closefm { 
    box-sizing: content-box;
    width: 1.5em;
    height: 1.5em;
    padding: 0.25em 0.25em;
    color: #ffffff;
    border: 0;
    border-radius: 0.25rem;
    opacity: 1;
}


.form_modal-dialog {
  max-width: 900px;
  margin: 1.75rem auto;
	border: none;
	text-align: left;
	margin-top: 3%;
	position: relative;
}


.form_modal-body h1{
	font-family: 'Lato';
  font-size: 32px;
	
}

.form_modal-body h5{
  font-size: 1.5em;
	
}

.form_modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: #e5eff9;
  border: none;
  border-radius: 0rem;
  outline: 0;
	text-align: left;
	padding: 6% 10%;
}

.form_modal-content-sx {
  background: #ffffff;
    border: none;
    padding: 5%;
    padding-right: 10%;
    position: absolute;
    top: 210px;
        min-height: 380px;
}

.form_modal-content-dx {
      /* margin: 1.75rem auto; */
    background: #e5eff9;
    border: none;
    padding: 2%;
    position: absolute;
    top: 180px;
}

.banner-sx {
      /* margin: 1.75rem auto; */
    background-color: #e5eff9;
    padding: 2%;
	min-height: 300px;
    padding-right: 5%;
	    position: relative;
	top: 0px;
}

.banner-terminate {
    background-color: #f2f2f2;
    padding: 2%;
	min-height: 200px;
    padding-right: 5%;
	    position: relative;
	top: 0px;
	margin-bottom: 5%;
}

.banner-dx {
      /* margin: 1.75rem auto; */
    background-color: transparent ;
    padding: 0%;

}

.banner-sx img {
	    margin-right: -100%;
    margin-top: -10%;
}

.banner-terminate img {
	    margin-left: -100%;
    margin-top: 2%;
	margin-right: 5%;
	margin-bottom: -20%;
}


.form_modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  /*padding: 4rem;*/
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

.form_modal-body p{
font-family: 'Lato-light';
	color: #2966A6;
	font-size: 1rem;
	
}
.form_modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}
.form_modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

@media (max-width: 768px) {
	.form_modal-body h1{
	font-family: 'Lato';
  font-size: 1em;
	
}
	.form_modal-body p{
font-family: 'Lato-light';
	color: #2966A6;
	    font-size: 1rem;
	
}

	
  .form_modal-bodybg1 {
    background: url("../img/modal_bg_mobile1.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }
  .form_modal-bodybg2 {
    background: url("../img/modal_bg_mobile2.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }
	
	.form_modal-content-sx {
  margin: 1.75rem auto;
	border: none;
	margin-bottom: 0%;
	padding: 5%;
		position: relative;
		top: 0px;
}

.form_modal-content-dx {
  margin: 1.75rem auto;
	background: #e5eff9;
	border: none;
	margin-top: 1%;
	padding: 5%;
	position: relative;
	top: 0px;
}
	
}

@media (max-width: 991px) {
	.banner-sx img {
	    margin-right: 0%;
    margin-top: 0%;
}
	
	.banner-sx {

	    position: static;
}
	.banner-terminate {
		margin: 0rem auto;
}

	
}


.form_modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.form_modal-backdrop.show {
  opacity: 0.8;
  background: #061F33;
}
.carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 15px;
  height: 0px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
      background-color: #80A2BC;
    background-clip: border-box;
    border-radius: 14px;
    opacity: .5;
    transition: opacity 0.6s ease;
    /* border-top: 5px solid transparent; */
    border-bottom: 10px solid transparent;
}
.main-text {
      position: absolute;
    top: 20%;
    width: 100%;
    color: #FFF;
    padding: 3%;
    padding-left: 36%;
}

.payoff {
  color: #2966A6;
  border-bottom: 1px solid #2966A6;
}

@media (max-width: 768px) {
.main-text {
  position: absolute;
    top: 30%;
    width: 100%;
    color: #FFF;
    /* padding: 4%; */
    right: 6%;
}
	}
	



.bannersd {
  max-width: 1300px;
  margin: 1.75rem auto;
	border: none;
	text-align: left;
	margin-top: 3%;
	position: relative;
}

.promorow{
	background: #f2f2f2;
}

.promorow img{
	max-width: 362px;
}




.carousel-inner {
    margin-top: 0;
}

.carousel {
        margin-top: -5%;
    z-index: -1;
}

.banner-sx form_modal-body {
	color: #666666;
	font-size: 19px;
}
  

.banner-date{
  color: #2966a6 !important;
	font-size: 14px !important;
	font-family: 'Lato';
} 
.banner-note{
  font-size: 12px !important;
}

  

@media (max-width: 768px) {
.carousel-inner {
    margin-top: 0;
}
	
	.carousel {
        margin-top: -15%;
    z-index: -1;
}
	
	.bannersd {
  color: #666666;
  border-bottom: none;
		font-size: 0.8em;
		
}
.bannersd img {
  border: none;
}
.banner-date {
  color: #2966A6;
	
    font-size: 0.8em;
}
.banner-note {
      font-size: 0.7em;
}
	
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 35%;
    z-index: 1000;
    display: none;
    float: left !important;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    color: #004289 !important;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'Lato-black';
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
    width: 100%;
    border: none;
}

.navbar-brand {

    padding: 4px 15px;
}

.brands img {

    padding-left: 25%;
	padding-right: 25%;
}

.btn-primary {
     color: #fff;
  font-family: 'Lato';
    background-color: #2966a6;
    border-color: #2966a6;
    border-radius: 0px;
    font-size: 1.3em;
	text-transform: uppercase;
	padding: 0.375rem 2.75rem;
	letter-spacing: 3px;
}

.btn-image:after {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: text-top;
    background-color: transparent;
    background-position : center center;
    background-repeat:no-repeat;
}

.myBtnLogin:after{
	background-image: url("../img/icons/user.png")
}

.myBtnReg:after{
	background-image: url("../img/icons/reg.png")
}

@media (max-width: 768px) {
	
.brands img {

    padding-left: 0%;
	padding-right: 0%;
}
	
}


#menuToggle
{
  display: block;
  position: relative;
top: 10px;
  /*  left: 50px;*/
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
	padding: 5px;
    border: 2px solid #fff;

}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 2px;
  margin-bottom: 5px;
	margin-top: 5px;
  position: relative;
  
  background: #ffffff;
  border-radius: 1px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
  background: #004289;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
	 background: #004289;
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(45deg) translate(-10px, -10px);
	 background: #004289;
}


/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

