/* TYPOGRAPHY */

/* @font-face {
  font-family: 'robotobold';
  src: url('../fonts/roboto-bold-webfont.woff2') format('woff2'),
       url('../fonts/roboto-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotobold_italic';
  src: url('../fonts/roboto-bolditalic-webfont.woff2') format('woff2'),
       url('../fonts/roboto-bolditalic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotoitalic';
  src: url('../fonts/roboto-italic-webfont.woff2') format('woff2'),
       url('../fonts/roboto-italic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotoregular';
  src: url('../fonts/roboto-regular-webfont.woff2') format('woff2'),
       url('../fonts/roboto-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */

/* CUSTOM STYLES */

body {
  word-break: break-word;
  overflow: hidden;
}

html {
  background-color: #f5f5f5;
}

.scrollTop a {
  font-size: 18px;
  color: #fff;
}

.mobile__bottom :first-child {
  width: 100%;
}

.sidebar-mobile__bottom :first-child {
  width: 100%;
}

.sidebar-mobile__bottom .search-desktop__form .search-field {
  width: 100% !important;
}

.sidebar-mobile .sidebar-mobile__bottom form {
  background-color: #FFFFFF;
}

.navigation-secondary__list.target-hover .navigation-secondary__link.is-active {
  border-color: transparent;
}

.navigation-secondary__list.target-hover .navigation-secondary__link.is-active:hover {
  border-color: #fff;
  border-top: .3125rem solid transparent;
}

.navigation-secondary.umcm-lalumni ul.target-hover li a.is-active {
  border-color: transparent;
}

.navigation-secondary.umcm-lalumni ul.target-hover li a.is-active:hover {
  border-color: #013a6b;
  border-top: .3125rem solid transparent;
}

.toolbar .toolbar-bar {
  z-index: 99999;
}

.grille-special__body .recherche {
  background-color: #FFFFFF;
}

.grille-primary__wrapper,
.grille-secondary__wrapper {
    width: 100%;
}

.grille-primary__wrapper,
.grille-secondary__wrapper {
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.sidebar__inner.no-sidebar {
  display: none;
}

.grille-third {
  max-width: 1400px;
  margin: 0 auto;
}

.homepage__wrapper {
  padding-top: 0px;
  padding-bottom: 60px;
}

.embed-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 60px;
}

.layout-container.search .grille-heading {
  padding: 0 15px;
}

.layout-container.search .grille-special__content  {
  margin: 0 !important;
}

.layout-container.search .grille-special__body {
  padding-left: 3% !important;
}

.layout-container.search .grille-special__header__desktop {
  padding-top: 3%;
  padding-bottom: 0px;
  padding-left: 3%;
  padding-right: 3%;
}

#wrap,
.body-wrapper,
#wrap--page,
#wrap--search {
  background-color: #f5f5f5;
}

#wrap--search .grille-special__content {
  background-color: #FFFFFF;
}

.toolbar-tray-open.toolbar-horizontal.toolbar-fixed .spacer--large {
  height: 71px;
}

.toolbar-tray-open.toolbar-horizontal.toolbar-fixed .header.sticky {
  top: 4%;
}

.toolbar-fixed.toolbar-vertical.mobile-version .spacer--large {
  height: 66px;
}

.toolbar-horizontal.toolbar-fixed .spacer--large {
  height: 76px;
}

#wrap--page .grille-special__header__desktop--title {
  padding-left: 0px;
}

.modal {
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
}

.modal-dialog {
  max-width: 800px;
}

