img {
    vertical-align: middle;
}

.page-template-page-seagame-php {
    background: #E2E2E2;
}

.page-template-page-seagame-php .ud-main-slide-row .td-pb-span4 .td_block_inner,
.page-template-page-seagame-php .ud-main-slide-row .ud_block_with_readmore .ud_readmore_wrap {
    border-radius: 0;
}

.page-template-page-seagame-php .ud-main-slide-row .td-pb-span4 .td_block_inner {
    padding-bottom: 40px;
}

.sg-container {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
}

.sg-row:after {
    content: "";
    clear: both;
    display: table;
}

.sg-row-full {
    margin-left: -10px;
    margin-right: -10px;
}

.sg-ads {
    padding: 20px 0;
}

.sg-block {
    padding: 20px 0;
    background-size: cover;
    background-position: top center;
}

#sg-slider-1 {
    margin-bottom: 10px;
}

#sg-slider-1 .td-icon-left,
#sg-slider-1 .td-icon-right {
    display: block;
    opacity: 1;
}

.sg-slider-thumb img {
    width: 100%;
}

.sg-slider-item {
    position: relative;
    background: white;
}

.sg-slider-item .sg-slider-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 20px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
}

.sg-slider-item .sg-slider-info .sg-slider-title {
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.4rem;
    font-weight: 700;
}

.sg-slider-item .sg-slider-info .sg-slider-title a {
    color: white;
}

.sg-list {
    overflow-y: auto;
}

.sg-list-item {
    margin-top: 10px;
    background: white;
}

.sg-list-item:after {
    content: "";
    clear: both;
    display: table;
}

.sg-list-item:first-child {
    margin-top: 0;
}

.sg-list-item .sg-list-thumb {
    float: left;
    width: 40%;
}

.sg-list-item .sg-list-info {
    float: left;
    width: 60%;
    padding: 10px;
}

.sg-list-item .sg-list-info .sg-list-title {
    margin: 0 0 5px;
    font-size: 0.85rem;
    line-height: 1.5rem;
    font-weight: bold;
}

.sg-list-item .sg-list-info .sg-list-meta {
    font-size: 0.75rem;
    line-height: 1.5;
}

#sg-list-1 {
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.sg-main-title {
    padding-top: 20px;
}

.sg-main-title:after {
    content: "";
    clear: both;
    display: table;
}

.sg-main-title .sg-main-title-icon {
    display: none;
}

.sg-main-title .sg-main-title-text {
    margin: 12px 0 0 0;
    font-weight: bold;
}

.line-title {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.sg-news-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

.sg-news-list-item {
    background-color: #fff;
    padding-bottom: 30px;
    position: relative;
}

.sg-news-list-item .sg-news-list-thumb img {
    width: 100%;
}

.sg-news-list-item .sg-news-list-info {
    padding: 10px;
}

.sg-news-list-item .sg-news-list-info .sg-news-list-title {
    font-weight: bold;
    margin: 0;
    font-size: 1rem;
    line-height: 1.75rem;
}

.sg-news-list-item .sg-news-list-link {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 10px 5px;
    font-size: 0.75rem;
    color: #BFBFBF;
}

.sg-news-list-item .sg-news-list-link a {
    color: black;
}

.sg-block-3 {
    padding: 0;
}

.medal {
    width: 25px;
    height: 25px;
    display: block;
    border: 1px solid white;
    border-radius: 50%;
    margin: 0 auto;
}

.medal-gold {
    background: gold;
}

.medal-silver {
    background: silver;
}

.medal-bronze {
    background: #FFB839;
}

.sg-medal-table-head {
    background-size: cover;
    padding: 20px;
    font-size: 1.5rem;
    color: white;
    text-align: center;
    font-weight: bold;
}

.sg-medal-table table {
    border-collapse: collapse;
    border: 1px solid #EDEFEC;
}

.sg-medal-table table thead {
    background: #810000;
}

.sg-medal-table table thead th {
    border: 1px solid #810000;
    text-align: center;
    color: white;
    padding: 10px;
    font-size: 1rem;
}

.sg-medal-table table tbody {
    background: white;
    font-weight: bold;
}

.sg-medal-table table tbody td {
    padding: 10px;
    vertical-align: middle;
}

.sg-medal-table-index,
.sg-medal-table-gold,
.sg-medal-table-silver,
.sg-medal-table-bronze,
.sg-medal-table-total {
    text-align: center;
    width: 80px;
}

.sg-medal-table-title span {
    display: block;
}

.sg-block-5 .sg-main-title-text {
    color: white;
}

.sg-album-list-item {
    margin-bottom: 10px;
}

.sg-album-list-item-1 {
    grid-area: a;
}

.sg-album-list-item-2 {
    grid-area: b;
}

.sg-album-list-item-3 {
    grid-area: c;
}

.sg-album-list-item-4 {
    grid-area: d;
}

.sg-album-list-item-5 {
    grid-area: e;
}

.sg-album-list-item-6 {
    grid-area: f;
}

.sg-album-list-item-7 {
    grid-area: g;
}

.sg-album-list-item-8 {
    grid-area: h;
}

#sg-news-list-3 {
    display: block;
}

