/*---------------------------*\
		Nom du projet
\*---------------------------*/
/*---------------------------*\
	@author: Virginie Prince
	@date: 21/04/2016
	@compagny: Bernezac-communication
	@todo: 
		- hover sur les btn
		- nav
		- responsive
\*---------------------------*/
/*---------------------------*\
		VARIABLES
\*---------------------------*/
.responsive, .row-organisateur img, .list-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hr {
  margin: 40px 0;
  border-top: 1px solid #a7a7a7;
  -webkit-transform: scaleX(0.5);
          transform: scaleX(0.5);
}

/*---------------------------*\
		$base
\*---------------------------*/
html, body {
  font-family: "Lato", sans-serif;
  color: #1b1b1b;
}

h1, h2, h3, h4, h5 {
  font-family: "Oswald", sans-serif;
}

a {
  color: #f39301;
  font-weight: bold;
}

#content {
  background: #f6f6f6;
}

#content > .container {
  background: #fff;
}

/*---------------------------*\
		$layout
\*---------------------------*/
#header {
  position: relative;
  z-index: 20;
  padding: 5px 0;
  background-color: #000;
  border-bottom: 5px solid #f39301;
}

#nav {
  position: relative;
  z-index: 15;
  background-color: #124078;
}

#landing {
  position: relative;
  height: 350px;
}

.path-frontpage #landing,
.front #landing {
  height: 650px;
}

#bottom-landing {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.path-frontpage #bottom-landing,
.front #bottom-landing {
  bottom: 20px;
}

#content {
  margin-top: 0px;
}

.path-frontpage #content,
.front #content {
  margin-top: -20px;
}

#footer {
  padding: 10px 0;
  background-color: #000;
}

/*---------------------------*\
		$modules
\*---------------------------*/
.top-logo > a {
  display: block;
  text-align: center;
}
.top-logo > a img {
  margin: 0 auto;
}

.btn {
  font-family: "Oswald", sans-serif;
  border-radius: 0px;
  color: #fff;
}

.voir-plus {
  background-color: #e2001a;
}

.btn-anim {
  border: none;
  color: #fff;
  font-family: "Oswald", sans-serif;
  background: none;
  cursor: pointer;
  display: inline-block;
  outline: none;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
  font-weight: normal;
}
.btn-anim span {
  position: relative;
  z-index: 2;
}
.btn-anim:after {
  content: '';
  position: absolute;
  z-index: 0;
  transition: all 0.3s;
  width: 100%;
  height: 0;
  top: 50%;
  left: 50%;
  background: #fff;
  opacity: 0;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.btn-anim:hover, .btn-anim:active {
  color: #000;
}
.btn-anim:hover:after {
  height: 260%;
  opacity: 1;
}
.btn-anim:active:after {
  height: 400%;
  opacity: 1;
}

.facebook {
  display: inline-block;
}

.buttons a:hover {
  text-decoration: none;
}
.buttons .t-pilote {
  background-color: #e2001a;
}
.buttons .t-orga {
  background-color: #797878;
}
.buttons .t-vente {
  background-color: #0c8a2a;
}
.buttons .t-partenaire {
  background-color: #f39301;
}
.buttons .t-media {
  background-color: #5141c4;
}
.buttons.h-buttons {
  margin-top: 20px;
  text-align: center;
}
.buttons.h-buttons .btn-anim {
  width: 150px;
  margin-right: 5px;
  padding: 10px 0;
  text-align: center;
  font-size: 1.2em;
}
.buttons.h-buttons .btn-fb {
  display: inline-block;
  /* non-flexbox browsers */
}
.buttons.landing-buttons {
  padding-top: 10px;
}
.buttons.landing-buttons .btn-anim {
  width: 45%;
  display: inline-block;
  /* non-flexbox browsers */
  padding: 20px 0;
  text-align: center;
  font-size: 1.2em;
}
.buttons.landing-buttons .btn-anim:nth-child(n+3) {
  margin-top: 10px;
}
.buttons.landing-buttons .btn-anim:nth-child(even) {
  margin-left: 20px;
}

.btn-anim.t-pilote:hover {
  color: #e2001a;
}

.btn-anim.t-orga:hover {
  color: #797878;
}

.btn-anim.t-vente:hover {
  color: #0c8a2a;
}

.btn-anim.t-partenaire:hover {
  color: #f39301;
}

.btn-anim.t-media:hover {
  color: #5141c4;
}

.buttons-annonces {
  margin: 15px 0;
  text-align: center;
}
.buttons-annonces a {
  display: block;
  padding: 10px 0;
}
.buttons-annonces a:after {
  content: '';
  position: absolute;
  z-index: 0;
  transition: all 0.3s;
  width: 100%;
  height: 0;
  top: 50%;
  left: 50%;
  background: #f39301;
  opacity: 0;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.buttons-annonces a:hover:after {
  height: 460%;
  opacity: 1;
}
.buttons-annonces .t-01 {
  background-color: #085b1c;
}
.buttons-annonces .t-02 {
  background-color: #042c0d;
}
.buttons-annonces .t-03 {
  background-color: #c07401;
}
.buttons-annonces .t-04 {
  background-color: #8d5601;
}

#search {
  margin-top: 25px;
  text-align: right;
}

#search .region--search {
  display: flex;
  justify-items: center;
}

