@import "http://myhoa.5pixels.com/assets/css/fonts.css";
@import "http://myhoa.5pixels.com/assets/css/simple-line-icons.css";
@import "http://myhoa.5pixels.com/assets/css/font-awesome.min.css";
@import "http://myhoa.5pixels.com/assets/css/mixins.less";
@import "http://myhoa.5pixels.com/assets/css/variables.less";
@import "http://myhoa.5pixels.com/assets/css/misc.less";
//------------------------------------------------------------------layout

html{ font-size:100%; height: 100%}
body {
  font: 400 16px @sans;
  color: @textColor;
  background: @bodyBackground;
  height: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: @linkColor;
  &:hover {
    color: @linkColorHover;
  }
}
a.myhoa {
  color: @pink;
  &:hover {
    color: @pinkDark;
  }
}

.myhoa-primary { color: @pink !important; }
.form-control { font-family: @sans;  }
.control-label {  margin-top: 6px; }

#search-by .form-group-sm  .control-label { margin-top: 0; font-size: .8rem;}
#search-by .form-group-sm  .btn { padding: 4px 12px 3px 12px; }

#page-wrapper {
  position: relative;
  min-height: 100%;
  padding-bottom: 60px;
  &.home {
    background: url("http://myhoa.5pixels.com/assets/i/myhoa-home-bg.jpg") no-repeat 50% 0; background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/assets/i/myhoa-home-bg.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/assets/i/myhoa-home-bg.jpg', sizingMethod='scale')";
  }
}
.modal-content {
  .modal-title {
    font: 400 1.6rem @sans;
    color: @grey900;
    span {
      font: 300 1.2rem @sans;
      color: @grey600;
    }
  }
}
.main-content {
  margin-top: 56px;
}
.home .main-content {
  margin-top: 56px;
}
.home-content {
  .myhoa-io { margin: -11px 120px 0 0; }
  .header {
    display: block;
    margin: 0 0 60px 0;
    font: 500 2.4rem/2.5rem @sans;
    color: @grey900;
    white-space: nowrap;
  }
  .title {
    display: block;
    font: 500 1.8rem @sans;
    color: @pink;
    white-space: nowrap;
  }
  p {
    margin-top: 20px;
    font: 300 1.1rem @sans;
    &.p-sm {
      font-size: 1rem;
      margin-right: 40px;
    }
  }
  ul {
    list-style: none;
    margin-top: 20px;
    padding: 0;
    font: 300 1.1rem @sans;
    color: @grey600;
    li {
      margin: 10px 0;
      span { color: @grey900; }
    }
  }
}

.home-links {
  margin-top: 60px;
}
.home-image {
  padding: 0;
  text-align: right;
  .opacity(80);
  img {
    .inline();
    width: 90%;
    height: auto;
    margin-top: 0;
  }
}

h2 {
  font: 300 1.9rem @sans;
  margin: 20px 0 30px 84px;
  color: @grey600;
}
h4 { font: 500 1.1rem @sans; }
p { font-family: @sans; }
strong {
  font-family: @sans;
  font-weight: 500;
}
label {
  font-weight: 500;
}
.form-group {
  .text-muted {
    font: 300 .9rem @sans;
  }
}
.edit-profile {
  font: 300 1rem @sans;
  a {
    .inline();
    margin-left: 15px;
  }
}
div.event {
  color: @grey600;
  font: 300 .8rem @sans;
  padding: 10px 0;
  cursor: pointer;
}



#page-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  color: @grey600;
  .row > div {
    margin-top: 20px;
  }
  strong {
    .inline();
    padding-top: 4px;
    font: 300 1rem @sans;
    color: @grey600;
  }
  a {
    color: @grey900;
  }
}

.hoa-address {
  font-size: .9rem;
  border: 1px solid @grey300;
  border-top: 24px solid @grey500;
  margin-top: 10px;
  padding: 20px 20px 10px 20px;
}
.middle-line {
  position: relative;
  &:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
    background: @grey300;
  }
}
.announce {
  margin-top: -5px;
  .middle-line:before {top: 11px;}
  strong {
    font-weight: 500;
    position: relative;
    .inline();
    margin-bottom: 8px;
    span {
      font: 300 .9rem @sans;
      padding: 0 14px;
    }
    background: @white;
  }
  p {
    font-size: .9rem;
    font-weight: 300;
    margin-bottom: 28px;
  }
}

