/*
 *  Theme Name: WordMagic CSS Light
 *  Theme URI: https://iwpress.eu/
 *  Description: Express Form Style
 *  Version: 1.0
 *  Author: iWpress
 */

div.section-express {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 28px;  
}

div.express {
    padding: 100px 0 80px;
    position: relative;
}

.express-title {
    font-size: 48px !important;
    line-height: 50px !important;
    font-weight: 800 !important;
    color: var(--bg-dark) !important;
    margin-top: -60px !important;
    margin-bottom: -25px !important;
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    display: block;
}

.express-title span {
    color: var(--bg-gray-light);
}

.no-padding {
    padding: 0;
}

.express-area {
    background-color: var(--primary-color);
    z-index: 1;
    overflow: hidden;
    position: relative;
}

.express-area:before {
    position: absolute;
    top: 50%;
    left: -50%;
    width: 150%;
    height: 100px;
    content: "";
    background: rgba(255, 255, 255, 0.541);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.6s linear;
    -o-transition: all 0.6s linear;
    transition: all 0.6s linear;
    opacity: 0;
    visibility: hidden;
}

.express-area:after {
    position: absolute;
    top: 50%;
    left: -50%;
    width: 150%;
    height: 100px;
    content: "";
    background: rgba(255, 255, 255, 0.541);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.6s linear;
    -o-transition: all 0.6s linear;
    transition: all 0.6s linear;
    opacity: 0;
    visibility: hidden;
    left: auto;
    right: -50%;
}

.express-area:hover:before {
    left: 100%;
    visibility: visible;
    opacity: 1;
}

.express-area:hover:after {
    right: 100%;
    visibility: visible;
    opacity: 1;
}

.express-bg-pattern img {
    position: absolute;
    top: 0;
    left: 0;
}

.express-bg-pattern img:nth-child(1) {
    top: 15px;
    left: 10px;
}

.express-bg-pattern img:nth-child(2) {
    left: auto;
    top: 80px;
    right: 5px;
}

.express-bg-pattern img:nth-child(3) {
    top: auto;
    bottom: -55px;
    left: 0;
}

.express-bg-pattern img:nth-child(4) {
    top: auto;
    left: auto;
    bottom: -45px;
    right: 245px;
}

.express-form {
    margin-top: 37px;
    margin-bottom: -15px;
}

.express-form input[type=url],
.express-form input[type=email] {
    background: var(--bg-super-light) !important;
    border-radius: 50px;
    padding: 15px 30px;
    border: none;
}

.express-form input[type=url]:focus {
    outline: solid 0;
}

.express-form input[type=email] {
    position: relative;
}

.express-form input[type=email]:focus {
    outline: solid 0;
}

.express-form input[type=submit] {
    font-size: 14px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--bg-super-dark);
    color: var(--bg-super-light);
    padding: 12px 55px !important;
    margin-left: 26px;
    border-radius: 50px;
    -webkit-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    border: 1px solid var(--bg-super-dark);
    position: relative;
    z-index: 2;
}

.express-form input[type=submit]:hover {
    cursor: pointer;
}

.express-form:focus {
    outline: solid 0;
}

.form-round-shape {
    position: relative;
    z-index: 1;
    margin: 0 -46px 0 0;
    right: -43px;
}

.form-round-shape:after {
    position: absolute;
    top: -2px;
    right: -5px;
    width: 58px;
    height: 58px;
    background: var(--primary-color);
    display: block;
    content: "";
    border-radius: 100%;
}

@media (min-width: 1200px) {
    .form-round-shape,
    .express-form input[type=submit] { 
        z-index: 0;
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    .express-bg-pattern img:nth-child(3) {
        width: 25%;
    }
    .express-bg-pattern img:nth-child(4) {
        right: 110px;
    }

    .express-form input[type=url],
    .express-form input[type=email] {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .express-form input[type=email] {
        margin-left: 0;
    }
    .express-form input[type=submit] {
        margin-left: 0;
        padding: 13px 80px !important;
        margin-left: 22px;
        right: -20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .express-bg-pattern img:nth-child(1) {
        width: 30%;
    }
    .express-bg-pattern img:nth-child(2) {
        width: 18%;
    }
    .express-bg-pattern img:nth-child(3) {
        width: 30%;
        left: -20px;
        bottom: -40px;
    }
    .express-bg-pattern img:nth-child(4) {
        right: 40px;
        width: 9%;
    }
    .express-form input {
        margin-bottom: 30px;
    }

    .form-round-shape:after {
        display: none;
    }
    .form-round-shape {
        right: 0;
        margin: 0;
    }  
}

@media (max-width: 767px) {
    .express-area:before,
    .express-area:after {
        display: none;
    }

    .express-bg-pattern img:nth-child(3) {
        width: 35%;
        left: 10px;
        bottom: -50px;
    }
    .express-bg-pattern img:nth-child(4) {
        width: 12%;
        right: 50px;
    }

    .express-form input[type=url],
    .express-form input[type=email] {
        margin-bottom: 30px;
    }

    .form-round-shape:after {
        display: none;
    }
    .form-round-shape {
        margin: 0;
        padding: 0 15px;
        right: 0;
    }
}