.wrapper {
  margin-top: 50px;
  /* margin-bottom: 80px; */
}

.wrapper-login {
  margin-top: 280px;
  /* margin-bottom: 80px; */
}

.bg-light {
  background: #f5f5f5;
  color: #444;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.form-signin {
  max-width: 345px;
  padding: 15px;
  margin: 0 auto;
  background-color: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.btn-block {
  width: 100%;
}

.sign-up {
  color: #444;
  font-size: 12px;
}

.social-btn {
  font-weight: bold;
  line-height: 38px;
  font-size: 16px;
  border-radius: 5px;
  min-width: 49%;
}

.form-social {
  padding: 15px;
  margin: 0 auto;
  max-width: 380px;
}
.logout {
  margin-top: 0.125rem;
}

.btn-facebook {
  background-color: #00a8e6;
  color: #fff;
  height: 60px;
}

.btn-google {
  background-color: #da314b;
  color: #fff;
  height: 60px;
}

.social-font-lg {
  font-size: 200%;
  padding-right: 5px;
}

.btn-login {
  background-color: #00a8e6;
  color: #fff;
}

a {
  text-decoration: none;
}

div > a:hover {
  text-decoration: underline;
}

.d-flex .btn:hover {
  background-color: #fafafa;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.1);
  border-radius: 0%;
}

.btn-active {
  background-color: #fafafa;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.1);
  border-radius: 0%;
}

.dropdown-menu {
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  -webkit-transition: height 2s;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #dc3545;
  color: #fff;
}

.navbar-light .navbar-nav .nav-link {
  color: #444;
  font-size: 14px;
}

.show-mobile {
  display: none;
}

.hide-mobile {
  display: inline important;
}

.center {
  text-align: center;
}

.full-width {
  width: 100%;
}

.left-title {
  font-size: 2rem;
  text-transform: uppercase;
  color: #444;
}

.img-style {
  height: 250px;
  width: 271px;
  display: block;
}

.img-box {
  position: relative;
  width: 271px;
}

.img-title {
  position: absolute;
  margin-top: -55px;
  width: 100%;
  height: 55px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 15px;
  /* line-height: 3; */
  display: none;
}

.img-box:hover .img-title {
  display: block;
}

.post-info-rate-share {
  border-top: 1px solid rgba(183, 181, 181, 0.36);
  padding: 4% 0 2%;
}

.post-margin-left {
  margin-left: 20px;
}

ul {
  list-style: none;
}

.panel-box {
  padding: 15px;
  background: #fafafa;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.panel-primary {
  background-color: #ebf7fd;
}

grid-width-1-1 {
  width: 838px;
  height: 825px;
}

.move-parent {
  position: relative;
  width: 100%;
}
.border-circle-nav {
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.border-circle {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

#gallery_side_share_buttons {
  position: absolute;
  margin-top: 60px;
  top: auto;
  margin-left: -10px;
  background: #fff;
  padding: 5px;
  border-right: 0;
}

#next-button {
  top: auto;
  padding: 5px;
  background: #fff;
}

#prev-button {
  position: absolute;
  top: auto;
  padding: 5px;
  background: #fff;
}

.show-img {
  width: 100%;
}

/*----- Start Light Background-----*/
#search_light {
  position: absolute;
  right: 29%;
  top: 18%;
}
.search_icon {
  position: absolute;
  top: 8px;
  left: 15px;
}
#search_light {
  margin-right: 20px;
}

#search_light input[type="text"] {
  border: 1px solid #d1d1d1;
  font: bold 14px Arial, Helvetica, Sans-serif;
  color: #808797;
  width: 120px;
  height: 40px;
  padding: 6px 15px 6px 35px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  /* text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); */
  -webkit-box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.15) inset;
  -moz-box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.15) inset;
  -webkit-transition: all 0.7s ease 0s;
  -moz-transition: all 0.7s ease 0s;
  -o-transition: all 0.7s ease 0s;
  transition: all 0.7s ease 0s;
}

#search_light input[type="text"]:focus {
  width: 400px;
}
#input_search:focus {
  outline: none !important;
}
/*----- End Light Background-----*/
a {
  color: #dc3545;
}
a:hover {
  color: #333;
}
#upload_btn,
#download_btn,
#multi_upload_btn,
#next-button,
#prev-button,
#next_btn,
#prev_btn,
#next-btn,
#prev-btn {
  text-decoration: none;
}
#upload_btn {
  padding-top: 10px;
}
#random_btn {
  padding-top: 10px;
  margin: 0 5px;
}

