body {
    padding-top: 80px;
    font-family: 'Roboto', sans-serif;
}

.header {
    display: block;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #fff;
}

.modal-open .header {
    width: calc(100% - 17px);
}

.header-inner {
    display: flex;
    flex-direction: row;
    height: 80px;
    align-items: center;
}

.logo {
    width: auto;
    min-width: 220px;
}

    .logo img {
        max-height: 60px;
        width: auto;
    }

.nav-container {
    margin-left: auto;
    margin-right: auto;

}

.menu-items {
    padding: 0;
    margin: 0;
    list-style: none;
    display: block;
}

    .menu-items li {
        display: inline-block;
    }

        .menu-items li .menu-item {
            font-size: 14px;
            font-weight: 500;
            color: #252525;
            margin-right: 20px;
        }

        .menu-items li:last-child .menu-item {
            margin-right: 0;
            /*color: #d90000;*/
            cursor: pointer;
        }

        .menu-items li .menu-item:hover, .menu-items li .menu-item:focus {
            text-decoration: none;
            outline: none;
        }


footer {
    display: flex;
    flex-direction: row;
    height: 40px;
    background-color: #606060;
    align-items: center;
    justify-content: center;
    box-shadow: 0px -1px 5px 0px rgba(100,100,100,0.3);
}

    footer ul {
        padding: 0;
        margin: 0;
        list-style: none;
        display: inline-flex;
    }

        footer ul > li {
            padding: 0 15px;
            border-right: 1px solid rgba(255,255,255,0.6);
        }

            footer ul > li:last-child {
                border-right: 0;
            }

            footer ul > li > a {
                color: rgba(255,255,255,0.6);
                font-size: 12px;
            }

                footer ul > li > a:hover, footer ul > li > a:focus {
                    text-decoration: none;
                    color: rgba(255,255,255,0.9);
                }

.welcome {
    background-color: #d8d8d8 !important;
}

.welcome-container {
    display: block;
    padding: 0 220px;
    text-align: center;

}

    .welcome-container h1 {
        font-size: 36px;
        margin-bottom: 10px;
        margin-top: 20px;
        color: #707070;
    }

    .welcome-container p {
        font-size: 24px;
        margin-bottom: 25px;
        color: #707070;
    }

section:nth-child(2n+1) {
    background-color: #f1f1f1;
}

.page_top {
    display: block;
    padding: 15px 0 60px;
}

    .page_top .container {
        max-width: 1070px;
    }


.page_top_content {
    display: flex;
    flex-direction: row;
}

.left {
    display: flex;
    flex-direction: column;
    width: 40%;
    padding: 0 15px;
    position: relative;
}

.preview_box {
    display: block;
    margin-top: 10px;
}

.preview_media {
    width: 100%;
    position: relative;
    max-width: 980px;
}

    .preview_media .laptop {
        background-image: url(../img/macbook_pro.png);
        width: 100%;
        background-repeat: no-repeat;
        background-size: 100%;
        height: 0;
        padding: 0% 0% 55%;
        overflow: hidden;
        position: relative;
        z-index: 1020;
    }

        .preview_media .laptop > .page {
            position: absolute;
            width: 74%;
            overflow: hidden;
            height: 83%;
            top: 5.8%;
            left: 13.3%;
        }

            .preview_media .laptop > .page > img {
                height: auto;
                display: block;
                width: 100%;
                margin: 0 auto;
            }

    .preview_media .mobile {
        background-image: url(../img/iphone-x.png);
        width: 25%;
        background-repeat: no-repeat;
        background-size: 100%;
        height: 0;
        padding: 0% 0% 50%;
        overflow: hidden;
        position: absolute;
        right: 15px;
        bottom: -31%;
        z-index: 1025;
    }

        .preview_media .mobile > .page {
            position: absolute;
            width: 85%;
            overflow: hidden;
            height: 85%;
            left: 8%;
            top: 7%;
        }

            .preview_media .mobile > .page > img {
                height: 100%;
                display: block;
                cursor: pointer;
                width: 100%;
                margin: 0 auto;
            }


.right {
    display: flex;
    flex-direction: column;
    width: 60%;
    padding: 0 15px;
    position: relative;
}

.btn-preview {
    color: #000;
    background-color: #ed9011;
    border-color: #bf750d;
    margin: 0 auto;
    border-radius: 20px;
    padding: 6px 40px;
}

    .btn-preview:hover {
        color: #000;
        background-color: #d7830f;
        border-color: #a7660c;
    }

.offer {
	width: 105px;
	position: absolute;
	right: 0;
	background-color: #f5931d;
	border-radius: 50%;
	height: 105px;
	padding: 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 13px;
	color: #000000;
	/* transform: rotate(-20deg); */
}

.auth_box {
    border: 1px solid #575757;
    padding: 10px 10px 20px;
    width: 100%;
    display: block;
    margin-top: 44px;
    background-color: #575757;
}

.btn-custom {
    width: 100%;
    padding: 5px 15px;
    font-size: 14px;
    border: 0;
    line-height: 22px;
}

