/*------------------------------------------------------------------------------
Default
------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
Article list (Page)
------------------------------------------------------------------------------*/

body.bt-smarket .article-list {
  font-family: Open Sans, sans-serif !important;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  color: #434343;
}

/*----- Mobile -----*/

@media (max-width: 1023px) {
  body.bt-smarket .article-list .bt-list-form.bt-sform {
    margin: 15px 0;
  }

  body.bt-smarket .article-list {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    margin: 15px 20px;
  }

  body.bt-smarket .article-list .article-item {
    width: calc(33% - 7px);
  }

  /*----- Blocks -----*/

  body.bt-smarket .article-list .article-detail-link,
  .article-list .article-detail-link:hover,
  .article-list .article-detail-link:focus,
  .article-list .article-detail-link:active {
    display: block;
    text-decoration: none;
    color: transparent;
  }

  body.bt-smarket .article-list .article-image-container {
    position: relative;
    padding-top: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  body.bt-smarket .article-list .article-subject {
    padding: 10px 0 20px;
  }

  body.bt-smarket .article-list-navi-block {
    transition: .5s;
    background: #313b3de6;
  }

  body.bt-smarket .article-list-navi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
  }

  body.bt-smarket .article-list-navi-block.display-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    transform: translateY(100%);
  }

  body.bt-smarket .article-list-navi-block.show-fixed {
    transform: translateY(0);
  }

  /*----- Elements -----*/

  body.bt-smarket .article-list .article-image {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
  }

  body.bt-smarket .article-list .article-image.portrait {
    width: 100%;
    height: auto;
  }

  body.bt-smarket .article-list .article-image img {
    display: block;
    width: auto;
    height: 100%;
    max-width: initial;
  }

  body.bt-smarket .article-list .article-image.portrait img {
    width: 100%;
    height: auto;
  }

  body.bt-smarket .article-list .article-title {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.2;
    color: #434343;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  body.bt-smarket .article-list .article-category {
    font-size: 14px;
    line-height: 1.2;
    color: #2ab7b4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  body.bt-smarket .article-list-navi-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 6px;
    width: calc(50% - 10px);
    height: 40px;
    text-align: center;
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
  }

  body.bt-smarket .article-list-navi-link {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 6px;
    width: calc(50% - 10px);
    height: 40px;
    text-align: center;
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
  }
}

@media (max-width: 500px) {
  body.bt-smarket .article-list .article-item {
    width: calc(50% - 7px);
  }
}

/*----- Desktop -----*/

@media (min-width: 1024px) {

  body.bt-smarket .bt-list-form.bt-sform {
    display: flex;
    flex-flow: nowrap;
    margin: 15px 20px;
  }

  body.bt-smarket .bt-list-form.bt-sform .form-group.form-control-group {
    /*padding: 5px 20px;*/

    flex: 1;
    margin: 0 !important;
  }

  body.bt-smarket .article-list {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    margin: 20px;
  }

  body.bt-smarket .article-list .article-item:nth-child(3n) {
    margin-right: 0;
  }

  body.bt-smarket .article-list .article-item {
    width: 32%;
    margin-right: 2%;
    margin-bottom: 10px;
  }

  /*----- Blocks -----*/

  body.bt-smarket .article-list .article-detail-link,
  .article-list .article-detail-link:hover,
  .article-list .article-detail-link:focus,
  .article-list .article-detail-link:active {
    display: block;
    text-decoration: none;
    color: transparent;
  }

  body.bt-smarket .article-list .article-image-container {
    position: relative;
    padding-top: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  body.bt-smarket .article-list .article-subject {
    padding: 15px 0;
  }

  body.bt-smarket .article-list-navi-block {
    transition: .5s;
    background: #313b3de6;
  }

  body.bt-smarket .article-list-navi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 15px 0;
    width: auto;
  }

  body.bt-smarket .article-list-navi-block.display-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    transform: translateY(100%);
  }

  body.bt-smarket .article-list-navi-block.show-fixed {
    transform: translateY(0);
  }

  /*----- Elements -----*/

  body.bt-smarket .article-list .article-image {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
  }

  body.bt-smarket .article-list .article-image.portrait {
    width: 100%;
    height: auto;
  }

  body.bt-smarket .article-list .article-image img {
    display: block;
    width: auto;
    height: 100%;
    max-width: initial;
  }

  body.bt-smarket .article-list .article-image.portrait img {
    width: 100%;
    height: auto;
  }

  body.bt-smarket .article-list .article-title {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.2;
    color: #434343;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  body.bt-smarket .article-list .article-category {
    font-size: 16px;
    line-height: 1.2;
    color: #2ab7b4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  body.bt-smarket .article-list-navi-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 6px;
    width: calc(50% - 10px);
    height: 56px;
    text-align: center;
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
  }

  body.bt-smarket .article-list-navi-link {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 6px;
    width: calc(50% - 10px);
    height: 56px;
    text-align: center;
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
    text-decoration: none;
  }
}

/*------------------------------------------------------------------------------
Article detail
------------------------------------------------------------------------------*/

