
/*-- A. Template --------------------------------------------------------------------------------------*/

body{
  position: relative;
  background-color: #eaeaea;
  font-family: proxima-nova, sans-serif;
  margin: 0;
}

h1, h2, h3, h4, h5, h6{
  font-family: proxima-nova, sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 110%;
}

h2{
  font-weight: 600;
  font-size: 25px;
}

h3{
  font-weight: 600;
  font-size: 20px;
}


p, li, a, input, textarea{
  font-family: proxima-nova, sans-serif;
  font-size: 15px;
  line-height: 150%;
}

a{
  color: #db3333;
  text-decoration: none;
}

img{
  display: block;
  width: 100%;
}


.site-maxwidth{
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
  overflow: hidden;
}


.panel-maxwidth{
  width: 1366px;
  max-width: 90%;
  margin: 0 auto;
}

.rowpadd{
  padding: 30px 0;
}

@media (min-width: 768px){
  h2{
    font-size: 30px;
  }

  h3{
    font-size: 25px;
  }
  
  p, li, a{
    font-size: 16px;
  }

}

@media (min-width: 1200px){
  h2{
    font-size: 40px;
  }

  h3{
    font-size: 30px;
  }
  
  p, li, a{
    font-size: 17px;
  }
  
}

/*-- X2. Template: Container Style Split Half --*/
.s30 > div,
.s40 > div,
.s50 > div,
.s60 > div,
.s70 > div{
  padding: 0 15px;
}

@media (min-width: 768px){
  .row-split{
    display: flex;
    flex-wrap: wrap;
  }
  .s30{flex: 0 0 30%;}  
  .s40{flex: 0 0 40%;}  
  .s50{flex: 0 0 50%;}    
  .s60{flex: 0 0 60%;}  
  .s70{flex: 0 0 70%;}  
	
  .rowpadd{
	 padding: 60px 0;
   }

}
/*-- --*/

@media (min-width: 768px){
  .row{
    display: flex;
    flex-wrap: wrap;
  }
  
  .col{
    flex-grow: 1;
  }
  
  
  .rowpadd{
    padding: 70px 0;
  }
} 

/*--backgrounds--*/
.bg-2{
  background-color: #f7f7f7;
}

.bg-3{
  background-color: #f1f1f1;
}


/*--buttons--*/

.button-arrow-red,
.button-arrow-grey,
.button-arrow-white{
  display: flex;
  align-items: center;
  transition-duration: .2s;
}
  
.button-arrow-red:after,
.button-arrow-grey:after,
.button-arrow-white:after{
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 10px;
  height: 10px;
  margin-left: 10px;
}

.button-arrow-red:hover,
.button-arrow-grey:hover,
.button-arrow-white:hover{
  transform: translateX(5px);
}
  
.button-arrow-red{
  color: #d83539;
}

.button-arrow-grey{
  color: #333333;
}

.button-arrow-white{
  color: #fff;
}

.button-arrow-red:after{
  background-image: url(https://www.hsms.com.au/images/icons/arrow-right-red.svg);
}

.button-arrow-grey:after{
  background-image: url(https://www.hsms.com.au/images/icons/arrow-right-grey.svg);
}

.button-arrow-white:after{
  background-image: url(https://www.hsms.com.au/images/icons/arrow-right-white.svg);
}










/*-- B. Header --------------------------------------------------------------------------------------*/

header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
  z-index: 1;
}

header .header_top{
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
}


header .header_top .logo{
}

header .header_top .logo img{
  width: 200px;
  max-width: 90%;
}


header .header_top #nav_button{
  width: 25px;
  max-width: 100%;
  display: block;
}

header #nav{
  display: none;
  text-align: right;
}

header.open{
 	display: block;
  background-color: #d83539f7;
	max-height: 100% !important;
	height: 100% !important;
	position: fixed;
  opacity: .98;
  z-index: 100;
  
}

header.open .header_top{
  width: 1920px;
  margin: 0 auto;
}



header.open #nav{
  display: block;
  width: 1920px;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
}


header #nav li{
  list-style-type: none;
  margin: 10px 0;
}

