﻿/*این تکه کد را از این سایت پایین برداشتم*/
/*https://www.bootdey.com/snippets/view/carbonads-ad-example#preview*/
.carbon {
    padding: 1px;
    /*background-color: #fff;*/
    max-width: 230px;
    box-sizing: border-box;
    border-radius: 6px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 5;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    margin-top: 1px;
}

    .carbon img {
        margin-right: 1px;
        width: 50px;
    }

    .carbon .inner-wrapper {
        text-align: right;
        margin-right: 3%;
        width: 160px;
        overflow: auto;
    }

        .carbon .inner-wrapper p {
            font-size: 12px;
            line-height: 1.33;
            margin: 8px 0;
        }

.flex-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content:start;
}

@media screen and (max-width: 991px) {
    .flex-wrapper.two-col {
        display: block;
        text-align: center;
    }
}

.flex-wrapper.two-col > * {
    width: 50%;
}

    .flex-wrapper.two-col > *:first-of-type {
        padding-right: 130px;
    }

@media screen and (max-width: 991px) {
    .flex-wrapper.two-col > * {
        width: 100%;
    }

        .flex-wrapper.two-col > *:first-of-type {
            padding-right: 0;
        }
}

.flex-wrapper.two-col.reversed > *:first-of-type {
    order: 2;
    padding-right: 0;
}

@media screen and (min-width: 992px) {
    .flex-wrapper.two-col.reversed > *:first-of-type {
        padding-left: 130px;
    }
}

.flex-wrapper.three-col {
    text-align: left;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
    margin-top: 40px;
}

@media screen and (max-width: 767px) {
    .flex-wrapper.three-col {
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

.flex-wrapper.three-col > * {
    width: 33.3%;
}

@media screen and (max-width: 767px) {
    .flex-wrapper.three-col > * {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .flex-wrapper.three-col li {
        padding-left: 20px;
        padding-right: 20px;
    }

        .flex-wrapper.three-col li:first-child {
            padding-left: 0;
        }

        .flex-wrapper.three-col li:last-child {
            padding-right: 0;
        }
}

.flex-wrapper.three-col .flex-wrapper {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    .flex-wrapper.three-col .flex-wrapper {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        justify-content: center;
    }

        .flex-wrapper.three-col .flex-wrapper:not(:first-of-type) {
            margin-top: 40px;
        }
}

.flex-wrapper.three-col .flex-wrapper .icon {
    top: 0;
    transform: none;
}
