// /**
// * @package Divante/rapid
// * @author Kacper Chara <kchara@divante.pl>
// * @copyright 2017 Divante Sp. z o.o.
// * @license See LICENSE_DIVANTE.txt for license details.
// */

//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .newsletter-section {
        background: #efefef;
        padding: 15px 0;
    }

    .block.newsletter {
        max-width: 1170px;
        margin: 0 auto;
        padding: 0 15px;

        .title {
            display: block;
            line-height: 36px;

            strong {
                font-weight: 400;
                font-size: 16px;
                display: inline-block;
                line-height: 26px;
                vertical-align: middle;
                margin: 0;
            }
        }

        input {
            padding-left: 10px;
            height: 40px;
        }

        .field .control:before {
            display: none;
        }
    }
}

//
//  Desktop
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
    .block.newsletter {
        width: 100%;
        overflow: hidden;

        .action.subscribe {
            border-radius: 0;
        }

        .field {
            margin-right: 0;
        }

        .title {
            float: left;
            max-width: 50%;
            padding-right: 25px;
            margin-bottom: 0;
        }
        
        .content {
            float: right;
            width: 50%;
            max-width: 385px;
        }
    }
}


//
//  Divante Extend
//  _____________________________________________

@import '_extend-specific.less';
