/*
 Theme Name:   tdFuture child
 Author:       Snorre Bryne
 Author URI:   http://newslab.no
 Template:     tdfuture
 Version:      1.0.0
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

body {
	background: #eeeeee;
	font-size: 16px;
	position:relative;
}

#masthead .header-right-side {
	display: none;
}

#masthead .site-brand {
	padding: 0;
}

#masthead .website-logo {
    margin-top: 0px;
    margin-bottom: 0px;
}

#masthead {
    margin-bottom: 0px;
    background: #0D0D0D;
}

.site-brand {
    max-width: 100%;
    text-align:center;
}

.main-navigation {
    display: block;
    font-size: 17px;
    font-weight: bolder;
    text-transform: uppercase;
    background: #000000;
    float: left;
    width: 100%;
}

.main-navigation li {
	float:left;
	position: relative;
	line-height: 3.0;
}

.main-navigation li:hover > a {
	background: rgba(233, 203, 64, 1);
    color: #ffffff;
    text-decoration: none;
}

.main-navigation .current_page_item a, .main-navigation .current-menu-item a {
    background: rgba(233, 203, 64, 1);
}

#submit-comment, input[type="submit"], .btn.blue {
    width: auto;
    background: #5A5A5A;
    border: 0px;
    color: #ffffff;
    font-family: inherit;
    line-height: 1;
    margin: 0;
    position: relative;
    text-decoration: none;
}

.single .hentry .entry-comments {
    background: #fdd000;
    padding: 8px 30px;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
}

::selection {
    background: #dddddd;
    color: #939393;
}

::-moz-selection {
    background: #dddddd;
    color: #939393;
}

.single .hentry .entry-meta {
    width: 120px;
    margin-right: 30px;
    margin-top: 30px;
}

.comments {
    display: none;
}

.menu-logo {
	background: transparent url("http://natgeonorge.s3.amazonaws.com/2016/11/logo.png") no-repeat scroll center center / 100% auto;
	width: 121px;
	height: 80px;
	margin: 0px 20px 0 10px;
	text-indent: -9999px;
}
.menu-logo:hover {
    text-indent: 20px;
}
.menu-logo a{
	opacity:0;
}
/*
.menu-logo {
	text-align: center;
	text-indent: none;
	width: 121px;
	height: 80px;
	
}
*/


#colophon {
    margin-top: 10px;
    padding-bottom: 20px;
}

.entry-comments {
    display: none;
}

.h6 {
    margin-bottom: -17px;
    margin-top: 25px;
}

/* =Featured image customization
-------------------------------------------------------------- */

#single-featured-img-container {
	position: relative;
	z-index: 1;
    width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.has-featured-img #single-featured-img-container .image-overlay {
	background: #333;
}

#single-featured-img-container .image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.2;
	filter:alpha(opacity=20);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	z-index: 1;
}

.single-featured-img-inner {
	z-index: 5;
	position: relative;
}

#single-featured-img-container .single-featured-img-inner {
	padding: 150px 0 150px;
	max-width: 800px;
	margin: 0 auto;
}

#single-featured-img-container .image-overlay {
	background: #eeeeee;
}

#single-featured-img-container .entry-caption {
	text-align: center;
	opacity: 0.8;
	margin-top: 25px;
}

#single-featured-img-container > div.container.single-featured-img-inner > header > h1 {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    color: #ffffff;
	text-shadow: 0 2px 6px rgba(0,0,0,1.7);
}

/* =Advertising
-------------------------------------------------------------- */

.adcenter-top {
    text-align: center;
    background-color: #999;
}

.adcenter {
    text-align: center;
    padding-top: 20px;
}

/* =Pads and mobiles
-------------------------------------------------------------- */

#masthead .mobile-menu, #masthead .pull-left.site-brand, #masthead .pull-right.header-right-side {
    text-align: right;
}

.main-navigation .mobile-menu {
    padding: 15px 0;
    float: right;
}

#site-navigation > div > div.mobile-menu {
    float: right;
}

.main-navigation .tinynav {
    width: 115px;
}

.moblogo {
    float: left;
/*    position: relative;  */
}
.popmake-content h1{
	color:white;
	text-align:center;
	text-transform:uppercase;
}
.popmake-content p{
	text-align:center;	
}
.pp-input-wrap{
	width:70%;
	float:left;
}
.pp-btn-wrap{
	width:30%;
	float: right;
}
.pp-btn-wrap input.button[type="submit"], 
.pp-btn-wrap input.medium.button[type="submit"]{
	width:80%;
	margin-left:20%;
	background-color:white;
	padding: 8px 10% 9px;
}
#mc_embed_signup_scroll {
    padding: 20px 3% 00px;
}

