﻿.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: 25px;
    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;
    }
}