﻿.aislin-demo-purchase-button {
    position: relative;
    display: inline-block;
    z-index: 99999;
    background: #86bc3d;
    border-radius: 4px;
    box-shadow: 0 2px 8px 0px rgba(0, 0, 0, 0.35);
    border-bottom: 4px solid #709e33;
    text-align: center;
    margin-top: 22px;
}

    .aislin-demo-purchase-button.outer {
        position: fixed;
        bottom: 45px;
        right: 40px;
        margin: 0;
    }

    .aislin-demo-purchase-button a:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        background: #709e33;
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        transition: -webkit-transform .3s ease-out;
        transition: transform .3s ease-out;
        transition: transform .3s ease-out,-webkit-transform .3s ease-out;
        border-radius: 4px;
    }

    .aislin-demo-purchase-button a:hover:after {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        transition-timing-function: cubic-bezier(.52,1.64,.37,.66);
    }

    .aislin-demo-purchase-button a {
        display: block;
        padding: 13px 30px 12px 26px;
        color: #fff;
        line-height: 25px;
        font-size: 17px;
        font-family: Roboto;
    }

        .aislin-demo-purchase-button a:hover {
            color: #fff;
        }

    .aislin-demo-purchase-button svg {
        fill: #fff;
        width: 20px;
        height: 20px;
        margin-right: 7px;
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
        position: relative;
        top: 3px;
    }

.aislin-demo-bar-dev {
    position: fixed;
    bottom: 0;
    background: #fff;
    width: 100%;
    padding: 5px;
}

    .aislin-demo-bar-dev a {
        background: #3b9c3b;
        color: #fff;
        padding: 3px 10px;
        margin-bottom: 2px;
        display: inline-block;
        border-radius: 5px;
    }

        .aislin-demo-bar-dev a:hover {
            color: #fff;
            background: #68b168;
        }


.demo-trigger {
  position: fixed;
  bottom: 20px;
  right: 0;
  background: #1d87e4;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10000000;
  transition: all 0.3s ease-out;
}
.demo-trigger.shifted {
  bottom: 55vh;
  right: 0;
  width: 100%;
  max-width: 294px;
  border-radius: 4px 4px 0 0;
}


    .demo-trigger svg {
        position: absolute;
        left: 18px;
        top: 16px;
        width: 17px;
        height: 17px;
        margin-right: 6px;
        fill: #fff;
    }

/*.demo-trigger {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background: transparent;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}*/

.demo-trigger:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: #339fdf;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    transition: -webkit-transform .3s 
ease-out;
    transition: transform .3s 
ease-out;
    transition: transform .3s 
ease-out, -webkit-transform .3s 
ease-out;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


.demo-trigger:hover:after {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    transition-timing-function: cubic-bezier(.52,1.64,.37,.66);
}



.main-demo a {
    border: 1px solid #ededed;
    display: inline-block;
}

.main-demo img {
    max-width: 100%;
}

ul.demos {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    /*margin-left: -5px;*/
}

    ul.demos li {
        /*flex-grow: 1;*/
        width: 50%;
        padding: 3px;
    }

        ul.demos li img {
            max-width: 100%;
            transition: transform 0.2s;
        }

        ul.demos li a {
            display: block;
            position: relative;
            overflow: hidden;
        }

.main-demo ul li {
    width: 100%;
}

ul.demos li span {
    position: absolute;
    bottom: -40px;
    background: #70ab21;
    text-align: center;
    font-size: 12px;
    padding: 5px;
    transition: all 0.2s;
    color: #fff;
    left: 0;
    right: 0;
}

/*.petal ul.demos li span,
.tangle ul.demos li span {
    background: #86bc3d;
}*/

ul.demos li a:hover img {
    transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -webkit-transform: translateY(-20px);
    -ms-transform: none;
}

ul.demos li a:hover span {
    bottom: 0;
}

@-moz-keyframes glow /* Firefox */
{
    0% {
        background: #282e3f;
    }

    50% {
        background: #ff564a;
    }

    100% {
        background: #282e3f;
    }
}

@-webkit-keyframes glow /* Chrome */
{
    0% {
        background: #282e3f;
    }

    50% {
        background: #ff564a;
    }

    100% {
        background: #282e3f;
    }
}
/*@media (max-width:768px){
    .demo-wrap{
        height: 50vh;  
    }
    .demo-trigger{
        height: 50vh;  
    }
}*/

/*@media (max-width: 768px) {
    .demo-wrap {
        display: none;
    }*/

    .aislin-demo-purchase-button.outer {
        bottom: 25px;
        right: 25px;
    }
}
