@charset "utf-8";* {
    margin: 0;
    padding: 0
}

* {
    box-sizing: border-box
}

body {
    color: #ffeded;
    margin: 0;
    background: maroon
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex: 1;
}
.top {
  flex-grow: 1;
}
.logo {
    flex: 1 1 auto;
    text-align: center;
    align-self: center;
    border-radius: 7px;
    min-width: 180px;
    display: flex;
    justify-content: center
}

.logo img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px
}

header {
    display: flex;
    flex-flow: row wrap;
    flex: 1 1 100%;
    border-radius: 5px;
    z-index: 1;
    margin: 5px;
    justify-content: stretch;
    font-weight: 300;
    box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
    border: 2px solid #a00000;
    background: #000;
}

header h1 {
    flex: 1 0 auto;
    max-width: 650px;
    text-align: center;
    margin: 0;
    line-height: 3em;
    font-size: 1.3em;
    text-shadow: 3px 3px 3px rgba(0,0,0,.75);
    text-transform: capitalize
}

header>ul {
    display: flex;
    flex-flow: row wrap;
    flex: 1 1 auto;
    padding: 0;
    list-style: none;
    margin: auto;
    line-height: 3em;
    margin: 0;
    align-items: center
}

header ul li {
    flex: 1 0 auto;
    text-align: center;
    margin: 6px 0;
    position: relative
}

.menu {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    font-weight: 700;
    height: 43px;
    margin: 13px 0 10px 73px;
    border: solid 2px;
    border-right-width: 0;
    border-left-width: 0;
    max-width: 60px;
    border-radius: 5px;
}

.icons {
    list-style: none;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: space-around;
    margin: 0 4px;
}

li.icons {
    font-size: 1.5em;
    margin: 0 10px;
    text-shadow: 3px 3px 3px rgba(0,0,0,.75)
}

li.icons a {
    padding: 7px
}


header li.icons .fa {
    transition: .4s ease-out
}

header ul li a {
    line-height: 44px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    font-size: 1em
}

header img {
    position: relative;
    z-index: 3000
}

header ul li a span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    background: #000;
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    transition: transform .3s;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    font-size: 1.3em;
    font-weight: 700;
    border-radius: 5px;
    border: 1px solid rgba(255,237,237,.25);
    background-image: url(bg-dark-4775.jpg)
}

.click {
    width: 100%;
    border: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    outline: 0;
    font: inherit;
    font-size: 1.4em;
    margin: 1px 0;
    border-radius: 20px;
    border-top: 2px solid #ffeded;
    border-bottom: 2px solid #ffeded;
    font-weight: 700
}

.start {
    color: #ffeded;
    padding: 0 5px;
    background: 0 0
}

.start:hover {
    color: #ffeded;
    border-color: rgba(255,237,237,.68);
    background: maroon
}

.button {
    display: flex;
    flex: 1 1 auto;
    list-style: none;
    margin: 0;
    order: 0;
    justify-content: center;
    align-items: center
}

.fa-3x {
    font-size: 1em!important
}

.fa-fw {
    width: 1em!important
}

.button a {
    text-align: center;
    display: block;
    text-transform: capitalize;
    transition: .5s ease-in-out;
    overflow: hidden
}

.button a strong {
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    transition: transform .3s
}

.button a strong:before {
    position: absolute;
    top: 100%;
    content: attr(data-hover);
    font-weight: 700;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    white-space: nowrap
}

.button a:hover strong {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%)
}

.csstransforms3d header ul li a span::before {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: maroon;
    content: attr(data-hover);
    -webkit-transition: background .3s;
    -moz-transition: background .3s;
    transition: background .3s;
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0;
    border-radius: 5px;
    border: 1px solid rgba(255,237,237,.4)
}

header ul li a:hover span {
    -webkit-transform: rotateX(90deg) translateY(-22px);
    -moz-transform: rotateX(90deg) translateY(-22px);
    transform: rotateX(90deg) translateY(-22px)
}


a {
    text-decoration: none;
    color: #ffeded;
    outline: 0
}

main {
    display: flex;
    flex-flow: row wrap;
    flex: 1 1 auto
}

main div.thumb {
    flex: 1 1 100%;
    display: flex;
    flex-flow: row wrap;
    padding: 3px;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    /* min-height: 838px; */
    /* content-visibility: auto; */
}

main div.thumb section {
    flex: 1 0 15%;
    max-width: 400px;
    min-width: 220px;
    /* margin: 3px; */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    z-index: 1;
    transition: .35s ease-in-out;
    background: #000;
    /* content-visibility: auto; */
    /* contain-intrinsic-size: 250px; */
}
.webcam{
    margin: 3px;
    box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
}
.show {
    display: flex;
    flex: 1 1 100%
}
.mob{
    display: none;
}
.spin{
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: x-large;
    opacity: 0;
}
main div.thumb section.slider {
    flex: 1 1 100%;
    max-width: none;
    display: block;
    margin: 0;
    overflow: hidden;
}

