/*
Theme Name: How It Should Have Ended
Description: A custom WordPress site for How It Should Have Ended
Author: Hae Jung (Mintz Creative)
Author URI: http://www.mintzcreative.com
Tags: responsive, custom-post-types, custom-fields

*/


body {
 	color: rgb( 70, 70, 70);
 	font-family: 'Roboto', sans-serif; /* 1 */
    font-weight: 500;
 	}


/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: rgb(80, 80, 80);
    font-size: 2.5em;
    line-height: 1em;
 	text-transform: uppercase;
 	text-align: center;
    margin: ;
    padding: ;
 	}

h1 a {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    color: #474747;
}

h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 1.2em;
    text-transform: uppercase;
    color: rgb(80, 80, 80);
    line-height: 90%;
 	}

 h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: 500;
 }



 h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.3em;
    color: rgb(38, 192, 212);
    line-height: 80%;
 }


 h5 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 1em;

 }


 h6 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
}


p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: .9em;
 	line-height: 1.5em;
}

ul li {
    font-family: 'Exo 2', sans-serif;
    font-size: 1em;
}

a{
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: 1em;
    
}

a.read-more{
    font-family: 'PT Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 700;

}

a:hover {
    color: black;
}


.alignleft {
float: left;
margin-right:15px;
margin-bottom: 5px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
    padding: 10px 25px;
    margin: 2% 0;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    width: 160px;
}


.blue {
    background-color: rgb(38, 192, 212);
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.red {
    font-size: 1em;
    background-color: rgb(233, 95, 96);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.gray {
    font-size: 1em;
    background-color: rgb(88, 89, 91);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.grayfront {
    font-size: .9em;
    background-color: rgb(88, 89, 91);
    display: block;
    width: 75%;
}

.green {
    font-size: 1em;
    background-color: rgb(84, 200, 200);
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.fade {
   opacity: 0.5;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
   }


.fade:hover {
      opacity: 1;
      }


/* Dividers ----------- */

hr {
    border: 1px;
    background-color: #e6e6e6;
    color: #e6e6e6;
    height: 2px;
}


.dropshadow {

        box-shadow: inset 0px 7px 9px -7px gray;
    -moz-box-shadow:  inset 0px 7px 9px -7px gray;
    -webkit-box-shadow: inset 0px 7px 9px -7px gray;
}


/* Articles ----------- */

article {
    text-align: left;
}

 ul.info {
    padding: 0;
    font-size: .8em;
    line-height: 5%;
    color: rgb(52, 72, 101);
 }

 ul.info li {
    list-style: none;
    margin: 0 .5% 0 0;
    padding: .5% 0;

 }

 ul.info li, .excerpt, .post-link {
    float: left;
    margin-bottom: 12px;
 }

 ul.info a, .post-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
 }

  .post-link {
    font-size: 1em;

 }


/* ==========================================================================
   Header
   ========================================================================== */

header {
	margin: 0% 0 0 0; 
    width: 100%;
    background-color: rgb(21, 24, 31);
    margin-bottom: -16px;
}


nav {
    margin-top:-20px;
    background-color: rgb(52, 72, 101);
    }



#nav ul {
    width:93%;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 1em;
    margin: 0;
    padding: 0;
    list-style-type: none; 
    list-style-image: none; 
    text-align:center;
}

#nav ul li {
    font-family: 'Exo 2', sans-serif;
    display:inline-block; 
 
}

#nav ul li a {
    font-family: 'Exo 2', sans-serif;
    text-decoration:none;  
    color: white;
    padding: 10px 20px; 
    display:inline-block;

}


#nav ul li a:hover {
    background-color: rgb(38, 192, 212);
    color: rgb(40, 40, 40);
}



/* ==========================================================================
   Search Form
   ========================================================================== */

#search-box {
    position: relative;
    width: 100%;
    margin: 0;
}

#search-form {
    height: 40px;
    border: 1px solid #999;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
}

#search-text {
    font-size: 13px;
    color: #ddd;
    border-width: 0;
    background: transparent;
}

#search-box input[type="search"] {
    width: 95%;
    padding: 11px 0 5px .9em;
    color: #333;
    outline: none;
}

#search-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 42px;
    width: 60px;
    font-size: 14px;
    color: white;
    text-align: center;
    line-height: 42px;
    border-width: 0;
    background-color: rgb(88, 89, 91);
    -webkit-border-radius: 0px 10px 10px 0px;
    -moz-border-radius: 0px 10px 10px 0px;
    border-radius: 0px 10px 10px 0px;
    cursor: pointer;
}

.boxl{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.google-ad{
    padding-left:5%;

}

.google-ad-skyscraper{
    padding-left:30px;
}


/* ==========================================================================
   Frontpage
   ========================================================================== */

#segment{
    width: 100%;
    position: relative;
    z-index: 15;

}

.video-section{
    width: 100%;
    background-color: #F5F5F5;
    position: relative;
    z-index: 15;

}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-section{
    width: 100%;
    background-color: #FFF;
    position: relative;
    z-index: 2;
}

.comic-section{
    width: 100%;
    background-color: #F5F5F5;
    position: relative;
    z-index: 1;
}