body.bt-smarket .article-detail {
  font-family: Open Sans, sans-serif !important;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  color: #434343;
}

/*----- Mobile -----*/

@media (max-width: 768px){
  /*----- Blocks -----*/

  body.bt-smarket .article-top {
    position: relative;
  }

  body.bt-smarket .article-detail .article-body {
    margin: 20px 20px;
  }

  /*----- Elements -----*/

  body.bt-smarket .article-top .bt-back-link {
    display: flex;
    position: absolute;
    left: 10px;
    top: 15px;
    font-size: 32px;
    color: #aaa;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }

  body.bt-smarket .article-detail .article-image {

  }

  body.bt-smarket .article-detail .article-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.bt-smarket .article-detail .article-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 10px;
    color: #434343;
  }

  body.bt-smarket .article-detail .article-category {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #2ab7b4;
  }

  body.bt-smarket .article-detail .article-description {
    margin-bottom: 20px;
  }

  body.bt-smarket .article-detail .article-description p {
    margin: 0 0 5px;
  }

  #article-contact-button {
    border-bottom: 1px solid #ccc;
    cursor: pointer;
  }

  #article-contact-button .article-contact-icon {
    flex: 0 0 50px;
    border: none;
    background: transparent;
    font-size: 20px;
  }

  #article-contact-button  .article-contact-icon i {
    transition: 0.5s;
  }

  #article-contact-button.opened .article-contact-icon i {
    transform: rotate(180deg);
  }
}

/*----- Desktop -----*/

@media (min-width: 768px) {
  /*----- Blocks -----*/

  body.bt-smarket .article-top {
    position: relative;
  }

  body.bt-smarket .article-detail .article-body {
    margin: 20px 20px;
  }

  /*----- Elements -----*/

  body.bt-smarket .article-top .bt-back-link {
    display: flex;
    position: absolute;
    left: 30px;
    top: 15px;
    font-size: 32px;
    color: #aaa;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }

  body.bt-smarket .article-detail .article-image {
    margin-left: 20px;
    margin-right: 20px;
  }

  body.bt-smarket .article-detail .article-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.bt-smarket .article-detail .article-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 10px;
    color: #434343;
  }

  body.bt-smarket .article-detail .article-category {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #2ab7b4;
  }

  body.bt-smarket .article-detail .article-description {
    margin-bottom: 20px;
  }

  body.bt-smarket .article-detail .article-description p {
    margin: 0 0 5px;
  }

  #article-contact-button {
    border-bottom: 1px solid #ccc;
    cursor: pointer;
  }

  #article-contact-button .article-contact-icon {
    flex: 0 0 50px;
    border: none;
    background: transparent;
    font-size: 20px;
  }

  #article-contact-button  .article-contact-icon i {
    transition: 0.5s;
  }

  #article-contact-button.opened .article-contact-icon i {
    transform: rotate(180deg);
  }
}

/*------------------------------------------------------------------------------
Offer form (Page)
------------------------------------------------------------------------------*/

body.bt-smarket .bt-sform {
  margin: 15px 0;
  font-family: Open Sans, sans-serif !important;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  color: #434343;
}

body.bt-smarket .bt-sform .form-group .form-control-input label {
  font-weight: 400;
}

/*----- Mobile -----*/

