﻿.ad-wrapper {
    border-radius: 3px;
/*    background-color: #623015;*/
    background-color: #F5F5F5;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 450px;
    height: 200px;
    animation: fadeInAnimation ease 8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    display: block;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes fadeInAnimation {
    0% {
        left: -800px;
    }

    100% {
        left: 10px;
    }
}

.ad-info{
    display: flex;
}

.ad-img{
    flex: 2;
}

.ad-img img{
    width: 100%;
    height: 200px!important;
}

.ad-details {
    flex: 3;
    color: #623015 !important;
}

.ad-close {
    background-color: transparent;
    text-align: right;
    border: none;
    outline: none;
    font-size: 30px;
    padding: 0 30px;
    color: white !important;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}
.ad-close:hover {
    transform: scale(1.25);
    color: #c53030;
}
#wed-ads {
    background-color: transparent;
    text-align: right;
    border: none;
    outline: none;
    font-size: 30px;
    padding: 0 30px;
    color: #623015 !important;
}

.close-wrap {
    text-align: right;
}

.ad-text h3 {
    font-size: 20px;
/*    letter-spacing: 3px;*/
    font-family: opensans;
    color: #623015!important;
    text-align: center;
}

.ad-text p {
    font-size: 14px;
    color: #623015 !important;
    text-align: center;
}

.ad-text {
    text-align: center;
}

.ad-text button {
    font-size: 12px;
    border: 1px solid rgba(66, 66, 66, 0.54);
    outline: none;
    color: white!important;
    padding: 3px 10px;
    transition: 0.3s ease-in-out;
    border-radius: 4px;
    background-color: #603419;
}

.ad-text button:hover {
    transform: scale(1.1)
}

@media (max-width: 768px){
    .ad-img img {
        height: 160px!important;
    }

    .ad-text h3 {
        font-size: 16px!important;
    }
    .ad-wrapper {
        width: 350px;   
        height: 160px!important;
    }

    .ad-img img {
        height: 160px !important;
    }

    .ad-text h1 {
        font-size: 18px;
    }

    .ad-text p {
        font-size: 12px;
    }

    .ad-text button {
        font-size: 11px;
    }
}


/*WEB MAIN*/
.web-ad-wrap {
    background-color: rgba(22, 22, 22, 0.37)!important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 1000;
    /*border-radius: 3px;*/
    /*    background-color: #623015;*/
    /*background-color: #F5F5F5;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 450px;
    height: 200px;
    animation: fadeInAnimation ease 8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    display: block;
    margin: 0;
    padding: 0;
    box-sizing: border-box;*/
}

.ad-wrap {
/*    background-color: wheat !important;*/
    margin: 20px;
    margin: auto!important;
    margin-top: 50px!important;
}
.cls-btn-ad{
    position: relative;
    top: 40px;
    right: 0px!important;
    z-index: 10;
}

.ad-image-offer {
    margin: auto !important;
    width: 500px !important;
}

.web-ad-img {
    width: 100% !important;
    height: 500px!important;
    object-fit: contain !important;
    overflow: hidden !important;
}

@media screen and (max-width: 760px){
    .ad-image-offer {
        margin: auto !important;
        width: auto!important;
        padding: 10px;
    }

    .web-ad-img {
        height: auto!important;
    }

}