.img-move {
  height: 83px;
  width: 83px;
}

.dropdown-item a:hover {
  background-color: #da314b;
}
#like-hand:hover {
  cursor: pointer;
}
.avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}
.thumbnail-caption {
  font-size: 24px;
}
.page-item.active .page-link {
  background-color: #dc3545;
  border-color: #dc3545;
}
#fa_user,
#id-like,
#id-eye,
#id-comment,
#fa_folder,
#fa_calendar,
#fa_comment,
#fa_view,
#fa_like {
  margin-right: 10px;
}
#id-like {
  margin-left: 2px;
}
.btn:hover {
  text-decoration: none;
}
.img-related {
  height: 160px;
  margin-bottom: 20px;
}
#editor {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 4px;
  overflow-x: scroll;
  margin-bottom: 5px;
}
.footer {
  z-index: 100000000;
  margin-top: 300px;
}
#fixed-bottom{
  width: 13%;
}
.fixed-bottom {
  position: fixed;
  margin-top: 100px;
  bottom: 0;
  width: 100%;
}
.match_height {
  height: 115px;
}
.hide {
  display: none;
}

/* mobile mode */
@media only screen and (max-width: 767px) {
  #fixed-bottom{
    width: 100%;
  }
  
  #navbarSupportedContent {
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 99;
    width: 0px;
    height: 100%;
    background-color: #333;
    color: #ccc;
    overflow: auto;
  }
  .menu-overlay {
    display: none;
    background-color: #000;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    filter: alpha(opacity=50);
    /* IE7 & 8 */
    position: fixed;
    right: 0;
    top: 0;
    z-index: 49;
  }
  .navbar-light .navbar-nav .nav-link {
    color: #ccc;
    padding: 10px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
    text-shadow: 0 1px 0 rgb(0 0 0 / 50%);
  }
  .show-mobile {
    display: inline-block !important;
  }
  .hide-mobile {
    display: none !important;
  }
  .dropdown-menu {
    background-color: #333;
    border: 0px;
    box-shadow: inset 0 0px 0 rgb(255 255 255 / 5%);
    text-shadow: 0px;
    transition: 0.5s;
  }
  .dropdown-menu a {
    color: #ccc;
    transition: 0.3s;
  }
  .close-btn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #ccc;
  }
  .pagination {
    display: inline-flex;
  }
  #title-details {
    line-height: 3;
  }
  .btn-width {
    text-align: center;
    width: 48%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    margin-bottom: 5px;
  }
  .btn-full {
    width: 100%;
  }
  .clear {
    clear: both;
  }
  .mob-height {
    height: 320px;
  }
}

/* end mobile mode */

/* ipad */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* For portrait layouts only */
  .img-related {
    height: 225px;
    margin-bottom: 20px;
  }
  #navbarSupportedContent {
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 99;
    width: 0px;
    height: 100%;
    background-color: #333;
    color: #ccc;
    overflow: auto;
  }
  .menu-overlay {
    display: none;
    background-color: #000;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    filter: alpha(opacity=50);
    /* IE7 & 8 */
    position: fixed;
    right: 0;
    top: 0;
    z-index: 49;
  }
  .navbar-light .navbar-nav .nav-link {
    color: #ccc;
    padding: 10px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
    text-shadow: 0 1px 0 rgb(0 0 0 / 50%);
  }
  .show-mobile {
    display: inline-block !important;
  }
  .hide-mobile {
    display: none !important;
  }
  .dropdown-menu {
    background-color: #333;
    border: 0px;
    box-shadow: inset 0 0px 0 rgb(255 255 255 / 5%);
    text-shadow: 0px;
    transition: 0.5s;
  }
  .dropdown-menu a {
    color: #ccc;
    transition: 0.3s;
  }
  .close-btn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #ccc;
  }
  .pagination {
    display: inline-flex;
  }
  #title-details {
    line-height: 3;
  }
  .btn-width {
    text-align: center;
    width: 48%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    margin-bottom: 5px;
  }
  .btn-full {
    width: 100%;
  }
  .clear {
    clear: both;
  }
  #fixed-bottom{
    width: 30%;
  }
}
