/*////////////////////////////////////////////////////////////////*\
||| BURGER MENU BUTTON
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#burger {
    width: 30px;
    height: 22px;
    float: right;
    position: relative;
    margin-top: calc((52.5px - 24px) / 2);
    cursor: pointer;
    display: none;
}
#burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #00a77e;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
#burger span:nth-child(1) {
  top: 0px;
}
#burger span:nth-child(2),#burger span:nth-child(3) {
  top: 10px;
}
#burger span:nth-child(4) {
  top: 20px;
}
#burger.open span:nth-child(1) {
  top: 18px;
  width: 0;
  left: 50%;
  opacity: 0;
}
#burger.open span:nth-child(2) {
  transform: rotate(45deg);
}
#burger.open span:nth-child(3) {
  transform: rotate(-45deg);
}
#burger.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
  opacity: 0;
}


/*////////////////////////////////////////////////////////////////*\
||| MOBILE MENU
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#mobile-menu {
	height: 0;
	width: 100vw;
	background: rgba(0, 167, 126, .93);
	overflow: hidden;
	display: none;
	z-index: 998;
}
#mobile-menu * {
	transition-property: height, line-height, opacity, margin;
	transition-duration: 0.25s;
	transition-timing-function: ease;
}
#mobile-menu a {
	display: block;
	width: 80vw;
	text-align: center;
	margin: 0 auto;
	color: #fff;
	font-weight: 700;
	font-size: 23.75px; /*calc((100vh - 52.5px) / 18);*/
  text-transform: uppercase;
}
#mobile-menu a img {
	width: 30px;
}
#mobile-menu div {
	margin-top: 19.2px;
	width: 100vw;
	padding-left: 5vw;
	font-size: 0;
}
#mobile-menu div a {
	display: inline-block;
	width: 30vw;
	margin: 0;
	font-weight: 600;
	font-size: 5vw;
}
#mobile-menu div:nth-last-of-type(2) {
	padding-left: 18vw;
}
#mobile-menu div:nth-last-of-type(2) a {
	display: inline-block;
	width: 20vw;
}

#mobile-menu input {
	display: block;
	height: 23.75px; /*calc((100vh - 52.5px) / 18);*/
	width: 75vw;
	border: none;
	border-radius: 23.75px; /*calc((100vh - 52.5px) / 18);*/
	margin: 14.4px auto;
	text-align: center;
}

#mobile-menu.open {
	height: 1000px;
	padding-top: 10px;
}
#mobile-menu.open > a {
	margin: 10px auto;
}


/*////////////////////////////////////////////////////////////////*\
||| UTILITY CLASSES
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

.show-mobile-730 {
	display: none;
}
.show-mobile-940 {
	display: none;
}

.noscroll {
	overflow: hidden;
}

/*////////////////////////////////////////////////////////////////*\
||| HEADER
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (max-width : 1280px) {
	main {
		padding-top: 145px;
	}
	#site-header #info {
    padding: 5px 30px;
  }
  #site-header #menu {
    height: 90px;
    padding: 0 30px;
  }
  #site-header #menu #logo {
    height: 75px;
    width: 75px;
  	top: 7.5px;
  }
  #site-header #menu #logo-text img {
    height: 30px;
    margin: 3.75px 0;
  }
  #site-header #menu #logo-text {
  	top: 9px; left: 120px;
  }
  #site-header #menu nav {
  	height: 90px;
  }
	#site-header #menu nav a {
    padding: 0 10px;
		height: 90px;
		line-height: 72px;
  }
	
	#site-header #menu.shrink {
    height: 52.5px;
  }
  #site-header #menu.shrink #logo {
    height: 37.5px;
    width: 37.5px;
  }
	#site-header #menu.shrink #logo-text img:first-child {
    transform: translate(-37px, -2px);
  }
  #site-header #menu.shrink #logo-text img:nth-child(2) {
    transform: translate(56px, -36px);
  }
	#site-header #menu.shrink nav {
		height: 52.5px;
	}
	#site-header #menu.shrink nav a {
		line-height: 36px;
		height: 52.5px;
	}
}