.doc-types {
  margin-top: -14px;
  h4, .doc-list span {
    width: 28%;
  }
  h4 {
    position: relative;
    padding-right: 10px;
    color: @grey900;
    background: @white;
  }
  .doc-list {
    overflow-x: hidden;
    font: 300 .9rem @sans;
    margin-bottom: 20px;
    a {
      font-weight: 400;
      i { margin-right: 5px; }
      padding-left: 10px;
    }
    .middle-line {
      white-space: nowrap;
      margin: 10px 0 20px 0;
      & > * {
        .inline();
        vertical-align: middle;
        position: relative;
        background: @white;
      }
      span {
        margin-right: 20px;
        padding: 0 10px;
      }
      em {
        font-style: normal;
        padding: 0 10px;
      }
    }
  }
}

//------------------------------------- Billing Style
.row-billing {
  & > div {
    .inline();
    vertical-align: middle;
    span { display: block; padding: 12px 0 11px 15px;}
  }
  .col-this-1 { width: 15%; }
  .col-this-2 { width: 40%; }
  .col-this-3 { width: 15%; }
  &.row-th {
    font: 500 1rem @sans;
    border-bottom: 2px solid @grey600;
  }
  &.row-td {
    border-bottom: 1px solid @grey500;
    .col-this-2 { color: @pink; }
    &:hover { background: @grey100; }
  }
  &.row-tf {
    border-bottom: 1px solid @grey500;
    background: @grey100;
    & > div > span { display: block; padding: 18px 0 17px 15px;}
  }
}


//------------------------------------- Events Style
#events-loading {
  display: none;
  position: absolute;
  top: 8px;
  left: 240px;
}
.fc-event {
  cursor: pointer;
}
.clip-svg {
  width: 0;
  height: 0;
}
.clip-polygon {
  -webkit-clip-path: url("http://myhoa.5pixels.com/assets/css/styles.less#clip-svg-demo");
  clip-path: url("http://myhoa.5pixels.com/assets/css/polygon.svg#clip-svg-demo");
}
//@-moz-document url-prefix() {
//  .clip-polygon { clip-path: url("http://myhoa.5pixels.com/assets/css/polygon.svg#clip-svg-demo"); }
//}

