﻿

//@import "font-awesome";
  //@import (less) 'font-awesome.css';
@import "./node_modules/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css";
@import "../node_modules/bootstrap/less/bootstrap.less";
@import "./node_modules/select2-bootstrap-theme/dist/select2-bootstrap.css";
@import "../node_modules/devextreme/dist/css/dx.light.css";

@modal-md:"90%";

.RelatedItemIcon {
    &:extend(.fa,.fa-random all);
}
  
  .orderLineDivider{
      margin-top:5px;
      margin-bottom:5px;

  }

  .allignTop{
      vertical-align:top;

  }


  .indent{
      padding: 6px 12px;
  }
  .indent-2{
      padding: 6px 24px;
  }

.RelatedItem {
     &:extend(.btn,.btn-sm,.btn-primary);
      
}

.costField{

   width:75px;
}

.LeftFloat{
   float:left;
}
.standardFieldWidth{
    width:225px !Important; 
}
.orderPrice{
    
    &:extend(.form-control all);
    width:100px !important;
}

.dybadge,.dybadge-danger,.dybadge-default,.dybadge-primary,.dybadge-success,.dybadge-warning {
   position:relative;
}

.dybadgeCore[data-badge]:after {
     
   content:attr(data-badge);
   position:absolute;
   top:-10px;
   right:-10px;
   color:white;
   width:20px;height:20px;
   text-align:center;
   line-height:20px;
   border-radius:50%;
   box-shadow:0 0 1px #333;
}

.pac-container {
    z-index: 1051 !important;
}

​ .dybadge[data-badge]:after, .dybadge-default[data-badge]:after {
    &:extend(.label-default);
    &:extend(.dybadgeCore[data-badge]:after);
}
.dybadge-success[data-badge]:after {
     &:extend(.label-success);
    content:attr(data-badge);
   position:absolute;
   top:-10px;
   right:-10px;
   color:white;
   width:20px;height:20px;
   text-align:center;
   line-height:20px;
   border-radius:50%;
   box-shadow:0 0 1px #333;
   z-index:10000;
   
}
.dybadge-danger[data-badge]:after {
     &:extend(.label-danger);
     &:extend(.dybadgeCore[data-badge]:after);
   
}

.dybadge-info[data-badge]:after {
     &:extend(.label-info);
     &:extend(.dybadgeCore[data-badge]:after);
   
}

.dybadge-primary[data-badge]:after {
     &:extend(.label-primary);
     &:extend(.dybadgeCore[data-badge]:after);
   
}
.dybadge-warning[data-badge]:after {
     &:extend(.label-primary);
     &:extend(.dybadgeCore[data-badge]:after);
    
}

.costTable  {
  border-collapse: collapse;
}
.costTable td, table th {
  border: 1px solid white;
}
.costTable tr:first-child th {
  border-top: 0;
}
.costTable tr:last-child td {
  border-bottom: 0;
}
.costTable tr td:first-child,
.costTable tr th:first-child {
  border-left: 0;
}
.costTable tr td:last-child,
.costTable tr th:last-child {
  border-right: 0;
}


.GreaterThanCost{
    &:extend(.label-danger);

}
.GreaterThanCost:before{
    content:"+";

}

.LessThanCost{
    &:extend(.label-success);

}

.sk-cube-grid {
  width: 40px;
  height: 40px;
  margin: 100px auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #333;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s; 
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}

@popdownColor: lighten(@brand-primary,50%);

.popdown{
    background-color:@popdownColor ;
    border-radius: 5px;
}

.ng-invalid.saveClicked:not(form):not(fieldset) input, dyautocomplete.ng-invalid.saveClicked:not(form):not(fieldset), dydropdown.ng-invalid.saveClicked:not(form):not(fieldset), .requiredField {
    outline: none;
    border-color: @btn-danger-border;
    box-shadow: 0 0 30px @btn-danger-border;
}
.requiredField {
    outline: none;
    border-color: @btn-danger-border;
    box-shadow: 0 0 30px @btn-danger-border;
}
.handPointer {
    cursor: pointer;
    cursor: hand;
}

.saveFileName{
   color: @brand-success;
    padding-left:5px;
}


.cancelFileName{
    color: @brand-danger;
    padding-left:5px;
}

