/*
Template Name :  Mohammadi Building Template
Author        : Zahra Saadati

*********** Table Of Content ***************

#0.Persian Font
#1. Typography
#2. General
#3. Pre Loader
#4. Navbar
#5. Home
#6. About Me
#7. Skills
#8. Experience
#9. Education
#10. Portfolio
#11. Blog
#12. Contact me
#13. Responsive Design

*/


/******************* Typography ******************/

* {
    padding: 0;
    margin: 0;
    direction: rtl;
    font-family: Vazirmatn, sans-serif;
}

img {
    border: none;
    outline: none;
    max-width: 100%;
}

a,
a:active,
a:focus,
a:hover {
    outline: none;
    text-decoration: none;
}

a {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    color: #333;
}

a:hover {
    color: #d4a373;
}

input:focus,
textarea:focus,
select:focus {
    outline: none!important;
    box-shadow: none;
}

ul {
    margin: 0;
    list-style-type: none;
}

h1 {
    font-size: 1.7rem;
    color: #333;
    font-weight: 800;
    line-height: normal;
    margin: 15px 0 15px;
    font-family: 'Vazirmatn', sans-serif;
    text-transform: uppercase;
}

h2 {
    font-size: 0.99rem;
    font-family: 'Vazirmatn', sans-serif;
    color: #333;
    font-weight: 800;
    line-height: normal;
    margin: 10px 0 15px;
    position: relative;
}

h3 {
    font-size: 0.93rem;
    color: #333;
    font-weight: 400;
    line-height: normal;
    margin: 10px 0 15px;
    position: relative;
    text-transform: capitalize;
    font-family: 'Vazirmatn', sans-serif;
}

h4 {
    font-size: 0.90rem;
    color: #333;
    font-weight: 500;
    line-height: normal;
    position: relative;
    text-transform: capitalize;
    font-family: 'Vazirmatn', sans-serif;
    margin: 15px 0 0;
}

h1 span {
    color: #d4a373;
}

p {
    font-size: 0.8rem;
    margin: 0 0 15px;
    color: #333;
    font-weight: 400;
    line-height: 23px;
}

.btn {
    font-family: "Vazirmatn", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
    width: auto;
    line-height: 33px;
    padding: 0 25px;
    display: inline-block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.btn::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.btn.btn-primary {
    background: #d4a373;
    color: #fff;
    border: 1px solid #d4a373;
}

.btn.btn-primary:hover:before,
.btn.btn-primary:focus:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.btn.btn-default {
    border: 1px solid #d4a373;
    background: none;
    color: #d4a373;
}

.btn.btn-default:hover {
    background: #d4a373;
    border-color: #d4a373;
    color: #fff;
}

.btn.btn-primary:hover {
    background: none;
    border-color: #d4a373;
    color: #d4a373;
}


/****************************** General *****************************/

body {
    font-family: 'Vazirmatn', sans-serif;
    color: #333;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    overflow-y: hidden;
    overflow-x: hidden;
    direction: rtl;
}

body,
html {
    height: 100%;
}

.container {
    width: 100%;
    max-width: 1170px;
    padding: 0;
}

section {
    width: 100%;
    float: left;
    height: auto;
}

.title {
    width: 100%;
    float: left;
    height: auto;
    margin: 0 0 35px;
}

.title h1 {
    position: relative;
    padding-bottom: 10px;
}

.title h1::before {
    width: 65px;
    height: 2px;
    position: absolute;
    left: 50%;
    bottom: 0;
    content: '';
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #d4a373;
}

.content.no-padding {
    padding: 0;
}

.section-padding {
    padding: 60px 0;
    width: 100%;
    float: left;
}


/*================ Pre Loader ======================*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fdfcfa;
    z-index: 13000;
    height: 100%;
}

.preloader_image {
    width: 130px;
    height: 130px;
    position: absolute;
    left: 50%;
    top: 50%;
    background: url(img/loader.gif) no-repeat center center;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


/*================= Navbar ===============*/

#menu {
    position: fixed;
    z-index: 100;
    color: #f8f8f8;
    background: #6c584c;
    width: 220px;
    text-align: center;
    top: 0px;
    height: 100%;
    z-index: 999;
}

