﻿/*Font*/
@font-face {
    font-family: IranSans;
    font-weight: normal;
    src: url('/fonts/IRANSansWeb.woff');
    src: url('/fonts/IRANSansWeb.woff?#FooAnything') format('embedded-opentype'), /* IE6-IE8 */
    url('/fonts/IRANSansWeb.woff') format('woff'), /* Modern Browsers */
    url('/fonts/IRANSansWeb.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: IranSans;
    font-weight: 500;
    src: url('/fonts/IRANSansWeb_Medium.woff');
    src: url('/fonts/IRANSansWeb_Medium.woff?#FooAnything') format('embedded-opentype'), /* IE6-IE8 */
    url('/fonts/IRANSansWeb_Medium.woff') format('woff'), /* Modern Browsers */
    url('/fonts/IRANSansWeb_Medium.ttf') format('truetype'); /* Safari, Android, iOS */
}

body {
    margin: 0;
}

body, h1, h2, h3, h4, h5, h6, button, input, textarea, span, p, label {
    font-family: IRANSans, Tahoma;
    direction: rtl;
}

h1 {
    margin: 0;
    display: inline;
}

span {
    /*margin-left: 20px;
    margin-right: 20px;*/
}

h3 {
    display: block;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #eb0028;
}

p {
    padding-right: 20px;
    padding-left: 20px;
}

.content {
    max-width: 960px;
}

.center {
    margin: 0 auto !important;
}

.center-text {
    text-align: center !important;
}

.inline-block {
    display: inline-block !important;
}

.box-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.07);
}

.shadow {
    -webkit-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

.landing {
    height: 640px;
    background: #eb0028; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #eb0028 0%, #9212b1 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #eb0028 0%,#9212b1 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #eb0028 0%,#9212b1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb0028', endColorstr='#9212b1',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    margin: 0;
    /*padding-top: 80px;*/
    /*text-align: center;*/
    overflow: hidden;
}

.landing-content {
    padding-top: 70px;
}

.landing-bottom {
    display: none !important;
}

nav {
    position: fixed;
    top: 0;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.07);
    z-index: 99;
}

.nav-pill {
    margin: 10px;
    float: left;
    background-color: #fbb03b;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: black;
    -webkit-transition: background-color 0.15s ease;
    -moz-transition: background-color 0.15s ease;
    -o-transition: background-color 0.15s ease;
    transition: background-color 0.15s ease;
}

    .nav-pill:hover {
        background-color: #EA9E39;
    }

.brand-logo {
    /*width: 128px;*/
    position: relative;
    height: 40px;
    float: right;
    padding: 10px;
}

.landing-points-cont {
    height: 100%;
}

.landing-points {
    height: 100%;
    margin: calc(4vh/2) 0;
    text-align: center;
}

.landing-point-cont {
    display: inline-block;
}

.landing-point {
    font-size: calc(7vw);
    font-weight: 500;
    display: inline-block;
    color: white;
    z-index: 1;
    line-height: 100px;
    margin-left: 10px;
    margin-right: 10px;
    opacity: 0.85;
}

.landing-point-like {
    display: none;
    z-index: 3;
}

.landing-point-smile {
    display: none;
    z-index: 3;
}

.landing-point-crown {
    display: none;
    z-index: 0;
}

.landing-phone-cont {
    text-align: center;
}

.landing-phone {
    width: 300px;
    z-index: 2;
}

.logo-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.vector-point {
    width: 250px;
    height: 250px;
}

.photo-point {
    width: 250px;
}

.photo-landscape {
    height: 50vw;
    max-height: 300px;
    padding-right: 40px;
}

.point-text {
    margin: 0 auto;
    width: 75%;
    text-align: center;
    margin-bottom: 20px;
}

.point-text > span {
    font-size: 1.25rem;
}

.point-text > p {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    /*text-align: justify;*/
}

.download {
    background-color: #FBB03B;
}

.download-ribbon {
    position: absolute;
    left: 0;
    top: 70px;
    min-width: 600px;
}

.download-phone {
    width: 300px;
    padding-bottom: 0;
    margin-top: 500px;
    margin-bottom: -340px;
}

.download-label-cont {
    padding-top: 20px;
}

.download-label {
    font-size: 2.0rem;
    padding-right: 20px;
}

.download-badges {
    position: absolute;
    top: 250px;
    bottom: auto;
    right: 50%;
    transform: translateX(50%);
    text-align: center;
}

.download-btn {
    display: block;
    width: 175px;
    margin: 0 auto;
    margin-bottom: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 7px;
    background-color: #eb0028;
    color: white;
    font-size: 1.0rem;
    text-decoration: none;
}

.download-badge {
    height: 52px;
}

footer {
    background: #c80022; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #c80022 0%, #7c0f97 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #c80022 0%,#7c0f97 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #c80022 0%,#7c0f97 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c80022', endColorstr='#7c0f97',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    padding-left: 20px;
    padding-right: 20px;
}

.footer-logo {
    display: none;
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 0;
    height: 50px;
    opacity: 0.5;
}

.footer-menu {
    margin: 0;
    margin-bottom: 5px;
    padding-right: 0;
}

