programas.scss 6.68 KB
.program--aside {
    margin-top: 20px;
    padding-top: 20px;

    .button--themed {
        padding-top: 0;
    }
}

.page--program {

    .program-preview {

        &--box {
            position: relative;
            background-color: #f1f1f1;
        }

        &--box--content-wrapper {
            padding: 48px;
            position: relative;
            
        }
        &--archived {
            .program-preview--box--content-wrapper {
                text-align: right;
                padding: 10px;

                @media screen and (max-width: $screen-xs) {
                    text-align: center;
                    padding-top: 50px;
                }
            }

            .program-preview--share {
                margin-bottom: 0;
            }
        }


        &--banner {
            width: 100%;
            height: 400px;

            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;

            @media screen and (max-width: $screen-lg) {
                height: 300px;
            }

            @media screen and (max-width: $screen-md) {
                height: 300px;
            }

            @media screen and (max-width: $screen-sm) {
                height: 260px;
            }

            @media screen and (max-width: $screen-xs) {
                height: 200px;
            }
        }

        &--icon {
            $icon-size: 80px;
            $icon-scale: 0.7;
            position: absolute;
            top: (-1) * ($icon-size / 2);
            left: 40px;

            width: $icon-size * $icon-scale + 25px;
            height: $icon-size * $icon-scale + 25px;

            .icon {
                display: block;
                position: relative;
                top: -2px;
                left: -2px;
            }

            .contraste & {
                border: 1px solid #fff;
            }
        }

        &--abstract {
            h2 {
                margin-top: 22px; // parent.margin + this.margin = 48 + 22 = 72px;
                margin-bottom: 32px;
            }
        }

        &--abstract-details {
            p {
                color: #484848;
                font-size: 14px;
                line-height: 18px;
                margin-bottom: 25px;
            }
        }

        &--share {
            margin-bottom: 20px;
            position: relative;
            
            .dropdown {
                display: inline-block;
                position: relative;

                @media screen and (max-width: $screen-xs) {
                    display: block;

                    .dropdown-menu-right {
                        left: 0;
                        right: auto;
                    }
                }
            }

            .dropdown-menu {
                padding: 0;
                margin: 0;
            }

            .social-share {
                background-color: #fff;
            }

            .social-share--arrow {
                border-bottom-color: #fff;
            }
        }

        &--share-label,
        &--share-directive {
            display: inline-block;
            vertical-align: middle;
        }

        h1 {
            font-size: 38px;
            line-height: 40px;
            font-weight: 900;
        }

        h2 {
            font-size: 32px;
            line-height: 36px;
            font-weight: bold;
        }
    }

    .program-content {

        margin-top: 40px;

        h3 {
            font-size: 22px;
            line-height: 26px;
            font-weight: bold;

            margin-top: 0;
            margin-bottom: 15px;
        }

        h4 {
            font-size: 18px;
            line-height: 24px;
            font-weight: bold;
        }

        h5 {
            font-size: 16px;
            line-height: 22px;
        }

        p {
            font-size: inherit;
            line-height: 18px;
        }
        p.larger {
            font-size: larger;
        }

        .container > .row {
            margin-bottom: 40px;
        }
    }

    .btn-close {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 99;
    }

    .proposal-extended-section {
        background-color: #f1f1f1;
        margin: 20px 0;
        padding: 20px 0;
    }

    .proposal-extended-section-header {
        position: relative;
    }

    .img-mask--container {
        position: relative;
        background-position: center;
        background-size: cover;
    }

    .program-preview--banner .icon-programa-respondido {
        position: relative;
        top: 50%;
        margin-top: -100px;
        transform: scale(1);

        @media screen and (max-width: $screen-sm) {
            transform: scale(0.8);
        }

        @media screen and (max-width: $screen-xs) {
            transform: scale(0.7);
        }
    }
    
    #section-archived-banner {
        position: relative;
        padding: 20px 0;
        color: #fff;

        margin-top: 30px;
        margin-bottom: 20px;

        h2 {
            font-size: 28px;
            line-height: 40px;

            @media screen and (max-width: $screen-md) {
                font-size: 22px;
                line-height: 30px;
            }

            @media screen and (max-width: $screen-xs) {
                font-size: 18px;
                line-height: 24px;
            }
        }

        .program-banner--icon {
            float: left;
            margin-right: 20px;
        }

        .archived-banner--title2 {
            font-weight: bold;
        }    
    }

    #section-response {

        h3 {
            font-weight: bold;
        }

        .sub-section-odd {background-color: #f1f1f1; }
        .sub-section-even {background-color: #ffffff; }

        .gov-response {
            background-color: #e1e1e1;
        }

        .button--themed {
            position: relative;
            max-width: 500px;

            button {
                text-transform: uppercase;
                letter-spacing: 1px;
            }
        }

        .button-left-icon {
            position: absolute;
            top: 15px;
            right: 15px;

            .glyphicon {
                position: relative;
                top: -2px;
                background-color: #fff;
                padding: 6px 5px 5px 6px;
                border-radius: 100%;
            }
        }

    }

    .btn-close-response {
        font-weight: bold;
        margin-bottom: 20px;
        width: 120px;
        background-color: #e1e1e1;
        
        .icon-circle-close-response {
            width: 20px!important;
            height: 20px!important;
            color: #e1e1e1;
            font-size: 14px;
        }    
    }

    .gov-response--link-item {
        margin-bottom: 20px;
    }
}