header #nav li a{
  color: #fff;
  font-size: 15px;
  transition-duration: .2s;
  text-decoration: none;
  font-weight: 700;
}

header #nav li a:hover{
  color: #e2e2e2;
}


header.open #nav li a{
  font-size: 20px;
}


header #nav #nav-social{
  margin: 30px 0 0 0;
}

header #nav #nav-social img{
  width: 20px;
  transition-duration: .2s;
  padding: 0 2px;
}

header #nav #nav-social img:hover{
  transform: scale(0.9);
}


/* Icon 3 */

#nav-icon3 {
  width: 22px;
  height: 22px;
  position: relative;
  margin: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  cursor: pointer !important;
}

#nav-icon3 span{
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .1s ease-in-out;
  -moz-transition: .1s ease-in-out;
  -o-transition: .1s ease-in-out;
  transition: .1s ease-in-out;
  cursor: pointer;
}


#nav-icon3 span:nth-child(1) {
  top: 10%;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 50%;
}

#nav-icon3 span:nth-child(4) {
  top: 90%;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#desktop-nav{
  display: none;
}

#desktop-nav li a{
  color: #fff;
  transition-duration: .1s;
}

#desktop-nav li a:hover{
  color: #d2d2d2;
}


@media (min-width: 700px){
  #nav-icon3 {
    width: 30px;
    height: 30px;
  }
  
  header #nav li a{
    font-size: 20px;
  }

  
  header #nav #nav-social img{
    width: 35px;
  }
  
}

@media (min-width: 768px){
  header .header_top{
    padding: 50px 0;
  }
  
  header #nav li a{
    font-size: 30px;
  }

}

@media (min-width: 1100px){
  header .header_top .logo img{
    width: 300px;
  }
  
  header .header_top #nav_button{
    display: none;
  }
  
  #desktop-nav{
    display: block;
    display: flex;
    flex-wrap: wrap;
  }
  
  #desktop-nav li{
    list-style-type: none; 
    padding: 0 15px;
  }
  
  #desktop-nav li a{
    color: #fff;
    font-weight: 700;
  }
  
}


/*-- c. Footer--------------------------------------------------------------------------------------*/
footer{
  background-color: #fff;
}

footer a{
  color: #000;
  transition-duration: .1s;
}

footer a:hover{
  color: #d83539;
}

footer #footer-top{
  padding: 40px 0;
}

footer .ff-contact-info img{
  width: 22px;
  margin-right: 15px;
  margin-top: -2px;
}

footer .ff-contact-info a{
  display: flex;
  align-items: center;
  margin: 15px 0;
}

footer .ff-contact-info a.ff-phone{
}

footer .ff-contact-info a.ff-email{
  color: #d83539;
  font-weight: 600;
  font-size: 18px;
  word-break: break-word;
}

footer .ff-contact-info a.ff-address{

}

footer .ff-social{
  display: flex;
  align-items: center;
}

footer .ff-social img{
  width: 30px;
  height: 30px;
}

footer #footer-bot{
  padding: 10px 0 40px;
}

footer #footer-bot p{
  text-align: center;
}

footer .ff-logo .social img{
  width: 40px;
  transition-duration: .1s;
  cursor: pointer !important;
}

footer .ff-logo .social img:hover{
  transform: scale(0.92);
}

footer .ff-logo .social img:last-of-type{
  margin-left: 5px;
}

footer .ff-logo .logo{
  width: 120px;
}


footer .ff-logo .social {
  color: #000;
  transition-duration: .1s;
  display: inline-block;
  margin: 30px 0;
}

footer .ff-logo .social:first-of-type{
  margin-left: -15px;
}

@media (min-width: 768px){
  footer #footer-top{
    padding: 80px 0 50px;
  }
  
  footer .ff-logo > div{
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  footer .ff-logo .logo{
    width: 160px;
    margin-left: 30px;
  }

  footer .ff-logo .social:first-of-type{
    margin-left: 0;
  }
  
}

/*-- 1. Home --------------------------------------------------------------------------------------*/


