@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,500i,700,700i,900,900i&display=swap');

body {
  background-color: #fff;
}

a:hover {
  cursor: pointer;
  text-decoration: none;
}

.card:hover {
  cursor: pointer;
}
/***Navbar styles*****/
.navbar.navbar-light {
  background-color: white;
}

.navbar.bg-primary {
  /* background: linear-gradient(to right,#ffb81c 1%,#eb3300 60%); */
  background: #151f5d !important;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
}
.youtube {
  width: 100%;
}
.top-nav-secondary {
  background: #151f5d;
}
.top-nav-secondary .container {
  position: relative;
  z-index: 99;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  padding: 5px 15px 2px;
  color: white;
  flex-wrap: wrap;
}

.top-nav-secondary img {
  height: 30px;
  margin-bottom: 3px;
}
.top-nav-secondary ul {
  margin-bottom: 0;
}
.top-nav-secondary p {
  color: #151f5d;
  margin-bottom: 0;
}
.top-nav-secondary ul li {
  display: inline-block;
  margin-right: 2rem;
  color: white;
  font-size: 0.9rem;
}

.top-nav-secondary ul li a {
  color: white;
}

.top-nav-secondary ul li:last-child {
  margin-right: 0;
}
.top-nav-secondary .fetch-conferences-logo {
  height: 40px;
  width: 70px;
  background: url('fetchTransparent.png');
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0.3rem;
}

@media screen and (max-width: 1199px) {
  .top-nav-secondary {
    justify-content: center;
  }
  .top-nav-secondary ul li {
    font-size: 0.9rem;
    margin-right: 1rem;
  }
  .top-nav-secondary .fetch-conferences-logo {
    height: 45px;
    width: 100%;
    background: url('fetch-logo.png');
    background-repeat: no-repeat;
    background-size: auto auto;
    background-position: center center;
  }
  .top-nav-secondary {
    background: white;

    padding-bottom: 0.25rem;
  }
  .top-nav-secondary ul li a {
    color: #151f5d;
    font-weight: bold;
    font-size: 0.8rem;
  }
  .top-nav-secondary ul {
    width: 100%;
    padding-left: 0;
    text-align: center;
    padding: 0.25rem 0;
    display: flex;
    justify-content: space-around;
  }

  .top-nav-secondary ul li {
    margin-right: 0 !important;
  }
}

.navbar:first-child {
  padding: 0;
}
/*****Navbar End*********/

.conf-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .AD728x90 {
    height: auto;
    margin: 10px auto;
    overflow: hidden;
    text-align: center;
    min-height: 70px;
  }
  .col-sm-12 {
    flex-basis: 100%;
  }
}

@media (min-width: 768px) {
  .AD728x90 {
    width: auto;
    height: auto;
    margin: 10px auto;
    overflow: hidden;
    text-align: center;
    min-height: 70px;
  }
}

.AD300x250 {
  width: auto;
  margin: 0px auto 10px auto;
}

.AD300x50 {
  width: auto;
  height: auto;
  margin: 0px auto 10px auto;
}

@media screen and (max-width: 1199px) {
  .leftHeader {
    display: none;
  }

  .rightHeader {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .leftCol {
    flex: 0 0 200px;
    padding: 0px;
    margin: 10px auto;
  }
}

@media screen and (max-width: 1199px) {
  .leftCol {
    flex: 0 0 200px;
    padding: 0px;
    display: none;
  }
}

.middleCol {
  margin-bottom: 10px;
}
.rightCol {
  flex: 0 0 300px;
  padding: 0px;
  margin: 10px auto;
}
.normalCard {
  margin-bottom: 30px;
}
.longCard {
  margin-bottom: 30px;
}
/*******=Card base styles**********/
.card {
  box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.45);
  margin-bottom: 30px;
  width: 100%;
  border: 0px;
  border-radius: 0px;
}
.card .card-img-top {
  width: 100%;
  height: auto;
  max-height: 275px;
  object-fit: cover;
}

.middleCol h1:first-child {
  color: #151f5d;
}
.card .card-title.h5 {
  color: #151f5d;
}
.card .card-text {
  color: black;
  font-size: 1rem;
}
.video-detail iframe {
  height: 550px !important;
}

@media screen and (max-width: 768px) {
  .video-detail iframe {
    height: 325px !important;
  }
}

