
/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
  font-family: 'Work Sans', sans-serif;
  font-style: normal;
  font-weight: 300;
  overflow-x: hidden;
}
html {
  -webkit-font-smoothing: antialiased;
}
/* Typorgraphy */
h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.5px;
}

h1 {
    font-size: 62px;
    padding-bottom: 14px;
    margin-bottom: 0px;
}

h2 {
  font-size: 32px;
  line-height: 46px;
}

h3 {
  font-size: 26px;
}

h4 {
  color: #666;
  font-size: 13px;
  /* font-weight: normal;
  letter-spacing: 2px; */
}

p {
    color: #777;
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.2px;
}

strong {
  font-weight: 400;
}

.btn-success:focus {
  background-color: #000;
  border-color: transparent;
}

a {
  color: #4d638c;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}
a:hover, a:active, a:focus {
  /* color: #4d638c; */
  outline: none;
}
ul, li {
    list-style: none;
}

/* ------------------------------
         Navigation section
------------------------------ */
.navbar {
  background-color: #ffffff!important;
  padding: 18px 0;
  border: none;
}
.navbar-brand {
  padding-top: 6px;
}

.navbar-nav li a {
  color: #777;
  font-size: 16px;
  letter-spacing: 1px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  padding-right: 22px;
  padding-left: 22px;
}
 .navbar-nav > li a:hover,
 .profile a:hover {
  /* color: #333 !important; */
  border-bottom: 1px solid #000;
  transition: all 0.4s step-start;
}

#navbar ul li {
  padding-left: 40px ;
}

/* ------------------------chatbox */
.chatbox {
  position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    z-index: 100;
}
.chatbox-toggle {
	width: 100%;
	height: 100%;
	background: blue;
	color: white;
	font-size: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	cursor: pointer;
	transition: .2s;
}
.chatbox-message{
	position: absolute;
  right: 50%;
  bottom: 50%;
	width: 1396px;
  height: calc(100vh - 88px);
	border-radius: .5rem;
  background-color: white;
	overflow: hidden;
	box-shadow: .5rem .5rem 2rem rgba(0, 0, 0, .1);
	transform: scale(0);
	transform-origin: bottom right;
	transition: .2s;
}
.chatbox-message.show {
  transform: scale(1);
}
.chatbox-message .containers {
  position: relative;
  display: flex;
}
.chatbox-message .containers .leftside{
  position: relative;
  flex: 30%;
  background-color: #fff;
  border-right: 1px solid rgba(0, 0, 0, .06);
}

.chatbox-message .containers .rightside{
  position: relative;
  flex: 70%;
  background-color: #dfdcdc;
  
}
.chatbox-message  .header {
  position: relative;
  width: 100%;
  height: 60px;
  background-color:#7575ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.chatbox-message .userimg {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  cursor: pointer;
}

.chatbox-message .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.chatbox-message .nav-icon {
  display: flex;
  color: #fff;
}

.chatbox-message .nav-icon li {
  display: flex;
  list-style: none;
  cursor: pointer;
  font-size: 1.25rem;
  margin-left:  15px ;
}

