﻿@font-face {
    font-family: 'BNazanin';
    src: url('fonts/farsi/BNazanin.eot?#') format('eot'), url('fonts/farsi/BNazanin.woff') format('woff'), url('fonts/farsi/BNazanin.ttf') format('ttf');
}


@font-face {
    font-family: 'BNasimBold';
    src: url('fonts/farsi/BNasimBold.eot?#') format('eot'), url('fonts/farsi/BNasimBold.woff') format('woff'), url('fonts/farsi/BNasimBold.ttf') format('ttf');
}

@font-face {
    font-family: 'BTitrBold';
    src: url('fonts/farsi/BTitrBold.eot?#') format('eot'), url('fonts/farsi/BTitrBold.woff') format('woff'), url('fonts/farsi/BTitrBold.ttf') format('ttf');
}

@font-face {
    font-family: 'BSinaBold';
    src: url('fonts/farsi/BSinaBold.eot?#') format('eot'), url('fonts/farsi/BSinaBold.woff') format('woff'), url('fonts/farsi/BSinaBold.ttf') format('ttf');
}

@font-face {
    font-family: 'BTraffic';
    src: url('fonts/farsi/BTraffic.eot?#') format('eot'), url('fonts/farsi/BTraffic.woff') format('woff'), url('fonts/farsi/BTraffic.ttf') format('ttf');
}

@font-face {
    font-family: 'BYekan';
    src: url('fonts/farsi/BYekan.eot?#') format('eot'), url('fonts/farsi/BYekan.woff') format('woff'), url('fonts/farsi/BYekan.ttf') format('ttf');
}

.panel-body {
    overflow-x: scroll;
}