.btn_login, .btn_reg {
    background-color: #44cafd;
    color: #ffffff;
}

    .btn_login:hover, .btn_login:focus, .btn_reg:hover, .btn_reg:focus {
        background-color: #29afe2;
    }

.btn_fb {
    background-color: #507cc0;
    color: #ffffff;
}

/*.btn_fb:hover, .btn_fb:focus {
        background-color: #003B75;
    }*/

.btn_g {
    background-color: #fff;
    color: #303030;
}

    /*.btn_g:hover, .btn_g:focus {
        background-color: #b30000;
    }*/

    .btn_fb .ic, .btn_g .ic {
        float: left;
        max-height: 20px;
        margin-top: 2px;
    }

.auth_box button + button {
    margin-top: 15px;
}

.seporator-or {
    display: block;
    padding: 5px;
    text-align: center;
    color: #f0f0f0;
}

.forgot_pwd_link {
    margin-top: 15px;
    display: block;
    cursor: pointer;
    float: left;
    color: #252525;
}

    .forgot_pwd_link:hover {
        text-decoration: none;
        color: #f0f0f0;
    }

.keep_me_signin {
    display: block;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.nav-tabs {
    border-bottom: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    .nav-tabs > li > a {
        color: #a2a2a2;
        font-weight: 700;
        font-size: 16px;
        border-radius: 0;
        padding: 0;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
        line-height: 1.2;
        margin-right: 10px;
    }

        .nav-tabs > li > a:hover {
            background: transparent;
            border-color: transparent;
        }

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
        color: #fff;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
        background-color: transparent;
        outline: none;
    }

    .nav-tabs > li + li {
        border-left: 2px solid #707070;
    }

        .nav-tabs > li + li a {
            margin-right: 0;
            margin-left: 10px;
        }

.auth_box .form-group {
    margin-bottom: 10px;
}

    .auth_box .form-group label {
        font-weight: 400;
        color: #f0f0f0;
    }

.auth_box .form-control {
    border-radius: 0;
}

.auth_box .form-group.width5050 {
    width: calc(50% - 2px);
    float: left;
}

.auth_box sup {
    font-size: 16px;
    top: -2px;
    color: #d90000;
}

.mr4 {
    margin-right: 4px;
}

.alert {
    padding: 5px 15px;
    border-radius: 0;
}

.about_section, .contact_section, .subscribe_section {
    display: block;
    padding: 30px 0;
}


.section_title {
    margin: 10px 0 15px 0;
    font-size: 26px;
    font-weight: 700;
    color: #303030;
}

.section_content {
    display: block;
}

.ic_menu {
    display: none;
}

.overlay {
    display: none;
}

/*============================================================================
  =============================  media css ===================================
  ============================================================================*/

@media only screen and (max-width: 1023px) {

    .overlay {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 1029;
        width: 100%;
        height: 100%;
    }

    body {
        padding-top: 60px;
    }

    .header {
        height: 60px;
    }

    .modal-open .header {
        width: 100%;
    }


    .header-inner {
        height: 60px;
    }

    .logo {
        width: auto;
        min-width: initial;
        margin: 0 auto;
    }

        .logo img {
            max-height: 40px;
            width: auto;
        }

    .ic_menu {
        display: block;
        position: absolute;
        left: 15px;
        cursor: pointer;
    }

        .ic_menu > img {
        }

    .nav-container {
        margin-left: 0;
        position: fixed;
        top: 60px;
        width: 100%;
        background-color: #f0f0f0;
        display: none;
        left: 0;
        right: 0;
    }

        .nav-container.active {
            display: block;
        }

    .menu-items {
        width: 100%;
    }

        .menu-items li {
            display: block;
            width: 100%;
        }

            .menu-items li .menu-item {
                margin: 0;
                padding: 10px 15px;
                display: block;
            }

    /*.header_bottom.active {
        display: flex;
    }*/

    .section_title {
        padding: 0 15px;
    }

    .welcome-container h1 {
	font-size: 20px;

}
    .welcome-container p {
	font-size: 18px;
}

    .page_top_content {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }

    .left {
        width: 100%;
        margin-bottom: 15px;
        padding: 0 8px;
    }

    .right {
        width: 100%;
        padding-bottom: 20px;
        padding: 0 8px;
    }

    /*.welcome_text h1 {
        text-align: center;
    }*/

    .offer {
        left: unset;
        right: 0;
        top: 0px;
    }

    .auth_box {
        width: 100%;
    }


    .btn_subscribe_now.scroll-trigger {
        float: none;
        margin: 0 auto;
        display: inline-block;
    }

    .welcome-container {
        padding: 0 15px;
    }

   .section_content {
	padding: 0 8px;
}
    .about_section, .contact_section, .subscribe_section {
        padding: 15px 0;
        display: block;
    }

    footer {
        height: auto;
        text-align: center;
        padding: 15px;
    }

        footer ul {
            display: block;
        }

            footer ul > li {
                display: block;
                border-right: 0;
                padding: 5px 15px;
                border-bottom: 1px dashed rgba(255,255,255,0.6);
            }

                footer ul > li:last-child {
                    border-bottom: 0;
                }

                .btn-preview {
	margin: 15px auto;
}
}