.search-chat {
  position: relative;
  width: 100%;
  height: 50px;
  background-color: #f6f6f6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}
.search-chat div {
  width: 100%;
}
.search-chat div input {
  width: 100%;
  outline: none;
  border: none;
  background: #fff;
  padding: 6px;
  height: 30px;
  border-radius: 30px;
  font-size: 14px;
  padding-left: 45px;
}

.search-chat div ion-icon {
  position: absolute;
  left: 30px;
  top:14px;
  font-size: 1.2rem;
}

.chatlist {
  position: relative;
  height: calc(100% - 100px);
  overflow-y: auto;
}

.chatlist .block {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.chatlist .block.active {
  background: #ebebeb;
} 

.chatlist .block:hover {
  background: #f5f5f5;
}

.chatlist .block .imgbx {
  position: relative;
  min-width: 45px;
  height:45px ;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 15px ;
}

.chatlist .details {
  position: relative;
  width: 100%;
}
.chatlist .details .listhead {
  display: flex;
  justify-content: space-between;
  /* margin-bottom: 5px; */
}
.chatlist .details .listhead .time {
  font-size: 0.75em;
  color: #aaa;
}
.chatlist .block.unread .details .listhead .time {
  color: #06d755;
}
.chatlist .details .message {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatlist .details .message p {
  color: #aaa;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  font-size: 0.9em;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 10px;
}

.chatlist .details .message b {
  background: #06d755;
  color: #fff;
  min-width: 20px;
  height: 20px ;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75em;
}

/* rightside */
.chatbox-message .rightside .imgtext {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chatbox-message .rightside .imgtext h4 {
  font-size: 400;
  line-height: 1.2em;
  margin-left: 15px;
  color: #fff;
}
.chatbox-message .rightside .imgtext h4 span {
  font-size: 0.8em;
  color: rgb(181, 177, 177);
}
.chatbox-main {
  position: relative;
  width: 100%;
  height: 830px;
  padding: 50px;
  overflow-y: scroll;
}
.message {
  position: relative;
  display: flex;
  width: 100%;
  margin: 5px 0;
}
.chatbox-main .message p {
  position: relative;
  right: 0 ;
  text-align: right;
  max-width: 65%;
  padding: 12px;
  background: #e1f9f6;
  border-radius: 5px;
  font-size: 0.9em;
}
.chatbox-main .message p::before{
  content: '';
  position: absolute;
  top: 0;
  right: -12px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e1f9f6 0%, #e1f9f6 50%, transparent 50%, transparent);

}

.chatbox-main .message p span {
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
  opacity: 0.5;
}
.chatbox-main .my_message {
  justify-content: flex-end;
}
.chatbox-main .received_message {
  justify-content: flex-start;
}
.chatbox-main .received_message p{
  background: #fff;
  text-align: left;
}
.chatbox-main .received_message p::before{
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  width: 20px;
  height: 20px;
  background: linear-gradient(225deg, #fff 0%, #fff 50%, transparent 50%, transparent);

}
.rightside .message-input {
  position: relative;
  width: 100%;
  height: 60px;
  background: #e4e3e3;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.rightside .message-input ion-icon {
  cursor: pointer;
  font-size: 1.8em;
  color: rgb(136, 136, 136);
}
.rightside .message-input input {
  /* position: relative; */
  width: 90%;
  margin: 0 20px;
  padding: 8px 20px ;
  border-radius: 5px;
  outline: none;
  border: none;
}
/* ------------------------------
         footer section
------------------------------ */
.footer-main {
    background: #e6b566;
    padding: 33px 0 30px;
    border-top: 1px solid #b27e24;
    text-align: center;
    /* margin-top: 20px; */
}
.footer-main p, 
.footer-main a{
  color: black;
}
.footer-social {
  display: inline-block;
}
.footer-social li{
  color: #000;
  margin-right: 20px;
  float: left;
}
.footer-social li a:hover {
  color: #fff;
}

/* ------------------------------
         home page
------------------------------ */

/* Carousel base class */

.carousel-caption {
  bottom: 3rem;
  z-index: 10;
  
}

.carousel-caption .btn{
  background-color: blue;
  outline: none;
  border: none;
  text-transform: uppercase;
}
.carousel-caption .btn:hover {
  color: black;
}

.carousel-inner {
  height: 670px;
}

.carousel-item {
  height: 42rem;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.page-section .about-items {
  padding: 90px 0;
  animation: fade-up .75s var(--ease) forwards;
  animation-delay: 175ms;

}

.page-section .about-item {
  animation-delay: 175ms;
}

.page-section .about-item ion-icon {
  margin-bottom: 20px;
}

/* work section  */
.works-section {
  padding: 100px 0;
  border-top: 1px solid #eeeeee;
  /* border-bottom: 1px solid #eeeeee; */
}

.works-section .section-title h2 {
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 4px;
  margin-bottom: 10px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.works-section .section-title p {
  font-size: 13px;
  line-height: 19px;
  letter-spacing: 1.5px;
  text-align: center;
  padding-bottom: 20px;
}

.works-item {
  position: relative;
  overflow: hidden;
}

.works-item img {
  height: 100%;
  object-fit:fill ;
}
.works-hover {
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity, 0.5s, ease-in-out;
}
.works-hover-content {
  color: white;
  width: 100%;
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  margin-left: auto;
  opacity: 1;
  text-align: center;
}

.works-item:hover .works-hover {
  opacity: 1;
  visibility: visible;
}
.works-item:hover .team-hover-content {
  top:40%;
}

/* ------------------------------
          Topic page
------------------------------ */
.topic-header {
  position: relative;
    padding: 62px 0;
    text-align: center;
}
.topic-section {
  background: #e6b566;
  margin-top: 25px;
  padding-top: 50px;
}

/* sidebar */
.sidebar-widget h3{
  font-size: 18px;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
}
.sidebar-widget ul {
  padding: 0 0 15px 0;
  margin-right: 35px;
}
.sidebar-widget li{
  padding: 10px 0;
}

.sidebar-widget li a{
  font-size: 13px;
  color: #000;
  line-height: 20px;
  border-bottom: 1px solid #b27e24;
  padding: 10px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  text-decoration: none;
}

.sidebar-widget li a:hover {
  color: #fff;
}
.active {
  color: #e27047;
}

/* Topic content */
.topic-post-title h3{
  text-align: center;
}
.topic-post-title a {
  color: #4d638c;
  text-align: center;
  font-weight: 500;
}
.topic-post-title a:hover {
  color: #000;
}
.topic-post-format {
  text-align: center;
  padding-bottom: 24px;
}

.topic-post-image {
  margin: 10px 0;
  max-height: 200px;
  overflow: hidden;
}

.topic-post-image img {
  width: 100%;
  position: relative;
  top: -117px;
}

.topic-post-des .btn {
  border-radius: 100px;
  background: #e27047;
  color: #fff;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 14px 28px;
  margin: 45px 0;
  transition: all 0.4s ease-in-out;
}
.topic-post-des .btn:hover {
  background: #c8582f;
  border-color: transparent;
}

/* ------------------------------
         Single post section
------------------------------ */
#topic-single-post .topic-post-image {
  margin-bottom: 30px;
  max-height: 480px;
  overflow: hidden;;
}
#topic-single-post .topic-post-image img{
  width: 100%;
}
#topic-single-post .topic-post-title {
  margin: 100px 0;
}
#topic-single-post .topic-post-title h2{
  
  font-weight: 500;
  text-align: center;
}
#topic-single-post .topic-post-title p{
  text-align: center;
}
.comments-number {
  border-top: 1px solid #f0f0f0;
  padding: 20px 0;
}

.media-object img{
    border-radius: 50%;
    display: inline-block;
    width: 60px;
    margin-right: 12px;
}
.media-object {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.media-object .btn-primary {
  border: none;
  background: none;
}
.media-body h4{
  display: inline-block;
  padding-right: 14px;
  font-size: 15px;
  font-weight: 400;
}
.media-body span {
  font-size: 10px;
  color: #666;
}
.media-body p {
  font-size: 15px;
}
.topic-comment-form input[type="submit"],
.primary-button[type ="submit"] {
  margin: 25px 0;
  background: #e27047;
  border-radius: 100px;
  border: none;
  color: #ffffff;
  font-weight: 400;
  padding: 10px 15px;
  transition: all 0.4s ease-in-out;
}
.topic-comment-form input[type="submit"]:hover,
.primary-button:hover {
  background-color: #c8582f;
}
/* ------------------------------
        userprofile 
------------------------------*/
.modal-header, .modal-footer{
  border: none;
}

.modal-content .user-infor {
  text-align: center;
  vertical-align: middle;
}
.modal-content .user-infor img{
  margin: 0 auto;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 1px 3px 12px rgba(0, 0, 0, 0.18);
}

.modal-content .user-infor h2{
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 5px;
}
.modal-content .user-infor p{
  font-size: 0.9rem;
    color: #818181;
    margin:  0;
}
.modal-content .user-infor .content {
  margin-top: 20px;
}
.modal-content .user-infor .button-box {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}
.button-box button {
  padding: 5px;
  width: 120px;
  border-radius: 25px;
  border: none;
}
.button-box button:hover {
  background: #e27047;
  color: #fff;
  transition: 0.4s background ease-in;
}



/* ------------------------------
         Contact section
------------------------------ */
#contact-map-container, #contact-map {
  width: 100%;
  height: 450px;
}
.contact-page{
  margin-top: 20px;
}
.contact-page h1 {
  font-size: 28px;
  line-height: 34px;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 25px;
}

#contact-details {
  width: 100%;
}

#contact-details tr{
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
  display: block;
  font-weight: 500;
}