#sg-news-list-3 .sg-news-list-item {
    margin-bottom: 20px;
    padding-bottom: 0;
}

#sg-news-list-3 .sg-news-list-item:after {
    content: "";
    display: table;
    clear: both;
}

#sg-news-list-3 .sg-news-list-item .sg-news-list-link {
    position: static;
    padding: 5px 0 0 0;
}

.sg-block-7 {
    color: white;
}

.sg-block-7 .sg-row {
    max-width: 560px;
    margin: 0 auto;
}

.sg-block-7 .sg-row .sg-main-title .sg-main-title-text {
    width: 100%;
    color: white;
    text-align: center;
}

.sg-today-match-item {
    background: white;
}

.sg-today-match-item .sg-today-match-thumb {
    position: relative;
}

.sg-today-match-item .sg-today-match-thumb img {
    width: 100%;
}

.sg-today-match-item .sg-today-match-thumb .sg-today-match-logo {
    width: 15%;
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: right;
}

.sg-today-match-item .sg-today-match-thumb .sg-today-match-logo img {
    max-height: 100%;
}

.sg-today-match-item .sg-today-match-info {
    padding: 10px;
}

.sg-today-match-item .sg-today-match-info .sg-today-match-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.sg-awards-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-video .sg-main-title {
    padding-top: 0;
}

.sg-video-item .sg-video-thumb {
    position: relative;
}

.sg-video-item .sg-video-thumb img {
    width: 100%;
}

.sg-video-item .sg-video-thumb .icon-video {
    font-size: 5rem;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.sg-news-list .sg-readmore-wrap,
.sg-album-list .sg-readmore-wrap {
    grid-column: span 1;
}

.sg-album-list .sg-readmore-wrap {
    margin-top: 10px;
}

.sg-news-list .sg-readmore-wrap a,
.sg-album-list .sg-readmore-wrap a {
    background: #7a7a7a;
    color: white;
    padding: 10px 10px 5px 10px;
    display: block;
    text-align: center;
    font-size: 1rem;
    line-height: 1.48;
    border-radius: 5px;
}

.sg-video-wrapper .sg-readmore-wrap {
    margin-top: 20px;
}

.sg-video-wrapper .sg-readmore-wrap a {
    background: #7a7a7a;
    color: white;
    padding: 10px 10px 5px 10px;
    display: block;
    text-align: center;
    font-size: 1rem;
    line-height: 1.48;
    border-radius: 5px;
}

@media (min-width: 576px) {
    .sg-news-list {
        grid-template-columns: 1fr 1fr;
    }

    .sg-news-list .sg-readmore-wrap,
    .sg-album-list .sg-readmore-wrap {
        grid-column: span 2;
    }
}

@media (min-width: 768px) {
    .sg-container {
        width: 700px;
    }

    .sg-row-full {
        margin-left: 0;
        margin-right: 0;
    }

    #sg-slider-1 {
        height: 500px;
        width: 700px;
    }

    #sg-list-1 {
        padding-left: 0;
        padding-right: 0;
    }

    .sg-block-3 {
        padding: 20px 0;
    }

    .sg-album-list {
        display: grid;
        grid-gap: 10px;
        grid-template-areas: "a a b" "a a c" "d e f";
    }

    .sg-album-list-item {
        margin-bottom: 0;
    }

    .sg-album-list-item-1 img {
        height: 100%;
    }

    .sg-medal-table-title span {
        display: inline-block;
        padding-left: 10px;
        position: relative;
        top: 2px;
    }

    #sg-news-list-3 .sg-news-list-item {
        display: grid;
        grid-template-columns: 250px auto;
    }

    #sg-news-list-3 .sg-news-list-item .sg-news-list-info {
        padding-bottom: 40px;
        position: relative;
    }

    #sg-news-list-3 .sg-news-list-item .sg-news-list-info .sg-news-list-link {
        position: absolute;
        bottom: 5px;
        left: 10px;
    }
}