.divider {
	margin: 4% 0 2% 0;
}


.main-category{
    padding-left: 1em;
    color: white;
}


.featured-post-title{
    margin-top: -4%;
    background-color: rgb(52, 72, 101);
    padding-top: 40px;
    padding-bottom: 30px;
}


.recent-post-title{
    margin-top: -4%;
    background-color: rgb(233, 95, 96);
    padding-top: 40px;
    padding-bottom: 30px;

}

.comics-series-title{
    margin-top: -4%;
    background-color: rgb(88, 89, 91);
    padding-top: 40px;
    padding-bottom: 30px;

}

.comics-title{
    margin-top: -4%;
    background-color: rgb(84, 200, 200);
    padding-top: 40px;
    padding-bottom: 30px;

}

.blog-title{
    background-color: rgb(233, 95, 96);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.comic-title{
    background-color: rgb(84, 200, 200);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: -10px;

}

.videos-title{
    background-color: rgb(38, 192, 212);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: -10px;
  
}

.contactabout-title{
    background-color: rgb(88, 89, 91);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
}


#categories{
    list-style: none;
    display:inline-block;

}

.category-front{
    color: rgb( 233, 95, 96);
    font-size: .75em;
}

.category-image{
    float:right;
    width: 30px;
    height: 30px;

}

.comics-thumb{
    width: 160px;
    height: 90px;
}

.comics-main{
    float:left;
    margin-right:25px;
}


.spotlight-featured-comic{
        position: relative;
        margin-right: auto;
        margin-left: auto;
        padding: 0;
        padding-top: 20px;
        padding-bottom: 30px;
        padding-right: 25px;
        text-align: center;
        margin-bottom: 20px;

    }

.searchad{  
    margin-top:42px;
}

.searchadfront{
    margin-top:67px;
}

/* ==========================================================================
   Video and Comics Page
   ========================================================================== */


    .spotlight-video{
        width:222px;
        height:300px;
        padding-left: 6px;
        padding-right: 10px;
        padding-top: 20px;
        position: relative;
        text-align: center;

    }

      .spotlight-comic{
        width:222px;
        height:300px;
        padding-left: 6px;
        padding-right: 10px;
        padding-top: 20px;
        position: relative;
        text-align: center;

    }


    .project{
        text-align: center;
        font-family: 'PT Sans', sans-serif;
        font-weight: 400;
        text-align: center;
    }

    .preview_border{
        background:transparent;
        padding:5px;
        border:1px solid gray; 
        margin-bottom: 5px;
    }

    .preview_imgdiv{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .preview_img{
        width: 480px;
        height: auto;

    }



    .pagination{
    position:absolute;
    bottom: 0;
    width: 100%;

    }

    .buttons{
    text-align: center;
    position:absolute;
    bottom:15px;
    right:10px;


    }




/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    width:100%;
    background-color: rgb(38, 47, 59);
    float:right;
}

.foot{
    background-image: url('images/logo/BigCamera.png');
    background-repeat: no-repeat;
    background-position: left;
    margin-top: 0%;
    padding: 5% 0;

}


#copyright {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    text-align: center;
    color:white;
    font-size: .92em;

}


.terms{
    text-decoration: underline;
    margin-top: -15px;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */




/* Smaller ----------- */

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

a{
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: .9em;
    
}


header {
    padding-top: 0px;
    margin-bottom: -16px; 
    width: 100%;
}

nav {
    background-color: rgb(52, 72, 101);

}


#nav ul {
    width:98%;
    font-weight: 500;
    font-size: 1em;
    margin-left:-16px;
    list-style-type: none; 
    list-style-image: none; 
    text-align:center;
}

#nav ul li {
    display:inline-block; 
}

#nav ul li a {
    text-decoration:none;  
    color: white;
    padding: 5px 5px; 
}



.buttons{
    text-align: center;
    position: relative;
    margin-top: 30px


}

.searchad{
    visibility:hidden;
    display:none;
    width: 200px;
}

.searchadfront{
    visibility:hidden;
    display:none;
    width: 200px;
}


form input[type="submit"] {
    border: 1px solid #8e8e46;
    background: rgb(38, 192, 212);
    color: #FFF;
    -webkit-border-radius: 1px;
    border-radius: 1px;    

}

 .spotlight-video{
        width:150px;
        height:auto;
        padding: 0;
        padding-top: 20px;
        padding-bottom: 10px;
        padding-right: 25px;
        text-align: center;
        margin-bottom: 10px;

    }

 .spotlight-comic{
        width:150px;
        height:auto;
        padding: 0;
        padding-top: 20px;
        padding-bottom: 30px;
        padding-right: 25px;
        text-align: center;
        margin-bottom: 20px;

    }

.video-responsive iframe{

    width: 560px;
    height: 315px;
    }

.comic-descrp{
    margin-top: 15px;
    display:inline-block;
}

.comics-main{
    display:block;

}



.dropshadow {

        box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}


	.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12{
		width: 100%;
		margin: 2% 0;
	}
	.push_1, .push_2, .push_3, .push_4, .push_5, .push_6, .push_7, .push_8, .push_9, .push_10, .push_11 {
		margin: 0;
	}
	.popular {
		display: none;
	}



}



