@charset "UTF-8";

html {
  background: #fff;
  font-size: 16px;
}

body {
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  color: #6E6E6E;
  background: #fff;
  margin: 0 auto;
  padding: 0;
}


a.img-link {
    text-decoration: none;
}

/*header */

.header {
  display: block;
  margin-bottom: 0;
  padding-top: 20px;
  text-align: center;
  height: 170px;
  width: 100%;
}

/*header portrait - update to svg file? */

.portrait {
  display: inline-block;
  vertical-align: center;
  height: 140px;
  width: 132px;
  background-image: url("../svgs/sallytownsend.svg");
  background-size: 100%;
}

/*header text - update to SVG file?*/

.sallyt {
  display: inline-block;
  vertical-align: top;
  margin: 30px 0 0 20px;
  width: 816px;
  height: 82px;
  background-size: 100%;
}

.sallyt-2 {
  visibility: hidden;
}

/*Responsive Nav*/
.topnav {
  display: none;
}

/*Web view Nav*/
.nav {
  display: block;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #dedede;
}

.nav ul {
    font-size: 1.05rem;
}

.nav a {
  color: #888;
  text-decoration: none;  
}

.nav ul {
  list-style-type: none;
  padding-left: 0;
}

.nav li {
  list-style-type: none;
  display: inline-block;

}

.home,
.books,
.editorial,
.web,
.licence,
.illustration,
.design,
.shop {
  margin: 0 19px 0 19px;
}

ol, ul {
  margin-top: 0;
  margin-bottom: 10px;
}
  

.nav a:hover {
  color: #3C3B3B;
  text-decoration: none;
}

a.current{
    color: #2B2B2B;

}

/*Back button*/
.back-btn a{
  text-decoration: none;
  color: #74A090;
  font-size: 1.1rem;
}

a.back-btn:hover, a.back-btn:focus{
  text-decoration: none;
  color: #8C8C8C;
}

/*main body area */
.main {
  margin: 0 auto;
  min-height: 400px;
  max-width: 95%;
}

/*contains boxes for pics*/
.folio {
  padding-top: 30px;
  padding-bottom: 100px;
  text-align: center;
}

.text-area {
  padding-bottom: 10px;
  line-height: 1.8rem;

}

.text-area h2 {
  font-weight: normal;
  color: #6D6D6D;
  
}

.text-area h3 {
    font-weight: normal;
  font-size: 1.1rem;
  
}

.text-area h4 {
    font-weight: normal;
    font-size: 1.0rem;
  
}

.underneath {
    
      text-align: center;
}

/*hiddenmail*/
.homeimg {
  display: inline-block;
  vertical-align: middle;
height: 19px;
  line-height: 1;
  
}

.homeimg-1 {
  display: inline-block;
  vertical-align: middle;
height: 22px;
  
}

/*contactpage only*/
.contactarea {
  display: block;
  margin: 0 auto;
  margin-right: 2px;
  width: 330px;
}

.text-area-1 {
  padding-top: 20px;
  font-size: 1.1rem;
  line-height: 1.6rem;
}

.contactarea img {
  height: auto;
  max-width: 300px;
  width: 100%;
}

.contactmsg {
    display: block;
  max-width: 700px;
  margin: 0 auto;
  margin-left: 2px;
  vertical-align: top;
  float: left;
}

.contactmsg img {
  
  max-width: 100%;
    max-width: 400px;

  height: auto;
}

/*box css */
.box {
  display: inline-block;
  background-color: #EEEEEE;
  height: 210px;
  width: 210px;
  margin: 15px;
}

    .box img {
        
  width: 100%;
  height: 100%;
        
    }

.box img:hover, .box img:focus {
    opacity: 60%;   
}



/*footer area  */

.footer {
  background-color: #fff;
  margin: 20px 0 0 0;
  border: 0;
  border-top: 2px solid #dedede;
  height: 60px;
}


/*footer text */

.foottext {
   display: inline-block;
  color: #6D6C6C;
  padding: 20px;
  text-align: right;
   float: right;
}

.foottext-1 {
       display: inline-block;

  color: #6D6C6C;
  padding: 20px;
  text-align: left;
}
/*carousel*/
.cont {
  display: block;
  height: auto;
  padding-top: 40px;
  padding-bottom: 50px;
  max-width: 980px;
  margin: 0 auto;
}


@media only screen and (max-width: 1000px){
  
/*header */

.header {
  display: block;
  height: 270px;
}
  
.portrait {
  display: block;
  margin: 0 auto;
}

.sallyt {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
}

.nav ul {
  font-size: 1rem;
}

.home,
.books,
.editorial,
.web,
.licence,
.illustration,
.design,
.shop {
  margin: 0 11px 0 11px;
}

  /*box css */
.box {
  height: 190px;
  width: 190px;
}
    


  .cont {
      padding-bottom: 50px;
  }
  
    .contactarea {
    width: 199px;
  } 

}

/*Responsive, new navigation */

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

  
.sallyt {
  width: 90%;
}
  
/*web nav - hidden  */
.nav {
  display: none;
}
    
.header {
  height: 250px;
  border-bottom: 2px solid #dedede;
}
  
/*Responsive Nav */
     
.topnav {
  display: block;
}
  
.topnav {
  overflow: hidden;
  background-color: #ebebeb;
}

.topnav a {
  float: left;
  display: none;
   margin: 0;
  color: #656565;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
    line-height: 2;
    padding-left: 20px;
}

.icon{
  display: block;
  width: 40px;
  height: 40px;
  background: #dedede url("../svgs/icon.svg")center no-repeat;
  background-size: 35px 35px;
    
}

.topnav a:hover {
  
  background-color: #c8c7c7;
  color: black;
    
}

.topnav a.active {
  background-color: #e6e6e6;
  color: #333;  
    
}



.topnav a.icon {
  float: right;
  display: block;
    

  }

.topnav.responsive {position: relative;}
.topnav.responsive .icon {
  position: absolute;
  right: 0;
  top: 0;
}
  
.topnav.responsive a {
  float: none;
  display: block;
  text-align: left;
}

.home,
.books,
.editorial,
.web,
.licence,
.illustration,
.design,
.shop { 
   border-bottom: 1px solid #dbdbdb;
}
   
.cont {
  padding-top: 20px;
}
    
.navvi-bar {
  margin-top: 40px;
  background-color: #f4f4f4;
 }  
  

    
.text-area-1 {
  text-align: center;
  }
    
.foottext {
  display: block;
  padding: 5px;
  text-align: center;
  float: none;
}

.foottext-1 {
  display: block;
  padding: 0;
  padding-top: 10px;
  text-align: center;
}

}  

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


  
.header {
  width: 100%;
  height: 260px;
    padding: 0;
    margin: 0;
}

.sallyt {
  display: none;
  }
  
.sallyt-2 {
  visibility: visible;
max-width: 300px;
    width: 90%;
  margin: 0 auto;
  text-align: center;
}
  
  .cont {
      padding-bottom: 30px;
    

  }
  
    /*contact page 640*/
  .contactarea {
  display: block;
  margin: 0 auto;
    width: 104px;
  }
  
  .contactmsg {
    display: block;
    width: 90%;
  margin: 0 auto;
  float: none;
}
  .contactmsg img {
    width: 100%;
  }
  

  
  
  }

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



    .box {
  height: 210px;
  width: 210px;
}
    
}