#home-hero{
  display: flex;
  align-items: center;
  background-color: #353535;
  height: 500px;
  background: url(../images/hsms_hero_1.jpg) 50% 50% no-repeat;
  background-size: cover;
  text-align: center;
}

#home-hero h1{
  text-align: center;
  font-weight: 700;
  color: #fff;
  font-size: 30px;
  line-height: 35px;
  margin: 50px auto 0;
  text-shadow: 2px 2px 5px #00000014;
  max-width: 400px;
}

#home-hero a{
  display: inline-flex;
  background-color: #d83539;
  background: linear-gradient(45deg, #d83539, #ce2a2e);
  margin: 30px auto 0;
  color: #fff;
  padding: 12px 20px;
  transition-duration: .2s;
}

#home-hero a img{
  width: 12px;
  height: 12px;
  margin: auto 0 auto 15px;
}

#home-hero a:hover{
  transform: scale(0.97);
}

@media (min-width: 768px){
  #home-hero{
    height: 800px;
  }
  
  #home-hero h1{
    font-size: 55px;
    line-height: 50px;
    max-width: 500px;
  }
  
  #home-hero a{
    padding: 15px 30px;
  }
    
}


/*-- section-introduction --*/
#section-introduction{
  padding-bottom: 80px;
}

#section-introduction > div{
  width: 1200px;
  align-items: center;
}

#section-introduction .content{
  padding: 40px 0 60px;
}

#section-introduction .content h2{
  margin-top: 0;
  width: 85%;
}

#section-introduction .content p{
  max-width: 500px;
  width: 85%;
}


#section-introduction .photo{
  position: relative;
  text-align: right;
}

#section-introduction .photo img{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: block;
  margin-top: -30px;
  box-shadow: 2px 2px 5px #0000004f;
  margin-right: 50px;
}

#section-introduction .photo .box-grey{
  background: #4d4d4d;
  width: 100px;
  height: 100px;
  
  position: absolute;
  top: 40px;
  right: 0;
  opacity: 1 !important;
}


#section-introduction .photo .box-red{
  z-index: 1;
  background: #d83539;
  width: 70px;
  height: 70px;
  position: absolute;
  top: 100px;
  right: 20px;
  opacity: 1 !important;
}

@media (min-width: 768px){
  #section-introduction .photo img{
    float: right;
  }
  
  #section-introduction .content{
    padding: 40px 0 20px 0;
  }
  
  
}





/*-- home-services --*/

#home-services{
  background-color: #f5f5f5;
}

#home-services > div{
  align-items: center;
}


#home-services .services-info > div{
  max-width: 819.6px;
  right: 0;
  margin-left: auto;
  padding: 50px 10% 30px;
}

#home-services .services-info h2{
  color: #d83539;
  margin: 0;
}

#home-services .services-info p{
  margin: 10px 0;
  max-width: 400px;
}


#home-services .services-icons{
  display: flex;
  flex-wrap: wrap;
}

#home-services .services-icons > div{
  flex: 0 0 50%;
  padding: 20px 0;
}

#home-services .services-icons img{
  height: 60px;
  width: auto;
}



#home-services .services-icons h4{
  margin: 20px 0 10px;
  color: #d83539;
  font-weight: 700;
  font-size: 18px;
}

#home-services .services-icons p{
  margin: 0;
  max-width: 160px;
}



#home-services .cta{
  background-color: #d83539;
  background: linear-gradient(45deg, #d83539, #ce2a2e);
}

#home-services .cta > div{
  padding: 60px 10%;
}

#home-services .cta h1{
  font-weight: 700;
  color: #fff;
  line-height: 40px;
  max-width: 360px;
}

#home-services .cta a{
  display: inline-flex;
  color: #fff;
}

#home-services .cta a img{
  width: 8px;
  margin-left: 15px;
  margin-top: -1px;
}

@media (min-width: 768px){
  #home-services .cta h1{
    font-size: 40px;
  }
  
  #home-services .services-info p{
    margin: 10px 0 50px 0;
  }
  
  #home-services .cta > div{
    padding: 120px 15%;
  }
  
  #home-services .services-info > div{
    padding: 70px 5%;
  }
  
  #home-services .services-icons > div{
    flex: 0 0 25%;
    padding: 0;
  }

}

