@import "variables";
.view-list-countries{
  background-color: #ffffff;
  padding: 50px 30px;
    #example_wrapper {
      table#example {
        thead {
          tr {
            th{
              vertical-align: middle;
              background-color: #f4f3f8;
              border-bottom: none;
              &::before, &::after {
                content: '';
              }
            }
          }
        }
        tbody {
          tr {
            td{
              vertical-align: middle;
              padding-left: 18px;
              font-weight: normal;
              font-size: 15px;
              line-height: 17px;
              color: #575962;
              &.sorting_1 {
                width: 8%;
              }
              &.country-name {
                font-weight: bold;
                line-height: 17px;
                color: #5867DD;
                width: 25%;
                font-size: 15px;
              }
              &.country-code {
                width: 25%;
              }
              &.country-flag, &.country-published {
                width: 17%;
              }
              &.country-flag{
                .img-box {
                  width: 10%;
                  height: 20%;
                  div {
                    width: 100%;
                    height: 100%;
                    padding-bottom: calc(100% * 1 / 1);
                    position: relative;
                    img {
                      width: 100%;
                      height: 100%;
                      position: absolute;
                      top: 50%;
                      left: 50%;
                      transform: translate(-50%, -50%);
                      object-fit: cover;
                      object-position: center;
                    }
                  }
                }
              }
              &.country-published{
                .published {
                  i.fa-check-square {
                    color: #1e7e34;
                  }
                }
                .unpublished {
                  i.fa-times-circle {
                    color: #ac2925;
                  }
                }
              }

              &.country-action {
                .button-action {
                  display: flex;
                  justify-content: flex-start;
                  align-items: center;
                  a {
                    color: #5867dd;
                    &.btn-edit {
                      margin-right: 15px;
                    }
                    i {
                      &::before {
                        color: #575962;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }


}