.treeview .list-group-item {
	cursor: pointer;
    padding: 5px 15px !important;
}


 /*div .stripped :nth-of-type(even){
  background-color: white;
}*/
 .stripped section:nth-child(odd),.stripped li.strippedRow:nth-child(odd){
  background-color: #f9f9f9;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  
     
}

 .minRowHeight{
     min-height:38px;
 }

 .glow {
   outline: none;
    border-color: @btn-primary-border;
    box-shadow: 0 0 30px @btn-primary-border;
   // background-color: rgba(red(@brand-primary), green(@brand-primary), blue(@brand-primary), .2);
 
}
 .disabled-font{
     color: #ccc;
 }
.form-Horizontal{
    display: inline-block;
}

.underline {
    text-decoration: underline;
}
.form-group{
   
    margin-right:5px;
}

.low-contrast-label {
    display: inline;
    //padding: .2em .6em .3em;
    line-height: 1;
   
    text-align: center;
    white-space: nowrap;
    border-radius: .25em;
}

/* Taylor */

*,
*:before,
*:after {
  box-sizing: border-box;
}


@wool: #FFF8E6;
@ash: #221E20;
@gold: #EEA820;
@heart: #A52F76;
@mosaic: #24CAFF;
@beryl: #3FCFAD;
@ribbon: #008FBD;
@lt-wool: #FFFDF8;
@dk-wool: #FBF9F4;
@md-ash: #747474;
@lt-ash: #D1D1D1;
@ltst-ash: #F9F9F9;
@danger: #B71717;
@success: #20A585;