//------------------------------------- Chat Style
#chat-page {
  .row {
    margin-top: -37px;
  }
}
.chat-box {
  margin-bottom: 20px;
  position:relative;
}
.chat-rec {
  padding: 7px 15px;
  overflow:hidden;
  position:relative;
  border: 1px solid @grey300;
  border-top: 5px solid @grey600;
  .border-radius(3px);
  .box-shadow(#d9d9d9 1px 2px 3px);
  &:hover {
    border-top: 5px solid @grey400;
    background: @grey50;
  }
  .rec-header {
    white-space: nowrap;
    .rec-avatar {
      .inline();
      vertical-align: top;
      margin-right:15px;
    }
    .rec-title {
      white-space: normal;
      .inline();
      margin-right: 30px;
      vertical-align: top;
      font: 400 .9rem @sans;
      color: @grey900;
      span {
        padding-left: 15px;
        font: 400 .8rem @sans;
        color: @grey600;
      }
      strong {
        display: block;
        font: 500 1.1rem @sans;
      }
    }
  }
  .rec-body {
    margin-top: 15px;
    font: 300 .9rem @sans;
  }
}
.chat-rec .h-action,.chat-rec .editpost,.comnt .delcomm { position:absolute; display:none; }
.chat-rec .h-action{ top:5px;right:10px; padding:0 0 0 7px; }
.chat-rec .editpost{ top:5px; right:64px; padding:0 0 5px 16px;}
.comnt .delcomm{ top:5px; right:15px; padding:0 0 0 12px;}
.chat-rec .comnt-num,.chat-rec .comnt-wrt{float:right;margin-left:10px;}
.avt-large {
  position:absolute;
  top:6px;
  left:2px;
  display:none;
  z-index:300
}

.rec-comnts{overflow:hidden;display:none;}
.avt-comment{float:left;margin-right:10px;}
.comnt {
  margin:12px 0 0 25px;
  padding:7px 10px;
  min-height:36px;
  position: relative;
  background: @grey200;
  border: 1px solid @grey500;
  font: 300 .9rem @sans;
  strong {
    font: 400 .9rem @sans;
    color: @grey900;
  }
  span.date{color:#9f9f9f;padding-left:15px; font-size: .8rem;}
  span.cbody{color:@grey600;}
  textarea{overflow:hidden;resize:none;}
}
.comnt:after, .comnt:before {
  bottom: 100%;
  left: 25px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.comnt:after {
  border-color: rgba(230, 232, 243, 0);
  border-bottom-color: @grey200;
  border-width: 11px;
  margin-left: -11px;
}
.comnt:before {
  border-color: rgba(176, 182, 218, 0);
  border-bottom-color: @grey500;
  border-width: 12px;
  margin-left: -12px;
}
.warning-post-title {
  display: none;
}
#modalAddPost {
  .edit-mode { display: none; }
}
//------------------------------------- Board Style
.b-members {
  margin-top: 20px;
  overflow:hidden;
  position:relative;
  border: 1px solid @grey300;
  border-top: 5px solid @grey600;
  .border-radius(3px);
  .box-shadow(#d9d9d9 1px 2px 3px);
  &:hover {
    border-top: 5px solid @grey400;
  }
  .usr-photo{float:left;padding: 21px 16px;}
  .usr-photo img {width: 95px; height: 105px;}
  .usr-name{font: 300 1.4rem @sans; margin-top:16px; color:@grey600;}
  .usr-pos{font: 500 1rem @sans; margin-top:5px;color:#6c6c6c;}
  .usr-phone{font-size:.9rem;margin-top:20px;}
  .usr-email{font-size:.8rem;margin-top:5px;}
}
//------------------------------------- FAQs Style
#faqs {
  .elm {
    margin-bottom: 20px;
  }
  .fa {
    color: @grey900;
    cursor: pointer;
  }
  .question {
    font: 300 1.1rem @sans;
    color: @grey900;
    cursor: pointer;
  }
  .answer {
    margin: 10px 18px;
    display: none;
    font: 400 1rem @sans;
    color: @grey600;
  }
}

//------------------------------------- Support Style
.support {
  .panel-body > ul {
    margin: 0; padding: 0;
    list-style: square inside url('data:image/gif;base64,R0lGODlhBQAKAIABAAAAAP///yH5BAEAAAEALAAAAAAFAAoAAAIIjI+ZwKwPUQEAOw==');
    li {
      margin: 12px 0;
      &:hover {
        background: @grey100;
      }
    }
    li > a {
      .inline();
      vertical-align: top;
      width: 96%;
      font: 300 .8rem @sans;
      strong {
        .inline();
        width: 100%;
        height: 18px;
        overflow: hidden;
        font: 500 .9rem @sans;
      }
      i {
        .inline();
        color: @grey900;
        width: 100%;
        max-height: 49px;
        overflow: hidden;
      }
      em { padding: 6px 0; font-style: normal;}
      text-decoration: none;
      .badge {
        background: @grey400;
      }
    }
  }
  .body-ph {
    margin-top: -33px;
    p {
      font: 300 .9rem @sans;
      margin: 28px 0 12px 0;
    }
    strong {
      color: @grey600;
      font: 500 1.2rem @sans;
    }
    .item {
      border: 1px solid @grey300;
      padding: 10px 20px;
      margin-bottom: 28px;
      .border-radius(3px);
      &.adm { background: @grey100;}
      p {margin: 10px 0}
      .body {
        font: 400 1rem @sans;
      }
    }
  }
}
#addTicket {
  .modal-body {
    & > div {
      .inline();
      vertical-align: middle;
      margin: 0 20px;
    }
    .re-ico {
      font-size: 8rem;
    }
    .re-text {
      font: 300 2rem @sans;
    }
  }
}

#frmLog { width: 438px; }

#xs-nav-icon { display: none; }

@media (min-width: 1200px) {
  //#page-wrapper { .container-fluid { background: #FCC; } }
}
@media (min-width: 992px) and (max-width: 1199px){
  //#page-wrapper { .container-fluid { background: #FFC; } }
  .home-content {
    .header { font: 500 2.4rem @sans; }
    .title { font: 500 1.8rem @sans; }
  }
}
@media (min-width: 768px) and (max-width: 991px){
  //#page-wrapper { .container-fluid { background: #CCF; } }
  .home-content {
    .header { font: 500 2.2rem @sans; }
    .title { font: 400 1.6rem @sans; }
    ul { font: 300 1rem @sans; }
  }
}
@media (max-width: 767px) {
  //#page-wrapper { .container-fluid { background: #CFF; } }
  #frmLog { width: 100%; }
  .home-content {
    .header { font: 500 2rem @sans; white-space: normal; margin-bottom: 30px;}
    .title { font: 400 1.6rem @sans; white-space: normal; margin-top: 10px;}
    ul { font: 300 1rem @sans; }
  }
  #xs-nav-icon {
    display: block;
    float: left;
    cursor: pointer;
    width: 44px;
    margin-top: 15px;
    padding: 5px 10px;
    border: 1px solid @grey300;
    .border-radius(3px);
    span{
      display: block;
      height: 2px;
      margin: 4px 0;
      border-left: 1px solid @grey400;
      border-right: 1px solid @grey400;
      background: @grey600;
    }
  }
}