/*
Theme Name: BOSTONSTUDIO
Theme URI: http://www.bostonstudio.co.uk
Description:
Version: 1
Author:
Author URI: http://www.bostonstudio.co.uk
*/

@font-face {
	font-family: 'Memphis-Med';src: url('webfonts/190481_0.eot');src: url('webfonts/190481_0.eot?#iefix')
	format('embedded-opentype'),url('webfonts/190481_0.woff') format('woff'),url('webfonts/190481_0.ttf') format('truetype');}
 @font-face {font-family: 'Memphis-Lig';src: url('webfonts/190481_1.eot');src: url('webfonts/190481_1.eot?#iefix') format('embedded-opentype'),url('webfonts/190481_1.woff') format('woff'),url('webfonts/190481_1.ttf') format('truetype');}

@font-face {font-family: 'Memphis-Bol';src: url('webfonts/190481_2.eot');src: url('webfonts/190481_2.eot?#iefix') format('embedded-opentype'),url('webfonts/190481_2.woff') format('woff'),url('webfonts/190481_2.ttf') format('truetype');}

@font-face {font-family: 'Memphis-ExtLig';src: url('webfonts/190481_3.eot');src: url('webfonts/190481_3.eot?#iefix') format('embedded-opentype'),url('webfonts/190481_3.woff') format('woff'),url('webfonts/190481_3.ttf') format('truetype');}

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
  border: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
  font-family: 'Memphis-ExtLig', sans-serif;
  font-variant-ligatures: none;
}

a {
    text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

#wrapper {
  overflow-x: hidden;
}

/*-----------------------------Top NAV bar Styling-------------------------------- */

.logo {
  margin-top: 40px;
  margin-left: 40px;
}

.logo img {
  max-height: 24px;
  width: auto;
}

.top-nav {
  float: right;
  margin-top: -20px;
  margin-right: 40px;
  color: #808080;
}

.top-nav-ul {
  font-size: 18px;
}

.top-nav li {
  display: inline-block;
  list-style-type: none;
  margin: 0px 10px 0px 10px;
}

.top-nav a {
  color: #808080;
}

.top-nav a:hover {
  color: black;
}

.top-nav a.active {
  color: black;
}

.button {
  font-size: 18px;
  background-color: white;
  color: #808080;
}

.button:hover{
  cursor: pointer;
}

button:focus {
  outline: 0;
}

.active {
  color: black;
}

.sidebar-container {
  margin-bottom: 70px;
}

.menu-icon {
  display: none;
}
/*-----------------------------Top NAV slide-out menu styles-------------------------------- */

.side-nav {
  display: none;
  position: absolute;
  top: 134px;
  right: -300px;
  transition: all 0.5s cubic-bezier(.59,.16,.73,.95);
  background-color: #fff;
  width: 250px;
  padding: 45px 20px;
  list-style: none;
  z-index: 1000;
  overflow-y: hidden;
  visibility: hidden;
  min-height: 400px;
}

.side-nav.cat-nav {
  top: 190px;
}

.side-nav.is-showing {
  right: 0px;
  visibility: visible;
}

.side-nav.hover {
  display: block;
}

.side-menu-ul-1 {
  list-style-type: none;
}

.side-menu-ul-2 {
  list-style-type: none;
  margin-bottom: 15px;
}

.side-menu-ul-1 a{
  color: #808080;
  font-size: 18px;
}

.side-menu-ul-1 a:hover{
  color: black;
}

.side-menu-ul-1 a.active{
  color: black;
}

.side-menu-ul-2 a{
  color: #808080;
  font-size: 18px;
  display: block;
}

.side-menu-ul-2 a:hover{
  color: black;
}

.side-menu-ul-2 a.active{
  color: black;
}

.sidebar-subheading {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: "Memphis-ExtLig", sans-serif;
}

/*-------------------------------------Content-----------------------------------------------*/

.text-mobile {
  display: none;
}