button.close {
  z-index: 9994;
  width: 35px;
  height: 35px;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@media(max-width: 768px) {
  .modal-dialog {
    min-height: calc(100vh - 20px);
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
      .modal-dialog {
        min-height: -moz-calc(100100% - 20px) !important;
        min-height: -webkit-calc(100% - 20px) !important;
        min-height: calc(100% - 20px) !important;
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        flex-direction: column;
        -webkit-flex-direction: column;
        justify-content: center;
        -webkit-justify-content: center;
      }
      .modal.show .modal-dialog {
          -webkit-transform: none;
      }
      .modal.fade .modal-dialog {
        -webkit-transition: transform 0.3s ease-out;
        -webkit-transform: translate(0, -50px);
      }
      .modal-content {
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        flex-direction: column;
        -webkit-flex-direction: column;
      }

}

@media screen and (device-aspect-ratio: 40/71) {
  .modal-dialog {
    min-height: -moz-calc(100100% - 20px) !important;
    min-height: -webkit-calc(100% - 20px) !important;
    min-height: calc(100% - 20px) !important;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-direction: column;
    -webkit-flex-direction: column;
    justify-content: center;
    -webkit-justify-content: center;
  }
  .modal.show .modal-dialog {
      -webkit-transform: none;
  }
  .modal.fade .modal-dialog {
    -webkit-transition: transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
  }
  .modal-content {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-direction: column;
    -webkit-flex-direction: column;
  }
}

.modal-dialog {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-body {
  position:relative;
  padding:0px;
}

.close {
  position:absolute;
  right:-30px;
  top:0;
  z-index:999;
  font-size:2rem;
  font-weight: normal;
  color:#fff;
  opacity:1;
}

.top-form form {
  zoom: 1;
  content: "\0020";
  display: block;
  overflow: hidden;
}

.top-form .group {
  float: left;
  width: 50%;
}

.select-wrapper {
  float: left;
  position: relative;
}

.top-form label {
  display: block;
  font-size: 16px;
}

#contactForm .top-form label {
  margin-bottom: 0px;
}

.top-form .select-wrapper {
  width: 100%;
}

.top-form .field-wrapper {
  float: left;
  margin-bottom: 15px;
  padding-right: 20px;
  position: relative;
  width: 50%;
}

.top-form textarea {
  resize: none;
  height: 130px;
  width: 100%;
  border-radius: 8px;
  border: 2px solid #4A4A4A;
  padding: 15px 20px;
}

.top-form textarea:focus {
  outline: none;
}

.top-form .select-wrapper:after {
  top: 25px;
}

.top-form .group-label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.top-form .sub-label span {
  display: block;
  float: left;
  line-height: 26px;
  margin-left: 5px;
  vertical-align: middle;
}

.top-form .sub-label.check span {
  line-height: 110%;
  margin: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.top-form input[type=radio],
.top-form input[type=checkbox] {
  display: block;
  float: left;
}

.top-form .sub-label.check input[type=checkbox],
.top-form .sub-label.check input[type=radio] {
  left: 0;
  position: absolute;
  top: 0;
}

.top-form input,
.top-form select,
.top-form textarea {
  color: #444;
}

.top-form label span {
  display: block;
  margin-bottom: 10px;
}

.top-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #a82d91;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  height: 58px;
  line-height: 58px;
  margin: 0;
  outline: none;
  text-overflow: '';
  width: 100%;
}

.top-form select {
  background-color: #FFFFFF;
  height: 58px;
  line-height: 58px;
  border-radius: 8px;
  border: 2px solid #4A4A4A;
}

.top-form .select-wrapper:after {
  border-style: solid;
  border-width: 7px 6.5px 0;
  border-color: #4A4A4A transparent transparent;
  content: ' ';
  height: 0;
  pointer-events: none;
  position: absolute;
  right: 20px;
  top: 25px;
  width: 0;
}

.top-form input[type=text],
.top-form input[type=tel],
.top-form input[type=email] {
  border: none;
  padding: 15px 20px;
  width: 100%;
  border-radius: 8px;
  border: 2px solid #4A4A4A;
}

.top-form .submit {
  margin-bottom: 10px;
  padding-right: 20px;
  text-align: right;
}

.top-form .multiple-field .select-wrapper,
.top-form .multiple-field input[type=text],
.top-form .multiple-field input[type=email] {
  margin-bottom: 12px;
}

.top-form .full {
  width: 100%;
}

.visite-form .picker {
  top: 0;
}

.picker {
  font-size: 16px;
  text-align: left;
  line-height: 1.2;
  color: #4a4a4a;
  z-index: 10000;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.picker,
.picker__holder {
  width: 100%;
  position: absolute;
}

.picker__holder {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #aaa;
  border-top-width: 0;
  border-bottom-width: 0;
  border-radius: 0 0 5px 5px;
  box-sizing: border-box;
  min-width: 176px;
  max-width: 466px;
  max-height: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transform: translateY(-1em) perspective(600px) rotateX(10deg);
  transform: translateY(-1em) perspective(600px) rotateX(10deg);
  transition: -webkit-transform .15s ease-out,opacity .15s ease-out,max-height 0s .15s,border-width 0s .15s;
  transition: transform .15s ease-out,opacity .15s ease-out,max-height 0s .15s,border-width 0s .15s;
}

.picker__holder {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #aaa;
  border-top-width: 0;
  border-bottom-width: 0;
  border-radius: 0 0 5px 5px;
  box-sizing: border-box;
  min-width: 176px;
  max-width: 466px;
  max-height: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transform: translateY(-1em) perspective(600px) rotateX(10deg);
  transform: translateY(-1em) perspective(600px) rotateX(10deg);
  transition: -webkit-transform .15s ease-out,opacity .15s ease-out,max-height 0s .15s,border-width 0s .15s;
  transition: transform .15s ease-out,opacity .15s ease-out,max-height 0s .15s,border-width 0s .15s;
}

.picker__wrap {
  margin: -1px;
}

.picker__box {
  padding: 0 1em;
}

.picker__header {
  position: relative;
  margin-top: .75em;
}

.picker__footer,
.picker__header,
.picker__table {
  text-align: center;
}

.picker__table {
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: inherit;
  width: 100%;
  margin-top: .75em;
  margin-bottom: .5em;
}

.picker__button--today[disabled],
.picker__button--today[disabled]:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #ddd;
  cursor: default;
}

.picker__button--clear,
.picker__button--close,
.picker__button--today {
  border: 1px solid #fff;
  background: #fff;
  font-size: .8em;
  padding: .66em 0;
  font-weight: 700;
  width: 33%;
  display: inline-block;
  vertical-align: bottom;
}

.top-form .sub-label.check {
  margin-bottom: 5px;
  min-height: 26px;
  padding-left: 31px;
  position: relative;
}

.top-form .sub-label {
  clear: both;
  cursor: pointer;
  font-size: 14px;
}

.top-form .sub-label.check .icheckbox_minimal-green,
.top-form .sub-label.check .iradio_minimal-green {
  left: 0;
  position: absolute;
  top: 0;
}

.top-form .icheckbox_minimal-green,
.top-form .iradio_minimal-green {
  float: left;
}

.icheckbox_minimal-green,
.iradio_minimal-green {
  display: inline-block;
  *display: inline;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  width: 26px;
  height: 26px;
  border: none;
  cursor: pointer;
}

input[type=radio] {
  background: url(../images/radiobutton.png) no-repeat bottom;
  background-size: 26px 52px;
  height: 26px;
  outline: 0;
  width: 26px;
}

.icheckbox_minimal-green {
  background: url(../images/checkbox.png) no-repeat bottom;
  background-position: center bottom;
  background-size: 26px 52px;
}

.icheckbox_minimal-green.checked {
  background-position: top;
}

.iradio_minimal-green {
  background: url(../images/radiobutton.png) no-repeat bottom;
  background-position: center bottom;
  background-size: 26px 52px;
}

.iradio_minimal-green.checked {
  background-position: top;
}

input[type=checkbox] {
  background: url(../images/checkbox.png) no-repeat bottom;
  background-size: 26px 52px;
  height: 26px;
  outline: 0;
  width: 26px;
}

input[type=checkbox]:checked {
  background-position: top;
}

.grille-special__content.no-sidebar {
  margin-left: 0;
  box-shadow: none;
}

.grille-special__content.no-sidebar .grille-special__body {
  padding-left: 0;
}

.article-top--image img {
  max-width: 750px;
  width: 100%;
}

.contentHeight #content {
  min-height: 1100px;
}

div > img {
  max-width: 100%;
}

p > img {
  max-width: 100%;
}

a > img {
  max-width: 100%;
}

p > a > img {
  max-width: 100%;
}

.navigation-main--menu ul li.navigation-secondary__item {
  display: block;
}

.navigation-main--menu ul {
  display: block;
}

.navigation-main--menu ul li {
  padding-right: 0px;
}

.navigation-main--menu ul li a {
  text-align: center;
  height: auto;
  line-height: normal;
  font-size: 20px;
  letter-spacing: .03125rem;
  padding: 0px 0px 22px 0px;
  border-top: 0px solid transparent;
  border-bottom: 0px solid transparent;
}

.navigation-main--menu ul li a:hover {
  border-bottom: none;
  color: #F5B825;
  transition: all .3s ease-out;
  border-top: none;
}

.navigation-main--menu ul li .navigation-secondary__link.is-active {
  border-bottom: 0.3125rem solid transparent;
}

.lity {
  z-index: 99999;
}

.grille-special__body ul.list {
  list-style: none;
}

#block-umoncton-page-title,
#block-umoncton-local-tasks {
  display: none;
}