#search input {
  font-size: 1.1em;
  padding: 5px;
  border: none;
}
#search input[type=submit] {
  margin-left: -3px;
  background-color: #797878;
  color: #fff;
  border: none;
}
#search #edit-actions {
  display: inline-block;
  width: auto;
  float: left;
}
#search #search-block-form > div {
  float: left;
  margin: 0;
  padding: 0;
}


#block-agoratt-search {
  display: block;
  flex: 1 1 0;
}
#search-block-form {
  display: flex;
  align-items: center;
}
.primary-nav a:hover {
  text-decoration: none;
}
.primary-nav #block-agoratt-main-menu > .menu,
.primary-nav .main-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.primary-nav #block-agoratt-main-menu > .menu > li,
.primary-nav .main-menu > li {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0;
  flex: 1 0;
  align-items: stretch;
}
.primary-nav #block-agoratt-main-menu > .menu a,
.primary-nav .main-menu a {
  position: relative;
  z-index: 5;
  display: block;
  height: 100%;
  padding: 5px 20px 8px 20px;
  font-size: 1.2em;
  overflow: hidden;
  color: #fff;
  background: #124078;
  font-weight: normal;
  align-self: stretch;
}
.primary-nav #block-agoratt-main-menu > .menu > li > a,
.primary-nav .main-menu > li > a {
  padding-top: 15px;
}
.primary-nav #block-agoratt-main-menu > .menu > li > a:before,
.primary-nav .main-menu > li > a:before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f39301;
  border-bottom: 3px solid #fff;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.primary-nav #block-agoratt-main-menu > .menu > li > a:hover:before, .primary-nav #block-agoratt-main-menu > .menu > li:hover > a:before,
.primary-nav .main-menu > li > a:hover:before,
.primary-nav .main-menu > li:hover > a:before {
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  color: #fff;
}
.primary-nav .sous-nav,
.primary-nav .menu-item--expanded {
  background-color: #124078;
}
.primary-nav #block-agoratt-main-menu > .menu .menu {
  position: absolute;
  z-index: -10;
  top: 100%;
  left: 0;
  display: none;
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #124078;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.primary-nav #block-agoratt-main-menu > .menu .menu li {
  list-style: none;
  display: block;
}
.primary-nav #block-agoratt-main-menu > .menu .menu li + li {
  border-top: 1px dotted #fff;
}
.primary-nav #block-agoratt-main-menu > .menu .menu a {
  font-size: 1em;
  font-weight: normal;
}
.primary-nav #block-agoratt-main-menu > .menu .menu a:after {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-right: 3px solid #fff;
  background-color: #f39301;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.primary-nav #block-agoratt-main-menu > .menu .menu a:hover:after {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.primary-nav #block-agoratt-main-menu > .menu > li:hover .menu,
.primary-nav #block-agoratt-main-menu > .menu > li.is-hover .menu {
  display: block;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

nav.navigation ul li {
  margin: 0;
}

.bose-wrapper:before {
  position: absolute;
  z-index: 1;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 240px;
  background-image: url(../img/shade.png);
  background-repeat: repeat-x;
}

.site-title {
  padding-left: 15px;
  color: #fff;
  font-size: 3.5em;
}
.site-title small {
  color: #fff;
  clear: both;
}

#bottom-landing .site-title {
  color: #000;
}

#bottom-landing > .container {
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: rgba(0, 0, 0, 0.61) -4px -3px 12px 0px;
}

