﻿.PopupsBtn
{
    background: url(../../willbetgambling/image/info-icon.svg) 50% 50% no-repeat;
    position: absolute;
    height: 24px;
    width: 24px;
    top: 24px;
    left: 24px;
    cursor: pointer;
}
#BtnClose
{
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    position: absolute;
    right: -15px;
    top: -15px;
    background: url("../../willbetgambling/image/close.svg") 50% 50% no-repeat #f4af52;
    background-size: 70%;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
#BtnClose:hover
{
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-color: #f4af52;
}
#BtnClose:active
{
    -webkit-transform: rotate(180deg) scale(.5);
    transform: rotate(180deg) scale(.5);
    background-color: #f4af52;
}
#CapRule
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 0%;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    right: 0%;
    top: 50%;
    z-index: 9999999999;
    background: rgba(0,0,0,.85);
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#CapRule.Open
{
    width: 100%;
    height: 105%;
    right: 0%;
    top: -2.5%;
    opacity: 1;
}
#ContRules
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    border: dashed 1px #f4af52;
    padding: 25px;
    border-radius: 10px;
    color: #fff;
    position: relative;
    background: rgba(0,0,0,.5);
}
#ContRules h1, p
{
    display: block;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 10px auto;
}
#ContRules h1
{
    text-align: center;
    font-size: 35px;
    font-weight: 100;
    color: #f4af52;
    font-style: italic;
}
#ContRules p
{
    text-align: justify;
    font-size: 14px;
}
#ContRules strong
{
    width: 100%;
    font-size: 20px;
    font-weight: 700;
}
@media only screen and (min-width: 320px) and (max-width: 900px)
{
    #ContRules
    {
        width: 100%;
        max-width: 95%;
        overflow: hidden;
        overflow-y: scroll;
        max-height: 100%;
        padding: 0 20px;
    }
    #ContRules h1
    {
        font-size: 25px;
    }
    #ContRules p
    {
        font-size: 13px;
    }
    #BtnClose
    {
        right: 10px;
        top: 30px;
        border-radius: 10px;
        position: fixed;
    }
}
@media only screen and (min-width: 320px) and (max-width: 900px)
{
    #ContRules
    {
        overflow: scroll;
        display: block;
        width: 100%;
        height: auto;
        padding: 30px 10px;
    }
    #CapRule.Open
    {
        overflow: scroll;
        padding: 70px 10px;
    }
}
@media only screen and (min-width: 1200px)
{
    .PopupsBtn
    {
        top: 0;
        left: 0;
    }
}