/* Insert your CNAQ layout builder custom SASS styling. */
#layout-builder-modal .media-library-item .media-library-edit__link {
  right: auto;
  left: 0.625rem;
}

#layout-builder-modal .form-type--boolean .form-boolean {
  float: right;
  margin-right: 0;
  margin-left: 0.625rem;
}

#layout-builder-modal .bs_input-circles .fieldset-wrapper > div {
  -webkit-flex-direction: row !important;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
  -webkit-box-direction: normal !important;
  -webkit-box-orient: horizontal !important;
}

#layout-builder-modal .bs_input-circles .fieldset-wrapper input[value="_none"] + label:after {
  top: 52%;
  right: auto !important;
  margin: 0;
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#layout-builder-modal td {
  text-align: right;
}

#layout-builder-modal .form-select {
  background-position: left 0.625rem center;
}

#layout-builder-modal .tabledrag-cell-content a.tabledrag-handle {
  margin-right: -0.938rem;
  margin-left: 0;
}

.layout-builder-form .form-actions button:not(:last-of-type) {
  margin-right: 0;
  margin-left: 1rem;
}

#drupal-off-canvas input[type="checkbox"] {
  margin-right: 0;
  margin-left: 0.5rem;
  direction: rtl;
}

#drupal-off-canvas .form-item {
  direction: rtl;
}

#drupal-off-canvas .bs-group-title {
  direction: rtl;
}

.vlb-section.bg-image:after,
.vlb-section .bg-image:after {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(64%, rgba(0, 0, 0, 0)), to(rgba(0, 85, 184, 0.9)));
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 64%, rgba(0, 85, 184, 0.9) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0) 64%, rgba(0, 85, 184, 0.9) 100%);
  background-image: linear-gradient(-270deg, rgba(0, 0, 0, 0) 64%, rgba(0, 85, 184, 0.9) 100%);
}

@media (max-width: 991.98px) {
  .vlb-section.bg-image:after,
  .vlb-section .bg-image:after {
    background-image: -webkit-gradient(linear, left top, right top, color-stop(30%, rgba(0, 0, 0, 0)), to(rgba(0, 85, 184, 0.9)));
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 30%, rgba(0, 85, 184, 0.9) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0) 30%, rgba(0, 85, 184, 0.9) 100%);
    background-image: linear-gradient(-270deg, rgba(0, 0, 0, 0) 30%, rgba(0, 85, 184, 0.9) 100%);
  }
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .nav-link,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .nav-link {
  margin-right: 0;
  margin-left: 2rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .arrow-icon,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .arrow-icon {
  right: auto;
  left: 0.625rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .arrow-icon:before,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .arrow-icon:before {
  margin-right: 0;
  margin-left: -0.625rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .menu,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child).menu-item--expanded .menu {
  padding-right: 0.9375rem;
  padding-left: 0;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .nav-link,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .nav-link {
  margin-right: 0;
  margin-left: 2rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .arrow-icon,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .arrow-icon {
  right: auto;
  left: 0.625rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .arrow-icon:before,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .arrow-icon:before {
  margin-right: 0;
  margin-left: -0.625rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .menu,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:not(:first-child:last-child) .nav-item.menu-item--expanded .menu {
  padding-right: 0.9375rem;
  padding-left: 0;
}

@media (max-width: 767.98px) {
  .vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child.menu-item--expanded .nav-link,
  .vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child.menu-item--expanded .nav-link {
    padding-right: 0;
    padding-left: 2rem;
  }
  .vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child.menu-item--expanded > .arrow-icon,
  .vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child.menu-item--expanded > .arrow-icon {
    right: auto;
    left: 0.625rem;
  }
  .vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child.menu-item--expanded > .arrow-icon:before,
  .vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child.menu-item--expanded > .arrow-icon:before {
    margin-right: 0;
    margin-left: -0.625rem;
  }
}

.vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .nav-link,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .nav-link {
  margin-right: 0;
  margin-left: 2rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .arrow-icon,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .arrow-icon {
  right: auto;
  left: 0.625rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .arrow-icon:before,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .arrow-icon:before {
  margin-right: 0;
  margin-left: -0.625rem;
}

.vlb-section .block-menu.menu--main .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .menu,
.vlb-section .block-menu.menu--quick-links .nav > .nav-item:first-child:last-child .nav-item.menu-item--expanded .menu {
  padding-right: 0.9375rem;
  padding-left: 0;
}

@media (min-width: 576px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-sm-6:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
}

@media (min-width: 768px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-md-3:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-md-3:last-child {
    margin-right: 0.9375rem;
    margin-left: 0;
    border-right: 0.0625rem solid #efefee;
    border-left: 0;
  }
}

@media (min-width: 768px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-md-4:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-md-4:last-child {
    margin-right: 0.9375rem;
    margin-left: 0;
    border-right: 0.0625rem solid #efefee;
    border-left: 0;
  }
}

@media (min-width: 768px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-md-6:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
}

@media (min-width: 992px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-lg-3:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-lg-3:last-child {
    margin-right: 0.9375rem;
    margin-left: 0;
    border-right: 0.0625rem solid #efefee;
    border-left: 0;
  }
}

@media (min-width: 992px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-lg-4:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-lg-4:last-child {
    margin-right: 0.9375rem;
    margin-left: 0;
    border-right: 0.0625rem solid #efefee;
    border-left: 0;
  }
}

@media (min-width: 992px) {
  .vlb-section.two-col-separator .layout-builder__layout.row > .col-lg-6:first-child {
    margin-right: 0;
    margin-left: 0.9375rem;
    border-right: 0;
    border-left: 0.0625rem solid #efefee;
  }
}

.vlb-section.two-col-separator .layout-builder__layout .block-menu > .nav {
  margin-right: 0;
  margin-left: 1rem;
}

@media (min-width: 992px) {
  .vlb-section .layout-builder__layout > .col-lg-3 .block-menu > .nav {
    margin-right: 0;
    margin-left: 1.9375rem;
  }
}

@media (min-width: 768px) {
  .vlb-section .layout-builder__layout > .col-md-3 .block-menu > .nav {
    margin-right: 0;
    margin-left: 1.9375rem;
  }
}