.info-minute {
  position: relative;
  padding-right: 20px;
  margin-bottom: 5px;
}
.info-minute .title {
  margin: 5px 0 0 0;
  padding: 5px 0 5px 40px;
  background-color: #e2001a;
  color: #fff;
}
.info-minute .unslider-nav {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 20px;
}
.info-minute .unslider-nav ol > li {
  display: block;
  margin-top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 0px;
  border: none;
  background-color: #000;
}
.info-minute .unslider-nav ol > li.is-active {
  background-color: #e2001a;
}

.info-minute-body {
  padding: 5px 0 15px 0;
  border: 1px dotted #e2001a;
  border-top: none;
  text-align: center;
}
.info-minute-body h3 {
  margin: 0 0 40px 0;
  padding: 5px 5px 5px 15px;
  color: #e2001a;
  text-align: left;
}

.lateral.info-minute {
  padding: 0;
}
.lateral.info-minute ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lateral.info-minute ul li + li {
  padding-top: 5px;
  border-top: 1px dotted #e2001a;
}
.lateral.info-minute .info-minute-body p {
  text-align: left;
}
.lateral.info-minute .info-minute-body h3 {
  padding: 5px;
  margin: 0 0 10px 0;
}
.lateral.info-minute .info-minute-body .voir-plus {
  margin-top: 10px;
}

.next-race .row-organisateur {
  border-bottom: 3px solid #e2001a;
}
.next-race .row-organisateur .title {
  padding: 0 0 5px 0;
  margin: 5px 0 0 0;
  border-bottom: none;
  text-align: center;
}
.next-race .row-organisateur .title span {
  display: block;
  text-align: left;
  font-size: 2.5rem;
  padding-bottom: 5px;
}
.next-race .row-organisateur .title a {
  text-decoration: none;
  color: #000;
}
.next-race .row-organisateur .title small {
  display: block;
  margin-top: -3px;
  color: #e2001a;
}

#content .container {
  padding: 40px 15px;
  box-shadow: rgba(0, 0, 0, 0.61) -4px -3px 12px 0px;
}

#main article {
  font-size: 1.1em;
  text-align: justify;
}

.row-organisateur .title {
  margin: 0 0 15px 0;
  padding: 5px;
  border-bottom: 3px solid #000;
}
.row-organisateur .label {
  color: #124078;
}

.row-chiffre {
  text-align: center;
}
.row-chiffre span {
  position: relative;
  display: block;
  font-size: 3em;
  color: #124078;
}
.row-chiffre span:after {
  position: absolute;
  content: "";
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px solid #124078;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
}
.row-chiffre:nth-child(4n+5) {
  clear: left;
}
.row-chiffre.final span {
  color: #e2001a;
}
.row-chiffre.final p {
  font-weight: bold;
}

.list-logo {
  text-align: center;
}

.row-pack .title {
  padding: 5px 0;
  font-size: 1.2em;
  text-align: center;
  border-bottom: 1px solid #000;
}
.row-pack .title span {
  display: block;
  padding: 5px 0;
  font-size: 3em;
  color: #e2001a;
}
.row-pack .liste {
  text-align: justify;
  font-size: 0.9em;
}
.row-pack .liste li {
  padding: 5px;
}
.row-pack .liste li:nth-child(even) {
  background: #efefef;
}
.row-pack .estimation {
  text-align: center;
}
.row-pack .estimation span {
  display: block;
  font-size: 2.5em;
}

.liste-champions {
  padding: 0;
  margin: 0;
  list-style: none;
  -webkit-columns: 2;
  columns: 2;
}
.liste-champions li {
  padding: 3px 0;
  border-bottom: 1px dotted #124078;
}

#aside .title, #aside-bottom .title {
  margin: 0 0 5px 0;
  padding: 5px;
  border-bottom: 3px solid #000;
}

#aside-bottom {
  margin-top: 30px;
}

#footer ul {
  margin: 0;
  padding: 10px;
  list-style: none;
  text-align: center;
}
#footer ul li {
  display: inline-block;
}
#footer ul li + li {
  border-left: 1px solid #fff;
}
#footer ul a {
  display: block;
  padding: 0 20px;
  font-size: 0.8em;
  color: #fff;
}

.focus-new {
  display: inline-block;
  padding: 3px;
  margin-right: 10px;
  background: #e2001a;
  color: #fff;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#block-views-block-galerie-lat-block-1 .list {
  visibility: hidden;
  display: none;
}
#block-views-block-galerie-lat-block-1 .list.show {
  visibility: visible;
  display: block;
}