@media (min-width: 992px) {
    .sg-container {
        width: 990px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .sg-block {
        padding: 40px 0;
    }

    .line-title {
        margin-top: 10px;
    }

    #sg-slider-1 {
        height: 414px;
        width: 580px;
        float: left;
    }

    #sg-slider-1 .td-icon-left,
    #sg-slider-1 .td-icon-right {
        display: block;
        opacity: 0;
    }

    #sg-slider-1:hover .td-icon-left,
    #sg-slider-1:hover .td-icon-right {
        opacity: 1;
    }

    .sg-slider-item .sg-slider-info .sg-slider-title {
        font-size: 1.3125rem;
        line-height: 2.25rem;
    }

    #sg-list-1 {
        height: 414px;
        width: 370px;
        float: left;
        padding: 20px;
        background: white;
    }

    .sg-list-item .sg-list-info {
        padding: 0 0 0 20px;
    }

    .sg-list-item .sg-list-info .sg-list-title {
        font-size: 0.875rem;
        line-height: 1.5625rem;
    }

    .sg-list-item .sg-list-info .sg-list-meta {
        line-height: 25px;
    }

    /* .sg-main-title .sg-main-title-icon {
      display: block;
      width: 35px;
      float: left;
    }
    .sg-main-title .sg-main-title-text {
      width: calc(100% - 50px);
      float: right;
      margin: 12px 0;
    } */
    #sg-news-list-1 {
        float: left;
        width: calc(100% - 300px);
        padding-right: 20px;
    }

    #sg-ads-2 {
        float: left;
        width: 300px;
        padding: 0;
    }

    .sg-news-list {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .sg-news-list-item .sg-news-list-info {
        padding: 20px;
    }

    .sg-news-list-item .sg-news-list-link {
        padding: 0 20px 5px;
        font-size: 0.875rem;
    }

    .sg-medal-table {
        float: left;
        width: calc(100% - 300px);
        padding-right: 20px;
    }

    .sg-medal-table table {
        height: 600px;
    }

    #sg-ads-4 {
        float: left;
        width: 300px;
        padding: 0;
    }

    #sg-news-list-2 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas: "a a b b" "c d e f";
    }

    #sg-news-list-2 .sg-news-list-item:first-child {
        grid-area: a;
    }

    #sg-news-list-2 .sg-news-list-item:nth-child(2) {
        grid-area: b;
    }

    #sg-news-list-2 .sg-news-list-item:nth-child(3) {
        grid-area: c;
    }

    #sg-news-list-2 .sg-news-list-item:nth-child(4) {
        grid-area: d;
    }

    #sg-news-list-2 .sg-news-list-item:nth-child(5) {
        grid-area: e;
    }

    #sg-ads-5 {
        grid-area: f;
    }

    .sg-today-match-item .sg-today-match-info {
        padding: 20px;
    }

    .sg-block-6 .sg-video {
        width: calc(100% - 300px);
        padding-right: 20px;
        float: left;
    }

    #sg-ads-7 {
        float: left;
        width: 300px;
        padding: 0;
    }

    #sg-news-list-3 .sg-news-list-item .sg-news-list-info .sg-news-list-link {
        position: absolute;
        bottom: 15px;
        left: 20px;
    }

    .sg-awards-content ul {
        column-count: 2;
        column-fill: balance;
    }

    .sg-news-list .sg-readmore-wrap,
    .sg-album-list .sg-readmore-wrap {
        grid-column: span 3;
    }
}

@media (min-width: 1200px) {
    .sg-container {
        width: 1200px;
    }

    #sg-slider-1 {
        height: 520px;
        width: 728px;
        float: left;
    }

    #sg-list-1 {
        height: 520px;
        width: 412px;
        float: left;
    }
}

.sg-embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background-color: #000000;
    overflow: hidden;
}

.sg-embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.sg-embed-responsive::before {
    display: block;
    content: "";
}

.sg-embed-responsive .sg-embed-responsive-item,
.sg-embed-responsive embed,
.sg-embed-responsive iframe,
.sg-embed-responsive object,
.sg-embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