.no-scroll {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

td {
    text-align: right;
}

th {
    text-align: right;
    cursor: pointer;
}

.alert-danger {
    direction: rtl;
}

.pull-left i {
    cursor: pointer;
}

.pull-left span {
    cursor: pointer;
}

.nav, .pagination, .carousel, .panel-title a {
    cursor: pointer;
}

input {
    text-align: right;
    direction: rtl;
}

.row {
    direction: ltr;
}

.row-rtl{
    direction: rtl !important
}

select {
    direction: rtl;
}

nav {
    direction: rtl;
}

li {
    text-align: right;
}

.rtlElement {
    text-align: right;
    direction: rtl;
}

tree-view {
    display: block;
}

    tree-view .collapsing.in {
        overflow: visible;
    }

    tree-view ul {
        padding-left: 0;
    }

        tree-view ul li {
            display: block;
        }

            tree-view ul li .node:before, tree-view ul li .node:after {
                display: table;
                content: " ";
            }

            tree-view ul li .node:after {
                clear: both;
            }

            tree-view ul li .node:hover {
                background: #D8ECF6;
            }

            tree-view ul li .node.selected {
                background: #D8ECF6;
            }

            tree-view ul li .node {
                margin-left: -15px;
                margin-right: -15px;
                margin: 0;
                padding: 8px 0;
                border-bottom: 3px solid #e4eaec;
            }

                tree-view ul li .node div:first-child i.no-child, tree-view ul li .node div:first-child i.has-child, tree-view ul li .node div:first-child i.has-child-open {
                    display: inline-block;
                    font: normal normal normal 14px/1 FontAwesome;
                    font-size: inherit;
                    text-rendering: auto;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                    margin-right: 0.3475rem;
                    margin-right: 0.3475rem;
                }

                    tree-view ul li .node div:first-child i.no-child:before {
                        content: "\f0a4";
                        font-family: FontAwesome;
                        font-style: normal;
                        font-weight: bold;
                        /*text-decoration: inherit;*/
                        /*--adjust as necessary--*/
                        color: maroon;
                        font-size: 18px;
                    }

                    tree-view ul li .node div:first-child i.has-child:before {
                        content: "\f055";
                        font-family: FontAwesome;
                        font-style: normal;
                        font-weight: bold;
                        color: darkolivegreen;
                        font-size: 18px;
                    }

                    tree-view ul li .node div:first-child i.has-child-open:before {
                        content: "\f056";
                        font-family: FontAwesome;
                        font-style: normal;
                        font-weight: bold;
                        color: darkslategray;
                        font-size: 18px;
                    }

                tree-view ul li .node div:first-child span {
                    padding: .1475rem;
                }

                    tree-view ul li .node div:first-child span .selected {
                        background: #D8ECF6;
                    }

    tree-view tree-view {
        padding-left: 1.3475rem;
    }


/* ANIMATIONS
============================================================================= */

.page.ng-leave {
    z-index: 9999;
}

.page.ng-enter {
    z-index: 8888;
}

/* page specific animations ------------------------ */

/* home -------------------------- */
.page-home.ng-leave {
    -webkit-transform-origin: 0% 0%;
    -webkit-animation: slideOutLeft 0.5s both ease-in;
    -moz-transform-origin: 0% 0%;
    -moz-animation: slideOutLeft 0.5s both ease-in;
    transform-origin: 0% 0%;
    animation: slideOutLeft 0.5s both ease-in;
}

.page-home.ng-enter {
    -webkit-animation: scaleUp 0.5s both ease-in;
    -moz-animation: scaleUp 0.5s both ease-in;
    animation: scaleUp 0.5s both ease-in;
}

/* about ------------------------ */
.page-about.ng-leave {
    -webkit-animation: slideOutLeft 0.5s both ease-in;
    -moz-animation: slideOutLeft 0.5s both ease-in;
    animation: slideOutLeft 0.5s both ease-in;
}

.page-about.ng-enter {
    -webkit-animation: slideInRight 0.5s both ease-in;
    -moz-animation: slideInRight 0.5s both ease-in;
    animation: slideInRight 0.5s both ease-in;
}

/* contact ---------------------- */
.page-contact.ng-leave {
    -webkit-transform-origin: 50% 50%;
    -webkit-animation: slideOutLeft .5s both ease-in;
    -moz-transform-origin: 50% 50%;
    -moz-animation: slideOutLeft .5s both ease-in;
    transform-origin: 50% 50%;
    animation: slideOutLeft .5s both ease-in;
}

.page-contact.ng-enter {
    /*-webkit-animation:slideInUp 0.5s both ease-in;
	-moz-animation:slideInUp 0.5s both ease-in;
	animation:slideInUp 0.5s both ease-in;*/
    -webkit-animation: scaleUp 0.5s both ease-in;
    -moz-animation: scaleUp 0.5s both ease-in;
    animation: scaleUp 0.5s both ease-in;
}

/* rotate and fall */
@-webkit-keyframes rotateFall {
    0% {
        -webkit-transform: rotateZ(0deg);
    }

    20% {
        -webkit-transform: rotateZ(10deg);
        -webkit-animation-timing-function: ease-out;
    }

    40% {
        -webkit-transform: rotateZ(17deg);
    }

    60% {
        -webkit-transform: rotateZ(16deg);
    }

    100% {
        -webkit-transform: translateY(100%) rotateZ(17deg);
    }
}

@-moz-keyframes rotateFall {
    0% {
        -moz-transform: rotateZ(0deg);
    }

    20% {
        -moz-transform: rotateZ(10deg);
        -moz-animation-timing-function: ease-out;
    }

    40% {
        -moz-transform: rotateZ(17deg);
    }

    60% {
        -moz-transform: rotateZ(16deg);
    }

    100% {
        -moz-transform: translateY(100%) rotateZ(17deg);
    }
}

@keyframes rotateFall {
    0% {
        transform: rotateZ(0deg);
    }

    20% {
        transform: rotateZ(10deg);
        animation-timing-function: ease-out;
    }

    40% {
        transform: rotateZ(17deg);
    }

    60% {
        transform: rotateZ(16deg);
    }

    100% {
        transform: translateY(100%) rotateZ(17deg);
    }
}

/* scale up */
@keyframes scaleUp {
    from {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@-moz-keyframes scaleUp {
    from {
        opacity: 0.3;
        -moz-transform: scale(0.8);
    }
}

@-webkit-keyframes scaleUp {
    from {
        opacity: 0.3;
        -webkit-transform: scale(0.8);
    }
}

/* slide in from the right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@-moz-keyframes slideInRight {
    from {
        -moz-transform: translateX(100%);
    }

    to {
        -moz-transform: translateX(0);
    }
}

@-webkit-keyframes slideInRight {
    from {
        -webkit-transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(0);
    }
}

/* slide in from the bottom */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@-moz-keyframes slideInUp {
    from {
        -moz-transform: translateY(100%);
    }

    to {
        -moz-transform: translateY(0);
    }
}

@-webkit-keyframes slideInUp {
    from {
        -webkit-transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
    }
}

/* slide in from the bottom */
@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
    }
}

@-moz-keyframes slideOutLeft {
    to {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes slideOutLeft {
    to {
        -webkit-transform: translateX(-100%);
    }
}

/* rotate out newspaper */
@-webkit-keyframes rotateOutNewspaper {
    to {
        -webkit-transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}

@-moz-keyframes rotateOutNewspaper {
    to {
        -moz-transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}

@keyframes rotateOutNewspaper {
    to {
        transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}

.imageslide {
    /*width: 900px;*/
    height: 500px;
    margin: 0 auto;
    /*margin-bottom: 20px;*/
    overflow: hidden;
    position: relative;
    text-align: center;
    /*padding-left: 60px;*/
    margin-top: 20px;
}

    .imageslide .slider-content {
        position: absolute;
        width: 100%;
        /*height:400px;*/
    }

        .imageslide .slider-content img {
            width: 100%;
        }

/*.animate-enter, .animate-leave {
    -webkit-transition: 1000ms cubic-bezier(.165,.84,.44,1) all;
    -moz-transition: 1000ms cubic-bezier(.165,.84,.44,1) all;
    -ms-transition: 1000ms cubic-bezier(.165,.84,.44,1) all;
    -o-transition: 1000ms cubic-bezier(.165,.84,.44,1) all;
    transition: 1000ms cubic-bezier(.165,.84,.44,1) all;
}

.animate-enter {
    left: 100%;
}

    .animate-enter.animate-enter-active {
        left: 0;
    }

.animate-leave {
    left: 0;
}

    .animate-leave.animate-leave-active {
        margin-left: -100%;
    }*/

.logo {
    width: 200px;
    margin: auto;
}

.tile {
    height: 100px;
    width: 100px;
    float: right;
    margin: 0 5px 0 0;
    padding: 15px 15px;
}

.tile-wide {
    width: 210px;
}

.tile-large {
    width: 210px;
    height: 200px;
}

.tile-mango {
    background: #DAA520;
    color: #ffffff;
}

.tile-red {
    background: #CD0000;
    color: #ffffff;
}

.tile-blue {
    background: #4682B4;
    color: #ffffff;
}

.tile-green {
    background-color: #2E8B57;
    color: #ffffff;
}

.tile-column {
    width: auto;
    height: auto;
}

.tile-row {
    width: auto;
    padding: 5px;
    height: auto;
    display: table;
}

.table-striped > thead > .first-row > th {
    background-color: gainsboro;
}

.table-striped > tbody > tr.st-selected:nth-child(odd) > td,
.table-striped > tbody > tr.st-selected:nth-child(even) > td {
    background-color: #4169e1 !important;
    color: white !important;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #f9f9f9;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: ghostwhite;
}


.sortable:hover {
    background-color: lightgrey;
}

.st-sort-ascent i, .st-sort-descent i {
    padding-left: 4px;
}

    .st-sort-ascent i:before {
        content: '\25B2';
    }

    .st-sort-descent i:before {
        content: '\25BC';
    }

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

    .spinner > div {
        background-color: #333;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}


.segmented-control {
    position: relative;
    display: inline-block;
    border: 1px solid currentColor;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    overflow: hidden;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    -webkit-transition-duration: 0.7s;
    transition-duration: 0.7s;
    -moz-transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -o-transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -webkit-transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -moz-transition-property: none;
    -o-transition-property: none;
    -webkit-transition-property: none;
    transition-property: none;
    -webkit-tap-highlight-color: transparent;
}

    .segmented-control > input {
        position: absolute;
        left: -10000px;
        opacity: 0;
    }

        .segmented-control > input[type='checkbox'] ~ label {
            -moz-transition-duration: 0s;
            -o-transition-duration: 0s;
            -webkit-transition-duration: 0s;
            transition-duration: 0s;
        }

            .segmented-control > input[type='checkbox'] ~ label:before {
                opacity: 0;
            }

        .segmented-control > input:disabled:nth-child(1) ~ label:nth-of-type(1) {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .segmented-control > input:nth-child(1):checked ~ label:nth-of-type(1):after, .segmented-control > input:nth-child(1):checked ~ label:nth-of-type(1):before {
            opacity: 1;
        }

        .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1) ~ label:before {
            -moz-transform: translateX(0%);
            -ms-transform: translateX(0%);
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
        }

        .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:before {
            -moz-transform: translateX(0%);
            -ms-transform: translateX(0%);
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
        }

        .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(3):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(3):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(3) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(3) ~ label:before {
            -moz-transform: translateX(0%);
            -ms-transform: translateX(0%);
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
        }

        .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(4):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(4):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:before {
            -moz-transform: translateX(0%);
            -ms-transform: translateX(0%);
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
        }

        .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(5):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(5):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:before {
            -moz-transform: translateX(0%);
            -ms-transform: translateX(0%);
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
        }

        .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(6):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(6):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:before {
            -moz-transform: translateX(0%);
            -ms-transform: translateX(0%);
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
        }

        .segmented-control > input:disabled:nth-child(2) ~ label:nth-of-type(2) {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .segmented-control > input:nth-child(2):checked ~ label:nth-of-type(2):after, .segmented-control > input:nth-child(2):checked ~ label:nth-of-type(2):before {
            opacity: 1;
        }

        .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2):after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2):before, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:before {
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -webkit-transform: translateX(100%);
            transform: translateX(100%);
        }

        .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(3):after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(3):before, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(3) ~ label:after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(3) ~ label:before {
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -webkit-transform: translateX(100%);
            transform: translateX(100%);
        }

        .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(4):after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(4):before, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:before {
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -webkit-transform: translateX(100%);
            transform: translateX(100%);
        }

        .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(5):after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(5):before, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:before {
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -webkit-transform: translateX(100%);
            transform: translateX(100%);
        }

        .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(6):after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(6):before, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:before {
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -webkit-transform: translateX(100%);
            transform: translateX(100%);
        }

        .segmented-control > input:disabled:nth-child(3) ~ label:nth-of-type(3) {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .segmented-control > input:nth-child(3):checked ~ label:nth-of-type(3):after, .segmented-control > input:nth-child(3):checked ~ label:nth-of-type(3):before {
            opacity: 1;
        }

        .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(3):after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(3):before, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(3) ~ label:after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(3) ~ label:before {
            -moz-transform: translateX(200%);
            -ms-transform: translateX(200%);
            -webkit-transform: translateX(200%);
            transform: translateX(200%);
        }

        .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(4):after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(4):before, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:before {
            -moz-transform: translateX(200%);
            -ms-transform: translateX(200%);
            -webkit-transform: translateX(200%);
            transform: translateX(200%);
        }

        .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(5):after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(5):before, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:before {
            -moz-transform: translateX(200%);
            -ms-transform: translateX(200%);
            -webkit-transform: translateX(200%);
            transform: translateX(200%);
        }

        .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(6):after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(6):before, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > input:nth-child(3):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:before {
            -moz-transform: translateX(200%);
            -ms-transform: translateX(200%);
            -webkit-transform: translateX(200%);
            transform: translateX(200%);
        }

        .segmented-control > input:disabled:nth-child(4) ~ label:nth-of-type(4) {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .segmented-control > input:nth-child(4):checked ~ label:nth-of-type(4):after, .segmented-control > input:nth-child(4):checked ~ label:nth-of-type(4):before {
            opacity: 1;
        }

        .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(4):after, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(4):before, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:after, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(4) ~ label:before {
            -moz-transform: translateX(300%);
            -ms-transform: translateX(300%);
            -webkit-transform: translateX(300%);
            transform: translateX(300%);
        }

        .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(5):after, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(5):before, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:after, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:before {
            -moz-transform: translateX(300%);
            -ms-transform: translateX(300%);
            -webkit-transform: translateX(300%);
            transform: translateX(300%);
        }

        .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(6):after, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(6):before, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > input:nth-child(4):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:before {
            -moz-transform: translateX(300%);
            -ms-transform: translateX(300%);
            -webkit-transform: translateX(300%);
            transform: translateX(300%);
        }

        .segmented-control > input:disabled:nth-child(5) ~ label:nth-of-type(5) {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .segmented-control > input:nth-child(5):checked ~ label:nth-of-type(5):after, .segmented-control > input:nth-child(5):checked ~ label:nth-of-type(5):before {
            opacity: 1;
        }

        .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(5):after, .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(5):before, .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:after, .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(5) ~ label:before {
            -moz-transform: translateX(400%);
            -ms-transform: translateX(400%);
            -webkit-transform: translateX(400%);
            transform: translateX(400%);
        }

        .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(6):after, .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(6):before, .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > input:nth-child(5):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:before {
            -moz-transform: translateX(400%);
            -ms-transform: translateX(400%);
            -webkit-transform: translateX(400%);
            transform: translateX(400%);
        }

        .segmented-control > input:disabled:nth-child(6) ~ label:nth-of-type(6) {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .segmented-control > input:nth-child(6):checked ~ label:nth-of-type(6):after, .segmented-control > input:nth-child(6):checked ~ label:nth-of-type(6):before {
            opacity: 1;
        }

        .segmented-control > input:nth-child(6):checked ~ label:first-of-type:nth-last-of-type(6):after, .segmented-control > input:nth-child(6):checked ~ label:first-of-type:nth-last-of-type(6):before, .segmented-control > input:nth-child(6):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > input:nth-child(6):checked ~ label:first-of-type:nth-last-of-type(6) ~ label:before {
            -moz-transform: translateX(500%);
            -ms-transform: translateX(500%);
            -webkit-transform: translateX(500%);
            transform: translateX(500%);
        }

    .segmented-control > label {
        display: inline-block;
        padding: 0 .71em;
        cursor: pointer;
        float: left;
        line-height: 3em;
        font-style: inherit;
        font-weight: inherit;
        text-decoration: inherit;
        -moz-transition-property: none;
        -o-transition-property: none;
        -webkit-transition-property: none;
        transition-property: none;
        -moz-transition-duration: inherit;
        -o-transition-duration: inherit;
        -webkit-transition-duration: inherit;
        transition-duration: inherit;
        -moz-transition-timing-function: inherit;
        -o-transition-timing-function: inherit;
        -webkit-transition-timing-function: inherit;
        transition-timing-function: inherit;
    }

        .segmented-control > label:before, .segmented-control > label:after {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            -moz-transform: translateX(-100%);
            -ms-transform: translateX(-100%);
            -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
        }

        .segmented-control > label:after {
            color: white;
            content: attr(data-value);
            text-align: center;
            padding: inherit;
            z-index: 10;
            font-style: inherit;
            text-decoration: inherit;
            font-weight: inherit;
            opacity: 0;
            -moz-transition-property: opacity, -moz-transform;
            -o-transition-property: opacity, -o-transform;
            -webkit-transition-property: opacity, -webkit-transform;
            transition-property: opacity, transform;
            -moz-transition-duration: inherit;
            -o-transition-duration: inherit;
            -webkit-transition-duration: inherit;
            transition-duration: inherit;
            -moz-transition-timing-function: inherit;
            -o-transition-timing-function: inherit;
            -webkit-transition-timing-function: inherit;
            transition-timing-function: inherit;
        }

        .segmented-control > label:after, .segmented-control > label {
            text-align: center;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

            .segmented-control > label:before {
                content: '';
                color: inherit;
                background: currentColor;
                -moz-transition-property: -moz-transform;
                -o-transition-property: -o-transform;
                -webkit-transition-property: -webkit-transform;
                transition-property: transform;
                -moz-transition-duration: inherit;
                -o-transition-duration: inherit;
                -webkit-transition-duration: inherit;
                transition-duration: inherit;
                -moz-transition-timing-function: inherit;
                -o-transition-timing-function: inherit;
                -webkit-transition-timing-function: inherit;
                transition-timing-function: inherit;
            }

            .segmented-control > label:first-of-type:nth-last-of-type(1), .segmented-control > label:first-of-type:nth-last-of-type(1):after, .segmented-control > label:first-of-type:nth-last-of-type(1):before, .segmented-control > label:first-of-type:nth-last-of-type(1) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(1) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(1) ~ label:before {
                width: 100%;
            }

            .segmented-control > label:first-of-type:nth-last-of-type(2), .segmented-control > label:first-of-type:nth-last-of-type(2):after, .segmented-control > label:first-of-type:nth-last-of-type(2):before, .segmented-control > label:first-of-type:nth-last-of-type(2) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(2) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(2) ~ label:before {
                width: 50%;
            }

            .segmented-control > label:first-of-type:nth-last-of-type(3), .segmented-control > label:first-of-type:nth-last-of-type(3):after, .segmented-control > label:first-of-type:nth-last-of-type(3):before, .segmented-control > label:first-of-type:nth-last-of-type(3) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(3) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(3) ~ label:before {
                width: 33.33333%;
            }

            .segmented-control > label:first-of-type:nth-last-of-type(4), .segmented-control > label:first-of-type:nth-last-of-type(4):after, .segmented-control > label:first-of-type:nth-last-of-type(4):before, .segmented-control > label:first-of-type:nth-last-of-type(4) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(4) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(4) ~ label:before {
                width: 25%;
            }

            .segmented-control > label:first-of-type:nth-last-of-type(5), .segmented-control > label:first-of-type:nth-last-of-type(5):after, .segmented-control > label:first-of-type:nth-last-of-type(5):before, .segmented-control > label:first-of-type:nth-last-of-type(5) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(5) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(5) ~ label:before {
                width: 20%;
            }

            .segmented-control > label:first-of-type:nth-last-of-type(6), .segmented-control > label:first-of-type:nth-last-of-type(6):after, .segmented-control > label:first-of-type:nth-last-of-type(6):before, .segmented-control > label:first-of-type:nth-last-of-type(6) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(6) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(6) ~ label:before {
                width: 16.66667%;
            }

    .segmented-control.italic, .segmented-control .italic {
        font-style: italic;
    }

    .segmented-control.bold, .segmented-control .bold {
        font-weight: bold;
    }

    .segmented-control.underline, .segmented-control .underline {
        text-decoration: underline;
    }

    .segmented-control.line-through, .segmented-control .line-through {
        text-decoration: line-through;
    }

.card {
    padding-top: 20px;
    margin: 10px 0 20px 0;
    background-color: #ffffff;
    border: 1px solid #d8d8d8;
    border-top-width: 0;
    border-bottom-width: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .card.hovercard {
        position: relative;
        width: 300px;
        padding-top: 0;
        overflow: hidden;
        text-align: center;
        background-color: #fff;
    }

    .card.listcard {
        position: relative;
        width: 100%;
        padding-top: 0;
        overflow: hidden;
        text-align: center;
        background-color: #fff;
    }

.card-img {
    padding: 10px;
    width: 100px;
    height: 100px;
}

.list-img {
    width: 32px;
    height: 32px;
}

.card.hovercard .avatar {
    position: relative;
    top: -40px;
    margin-bottom: -40px;
}

    .card.hovercard .avatar img {
        width: 80px;
        height: 80px;
        max-width: 80px;
        max-height: 80px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }

.card.hovercard .info {
    padding: 4px 8px 10px;
}

    .card.hovercard .info .title {
        margin-bottom: 4px;
        font-size: 24px;
        line-height: 1;
        color: #262626;
        vertical-align: middle;
    }

    .card.hovercard .info .desc {
        overflow: hidden;
        font-size: 12px;
        line-height: 20px;
        color: #737373;
        text-overflow: ellipsis;
    }

.card.hovercard .bottom {
    padding: 0 20px;
    margin-bottom: 17px;
}

.card.people .card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    line-height: 29px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ng-animate.no-animate {
    -ms-transition: 0s none;
    -o-transition: 0s none;
    -webkit-transition: 0s none;
    transition: 0s none;
    animation: 0s none;
    -webkit-animation: 0s none;
}


/*.navbar-nav > li {
    float: right;
}*/

.sliding-panel {
    max-height: 1.2em;
    background: slategray;
    color: white;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    -webkit-transition: 1s;
    transition: 1s;
    overflow: hidden;
}

.sliding-panel-open {
    max-height: 999px;
}

.shadow {
    box-shadow: 0 2px 5px 0 #000000;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    -ms-border-radius: 2px;
    border-radius: 2px;
}

    .shadow:hover {
        box-shadow: 0 14px 28px #000000,0 10px 10px #000000;
        box-shadow: 0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);
    }

    .shadow.nohover:hover {
        box-shadow: 0 2px 5px 0 #000000;
        box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    }

.transition {
    -moz-transition: all .375s ease;
    -o-transition: all .375s ease;
    -webkit-transition: all .375s ease;
    -ms-transition: all .375s ease;
    transition: all .375s ease;
    text-decoration: none;
}

.row-one {
    padding: 16px 10px;
    height: 200px;
    border-bottom: 1px solid #e0e0e0;
}

    .row-one.middle {
        line-height: 68px;
    }

    .row-one br { /* display:none */
    }


    .row-one:after, .row-one:before {
        display: table;
        content: "";
        clear: both;
        float: none;
    }

.row-two {
    direction: rtl;
    padding: 16px;
    font-weight: 500;
}

.row-three {
    direction: rtl;
    padding: 16px;
    height: 100px;
    background-color: #fafafa;
}

    .row-three .ussd .ussdcode {
        color: #027fa3;
    }

.row-four {
    padding: 10px 16px;
}

    .row-four br {
        display: none;
    }

    .row-four table {
        width: 100%;
    }

.divpin {
    border: 1px dotted black;
    float: none;
    display: inline-table;
    font-family: Tahoma;
    font-size: 10px !important;
    margin: 0 0 0 0;
    padding: 0px;
    width: 155px;
    height: auto;
}

.divpin-row {
    border: 1px dotted black;
    float: right;
    font-family: Tahoma;
    font-size: 11px !important;
    margin: 0 0 0 0;
    padding: 0px;
}

.media img + span.badge {
    position: relative;
    top: -8px;
    left: 8px;
}

.cart-icon {
    position: fixed;
    top: 250px;
    left: 0px;
    z-index: 10;
    transition: all .3s ease-in-out;
}

    .cart-icon:hover {
        transform: translateX(20px) scale(1.5);
    }

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
