.path-frontpage #page #content {
    padding-left: 5px;
    flex: 2;
    width: 100%;
}

.path-frontpage #sidebar-first,
.path-frontpage #sidebar-second {
    padding: 0 5px;
    flex: 1;
}

/* F-1 */
.f-1 {
    width: 100%;
    margin-bottom: 10px;
}

.f-1 .views-row {
    width: 100%;
    position: relative;
}

.f-1 .views-row .image img {
    width: 100%;
    height: auto;
    display: block;
}

.f-1 .views-row .container {
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    background: 0 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .8) 80%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .8) 80%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .8) 80%, rgba(0, 0, 0, 1) 100%);
    padding: 20px 10px;
}

.f-1 .views-row .container .suptitle {
    color: #f5f5f5;
    font-weight: 500;
    font-size: var(--font12px);
}

.f-1 .views-row .container h2 a {
    height: auto;
    color: var(--colorwhite);
    font-weight: 500;
    font-size: 19px;
}

/* F-2 */
.f-2 {
    width: 100%;
}

.f-2 .views-content {
    display: flex;
    flex-direction: column;
}

.f-2 .views-content .views-row {
    width: 100%;
    position: relative;
    padding: 12.5px 10px;
    border-bottom: 1px solid #dee2e6;
}

.f-2 .views-content .views-row .image {
    float: right;
    margin-left: 10px;
    position: relative;
}

.f-2 .views-content .views-row .image img {
    display: block;
    width: 100%;
    height: auto;
}

.f-2 .views-content .views-row .title {
    margin-bottom: 10px;
}

.f-2 .views-content .views-row .title a {
    font-size: var(--font15px);
    width: 100%;
    font-weight: 700;
}

.f-2 .views-content .views-row .lead {
    margin-bottom: 10px;
}

.f-2 .views-content .views-row .lead * {
    width: 100%;
    font-size: var(--font12px);
    color: #888;
}

.f-2 .views-content .views-row .date {
    position: absolute;
    left: 10px;
    bottom: 5px;
}

.f-2 .views-content .views-row .date * {
    font-size: var(--font11px);
}

.f-3 {
    max-height: 800px;
}

.f-3 .views-content {
    counter-reset: section;
}

.f-3.auto-height .views-content {
    height: auto
}

.f-3 .views-content .views-row {
    position: relative;
}

.path-frontpage .f-3 .views-content .views-row {
    min-height: 48px;
}

.page-node-type-article .f-3 .views-content .views-row a {
    padding: 5px 0px 0px 10px;
}

.f-3 .views-content .views-row .title a {
    font-size: var(--font12px);
    width: 100%;
    text-align: right;
    display: block;
    text-indent: 10px;
    padding: 5px 0px 0px 10px;
}

.f-3.no-counter .views-content .views-row .title a {
    padding: 5px 0px 0px 10px;
}

.f-3 .views-content .views-row .title {
    padding: 0;
}

.f-3.no-counter .views-content .views-row .title a {
    padding-right: 10px;
}

.f-3.no-counter .views-content .views-row .title a:before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--coloraccent);
    position: absolute;
    top: 11px;
    right: 10px;
    border-radius: 7px;
}

.f-3.counter .views-content .views-row {
    padding: 0 51px 0 0;
    min-height: 45px;
}

.f-3 .views-content {
    counter-reset: section;
    overflow-y: scroll;
    height: 800px;
    padding: 0 8px;
}

.f-3.counter .views-content .views-row:before {
    counter-increment: section;
    content: counter(section);
    color: var(--coloraccent);
    position: absolute;
    right: 5px;
    padding: 8px;
    width: 20px;
    background-color: #f1f1f1;
    text-align: center;
    border-radius: 50%;
    font-size: var(--font16px);
    font-weight: 500;
}

.f-3 .views-content::-webkit-scrollbar {
    width: 3px;
}

/* Track */
.f-3 .views-content::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
.f-3 .views-content::-webkit-scrollbar-thumb {
    background: #e6e6e6;
    border-radius: 10px;
}

/* Handle on hover */
.f-3 .views-content::-webkit-scrollbar-thumb:hover {
    background: #d6d6d6;
}

.f-6 {
    width: 100%;
    background-color: #401a11;
    padding: 80px 0;
}

.f-6 .view.view-display-id-block_5 {
    display: flex;
    flex-direction: row;
}

.f-6 .view.view-display-id-block_5>.views-content {
    width: 65%;
    padding-left: 15px;
}

.f-6 .view.view-display-id-block_5>.views-content .views-row {
    width: 100%;
    position: relative;
}