.content-showpost {
  flex: 1 0 auto;
  padding-left: 10px;
}

#content_about {
  display: flex;
  flex-flow: wrap;
  margin-bottom: 50px;
  padding-left: 10px;
}

#content_contact {
  flex: 1 0 auto;
  margin-bottom: 30px;
  padding-left: 10px;

  min-height: calc(100vh - 240px);
}

/*SORTING IMAGES ON LANDING PAGE*/

.img-row {
  width: calc(50% - 10px);
  margin-right: 10px;
  margin-bottom: 10px;
  height: auto;
  float: left;
  display: inline-block;
}

.single-col {
  width: calc(100% - 10px)!important;
  display: block!important;
  margin-right: 10px;
}

/* AJAX */

#load-more-wrapper {
  width: 100%;
  display: inline-block;
}

.load-more {
  width: 50px;
  height: auto;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.load-more img {
  width: 100%;
  max-width: 50px;
}

.load-more img:hover {
  cursor: pointer;
}

/* Client-Page */

.client-thumbnail {
  width: calc(100% - 10px);
  margin-right: 10px;
  height: auto;
}

.client-thumbnail .container{
  margin-bottom: 40px;
}

.client-text {
  width: calc(100% - 240px);
  margin-right: 40px;
  font-size: 18px;
  float: right;
  margin-bottom: 30px;
}

.client-text p{
  margin-bottom: 10px;
}

.client-name {
  font-size: 18px;
  margin-bottom: 20px;
}

.cat-list {
  display: inline-block;
  margin-left: 30px;
  margin-bottom: 40px;
  font-size: 16px;
}

.cat-list a{
  display: block;
  text-decoration: none;
  color: #808080;
}

.cat-list a:hover {
  color: black;
  cursor: pointer;
}

.img-row-client {
  width: calc(50% - 10px);
  margin-right: 10px;
  margin-bottom: 10px;
  height: auto;
  float: left;
  display: inline-block;
}

.container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transition: .5s ease;
}

.container:hover .overlay {
  background-color: rgba(0,0,0,0.3);
}

.container:hover .text {
  opacity: 1;
}