@media only screen and (max-width : 1020px) {
	main {
		padding-top: 80px;
	}
	#site-header #info {
		display: none;
	}
  #site-header #menu {
    padding: 0 10px;
    height: 52.5px;
  }
  #site-header #menu #logo {
    height: 37.5px;
    width: 37.5px;
  }
  #site-header #menu #logo-text {
		top: 7px;
  	left: 55px;
  }
	#site-header #menu #logo-text img {
		transform: none !important;
    display: inline;
  }
	#site-header #menu nav {
		display: none;
	}
	#burger, #mobile-menu {
		display: block;
	}
}
@media only screen and (max-width : 360px) {
	body {
		width: 100%;
	}
	main {
		padding-top: 80px;
	}
  #site-header #menu #logo, #site-header #menu.shrink #logo {
    height: 32px;
    width: 32px;
		top: 10px;
  }
  #site-header #menu #logo-text {
		top: 9px;
  	left: 50px;
  }
	#site-header #menu #logo-text img {
		height: 25px;
  }
	#site-header #menu nav {
		display: none;
	}
	#burger, #mobile-menu {
		display: block;
	}
}

/*////////////////////////////////////////////////////////////////*\
||| GLOBAL
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (max-width : 940px) {
	.show-mobile-940 {
		display: block;
	}
	.hide-mobile-940 {
		display: none;
	}
}
@media only screen and (max-width : 780px) {
  .ad-banner img {
    width: 100%;
  }
}
@media only screen and (max-width : 730px) {
  main {
		padding-top: 72.5px;
	}
	.ad-banner {
    display: none;
  }
  #about-main, 
	#advertise-main,
	#media-main, #media-sidebar,
	#article-main, #article-sidebar, 
	#section-main, #section-sidebar,
	#search-main, #search-sidebar	{
    width: 100%;
  }
	.show-mobile-730 {
		display: block;
	}
	.hide-mobile-730 {
		display: none;
	}
}


/*////////////////////////////////////////////////////////////////*\
||| HOME
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (max-width : 1070px) {
	#ad-issuu .ad {
		width: 100%;
	}
	.slider-title a {
		font-size: 28px;
		line-height: 34px;
	}
	.slider-title {
/*		height: calc(42px * 3);*/
	}
}
@media only screen and (max-width : 1030px) {
	#ad-news .ad {
		width: 100%;
	}
}
@media only screen and (max-width : 940px) {
	.home #trending {
		display: none;
	}
	.home-ad-banner {
    display: none;
  }
	#home-sidebar .ad {
		width: 100%;
	}
	#home-sidebar {
		width: 33.333%; /* Span 2 */
	}
	#main-content {
		width: 66.666%; /* Span 4 */
	}
	#ad-news {
		width: 50%; /* Span 3 */
	}
	#features {
		width: 50%; /* Span 3 */
	}
	#carousel {
		width: 100%;
	}
	.slider-text > div > a:first-of-type,
	.slider-text .byline {
		font-size: 14px;		
	}
	.slider-title a {
		font-size: 22px !important;
		line-height: 30px !important;
	}
    
    #carousel .byline {
		line-height: 10px !important;
	}
    
	.slider-title {
/*		height: calc(8vw * 3);*/
	}
	.feature-post > main > .content-div {
    	padding: 0 5%;
	}
	.feature-post > main > div:first-child > .overlay > .headline {
		font-size: 60px;
	}
}
@media only screen and (max-width : 840px) {
	#ad-news {
		width: 100%;
		clear: left;
	}
	#ad-news .ad {
		width: 100%;
	}
	#ad-news *, #sec-ad-issuu, #sec-multimedia {
		display: none;
	}
	.section {
		width: 50%;
		padding-left: 1.666% !important; 
		padding-right: 1.666% !important; 
	}
	#features {
		width: 100%;
		border: none;
	}
	.slider-text > a:first-child {
		font-size: 14px;
	}
	#home-main-main .headline, .headline.big, #home-main-main .headline.big, headline.small, #home-main-main .headline.small {
		font-size: 21px;
		line-height: 27px;
	}
}
@media only screen and (max-width : 730px) {
  #about-sidebar,
	#advertise-sidebar {
    display: none;
  }
	#carousel {
		position: absolute;
		left: 0; top: 52.5px;
		width: 100vw;
        padding-right: 0;
		padding-bottom: 0;
        border: none;
	}
    
    .flickity-prev-next-button{
        display: none;    
    }
    
	.slider-text > div > a:first-of-type,
	.slider-text .byline {
		font-size: 3.4vw;
		margin: 3vw auto;
	}
	#mid-section, #home-sidebar {
		margin-top: calc(100vw * .6 + 20px);
	}
	#ad-news .ad, #ad-news hr:first-child {
		display: block !important;
	}
	#ad-news .ad {
		width: auto;
	}
	.show-mobile-940 {
		display: none;
	}
    #home-main-main .breaking-news {
        margin-bottom: 0px; 
        position: fixed;
        bottom: 0;
        left: 0;
    }
    
    /* Safari 4.0 - 8.0 */
    @-webkit-keyframes breaking {
        0% {transform: none;}
        99% {transform: translateY(100%)}
        100% {display: none; visibility: hidden; transform: translateY(100%);}
    }

    /* Standard syntax */
    @keyframes breaking {
        0% {transform: none;}
        99% {transform: translateY(100%)}
        100% {display: none; visibility: hidden;  transform: translateY(100%);}
    }
    
}
@media only screen and (max-width : 630px) {
	#main-content, #home-sidebar,
	#features, #ad-news,
	.section {
		width: 100%;
		clear: left;
		border: 0;
		padding: 0;
	}
	#mid-section {
		margin-top: 0;
	}
	#bot-section .row {
		padding-bottom: 0;
	}
	hr.home-ad-banner {
		display: block;
	}
	.article-prev.sub, hr.sub {
		display: none;
	}
	hr.thin {
		margin: 20px 0;
	}
	.feature-post > main > div:first-child > .overlay > .headline {
		font-size: 45px;
		padding: 50px 40px;
	}
	.feature-post > main > div:first-child > .overlay > img {
		width: 40px;
		bottom: 15px;
		padding-left: calc(50vw - 20px);
	}
	.feature-post > main > div:first-child > .overlay > div > a:first-of-type {
		padding: 2vh 40vw;
		width: 20vw;
	}
	.feature-post > main > div:first-child > .overlay > div > a:first-of-type + hr, .feature-post > main > div:first-child > .overlay > div > a:first-of-type + hr + hr {
		width: 38vw;
		top: calc(2vh + 10vw);
	}
	.feature-post > main > div:first-child > .overlay > div > a:first-of-type + hr + hr {
    	left: 62vw;
	}
    