.infinite-scroll-component {
  padding: 2px;
}
.list-group-item.active {
  background-color: #151f5d;
}
.list-group {
  box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.45);
}
/*******Taxonomy Card**********/
.taxonomy-card {
  border: 0;
  width: 100%;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #454e8a;
  box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.2) !important;
}
.author-info .taxonomy-card {
  box-shadow: none;
}
.taxonomy-card .taxonomy-icon {
  transform: translateY(-50%) translateX(10px) !important;
}
.taxonomy-card.card:hover .taxonomy-icon {
  transform: translateY(-50%) translateX(5px) scale(1.25) rotate(-180deg) !important;
}
.author-info .taxonomy-card .row .col:first-child {
  flex-basis: 30%;

  display: flex;
  align-items: center;
}
.author-info .taxonomy-card .row .col:last-child {
  flex-basis: 70%;
}
.card-listing .taxonomy-card {
  background: rgb(248, 248, 248);
  box-shadow: none;
}

.taxonomy-card .card-title {
  color: #151f5d;
  margin-bottom: 0;
}
.taxonomy-card .card-img-top {
  width: 100%;
  height: auto;
}
/*******Queue Card**********/
.queue-card {
  width: 100%;
}
.queue-card .card-img-top {
  object-fit: contain;
  width: 100%;
  height: auto;
}

/***********Video Listing Page ***************/

#video-listing .card a {
  position: relative;
}
.nav-item img {
  height: 70px !important;
  padding: .5rem;
}
#video-listing .card > a::after {
  content: '';
  width: 50px;
  height: 50px;
  background: url('/play-circle-regular.svg');
  fill: red;
  opacity: 0.5;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/******Footer*****/
.side-footer {
  padding: 1rem;
  background: #eee;
}
.side-footer ul {
  padding-left: 0;
}
.side-footer ul li {
  list-style-type: none;
  text-decoration: underline;
}
.side-footer ul li a {
  color: black;
}
.side-footer p {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: rgb(170, 170, 170);
}

.block-content p,
.block-content ul,
.block-content h1,
.block-content h2,
.block-content h3,
.block-content h4,
.block-content h5,
.block-content h6 {
  padding: 0 10%;
  line-height: 1.6;
  word-break: break-word;
  font-family: 'Roboto', sans-serif;
}
.block-content blockquote {
  margin: 0 10% 1rem;
  font-style: italic;
  text-align: center;
  padding: 3rem 0;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 400 300'><polygon opacity='0.15' fill='currentColor' points='184,40 108,150 166,150 166,300 0,300 16,139 103,40'/><polygon opacity='0.15' fill='currentColor' points='216,260 292,150 234,150 234,0 400,0 384,161 297,260'/></svg>");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 50px 50px;
}
.block-content blockquote a {
  background: #eee;
  color: rgb(155, 155, 155);
  font-weight: 500;
  text-decoration: underline;
  font-size: 1.2rem;
}

.block-content h2 {
  font-size: 1.5rem;
}
.block-content h3 {
  font-size: 1.25rem;
}
.block-content h4 {
  font-size: 1rem;
}
.block-content ul {
  margin-left: 2rem;
}
@media screen and (max-width: 768px) {
  .block-content p,
  .block-content ul,
  .block-content h1,
  .block-content h2,
  .block-content h3,
  .block-content h4,
  .block-content h5,
  .block-content h6 {
    padding: 0;
  }
  .react-share__ShareButton {
    margin-right: 1rem;
  }
}
.list-group-item {
  border: none;
}
.list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
input.form-control {
  border-radius: 0;
}

@media screen and (min-width: 991px) {
  .dropdown-menu {
    max-height: 80vh;
    overflow: scroll;
  }
  ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(20, 13, 13, 0.5);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  }
}

/***************Sidebar *************/
@media only screen and (min-width: 992px) {
  .sidebar {
    max-width: 50%;
    float: right;
  }
}

/****** Article Detail ********/

@media screen and (max-width: 492px) {
  .video-detail .block-content figure {
    margin: 0 -15px;
    width: 100vw;
  }
  .video-detail .block-content figure img {
    width: 100vw;
    margin: 0 -15px;
  }
}

/****** Subscribe Page ********/

.links-section a {
  font-size: 20px;
  color: #151f5d;
}

.links-section a:hover {
  color: red;
}

.links-section .right-arrow {
  margin-right: 10px;
  color: #151f5d;
}

.ck-editor__editable_inline {
  min-height: 300px;
}

.react-tagsinput {
  background-color: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
  padding-left: 5px;
  padding-top: 5px;
}

.react-tagsinput--focused {
  border-color: #a5d24a;
}

.react-tagsinput-tag {
  background-color: #cde69c;
  border-radius: 2px;
  border: 1px solid #a5d24a;
  color: #638421;
  display: inline-block;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 5px;
  margin-right: 5px;
  padding: 5px;
}

.react-tagsinput-remove {
  cursor: pointer;
  font-weight: bold;
}

.react-tagsinput-tag a::before {
  content: ' ×';
}

.react-tagsinput-input {
  background: transparent;
  border: 0;
  color: #777;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 6px;
  margin-top: 1px;
  outline: none;
  padding: 5px;
  width: 80px;
}
