/*
  	Flaticon icon font: Flaticon
  	Creation date: 16/12/2019 09:27
  	*/

@font-face {
    font-family: "Flaticon";
    src: url("../fonts/Flaticon.eot");
    src: url("../fonts/Flaticon.eot?#iefix") format("embedded-opentype"), url("../fonts/Flaticon.woff2") format("woff2"), url("../fonts/Flaticon.woff") format("woff"), url("../fonts/Flaticon.ttf") format("truetype"), url("../fonts/Flaticon.svg#Flaticon") format("svg");
    font-weight: normal;
    font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: "Flaticon";
        src: url("./Flaticon.svg#Flaticon") format("svg");
    }
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
    font-family: Flaticon;
    font-size: 12px;
    font-style: normal;
    margin-left: 20px;
}

.flaticon-share:before {
    content: "\f100";
}

.flaticon-zoom-out:before {
    content: "\f101";
}

.flaticon-zoom-in:before {
    content: "\f102";
}

.flaticon-download:before {
    content: "\f103";
}

.flaticon-close:before {
    content: "\f104";
}
.flaticon-arrow:before {
    content: "\f105";
}

ul.gallery-items {
    padding: 0;
    margin: 0;
}

.gallery-item {
    display: inline-block;
    vertical-align: top;
    -webkit-transition: height 500ms ease;
    -o-transition: height 500ms ease;
    transition: height 500ms ease;
}

.gallery-expander {
    position: absolute;
    left: 20px;
    right: 0;
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height 500ms ease;
    -o-transition: max-height 500ms ease;
    transition: max-height 500ms ease;
    z-index: 9;
    width: 530px;
}

.gallery-contents {
    position: relative;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    float: left;
    width: 100%;
    z-index: 2;
}

    .gallery-contents:after {
        display: block;
        position: absolute;
        bottom: 0px;
        left: 50%;
        margin-left: -10px;
        width: 0;
        height: 0;
        content: '';
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom-style: solid;
        border-bottom-width: 0px;
        -webkit-transition: border-bottom-width 500ms ease;
        -o-transition: border-bottom-width 500ms ease;
        transition: border-bottom-width 500ms ease;
    }

.gallery-item.active .gallery-contents:after {
    border-bottom-width: 10px;
}

