@import url("https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Rubik", sans-serif;
}
h1,
h2,
h3,
h4 {
  font-family: "Lato", sans-serif !important;
}
a {
  text-decoration: none !important;
}
/* .dropdown:hover>.dropdown-menu {
  display: block;
}
.dropdown-item:hover>.dropdown-menu {
  display: block;
}
ul.navbar-nav li.nav-item{
list-style-type:none;
display: inline;
}

.navbar-nav .nav-link{display:inline-block;}
   
.ml-auto {display:inline-block!important;} */

.main-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(http://www.cosancare.com/wp-content/uploads/2020/06/cover_facebook2-1000x800-c-default.jpg)
      no-repeat center;
  background-size: cover;
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 60px 15px 0px 15px;
}
.main-banner h2 {
  color: #fff;
  font-weight: 900;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-size: 48px;
  letter-spacing: 1.2px;
}
.login-sec {
  margin: 70px auto;
  padding: 30px 15px;
}
.login {
  text-align: center;
  padding: 45px 20px 25px 20px;
  border-radius: 10px;
  background: ghostwhite;
  box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.5);
}
.login .input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 500;
  font-size: 1.1rem;
  color: #333;
}
.main-nav a.navbar-brand img {
  max-width: 100px;
}
.login .title {
  font-size: 2.2rem;
  color: #2e2e2e;
  margin-bottom: 40px;
  font-weight: 800 !important;
}
.formdiv {
  margin: 80px 0px;
}
.login input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
.login .input-field {
  max-width: 380px;
  width: 100%;
  background-color: #fff;
  margin: 15px auto;
  height: 55px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 15% 85%;
  padding: 0 0.4rem;
  position: relative;
  box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.5);
}
.main_footer ul a li {
  color: #000;
}
.login .input-field i {
  text-align: center;
  line-height: 55px;
  color: #acacac;
  transition: 0.5s;
  font-size: 1.1rem;
  font-weight: 900;
}
.top-right a:last-child button{
   margin-left: 10px;
   background-color: #d1d13b;
}
.top-right a:last-child button:hover{
   background-color: #1aa3d7;
   transition: 0.4s;
}
.dropdown-item:hover{
    background: transparent !important;
}
.login .sub-btn {
  width: 150px;
  background-color: #1aa3d7;
  border: none;
  outline: none;
  height: 49px;
  border-radius: 5px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 20px 0px 10px 0px;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}
.login .sub-btn:hover {
  transition: 0.4s;
  background-color: #d1d13b;
}
.login .field-icon {
  right: 10px;
  position: absolute;
  z-index: 2;
  top: 20px;
}
.login .input-field .fa-eye {
  color: rgb(41, 40, 40);
}
.login p {
  text-align: right;
  color: #0677a6;
  cursor: pointer;
  margin-bottom: 10px;
  margin-top: 0px;
  font-size: 14px;
}
.login #error_message {
  padding: 0px;
  background: tomato;
  text-align: center;
  font-size: 14px;
  transition: all 0.5s ease;
  color: #fff;
  margin: 15px auto;
  max-width: 380px;
  font-weight: 600;
  border-radius: 10px;
}
.login p a:hover {
  color: #0677a6;
}
.login p {
  margin-top: 15px;
}
.signup-sec {
  margin: 70px auto;
  padding: 30px 15px;
}
.post-sec {
  margin: 150px auto 40px auto;
}
.postsec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  background: ghostwhite;
  box-shadow: 0px 0px 8px -5px rgba(0, 0, 0, 0.5);
}
.postsec-header h4 {
  margin: 0;
}
.postsec-header .postsec-right label {
  margin-right: 7px;
}
.postsec-header .postsec-right select {
  border: 1px solid grey;
  border-radius: 5px;
  padding: 4px 7px;
  min-width: 180px;
}
.postsec-header .postsec-right label {
  font-weight: 600;
}
.post-main {
  padding: 40px;
  margin: 50px auto;
  background: rgb(244, 244, 253);
  border-radius: 5px;
  box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.7);
}
.post-main .post-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.post-main .post-main-body h4 {
  color: #0677a6;
}
.post-main .post-main-head h4 {
  color: #1aa3d7;
}
.post-main .post-main-head .post-main-headR i {
  color: rgb(238, 207, 34);
}
.post-main p.post-desc {
  color: rgb(47, 46, 46);
  margin: 30px auto;
}
.post-main .post-tags span {
  background: #e0e0e0;
  padding: 7px;
  font-weight: 600;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
  margin: 7px 4px;
  min-width: 70px;
  text-align: center;
  color: #0c0c0c;
}
.icon-search-container {
  display: inline-block;
  border: 1px solid grey;
  border-radius: 50px;
  height: 45px;
  width: 45px;
  position: relative;
  transition: width 0.2s ease-out;
  backface-visibility: hidden;
}
.icon-search-container.active {
  width: 285px;
}
.icon-search-container.active .fa-times-circle {
  opacity: 1;
}
.icon-search-container.active .search-input {
  width: 200px;
}
.icon-search-container .fa-search {
  color: #0677a6;
  font-size: 25px;
  position: absolute;
  top: 9px;
  left: 8px;
  cursor: pointer;
}
.icon-search-container .fa-times-circle {
  opacity: 0;
  color: #d9d9d9;
  font-size: 20px;
  position: absolute;
  top: 12px;
  right: 8px;
  transition: opacity 0.2s ease-out;
  cursor: pointer;
}
.icon-search-container .search-input {
  position: absolute;
  cursor: default;
  left: 45px;
  top: 6px;
  width: 0;
  padding: 5px;
  border: none;
  outline: none;
  font-size: 18px;
  line-height: 20px;
  background-color: rgba(255, 255, 255, 0);
  transition: width 0.2s ease-out;
}
.search-box {
  text-align: center;
  margin-bottom: 25px;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 25px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  ul.navbar-nav li.nav-item {
    list-style-type: none;
    display: block;
  }
  .main-nav a.navbar-brand img {
    max-width: 70px;
  }
  .main-banner {
    min-height: 300px;
    padding: 50px 15px 0px 15px;
  }
  .main-banner h2 {
    font-size: 28px;
  }
  .login-sec {
    margin: 20px auto;
    padding: 20px 15px;
  }
  .login-sec .col-sm-6 {
    margin: 10px auto;
  }
  .signup-sec {
    margin: 20px auto;
    padding: 20px 15px;
  }
  .signup-sec .col-sm-6 {
    margin: 10px auto;
  }
  .post-main .post-main-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    width: 100%;
  }
  .post-sec {
    margin: 100px auto 40px auto;
  }
  .post-main .post-main-head .post-main-headR {
    text-align: left;
  }
  .post-main {
    padding: 25px;
  }
  .postsec-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .postsec-header h4 {
    margin-bottom: 25px;
  }
  .post-sec .postsec-mid {
    margin-top: 15px;
  }
}
