﻿@media all and (max-width:768px) {
    table {
        width: 100%;
    }

    td {
        display: block;
        width: 100%;
    }

    tr {
        display: block;
        margin-bottom: 30px;
    }
}

.field-lenght {
    width: 93% !important;
}

section.blog-list .blog-item .header .image.click-reg:after {
    content: '';
    display: block;
    width: 40%;
    height: 65%;
    position: absolute;
    left: 50%;
    top: 45%;
    margin-top: 73px;
    background: url(BUCSS/img/Agent_Portal.png);
    background-repeat: no-repeat;
}

.agt-training {
    font-size: 16px;
    line-height: 22px;
}

.head-title {
    position: absolute;
    left: 17%;
    top: 10%;
    z-index: 3;
    width: 15%;
}

@media only screen and (min-width:639px) and (max-width:641px) {
    .agt-training {
        font-size: 25px;
        line-height: 30px;
    }

    section.blog-list .blog-item .header .image.click-reg:after {
        content: '';
        display: block;
        width: 40%;
        height: 65%;
        position: absolute;
        left: 58%;
        top: 65%;
        background: url(BUCSS/img/Agent_Portal.png);
        background-repeat: no-repeat;
        background-size: 90% 90%;
    }
}

@media only screen and (min-width:350px) and (max-width:638px) {
    section.blog-list .blog-item .header .image.click-reg:after {
        content: '';
        display: block;
        width: 45%;
        height: 72%;
        position: absolute;
        left: 50%;
        top: 45%;
        margin-top: 73px;
        background: url(BUCSS/img/Agent_Portal.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
}

@media only screen and (min-width:642px) and (max-width:750px) {
    section.blog-list .blog-item .header .image.click-reg:after {
        content: '';
        display: block;
        width: 45%;
        height: 72%;
        position: absolute;
        left: 50%;
        top: 65%;
        background: url(BUCSS/img/Agent_Portal.png);
        background-repeat: no-repeat;
        background-size: 75% 75%;
    }
}

@media only screen and (max-width:900px) {
    .head-title {
        position: absolute;
        left: 17%;
        top: 10% !important;
        z-index: 3;
        width: 15%;
    }
}

@media only screen and (min-width:767px) and (max-width:769px) {
    .head-title {
        position: absolute;
        left: 18%;
        top: 7% !important;
        z-index: 3;
        width: 15%;
    }
}

.fancy-style {
    width: 400px !important;
}

@media only screen and (min-width:320px) and (max-width:639px) {
    .fancybox-inner {
        width: 350px !important;
    }

    .fancy-style {
        width: 100% !important;
    }
}