#contact-details tr ion-icon {
  margin-right: 15px;
}
#contact-form {
  margin: 15px;
}

.contact-input {
  width: 100%;
  height: 50px;
  padding-left: 15px;
  margin-bottom: 20px;
  border: 1px solid #eeeeee;
}
.contact-text {
  width: 100%;
    max-width: 100%;
    min-height: 200px;
    padding: 15px;
    vertical-align: top;
    margin-bottom: 20px;
    border: 1px solid #eeeeee;
}

/* ------------------------------
         profile
------------------------------ */
.header__wrapper header {
  width: 100%;
  background: url("../img/bg.jpg") no-repeat 50% 20% / cover;
  min-height: calc(100px + 15vw);
}

.header__wrapper .cols__container .left__col {
  padding: 25px 20px;
  text-align: center;
  max-width: 350px;
  position: relative;
  margin: 0 auto;
}

.header__wrapper .cols__container .left__col .img__container {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translatex(-50%);
}
.header__wrapper .cols__container .left__col .img__container img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 1px 3px 12px rgba(0, 0, 0, 0.18);
}
.header__wrapper .cols__container .left__col .img__container span {
  position: absolute;
  background: #2afa6a;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  bottom: 3px;
  right: 11px;
  border: 2px solid #fff;
}
.header__wrapper .cols__container .left__col h2 {
  margin-top: 60px;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 5px;
}
.header__wrapper .cols__container .left__col p {
  font-size: 0.9rem;
  color: #818181;
  margin: 0;
}
.header__wrapper .cols__container .left__col .btn,
.modal .modal-body .tags .btn {
  padding: 5px 25px;
  background-color: #e6b566;
  border-radius: 100px;
  letter-spacing: 1px;
  transition: all 0.4s ease-in-out;
}
.header__wrapper .cols__container .left__col .btn:hover,
.modal .modal-body .tags .btn:hover  {
  color: #fff;
  transition: color 0.4s ease-in;
}