@media (max-width: 1023px) {
  /*----- Blocks -----*/

  body.bt-smarket .bt-sform .bt-smarket-success {
    margin-bottom: 5px;
    padding: 10px 20px;
    font-size: 20px;
    line-height: 30px;
    background: #a7c830;
    color: #fff;
  }

  body.bt-smarket .bt-sform .bt-smarket-error {
    margin-bottom: 5px;
    padding: 10px 20px;
    font-size: 20px;
    line-height: 30px;
    background: #c83030;
    color: #fff;
  }

  body.bt-smarket .bt-sform .bt-sform-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
  }

  body.bt-smarket .bt-sform .bt-sform-description {
    line-height: 26px;
    font-size: 16px;
  }

  body.bt-smarket .bt-sform .form-group {
    margin-bottom: 15px;
    padding: 5px 20px;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #fff;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group.form-control-group-begin {
    margin-bottom: 0;
    border: none;
    border-top: 1px solid #ccc;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group.form-control-group-end {
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 15px;
    padding-right: 15px;
  }

  body.bt-smarket .bt-sform .form-group.form-group-check {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  body.bt-smarket .bt-sform .form-group.form-send-group {
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  /*----- Elements -----*/

  body.bt-smarket .bt-sform .form-group.form-control-group .icon {
    display: flex;
    align-items: center;
    margin: 5px 0;
    flex: 0 0 25px;
    height: 25px;
    width: 0;
    line-height: 25px;
    font-size: 20px;
    text-align: left;
    color: #2ab7b4;
    overflow: hidden;
    transition: 0.1s;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group.icon-off .icon {
    flex: 0 0 0;
  }

  body.bt-smarket .bt-sform .form-group.form-group-check label {
    display: inline-block;
    margin-left: 10px;
    width: auto;
    font-size: 16px;
    color: #545454;
    font-weight: 400;
  }

  body.bt-smarket .bt-sform .form-group input[type="text"],
  body.bt-smarket .bt-sform .form-group input[type="number"],
  body.bt-smarket .bt-sform .form-group input[type="email"],
  body.bt-smarket .bt-sform .form-group textarea,
  body.bt-smarket .bt-sform .form-group select,
  body.bt-smarket .bt-sform .form-group .form-control-input {
    width: 100%;
    display: block;
    flex: 1;
    margin: 0;
    padding: 5px;
    border: none;
    line-height: 25px;
    font-size: 16px;
  }

  body.bt-smarket .bt-sform .form-group input[type="checkbox"] {
    display: inline-block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }

  body.bt-smarket .bt-sform .form-group textarea {
    height: auto;
  }

  body.bt-smarket .bt-sform .form-group label {
    width: 100%;
    display: block;
  }

  body.bt-smarket .bt-sform .bt-offer-button-send {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    color: #434343;
    background: #f5b016;
  }

  body.bt-smarket .bt-sform .bt-offer-button-send .icon {
    display: inline-block;
    margin: 0;
    margin-right: 15px;
    width: auto;
    height: auto;
    line-height: initial;
    font-size: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /*----- Blocks -----*/
  body.bt-smarket .bt-sform .form-group.form-group-check,
  body.bt-smarket .bt-sform .form-group.form-send-group {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /*----- Elements -----*/
  body.bt-smarket .bt-sform .form-group.form-control-group,
  body.bt-smarket .bt-sform .form-group.form-control-group.form-control-group-begin {
    margin-left: 20px;
    margin-right: 20px;
  }

}

/*----- Desktop -----*/

@media (min-width: 1024px) {
  /*----- Blocks -----*/

  body.bt-smarket .bt-sform .bt-smarket-success {
    margin: 0 20px 15px;
    padding: 10px 20px;
    font-size: 20px;
    line-height: 30px;
    background: #a7c830;
    color: #fff;
  }

  body.bt-smarket .bt-sform .bt-smarket-error {
    margin: 0 20px 15px;
    padding: 10px 20px;
    font-size: 20px;
    line-height: 30px;
    background: #c83030;
    color: #fff;
  }

  body.bt-smarket .bt-sform .bt-sform-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
  }

  body.bt-smarket .bt-sform .bt-sform-description {
    line-height: 26px;
    font-size: 16px;
  }

  body.bt-smarket .bt-sform .form-group {
    margin-bottom: 15px;
    padding: 5px 20px;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 20px 15px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #fff;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group.form-control-group-begin {
    margin: 0 20px;
    border: none;
    border-top: 1px solid #ccc;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group.form-control-group-end {
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 15px;
    padding-right: 15px;
  }

  body.bt-smarket .bt-sform .form-group.form-group-check {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 20px 15px;
    padding-left: 0;
    padding-right: 0;
  }

  body.bt-smarket .bt-sform .form-group.form-send-group {
    margin: 0 20px 15px;
    padding-left: 0;
    padding-right: 0;
  }

  /*----- Elements -----*/

  body.bt-smarket .bt-sform .form-group.form-control-group .icon {
    display: flex;
    align-items: center;
    margin: 5px 0;
    flex: 0 0 25px;
    height: 25px;
    width: 0;
    line-height: 25px;
    font-size: 20px;
    text-align: left;
    color: #2ab7b4;
    overflow: hidden;
    transition: 0.1s;
  }

  body.bt-smarket .bt-sform .form-group.form-control-group.icon-off .icon {
    flex: 0 0 0;
  }

  body.bt-smarket .bt-sform .form-group.form-group-check label {
    display: inline-block;
    margin-left: 10px;
    width: auto;
    font-size: 16px;
    color: #545454;
    font-weight: 400;
  }

  body.bt-smarket .bt-sform .form-group input[type="text"],
  body.bt-smarket .bt-sform .form-group input[type="number"],
  body.bt-smarket .bt-sform .form-group input[type="email"],
  body.bt-smarket .bt-sform .form-group textarea,
  body.bt-smarket .bt-sform .form-group select,
  body.bt-smarket .bt-sform .form-group .form-control-input {
    width: 100%;
    display: block;
    flex: 1;
    margin: 0;
    padding: 5px;
    border: none;
    line-height: 25px;
    font-size: 16px;
  }

  body.bt-smarket .bt-sform .form-group input[type="checkbox"] {
    display: inline-block;
    width: 20px;
    height: 20px;
  }

  body.bt-smarket .bt-sform .form-group textarea {
    height: auto;
  }

  body.bt-smarket .bt-sform .form-group label {
    width: 100%;
    display: block;
  }

  body.bt-smarket .bt-sform .bt-offer-button-send {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    color: #434343;
    background: #f5b016;
  }

  body.bt-smarket .bt-sform .bt-offer-button-send .icon {
    display: inline-block;
    margin: 0;
    margin-right: 15px;
    width: auto;
    height: auto;
    line-height: initial;
    font-size: 20px;
  }
}