/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
	font-size: inherit;
}

.clearfix:after {
    content:"";
    display: block;
    clear: both;
}
.hidden {
   position: absolute !important;
   top: -9999px !important;
   left: -9999px !important;
}
.no-box-shadow {
    box-shadow: none !important;
}
footer.page-footer {
    margin-top: -20px;
}
.stopfade {
    opacity: 0.5;
}

/* NAVBAR */
/*========*/
.main_nav {
    height: auto;
    background-color: #fff;
    line-height: 4.5rem;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.15);
    position: relative;
    overflow: auto;
}
.nav_normal img {
    width: 3.5rem;
    float: left;
    display: inline-block;
    vertical-align: middle;
    margin: 10px 2rem 0 4rem;
}
.nav_normal ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.nav_normal ul > li {
    float: left;
}
.nav_normal ul > li > a {
    color: #bbb;
    transition: all 0.3s;
}
.nav_normal ul > li:nth-child(1) > a {
    color: #bbb;
    display: inline;
    padding: 10px 16px 10px 16px;
}
.nav_normal ul > li > a:hover {
    color: teal;
    background-color: #fff;
}
.nav_mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    height: 70px;
    background-color: #039be5;
}
.nav-mobile-logo {
    position: absolute;
    color: #fff;
    font-size: 2.1rem;
    padding: 0;
    white-space: nowrap;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.nav-mobile-logo img {
    width: 56px;
    height: 56px;
    margin: 6px 0 0 0;
}
.nav_mobile ul {
    position: fixed;
    left: 0;
    background-color: #fff;
    z-index: 2;
    overflow-y: auto;
    transform: translateY(14px);
    /*height: calc(100%);*/
}
.nav_mobile ul > li {
    float: none;
}
.nav_mobile ul > li > a {
    color: #bbb;
    background-color: #fff;
    display: block;
    transition: all 0.3s;
}
.nav_mobile ul > li > a:hover {
    background-color: #039be5;
    color: #fff;
}
.c-hamburger {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 10px 0 10px 0;
  padding: 0;
  width: 48px;
  height: 56px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.c-hamburger:focus {
  outline: none;
}
.c-hamburger span {
  display: block;
  position: absolute;
  top: 22px;
  left: 9px;
  right: 9px;
  height: 3px;
  background: white;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  content: "";
}

.c-hamburger span::before {
  top: -10px;
}

.c-hamburger span::after {
  bottom: -10px;
}
.c-hamburger--htx {
  background-color: transparent;
}

.c-hamburger--htx span {
  transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
  background-color: transparent;
}

.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.3s;
}
/* Main */
/********/
.hero {
    margin: 70px 0 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient( rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45) ), no-repeat center center;
    background-size: cover;
    color: #fff;
    position: relative;
    min-height: 550px;
    overflow: hidden;
}
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url('../img/dog.jpg') no-repeat;
    background-size: cover;
    transition: 1s;
}
.hero p {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0px 2px #222;
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
}
.hero a {
    display: block;
    margin: 50px auto 20px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    background-color: transparent;
    padding: 18px 24px;
    border-radius: 8px;
    border: 2px solid #fff;
    transition: all 0.2s;
}
.hero a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main content */
/****************/
.main_section_header {
    font-size: 2rem;
    text-align: center;
    margin: 4rem 0 0;
    padding: 0;
    font-family: 'Raleway', 'Roboto', 'Helvetica', 'sans-serif';
}
.main-section-subheader {
    font-size: 1rem;
    text-align: center;
    color: #777;
    margin: 0;
    padding: 0.7rem 0 2.5rem;
}