.header__wrapper .views-title ,
.header__wrapper .tags .tags-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__wrapper .photo_container{
  display: grid;
  grid-template-columns: repeat(3,auto);
  grid-gap: 10px;
  margin-top: 15px;
}
.header__wrapper .photo_container img {
  width: 100%;
  border-radius: 5px;
}
.header__wrapper .views-title, 
.header__wrapper .tags .tags-title {
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px #f0f0f0 solid;
}

.header__wrapper .cols__container .content ul {
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}
.header__wrapper .tags .tags-box {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 10px;
}

/* .right__col */
.header__wrapper .cols__container .right__col .intro {
  margin: 50px 0;
}
.header__wrapper .cols__container .right__col .intro h3,
.modal .modal-content .modal-body .user-self-intro h5 {
  font-family: cursive;
  text-align: center;
  padding:  30px 0;
}

.header__wrapper .cols__container .right__col nav {
  display: flex;
  align-items: center;
  padding: 30px 0;
  margin-top: 10px;
  justify-content: space-between;
}

.Tit{
  text-transform: uppercase;
  color: #1d1d1d;
  font-weight: 600;
  padding-top: 25px;
  padding-bottom: 12px;
}
.header__wrapper .cols__container .right__col nav a {
  color: #00f;
}
.header__wrapper .cols__container .right__col nav a:hover {
  color: #000;
}

.header__wrapper .cols__container .right__col .photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  border-bottom: 1px soild #f0f0f0;
}
.header__wrapper .cols__container .right__col .photos img {
  max-width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

/* Responsiveness */

@media (min-width: 868px) {
  .header__wrapper .cols__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    justify-content: space-between;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
  }
  .header__wrapper .cols__container .left__col {
    padding: 25px 0px;
  }
  .header__wrapper .cols__container .right__col nav ul {
    flex-direction: row;
    gap: 30px;
  }
  .header__wrapper .cols__container .right__col .photos {
    height: 365px;
    overflow: auto;
    padding: 0 0 30px;
  }
}

@media (min-width: 1017px) {
  .header__wrapper .cols__container .left__col {
    margin: 0;
    margin-right: auto;
  }
  .header__wrapper .cols__container .right__col nav {
    flex-direction: row;
  }
  .header__wrapper .cols__container .right__col nav button {
    margin-top: 0;
  }
}

.header__wrapper .cols__container .right__col .sort-by {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.header__wrapper .cols__container .right__col .sort-by hr {
  flex: 1;
  border: 0;
  height: 1px;
  background: #ccc;
}
.header__wrapper .cols__container .right__col .sort-by p {
  font-size: 13px;
  padding-left: 5px;
}
.header__wrapper .cols__container .right__col .sort-by ion-icon {
  font-size: 15px;
}
.right__col .post {
  border-radius: 5px;
  box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.1);
  padding: 20px 25px 5px;
  margin: 5px 0 15px ;
  ;
}
.right__col .post .post-content {
  padding-top: 30px;
  border-bottom: 1px solid #f0f0f0;
}
.right__col .post .post-author {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.right__col .post .post-author img {
  width: 60px;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: 5px;
}
.right__col .post .post-author h5{
  font-weight: 500;
  color: #333;
}
.right__col .post .post-author small {
  display: block;
  margin-bottom: -2px;
}
.right__col .post p {
  padding-top: 20px;
  font-weight: 600;
}
.user-photo {
  display: grid;
    grid-template-columns: repeat(2,auto);
    grid-gap: 10px;
    margin: 25px 0;
}
.user-photo img{
  width: 100%;
  border-radius: 5px;
}

.modal .modal-body .tags .btn {
  margin:6px 0px ;
}