.grille-special__body .article-horizontal {
  margin-bottom: 40px;
}
.grille-special__body .article-horizontal .article-horizontal__picture img {
  max-width: 850px;
  width: 100%;
}

.sidenav-submenu__wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sidenav-submenu__item {
  font-size: 30px;
  margin-bottom: 25px;
}

.dropdown-btn, .sidenav-menu__item {
  font-size: 20px;
}

.grille-special__header__mobile__heading--title{
  text-align: center;
}

.gsc-cursor-box.gs-bidi-start-align {
  margin-top: 30px;
}

.grille-special.second--level .grille-special__content.no-sidebar {
  background-color: #f5f5f5;
}

.grille--shawdow.shadow--second--level .grille-heading__wrapper {
  background-color: #f5f5f5;
}

.homepage .grille-special__body {
  padding-left: 0;
}

.top-form .select-wrapper select{
  color: #4A4A4A;
}

.article-top--image {
  width: 100%;
  justify-content: center;
  margin-bottom: 60px;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.user-logged-in .grille-heading {
  display: none;
}

.user-logged-in .grille-special__body {
  /* padding-left: 8%; */
}

@media screen and (max-width: 1280px){
  .user-logged-in .grille-special__body {
    padding-left: 0;
  }
}

.user-logged-in .grille-special__body .js-form-item {
  background-color: #FFFFFF;
  padding: 60px;
}

.navigation-primary__link.active {
  color: #467FFE;
}

.sidenav-menu.sidenav-menu--campus {
  margin-bottom: 0px;
}

.sidenav-menu.sidenav-menu--campus .dropdown-btn {
  color: #FFFFFF;
}

.internal-hover .is-active {
  border-bottom: .25rem solid transparent;
  transition: border-bottom 0.3s;
  color: #4A4A4A;
  background-color: transparent !important;
}

.internal-hover .is-active:hover {
  border-bottom: .25rem solid #4a4a4a;
  transition: border-bottom 0.3s;
  color: #4A4A4A;
  background-color: transparent !important;
}

#block-languageswitcher li , .benne_icones li{
  text-align: center;
}

