* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    color: #4f5d79;
    font-family: 'Open Sans', sans-serif;
    background: white;
    /* background: #000 url(https://wallpaperstock.net/wallpapers/thumbs1/30111wide.jpg); */
    /* El cover se usa para que el fondo al ser una imagen abarque el 100% y el fixed para que quede fijo*/
    /* background-size:cover;
    background-attachment: fixed; */
}

a {
    color: #ff0000;
    text-decoration: none;
}

.container {
    margin: auto ;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

.col-auto {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.col-1 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 8.333333%;
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
  
/* Layar kecil */
@media (max-width: 880px) {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
    .col-sm-auto {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  

/* Layar sedang */
@media (min-width: 768px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
  .col-md-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Layar besar */
@media (min-width: 992px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
  .col-lg-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Layar sangat besar */
@media (min-width: 1200px) {
  .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
  .col-xl-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

header {
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    width: 15%;
}

header .logo img {
    width: 100%;
}

header .menu a {
    border-right: 1px solid #cccccc;
    line-height: 27px;
    text-decoration: none;
    padding: 0px 10px;
}

header .menu a:hover {
    text-decoration: underline;
}

.main {
    background: #fff;
    padding: 20px;
    width: 70%;
}

.main article .thumb{
    margin-bottom: 20px;
}

.main article .thumb img {
    width: 100%;
    vertical-align: top;
}

.main article h2 {
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 32px;
    /* text-align: center; */
}

.main article p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 27px;
}

.central {
    background: #fff;
    padding: 20px;
    width: 100%;
}

.central article .thumb{
    margin-bottom: 20px;
}

.central article .thumb img {
    width: 100%;
    vertical-align: top;
}

.central article h2 {
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 32px;
    /* text-align: center; */
}

.central article p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 27px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

aside {
    width: 30%;
    /* background: #f7f7f7; */
    padding: 20px;
    /* display: flex;
    flex-direction: column;
    flex-wrap: wrap; */
}

aside .ad {
    font-size: 30px;
    text-align: center;
    color: #ffffff;
    padding: 50px 0;
    margin-bottom: 20px;
    background: #4f5d79;
}

footer {
    /* margin: 20px 0; */
    background: rgba(255 255 255/.2);
    padding: 20px;
    width: 100%;
    color: #4f5d79;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

footer .social a {
    line-height: 27px;
    color: #4f5d79;
    text-decoration: none;
    margin-left: 10px;
}

footer .social a:hover {
    text-decoration: none;
}

@media screen and (max-width: 800px) {
    .main {
        width: 100%;
    }

    aside {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .count-s {
        margin-bottom: 30px !important;
    }

    aside .ad {
        /* width: 30%; */
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    header {
        flex-direction: column;
        padding-bottom: 20px;
        justify-content: center;
    }

    header .menu {
        width: 100%;
        background: rgba(255 255 255 /.2);
        text-align: center;
        padding: 10px;
    }

    header .logo {
        width: 30%;
        margin-bottom: 5px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        flex-wrap: wrap;
    }

    footer .author {
        order: 2;
        width: 100%;
    }

    footer .social {
        order: 1;
        width: 100%;
    }

    footer .social a {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 400px) {
    aside {
        /* display: none; */
    }
}

/* tabel
-------------------- */
.table {
    border-collapse: collapse;
    width: 100%;
}

.table th,
.table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.table th {
    font-weight: bold;
    /* background-color: #f2f2f2; */
}

.table thead th {
    text-align: center;
}

.table tbody td {
    text-align: center;
}

/* .table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
} */

.table tbody tr:hover {
    background-color: #fbfbfb;
}

.table-p20 {
    padding: 10px !important;
}

/* color table
----------------- */
.table-primary {
    background: red;
    color: white;
}

.table-primary-a {
    background: #f2f2f2;
}
 
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
  }
  
  .page-item {
    position: relative;
    display: block;
    margin-left: -1px;
  }
  
  .page-item:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .page-item:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  .page-link {
    text-decoration: none;
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #ff0000;
    background-color: #fff;
    border: 1px solid #dee2e6;
  }
  
  .page-link:hover {
    z-index: 2;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
  }
  
  .page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgb(255 0 0 / 14%);
  }
  
  .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
  }
  
  .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #ff0000;
    border-color: #ff0000;
  }
  
  .img-n img {
    float: left;
    margin-right: 15px;
  }



/* slide show & banner
----------------- */
  .max-slide {
      max-height: 230px;
  }

  .slide-images {
    width: 100%;
    height: 100%;
  }

  .slideShow-container{
    width: 100%;
    max-width: 1000px;
    /* max-height: 300px; */
    /* margin: 0 auto;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%); */
  }
  
  
  .slideShow{
    overflow: hidden;
    position: relative;
    /* background-color: #f2f2f2; */
  }
  
  .dotHolder{
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    width: 120px;
    height: 30px;
   padding: 6px 10px 2px 2px;
   text-align: right; 
   
  }
  .dots{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    background-color:#ffffff7a;
    color: transparent;
  }
  
  
  
  /* .dots:hover{
    background-color: #4f5d796c;
  } */
  
  /* Countdown
  ------------------ */
.count-s {
    /* padding: 50px 0; */
    margin-bottom: 20px;
}
/* .countdown {
    border-radius: 10px;
    padding: 5px 5px;
    font-size: 30px;
    text-align: center;
} */

.hours {
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 7px;
    border: 2px solid #ccc;
    color: #4f5d79;
    margin-right: 5px;
}
.minutes {
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 7px;
    border: 2px solid #ccc;
    color: #4f5d79;
    margin-right: 5px;
}
.seconds {
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 7px;
    border: 2px solid #ccc;
    color: #4f5d79;
    /* margin-right: 15px; */
}