body { /*override bootstrap default */
  background-color: #eee;
  font-size: 16px !important;
  font-family: filson-pro, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 24px !important;
  color: @ash !important;

  .row {
    padding: 0 0 20px;
    margin: 0;
  }

  .row>* {
    padding: 0;
  }

  .col {
    padding: 0;
  }

  .col-12 {
    padding: 10px 0;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
    padding-bottom: 10px;
  }

  h1 {
    font-family: 'Moret';
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    line-height: 48px;
  }

  h2 {
    font-family: 'Moret';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
  }

  h3 {
    font-family: 'Moret';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
  }

  h4 {
    font-family: 'Filson Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
  }

  h5 {
    font-family: 'Filson Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  h6 {
    font-family: 'Filson Pro';
    font-style: normal;
    font-weight: 425;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .body-md {
    font-size: 16px;
    line-height: 22px;
  }

  .body-sm {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
  }

  .body-xs {
    font-size: 12px;
    line-height: 16px;
  }

  .caption-one {
    font-weight: 800;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .caption-two {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  a,
  .link {
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: @ribbon;
    transition: .25s all ease-in-out;

    &:hover {
      cursor: pointer;
      color: #007196;
    }
  }

  .cta-link-icon {
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: @heart;
    transition: .25s all ease-in-out;

    &:hover {
      cursor: pointer;
      color: #8B105A;
    }
  }

  .primary-btn {
    font-weight: 800;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: @heart;
    border-radius: 100px;
    padding: 13px 24px;
    border: 2px solid @heart;
    min-width: 158px;
    transition: .25s all ease-in-out;
    max-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      border: 2px solid @heart;
      background-color: #FFFFFF;
      color: @heart;
    }

    i {
      padding: 0 5px;
    }
  }

  .secondary-btn-lt {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
    border-radius: 100px;
    padding: 13px 24px;
    border: 2px solid #FFFFFF;
    min-width: 158px;
    transition: .25s all ease-in-out;
    background-color: transparent;
    max-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      border: 2px solid #FFFFFF;
      background-color: #FFFFFF;
      color: @ash;
    }

    i {
      padding: 0 5px;
    }
  }

  .secondary-btn {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: @ash;
    border-radius: 100px;
    padding: 13px 24px;
    border: 2px solid @ash;
    min-width: 158px;
    transition: .25s all ease-in-out;
    background-color: transparent;
    max-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      border: 2px solid @ash;
      background-color: @ash;
      color: #FFFFFF;
    }

    i {
      padding: 0 5px;
    }
  }

  label {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: @ash;
  }

  textarea {
    display: block;
    min-width: 350px;
    min-height: 100px;
  }

  input[type="text"],
  textarea {
    background: #FFFFFF;
    border: 1px solid #747474;
    border-radius: 6px;
    padding: 5px 10px;
    font-weight: 350;
    font-size: 16px;
    line-height: 22px;
    color: @ash;

    &:focus {
      outline: none !important;
      border: 2px solid @ribbon;
    }

    &[disabled] {
      border: 1px solid @md-ash;
      border-radius: 6px;
      background-color: rgba(209, 209, 209, 0.5);
      color: @md-ash;
    }
  }

  input[type="text"] {
    height: 48px;
    min-width: 210px;
  }

  .radio-label,
  .checkbox-label {
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
    margin-top: 1em;

    &:hover {
      cursor: pointer;
    }
  }

  input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #FFFFFF;
    margin: 0;
    color: @ribbon;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid @md-ash;
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;

    &:hover {
      cursor: pointer;
    }
  }

  input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em @ribbon;
  }

  input[type="radio"]:checked::before {
    transform: scale(1);
  }

  input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    color: @ribbon;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid @md-ash;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;

    &:hover {
      cursor: pointer;
    }
  }

  input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em @ribbon;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  }

  input[type="checkbox"]:checked::before {
    transform: scale(1);
  }

  input[type="checkbox"]:focus,
  input[type="radio"]:focus {
    outline: 2px solid @ribbon;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: @md-ash;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 32px;
    height: 26px;
    width: 50px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
  }

  input:checked + .slider {
    background-color: @ribbon;
  }

  input:focus + .slider {
    box-shadow: 0 0 1px @ribbon;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
  }

  select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline: none;
  }

  .select {
    width: 100%;
    border: 1px solid @md-ash;
    border-radius: 6px;
    padding: 10px;
    font-size: .8em;
    cursor: pointer;
    line-height: 1.1;
    background-color: #FFFFFF;
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;
    font-weight: 300;
  }

  select,
  .select:after {
    grid-area: select;
  }

  .select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: @md-ash;
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    justify-self: end;
  }

  select:focus + .focus {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid @ribbon;
    border-radius: inherit;
  }

  select::-ms-expand {
    display: none;
  }

  nav {
    width: 100%;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 20px 30px;
    box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
    position: fixed;
    z-index: 2;

    img {
      padding-right: 20px;
    }

    h1 {
      font-family: filson-pro, sans-serif;
      border-left: 1px solid #000;
      display: inline;
      font-size: 1em;
      padding-left: 20px;
      position: relative;
      top: 5px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
  }

  aside {
    width: 18%;
    height: 100vh;
    background-color: #eee;
    box-shadow: 2px 0 20px -1px rgb(0 0 0 / 30%);
    z-index: 1;
    padding-top: 100px;
    position: fixed;

    ul {
      list-style-type: none;
      padding-top: 20px;

      li {
        padding-bottom: 10px;

        a {
          color: @ash;
          text-transform: uppercase;
          font-size: .8em;
          letter-spacing: .2px;

          i {
            padding-right: 20px;
          }
        }
      }
    }
  }

  .container {
    width: 90%;
    margin: 0 auto 0 10%;
    background-color: #fff;
    padding-top: 50px;
    z-index: 0;
    min-height: 100vh;

    #intro {
      padding-top: 40px;
    }

    section {
      margin-left: 40px;
      padding-bottom: 20px;

      &:not(:first-child) {
        padding-top: 20px;
      }

      &:not(:last-child) {
        border-bottom: 1px solid #eee;
      }

      .code {
        background-color: @ltst-ash;
        border-radius: 6px;
        padding: 5px 0;
        border: none;
        resize: none;
        min-height: 150px;
        min-width: 300px;
        width: 95% !important;
        color: @ash;
      }

      &#colors {
        .color {
          height: 100px;
          width: auto;

          &#wool {
            background-color: @wool;
          }

          &#ash {
            background-color: @ash;
          }

          &#gold {
            background-color: @gold;
          }

          &#dk-wool {
            background-color: @dk-wool;
          }

          &#lt-wool {
            background-color: @lt-wool;
          }

          &#md-ash {
            background-color: @md-ash;
          }

          &#lt-ash {
            background-color: @lt-ash;
          }

          &#ltst-ash {
            background-color: @ltst-ash;
          }

          &#beryl {
            background-color: @beryl;
          }

          &#mosaic {
            background-color: @mosaic;
          }

          &#heart {
            background-color: @heart;
          }

          &#ribbon {
            background-color: @ribbon;
          }

          &#danger {
            background-color: @danger;
          }

          &#success {
            background-color: @success;
          }
        }
      }

      &#buttons {
        #btn-secondary-lt-section {
          background-color: @ash;
          color: #FFFFFF;
          padding: 30px;
          border-radius: 6px;
          margin: 10px 0 30px;
        }
      }
    }
  }
}