.popmake.size-small{
	margin:0 auto !important;
	left:0 !important ;
	right:0!important;
}
.popmake input[type="text"], 
.popmake input[type="password"], 
.popmake input[type="date"], 
.popmake input[type="datetime"], 
.popmake input[type="email"], 
.popmake input[type="number"], 
.popmake input[type="search"], 
.popmake input[type="tel"], 
.popmake input[type="time"], 
.popmake input[type="url"], 
.popmake textarea {
    border: 1px solid #ccc;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 14px;
    height: 20px;
    margin: 0 0 12px;
    padding: 6px;
    transition: all 0.15s linear 0s;
    width: 100%;
	line-height: 1.4;
}

.popmake input[type="text"], 
.popmake input[type="password"], 
.popmake input[type="date"], 
.popmake input[type="datetime"], 
.popmake input[type="email"], 
.popmake input[type="number"], 
.popmake input[type="search"], 
.popmake input[type="tel"], 
.popmake input[type="time"], 
.popmake input[type="url"], 
.popmake input[type="text"]:focus, 
.popmake input[type="password"]:focus, 
.popmake input[type="date"]:focus, 
.popmake input[type="datetime"]:focus, 
.popmake input[type="email"]:focus, 
.popmake input[type="number"]:focus, 
.popmake input[type="search"]:focus, 
.popmake input[type="tel"]:focus, 
.popmake input[type="time"]:focus, 
.popmake input[type="url"]:focus {
    border: 1px solid #ddd;
    height: 35px;
    padding-left: 10px;
    padding-right: 10px;
}
.popmake .button {
    cursor: pointer;
    display: inline-block;
    
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    outline: medium none;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out 0s;
    width: auto;
}
.popmake input[type="submit"], 
.popmake button, 
.popmake input[type="button"] {
    background: rgba(0, 0, 0, 0) linear-gradient(#f6f6f6 0%, #e6e6e6 100%) repeat scroll 0 0;
    border: 1px solid #d5d5d5;
    border-radius: 0;
    box-shadow: 0 1px 1px #fff inset;
    color: #555555;
    cursor: pointer;
    height: 35px;
    margin: 0 0 20px 15px;
    padding: 0 10px;
    text-transform: uppercase;
}
.popmake input.button[type="submit"], 
.popmake input.medium.button[type="submit"] {
    padding: 8px 20px 9px;
}
@media (max-width: 1260px) { 
	.pp-input-wrap{
		width:100%;
		float:none;
	}
	.pp-btn-wrap{
		width:100%;
		float:none;
	}
	.pp-btn-wrap input.button[type="submit"], 
	.pp-btn-wrap input.medium.button[type="submit"]{
		width:100%;
		margin-left:0%;
	}
}
@media (max-width: 1020px) {
  .popmake-content h1 {
    font-size:30px;
  }
}

@media only screen and (min-width:769px) {
        .moblogo {
	    display: none;
/*
	    margin: 7px auto;
*/
	}

    .adcenter {
        margin-left: 150px;
        }
}

@media only screen and (max-width:768px) {
        #single-featured-img-container > div.container.single-featured-img-inner > header > h1 {
            font-size: 35px;
        }
        
        #single-featured-img-container .single-featured-img-inner {
            padding: 130px 0 130px;
            max-width: 500px;
        }
}

@media only screen and (max-width:500px) {
        #single-featured-img-container > div.container.single-featured-img-inner > header > h1 {
            font-size: 26px;
        }

        #single-featured-img-container .single-featured-img-inner {
            padding: 70px 0 70px;
            max-width: 300px;
        }
    
}

@media only screen and (max-width:414px) {
        #main {
            padding-left: 0px;
            padding-right: 0px;
        }

        #primary {
            padding-left: 0px;
            padding-right: 0px;
        }
    
        .row {
            margin-left: 0px;
            margin-right: 0px;
        }
        
        .entry-about-author .about {
            float: right;
            width: 40%;
	}
}
@media only screen and (max-width:768px) {
	.main-navigation a{
		padding:18px;
	}
}

footer ul.menu{
    list-style: none;
    display: flex;
    text-align: right;
    padding: 0;
    justify-content: flex-end;
}
footer .menu{
    text-transform: uppercase;
    font-size: 12px;
}
footer ul.menu li{
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
}
@media (max-width: 768px){
    footer ul.menu{
        flex-direction: column;
    }
}