/* classes start with tp- are my custom classes */
/* TODO remove unused classes */
body, h1, h2, h3, h4, h5, .ui.header, .ui.menu, .ui.button, .ui.accordion .title:not(.ui), p, .ui.message .header, .ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="time"], .ui.form input[type="text"], .ui.form input[type="url"], .ui.modal > .header, .ui.cards > .card > .content > .header, .ui.card > .content > .header, .ui.items > .item > .content > .header, .ui.list .list > .item .header, .ui.list > .item .header, .ui.statistics .statistic > .label, .ui.statistic > .label, textarea {
    font-family: IRANSans, 'IRANSans', tahoma, serif;
}

.ui.statistics .statistic > .value, .ui.statistic > .value {
    font-family: Yekan, 'Yekan', tahoma, serif;
}

body {
    background: #edeff0;
    background: url("../media/images/bg.png")
}

.ui.segments .segment, .ui.segment {
    font-size: 1.1rem;
    line-height: 1.6em;
}

p {
    line-height: 1.6em;
    text-align: justify;
}

.ui.segments > .segment {
    border-top: none;
}

.tp-footer {
    background-color: #21ba45 !important;
    color: white;
}

.tp-below-footer {
    background: #1a9838 !important;
    color: rgb(255, 255, 255);
}

.tp-align-left {
    text-align: left;
}

th.headerSortDown {
    background-color: #2185D0 !important;
    color: white !important;
}

.tp-meta-header {
    background-color: #1ea23d !important;
}

.tp-header {
    color: white;
    background: #f3f3f3 !important;
}

.tp-align-left {
    text-align: left;
}

.ui.block.header {
    border: none;
}

.tp-sidebar {
    background: #f9fafb;
}

.tp-sidebar p {
    text-align: justify;
}

.tp-no-padding {
    padding: 0 !important;
}

.ui.block.header {
    background: #f9fafb;
}

.tp-statistics {
    background: #d05121 !important;
}

@media only screen and (max-width: 767px) {
    .tp-responsive {
        text-align: center;

    }
}

.tp-tab {
    overflow-y: hidden;
    overflow-x: auto;
}

.ui.table {
    text-align: center;
}

.tp-negative {
    color: red !important;
}

.tp-trees-blank {
    text-align: center;
}

.tp-footer .ui.list .list > a.item, .ui.list > a.item {
    color: whitesmoke;
}

.tp-footer .ui.list .list > a.item:hover, .ui.list > a.item:hover {
    color: white;
}

.tp-footer ul.ui.list li:before, .ui.bulleted.list .list > a.item:before, .ui.bulleted.list > a.item:before {
    color: white;
}

.tp-brands img {
    opacity: 0.8;
    transition: opacity 0.1s ease;
}

.tp-brands img:hover {
    opacity: 1;
    transition: opacity 0.1s ease;
}

[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none !important;
}

.tp-logo-title {
    padding: 0 !important;
}

a.tp-logo-title:hover {
    background: none transparent !important;
}

.ui.table {
    text-align: center;
}

.ui.cards > .card .meta, .ui.card .meta {
    font-family: tahoma, serif;
    font-size: 11px;
}

.ui.list > .item .header {
    font-family: IRANSans, 'IRANSans', tahoma, serif;
}

.tp-text {
    line-height: 2em;
    font-weight: normal;
    text-align: justify;
}

.tp-gray {
    background: whitesmoke !important;
}

.tp-404 {
    width: 100%;
    margin-bottom: -7px;
}

.tp-page-header {
    background: url("../media/images/header-mytrees.jpg") no-repeat right top !important;
}

.tp-single-project-header {
    background: url("../media/images/single-project-header.jpg") no-repeat right top !important;
}

.tp-imagine-section {
    background: url("../media/images/background-imagine.jpg") no-repeat right top !important;
    min-height: 30rem;
}

.tp-white {
    color: whitesmoke !important;
}

.tp-promo {
    margin-top: 25vh !important;
}

.ui.list .list > .item .header, .ui.list > .item .header {
    font-weight: normal;
}

.ui.cards > .card, .ui.card {
    width: 194px;
}

.ui.cards > .card > .content, .ui.card > .content {
    font-size: 0.84em;
}

.ui.image.label {
    margin-bottom: 0.5em;
}

.ui.modal > .close {
    right: -2.5rem;
}

/*sweet alert customization*/
.swal-footer {
    text-align: center;
}

