@use '../../utils' as *; /*----------------------------------------*/ /* 5.1 blog-details /*----------------------------------------*/ .blog-details{ &__content{ &-thumb{ position: relative; img{ width: 100%; height: 100%; } &-date{ position: absolute; background-color: var(--rr-theme-primary); color: var(--rr-common-white); padding: 12px 20px; display: inline-flex; align-items: center; bottom: 0; right: 0; transition: all 0.3s ease-in-out; &:hover{ background-color: var(--rr-heading-primary); } } } &-meta{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; li{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-style: normal; font-weight: 400; font-size: 16px; line-height: 27px; list-style: none; a{ display: flex; align-items: center; gap: 5px; } span{ display: flex; align-items: center; gap: 5px; } } } &-text{ &-title{ font-family: var(--rr-ff-heading); color: var(--rr-heading-primary); font-weight: var(--rr-fw-bold); font-size: var(--rr-fs-h2); line-height: var(--rr-lh-h2); font-style: normal; @media #{$md} { font-size: 40px; line-height: 50px; } @media #{$sm} { font-size: 35px; line-height: 45px; } @media #{$xs} { font-size: 25px; line-height: 35px; } } &-paragraph{ margin-bottom: 10px !important; } p{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-weight: var(--rr-fw-regular); line-height: var(--rr-lh-h5); font-size: 16px; font-style: normal; margin-bottom: 0; } } &-list{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; row-gap: 15px; ul{ li{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-style: normal; font-weight: 400; font-size: 16px; line-height: 27px; display: flex; align-items: center; gap: 15px; list-style: none; } } } .dec{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-weight: var(--rr-fw-regular); line-height: var(--rr-lh-h5); font-size: 16px; font-style: normal; margin-bottom: 0; } .title{ font-family: var(--rr-ff-heading); color: var(--rr-heading-primary); font-weight: var(--rr-fw-regular); font-style: normal; font-size: 36px; line-height: 36px; margin-top: 30px; margin-bottom: 20px; } } &__middel{ &-img{ display: flex; align-items: center; gap: 30px; } } &__social{ padding: 20px 0px 20px 0px; border-top: 1px solid #E7E7EB; border-bottom: 1px solid #E7E7EB; flex-wrap: wrap; column-gap: 10px; row-gap: 20px; &-tags{ display: flex; align-items: center; gap: 20px; flex-wrap: wrap; a{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-weight: var(--rr-fw-regular); line-height: var(--rr-lh-h5); font-size: 16px; font-style: normal; border: 1px solid #E7E7EB; border-radius: 999px; padding: 5px 20px; transition: .3s; &:hover{ background: var(--rr-theme-primary); color: var(--rr-common-white); } } .title{ font-family: var(--rr-ff-heading); color: var(--rr-heading-primary); font-weight: var(--rr-fw-regular); font-style: normal; font-size: 24px; line-height: 26px; margin-bottom: 0; } } &-media{ display: flex; align-items: center; gap: 10px; a{ background: #F7F7F7; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease-in-out; i{ color: var(--rr-heading-primary); } &:hover{ border: 1px solid var(--rr-theme-primary); } } } } &__wrapper{ margin-top: 40px; border-radius: 20px; @media #{$sm, $xs} { padding: 20px; } h3{ font-family: var(--rr-ff-heading); color: var(--rr-heading-primary1); font-weight: var(--rr-fw-regular); font-style: normal; font-size: 36px; line-height: 36px; @media #{$xs} { font-size: 25px; line-height: 35px; } } p{ font-family: var(--rr-ff-body); color: var(--rr-heading-primary); font-weight: var(--rr-fw-regular); line-height: var(--rr-lh-h5); font-size: 16px; margin-bottom: 0; font-style: normal; } &-from{ &-input{ input{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-weight: var(--rr-fw-regular); background: var(--rr-common-white); border: 1px solid #E7E7EB; font-size: 16px; line-height: 27px; margin-left: 0; font-style: normal; outline: none; padding: 14px 20px; width: 100%; margin-bottom: 27px; } .nice-select{ -webkit-tap-highlight-color: transparent; background-color: #fff; border-radius: 5px; border: solid 1px #e8e8e8; box-sizing: border-box; clear: both; cursor: pointer; display: block; float: left; font-family: inherit; font-size: 14px; font-weight: normal; height: 57px; line-height: 40px; outline: none; padding-left: 18px; padding-right: 15px; position: relative; text-align: left !important; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; white-space: nowrap; width: 100%; &:hover{ border-color: #dbdbdb; } &:active, &.open, &:focus{ border-color: #999; } &::after{ position: absolute; content: '\f107'; top: 50%; right: 0; font-family: var(--rr-ff-fontawesome); color: var(--rr-common-black); font-weight: 500; pointer-events: none; -webkit-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; margin-top: 0; transform-origin: center; @extend %translateY1_2; } &.open{ &::after{ @include transform(translateY(-50%) rotate(-180deg)); } & .list{ opacity: 1; pointer-events: auto; -webkit-transform: scale(1) translateY(0); -ms-transform: scale(1) translateY(0); transform: scale(1) translateY(0); } } &.disabled{ border-color: #ededed; color: #999; pointer-events: none; &::after{ border-color: #cccccc; } } &.wide{ width: 100%; & .list{ left: 0 !important; right: 0 !important; } } &.right{ float: right; & .list{ left: auto; right: 0; } } &.small{ font-size: 12px; height: 36px; line-height: 34px; &::after{ height: 4px; width: 4px; } & .option{ line-height: 34px; min-height: 34px; } } & .list{ background-color: #fff; border-radius: 5px; box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11); box-sizing: border-box; margin-top: 4px; opacity: 0; overflow: hidden; padding: 0; pointer-events: none; position: absolute; top: 100%; left: 0; -webkit-transform-origin: 50% 0; -ms-transform-origin: 50% 0; transform-origin: 50% 0; -webkit-transform: scale(0.75) translateY(-21px); -ms-transform: scale(0.75) translateY(-21px); transform: scale(0.75) translateY(-21px); -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; z-index: 9; width: 100%; } & .option{ cursor: pointer; font-weight: 400; line-height: 40px; list-style: none; min-height: 40px; outline: none; padding-left: 18px; padding-right: 29px; text-align: left; -webkit-transition: all 0.2s; transition: all 0.2s; &:hover { background-color: #f6f7f9; } &.selected{ font-weight: bold; } &.disabled{ background-color: transparent; color: #999; cursor: default; } } } .no-csspointerevents { .nice-select { .list { display: none; } &.open { .list { display: block; } } } } } &-textarea{ textarea{ font-family: var(--rr-ff-body); color: var(--rr-text-body); font-weight: var(--rr-fw-regular); background: var(--rr-common-white); border: 1px solid #E7E7EB; line-height: 27px; font-size: 16px; margin-left: 0; font-style: normal; padding: 10px 20px; max-width: 100%; height: 176px !important; } } } } &__button{ background: var(--rr-theme-primary); font-family: var(--rr-ff-heading); color: var(--rr-common-white); font-weight: var(--rr-fw-regular); font-style: normal; font-size: 15px; // line-height: 62px; text-transform: capitalize; padding: 16px 130px 16px 115px; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease-in-out; &:hover{ background: var(--rr-heading-primary); } } } .form-check-input:checked{ background-color: var(--rr-theme-primary); } .form-check-input:focus{ box-shadow: none; }