/*
  Generic
  ---------------------
*/
body{
  font-size: 16px;
  font-family: $body-font;
  color: $body-text-color;
  overflow-x: hidden;
  word-wrap: break-word;
  line-height: 28px;
  font-weight: 400;
  &.no-scroll{
    overflow-y: hidden;
  }
}

a[href]:focus {
  outline: thin dotted;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  max-width: 150px;
  text-align: center;
  letter-spacing: normal;
  font-size: 14px !important;
  font-weight: 400;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  line-height: 2.46153846;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

.nopad{
  padding: 0px;
}
.padd{
  padding-left: 15px;
  padding-right: 15px;
}
p{
  color: $body-text-color;
  font-weight: 400;
  line-height: 2;
}
.background-image{
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.black-overlay{
  position: relative;
  z-index: 0;
  &:after{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: $black;
    opacity: 0.90;
    content: "";
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}
.table{
  display: table;
  width: 100%;
  height: 100%;
  .table-cell{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
  }
}
.thm-btn{
  @include animate(all,500ms);
  line-height: 14px;
  border: 2px solid $brand-primary;
  display: inline-block;
  padding: 17px 40px 15px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: $white;
  &:hover{
    background-color: $darker-grey;
    color: $white;
  }
}
.bdr{
  border: 2px solid $gray-light;
}
.bg-cl-1{
  background-color: $brand-primary;
  color: $white;
  &:hover{
    background-color: $darker-grey;
    color: $white;
  }
}
.btn-amaaaze{
  @include animate(all,320ms);
  display: inline-block;
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 500;
  color: $grey;
  padding: 8px 15px;
  border-radius: 0;
  border: 2px solid $light-grey;
  background-color: transparent;
  &:hover,&:focus{
    color: $white;
    background: $brand-primary;
    border-color:  $brand-primary;
  }
}
.btn-white{
  @include animate(all,320ms);
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: $darker-grey;
  padding: 12px 30px;
  border-radius: 0;
  border: none;
  background: $white;
  &:hover,&:focus{
    color: $white;
    background: $brand-primary;
  }
}
.btn-black{
  @include animate(all,320ms);
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: $white;
  padding: 12px 30px;
  border-radius: 0;
  border: none;
  background: $darker-grey;
  &:hover,&:focus{
      color: $white;
      background: $brand-primary;
  }
}
.btn-primary{
    background: $brand-primary;
    color: $white;
    border-color: $brand-primary;
    &:hover, &:active, &:focus {
        background: $brand-primary-dark;
        color: $white;
        border-color: $brand-primary-dark;
    }
}

//Typography

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    color: $dark-grey;
    line-height: 1.2;
    font-family: 'Roboto Slab', serif;
}
.h1, h1{
  font-size: 30px;
}
.h2, h2{
  font-size: 26px;
}
.h3, h3{
  font-size: 22px;
}
.h4, h4 {
    font-size: 20px;
}
.h5, h5 {
    font-size: 18px;
}
.h6, h6 {
    font-size: 16px;
}
ul,ol,li{
    color: $body-text-color;
    line-height: 2;
}
a{
  @include animate(color, 320ms);
  color: $brand-primary;
  &:hover,&:focus{
    color: $brand-primary;
    text-decoration: none;
    outline: none;
  }
}
img{
    max-width: 100%;
    height: auto;
}
blockquote{
  background: $lighter-grey  none repeat scroll 0 0;
  border-left: 1px solid $brand-primary;
  margin: 32px 0 0;
  overflow: hidden;
  padding: 15px 30px 21px 75px;
  position: relative;
  margin-bottom: 10px;
  &:before{
    background: $brand-primary none repeat scroll 0 0;
    content: "";
    height: 90%;
    left: 2px;
    position: absolute;
    top: 0;
    width: 1px;
  }
  &:after{
    content: "\f10d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: $gray-lightest;
    font-size: 30px;
    position: absolute;
    top: 23px;
    left: 23px;
  }
  p{
    color: $gray-light;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 32px;
    margin: 0 0 12px;
  }
  h5{
    display: inline-block;
    font-style: normal;
    margin: 0;
  }
  cite{
    font-size: 16px;
    font-weight: 400;
    color: $brand-primary;
  }
}
p{
    b, strong{
        font-weight: bold;
    }
}
table{
    max-width: 100%;
    overflow: scroll;
    tr{
        th{
            font-weight: bold;
        }
        th,td{
            padding: 10px;
            vertical-align: middle;
            border: 1px solid $gray-lightest;
        }
    }
}
button, input, select, textarea{
    max-width: 100%;
    color: $grey;
}
dl{
    padding-left: 15px;
    dt{
        color: $dark-grey;
        font-size: $body-text-font-size;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    dd{
        line-height: 2;
    }
}
address{
    line-height: 2;
}
kbd{
    padding: 4px;
    font-size: 11px;
}
form.post-password-form{
    padding: 20px 0;
    p{
        margin-bottom: 10px;
    }
    label{
        margin-top: 20px;
    }
    input[type='password']{
        border: 1px solid $gray-lighter;
        border-radius: 0;
        height: 46px;
        text-indent: 10px;
    }
    input[type='submit']{
        margin-top: 20px;
        background: $brand-primary;
        color: $white;
        border: 1px solid $brand-primary;
        font-weight: bold;
        padding: 6px 20px;
        &:hover{
            background: $brand-primary-dark;
        }
    }
}
.dropcap{
    font-size: 42px;
}
.parrot-tooltip,.parrot-popover{
    color: $brand-primary;
    cursor: pointer;
}
.circled-list{
    list-style-type: none;
    li{
        &:before{
            color: $brand-primary;
            content: "\f1db";
            display: inline-block;
            font-family: "FontAwesome";
            font-size: 12px;
            font-weight: normal;
            margin-right: 10px;
            vertical-align: middle;
        }
    }
}
.arrow-list{
    list-style: none;
    li{
        &:before{
            color: $brand-primary;
            content: "\f178";
            display: inline-block;
            font-family: "FontAwesome";
            font-size: 12px;
            font-weight: normal;
            margin-right: 10px;
            vertical-align: middle;
        }
    }
}
.hand-list{
    list-style: none;
    li{
        &:before{
            color: $brand-primary;
            content: "\f25a";
            display: inline-block;
            font-family: "FontAwesome";
            font-size: 12px;
            font-weight: normal;
            margin-right: 10px;
            vertical-align: middle;
        }
    }
}
.header-title{
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 20px;
    color: $dark-grey;
    &:before{
        content: "";
        position: absolute;
        bottom: 0;
        left: 5px;
        height: 4px;
        width: 60px;
        border-radius: 4px;
        background: $brand-primary;
    }
    &:after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 80px;
        height: 4px;
        width: 20px;
        border-radius: 4px;
        background: $brand-secondary;
    }
}
.text-center{
    .header-title{
        &:before{
            left: 25%;
        }
        &:after{
            left: 60%;
        }
    }
}

/* Contact Form 7 Styles
---------------------------------*/
.wpcf7 {
    background-color: $lighter-grey;
    border: 5px solid $gray-lighter;
    margin-top: 30px !important;
    .wpcf7-form {
        padding: 40px;
        label{
            display: block;
            color: $grey;
            font-size: 16px;
            font-weight: 400;
            line-height: 2;
        }
        input[type="text"],input[type="email"],input[type="password"]{
            width: 100%;
            border: 1px solid $gray-lighter;
            border-radius: 0;
            text-indent: 10px;
            margin: 10px 0;
            height: 52px;
        }
        textarea{
            width: 100%;
            border: 1px solid $gray-lighter;
            border-radius: 0;
            text-indent: 10px;
            margin: 10px 0;
        }
        .wpcf7-textarea {
            width: 100%;
        }
        .wpcf7-text {
            width: 100%;
        }
        .wpcf7-submit {
            @include animate(all, 320ms);
            display: block;
            width: 100%;
            padding: 12px 20px;
            background: $gray-lighter;
            color: $grey;
            font-size: 16px;
            margin: 20px 0 0;
            text-transform: uppercase;
            font-weight: bold;
            border: none;
            &:hover,&:focus{
                background: $brand-primary;
                color: $white;
            }
        }
        div.wpcf7-validation-errors{
            padding: 15px;
        }
    }
}
.contact-form-dark{
    .wpcf7{
        border: none;
        background: none;
    }
    .wpcf7-form{
        background: $darker-grey;
        padding: 40px;
        max-width: 700px;
        margin: 20px auto;
        input[type="text"],input[type="email"],input[type="password"]{
            background: $dark-grey;
            color: $white;
            border: 1px solid $dark-grey;
        }
        textarea{
            background: $dark-grey;
            color: $white;
            border: 1px solid $dark-grey;
        }
        .wpcf7-submit {
            background: $brand-secondary;
            color: $white;
            &:hover,&:focus{
                background: $brand-secondary-dark;
                color: $white;
            }
        }
        div.wpcf7-validation-errors{
            color: $white;
        }
    }
}
.contact-form-colorful{
    .wpcf7{
        border: none;
        background: none;
    }
    .wpcf7-form{
        @include alpha-attribute('background', rgba($brand-secondary, 0.5),  $brand-secondary);
        padding: 40px;
        max-width: 700px;
        margin: 20px auto;
        input[type="text"],input[type="email"],input[type="password"]{
            background: $brand-secondary;
            color: $white;
            border: 1px solid $brand-secondary;
        }
        textarea{
            background: $brand-secondary;
            color: $white;
            border: 1px solid $brand-secondary;
        }
        .wpcf7-submit {
            background: $brand-primary-dark;
            color: $white;
            &:hover,&:focus{
                background: $brand-primary;
                color: $white;
            }
        }
        div.wpcf7-validation-errors{
            border-color: $white;
        }
    }
}
.contact-form-light{
    .wpcf7{
        background: $white;
    }
    .wpcf7-form{
        .wpcf7-submit {
            background: $brand-secondary-dark;
            color: $white;
            &:hover,&:focus{
                background: $brand-secondary;
                color: $white;
            }
        }
        div.wpcf7-validation-errors{
            border-color: $white;
        }
    }
}
.contact-form-color-inverse{
    .wpcf7{
        border: none;
        @include alpha-attribute('background', rgba($brand-primary, 0.5),  $brand-primary);
        padding: 40px;
    }
    .wpcf7-form{
        background: $white;
        padding: 40px;
        max-width: 700px;
        margin: 20px auto;
        input[type="text"],input[type="email"],input[type="password"]{
            background: $white;
            border: 1px solid $lighter-grey;
        }
        textarea{
            background: $white;
            border: 1px solid $lighter-grey;
        }
        .wpcf7-submit {
            background: $brand-primary-dark;
            color: $white;
            &:hover,&:focus{
                background: $brand-primary;
                color: $white;
            }
        }
        div.wpcf7-validation-errors{
            border-color: $lighter-grey;
        }
    }
}

/*
  Sidebar section
  ---------------------
*/
.top-sidebar{
  @media(max-width: $screen-xs-max){
    display: none;
  }
}

.sidebar-overlay, .home-overlay{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(0,0,0,0.5);
  display: none;
  cursor: e-resize;
}
.amaaaze-sidebar{
  background: $darker-grey;
  color: $white;
}
.home-sidebar{
  background: $white;
  .sidebar-scroll{
    padding: 0 15px;
  }
}
.amaaaze-sidebar, .home-sidebar{
  @include admin-sticky-fix();
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;

  z-index: 10;
  height: 100vh;
  width: 100%;
  max-width: 300px;
  @include animate( transform, 320ms );

  &.sidebar-closed, &.topsidebar-closed{
    @include transform( translateX( -100% ) );
  }
  a{
    color: $dark-grey;
  }
}
.amaaaze-sidebar-container{
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
}
.top-toggleSidebar{
  &.sidebar-close{
    position: relative;
    padding-top: 35px;
  }
}
.sidebar-title{
  padding: 10px 20px;
  background-color: $gray-lightest;
  color: $dark-grey;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  a{
    font-size: 22px;
  }
}
.topsidebar-title{
  text-align: center;
  font-size: 38px;
  margin-top: 15px;
  a{
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s;
  }
  .title{
    padding: 10px 0;
    margin-top: 15px;
  }
}
.topsidebar-open{
  font-size: 20px;
  text-align: right;
  cursor: pointer;
  .fa{
    color: $brand-secondary;
    line-height: 2.5;
  }
}
.sidebar-scroll{
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
.sidebar-close{
  position: absolute;
  right: 10px;
  width: 25px;
  height: 25px;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  color: $dark-grey;
  &:hover,&:focus{
    color: $brand-primary;
  }
  .fa{
    font-size: 22px;
    font-weight: normal;
  }
}
.sidebar-reveal{
    display: none;
}


// Back to top
.back-to-top{
  position: fixed;
  width: 56px;
  right: 15px;
  bottom: 15px;
  margin: 0;
  z-index: 999;
  text-align: center;
  -webkit-transition: all 0.3s;
  a{
    color: #aaa;
    font-size: 24px;
    i{
      cursor: pointer;
    }
  }
  &:hover{
    bottom: 19px;
  }
}
