/*================================================ 06. News CSS =================================================*/ .ic-latest-news { padding-bottom: 70px; //Responsive @media #{$laptop-device}{ padding-bottom: 50px; } @media #{$desktop-device}{ padding-bottom: 50px; } @media #{$tablet-device}{ padding-bottom: 40px; } @media #{$large-mobile}{ padding-bottom: 30px; } .ic-single-news { margin-bottom: 30px; margin-left: auto; margin-right: auto; img { width: 100% } } .slick-arrow { position: absolute; top: 50%; @include translateY(-93%); @include transition(all .3s); opacity: .5; text-align: center; display: block; cursor: pointer; z-index: 1; color: #ededed; i { width: 45px; height: 45px; background: #222111; display: inline-block; line-height: 45px; font-size: 30px; color: #ededed; } &:hover { i { background-color: $primary; } } } .slick-prev-div { left: 0; } .slick-next-div { right: 0; } } .ic-single-news { .ic-news-img-bg{ overflow: hidden; a { display: block; background-color: #000; img{ transition: all 0.5s ease-in-out; } } } .ic-post { @include flexbox(); @include justify-content(space-between); @include flex-wrap(wrap); margin-top: 12px; .ic-post-single { span { font-size: 14px; &:first-child { color: $primary; } a { color: $primary; &:hover { text-decoration: underline !important; } } } } } .ic-bottom-content { h4 { margin-top: 28px; a { color: inherit; &:hover { color: $primary; } } } p { margin-bottom: 8px; } .ic-post-btn { color: $text-color; font-size: 16px; font-weight: bold; &:hover { color: $primary; } } } &:hover{ .ic-news-img-bg{ a { img{ transform: scale(1.1); opacity: .7; } } } } } .ic-left-4-col { .ic-left-link-list.ic-two { >ul { >li { >a { &:hover { color: $primary; text-decoration: none !important; } } ul { padding-left: 35px; li { margin-bottom: 0 !important; margin-top: 10px; } } } } } } .ic-dropdown-li { .ic-dropdown-menu-ul { display: none; } &.ic-active { >a { color: $primary; } .ic-dropdown-menu-ul { display: block; } } } .ic-popular-news { .ic-single-popular-news { position: relative; &:not(:last-child) { padding-bottom: 20px; } .ic-image { position: absolute; top: 0px; left: 0; max-width: 70px; } .ic-text { min-height: 70px; margin-left: 95px; position: relative; top: -4px; p { margin-bottom: 10px; a { color: $text-color; font-size: 14px; } } .ic-date { font-size: 12px; span { a { color: $primary; } } } } } } .ic-news { h3 { font-weight: bold; margin-bottom: 35px; } .ic-form { form { margin-top: 0; .form-control { color: $primary !important; &::placeholder { color: $text-color !important; } &:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: $text-color !important; } &::-ms-input-placeholder { /* Microsoft Edge */ color: $text-color !important; } &:-moz-input-placeholder { /* Microsoft Edge */ color: $text-color !important; } } } } .ic-single-news { &:last-child { margin-bottom: 0; } &:not(:last-child) { margin-bottom: 45px; @media screen and (min-width:992px) and (max-width:1499px){ margin-bottom: 40px; } @media screen and (max-width:991.98){ margin-bottom: 40px; } } } .ic-news-text { margin-bottom: 35px; } .ic-tag-share { >p, .ic-social-text-inline { display: inline-block; } .ic-social-text-inline { float: right; ul.social { margin-left: 0px; li { margin-right: 1px; a { i { font-size: 16px; } } } } } >p { span { color: $primary; font-weight: bold; } } } } /*---News Details Page---*/ .ic-single-comment { @include flexbox(); @include flex-wrap(wrap); margin-bottom: 20px; .ic-single-comment { margin-top: 22px; margin-bottom: 2px; } .form-group { margin-bottom: 15px; } .ic-image { @include flex-basis(70px); //Responsive @media #{$large-mobile}{ flex: 0 0 100%; margin-bottom: 15px; } } .ic-text { padding-left: 17px; @include flex-basis(50%); @include flex-grow(1); margin-top: -6px; //Responsive @media #{$large-mobile}{ padding-left: 0px; } .ic-top-text { color: $primary; .ic-post-date { margin-bottom: 10px; font-size: 14px; display: inline-block; span { a { color: $primary; } } } .ic-comment-btn { font-size: 14px; display: inline-block; float: right; color: $text-color; @include transition(all .2s ease); i { margin-right: 5px; } &:hover { color: $primary; } } } .ic-replay-message { margin-top: 20px; display: none; button { margin-top: 0 !important; color: $white; } textarea.form-control { padding-left: 15px; line-height: inherit; } &.ic-active { display: block; animation: ic-slideInDown .3s ease-out 0s 1 normal both; } @-webkit-keyframes ic-slideInDown { from { -webkit-transform: translate3d(0, -10px, 0); -moz-transform: translate3d(0, -10px, 0); -ms-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); opacity: 0; } to { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes ic-slideInDown { from { -webkit-transform: translate3d(0, -10px, 0); -moz-transform: translate3d(0, -10px, 0); -ms-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); opacity: 0; } to { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } } .ic-slideInDown { -webkit-animation-name: slideInDown; -moz-animation-name: slideInDown; animation-name: slideInDown; } } } } .ic-news-details.ic-news .ic-single-news { margin-bottom: 28px; //Responsive @media #{$large-mobile}{ margin-bottom: 23px; } .ic-news-text { h4 { line-height: 1.6; } } }