/*
Theme Name: Ryan Hayward
Theme URI: http://matthayward.com.au
Author: Matt Hayward
Author URI: http://matthayward.com.au/
Description: WordPress theme for Ryan Hayward
Version: 1.0
*/

html, body {
  font-family: 'Open Sans', sans-serif;
}

.container {
  width: auto;
  max-width: 1162px;
}

.banner {
  position: relative;
  background:#2c2c2c;
  height:auto;
  width:100%;
  background-size:cover;
  background-position: center;
  background-image:url("http://ryanhayward.com.au/wp-content/uploads/2017/06/header-3.jpg");
}

.black-overlay {
  position: absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background:#3b1542
  opacity: 0.43;
  z-index: 1;
}

.header {
  position: relative;
  z-index: 2;
  height:55px;
  line-height: 55px;
  margin-top:20px;
  color:#affc41;
}

.header-items {
  text-align: right;
  font-weight: 600;
  padding-right:50px;
}

.header-items a {
  color:inherit;
  margin-left:40px;
  font-size:16px;
  text-decoration: none;
}


.header-items a:hover {
  text-decoration: none;
  color:#d0d0d0;
}

.footer .social-icon {
  font-size:26px;
  position: relative;
  top:4px;
  margin-right: 10px;
  color:#fff;
}

.footer img {
  margin-left:-7px;
}

.footer a:hover {
  text-decoration: none;
  color:#d0d0d0;
}

.logo {
  height:55px;
}

.banner-text {
  font-family: 'montserrat';
  position: absolute;
  color:#FFF;
  text-align: center;
  z-index: 2;
  height:200px;
  top:50%;
  margin-top:-100px;
  width:100%;
}

.banner-text h1 {
  font-weight: 800;
  font-size:80px;
}

.banner-text p {
  font-size:24px;
}

.about-me {
  position: relative;
}

.about-me img {
  position: absolute;
  height: 85%;
  right: 100px;
  bottom: 0;
  width: auto;
}

.about-me .content {
  padding:100px;
  padding-left:30px;
  padding-right: 15px;
  font-family: 'Open Sans', sans-serif;
  font-size:16px;
}

.about-me .content h3 {
  font-weight: 800;
  font-size:32px;
}

hr.short {
  display: inline-block;
  width:35px;
  border-color:#dadada;
  border-width: 3px;
}

.portfolio-item {
  height:500px;
  position: relative;
    overflow:hidden;
}

.portfolio-image {
  position: absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background-size:cover;
  background-position: center center;
  -moz-transform: scale(1,1);
  -webkit-transform: scale(1,1);
  transform: scale(1,1);
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  transition:all .5s;
  z-index:-1;
}

.portfolio-item:hover .portfolio-image {
  -moz-transform: scale(1.15,1.15);
  -webkit-transform: scale(1.15,1.15);
  transform: scale(1.15,1.15);
}

.portfolio-info-background {
  position: absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background:#1abc9c;
  opacity: 0;
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  transition:all .5s;
}

.portfolio-item:hover .portfolio-info-background {
  opacity: 0.85;
}

.portfolio-info {
  position: absolute;
  top:35%;
  left:0px;
  width:100%;
  opacity: 0;
  color:#FFF;
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  transition:all .5s;
  padding:20px;
  font-size:16px;
  text-align: center;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1.0;
}

hr {
  width:5%;
  border-color: #FFF;
  border-top-width: 4px;
}

.more-work {
  padding:60px;
}

.more-work .btn {
  border-radius: 0px;
  padding-top:10px;
  padding-bottom: 10px;
  padding-left:25px;
  padding-right:25px;
  border:2px solid #3c1642;
  background:#FFF;
  color:#3c1642;
  font-weight:bold;
  font-size:13px;
}

.more-work .btn:hover {
  background:#3c1642;
  border:2px solid #3c1642;
  color:#fff;
}

.quote-box {
  padding:60px;
  color:#FFF;
  text-align: center;
  background:#f39c12;
  font-weight: normal;
  font-family: 'Open Sans', sans-serif;
  min-height: 320px;
}

.quote-box hr {
  border-top-width: 5px;
  margin-top:30px;
  margin-bottom:30px;
}

.quote-box p {
  font-size:20px;
}

.brand-box {
  padding:20px;
  padding-top:30px;
  background:#ebebeb;
}

.brand-box img {
  height:100px;
  -webkit-filter:grayscale(100%);
  filter:grayscale(100%);
  -moz-transition: all 1.5s;
  -webkit-transition: all 1.5s;
  transition:all 1.5s;
  margin-top:-80px;
}

.brand-box img.colour {
  -webkit-filter:grayscale(0%);
  filter:grayscale(0%);
}

.brand-box .col-sm-3 {
  position: relative;
}