section.slider img {
    width: 100%;
    border: 2px solid #a00000;
    transition: all .2s ease-in-out;
}

section.slider:hover img {
    transform: scale(1.1);
}

section.slider img:hover {
    border: 2px solid red;
}

main div.thumb section.slider:hover {
    box-shadow: none
}

main div.thumb section:hover .counter {
    top: -2.7em
}
main div.thumb section:hover .spin{
    opacity: 1;
}
main div.thumb section a img {
    display: block;
    border-radius: 5px;
    width: 100%;
}

main div.thumb section:hover {
    box-shadow: 0 0 5px 3px rgba(255,0,0,.6)
}

main div.thumb section:hover p {
    color: #f7f7f7;
    text-shadow: 3px 3px 3px rgba(0,0,0,.8);
    background: linear-gradient(rgba(239,69,69,.55),rgba(109,84,84,.1)) rgba(181,137,137,.1);
    box-shadow: 0 1px rgba(255,255,255,.2) inset,0 3px 5px rgba(0,1,6,.5),0 0 1px 1px rgba(0,1,6,.2)
}

main div.thumb section p {
    margin: 2px 2px 3px;
    flex: 1 0 auto;
    text-align: center;
    line-height: 1.5em;
    color: #f7f7f7;
    text-shadow: 2px 2px 1px rgba(0,0,0,.45);
    border-radius: 3px;
    box-sizing: border-box;
    transition: .35s ease-in-out;
    font-weight: 700
}

main div.thumb section p:hover {
    cursor: help;
    color: #ffeded;
    text-shadow: none;
    box-shadow: 0 0 1px rgba(255,255,255,.5) inset,0 2px 3px rgba(255,255,255,.5) inset,0 1px 1px rgba(255,255,255,.1);
    background: linear-gradient(rgba(126,126,134,0),rgba(70,71,76,0)) rgba(126,126,134,0)
}

main div.thumb section p span {
    position: absolute;
    color: #f7f7f7;
    z-index: 0;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    transition: all .5s ease-out;
    opacity: 0;
    border-radius: 5px;
    border: 3px solid transparent;
    box-sizing: border-box;
    font-weight: 300;
    font-size: .95em;
}

main div.thumb section p span em {
    display: block;
    margin: 5px 3px 0 3px;
    border-top: 1px dotted;
    font-size: .9em;
    font-weight: 400;
    color: rgba(255,255,255,.6);
    text-align: center;
    font-style: normal
}

main div.thumb section p span:first-letter {
    text-transform: capitalize
}

main div.thumb section p span img {
    width: 100%;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -10;
}

main div.thumb section p:hover span {
    opacity: 1;
    top: 1.9em;
    z-index: 100
}

main div.thumb section p span:hover {
    top: 100%
}

main div.thumb section p span.live {
    bottom: 0;
    /* border:10px solid transparent; */
    font-weight: 700;
    /* position: relative; */
    text-shadow: 2px 2px 4px rgb(0 0 0 / 79%);
}

main div.thumb section p span.live:hover {
    opacity: 0;
    z-index: 0;
    border-radius: 7px
}

main div.pages {
    display: flex;
    flex: 0 1 100%;
    flex-flow: row wrap;
    padding: 0;
    border-radius: 5px;
    margin: 3px;
    line-height: 2em;
    box-sizing: border-box;
    order: 2;
    box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
    border: 2px solid #a00000;
    background: #000;
    content-visibility: auto;
}

.counter {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    color: #ffeded;
    padding: 5px;
    right: 0;
    text-align: center;
    transition: top .3s ease-out;
    border-radius: 4px;
    z-index: 1000;
    text-transform: uppercase;
    text-shadow: 3px 3px 3px rgba(0,0,0,.75);
    border: solid 2px #a00000;
    background: #000
}

.col {
    flex: 1 0 auto;
    text-align: center;
    font-size: 1.3em;
    text-transform: capitalize;
    text-shadow: 3px 3px 3px rgba(0,0,0,.75);
    align-content: center;
    justify-content: center;
    margin: 5px 0;
    align-items: center;
    font-weight: 700
}

h2 {
    font-size: .97em;
    font-weight: initial
}

ul.paginator {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-around;
    flex: 1 0 35%;
    margin: 0;
    padding: 0;
    margin-right: 40px
}

ul.paginator b,ul.paginator li {
    font-size: 1.3em;
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid;
    border-radius: 5px;
    width: 32px;
    border-color: #000;
    height: 32px;
    transition: .35s ease-in-out;
    box-shadow: 0 1px rgba(255,255,255,.2) inset,0 3px 5px rgba(0,1,6,.5),0 0 1px 1px rgba(0,1,6,.2);
    margin: 2px;
    font-family: initial;
    text-shadow: 1px 1px 1px rgba(0,0,0,.45);
    background: rgba(255,0,0,.3)
}