.f-6 .view.view-display-id-block_5>.views-content .views-row .image img {
    width: 100%;
    height: auto;
    display: block;
}

.f-6 .view.view-display-id-block_5>.views-content .views-row .image a:before {
    content: '';
    background-image: -webkit-linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0) 100%);
    background-image: -moz-linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0) 100%);
    background-image: -ms-linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0) 100%);
    opacity: .702;
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    width: 100%;
}

.f-6 .view.view-display-id-block_5>.views-content .views-row .title {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 25px;
    width: 100%;
}

.f-6 .view.view-display-id-block_5>.views-content .views-row .title * {
    color: var(--colorwhite);
    font-size: var(--font19px);
}

.f-6 .view.view-display-id-block_5>.views-content .views-row .image::before {
    content: '';
    pointer-events: none;
    border-left: solid 30px #fff;
    border-top: solid 20px transparent;
    border-bottom: solid 20px transparent;
    border-left-width: 25px;
    border-top-width: 15px;
    border-bottom-width: 15px;
    position: absolute;
    top: 50%;
    right: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-right: -20px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.f-6 .view.view-display-id-block_5>.views-content .views-row .image::after {
    content: '';
    pointer-events: none;
    border-radius: 50%;
    border: 8px solid #fff;
    border-width: 6px;
    position: absolute;
    top: 50%;
    right: 50%;
    width: 68px;
    height: 68px;
    margin-right: -34px;
    margin-top: -34px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.f-6 .attachment {
    width: 35%;
}

.f-6 .attachment .views-content {
    counter-reset: section;
}

.f-6 .attachment .views-content .views-row {
    width: 100%;
    display: flex;
    position: relative;
    padding-right: 30px;
    margin-bottom: 7px;
    overflow: hidden;
}

.f-6 .attachment .views-content .views-row::before {
    counter-increment: section;
    content: counter(section);
    display: inline-block;
    color: var(--colorwhite);
    position: absolute;
    right: 0;
    padding: 30px 0;
    width: 30px;
    background-color: #ffffff70;
    text-align: center;
    font-size: var(--font18px);
    font-weight: 500;
    z-index: 99;
    height: 100%;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.f-6 .attachment .views-content .views-row .image {
    width: 100%;
    position: relative;
    max-width: 151px;
    margin-left: 10px;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    overflow: hidden;
}

.f-6 .attachment .views-content .views-row .image a:before {
    content: '';
    background-image: -webkit-linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0) 100%);
    background-image: -moz-linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0) 100%);
    background-image: -ms-linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0) 100%);
    opacity: .702;
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 666;
}