#block-languageswitcher li a, .benne_icones li a {
  color: #fff;
  font-family: "JosefinSans-Bold",sans-serif;
  font-size: 12px;
  display: block;
  background: #fdbb33;
  padding: 7px 14px;
}

#block-languageswitcher li a:hover, .benne_icones li a:hover {
  color: #000000 !important;
  text-decoration: none;
}

#block-languageswitcher ul, .benne_icones ul {
  list-style: none;
}

#wrap--search .grille-special__content {
  margin-left: 0;
}

.links .is-active{
  display:none;
}

/* @media(max-width: 768px) {
  .modal-dialog {
    min-height: calc(100vh - 20px);
  }
} */

@media screen and (max-width: 1137px) {
  .top-form .group {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .top-form .field-wrapper {
    padding-right: 0;
    width: 100%;
  }
  .top-form .submit {
    padding-right: 0px;
  }
  .top-form .submit .button.button-small.button-blue {
    width: 100%;
  }
}

#alertcarousel-desktop, #alertcarousel-mobile {
  width: 100%;
  padding-bottom: 0 !important;
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
  opacity: 1;
}

.alert__message a{
  color:#FFFFFF;
  text-decoration: none;
}
.alert__message a:hover{
  color:#FFFFFF;
  text-decoration: underline ;
}

.grille-special__body .picture-four__media--image img, .grille-special__body .grille-third__right img, .grille-special__body .card-img-top img {
  width: 100%;
  height: 100%;
}

#captchaForm {
  display: none;
}

.captcha__wrapper, .confirmation__wrapper, .error__wrapper {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #F5F5F5;
  border: 2px solid #4A4A4A;
  border-radius: 8px;
}

.captcha__header , .confirmation__header, .error__header{
  align-items: center;
}

.confirmation__header--top > span {
  display: block !important;
  text-align: center;
}


.captcha__header--bottom {
  display: flex;
  justify-content: center;
}

.captcha__body , .confirmation__body{
  margin-bottom: 20px;
  margin-top: 20px;
}

.error__body {
  margin-bottom: 20px;
  margin-top: 25px;
}
.confirmation__body {
  text-align: center;
}

.captcha__body input[type=text] {
  text-align: center;
  font-size: .8125rem;
}

.captcha__body--top {
  flex-direction: row;
}

.captcha__body--bottom {
  margin-top: 20px;
}
.captcha__message, .error__label {
  text-align: center;
  color: red;
  font-weight: bold;
  font-size: .8125rem;
}

.captcha__footer , .error__footer{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.captcha__text {
  font-family: "JosefinSans-Regular",sans-serif;
}

.captcha__number {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  letter-spacing: 8px;
  font-size: .8125rem;
  font-style: italic;
  font-weight: bold;
}

.overlay-captcha , .overlay-confirmation, .overlay-error {
  background-color: transparent;
  box-shadow: none;
  position: relative;
  margin: auto;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.grille-primary:hover , .grille-secondary:hover , .grille-third:hover ,
.grille-primary--mini-card:hover, .article-top--image:hover,
.article-horizontal:hover , .article-vertical:hover, .card:hover {
  transition: all .4s ease;
  /* transform: translate3D(0,-1px,0) scale(1.02) !important; */
}

.pre_links {
  display: none;
}

.layout-container.homepage.umcm-lalumni .views-element-container {
  display: none;
}