﻿html, body {
    height: 100%;
}

.div_main {
    width: 80%;
    margin: auto;
    background-color: #fff;
    color: #000;
}

.div_header {
    width: 100%;
    text-align: center;
}

h1 {
    color: rgb(0, 0, 0);
    font-size: 4.5vw;
}

h2 {
    color: rgb(0, 0, 0);
}

.div_footer {
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding: 10px 0px;
    margin: 0px;
    background-color: #ddd;
    z-index: 999;
}

.div_footer-float {
    width: 300px;
    padding: 0px;
    margin: auto;
}

.a-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgb(50, 50, 50);
    border-radius: 3px;
    width: 85px;
    padding: 2px;
    margin: 0px;
    background-color: #aaa;
    color: #333;
    transition: 0.5s;
}

    .a-button:hover {
        background-color: #333;
        color: #aaa;
    }

hr {
    width: 100%;
    border: 1px solid #cacaca;
    border-radius: 1px;
}

.div_subscribe {
    width: 300px;
    margin: 0px;
    padding: 0px;
}

    .div_subscribe input {
        position: relative;
        border-radius: 3px;
        padding: 2px;
        margin: 5px 10px;
        width: 274px;
        background-color: rgb(230, 239, 248);
        color: #5a5a5a;
    }

    .div_subscribe button {
        padding: 5px;
        border-radius: 3px;
        border: 1px solid rgb(50, 50, 50);
        margin: 5px 100px;
        width: 100px;
        background-color: #cacaca;
        color: rgb(50, 50, 50);
    }

.a-button:hover {
    background-color: #5a5a5a;
    color: #cacaca;
}

.minislide {
    width: 45vw;
    height: 30vw;
    overflow: hidden;
    position: relative;
    margin: auto;
}

    .minislide img {
        position: absolute;
        animation: minislide 24s infinite;
        opacity: 0;
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

@keyframes minislide {
    10% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }
}

.minislide img:nth-child(6) {
    animation-delay: 0s;
}

.minislide img:nth-child(5) {
    animation-delay: 4s;
}

.minislide img:nth-child(4) {
    animation-delay: 8s;
}

.minislide img:nth-child(3) {
    animation-delay: 12s;
}

.minislide img:nth-child(2) {
    animation-delay: 16s;
}

.minislide img:nth-child(1) {
    animation-delay: 20s;
}

.div_popup-back {
    position: fixed;
    top: 100vh;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(200,200,200,0.5);
    z-index: 100;
    transition: top 2s;
}

.div_popup-front {
    width: 300px;
    height: 250px;
    background-color: #fff;
    padding: 0px;
    z-index: 105;
    border: 1px solid rgb(50, 50, 50);
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

    .div_popup-front p {
        padding: 5px;
    }


/* UL class with tick rather than dot*/
.ticklist {
    list-style: none;
}

    .ticklist li {
        line-height: 2em;
    }

        .ticklist li:before {
            content: '✓  ';
        }


@media only screen and (max-width: 400px) {
    .div_main {
        width: 90%;
    }

    .minislide {
        width: 80vw;
        height: 54vw;
    }
}