/*-- home-testimonial --*/

#home-testimonial > div{
  align-items: center;
}

#home-testimonial .ht-photo{
  position: relative;
}

#home-testimonial .ht-photo img{
  display: block;
  width: 100%;
}

#home-testimonial .ht-photo .kitchen-text{
  color: #fff;
  padding: 10px 15px;
  background: #d83539;
  box-shadow: 2px 2px 5px #0003;
  font-style: italic;
}

#home-testimonial .ht-content > div{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}


#home-testimonial h3{
  text-align: right;
  margin: 30px 2% 0;
  flex: 0 0 100%;
}
  
#home-testimonial .testimonial{
  text-align: right;
  max-width: 360px;
  padding: 20px 2%;
}


.testi-name,
.testi-role{
  color: #b7b7b7;
  margin: 0;
}

@media (min-width: 768px){
  #home-testimonial h3{
    margin: 0 2% 0;
  }
  
  #home-testimonial .ht-photo .kitchen-text{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 12px 35px;
  }
  
}




/*-- home-blog --*/
.news-items{
  display: flex;
  flex-wrap: wrap;
}
  
.news-items .item{
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 48%;
  margin: 1%;
}

.news-items .item .photo{
  background-size: cover !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
}

.news-items .item .content{
  background-color: #f6f6f6;
}

.news-items .item .content > div{
  padding: 40px 10%;
}

.news-items .item .content .c-title{
  font-weight: 600;
}

#home-blog .cs-item{
  box-shadow: none;
}

#home-blog > div > h3{
  margin: 0 20px -30px;
}

#home-blog > div > a{
  display: block;
  margin: -40px 5% 0;
}

@media (min-width: 768px){
  #home-blog > div > a{
    float: right;
    margin: 0 15px 0 0;
  }
  
  #home-blog > div > h3{
    margin: 10px 1%;
  }

}

      
  



/*-- home-cta --*/

#home-cta{
  background: #db3333;
  color:  #fff;
}

#home-cta > div{
  padding: 80px 0;
  color: #fff;
  background-image: url(https://www.hsms.com.au/images/hsms-cta-bg.jpg);
  background-repeat: no-repeat;
  background-position: 100% 50%;
}

#home-cta h1{
  font-weight: 700;
  color: #fff;
  font-size: 35px;
  line-height: 50px;
  margin: 0;
}

#home-cta a{
  display: flex;
  align-items: center;
  color: #fff;
  margin: 0;
  transition-duration: .2s;
  max-width: 290px;
}

#home-cta a:hover{
  transform: translateX(5px);
}

#home-cta a img{
  width: 8px;
  height: auto;
  margin-left: 15px;
}

@media (min-width: 768px){
  #home-cta h1{
    font-size: 55px;
  }
  #home-cta a{
    margin: 10px 0 0 0;
  }
}




/*-- 2. Services --------------------------------------------------------------------------------------*/
#page-header{
  padding: 0;
  color: #fff;
  background-image: url(https://www.hsms.com.au/images/background-red.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 250px;
  display: flex;
  align-items: center;
}

#page-header h1 {
  text-align: center;
  font-weight: 700;
  color: #fff;
  margin: 75px 0 0 0;
  text-shadow: 2px 2px 5px #00000014;
}


@media (min-width: 768px){
  #page-header{
    padding: 50px 0;
    height: 400px;
  }
  
  #page-header h1 {
    font-size: 55px;
  }
  
  
}


/**/

#services-list ul{
  list-style-type: none;
  padding: 0;
}

#services-list ul li{
  margin: 25px 0 25px 30px;
  position: relative;
}

#services-list ul li:first-of-type{
  margin-top: 0;
}

#services-list ul li:before{
  display: inline-block;
  content: "";
  width: 22px;
  height: 22px;
  background-image: url(https://www.hsms.com.au/images/icons/check-icon.svg);
  position: absolute;
  background-size: cover;
  background-position: 50% 50%;
  left: -38px;
  border: 1px solid #da4246;
  border-radius: 50%;
}

