body {
    padding-top: 100px;
}

.topmenu .navbar-nav li a {
    padding-top: 14px;
}

.topmenu .navbar-nav form {
    margin-top: 10px;
}

.topmenu .navbar-nav form .form-control {
    font-size: 16px;
}

.topmenu .social {
    text-align: right;
    display: block;
}

.fa-stack,
.topmenu .social a,
.topmenu .social img {
    font-size: 12px;
    line-height: 24px !important;
    padding: 0px !important;
}


.homepageNewsItem {
    margin-bottom: 20px;
}

.homepageNewsItem a {
    color: #111111;
}

.homepageNewsItemWrapper {
    position: relative;
}

.homepageNewsItemTitle {
    position: relative;
    text-align: center;
    font-size: 0.9em;
    width: 100%;
    position: absolute;
    bottom: 0px;
    background-color: rgba(255, 255, 255, 0.7);
    height: 35px;
    line-height: 35px;
    overflow: hidden;
}

.homepageNewsItemTitleInner::after {
    position: absolute;
    right: 10px;
    top: 0px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    font-family: "FontAwesome";
    content: "\f054";
}

.homepageNewsItemTitleInner {
    width: 100%;
    padding-right: 25px;
}

.homepageItems .homepageItem a {
    margin: 0 auto;
    display: inline-block;
}

/* News */
.newsRow h2 {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}

.newsRow {
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .newsTitle {
        margin-top: 20px !important;
    }
}

/* Magazine */
.magazinePageTitle {
    margin-top: 0px;
}

.magazineTitle {
    margin-top: 0px;
}

.magazineButton {
    margin-top: 20px;
}

.magazineBody {
    margin-top: 20px;
}

@media (max-width: 990px) {
	.moodsetter img {
		margin-top: 50px;
	}
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	body {
	    padding-top: 0px;
	}

	.mainmenu.navbar-default {
		margin-top: 0px !important;
	}

    h1 {
        line-height: 1em;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    h1.newsTitle {
        font-size: 1.5em;
    }

    .magazinePageTitle {
        margin-top: 40px;
    }

    .magazineTitle {
        margin-top: 60px;
    }

    .magazineImage {
        margin-top: 0px;
        margin-bottom: -70px;
    }

    .homepageItems {
        margin-bottom: 10px;
    }

    .homepageItems .overlay1 {
        background-color: rgba(0, 0, 0, 0.6);
        top: 0px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .homepageItems .overlay1:after {
        background-color: transparent;
    }

}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	body {
		padding-top: 0px;
	}

	.mainmenu.navbar-default {
		margin-top: 0px !important;
	}

    h1 {
        line-height: 1em;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    h1.newsTitle {
        font-size: 1.5em;
    }

    .magazinePageTitle {
        margin-top: 40px;
    }

    .magazineTitle {
        margin-top: 60px;
    }

    .magazineImage {
        margin-top: 0px;
        margin-bottom: -70px;
    }

    .homepageItems {
        margin-bottom: 10px;
    }

    .homepageItems .overlay1 {
        background-color: rgba(0, 0, 0, 0.6);
        top: 0px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .homepageItems .overlay1:after {
        background-color: transparent;
    }
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
	body {
		padding-top: 0px;
	}

	.mainmenu.navbar-default {
		margin-top: 0px !important;
	}

    h1 {
        line-height: 1em;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    h1.newsTitle {
        font-size: 1.5em;
    }

    .magazinePageTitle {
        margin-top: 40px;
    }

    .magazineTitle {
        margin-top: 60px;
    }

    .magazineImage {
        margin-top: 0px;
        margin-bottom: -70px;
    }

    .homepageItems {
        margin-bottom: 10px;
    }

    .homepageItems .overlay1 {
        background-color: rgba(0, 0, 0, 0.6);
        top: 0px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .homepageItems .overlay1:after {
        background-color: transparent;
    }


	.homepageItems .overlay2 {
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.8+100 */
	    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* FF3.6-15 */
	    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%); /* Chrome10-25,Safari5.1-6 */
	    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=0 ); /* IE6-9 */
		top: auto;
		bottom: 0px;
		padding-top: 30px;
		padding-bottom: 10px;
	}
}


/* ShareThis custom buttons */
.st_facebook,
.st_twitter,
.st_linkedin,
.st_whatsapp,
.st_email {
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 20px;
    padding-right: 0;
    white-space: nowrap;
    font-family: Helvetica, sans-serif;
    font-size: 10px;
    display: inline-block;
    height: 16px;
    width: auto;
    line-height: 16px;
    cursor: pointer;
}

.st_facebook {
    background-image: url(https://ws.sharethis.com/images/2017/facebook_16.png);
}

.st_twitter {
    background-image: url(https://ws.sharethis.com/images/2017/twitter_16.png);
}

.st_linkedin {
    background-image: url(https://ws.sharethis.com/images/2017/linkedin_16.png);
}

.st_whatsapp {
    background-image: url(https://ws.sharethis.com/images/2017/whatsapp_16.png);
}

.st_email {
    background-image: url(https://ws.sharethis.com/images/2017/email_16.png);
}