.footer-menu > li {
    display: inline-block;
    margin-left: 20px;
}

.footer-menu-item {
    color: white;
    font-size: 1.0rem;
    text-decoration: none;
    -webkit-transition: opacity 0.15s ease;
    -moz-transition: opacity 0.15s ease;
    -o-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}

.footer-menu-item:hover {
    opacity: 0.8;
}

.copyright-note {
    color: white;
    opacity: 0.5;
}

.term-text {
    margin: 0 auto;
    width: 90%;
    text-align: right;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
}

.mnh-logo {
    width: 240px;
}

.profile-picture {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border: 1px solid #e0e0e0;
}

.title-text {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    width: 100%;
}

.role-text {
    opacity: 0.75;
}


/*Desktop*/
@media (min-width: 1024px) {
    h3 {
        padding-right: 0;
        padding-left: 0;
    }

    p {
        padding-right: 0;
        padding-left: 0;
    }

    .landing {
        height: 100vh;
    }

    .landing-content {
        padding-top: 100px;
    }

    .landing-phone-cont {
        text-align: right;
    }

    .landing-phone {
        width: 450px;
    }

    .landing-points-cont {
        height: 100vh;
    }

    .landing-points {
        height: 100vh;
        text-align: left;
        position: relative;
    }

    .landing-point-cont {
        display: block;
        position: relative;
    }

    .landing-point {
        font-size: calc(10vh);
        display: block;
        margin-left: -20px;
        margin-right: 0;
        opacity: 0.85;
    }

    .landing-point-like {
        display: inline;
        position: absolute;
        height: calc(16px + 8vh);
        top: 3.5vh;
        left: 30vh;
    }

    .landing-point-smile {
        display: inline;
        position: absolute;
        height: calc(16px + 8vh);
        top: 5vh;
        left: -50px;
    }

    .landing-point-crown {
        display: inline;
        position: absolute;
        height: calc(24px + 17vh);
        bottom: 182px;
        left: 27vh;
    }

    .landing-bottom {
        display: block !important;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .vector-point {
        width: 400px;
        height: 400px;
    }

    .photo-point {
        width: 400px;
    }

    .photo-landscape {
        height: 27.5vw;
        max-height: 100vw;
    }

    .point-text {
        width: 400px;
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(+50%, -50%);
        text-align: right;
    }

    .download-ribbon {
        left: 0;
        top: 120px;
        min-width: 960px;
    }

    .download-phone {
        width: 400px;
        margin-top: -69px;
        margin-bottom: 0;
        padding-bottom: 50px;
    }

    .download-label-cont {
        padding-top: 80px;
    }

    .download-label {
        font-size: 2.5rem;
        padding-right: 0;
    }

    .download-badges {
        position: absolute;
        top: auto;
        bottom: 50px;
        left: 30px;
        right: 10px;
        transform: translateX(0);
        text-align: center;
    }

    .download-btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 7px;
        background-color: #eb0028;
        color: white;
        font-size: 1.5rem;
        text-decoration: none;
    }

    .download-badge {
        height: auto;
    }

    footer {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-logo {
        display: inline;
    }

    .term-text {
        width: 400px;
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(+50%, -50%);
        text-align: right;
    }

    .mnh-logo {
        width: 350px;
    }
}

@media (min-width: 769px) {
    span {
        margin-left: 0;
        margin-right: 0;
    }    

    nav {
        max-width: 960px;
        margin: 0 auto;
    }

    .brand-logo {
        height: 50px;
    }

    .nav-pill {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (min-width: 720px) {
    .photo-landscape {
        padding-right: 0;
    }
}

/*Height*/
@media (max-height: 640px) and (min-width: 1024px) {
    .landing-phone {
        width: 300px;
    }
}

@media (min-height: 640px) and (min-width: 1024px) {
    .landing-points {
        height: 100vh;
        margin: calc(5vh/2) 0;
    }

    .landing-point {
        font-size: calc(12vh);
        line-height: calc(100vh/4);
    }
}

@media (max-height: 640px) and (min-width: 1024px) {
    .landing-point {
        font-size: calc(10vh);
        line-height: calc(100vh/5);
    }

    .landing-point-like {
        height: calc(16px + 6vh);
        top: 3vh;
        left: 25vh;
    }

    .landing-point-smile {
        height: calc(16px + 6vh);
        top: 3vh;
        left: -40px;
    }

    .landing-point-crown {
        height: calc(24px + 15vh);
        bottom: 177px;
        left: 20vh;
    }
}

@media (max-height: 480px) and (min-width: 1024px) {
    .landing-point {
        font-size: calc(9vh);
        line-height: calc(100vh/6);
    }

    .landing-point-like {
        height: calc(16px + 4vh);
        top: 2.5vh;
        left: 20vh;
    }

    .landing-point-smile {
        height: calc(16px + 4vh);
        top: 2.5vh;
        left: -30px;
    }

    .landing-point-crown {
        height: calc(24px + 5vh);
        bottom: 173px;
        left: 18vh;
    }
}

@media (max-width: 319px) {
    .nav-pill {
        display: none;
    }
}