/* Main: Featured Content */
/**************************/
.feat-card {
    display: block;
    height: 14rem;
    background-image: url('../img/dog.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 3px;
    margin: 0 0 3rem;
    box-shadow: 0 4px 4px #999;
}
.feat-card:hover {
    box-shadow: 0 4px 4px 2px #888;
}
.feat-card span {
    display: block;
    text-align: right;
}
.feat-card i {
    color: #FFEB3B;
    font-size: 1.6rem;
    padding: 10px 10px 0 0;
}
.feat-card p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    color: #eee;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    font-variant: small-caps;
    font-family: 'Helvetica', 'sans-serif';
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background-color: rgba(211,47,47,0.85);
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.newest-card {
    padding: 8px;
    margin: 1rem 0 2rem 0;
}
.newest-card a {
    display: block;
    box-shadow: 0 2px 4px #999;
}
.newest-card .newest-img {
    margin: 0;
    padding: 0;
    border-radius: 3px;
    max-width: 100%;
    height: 11rem;
    background-position: center;
    background-size: cover;
}
.newest-card a:nth-child(2) {
    text-align: center;
    border-radius: 2px;
    margin: 1rem 0 0;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-variant: small-caps;
    font-family: 'Helvetica', 'sans-serif';
    text-overflow: ellipsis;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    background-color: #0288D1;
    
}
.newest-card a:hover {
    box-shadow: 0 2px 3px 2px #aaa;
}
.view-more-btn {
    text-align: center;
}
/**
* Login Form
**/
.login-modal h5 {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}
.login-modal .modal-content p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}
.form-container .login-form {
    box-shadow: 0 3px 4px #555;
    margin: 2rem 0 2rem 0;
    background-color: #fff;
    padding: 2rem 2rem 2.9rem;
    border-radius: 3px;
}
.form-container {
    background-color: #0277bd;
    background-image: url('../img/loginbg1.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem 1rem;
}
.form-container .row {
    margin-bottom: 0;
}
.form-container.active .login-form{
    display: block;
}
.sign-in-btn {
    color: #fff;
    background-color: #fb8c00;
    text-align: center;
    font-variant: small-caps;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px #555;
}
.forgot-pass {
    color: #fff;
    text-align: center;
    cursor: pointer;
}
.or-hr {
    margin: 2.4rem 0;
}
.goto-register-btn {
    display: block;
    color: #fb8c00;
    background-color: #fff;
    text-align: center;
    font-variant: small-caps;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px #555;
}

/**
 * Breeds
 */
.breeds-grid {
    margin: 100px 0 0 0;
}
.breeds-title {
    color: #777;
    font-size: 2.4rem;
    margin: 0;
}
.breeds-subtitle {
    color: teal;
    font-size: 1rem;
    margin: 0.5rem 0 2.5rem;
}
.breeds-card {
    margin: 0 0 1rem;
}
.breeds-card a {
    height: 10rem;
    display: block;
    background-image: url(../img/dog.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 3px 3px 0 0;
}
.breeds-card p {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 12px 8px;
    background-color: #0277bd;
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Roboto', 'Helvetica', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    border-radius: 0 0 3px 3px;
}

/**
 *  List
 */
 .list-grid {
    margin: 100px 0 0 0;
 }
.list-title {
    font-size: 1.6rem;
    color: #555;
}
.list-subtitle {
    color: #999;
    margin: 0 0 1rem 1rem;
}
.list-card a {
    height: 17rem;
    position: relative;
    display: block;
    background-image: url(../img/dog.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: 0px 2.5rem 30px -4px rgba(0, 0, 0, 0.5) inset, 0px -2.5rem 30px -4px rgba(0,0,0,0.5) inset;
}
.list-card a p:nth-child(1) {
    color: #fff;
    padding: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-variant: small-caps;
    font-family: 'Helvetica', 'Roboto', sans-serif;
    margin-bottom: 0;
}
.list-card a .featured {
    background-color: rgba(255,152,0,0.9);
    margin: 0;
    color: #fff;
    display: inline-block;
    padding: 0.35rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 8px;
    margin-left: 0.6rem;
}
.list-card a .not-featured {
    display: none;
}
.list-card a p:nth-child(3) {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

/**
 *  Profile
 */
.slider-left,
.slider-right {
    position: absolute;
    color: #fff;
    top: 45%;
    z-index: 3;
    font-size: 0.8rem;
    cursor: pointer;
}
.slider-right {
    right: 0;
}
.slider-left span,
.slider-right span {
    margin: 0 1rem;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 1rem;
}
.profile-intro {
    position: relative;
    padding: 35px 16px;
    background: url('../img/profilebg.jpg');
    box-shadow: 0 3px 6px #888;
}
.profile-featured-label {
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    margin: 20px 0 0 5px;
    border: 1px solid #FFA500;
    padding: 3px 6px;
    border-radius: 0px;
    font-size: 0.9rem;
    color: #fff;
}
.profile-name {
    font-size: 2rem;
    color: #fff;
    padding: 16px 10% 0;
    margin: 0;
}
.profile-breed {
    margin: 0 0 35px;
    padding: 0;
    color: #bbdefb;
    text-shadow: 0 1px rgba(0,0,0,0.4);
}
.profile-post-date-label {
    margin-bottom: 4px;
    color: #ffc107;
    text-shadow: 0 1px rgba(0,0,0,0.2);
}
.profile-post-date {
    margin: 0 0 25px;
    color: rgba(255,255,255,0.8);
}
.profile-main-wrapper {
    width: 90%;
    margin: 4rem auto 4rem;
}
.profile-story-label {
    font-size: 1.7rem;
    font-weight: 500;
    margin-top: 5px;
    color: rgba(0,0,0,0.71);
    padding: 0;
    font-family: "Roboto", sans-serif;
}
.profile-story {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(0,0,0,0.71);
    line-height: 1.5;
}
.profile-host-img span {
    padding: 1.5rem 2rem;
    border-radius: 50%;
    font-size: 3.5rem;
    color: #fff;
}
.profile-host-label {
    margin: 0;
    padding: 20px 0 0;
}
.profile-host-name {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 300;
    padding: 0 16px 0;
    color: #546e7a !important;
}
.profile-address-wrapper {
    margin: 4rem 5% 3rem;
}
.profile-address-wrapper p:nth-child(1) {
    color: #64b5f6;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 2.6rem;
}
.profile-address {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
}
.profile-map-btns {
    margin: 0 0 2.4rem;
}
.profile-map {
    margin: 4rem auto;
    height: 450px;
}
/**
  * My Profile
  */
.my-profile-header {
    background-color: #d32f2f;
    background: linear-gradient( rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45) ),url('../img/myprofilebg.jpg') no-repeat center center;
    background-size: cover;
    padding: 6rem 2rem;
    box-shadow: 0 4px 5px 2px #aaa;
}
.tabs .indicator {  /* Override default tab indicator */
    background-color: #fa9800;
}
/*** My Profile Tab ***/
.my-profile-pic {
    border-radius: 50%;
}
.my-profile-pic span {
    font-size: 3rem;
    background-color: rgba(255,255,255,0.85);
    border-radius: 50%;
    padding: 2.6rem 3rem;
    border: 3px solid #2196f3;
}
.my-profile-username {
    font-size: 2rem;
    font-weight: 200;
    color: #fff;
    text-shadow: 0 1px 3px #ccc;
    line-height: 1.5;
    margin-bottom: 0;
}
.my-profile-content {
    padding: 1rem 0;
    background-color: #fff;
}
.my-profile-basic-info li:nth-child(odd) {
    border-bottom: 1px solid #777;
    padding-bottom: 0.5rem;
    position: relative;
    font-weight: 500;
    font-size: 1.1rem;
}
.my-profile-basic-info li:nth-child(even) {
    margin: 1.4rem auto 5rem;
    color: #656565;
    font-size: 1.2rem;
    font-weight: 400;
}
.my-profile-edit-icon {
    color: #4caf50;
    position: absolute;
    right: 0;
    font-size: 1.2rem !important;
    cursor: pointer;
    padding: 0 1rem;
}
.my-profile-password {
    margin: 1.4rem auto;
    color: #656565;
    font-size: 1.2rem;
    font-weight: 400;
}
.my-profile-password span {
    padding-right: 0.6rem;
}
/*** My Listings Tab ***/
.my-profile-empty-message > span {
    font-size: 5rem;
    padding: 6rem 1rem 0;
    color: #555;
}
.my-profile-empty-message p {
    font-size: 1.4rem;
    padding: 1rem 1rem 2rem;
    color: #555;
}
.my-profile-empty-message a {
    margin-bottom: 6rem;
}
.my-profile-listing {
    box-shadow: 0 2px 5px 2px rgba(0,0,0,0.2);
    padding: 0;
    margin: 0;
}
.my-profile-listing-img {
    background-image: url('../img/dog.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
}
.my-profile-listing-info {
    padding: 0 !important;
    position: relative;
}
.my-profile-listing-info p:nth-child(1) {
    background-color: #fff;
    color: #4682b4;
    margin: 0;
    font-size: 1.6rem;
    padding: 2rem 1rem 0 2rem;
    letter-spacing: 1px;
}
.my-profile-listing-info p:nth-child(2) {
    padding: 0.8rem 2rem 1.6rem;
    line-height: 1.8;
}
.fade-out-bottom-text {
    position: absolute; 
    bottom: 0; 
    left: 0;
    width: 100%; 
    text-align: center; 
    margin: 0; padding: 30px 0; 
    
    /* "transparent" only works here because == rgba(0,0,0,0) */
    background-image: linear-gradient(to bottom, transparent, rgba(255,255,255,1));
}