.text {
  color: white;
  font-size: 18px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.client-links {
  width: 100%;
  display: inline-block;
}

.next-link {
  display: inline-block;
  float: right;
  margin-right: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.next-link a {
  text-decoration: none;
  color: #808080;
}

.next-link a:hover{
  color: black;
}

.previous-link {
  display: inline-block;
  float: left;
  margin-left: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.previous-link a {
  text-decoration: none;
  color: #808080;
}

.previous-link a:hover{
  color: black;
}

.next-link-mobile {
  display: none;
}

.previous-link-mobile {
  display: none;
}

/* Category-Page */

.category-title {
  margin-left: 30px;
  margin-bottom: 30px;
  font-size: 22px;

  color: #666666;
}

.img-title {
  color: white;
  font-size: 22px;
  opacity: 0;
  padding-top: 30px;
  padding-left: 30px;
}

.img-category {
  color: white;
  font-size: 22px;
  opacity: 0;
  padding-left: 30px;
}

.container:hover .img-title {
  opacity: 1;
}

.container:hover .img-category {
  opacity: 1;
}


/* About-Page */

#content_about img{
  width: calc(100% - 10px);
  margin-right: 10px;
  margin-bottom: 10px;
}

.about-thumbnail {
  margin-bottom: 30px;
}

.about-subheading {
  font-size: 18px;
  display: inline;
  margin-left: 30px;
  float: left;
  width: 190px;
}

.about-content{
  font-size: 18px;
  width: calc(100% - 280px);
  margin-right: 40px;
  float: right;
  margin-bottom: 30px;
}
/* Contact-Page */

#content_contact img{
  width: calc(100% - 10px);
  margin-right: 10px;
}

.contact-subheading {
  font-size: 18px;
  display: inline;
  margin-left: 30px;
  float: left;
  margin-top: 20px;
}

.contact-content {
  width: calc(50% - 40px);

  text-align: right;

  margin-right: 50px;
  margin-left: 0px;
  float: right;
  margin-bottom: 20px;
  margin-top: 20px;
}

.contact-content p {
  margin-bottom: 10px;
}

.contact-content a {
  color: black;
  text-decoration: none;
}


/* FOOTER */

.footer {
  width: 100%;
  text-align: center;
  height: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  z-index: 1000;
}

.social {
  display: table;
  margin: 0 auto;
}

.social ul{
  list-style-type: none;
  text-align: center;
  margin: 0 auto;
}

.footer li {
  display: inline;
  padding: 15px;
  color: black !important;
}

.footer br {
  display: none;
}

.footer a {
  color: black;
  text-decoration: none;
}

.footer a:hover {
  cursor: pointer;
}

.instagram img {
  max-width: 12px;
  height: auto;
}

/*-------------------------------------MEDIA-QUERY-1000PX-----------------------------------------------*/

@media screen and (max-width: 1000px) {
  .single-col {
    width: calc(100% - 1%)!important;
    display: block!important;
    margin-right: 1%;
  }

  #content_about {
    padding-left: 1%;
  }

  #content_about img{
    width: calc(100% - 1%);
    margin-right: 1%;
  }

  #content_contact {
    padding-left: 1%;
  }

  #content_contact img{
    width: calc(100% - 1%);
    margin-right: 1%;
  }

  .img-row {
    width: calc(50% - 1%);
    margin-right: 1%;
    margin-bottom: 1%;
    height: auto;
    float: left;
    display: inline-block;
  }

  .img-row-client {
    width: calc(50% - 1%);
    margin-right: 1%;
    margin-bottom: 1%;
    height: auto;
    float: left;
    display: inline-block;
  }

  .content-showpost {
    padding-left: 1%;
  }

  .client-thumbnail{
    width: calc(100% - 1%);
    margin-right: 1%;
  }

  .footer li {
    padding: 1%;
  }

}

/*-------------------------------------MEDIA-QUERY-420PX-----------------------------------------------*/

@media screen and (max-width: 580px) {
  .single-col {
    width: calc(100% - 2%)!important;
    display: block!important;
    margin-right: 2%;
  }

  #content_about {
    padding-left: 2%;
  }

  #content_about img{
    width: calc(100% - 2%);
    margin-right: 2%;
  }

  #content_contact {
    padding-left: 2%;
  }

  #content_contact img{
    width: calc(100% - 2%);
    margin-right: 2%;
  }

  .contact-content {
    width: 100%;
    text-align: left;
    margin-right: 50px;
    margin-left: 30px;
    float: left;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .img-row {
    width: calc(50% - 2%);
    margin-right: 2%;
    margin-bottom: 2%;
    height: auto;
    float: left;
    display: inline-block;
  }

  .img-row-client {
    width: calc(50% - 2%);
    margin-right: 2%;
    margin-bottom: 0;
    height: auto;
    float: left;
    display: inline-block;
  }

  .content-showpost {
    padding-left: 2%;
  }

  .client-thumbnail{
    width: calc(100% - 2%);
    margin-right: 2%;
  }

  .footer {
    z-index: 0;
  }

  .footer li {
    padding: 2%;
  }

}



/*LANDING-PAGE + NAV*/

