:root {
  --grey: #757575;
  --green: #a5c422;
  --black: #333;
  --blue: #337ab7;
  --grey-2: #747474;
}
header {
  font-size: 12px;
  color: var(--grey);
  text-align: center;
}

.cgreen {
  color: var(--green);
}
.cgrey {
  color: var(--grey);
}
.cblack {
  color: var(--black);
}
.cblue {
  color: var(--blue);
}

.txtbold {
  font-weight: 500;
}
.txtxbold {
  font-weight: 600;
}
.welcome {
  border-bottom: 1px solid #f2f2f2;
}

.col50,
.col33,
.col {
  padding: 8px 0;
}
.fa-solid {
  margin: 0 4px 0 0;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.brand-logo {
  color: #393939;
}
.togreenanim {
  transition: all 0.3s;
}
.togreenanim:hover {
  color: var(--green);
}

.first-item {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("/img/slider1.jpg") center/cover;
}
.second-item {
  background: url("/img/about-bg.jpg") no-repeat 69% 0% / cover;
}

.about-us {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  padding: 15px;
  height: 625px;
}
.about-us p {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
}

.slider {
  color: #fff;
  text-align: center;
  height: 625px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#drneiljackson {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

.author {
  display: flex;
  flex-direction: row;
}
h3 {
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px;
  font-size: 18px;
  display: block;
}
h1 {
  display: block;
  padding-bottom: 10px;
  font-weight: 600;
  font-size: 2em;
  margin-bottom: 20px;
}
h2 {
  color: #272727;
  font-weight: 600;
  line-height: 1.5em;
  font-size: 2em;
}
h4 {
  font-size: 1.8em;
  line-height: 1.2em;
  margin-bottom: 0;
  font-weight: 600;
  color: #333;
}

.author span {
  padding: 0 15px;
}
.slider a {
  font-size: 14px;
  font-weight: 500;
  padding: 18px 20px;
}
nav {
  font-size: 18px;
  text-align: left;
  font-weight: 500;
  color: #555555;
  padding: 10px;
}
#menu {
  display: none;
}
menu {
  display: none;
  font-size: 12px;
}

menu li {
  display: block;
  padding: 20px;
  transition: all 0.3s;
}
menu li:hover {
  color: #393939;
  cursor: pointer;
}

.btn {
  padding: 12px 20px;
  border-radius: 4px;
  border: none;
  color: white;
  font-family: 'Poppins', sans-serif;
font-weight: 600;
font-size: 12px;


}
.btn:hover{
    cursor: pointer;
}

.btn-green {
  background-color: var(--green);
  transition: all 0.6s;
}
.btn:focus {
  color: #393939;
  background-color: transparent;
}
.btn-green:hover {
  background-color: var(--blue);
  
}

.our-doctors {
  padding: 50px 0;
}
.row-flex {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.our-doctors article {
  background-color: #f9f9f9;
  margin: 10px 0;
}
.doctor {
  border-bottom: 1px solid #e9e9e9;
}

.our-doctors article img {
  width: 95vw;
}
.our-doctors article div {
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  padding: 10px 0px;
}

.txtalignleft {
  text-align: left;
}

.our-doctors article div span {
  padding: 5px 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
}

.our-doctors h2 {
  padding: 20px 10px;
}

.latest-news {
  text-align: center;
}
.latest-news h2 {
  padding-bottom: 50px;
}
.latest-news {
  background-color: #f9f9f9;
  padding: 50px 15px;
}
.latest-news .doctor {
  margin: 20px;
}
.latest-news article {
  background-color: white;
  margin-top: 15px;
}
article img {
  flex-shrink: 1;
  max-width: 100%;
}
.news-author {
  padding: 0 15px 20px 15px;
  display: flex;
  flex-direction: row;
}
.news-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.author-data {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0 10px;
}
.appointment {
    padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.appointment img {
  width: 95vw;
  vertical-align: bottom;
  
}
form, .double-input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

label {
  display: block;
    margin: 8px 0;
}
input,textarea, select {    
    border: 1px solid white;
    padding: 8px 16px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    
}
textarea {
    height: 10em;
    width: 100%;
    margin-bottom: 15px;
}
input::placeholder,
textarea::placeholder {
  font-family: 'Poppins', sans-serif;
  
}
.map {
    width: 100%;
}
form button {
    margin-bottom: 15px;
}
.form-control input, .form-control select {
    width: 100%;
}

.contact-way i {
    color: white;
    background-color: #272727;
    border-radius: 50%;
    padding: 8px;
    width: initial;
    margin-bottom: 5px;
}
.news img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
}

.news {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}
.news div {
    margin-left: 10px;
    align-self: center;
}
.news div h5 {
  margin-bottom: 6px;
}
p span {
  font-weight: 500;
  display: inline-block;
}
.appointment .container,footer .container{
  margin: 0 15px;
}
footer .container {
  border-bottom: 1px solid #e3e3e3;

}
footer {
  font-size: 14px;
}

.social-medias {
  display: flex;
  flex-direction: row;
}
.social-medias i {
    width: initial;
    margin: 0 5px;
    padding: 8px;
    font-size: 12px;
    transition: all .3s;
    border-radius: 50%;
    color: var(--black);
    
  }

.social-medias i:hover {
  background-color: var(--blue);
  color: white;
  cursor: pointer;
}
.copyright-flex {
  display: flex;
  flex-direction: column;
    font-weight: 500;
  font-size: 12px;
  align-items: center;
  padding: 50px 15px;
}
ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.copyright-flex ul {
  width: 100%;
}
.copyright-flex p {
  margin-top: 15px;

}
.copyright-flex ul li {
  margin-top: 15px;
  width: 125px;
}

#more {
  float: right
}
/* desktop */

























@media only screen and (min-width: 768px) {
  .container {
    max-width: 1140px;
    margin: auto!important;
  }
  menu {
    display: initial;
  }
  #more {
    display: none;
  }

  h1 {
    font-size: 4em;
  }
  h2 {
    font-size: 2.5em;
  }
  h3 {
    font-size: 14px;
  }

  .lrborder {
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
  }
  .col50 {
    padding: 16px 10px;
    max-width: 50%;
  }
  .row {
    text-align: center;
  }

  .fleft {
    float: left;
  }
  .fright {
    float: right;
  }
  .col33,
  .col50,
  .col {
    padding: 16px;
    display: inline-block;
  }
  .col33 {
    line-height: 20px;
    width: 33.33%;
  }
  menu li {
    display: inline-block;
  }
  .footer-row {
    display: flex;
    flex-direction: row;
  }
  .row-flex {
    flex-direction: row;
    justify-content: space-around;
    
  }

  article img {
    flex-shrink: 1;
    max-width: 360px;
  }
  article {
    border-radius: 8px;
    overflow: hidden;
    width: 360px;
  }

  .appointment {
    flex-direction: row;

  }
  .appointment img {
    max-width: 50%;
    float: left;
}

.double-input {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}
.form-control {
    display: flex;
    flex-direction: column;
    width: 50%;
}
.double-input div:nth-child(odd) input  {
    margin-right: 20px;
}
form { 
    padding: 0 15px;
}

.form-control input, .form-control select {
    display: block;
    width: initial;
}

.copyright-flex {
  flex-direction: row;
}
.copyright-flex p {
  width: 40%;
  margin-right: 15px;
}
.copyright-flex ul {
  width: 50%;
}

}