/*
    .fixed-message-box-image {
        width: 375px;
        height: 225px;
    }

    #fixed-message-box-image-close {
        bottom: 174px;
        right: 314px;
    }
*/

}
@media only screen and (max-width : 530px) {
	#home-sidebar {
		margin-top: calc(100vw * .55 + 15px);
	}
	.slider-text {
		padding: 4% 2% 5px;
	}
	.slider-text > div > a:first-of-type,
	.slider-text .byline {
		font-size: 3.0vw;
	}
	.slider-title a {
		font-size: 24px;
		line-height: 26px;
	}
	.slider-title {
/*		height: calc(8vw * 3);*/
	}
	.flickity-page-dots {
		display: none;
	}
/*
    .fixed-message-box-image {
        width: 310px;
        height: 186px;
    }

    #fixed-message-box-image-close {
        bottom: 149px;
        right: 256px;
    }
*/
}

@media only screen and (max-width : 320px) {
    #home-main-main .breaking-news {
        font-size: 14px;
    }
}


/*////////////////////////////////////////////////////////////////*\
||| ABOUT/ADVERTISE
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (max-width : 730px) {
  #about-sidebar, #advertise-sidebar {
    display: none;
  }
}


/*////////////////////////////////////////////////////////////////*\
||| ARTICLE/SECTION/MEDIA
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (max-width : 1000px) {
	.ad-sidebar {
		width: 100%;
	}
}
@media only screen and (max-width : 730px) {
  #article-sidebar,
	#section-sidebar,
	#search-sidebar,
	#media-sidebar {
    clear: right;
  }
	.ad-sidebar {
		width: auto;
	}
	.inset-img {
		margin-left: 0;
		max-width: 100% !important;
		margin-bottom: 10px;
	}
}
@media only screen and (max-width : 550px) {
	#media-main {
		padding: 0;		
	}
	#media-main .media-box {
		width: 100%;
		clear: left;
		margin: 15px auto;
	}
}
@media only screen and (max-width : 500px) {
	.inset-img {
		width: 100%;
		margin-bottom: 20px;
	}
	#section-main .article-prev.small-img .img-box,
	#search-main .article-prev.small-img .img-box {
		width: 33%;
		padding-bottom: 30%;
		float: left;
		margin-right: 15px;
	}
}


