
@import "_variables";

@import "/bootstrap/scss/bootstrap-sprockets";
@import "/bootstrap/scss/bootstrap";

@import "_mixins";

@import "/leonardo/scss/leonardo";
@import "/leonardo/scss/workflow";
@import "/leonardo/scss/loading";
@import "/leonardo/scss/frontend_edit";
@import "/leonardo/scss/scrollspy";

// bootstrap 4 spacing 
@import "_spacing";

// hide font during web font loading
html.wf-loading * {
    color: transparent !important;
}
.asteriskField {
    display: none;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.carousel-control {
    background-image: none !important;
    background: transparent !important;
    .fa {
        top: 50%;
        position: absolute;
    }
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

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

.embed-responsive-21by9 {
  padding-bottom: 42.857143%;
}

.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}

.embed-responsive-4by3 {
  padding-bottom: 75%;
}

.no-gutter > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.no-gutter {
    padding-left: 0;
    padding-right: 0;
}

.carousel-caption {
    left: 20%;
    position: relative;
    right: 20%;
    width: 60%;
}

.fa-10x {
  font-size: 10em;
}

.fa-15x {
  font-size: 15em;
}
  
.fa-20x {
  font-size: 20em;
}

.fa-25x {
  font-size: 25em;
}

.fullscreen-slider .slider-caption i {
  font-size: auto!important;
}

.carousel-inner,
.carousel,
.item,
.fill {
  height: 100%;
  width: 100%;
}

.leonardo-htmltext-widget ul {
    list-style: initial;
    &.dropdown-menu {
      list-style: none;
   }
}

.has-feedback .form-control-feedback {
    top: 30%;
}