#section-testimonials .testimonial{
  margin-bottom: 40px;
}

#section-testimonials .testimonial:last-of-type{
  margin-bottom: 0;  
}

#section-testimonials .testi-text p{
}

#section-testimonials .photo{
  margin-top: 30px;
}


@media (min-width: 768px){
  #services-list ul{
    column-count: 3;
    column-gap: 6%;
  }
  
  #section-testimonials .photo{
    margin-top: 0;
  }
  
  #section-testimonials .content > div{
    padding-right: 10%;
  }
  
}



/*-- 3. Case Studies --------------------------------------------------------------------------------------*/

#section-case-studies{
  background-color: #f9f9f9;
}

.cs-item{
  box-shadow: 2px 2px 5px #00000026;
  border-radius: 15px;
  background-color: #fff;
  margin: 30px 0;
}

.cs-item > div{
  padding: 20px;
  align-items: center;
}

.cs-item .photo > div{
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  padding: 0;
}

.cs-item .content > div{
  padding: 30px 5%;
}

.cs-item .content h3{
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.cs-item .content p.date{
  margin: 5px 0 10px;
  color: #b1b1b1;
}

.cs-item .content .button{
  color: #db3333;
  font-weight: 700;
}


/*-- paginate --*/
.paginate{
  width: 100%;
}

.paginate a{
  display: inline-block;
  text-decoration: none;
  color: #db3333;
  padding: 0 5px;
}

.paginate a.clickable{
  cursor: pointer;
}

.paginate a.clickable:hover,
.paginate a.clickable.current{
  color: #555555;
}


/*-- 4. Case Studies Individual --------------------------------------------------------------------------------------*/
#case-studies-header{
  padding: 50px 0;
  color: #fff;
  background-image: url(https://www.hsms.com.au/images/background-red.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  min-height: 150px;
}



#individual-case-study .image img{
  width: 100%;
  display: block;
  margin-top: 20px;
}

#individual-case-study .content h1{
  margin: 0;
  font-size: 30px;
}

#individual-case-study .content .date{
  margin: 5px 0 30px;
  color: #db3333;
}

#individual-case-study .content .video{
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin: 0;
}

#individual-case-study .content .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px){
  #individual-case-study .content > div{
    padding-right: 10%;
  }
  
  #individual-case-study .image img{
    margin: 0; 
  }
}



/*-- 5. Sign Up Popup --------------------------------------------------------------------------------------*/

#contact-popup{
  width: 100%;
  max-width: 600px;
  padding: 5%;
  background: #db3333;
  background: linear-gradient(45deg, #db3333, #aa1818);
}


#contact-popup .freeform-row .freeform-column .freeform-input {
  margin-top: 0;
  padding: 10px;
  border: none !important;
}

#contact-popup .freeform-row .freeform-column .freeform-label {
  color: #fff;
  font-weight: 500 !important;
  margin: 10px 0 5px 0;
}

#contact-popup .freeform-row h3{
  margin: 0;
  font-weight: 500;
  color: #ffffff;
}

#contact-popup .freeform-column button{
  padding: 20px 30px;
  background-color: #db3333;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #fff;
  transition-duration: .2s;
}

#contact-popup .freeform-column button:hover{
  background-color: #eb5a5a;
  transform: scale(0.97);
}

#contact-popup .fancybox-button svg{
  color: #fff;
}


#contact-popup .freeform-form-has-errors,
#contact-popup .freeform-row .freeform-column .freeform-errors>li,
#contact-popup.freeform-row .freeform-column .ff-errors>li{
  color: #c9c9c9;
  font-size: 14px;
}


@media (min-width: 768px){
  #contact-popup{
    padding: 50px 70px;
  }
}


/*-- 6. Contact Us --------------------------------------------------------------------------------------*/
#section-contact {
  background-color: #fcfcfc;
}

#section-contact > div{
}

#section-contact .c-info{
  margin-bottom: 30px;
}

#section-contact .c-info > a img{
  width: 22px;
  margin-right: 15px;
  margin-top: -2px;
}