ul.paginator b {
    padding: 3px 10px;
    color: #000;
    width: 12px;
    border: 1px solid;
    border-color: #000;
    height: 26px;
    box-sizing: content-box;
    background: rgba(255,219,219,.65)
}

ul.paginator li a {
    text-decoration: none;
    display: block;
    padding: 3px 10px
}

ul.paginator li:hover:not(:active) {
    background: rgba(255,0,0,.65);
    border-color: rgba(255,255,255,.5)
}

ul.paginator li:hover {
    box-shadow: 0 0 8px 3px rgba(0,0,0,.6);
    color: #000;
    border: 1px solid;
    border-color: #000
}

ul.paginator li a:hover {
    color: #f7f7f7;
    text-shadow: 1px 1px 1px rgba(0,0,0,.45)
}

footer {
    flex: 1 1 100%;
    text-align: center;
    border-radius: 5px;
    z-index: 1;
    margin: 5px 5px 0;
    box-sizing: border-box;
    border: 2px solid #a00000;
    box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
    background: #000;
    max-height: 36px;
}

footer ul {
    display: flex;
    list-style: none;
    flex-flow: row wrap;
    flex: 1 0 auto;
    padding: 0;
    line-height: 1.5em;
    margin: 0;
    align-items: center
}

footer ul li {
    flex: 1 0 auto;
    text-align: center;
    margin: 0;
    transition: .35s ease-in-out
}

footer ul li a {
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    font-size: 1em
}

footer ul li a span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    background: #000;
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    transition: transform .3s;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    font-size: 1em;
    font-weight: 700;
    border-radius: 3px;
    margin: 3px 0;
    border: 1px solid rgba(255,237,237,.25)
}

.csstransforms3d footer ul li a span::before {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: maroon;
    content: attr(data-hover);
    -webkit-transition: background .3s;
    -moz-transition: background .3s;
    transition: background .3s;
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0;
    border-radius: 3px;
    border: 1px solid rgba(255,237,237,.4)
}

footer ul li a:hover span {
    -webkit-transform: rotateX(90deg) translateY(-22px);
    -moz-transform: rotateX(90deg) translateY(-22px);
    transform: rotateX(90deg) translateY(-22px)
}

.scrollup {
    width: 50px;
    height: 50px;
    opacity: .65;
    position: fixed;
    bottom: 12px;
    right: 15px;
    display: none;
    z-index: 100;
    color: #000;
    background: rgba(177,14,14,.8);
    text-align: center;
    font-size: 44px;
    border-radius: 3px
}

.scrollup:hover {
    opacity: .9
}

@media screen and (max-width: 1440px) {
    main div.thumb {
        min-height:760px
    }

    main div.pages {
        order: 0
    }

    ul.paginator {
        margin-right: 0
    }
}

@media screen and (max-width: 1215px) {
    main div.thumb {
        order:1
    }
   .mob {
    position: absolute;
    background-color: transparent;
    border: 0;
    font-size: 70px;
    color: #fff;
    opacity: .5;
    display: flex;
    z-index: 20;
    cursor: pointer;
} 
    .spin{
    display: none;
}
        .mob :nth-child(2) { display: none}
    .active :nth-child(2) {display: block;}.active :nth-child(1) {display: none}.active {font-size: x-large;opacity: 1;display: block;align-self: auto;top: 5px;left: 5px;justify-content: flex-start}.mob:focus { outline: 0 }
}

@media screen and (max-width: 860px) {
    main div.thumb {
        min-height:780px
    }
}

@media screen and (max-width: 860px) {
    .col {
        flex:1 0 100%
    }

    ul.paginator {
        flex-flow: row wrap
    }
}

@media screen and (max-width: 801px) {
    main div.thumb {
        min-height:680px
    }

    header {
        font-size: 85%
    }

    .logo>a {
        margin-right: 19%
    }

    .menu {
        display: none
    }

    header img {
        margin-left: 60px
    }

    header ul li a {
        line-height: 30px
    }

    header ul li a span {
        font-size: 1.15em;
        padding: 0 10px
    }

    header ul li {
        margin: 2px 0
    }
}

@media screen and (max-width: 666px) {
    header {
        flex-flow:wrap
    }

    header h1 {
        flex: 1 0 auto;
        line-height: 1.7em;
        max-width: 100%
    }

    header img {
        min-width: auto;
        margin-left: 55px;
        width: 88%
    }

    .col {
        font-size: 1em
    }

    ul.paginator b,ul.paginator li {
        margin: 3px
    }

    .click {
        font-size: 1.2em
    }

    h2 {
        font-size: .9em
    }
}