.f-6 .attachment .views-content .views-row .image::before {
    content: '';
    pointer-events: none;
    border-left: solid 25px #fff;
    border-top: solid 15px transparent;
    border-bottom: solid 15px transparent;
    border-left-width: 20px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    position: absolute;
    top: 50%;
    right: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-right: -15px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.f-6 .attachment .views-content .views-row .image::after {
    content: '';
    pointer-events: none;
    border-radius: 50%;
    border: 8px solid #fff;
    border-width: 4px;
    position: absolute;
    top: 50%;
    right: 50%;
    width: 55px;
    height: 55px;
    margin-right: -30px;
    margin-top: -28px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.f-6 .attachment .views-content .views-row .image img {
    width: 100%;
    height: auto;
    display: block;
}

.f-6 .attachment .views-content .views-row .title a {
    width: 100%;
    color: var(--colorwhite);
    font-size: var(--font14px)
}

.path-frontpage .region-content-second,
.path-frontpage .region-content-third {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.f-5 {
    flex: 0 0 32.5%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.f-5 .content-wrapper {
    border-radius: 7px;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 20px 0 rgb(0 0 0 / 8%);
    -moz-box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .08);
    box-shadow: 0 2px 20px 0 rgb(0 0 0 / 8%);
    background-color: var(--colorwhite);
}

.f-5 .node-list-one>.views-element-container .views-row .image {
    position: relative;
}

.f-5 .node-list-one>.views-element-container .views-content .views-row .image img {
    width: 100%;
    height: auto;
    display: block;
}

.f-5 .node-list-one>.views-element-container .views-row .title {
    width: 100%;
    min-height: 48px;
    font-size: var(--font17px);
}

.f-5 .node-list-one>.views-element-container .views-row .lead {
    margin-bottom: 15px;
}

.f-5 .node-list-one>.views-element-container .views-row .lead * {
    margin: 0;
    line-height: 25px;
    font-size: var(--font13px);
    color: #888;
    text-align: justify;
}

.f-5 .node-list-one>.views-element-container .views-row .title,
.f-5 .node-list-one>.views-element-container .views-row .lead {
    padding: 0 10px;
}

.f-5 .node-list-one>.views-element-container .views-row .title,
.f-5 .node-list-one>.views-element-container .views-row .lead,
.f-5 .node-list-one>.views-element-container .views-row .image,
.f-8 .views-content .views-row .image,
.f-8 .views-content .views-row .title {
    margin-bottom: 15px
}


.f-5 .node-list-one>.views-content {
    padding-bottom: 15px;
    border-top: 1px solid #e9e9e9;
    padding-top: 15px;
}

.f-5 .node-list-one>.views-content .title a {
    font-size: var(--font13px);
    position: relative;
    padding: 5px 30px 2px 0;
    display: block;
}

.f-5 .node-list-one>.views-content .title a:before {
    content: '';
    width: 5px;
    height: 5px;
    float: right;
    background: var(--coloraccent);
    position: absolute;
    top: 12px;
    right: 15px;
    border-radius: 7px;
}

.f-7 {
    width: 100%;
    background: url(https://patoghekhabar.com/sites/all/themes/ghost/images/tejarat-special4-news-back3.jpg) center/cover no-repeat #004a8f;
    padding: 80px 0;
}

.f-7 .views-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.f-7 .views-content .views-row {
    flex: 0 0 32.5%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    min-height: 310px;
}

.f-7 .views-content .views-row .image {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.f-7 .views-content .views-row .image img {
    width: 100%;
    height: auto;
    display: block
}

.f-7 .views-content .views-row .title * {
    color: var(--colorwhite);
    font-size: var(--font15px);
}

.f-7 .views-content .views-row .image a:before {
    content: '';
    z-index: 99;
    background-image: -webkit-linear-gradient(90deg, #000 0, transparent 100%);
    background-image: -moz-linear-gradient(90deg, #000 0, transparent 100%);
    background-image: -ms-linear-gradient(90deg, #000 0, transparent 100%);
    opacity: .602;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    background-image: -webkit-linear-gradient(90deg, #2180f6 0, rgba(242, 35, 35, .5) 100%);
    opacity: 0.4;
}

.f-7 .views-content .views-row:nth-child(1) .image a:before {
    background-image: -webkit-linear-gradient(90deg, #63b0c7 0, rgba(161, 160, 160, 0.5) 100%);
}

.f-7 .views-content .views-row:nth-child(2) .image a:before {
    background-image: -webkit-linear-gradient(90deg, #5f1aaa 0, rgba(0, 0, 0, 0.5) 100%);
}

.f-7 .views-content .views-row:nth-child(3) .image a:before {
    background-image: -webkit-linear-gradient(90deg, #aa111f 0, rgba(0, 0, 0, 0.5) 100%);
}

.f-7 .views-content .views-row:nth-child(4) .image a:before {
    background-image: -webkit-linear-gradient(90deg, #d5cf10 0, rgba(0, 0, 0, 0.5) 100%);
}

.f-7 .views-content .views-row:nth-child(5) .image a:before {
    background-image: -webkit-linear-gradient(90deg, #47db17 0, rgba(0, 0, 0, 0.5) 100%);
}

.f-7 .views-content .views-row:nth-child(6) .image a:before {
    background-image: -webkit-linear-gradient(90deg, #e47312 0, rgba(0, 0, 0, 0.5) 100%);
}


.f-8 {
    width: 100%;
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.f-8 header {
    flex: 0 0 100%;
}

.f-8 .views-content {
    flex: 0 0 100%;
}

.f-8 .block-title span {
    padding-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.f-8 .views-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.f-8 .views-content .views-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-basis: 24%;
    margin-bottom: 20px;
}


.f-8.service-block .views-content .views-row {
    flex-basis: 33.3%;
    padding: 0 1%;
}

.f-8.service-block .views-content {
    justify-content: flex-start;
}

.f-8 .views-content .views-row .image {
    width: 100%;
    position: relative;
}

.f-8 .views-content .views-row .image a:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%, transparent 65%, rgba(0, 0, 0, .25));
    display: block;
    position: absolute;
}

.f-8 .views-content .views-row .image img {
    width: 100%;
    height: auto
}

.f-8 .views-content .views-row .title a {
    font-size: var(--font15px);
}

.f-8 .views-content .views-row .lead * {
    width: 100%;
    font-size: var(--font12px);
    color: var(--colorlead);
}

.f-8 .views-content .views-row .image a:after {
    content: '';
    background: url(/themes/custom/pelican/images/play.png);
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 99;
    background-repeat: no-repeat;
    background-size: cover;
}