/* possibly semantic styles */
.ui.parallax {
    background-attachment: fixed;
}

.ui.parallax {
    height: 85vh;
    background-image: url("../media/images/pic.jpg");
    background-size: cover;
    width: 100%;
}

/* Time Line Style */
.hexa {
    border: 0;
    float: left;
    text-align: center;
    height: 35px;
    width: 60px;
    font-size: 22px;
    background: #f0f0f0;
    color: #3c3c3c;
    position: relative;
    margin-top: 15px;
}

.hexa:before {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid #f0f0f0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    top: -15px;
}

.hexa:after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 15px solid #f0f0f0;
    bottom: -15px;
}

.timeline {
    position: relative;
    padding: 0;
    width: 100%;
    margin-top: 20px;
    list-style-type: none;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    background: rgb(213, 213, 213);
    background: -moz-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
    background: -webkit-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
    background: -o-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
    background: -ms-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
    background: linear-gradient(to bottom, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
    z-index: 5;
}

.timeline .hexa {
    width: 16px;
    height: 10px;
    position: absolute;
    background: #21ba46;
    z-index: 5;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: -30px;
    margin-top: 0;
}

.timeline .hexa:before {
    border-bottom: 4px solid #21ba46;
    border-left-width: 8px;
    border-right-width: 8px;
    top: -4px;
}

.timeline .hexa:after {
    border-left-width: 8px;
    border-right-width: 8px;
    border-top: 4px solid #21ba46;
    bottom: -4px;
}

.direction-l,
.direction-r {
    float: none;
    width: 100%;
    text-align: center;
}

.flag-wrapper {
    text-align: center;
    position: relative;
}

.flag {
    position: relative;
    display: inline;
    background: rgb(255, 255, 255);
    font-weight: 600;
    z-index: 15;
    padding: 6px 10px;
    text-align: left;
    border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
    content: "";
    position: absolute;
    left: 50%;
    top: -15px;
    height: 0;
    width: 0;
    margin-left: -8px;
    border: 8px solid transparent;
    border-bottom-color: rgb(255, 255, 255);
    pointer-events: none;
}

.time-wrapper {
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
    line-height: 1em;
    vertical-align: middle;
    color: #fff;
}

.direction-l .time-wrapper {
    float: none;
}

.direction-r .time-wrapper {
    float: none;
}

.time {
    background: #21ba46;
    display: inline-block;
    padding: 8px;
}

.desc {
    position: relative;
    margin: 1em 0 0 0;
    padding: 1em;
    background: rgb(254, 254, 254);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
    z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
    position: relative;
    margin: 1em 1em 0 1em;
    padding: 1em;
    z-index: 15;
}

@media (min-width: 768px) {
    .timeline {
        width: 660px;
        margin: 20px auto 0;
    }

    .timeline li:after {
        content: "";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

    .timeline .hexa {
        left: -28px;
        right: auto;
        top: 8px;
    }

    .timeline .direction-l .hexa {
        left: auto;
        right: -28px;
    }

    .direction-l {
        position: relative;
        width: 310px;
        float: left;
        text-align: right;
    }

    .direction-r {
        position: relative;
        width: 310px;
        float: right;
        text-align: left;
    }

    .flag-wrapper {
        display: inline-block;
    }

    .flag {
        font-size: 16px;
    }

    .direction-l .flag:after {
        left: auto;
        right: -16px;
        top: 50%;
        margin-top: -8px;
        border: 8px solid transparent;
        border-left-color: rgb(254, 254, 254);
    }

    .direction-r .flag:after {
        top: 50%;
        margin-top: -8px;
        border: 8px solid transparent;
        border-right-color: rgb(254, 254, 254);
        left: -8px;
    }

    .time-wrapper {
        display: inline;
        vertical-align: middle;
        margin: 0;
    }

    .direction-l .time-wrapper {
        float: left;
    }

    .direction-r .time-wrapper {
        float: right;
    }

    .time {
        padding: 5px 10px;
    }

    .direction-r .desc {
        margin: 1em 0 0 0.75em;
    }
}

@media (min-width: 992px) {
    .timeline {
        width: 800px;
        margin: 20px auto 0;
    }

    .direction-l {
        position: relative;
        width: 380px;
        float: left;
        text-align: right;
    }

    .direction-r {
        position: relative;
        width: 380px;
        float: right;
        text-align: left;
    }
}