#section-contact .c-info > a{
  display: flex;
  align-items: center;
  margin: 15px 0;
  color: #4d4d4d;
}

#section-contact .c-info > a.ff-phone{
}

#section-contact .c-info > a.ff-email{
  color: #d83539;
  font-weight: 600;
  font-size: 18px;
  word-break: break-all;
}

#section-contact .c-info > a.ff-address{

}

#section-contact .c-info p{
  flex: 0 0 100%;
}

#section-contact .c-info .social-items{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 40px 0 0 0;
}

#section-contact .c-info .social-items img{
  width: 40px;
}

#section-contact .c-info .social-items img:last-of-type{
  margin-left: 5px;
}



/*-- freeform --*/

#section-contact form{
  background-color: #fff;
  padding: 50px 8%;
  box-shadow: 2px 2px 5px #0000003d;
}


#section-contact .freeform-input {
  border: 1px solid #dcdcdc;
  margin-top: 0;
  padding: 15px;
}

#section-contact .freeform-label {
  font-weight: 500 !important;
  margin: 10px 0 5px 0;
}

#section-contact textarea {
 resize: none;
}


#section-contact h3{
  margin: 0;
  font-weight: 500;
}

#section-contact .freeform-column button{
  padding: 20px 30px;
  background-color: #db3333;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition-duration: .2s;
}

#section-contact .freeform-column button:hover{
  background-color: #eb5a5a;
  transform: scale(0.97);
}


@media (min-width: 768px){
  #section-contact .c-info{
    margin-bottom: 0;
    margin-top: 50px;
  }
  
  #section-contact form{
    margin-left: 5%;
  }
}




/*-- 7. Page 404--------------------------------------------------------------------------------------*/


#page-header.page-404{
  min-height: 700px;
}

#page-header.page-404 h2{
  margin: 10px auto;
  text-align: center;
  max-width: 600px;
  font-size: 20px;
}
#page-header.page-404 a{
  color: #fff;
  font-size: 20px;
  border-bottom: 2px solid;
  transition-duration: .1s;
}

#page-header.page-404 a:hover{
  color: #d0d0d0;
}


@media (min-width: 768px){
  #page-header.page-404 h2{
    margin: 10px auto;
    font-size: 25px;
  }
  #page-header.page-404 a{
    font-size: 25px;
  }
}



















/*-- Z. Animation Elements --------------------------------------------------------------------*/
.animate{
  position: relative;
}

.bounce-up.in-view.animate,
.slide-from-left.in-view.animate,
.slide-from-right.in-view.animate,
.fadein.in-view.animate{
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

/*-- animation: bounce up--*/
.bounce-up.animate {
  opacity: 0;
  
  /*-- transition --*/
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
  
  /*-- transform --*/
  -moz-transform: translate3d(0px, 50px, 0px);
  -webkit-transform: translate3d(0px, 50px, 0px);
  -o-transform: translate(0px, 50px);
  -ms-transform: translate(0px, 50px);
  transform: translate3d(0px, 100, 0px);
  
  /*-- visibility --*/
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

/*-- animation: slide from left --*/
.slide-from-left.animate {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-50px, 0px, 0px);
  -webkit-transform: translate3d(-50px, 0px, 0px);
  -o-transform: translate(-50px, 0px);
  -ms-transform: translate(-50px, 0px);
  transform: translate3d(-50px, 0px, 0px);
}

/*-- animation: slide from right --*/
.slide-from-right.animate {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(50px, 0px, 0px);
  -webkit-transform: translate3d(50px, 0px, 0px);
  -o-transform: translate(50px, 0px);
  -ms-transform: translate(50px, 0px);
  transform: translate3d(50px, 0px, 0px);
}

@media (max-width: 768px){
  .animate{
    overflow: hidden;
  }
}

.delay-1 {transition-delay: 0.05s !important;}
.delay-2 {transition-delay: 0.10s !important;}
.delay-3 {transition-delay: 0.15s !important;}
.delay-4 {transition-delay: 0.20s !important;}
.delay-5 {transition-delay: 0.25s !important;}
.delay-6 {transition-delay: 0.30s !important;}