@media screen and (max-width: 580px){

  .sidebar-container {
    margin-bottom: 40px;
  }

  .logo {
    margin-left: 25px;
    margin-top: 25px;
  }

  .logo img{
    max-height: 18px;
  }

  .menu-icon {
    display: inline-block;
    cursor: pointer;
  }

  .bar1, .bar2, .bar3 {
      width: 25px;
      height: 2px;
      background-color: #333;
      margin: 5px 0;
      transition: 0.4s;
  }

  /* Rotate first bar */
  .tapped .bar1 {
      -webkit-transform: rotate(-45deg) translate(-5px, 5px) ;
      transform: rotate(-45deg) translate(-5px, 5px) ;
  }

  /* Fade out the second bar */
  .tapped .bar2 {
      opacity: 0;
  }

  /* Rotate last bar */
  .tapped .bar3 {
      -webkit-transform: rotate(45deg) translate(-5px, -5px) ;
      transform: rotate(45deg) translate(-5px, -5px) ;
  }

  .top-nav-mobile{
    margin-right: 25px;
    margin-top: -25px;
    float: right;
  }

  .top-nav {
    display: block;
    width: calc(100% - 2%);
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    display: none;
  }

  .top-nav-ul{
    font-size: 20px;
    display: table;
    table-layout: fixed;
    width: 100%;
  }

  .top-nav li {
    display: table-cell;
    text-align: center;
  }

  .side-nav {
    top: 115px;
    width: calc(50% - 40px);
  }

  .button {
    font-size: 20px;
  }

  .img-row {
    width: calc(100% - 2%);
    margin-right: 2%;
    display: block;
  }

  .footer {
    margin-top: 0px;
  }

  .social ul {
    padding-left: 30px;
    padding-right: 30px;
  }

  .footer li {
    font-size: 14px;
  }

  .footer br {
    display: block;
  }
}

/* CLIENT-PAGE */

@media screen and (max-width: 580px){

  .content-showpost {
    margin-bottom: 0px;
  }

  .client-thumbnail .container {
    margin-bottom: 30px;
  }

  .container-mobile img {
    width: 100%;
    height: auto;
  }

  .cat-list {
    display: block;
    margin-bottom: 0px;
  }

  .cat-list a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 20px;
  }

  .client-text {
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
  }

  .img-row-client {
    width: calc(100% - 2%);
    margin-right: 2%;
    display: block;
  }

  .overlay {
    display: none;
  }

  .text-mobile {
    display: inline-block;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto;

    font-size: 14px;
  }
}

/* ABOUT-PAGE */

@media screen and (max-width: 580px){

  .about-thumbnail img{
    width: 100%;
    height: auto;
  }

  .about-subheading {
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
  }

  .about-subheading p {
    font-size: 20px;
  }

  .about-content {
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
  }

  .about-content p {
    font-size: 18px;
  }
}

/* CONTACT-PAGE */

@media screen and (max-width: 580px){

  .contact-thumbnail img{
    width: 100%;
    height: auto;
  }

  .contact-subheading {
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
    margin-bottom: 0px;
  }

  .contact-subheading p {
    font-size: 20px;
  }

  .contact-content {
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
  }

  .contact-content p {
    font-size: 16px;
  }
}

/* CATEGORY-PAGE */

@media screen and (max-width: 580px){

  .category-title {
    margin-left: 15px;
    font-size: 20px;
  }
}


/*-------------------------------------MEDIA-QUERY-1024PX-----------------------------------------------*/

@media screen and (max-width: 1024px){

  .img-row-client {
    width: calc(100% - 1%);
    margin-right: 1%;
    display: block;
  }

  .overlay {
    display: none;
  }

  .text-mobile {
    display: inline-block;
    width: calc(100% - 60px);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto;
  }

}

/*-------------------------------------MEDIA-QUERY-525PX-----------------------------------------------*/

@media screen and (max-width: 525px){

  .next-link {
    display: none;
  }

  .previous-link {
    display: none;
  }

  .next-link-mobile {
    display: inline-block;
    float: right;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .next-link-mobile a {
    text-decoration: none;
    color: #808080;
  }

  .next-link-mobile a:hover{
    color: black;
  }

  .previous-link-mobile {
    display: inline-block;
    float: left;
    margin-left: 30px;
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .previous-link-mobile a {
    text-decoration: none;
    color: #808080;
  }

  .previous-link-mobile a:hover{
    color: black;
  }


}