.contact-message-form .field--name-subject,
.contact-message-form .form-item-name,
.contact-message-form .form-item-mail {
  width: 50%;
  /*float: left;*/
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
.contact-message-form .form-type-textarea {
  width: 100%;
  /*float: left;*/
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
.contact-message-form .form-item-mail label {
  display: block;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.25em;
}
.contact-message-form .form-item-mail input {
  width: 100%;
  max-width: 100%;
  padding: 0.35em 0.5em;
  font-size: 1.2em;
  font-weight: normal;
  border: 2px solid #fafafa;
  border-radius: 3px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#edit-field-nom-wrapper,
#edit-field-prenom-wrapper,
#edit-field-numero-de-course-2015-2016-wrapper,
#edit-field-mail-wrapper,
#edit-field-tel-fixe-portable-wrapper,
#edit-field-annee-de-construction-wrapper,
#edit-field-moteur-wrapper,
#edit-field-boite-de-vitesse-wrapper,
#edit-field-suspensions-wrapper,
#edit-field-prix-wrapper,
#edit-field-departement-wrapper {
  width: 50%;
  /*float: left;*/
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 767px) {
  .contact-message-form .field--name-subject,
  .contact-message-form .form-item-name,
  .contact-message-form .form-item-mail,
  #edit-field-nom-wrapper,
  #edit-field-prenom-wrapper,
  #edit-field-numero-de-course-2015-2016-wrapper,
  #edit-field-mail-wrapper,
  #edit-field-tel-fixe-portable-wrapper,
  #edit-field-annee-de-construction-wrapper,
  #edit-field-moteur-wrapper,
  #edit-field-boite-de-vitesse-wrapper,
  #edit-field-suspensions-wrapper,
  #edit-field-prix-wrapper,
  #edit-field-departement-wrapper {
    width: 100%;
    /*float: none;*/
  }
}

#edit-field-type-wrapper,
#edit-field-photos-wrapper,
#edit-actions,
#edit-field-divers-wrapper {
  width: 100%;
  /*float: left;*/
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

#edit-field-type-wrapper .form-type-radio {
  display: inline-block;
  padding: 5px 0;
}
#edit-field-type-wrapper .form-type-radio + .form-type-radio {
  margin-left: 15px;
}

#edit-field-mail-wrapper label {
  display: block;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.25em;
}
#edit-field-mail-wrapper input {
  width: 100%;
  max-width: 100%;
  padding: 0.35em 0.5em;
  font-size: 1.2em;
  font-weight: normal;
  border: 2px solid #fafafa;
  border-radius: 3px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
}

.annonce {
  overflow: hidden;
  position: relative;
  padding-bottom: 15px;
}
.annonce .field--name-field-images .field__item:first-child {
  margin-bottom: 15px;
}
.annonce .field--name-field-images .field__item + .field__item {
  width: 25%;
  float: left;
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
}
.annonce .field--name-body {
  margin-top: 20px;
}
.annonce .field--name-field-prix .field__label {
  line-height: 25px;
}
.annonce .field--name-field-prix .field__item {
  font-size: 25px;
  color: #f39301;
}
.annonce .visible-admin {
  background: #797878;
  color: #fff;
  padding: 5px;
}
.annonce .visible-admin h2 {
  font-size: 18px;
  margin: 0;
}
.annonce .field-annonce span {
  font-style: italic;
  color: #797878;
}
.annonce .prix {
  font-size: 25px;
  color: #e2001a;
}
.annonce .prix span {
  color: #797878;
}
.annonce .vendu {
  position: absolute;
  z-index: 5;
  top: 50px;
  right: -70px;
  width: 100%;
  background: #e2001a;
  color: #fff;
  font-size: 45px;
  text-align: center;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
}
.annonce .views-more-link {
  display: inline-block;
  padding: 5px;
  border: 2px solid #f39301;
  color: #5141c4;
  border-radius: 30px;
}
.annonce .views-more-link:hover {
  background: #f39301;
  color: #fff;
  text-decoration: none;
}
.annonce + .annonce {
  border-top: 1px dotted #797878;
}

.row-calendrier h2 {
  font-size: 18px;
}
.row-calendrier + .row-calendrier {
  border-top: 1px solid #124078;
}