.navbar-default {
    background: none;
    border: none;
    margin: 0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

a.mobile-menu-opener {
    position: absolute;
    left: -40px;
    width: 40px;
    text-align: center;
    line-height: 35px;
    color: #fff;
    font-size: 18px;
    background: #6c584c;
    top: 20px;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    display: none;
}

a.mobile-menu-opener:hover {
    color: #d4a373;
}

#navbar {
    position: absolute;
    top: 100px;
    left: 0px;
    right: 0px;
    bottom: 10px;
}

.navbar-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.navbar-nav>li {
    width: 100%;
}

.navbar-default .navbar-nav>li>a {
    padding: 10px 15px;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    text-transform: uppercase;
    font-size: 15px;
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    color: #d4a373;
    background: none;
}

.logo-container {
    max-width: 100%;
    text-align: center;
}

.logo-container img {
    max-width: 70%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.logo-container a {
    display: inline-block;
    height: auto;
    float: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.logo-container a:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.logopage-container {
    max-width: 100%;
    text-align: left;
    padding: 10px;
}

.logopage-container img {
    max-width: 25%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.logopage-container a {
    display: inline-block;
    height: auto;
    float: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.logopage-container a:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}


/*=========================== Home ===============================*/

.content-wrapper {
    width: 100%;
    float: left;
    height: auto;
    overflow: hidden;
}

.content-inner {
    width: 10000px;
    position: absolute;
    height: 100%;
    overflow: hidden;
    padding-left: 220px;
}

.content {
    width: 880px;
    overflow-y: scroll;
    -moz-overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    float: left;
    padding: 40px 50px;
    outline: none;
}

section:nth-child(2n) {
    background: #f5f5f5;
}

.jspPane {
    width: 100%!important;
}

.jspDrag {
    background: rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.jspDrag,
.jspPane {
    transition: top 0.3s ease-out;
}

.jspTrack {
    background: rgba(202, 202, 202, 0.2);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.jspVerticalBar {
    right: 1px;
    width: 4px;
}

.content:hover .jspVerticalBar,
.navbar:hover .jspVerticalBar {
    opacity: 1;
}

.banner {
    width: 100%;
    float: left;
    height: 650px;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.banner::before {
    width: 100%;
    height: 100%;
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-page {
    width: 100%;
    float: left;
    height: 650px;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.ol-cssstyle {
    list-style-type: circle;
    margin-right: 40px;
}

.ol-cssstyle2 {
    list-style-type: disc;
    margin-right: 10px;
}

.tvroom-img1 {
    height: auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin: 3px;
    padding: 3px;
}

.tvroom-img1:hover {
    box-shadow: 0 0 2px 1px rgba(146, 89, 29, 0.5);
}

.gharniz-model {
    border: 2px solid #ddd;
    border-radius: 20px;
    padding: 3px;
    height: fit-content;
}

.gharniz-model {
    box-shadow: 0 0 2px 1px rgba(146, 89, 29, 0.5);
}

.cabinet-img {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 20px;
}

.cabinet-img:hover {
    box-shadow: 0 0 2px 1px rgba(146, 89, 29, 0.5);
}

.caption-info {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 40px;
}

.caption-info h1 {
    color: #fff;
    letter-spacing: 4px;
    font-weight: 700;
}

.caption-info h2 {
    color: #fff;
}

.cd-words-wrapper {
    display: inline-block;
    position: relative;
    text-align: right;
}

.cd-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
}

.cd-words-wrapper b i,
.cd-words-wrapper b em {
    font-style: normal;
}

.cd-words-wrapper b.is-visible {
    position: relative;
}

.no-js .cd-words-wrapper b {
    opacity: 0;
}

.no-js .cd-words-wrapper b.is-visible {
    opacity: 1;
}

.cd-headline.clip span {
    display: inline-block;
}

.cd-headline.clip .cd-words-wrapper {
    overflow: hidden;
    vertical-align: top;
    color: #fff;
}

.cd-headline.clip .cd-words-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: #d4a373;
}

.cd-headline.clip b {
    opacity: 0;
}

.cd-headline.clip b.is-visible {
    opacity: 1;
}

b {
    font-weight: 500!important;
}

.social-link {
    width: 100%;
    float: left;
    margin: 20px 0 0;
}

.social-link li {
    float: left;
    width: auto;
    margin: 0 15px 0 0;
}

.social-link li a {
    display: block;
}

.social-link li a .fa {
    width: 34px;
    text-align: center;
    vertical-align: middle;
    line-height: 34px;
    background: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #d4a373;
    font-size: 16px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.social-link li a .fa:hover {
    background: #d4a373;
    color: #fff;
}


/*========================= About Me =======================*/

.section-title {
    width: 100%;
    float: left;
    height: auto;
    margin: 0 0 20px;
}

.section-title h1 {
    position: relative;
    padding-bottom: 5px;
}

.section-title h1::before {
    position: absolute;
    right: 0;
    bottom: 0;
    content: '';
    background: #d4a373;
    width: 45px;
    height: 2px;
}

.panel-box {
    width: 100%;
    float: left;
    /*height: 385px;*/
    padding: 20px 20px 25px;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0 0 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}

.panel-box:hover {
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.my-interests.panel-box {
    margin: 0;
}

.panel-box2 {
    width: 100%;
    float: left;
    height: 360px;
    padding: 20px 20px 25px;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0 0 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}

.panel-box2:hover {
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.my-interests.panel-box2 {
    margin: 0;
}

.panel-box3 {
    width: 100%;
    float: left;
    height: auto;
    padding: 20px 20px 25px;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0 0 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}

.panel-box3:hover {
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.my-interests.panel-box3 {
    margin: 0;
}

.basic-info {
    width: 100%;
    float: right;
    height: auto;
}

.basic-info li {
    width: 100%;
    float: left;
    margin: 0 0 9px;
}

.basic-info li:last-child {
    margin: 0;
}

.basic-info li span {
    float: right;
    width: 100px;
    height: auto;
    font-weight: 500;
    font-size: 14px;
}

.basic-info li span.info {
    font-weight: 400;
    float: none;
    width: auto;
    display: table-cell;
    font-size: 13px;
}

.professional-profile .btn.btn-primary {
    margin-right: 10px;
}

.my-interests ul {
    width: 100%;
    float: left;
    text-align: center;
    margin: 10px 0 0;
}

.my-interests ul li {
    width: 20%;
    float: left;
    position: relative;
    vertical-align: middle;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.my-interests .fa {
    display: inline-block;
    font-size: 22px;
    margin: 0 0 10px;
    width: 60px;
    line-height: 58px;
    border: 1px solid #dcdcdc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.my-interests ul li span {
    text-transform: uppercase;
    display: block;
    font-size: 14px;
}

.my-interests ul li:hover {
    color: #d4a373;
    cursor: pointer;
}

.my-interests ul li:hover .fa {
    border-color: #d4a373;
}


/*========================= Skills =========================*/

.progress-block {
    width: 100%;
    float: left;
    height: auto;
    margin: 10px 0 0;
}

.single-progressbar {
    width: 100%;
    float: left;
    height: auto;
    margin: 0 0 25px;
}

.single-progressbar {
    position: relative;
}

.single-progressbar:last-child {
    margin: 0;
}

.single-progressbar .skill-text {
    position: relative;
    z-index: 1;
    font-weight: 400;
    font-size: 13px;
    margin: 0 0 5px;
}

.single-progressbar .skill-text span {
    position: relative;
    top: -0;
    left: 0;
    font-weight: 300;
    color: #333;
    line-height: 18px;
    font-size: 13px;
    text-transform: capitalize;
}

.single-progressbar .skill-text .skill-per {
    position: absolute;
    top: 0;
    left: inherit;
    right: 0px;
    font-size: 13px;
    font-weight: 300;
    color: #333;
    line-height: 18px;
}

.single-progressbar .progress {
    box-shadow: none;
    height: 4px;
    position: relative;
    margin: 0px;
    border: 1px solid #d4a373;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.single-progressbar .progress .progress-bar {
    background-color: #d4a373;
    box-shadow: none;
    -webkit-transition: all 1.5s ease-in-out;
    -o-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease-in-out;
}

.service-info {
    width: 100%;
    float: left;
    height: auto;
    text-align: center;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}

.service-info:hover {
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.counter {
    font-size: 20px;
    display: inline-block;
    margin: 0 0 5px;
}


/*========================= Experience / Education =====================*/

.timeline {
    list-style: none;
    position: relative;
    float: left;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background: #d4a373;
    left: 50%;
    margin-left: -1px;
    opacity: 0.25;
}

.timeline>li {
    margin-bottom: 60px;
    position: relative;
    width: 50%;
    float: left;
    clear: left;
}

.timeline>li:last-child {
    margin: 0;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    width: calc(100% - 25px);
    width: -moz-calc(100% - 25px);
    width: -webkit-calc(100% - 25px);
    float: left;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    position: relative;
    padding: 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.timeline>li>.timeline-panel:hover {
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.timeline>li>.timeline-panel h2 {
    margin: 0 0 5px;
}

.timeline-heading h3 {
    margin: 0;
}

.timeline>li>.timeline-panel .date {
    display: block;
    margin: 0 0 5px;
}

.timeline-body p {
    margin: 0;
}

.timeline-badge .fa {
    color: #d4a373;
    opacity: 0.6;
}

.timeline>li>.timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #dcdcdc;
    border-right: 0 solid #dcdcdc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline>li>.timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #ffffff;
    border-right: 0 solid #ffffff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline>li>.timeline-badge {
    color: #ffffff;
    width: 24px;
    height: 24px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 16px;
    right: -12px;
    z-index: 100;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge>a {
    color: #ffffff;
}

.timeline-badge a:hover {
    color: #dcdcdc;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-heading h4 {
    font-weight: 400;
    padding: 0 15px;
    color: #6c584c;
}

.timeline-body>ul {
    padding: 10px 15px;
    margin-bottom: 0;
}

.timeline-footer p {
    margin-bottom: 0;
}

.timeline-footer>a {
    cursor: pointer;
    text-decoration: none;
}

.timeline>li.timeline-inverted {
    float: right;
    clear: right;
}

.timeline>li:nth-child(2) {
    margin-top: 60px;
}

.timeline>li.timeline-inverted>.timeline-badge {
    left: -12px;
    right: auto;
}

.no-float {
    float: none !important;
}


/*========================= Portfolio ======================*/

#filter-list {
    width: 100%;
    float: left;
    height: auto;
    text-align: center;
    margin: 0px 0 35px;
    border-bottom: 1px solid #d4a373;
}

#filter-list li {
    display: inline-block;
    cursor: pointer;
    margin: 0 20px;
    font-weight: 400;
    color: #333;
    font-size: 14px;
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    -ms-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
    position: relative;
    padding-bottom: 5px;
    font-family: 'Vazirmatn', sans-serif;
}

#filter-list li.active::before,
#filter-list li.active:focus::before,
#filter-list li.active:hover::before,
#filter-list li:hover::before {
    content: "";
    position: absolute;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 3px solid #d4a373;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    -ms-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
}

#filter-list li.active,
#filter-list li.active:focus,
#filter-list li.active:hover,
#filter-list li:hover {
    color: #d4a373;
}

.portfolio_items {
    width: auto;
    float: left;
    height: auto;
    margin: 0 -10px;
}

.portfolio_items li {
    width: 33.33%;
    float: left;
    height: auto;
    padding: 0 10px 0px;
    margin: 0 0 20px;
    display: none;
}

.portfolio_items li .post_thumb {
    width: 100%;
    overflow: hidden;
    height: auto;
    float: left;
    position: relative;
}

.portfolio_items li .post_thumb>img {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

.portfolio_items li:hover .post_thumb>img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.portfolio_items li .post_thumb::before {
    top: 50%;
    bottom: 50%;
    left: -35%;
    right: -35%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background: rgba(204, 213, 174, 0.572);
    position: absolute;
    content: '';
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    z-index: 1;
}

.portfolio_items li:hover .post_thumb::before {
    top: -50%;
    bottom: -50%;
}

.portfolio-overlay {
    bottom: 0;
    color: #ffffff;
    left: 0;
    padding: 30px;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    text-align: center;
    z-index: 2;
}

.portfolio_items li:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-inner {
    width: 100%;
    top: 50%;
    position: absolute;
    left: 0;
    text-align: center;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.portfolio_items h3 {
    color: #fff;
    font-weight: 400;
}

.portfolio_items li a {
    width: auto;
    height: auto;
    position: relative;
    display: inline-block;
    position: relative;
    margin: 0 5px;
}

.portfolio-overlay .fa {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    width: 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.portfolio-overlay .fa:hover {
    background: #fff none repeat scroll 0 0;
    color: #d4a373;
}

.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination {
    margin: 0;
}

.pagination>li>a,
.pagination>li>span {
    color: #333;
    font-size: 15px;
    line-height: 15px;
    padding: 10px 15px 10px;
    vertical-align: middle;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    background-color: #d4a373;
    border-color: #d4a373;
    color: #fff;
}


/****************************** Blog **************************************/

.post {
    width: 100%;
    float: left;
    height: auto;
}

.post-thumb {
    width: 100%;
    float: left;
    height: auto;
    position: relative;
}

.post {
    width: 100%;
    float: left;
    height: auto;
    margin: 0 0 30px;
}

.post-thumb {
    width: 100%;
    float: left;
    height: auto;
    position: relative;
    overflow: hidden;
}

.post-thumb a>img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.post:hover .post-thumb a>img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.post:hover .post-overlay {
    opacity: 1;
    visibility: visible;
}

.post-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    line-height: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.post-overlay .fa {
    position: absolute;
    top: 40%;
    height: auto;
    background: #fff;
    left: 50%;
    color: #d4a373;
    font-size: 20px;
    width: 42px;
    line-height: 42px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.post:hover .fa {
    top: 50%;
}

.post-bottom {
    background: #fafafa none repeat scroll 0 0;
    float: left;
    /*height: 200px;*/
    padding: 20px 20px;
    position: relative;
    width: 100%;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.post:hover .post-bottom {
    border-color: #d4a373;
}

.post-bottom h4 {
    color: #333;
    margin: 0 0 15px;
}

.post-meta {
    width: 100%;
    float: right;
    height: auto;
    margin: 0 0 10px;
}

.post-meta ul li {
    float: right;
    font-weight: 400;
    font-size: 13px;
}

.post-meta ul li {
    margin-left: 10px;
}

.post-meta ul li:last-child {
    margin: 0;
}

.post-bottom p {
    margin: 0;
}

.post-meta .fa {
    font-size: 15px;
}

.post-meta a {
    color: #333;
}

.post-meta a:hover,
.post-meta a:hover fa {
    color: #d4a373;
}


/*============================= Contact me =============================*/

.map {
    width: 100%;
    height: 400px;
    float: left;
}

.contact-form {
    width: 100%;
    float: left;
    height: auto;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#msgSubmit {
    float: right;
    margin: 5px 0 0;
    font-size: 20px;
}

.form-control {
    height: 35px;
    background: none;
    padding: 5px 15px 5px;
    border-bottom: 1px solid #dcdcdc;
    color: #333;
    box-shadow: none!important;
    border-radius: 3px;
    font-size: 13px;
}

.form-control:focus {
    border-color: #d4a373;
}

textarea.form-control {
    height: 100px;
}

.form-control::-moz-placeholder {
    color: #333;
}

.contact-right {
    width: 100%;
    float: left;
    height: auto;
}

#contact li+li {
    margin: 30px 0 0px;
    width: 100%;
    float: left;
}

.contact-list {
    width: 100%;
    float: right;
    height: auto;
    text-align: right;
    color: #333;
}

.contact-list .fa {
    font-size: 18px;
    color: #d4a373;
    width: 40px;
    line-height: 40px;
    background: #f5f5f5;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    float: right;
}

.contact-info {
    width: 100%;
    height: auto;
    display: table-cell;
    padding-right: 10px;
    vertical-align: middle;
}

.pagination>li>a {
    float: right !important;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.contact-info p {
    color: #333;
    margin: 0;
    line-height: 20px;
}

.contact-info a {
    color: #333;
}


/*==================== Vertical scrolling ================*/

body.vertical {
    overflow-y: visible;
}

.vertical .caption-info {
    padding: 0;
}

.vertical #menu {
    right: -220px;
}

.vertical a.mobile-menu-opener {
    display: block;
}

.vertical #home {
    padding: 0;
}

.vertical .content-inner {
    padding: 0;
    width: 100%;
    overflow: visible;
    height: auto;
}

.vertical .content {
    overflow: hidden;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    height: auto;
}

.vertical .container {
    padding: 0 15px;
    width: 1170px;
}

.vertical .portfolio_items li {
    width: 25%;
}

footer {
    padding: 15px 0;
    background: #131313;
    float: left;
    width: 100%;
    height: auto;
}

footer p {
    margin: 0;
    color: #fff;
    opacity: 0.9;
}

.back-top {
    width: auto;
    float: right;
    height: auto;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 999;
}

.back-top a {
    display: inline-block;
    text-align: center;
}

.back-top i {
    background: #d4a373 none repeat scroll 0 0;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    height: 40px;
    line-height: 40px;
    width: 40px;
}


/*=================== Responsive Design ==================*/

@media only screen and (max-width: 479px) {
    .banner-page {
        height: 450px!important;
    }
    .portfolio_items li {
        width: 100%;
    }
    .service-info {
        padding: 15px;
    }
    .my-interests ul li {
        width: 100%;
        margin: 0 0px 15px 0;
    }
    .my-interests ul li:last-child {
        margin: 0;
    }
    .professional-profile .btn.btn-default {
        margin-top: 10px;
        vertical-align: bottom;
    }
    .banner {
        height: 380px;
    }
    .caption-info {
        padding: 20px;
    }
    #filter-list li {
        width: 100%;
        margin: 0 0 8px;
    }
    #filter-list li.active::before,
    #filter-list li.active:focus::before,
    #filter-list li.active:hover::before,
    #filter-list li:hover::before {
        border: none;
    }
    .map {
        height: 300px;
    }
    .vertical .portfolio_items li {
        width: 100%;
    }
    #msgSubmit {
        float: right;
        margin: 15px 0 0;
        font-size: 20px;
        width: 100%;
        text-align: right;
    }
}

@media only screen and (min-width: 480px) and (max-width:639px) {
    .banner {
        height: 500px;
    }
    .portfolio_items li {
        width: 50%;
    }
    #filter-list li {
        margin: 0 10px;
    }
    .my-interests ul li {
        width: auto;
        margin: 0 15px 15px 0;
    }
    .my-interests ul li:last-child {
        margin: 0;
    }
    .vertical .portfolio_items li {
        width: 50%;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (max-width: 639px) {
    .my-interests ul li span {
        font-size: 13px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 8px 15px;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (min-width: 640px) and (max-width:767px) {
    .vertical .portfolio_items li {
        width: 33.33%;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (max-width: 767px) {
    body {
        overflow-y: visible;
    }
    a.mobile-menu-opener {
        display: block;
    }
    #menu {
        left: -220px;
    }
    #home {
        padding: 0;
    }
    .content-inner {
        padding: 0;
        width: 100%;
        overflow: visible;
        height: auto;
    }
    .content {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        overflow: hidden;
    }
    .service-info {
        margin: 0 0 30px;
    }
    ul.timeline:before {
        left: 0px;
    }
    ul.timeline>li {
        margin-bottom: 0px;
        position: relative;
        width: 100%;
        float: left;
        clear: left;
    }
    ul.timeline>li>.timeline-panel {
        width: calc(100% - 30px);
        width: -moz-calc(100% - 30px);
        width: -webkit-calc(100% - 30px);
    }
    ul.timeline>li>.timeline-badge {
        left: -12px;
        margin-left: 0;
        top: 16px;
    }
    ul.timeline>li>.timeline-panel {
        float: right;
    }
    ul.timeline>li>.timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline>li>.timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    .timeline>li.timeline-inverted {
        float: left;
        clear: left;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .timeline>li.timeline-inverted>.timeline-badge {
        left: -12px;
    }
    ul.timeline>li:last-child {
        margin-bottom: 0;
    }
    .vertical .container {
        width: 100%;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .vertical .banner {
        height: 650px;
    }
    .banner {
        height: 940px;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .vertical .banner {
        height: 650px;
    }
    .banner {
        height: 685px;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (min-width: 768px) and (max-width:991px) {
    .content {
        padding: 40px 30px;
        width: 490px;
    }
    .portfolio_items li {
        width: 50%;
    }
    .my-interests ul li span {
        font-size: 12px;
    }
    .service-info {
        margin: 0 0 30px;
    }
    #filter-list li {
        margin: 0 15px;
    }
    .panel-box {
        margin: 0 0 30px;
        height: auto!important;
    }
    .panel-box2 {
        margin: 0 0 30px;
    }
    .vertical .container {
        width: 750px;
    }
    .vertical .portfolio_items li {
        width: 33.33%;
    }
    .vertical .basic-info li {
        margin: 0 0 10px;
    }
    .vertical .basic-info li:last-child {
        margin: 0 0 0px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .content {
        padding: 40px;
        width: 690px;
    }
    .portfolio_items li {
        width: 50%;
    }
    .vertical .container {
        width: 970px;
    }
    .panel.box {
        height: auto!important;
    }
}

@media only screen and (min-width: 1200px) {
    .vertical .professional-profile p {
        margin: 0 0 18px;
    }
}

.dropdown-menu-item {
    list-style: inside;
    padding: 1rem;
}

.dropdown-menu-item a {
    color: #fff;
}