/*Up-left pointing*/
.triangle-up-left {
    width: 0;
    height: 0;
    padding-bottom: 10%;
    padding-left: 10%;
    overflow: hidden;
    margin-left:5%;
    margin-top:-30px;
    border-left-color: #4679BD;
}
.triangle-up-left:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: -40px;
    border-bottom: 40px solid transparent;
    border-left: 40px solid #4679BD;
    border-left-color: inherit;
}

.social-info {
  background:#3c1642;
  padding: 50px;
  color:#FFF;
  font-size:17px;
}

.social-info h1 {
  font-size:45px;
}

.social-info hr {
  width:40px;
  float:left;
  margin-top:10px;
  border-top: 5px #3c1642 solid;
}

.social-info a {
  text-decoration: none;
  color:inherit;
}

.social-info a:hover .round-icon {
  background:#fffd;
  color:#3c1642;
}


.round-icon {
  background:#FFF;
  width:35px;
  height:35px;
  text-align: center;
  border-radius: 17.5px;
  color:#3c1642;
  display: inline-block;
  position: relative;
  top:-6px;
  margin-right:10px;
  margin-bottom: 15px;
}

.round-icon .fa {
  position: relative;
  top:5px;
  left:0.7px;
}

.round-icon .fa-instagram {
  font-size:22px;
  top:6px;
}

.social-info .btn {
  border-radius: 0px;
  padding-top:10px;
  padding-bottom: 10px;
  padding-left:25px;
  padding-right:25px;
  border:2px solid #FFF;
  background:transparent;
  color:#FFF;
  font-weight:bold;
  font-size:13px;
}

.social-info .btn:hover {
  background:#FFF;
  border:2px solid #FFF;
  color:#3c1642;
}

.phone-img {
  position: relative;
  top: 100px;
}

.footer {
  padding:40px;
  background:#181818;
  font-size:13px;
}

.blue-text {
  color:#aefb41;
}

.footer-menu {
  margin-top:-20px;
}

.footer-menu a {
  color:#FFF;
  text-decoration: none;
  font-weight: 600;
  font-size:16px;
  margin-left:20px;
  margin-right: 20px;
}

.footer hr {
  width:90%;
  margin-top:30px;
  border-top:2px solid #3f3f3f;
}

.matt-credit a {
  color:#515151;
  text-decoration: none;
}

.matt-credit a:hover {
  color:#FFF;
}

.page-menu {
  padding-bottom: 20px;
  background:#181818;
}

.project-info {
  padding:50px;
}

.project-info img {
  margin-top:30px;
}

.line-right {
  border-right:2px solid #000;
}

.no-margin {
  margin:0px;
  padding:0px;
}

.navbar-default {
  background:transparent;
  border:0px;
}

.navbar-brand, .navbar-nav li a {
    line-height: 70px;
    color:#FFF;
    height: 70px;
    padding-top: 0;
}

.navbar-default .navbar-nav>li>a {
  color: #FFF;
  font-weight: 600;
  font-size:16px;
}

.navbar-default .navbar-nav>li>a:hover {
  color:#d0d0d0;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
  color:#FFF;
  background: transparent;
}

.navbar-default .navbar-nav>li>a .fa {
  font-size:22px;
}

.navbar-default .navbar-toggle {
  border:0px;
  margin-top:12px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #FFF;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
  background: transparent;
}

@media(max-width: 900px){
  .portfolio-item {
    height:350px;
  }

  .brand-box img {
    height:auto;
    width:100%;
    margin-top: 0px;
  }

  .triangle-up-left {
    padding-left:5%;
    padding-bottom: 5%;
    position: relative;
    left: 8%;
  }

  .social-info .btn {
    margin-top:0px;
  }

  .phone-img {
    display: none;
  }

  .footer-menu a {
    font-size:13px;
    margin-left:5px;
    margin-right:5px;
  }

}

@media(max-width:767px){
  .banner {
    padding-left: 0;
    padding-right: 0;
  }

  .quote-box {
    min-height: 225px;
    padding:30px;
  }

  .quote-box h2 {
    font-size:18px;
  }

  .quote-box hr {
    border-top-width: 2px;
  }

  .quote-box p {
    font-size:14px;
  }

  .brand-box .brand {
    padding:0px;
  }

  .navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border:0px;
    background:rgba(0,0,0,0.9);
    box-shadow: none;
    padding-left:30px;
  }

  .banner-text {
    margin-left:0;
    margin-right:0;
  }

  .portfolio-item {
    height:300px;
  }

  .banner-text h1 {
    font-size:37px;
  }

  .banner-text p {
    font-size:17px;
  }

  .banner-text {
    padding:10px;
    top:55%;
  }

  .about-me .content {
    margin-top: 0px;
    padding:15px;
  }

  .about-me img {
    position: static;
    height:auto;
    width:80%;
    margin-left:10%;
  }

  .social-info {
    padding:20px;
  }

  .footer {
    padding:20px;
    text-align: center;
  }

  .footer-menu {
    margin-top:20px;
  }

  .social-info {
    font-size:13px;
  }

  .social-info .fa {
    font-size:20px;
  }

  .social-info h1 {
    font-size:32px;
  }

}
