﻿html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: IRANSansWeb, sans-serif;
}

/*
    nemidoonam chieh!
*/
@media only screen and (max-width: 1190px) and (min-width: 980px) {
    .item-label {
        display: none;
    }
}

/* Navbar section */

.mynav {
    width: 100%;
    height: 60px;
    position: fixed;
    line-height: 60px;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    padding-top: 25px;
    padding-bottom: 25px;
}

    .mynav div.logo {
        float: right;
        width: auto;
        height: auto;
    }

        .mynav div.logo a img {
            width: 100%;
            height: 32px;
        }

    .mynav div.main_list {
        height: 65px;
        float: right;
    }

        .mynav div.main_list ul {
            width: 100%;
            height: 65px;
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

            .mynav div.main_list ul li {
                width: auto;
                height: 50px;
                padding: 0;
                padding-right: 3rem;
            }

                .mynav div.main_list ul li a {
                    text-decoration: none;
                    color: #808080;
                    line-height: 65px;
                    font-size: 1.0rem;
                }

                    .mynav div.main_list ul li a:hover {
                        color: #e91e63;
                    }


/* Home section */

.home {
    width: 100%;
    height: 100vh;
    /*background-image: url(https://images.unsplash.com/photo-1498550744921-75f79806b8a7?ixlib=rb-0.3.5&amp;ixid=eyJhcHBfaWQiOjEyMDd9&amp;s=b0f6908fa5e81286213c7211276e6b3d&amp;auto=format&amp;fit=crop&amp;w=1500&amp;q=80);*/
    background-position: center top;
    background-size: cover;
}

.navTrigger {
    display: none;
}

.affix {
    padding: 0;
    background-color: #f6f6f6;
}

/* Media qurey section */

/*@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}
*/
@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }

    .mynav {
        height: 50px;
        line-height: 50px;
        padding-top: 0px;
        padding-bottom: 5px;
    }

        .mynav div.logo {
            height: 50px;
            margin-left: 15px;
            top: 0px;
        }

            .mynav div.logo a img {
                width: 100%;
                height: 26px;
            }

        .mynav div.main_list {
            width: 100%;
            height: 0;
            overflow: hidden;
        }

        .mynav div.show_list {
            height: auto;
            display: none;
        }

        .mynav div.main_list ul {
            flex-direction: column;
            width: 100%;
            height: auto;
            right: 0;
            left: 0;
            bottom: 0;
            background-color: #f6f6f6;
            /*same background color of navbar*/
            background-position: center top;
        }

            .mynav div.main_list ul li {
                width: 100%;
                text-align: right;
            }

                .mynav div.main_list ul li a {
                    text-align: center;
                    width: 100%;
                    font-size: 0.86rem;
                    padding: 5px;
                }

    /*    .mynav div.media_button {
        display: block;
    }
*/
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 25px;
    height: 20px;
    margin: auto;
    position: absolute;
    left: 30px;
    top: 0px;
    bottom: 0;
}

    .navTrigger i {
        background-color: #e91e63;
        border-radius: 2px;
        content: '';
        display: block;
        width: 100%;
        height: 3px;
    }

        .navTrigger i:nth-child(1) {
            -webkit-animation: outT 0.8s backwards;
            animation: outT 0.8s backwards;
            -webkit-animation-direction: reverse;
            animation-direction: reverse;
        }

        .navTrigger i:nth-child(2) {
            margin: 5px 0;
            -webkit-animation: outM 0.8s backwards;
            animation: outM 0.8s backwards;
            -webkit-animation-direction: reverse;
            animation-direction: reverse;
        }

        .navTrigger i:nth-child(3) {
            -webkit-animation: outBtm 0.8s backwards;
            animation: outBtm 0.8s backwards;
            -webkit-animation-direction: reverse;
            animation-direction: reverse;
        }

    .navTrigger.active i:nth-child(1) {
        -webkit-animation: inT 0.8s forwards;
        animation: inT 0.8s forwards;
    }

    .navTrigger.active i:nth-child(2) {
        -webkit-animation: inM 0.8s forwards;
        animation: inM 0.8s forwards;
    }

    .navTrigger.active i:nth-child(3) {
        -webkit-animation: inBtm 0.8s forwards;
        animation: inBtm 0.8s forwards;
    }

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

/*
    Extend Bootstrap Abilities.
*/
.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}

@media(max-width: 768px) {
    .modal-dialog {
        min-height: calc(100vh - 20px);
    }
}

.required:after {
    content: " *";
    font-weight: bold;
    color: red;
}

.flex-root {
    flex: 1;
}

.flex-column-fluid {
    flex: 1 0 auto;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.px-10 {
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
}

.p-10 {
    padding: 2.5rem !important;
}

.p-lg-20 {
    padding: 5rem !important;
}

.mb-7 {
    margin-bottom: 1.75rem !important;
}

.mt-6 {
    margin-top: 5rem !important;
}

.mt-7 {
    margin-top: 6.25rem !important;
}

.mt-8 {
    margin-top: 8rem !important;
}

@media screen and (min-width: 1200px) {
}

@media screen and (min-width: 992px) {
    .mt-lg-6, .my-lg-6 {
        margin-top: 5rem !important;
    }

    .mt-lg-7, .my-lg-7 {
        margin-top: 6.25rem !important;
    }

    .mt-lg-8, .my-lg-8 {
        margin-top: 8rem !important;
    }
}


@media screen and (min-width: 768px) {
    .mt-md-6, .my-md-6 {
        margin-top: 5rem !important;
    }

    .mt-md-7, .my-md-7 {
        margin-top: 6.25rem !important;
    }

    .mt-md-8, .my-md-8 {
        margin-top: 8rem !important;
    }
}

@media screen and (min-width: 576px) {
    .mt-sm-6, .my-sm-6 {
        margin-top: 5rem !important;
    }

    .mt-sm-7, .my-sm-7 {
        margin-top: 6.25rem !important;
    }

    .mt-sm-8, .my-sm-8 {
        margin-top: 8rem !important;
    }
}