.gallery-item {
    text-align: left;
       margin: 10px 11px 30px;
    padding: 10px;
    width: 23%;
    float: left;
    box-sizing: border-box;
    height: inherit !important;
    position: relative;
}

    .gallery-item:after, .gallery-item:before {
        border: 1px solid rgba(0,0,0,0.1);
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        transform: rotate(-5deg);
        box-shadow: 1px 1px 10px rgba(216, 216, 216, 0.8901960784313725);
        background: #f9f9f9;
    }

    .gallery-item:before {
        transform: rotate(0);
    }

    .gallery-item .thumbnail {
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .gallery-item .col {
        padding: 0;
    }

    .gallery-item .title {
        text-align: left;
        margin-top: 5px;
        padding-bottom: 0;
        font-size: 16px;
        color: #5b5653;
        max-width: 92%;
    }

.gallery-contents:after {
    border-bottom-color: #eaeaea;
}

.gallery-expander {
    background: #eaeaea;
}

.gallery-expander-contents {
    margin: 0 auto;
    width: 100%;
    padding: 3px 0;
}

.all-images-gallery .col {
    width: 20%;
}

.gallery-item .entry-meta {
    display: inline-block;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    width: 40px;
}

.gallery-item .text {
    position: relative;
    float: left;
    width: 100%;
}

.gallery-item .blog-body {
    display: inline-block;
    margin-left: 45px;
    border-left: 1px solid rgba(0,0,0,0.2);
    padding: 0 0 10px 10px;
    margin-bottom: 10px;
}

.gallery-item .box .text h4 {
    line-height: 18px;
}

.gallery-item .entry-meta > span {
    display: block;
    margin: auto;
    font-weight: 400;
}

.gallery-item .text h4 {
    color: #b3903b;
    font-size: 13px;
    font-family: 'Sarabun', sans-serif;
    text-transform: uppercase;
    margin-bottom:0;
}

.latest-news .load-more-btn {
    text-align: center;
}

    .latest-news .load-more-btn .btn.theme-btn {
        font-size: 14px;
        padding: 5px 20px;
        margin-bottom: 0;
    }

@media (min-width: 640px) and (max-width: 999px) {
    .gallery-expander-contents {
        width: 640px;
    }
}

@media (max-width: 639px) {

    .gallery-expander-contents {
        width: 100%;
    }
}

.gallery-expander-contents:after {
    clear: both;
    display: table;
    content: '';
}

.gallery-expander-contents > div.col {
    float: left;
    width: 100%;
    padding: 0 3px;
}

.gallery-items .image {
    width: 100%;
    float: left;
    padding: 5px;
    box-sizing: border-box;
    cursor: pointer;
    display: none;
}

    .gallery-items .image.show-image {
        display: block;
        position: relative;
    }

span.more-images {
    /* position: absolute; */
    /* left: 5px; */
    /* top: 5px; */
    /* background-color: rgba(175, 139, 51, 0.79); */
    /* padding: 3px 0 0 9px; */
    color: #000;
    font-size: 12px;
    font-family: 'Sarabun', sans-serif;
    /* border-radius: 0 0 60px 0; */
    /* width: 51px; */
    /* height: 51px; */
    /* font-weight: 700; */
}
li.gallery-item:hover {
    box-shadow: 0 0 10px rgb(232, 202, 125);
}

@media (min-width: 640px) and (max-width: 999px) {
    .gallery-expander-contents > div.col {
        width: 310px;
    }
}

@media (max-width: 639px) {

    .gallery-expander-contents > div.col {
        float: none;
        padding: 25px 20px 0;
        width: auto;
    }
}

.gallery-expander-contents > div.col + div.col {
    margin-left: 40px;
}

@media (min-width: 640px) and (max-width: 999px) {

    .gallery-expander-contents > div.col + div.col {
        margin-left: 20px;
    }
}

@media (max-width: 639px) {

    .gallery-expander-contents > div.col + div.col {
        margin-left: 0px;
    }
}

.gallery-expander-contents div.close {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    z-index: 9;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 27px;
    border-radius: 50%;
    font-size: 20px;
    opacity: 1;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.gallery-expander-contents div.title {
    font-weight: 500;
    color: #D28A3C;
}

.gallery-expander-contents div.contents {
    margin-top: 10px;
    border-top: 1px solid #BCB098;
    border-bottom: 1px solid #BCB098;
    padding: 10px 0;
    font-size: 14px;
    line-height: 24px;
    color: #797262;
}

.gallery-expander-contents div.image > img {
    width: 100%;
    display: block;
}




/*media page css*/

.our-media .innerbanner-tittle {
    margin-bottom: 30px;
}

.gallery-items .clear {
    float: left;
    width: 100%;
}

.all-images-gallery {
    padding-top: 3px;
}

.vids .link img {
    max-width: 100%;
    width: 100%;;
    display: inline-block;
    float: left;
}
.vids .link span {
    color: #454545;
    margin: 5px 0 0 0;
    float: left;
    font-size: 12px;
    line-height:12px;
    width: 100%;
    text-align:center;
}
.vids .link.playing span {
    color: #e2bd5e;
}
    /* video css*/
    .vidcontainer {
    width: 75%;
    height: 100%;
    float: left;
    position: relative;
    overflow: hidden;
}

.video-section video {
    width: 100%;
    height: 470px;
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.videolist {
    float: right;
    width: 25%;
    background-color: rgb(255, 255, 255);
    height: 100%;
    position: relative;
}

.vids {
    margin: 0;
    background-color: #fff;
    max-height: 450px;
    min-height: 470px;
    overflow-y: auto;
    list-style: none;
    padding: 0 5px;
}

    .vids::-webkit-scrollbar {
        width: 5px;
        background-color: #8A8A8A;
        border: 1px solid #AFACAC;
    }

    .vids::-webkit-scrollbar-thumb {
        background-color: #FF8D00;
        border-radius: 5px;
    }

        .vids::-webkit-scrollbar-thumb:hover {
            background-color: #fff;
        }

        .vids::-webkit-scrollbar-thumb:active {
            background-color: #ccc;
        }


    .vids a {
        text-decoration: none;
        color: #fff;
        font-size: 16px;
        display: block;
        border: 1px solid #ccc;
        padding: 5px;
        margin: 0px 5px 10px;
        box-sizing: border-box;
        position: relative;
        float: left;
        width: 46.3%;
        box-sizing: border-box;
    }

/*--- controllers ---*/
.controllers {
    position: absolute;
    bottom: 0;
    height: 50px;
    background-color: #fff;
    width: 100%;
}

    .controllers button {
        border: 1px solid #E7E7E7;
        background-color: #FFFFFF;
        color: #777;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        margin: 5px;
        box-shadow: 1px 1px 3px #4C4C4C;
        outline: none;
        font-size: 18px;
        display: inline-block;
        float: left;
    }

        .controllers button:focus {
            box-shadow: 1px 0px 7px #4C4C4C;
            border-color: #ff8d00;
            color: #ff8d00;
            background-color: #4C4C4C;
        }

.btnPlay:after {
    content: "\f04b";
    font-family: 'FontAwesome';
}

.paused:after {
    content: "\f04c";
}

.sound:after {
    content: "\f027";
    font-family: 'FontAwesome';
}

.sound2:after {
    content: "\f028";
}

.muted:after {
    content: "\f026";
}

.btnFS:after {
    content: "\f065";
    font-family: 'FontAwesome';
}

.ads {
    height: 350px;
    width: 350px;
    position: absolute;
    background-color: #777;
    top: 27.5px;
    right: 40px;
    z-index: 11;
}

.bigplay {
    /* height: 150px; */
    /* width: 131px; */
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    color: #fff;
    font-size: 50px;
    text-align: center;
    cursor: pointer;
    transform: translate(-50%,-50%);
    line-height: 40px;
    opacity: 0.5;
    display:none;
}

.closeme {
    height: 32px;
    width: 32px;
    background-color: #fff;
    top: -10px;
    right: -10px;
    border: 1px solid #ff8d00;
    display: block;
    position: absolute;
    border-radius: 50%;
    text-align: center;
    line-height: 30px !important;
    color: #ff8d00;
    font-size: 25px !important;
}

.playing {
    border: 1px solid #e2bd5e !important;
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
}

.vids .link:after {
    content: "\f01d";
    font-family: 'FontAwesome';
    color: #ffffff;
    margin: 1px 10px 0 0;
    position: absolute;
    z-index: 2;
    left: 50%;
    margin: auto;
    top: 53%;
    bottom: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    font-size: 26px;
}
/* PROGRESS BAR CSS */

.topControl {
    position: absolute;
    display: block;
    width: 100%;
    bottom: 5px;
    height:0px;
    background-color: #fff;
    z-index: 1;
}
/* Progress bar */
.video-section .progress {
    width: 100%;
    height: 5px;
    position: relative;
    float: left;
    cursor: pointer;
    background: #999;
}

.progress span {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.timeBar {
    z-index: 10;
    width: 0;
    background: #e2bd5e;
}

.bufferBar {
    z-index: 5;
    width: 0;
    background: #eee;
}
/* time and duration */
.time {
    width: 12%;
    float: right;
    text-align: center;
    font-size: 11px;
    line-height: 12px;
    right: -12%;
    opacity: 0;
    position: absolute;
}

.topControl:hover .time {
    right: 0;
    opacity: 1;
}


.topControl:hover .progress {
    width: 88%;
    height: 12px;
}

/* VOLUME BAR CSS */
/* volume bar */
.volume {
    position: relative;
    cursor: pointer;
    width: 70px;
    height: 10px;
    float: left;
    margin-top: 20px;
    margin-right: 15px;
    background-color: #999;
}

.volumeBar {
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ff8d00;
    z-index: 10;
}

.video-section .loading {
    width: 100%;
    height: 99%;
    position: absolute;
    top: 0;
}

i.fa.fa-spinner.fa-spin {
    height: 60px;
    width: 60px;
    font-size: 60px;
    color: #fff;
    text-shadow: 0px 0px 8px #000;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
}

.video-section .disabled {
    pointer-events: none;
    cursor: not-allowed;
    background-color: #C2C2C2 !important;
}


ul.speedcnt {
    display: none;
    position: absolute;
    right: 30px;
    bottom: 60px;
    background-color: #fff;
    border-radius: 5px;
    list-style: none;
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
}

    ul.speedcnt li {
        text-align: center;
        font-family: 'verdana', tahoma, serif;
        font-size: 13px;
        padding: 5px 20px;
        cursor: pointer;
        display: block;
        border-bottom: 1px solid #ccc;
    }

        ul.speedcnt li:last-child {
            border-bottom: none;
        }

        ul.speedcnt li.selected {
            background-color: rgba(255, 141, 0, 0.6);
        }
.lg-download, .flaticon-zoom-in, .flaticon-zoom-out, .flaticon-share {
    display: none;
}
@media only screen and (max-width: 1174px) {
    .gallery-item {
        margin: 10px 9px 30px;
    }
    .vids a {
        width: 45%;
    }
    .video-section video {
        height:400px;
    }
    .vids {
        min-height: 400px;
        max-height: 400px;
    }
    i.fa.fa-spinner.fa-spin {
        height: 30px;
        width: 30px;
        font-size: 30px;
        top: 43%;
    }
    }
@media only screen and (max-width: 969px) {
    .gallery-item {
        width: 30.7%;
    }
    .video-section video{
        height: 300px;
    }
    .vids {
        min-height: 300px;
        max-height: 300px;
    }
    .vids a {
        margin: 0px 4px 5px;
    }
    .vids .link:after {
        font-size: 20px;
        top: 47%;
    }

    }

@media only screen and (max-width: 767px) {
.gallery-item {
    width: 45%;
    margin: 0 22px 30px 0;
    padding: 0;
}
.vidcontainer {
    width: 100%;
    padding: 0 20px;
}
.video-section video {
    height: 154px;
}
.topControl {
    left:0;
    padding:0 20px;
}
.videolist {
    width: 90%;
    float: none;
    display: inline-block;
    margin: auto;
}
.videolist {
    white-space: nowrap;
}
.vids {
    min-height: 110px;
    max-height: inherit;
    overflow: hidden;
    overflow-x: auto;
    /* white-space: nowrap; */
}
.vids a {
    width: 30%;
    white-space: nowrap;
    float: none;
    display: inline-block;
}
.vids .link:after {
    top: 51%;
}
i.fa.fa-spinner.fa-spin {
    height: 20px;
    width: 20px;
    font-size: 20px;
    top: 42%;
    left: 42%;
}
    }

@media only screen and (max-width: 479px) {
    .gallery-item {
        width: 100%;
        margin: 0 0 30px 0;
        padding: 0;
    }
    .gallery-item .title {
        max-width:100%;
    }
}