* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}



body
{
	padding: 0;
	margin: 0;
	background: #eee;
}


#header
{
    position: sticky;
    top: 0;
    z-index: 100;
	width: 100%;
	height: 48px;
	background-color: #ddd;
	padding: 0;
	margin: 0 0 14px 0;
	box-shadow: 0 1px 3px rgba(34, 25, 25, 0.3);

}

#logo
{
    display: inline;
	position: relative;
    left: 10px;
    height: 48px;
	padding: 0;
	width: 400px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    line-height: 48px;
    color: #333333;

}

#first-name
{
    font-weight: 100;
}

#last-name
{
    font-weight: 900;
}

#slashes
{
    font-weight: 100;
}

#vs
{
    font-weight: 500;
}


.active-menu
{
	background-color: #222;

}

.portfolio
{
	width: 96%;
	margin: auto;
    margin-top: 2%;
    margin-bottom: 2%;

    padding: 0px 0px 0px 0px;
	
}



.portfolio:after {
    opacity: 0;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -64px 0 0 -64px;
    width: 128px;
    height: 128px;
    background: url(http://www.photobyjohnyoung.com/images/layout/loading.gif) no-repeat 0 0;
}


.portfolio.loading .portfolio-item{
    opacity: 0;
}
.portfolio.loading:after {
    opacity: 1;
}


.portfolio,
.portfolio:after {
    transition: 400ms opacity;
}



.content
{
	width: 90%;
    height: auto;
	margin: auto;
	padding: 20px;
	
}


label {
    display: block;
    margin-top: 20px;
    letter-spacing: 2px;
}
input, textarea
{	
    width: 300px;	
    height: 27px;	
}
textarea {	
    height: 200px;
}





















.portfolio-item
{
	overflow: hidden;
	margin-bottom: 0;
	padding: 0;
	line-height: 0;
	box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
    url(http://www.photobyjohnyoung.com/images/layout/loading.gif) no-repeat 0 0;
}

.portfolio img
{
	width: 100%;
	height: auto;

    filter: none;
    cursor: pointer;
    transition: all 500ms ease;
}


.portfolio img:hover
{
    transform: scale(1.05);
    filter: none;
    cursor: pointer;
    transition: all 500ms ease;
}

.normal
{
	width: 23.5%;
}

.big
{
	width: 49%;
}

.gutter-sizer 
{
	width: 2%;

}

.grid-sizer
{
	width: 23.5%;
}

.nav-active
{
	background: #333 !important;
	color: #ccc !important;
}


.navbar {
  overflow: hidden;
    float: right;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    letter-spacing: .1em;
    
}

.navbar a {
  float: left;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn { 
  border: none;
  outline: none;
  color: #333;
  padding: 14px 16px;
  background-color: inherit;
  margin: 0;
        font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    letter-spacing: .1em;
    
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #bbb;
  color: #333;
transition: background-color .3s linear;
}

.dropdown-content {
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #ccc;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #272727;
    color: #ccc;
}

.dropdown:hover .dropdown-content {
  display: block;
}


.navbar-mobile
{
    display: none;
    overflow: hidden;
    float: right;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    letter-spacing: .1em;

}

.dropdown-mobile
{
    float: left;
    overflow: hidden;

}

.dropbtn-mobile
{
    font-size:36px;
    line-height: 48px;
    height: 48px;
      border: none;
  outline: none;
        color: #333;
     background-color: inherit;

    padding: 0 16px;
}

.dropbtn-mobile:hover
{
    cursor: pointer;
    color: #ccc;
    background-color: #333;
}

.dropdown-mobile:hover dropbtn-mobile
{
    color: #ccc;
    background-color: #333;
}

.dropdown-content-mobile {
    position: absolute;
    width: 100%;
    height: 100vh;
    left: 0px;
    background-color: #333;

    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
        font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    font-size: 20px !important;
    letter-spacing: .1em;
}

.sub-menu-mobile
{
    text-indent: 40px;
    font-size: 16px;
   
}

.dropdown-content-mobile a {
  float: none;
  color: #ccc;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content-mobile a:hover {
  background-color: #272727;
    color: #ccc;
}

.dropdown-mobile:hover .dropdown-content-mobile {
 
}


.hide
{
    
    display: none;


}

.show
{
    display: block !important;

}

.mobile-btn-on
{
        color: #ccc !important;
    background-color: #333 !important;
}

.mobile-btn-off
{
    color: #333;
    background-color:inherit;

}


.multimedia-container
{
    border: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 50px;
    margin-bottom: 50px;
}
.multimedia-title
{
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: .05em;
    margin-bottom: 10px;
    color: #333;
}
.multimedia-description
{
    margin-top: 10px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: .05em;
    line-height: 24px;
    
}



.content-writing, .content-article, .content-about, .content-contact, .content-multimeda
{
    width: 60%;
	margin: auto;
	padding: 20px;
	
}

.content-article
{
    margin-top: 60px;
    background-color: #fffffc;
}


.content-contact
{
    display: flex;
	
}


.contact-section
{
   
    width: 50%;  
}

.contact-section-left
{
  display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-right: 0px;
    border-right: 1px dotted #aaa;
    padding-right: 40px;
}



.contact-section-right
{
  display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-left: 40px
}

.content-about
{
    
    font-family: verdana, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: .05em;
}


.content-contact
{
font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    line-height: 26px;
    letter-spacing: .04em;
    

}
.content-about img
{
    max-width: 100%;
    height: auto;
    float: right;
    margin: 20px 0px 30px 20px;
}




.writing-container
{
    position: relative;
    display: block;
    float: left;
    width: 100%;
    font-family: verdana, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: .05em;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #bbb;
    

}




.writing-thumb
{
    position: relative;
    float: left;
    width: 30%;
    margin: 20px 20px 10px 0px;

}

.writing-thumb img
{
    max-width: 100%;
    height: auto;
    border: 2px solid #333;
}

.writing-summary
{
  float: left;
    width: 60%;

}

.writing-summary p
{
    overflow: hidden;
    color: #111;
}

.writing-header h1
{
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: .05em;
    margin: 0px 0px 14px 0px;
    padding: 0;
    color: #333;
    line-height: 42px;

}



.article-container
{
    position: relative;
    display: block;
    font-family: verdana, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: .05em;
    margin: 0 0 40px 0;
    

}

.article-container h1
{
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: .05em;
    margin: 0px 0px 14px 0px;
    padding: 0;
    color: #333;
    line-height: 42px;
    


}

.article-container h3
{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: .05em;
    margin: 0;
    color: #333;
    margin-bottom: 20px;
}

.article-container h6
{
    font-family: verdana, sans-serif;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: .05em;
    font-style: italic;
    font-weight: normal;
    margin: 20px 0 40px 0;

    

}

.article-body
{
    
    font-family: verdana, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: .05em;
}

.article-section
{
    font-weight: bold;
    font-style: italic;
}

.article-body p
{
    
    margin-bottom: 30px;
}

.writing-header h1 a
{
    text-decoration: none;
    color: #333;
}

.writing-header h3
{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: .05em;
    margin: 0;
    color: #333;
    margin-bottom: 10px;
}

.writing-continue-reading
{

}






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

    .normal {width: 49%; }
    .big { width: 99%; }
    .gutter-sizer { width: 2%; }
    .grid-sizer { width: 49%; }
    
.content-writing
{
    width: 90%;
	margin: auto;
	padding: 20px;
	
}
    
.content-contact
{

    flex-direction: column-reverse;
    align-items: center;
}
    
.contact-section
    {
        width: 100%;
    }
    
    
.contact-section-left
{

    display: block;
    align-items: flex-end;
    text-align: center;

    padding-right: 0px;
    border-top: 1px dotted #aaa;
    border-right: none;
    margin-top: 40px;
    padding-top: 40px;
    margin-bottom: 80px;
}
    
.contact-info
    {display: block;}
    
.contact-section-right
{

    flex-direction: row;
    margin-left: 0;
}
    
    
    
    
    
    
    
    
    
    
    
    
    
    #logo
{
    display: inline;
	position: relative;
    left: 10px;
    height: 48px;
	padding: 0;
	width: 400px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 48px;
    color: #333333;

}
    
    .navbar
    {
        display: none;
    }
    .navbar-mobile
    {
        display: block;
    }
   
    .writing-thumb
    {
        width: 100%;
    }
    .writing-summary
    {
        width: 100%;
    }
    
    .content-writing, .content-about, .content-contact, .content-article, .content-multimeda
    {
        width: 90%;

    }
}





@media screen and (min-width: 460px) and (max-width: 959.9px) {

    .normal {width: 31.33%; }
    .big { width: 64.66%; }
    .gutter-sizer { width: 2%; }
    .grid-sizer { width: 31.33%; }
    
  .content-writing, .content-about, .content-contact, .content-article, .content-multimeda
    {
        width: 80%;

    }
    
 .content-contact
{

    flex-direction: column-reverse;
    align-items: center;
}
    
.contact-section
    {
        width: 100%;
    }
    
    
.contact-section-left
{

    display: block;
    align-items: flex-end;
    text-align: center;

    padding-right: 0px;
    border-top: 1px dotted #aaa;
    border-right: none;
    margin-top: 40px;
    padding-top: 40px;
    margin-bottom: 80px;
}
    
.contact-info
    {display: block;}
    
.contact-section-right
{

    flex-direction: row;
    margin-left: 0;
}
    
    .navbar
    {
        display: none;
    }
    .navbar-mobile
    {
        display: block;
    }
   
    .writing-thumb
    {
        width: 100%;
    }
    .writing-summary
    {
        width: 100%;
    }
}


@media screen and (min-width: 960px) {
  /* 5 columns for larger screens */

    
    .normal {width: 23.5%; }
    .big { width: 49%; }
    .gutter-sizer { width: 2%; }
    .grid-sizer { width: 23.5%; }
    
    
    
    .navbar-mobile
{
    display: none;
}
}