#block-agoratt-tools {
  padding: 5px;
  background: #797878;
  color: #fff;
}
#block-agoratt-tools h2 {
  font-size: 18px;
}
#block-agoratt-tools .menu a {
  position: relative;
  display: block;
  padding: 10px 10px 10px 30px;
  line-height: 30px;
  color: #fff;
}
#block-agoratt-tools .menu a:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  background: url(../img/sprite-admin.png) left top no-repeat;
}
#block-agoratt-tools .menu li:first-child > a:after {
  background-position: left -30px;
}
#block-agoratt-tools .menu li > a:after {
  background-position: left -60px;
}

#views-exposed-form-content-page-2 {
  margin-top: 5px;
  padding: 5px;
  border: 2px solid #797878;
}
#views-exposed-form-content-page-2 .form-item-status,
#views-exposed-form-content-page-2 .form-item-type,
#views-exposed-form-content-page-2 .form-item-title {
  width: 33.33333333%;
  margin: 0;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

#views-form-content-page-2 #edit-header #edit-actions--2,
#views-form-content-page-2 #edit-header .form-item-action {
  float: left;
}
#views-form-content-page-2 #edit-header #edit-actions--2 {
  margin-left: 15px;
}
#views-form-content-page-2 table {
  width: 100%;
}

/*---------------------------*\
		$responsive
\*---------------------------*/
@media (max-width: 768px) {
  #search {
    text-align: center;
  }

  #nav.primary-nav {
    position: fixed;
    z-index: 9999;
    top: 0;
    bottom: 0;
    right: -240px;
    left: auto;
    height: 100%;
    width: 240px;
    box-shadow: 0px 7px 5px 0px rgba(0, 0, 0, 0.4);
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu > li {
    display: block;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu > li + li {
    border-top: 1px solid #fff;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu > li > a:before {
    position: static;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu > li > a:hover:before, #nav.primary-nav #block-agoratt-main-menu > .menu > li:hover > a:before {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
  #nav.primary-nav .sous-nav {
    background-color: #124078;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu .menu {
    position: static;
    display: block;
    width: 100%;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu .menu li {
    list-style: none;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu .menu li + li {
    border-top: 1px dotted #fff;
  }
  #nav.primary-nav #block-agoratt-main-menu > .menu > li:hover .menu,
  #nav.primary-nav #block-agoratt-main-menu > .menu > li.is-hover .menu {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  }

  .menu_btn {
    display: block;
    height: 42px;
    width: 62px;
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0px;
    line-height: 42px;
    text-align: center;
    color: #fff;
    background: #e2001a;
    border: none;
  }

  #nav .close {
    display: block;
    height: 47px;
    width: 47px;
    position: absolute;
    top: 0;
    left: -47px;
    text-align: center;
    line-height: 47px;
    background: #fff;
    color: #e2001a;
    border: none;
  }

  #bottom-landing {
    position: static;
    margin-top: 20px;
  }

  .path-frontpage #landing,
  .front #landing {
    height: auto;
  }
}
.captcha {
  display: block;
  clear: both;
}

/*---------------------------*\
		$script
\*---------------------------*/
.unslider {
  overflow: auto;
  margin: 0;
  padding: 0;
}

.unslider-wrap {
  position: relative;
}

.unslider-wrap.unslider-carousel > li {
  float: left;
}

.unslider-vertical > ul {
  height: 100%;
}

.unslider-vertical li {
  float: none;
  width: 100%;
}

.unslider-fade {
  position: relative;
}

.unslider-fade .unslider-wrap li {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 8;
}

.unslider-fade .unslider-wrap li.unslider-active {
  z-index: 10;
}

.unslider li, .unslider ol, .unslider ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}

.unslider-arrow {
  position: absolute;
  left: 20px;
  z-index: 2;
  cursor: pointer;
}

.unslider-arrow.next {
  left: auto;
  right: 20px;
}

/**
 *   Here's where everything gets included. You don't need
 *   to change anything here, and doing so might break
 *   stuff. Here be dragons and all that.
 */
/**
 *   Default variables
 *
 *   While these can be set with JavaScript, it's probably
 *   better and faster to just set them here, compile to
 *   CSS and include that instead to use some of that
 *   hardware-accelerated goodness.
 */
.unslider-nav ol {
  list-style: none;
  text-align: center;
}

.unslider-nav ol li {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 4px;
  background: transparent;
  border-radius: 5px;
  overflow: hidden;
  text-indent: -999em;
  border: 2px solid #fff;
  cursor: pointer;
}

.unslider-nav ol li.unslider-active {
  background: #fff;
  cursor: default;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}

.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}

.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