/*////////////////////////////////////////////////////////////////*\
||| FEATURE
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (orientation : portrait) {
	.feature-header {
		width: 16vw;
		height: 16vw;
		border-radius: 0 0 2vw 0;
	}
	.feature-header img {
		width: 15vw;
		height: 15vw;
		left: .5vw;
		top: .5vw;
	}
	.feature .span6 {
		padding: 0;
	}
	.feature > div:first-child > .img-box, .feature > div:first-child > .overlay {
		padding-bottom: 75%;
	}
	.feature > div:first-child > .headline {
		font-size: calc(100vw/1000 * 74);
		top: calc(100vw/1000 * 500);
	}
	.feature > div:nth-child(2) {
		margin: calc(75vw + 25px) auto 0 auto;
		width: 100%;
	}
	.feature > div:nth-child(3) {
		display: none;
	}
	.feature > div:nth-child(4) > div > div:first-of-type, .feature > div:nth-child(4) > div > div:last-of-type {
		display: none;
	}
	.feature > div:nth-child(4) div {
		width: 100%;
		margin: 0;
		padding: 0;
		clear: left;
	}
	.feature > div:nth-child(4) div img {
		width: auto;
	}
}

/*////////////////////////////////////////////////////////////////*\
||| FOOTER
\*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

@media only screen and (max-width : 1140px) {
	footer .row {
		width: 95%;
	}
	footer > nav {
		height: calc(100vw * 200/1140);
	}
	footer > nav > a {
		padding-top: calc(100vw * 30/1140);
	}
	footer > nav > a > img {
		width: calc(100vw * 150/1140);
	}
	footer ul {
		font-size: calc(100vw/1140 * 14);
		margin: 0;
	}
	footer > nav > div:first-child {
		padding-top: calc(100vw * 40/1140);
	}
	footer > nav > div:first-child > ul {
		width: calc(100vw * 225/1140);
	}
	footer > nav > div:last-child {
		padding-top: calc(100vw * 35/1140);
	}
}
@media only screen and (max-width : 730px) {
	footer > nav {
		height: 150px;
	}
	footer > nav > a {
		padding-top: 30px;
		padding-left: 25%;
		width: auto;
	}
	footer > nav > a > img {
		width: 100px;
		margin: 0;
	}
	footer ul {
		font-size: 14px;
	}
	footer > nav > div:first-child {
		display: none;
	}
	footer > nav > div:last-child {
		padding-top: 35px;
		padding-right: 25%;
		width: auto;
	}
	footer > nav > div:last-child li {
		text-align: right;
		margin-bottom: 4px;
	}
	footer > nav > div:last-child li:last-child {
		display: none;
	}
}
@media only screen and (max-width : 580px) {
	footer > nav > a {
		padding-left: 15%;
	}
	footer > nav > div:last-child {
		padding-right: 15%;
	}
}
@media only screen and (max-width : 360px) {
	footer > nav > a {
		padding-left: 10%;
	}
	footer > nav > div:last-child {
		padding-right: 10%;
	}
}
