/* try to combine as many styles as possible for minification */

@media screen and (max-width:960px){
	html body.admin-menu {margin-top:0px !important}
    /* move body background to top */
    body{
        background-position:center -280px;	
    }
    body.section_700-club-cbn-shows.section_the-700-club,

	body.node-type-section-page.section_gospel-radio,
	body.section_praise-music-radio,
	body.node-type-section-page.section_contemporary-radio,
	body.node-type-section-page.section_superbook-radio,
	body.node-type-section-page.section_fiesta-hoy-radio,
	body.node-type-section-page.section_christmas-radio,
	body.node-type-section-page.section_cross-country-christmas-radio,
	body.node-type-section-page.section_cbn-news-radio 
	{
		background-position:center -130px;
	}
    body.section_700-club-cbn-shows.section_the-700-club #tertiary-title > a {
        margin-left:30px;
    }
	body.node-type-section-page.section_gospel-radio {
		background-position:center -130px;
	}
    .primary-content { padding-top: 10px; }
    /*.header-ad, .header-ad * { margin-top:15px;}*/
	/*.radio-heading {padding-top:75px;}*/
	.section_praise-music-radio .radio-heading {padding-top:15px;}
    /* hide items */
    #mobile-header,
    #header #global .search,
    #admin-menu,#global,
    #main-menu, #secondary-menu, #tertiary-menu, #quaternary-menu,
    .section-region-video .video-resize-button,
    body.section_700-club-cbn-shows.section_the-700-club #secondary-title,
    .featured-item-summary p,
    body.page-700club #secondary-title
    {
        display:none;
    }
	#header {
		padding:80px 0px 30px !important;
        background-color: rgb(255, 255, 255);
	}
	.promotions-wrapper {
		/*min-height:325px;*/
	}

    /* no floating */
    .panels-flexible-region,
    #main-aside,
    .region-content
    .section-region-sidebar{
        float:none;
        clear:both;	
    }

    /* center items */
    .panels-flexible-region,
    .panels-flexible-row, 
    .section-content,
    body.section_700-club-cbn-shows.section_the-700-club #tertiary-title, 
    body.page-700club #tertiary-title {
        margin: 0 auto;	
    }

    body.section_700-club-cbn-shows.section_the-700-club .node-section-page .section-region-sidebar { padding-top: 20px ;}	

    /* full width */
    .panels-flexible-row,
    .panels-flexible-region.third,
    .content-wrapper,
    #header .ad-block.lb img,
    #global .centered,
    #main-menu .links, #secondary-menu .links, #tertiary-menu .links, #quaternary-menu .links,
    #content-wrapper,
    .panels-flexible-row, 
    .section-content,
    body.node-type-article .region.region-content,
    .section-region-sidebar,
    #main-aside,
    .twoThirds,
    .double-ad-tout,
    #footer .centered,
    #footer .menu.support-menu,
    #footer .social-connect-menu-wrapper,
    .node-video .section-region-video,
    .node-video .section-region-video.large,
    .node-featured-item,
    .node-article,
	body.node-type-special-page .region-content,
	body.node-type-section-page .region-content,
    .node-featured-item,body.node-type-article .region-content,
    .page-700club-show-info #main-wrapper ul.tabs.primary,
    body.section_700-club-cbn-shows.section_the-700-club #tertiary-title, 
    body.page-700club #tertiary-title{
        width:630px;
    }
    body.node-type-article .region-content {
		float:none !important;
	}
    
    /* 100% width */
    #mobile-header,
    .mobile-main-menu-cover,
    div.mobile-sub-menu,
    #secondary-title, #tertiary-title, #quaternary-title,
    #secondary-title a, #tertiary-title a, #quaternary-title a
    { width: 100%; }
    
    /* half size */
    #main-aside > div,
    .double-ad-tout .tout,
    .quarter{
        width:300px;	
    }

    /* quarter size */
    #footer .quarter { width:135px; }

    /* float left */
    #main-aside > div:nth-child(odd),
    .double-ad-tout .tout:nth-child(odd),
    .region-row1-right, .region-row2-right, .region-row3-right, .region-row4-right{
        float:left;	
    }

    /* float right */
    #main-aside > div:nth-child(even),
    .double-ad-tout .tout:nth-child(even){
        float:right;
    }

    /* mobile menu */
    /*#main-wrapper.mobile-menu-open { left:50%; }*/
    #mobile-main-menu {  left: -50%; }
	#mobile-main-menu .mobile-sub-menu .salvation-link,#mobile-main-menu .mobile-sub-menu .spiritual-link,#mobile-main-menu .mobile-sub-menu .prayer-link,#mobile-main-menu .mobile-sub-menu .support-link {
		color:#fff !important;
	}
    #mobile-main-menu .menu.support-menu li {
        border-bottom: none;
    }
	#main-wrapper.mobile-menu-open #mobile-main-menu {  left: 0px; }
    
    /* calendar schelule */
    
    .calendar-calendar .tr{display:block}
    .calendar-calendar .th,.calendar-calendar .td,.calendar-calendar .week-view .full .days{display:block;width:auto}
    .calendar-calendar div.calendar{margin:0}
    .calendar-calendar .td{padding:0}
    .calendar-calendar .thead,.calendar-calendar .no-entry,.calendar-calendar .empty{display:none}
    .calendar-calendar .table .day-of-the-month{font-size:16px;display:block;text-align:center!important;text-transform:uppercase}
    .calendar-calendar .day-of-the-month span{display:inline}
    .calendar-calendar .inner div.day-of-the-month,.calendar-calendar .day-of-the-month{margin:0;padding:10px;background:#f6f6f6}
    .calendar-calendar .inner div.item{padding:10px;border-bottom:solid 1px #f6f6f6}
    .item-list .pager{width:100%;margin:0 auto}
        
    /* article */
    
        
   
	
    /* custom styles */
	#radio-social a.social-icon.facebook {
		background-position: 0px -100px;
	}
	#radio-social a.social-icon.twitter {
		background-position: -50px -100px;
	}
	#radio-social a.social-icon.youtube {
		background-position: -100px -100px;
	}
	
    /*body, body.admin-menu{
        margin-top:50px !important;	
    }*/
	.node-article {
		max-width:630px;
		margin:0 auto;
		width:100%;
	}
    .node-featured-item {
		height:auto;
        margin-bottom: 0px;
	}
	.node-featured-item img {
		width:100%;
	}
	.node-featured-item .featured-item-summary {
		position:relative;
		top:auto;
		bottom:auto;
		left:auto;
		width:auto;
	}
	body.section_cbn-tv-video .node-featured-item .featured-item-summary {display:none;}
    .node-featured-item .featured-item-summary > a { display:block; margin-bottom:20px;}

    .node-video .ad-block {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }

    .region-content .section-region-sidebar {
        padding-top: 25px;
    }

	.section-region-sidebar .ad-block:nth-child(even) {
		margin-right:0;
	}
	.ui-tabs .ui-tabs-nav li {margin-right:18px;}
	.ui-tabs .ui-tabs-nav li:nth-child(9n) {
		margin-right:0;
	}
    
    .related-resources-and-ministries li{
        width:240px; margin-right:0px; margin-bottom:20px;
    }
    body.section_700-club-cbn-shows.section_the-700-club .node-section-page .related-resources-and-ministries li:nth-child(even){
        float:right;
		margin-right:0;
    }
    

    
    
    
    #mobile-header {
        position:fixed;
        display:block;
        height:50px;
        top:0px;
        left: 0px;
        background-color:#0da3d5;
        z-index:2001;	
		overflow:hidden;
    }
    #mobile-header .logo-link {
        position:absolute;
        top:0px;
        left:50%;
        margin-left:-46px;
        background: url("../images/sprite-120x40-cbnLogo.png") 0px -80px no-repeat;	
    }
    #mobile-header .menu-toggle-link, #mobile-header .search-link {
        margin:4px;
        margin-top: 9px;
        float:left;
    }
    #mobile-header .menu-toggle-link {
        background-position: -80px -64px;	
    }
    #mobile-header .search-link {
	background:url('../images/white_search.svg') no-repeat 7px 0px;
        background-size: 32px;
        height: 34px;
        float:right;
    }
    #mobile-header .menu-toggle-link {
        background:url('../images/mobile-menu-icon.svg') no-repeat 0px 1px transparent;
        background-size: 32px;
        height: 34px;
    }
    #mobile-header .logo-link {
            background: url('../images/white_cbn-logo.svg') no-repeat 0px 11px transparent;
            height:45px;
            width:120px;
            margin-left: -60px;
    }
    .mobile-main-menu-cover {
        height:100%;
        background: rgba(0,0,0,.25);
        z-index:1999;
        position:fixed;
        top:0px;
        left:0px;
    }
    #mobile-main-menu-container {
        position:relative;
        left: 0px;
    }
    body.admin-menu #mobile-main-menu-container {
       /* top:50px;*/
    }
    div.mobile-sub-menu li, div.mobile-sub-menu a {
        float:none;	
        display: block;
		line-height: 50px;
        font-size:20px;
        margin:0px;
        padding:0px;
        text-decoration: none;
    }

    div.mobile-sub-menu li { border-bottom: 1px solid #d5d5d5; }

    div.mobile-sub-menu li.clicked , div.mobile-sub-menu li.clicked a {
        transition: background-color .3s ease-in-out;
        background-color: #0da3d5 !important;
        color: #fff !important;
    }
	
    div.mobile-sub-menu {
        position:absolute;
        top:0px;
    }

    div.mobile-sub-menu.root-menu ul:first-child li {
        background-color: #222;
    }

    div.mobile-sub-menu.root-menu ul:first-child li a {
        color: #fff !important;
    }

    div.mobile-sub-menu:not(.root-menu) ul li:first-child {
        border-bottom: none;
    }
    /*div.mobile-sub-menu ul.menu,
    div.mobile-sub-menu li {
        border-bottom: 0.5px solid #ccc;	
		border-top:0.5px solid #ccc;
    }*/
	div.mobile-sub-menu li:last-child {
		border-bottom:none;
	}
    div.mobile-sub-menu li.collapsed {
        background: url("../images/lgray_r-arrow-thin.svg") no-repeat scroll 280px transparent;
        background-size: 12px;
    }
    div.mobile-sub-menu li a.view {
        background: url(../images/blue_home.png);
        background: url(../images/blue_home.svg);
        background-repeat: no-repeat;
        background-size: 25px;
        background-position: right;
        border-right: 15px solid transparent;
    }
    div.mobile-sub-menu li a.menu-back {
        background: #222 url("../images/lgray_l-arrow-thin.svg") 10px no-repeat;
        background-size: 12px;
        color: #fff !important;
        padding-left:40px; 	
    }
    div.mobile-sub-menu li.collapsed ul {
        display:none;	
		margin-left:25px;
    }
    div.mobile-sub-menu ul li a {
        padding: 0;
        padding-left: 10px;
        color:#555 !important;	
    }
	
    #tertiary-title a:before, #quaternary-title a:before,#main-title:before {
        content:">";
        padding-right: 5px;	
    }
    #secondary-title a, #tertiary-title a, #quaternary-title a {
        padding:0px; margin:0px;
    }
    #secondary-title a:hover, #tertiary-title a:hover, #quaternary-title a:hover {
        text-decoration:none;
    }
	#tertiary-title a:before { padding:5px }
	#tertiary-title, #secondary-title, #quaternary-title, #main-title {
        display: block;
        float: left;
        width: auto;
        margin: 0 0 30px 0;
        clear: none;
		font-size:19px;
		padding:5px;
		border-radius:12px;
		-moz-border-radius:12px;
		-webkit-border-radius:12px;
		color:#666;
        box-sizing: border-box;
	}
    #secondary-title {
        background:#D9D9D9;
        margin-left: 10px;
    }
	#tertiary-title, #main-title {
		font-family: ProximaNovaSBold, Arial Black, sans-serif; 	
	}
    .section-content > .section-blocks .single-block, .section-content > .section-blocks .single-block:nth-child(3n+3) {
        margin-right:15px;
    }
	.tab-links li a {
		display: block;
		border: 2px #ccc solid;
		padding: 10px;
		margin-bottom:15px;
		background:#eee;
		width:10px;
	}
	#call-box-inside {
		display:block;
	}
	#call-box {
		display:none;
	}
    .ad-block.lb img {
        height: 60px;
    }
    .custom-block {
        height:auto;	
    }
    #main-menu .links li {
        width:25%;
    }
    #main-menu .links li {
        margin:0;
        padding:10px 0;
    }
    #main-menu .quarter p { margin:0px; }
    .section-overview .links li {
        white-space: nowrap;
        padding-right:20px;	
    }
    #footer, #footer a { font-size:18px; }
    #footer .quarter {
        width:300px; margin:0px;	
    }
    #footer .quarter.left:nth-child(odd){
        clear:left; float: left;	
    }
    #footer .quarter.left:nth-child(even){
        float: right;
    }
    #footer .quarter h2 { font-size:20px; }
    #footer .menu.support-menu li a {
        width:307px;
        margin:0 0 15px 0;
    }
    #footer .menu.support-menu li:nth-child(1) a, 
    #footer .menu.support-menu li:nth-child(3) a {
        margin-right:15px;
    }
	.prayer-wall { margin:0 !important; }
	#radio-social {height:40px; margin-top: 20px;}
	.album-content {
		width:300px;
	}
    body.section_as-seen-on-the-club .node-teaser a h3 {
        padding-top:10px;
    }
    body.section_as-seen-on-the-club .node-teaser a h3,
    body.section_as-seen-on-the-club .node-teaser p {
        width:100%;
    }
    body.section_as-seen-on-the-club .field-group-header {
        width:100% !important;
    }
	body.section_cbn-tv-video .view-id-videos .cols-4 .node > a {
		height:103px;
		line-height:103px;
	}
	body.section_cbn-tv-video .section-blocks {
		margin:0 auto;
		max-width:660px;
	}
	body.section_cbn-tv-video .view-block.recent > div > .item {
		margin-right:0;
		width:200px;
	}
	body.section_cbn-tv-video .view-block.recent > div > .item-9,
	body.section_cbn-tv-video .view-block.recent > div > .item-10,
	body.section_cbn-tv-video .view-block.recent > div > .item-12,
	body.section_cbn-tv-video .view-block.recent > div > .item-13,
	body.section_cbn-tv-video .view-block.recent > div > .item-15,
	body.section_cbn-tv-video .view-block.recent > div > .item-16 {
		margin-right:30px;
	}
	
	body.section_cbn-tv-video .view-block .three-left {
		width:430px;
	}
	body.section_cbn-tv-video .view-block.trending .item {
		margin-right:30px;
		width:200px;
	}
	body.section_cbn-tv-video .view-block.trending .item:nth-child(3n) {
		margin-right:0;
	}
	
    .devotions-browse-topics {
        padding-bottom: 0px;
    }

    .node-video .section-region-video.large #video-player, .node-video .section-region-video.large #video-player-player {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .node-type-blog-post .section-region-main .node-featured-item { margin-bottom: 30px; }
    .node-type-blog-post .section-region-main .node-featured-item p { margin-bottom: 5px; }

    body.section_as-seen-on-the-club .node-teaser img { float: none; margin: 0 auto; display: block; }

    .page-node-36536 .section-region-sidebar { padding-top: 0px; }

    .grow-sidebar, .a-new-day-sidebar, .prayer-sidebar { margin-top: 0px; margin-bottom: 30px;}

    .grow-ads {
        margin-top: 0px;
        padding-top: 15px;
    }

    .promotions-wrapper {
        max-height: none;
        width: auto;
    }

    .promotions-wrapper .views-row {
        float: left;
        clear: none;
    }

    .promotions-wrapper .views-row:nth-child(even) {
        margin-left: 15px;
    }
    
    #poll-block {
        clear: none;
        margin-left: 15px;
    }
    
    .episodes-title {
        padding: 0px;
    }
    
    .cc_container * {
        font-size: 14px !important;
    }
}
/*@media  only screen and (-webkit-min-device-pixel-ratio: 1.5),  
        only screen and (   min--moz-device-pixel-ratio: 1.5),  
        only screen and (     -o-min-device-pixel-ratio: 3/2),  
        only screen and (        min-device-pixel-ratio: 1.5),  
        only screen and (min-resolution: 192dpi) {  
		#mobile-header .search-link {
			background:url('../images/sprite-retina-120x120.png') -10px -99px;
			background-size:250px 150px;
			float:right;
		}
		#mobile-header .menu-toggle-link {
			background:url('../images/sprite-retina-120x120.png') repeat scroll -155px -99px / 250px 150px transparent;
		}
		#mobile-header .logo-link {
			background:url('../images/sprite-cbn-logo.png') repeat scroll -3px -99px / 130px 245px transparent;
		}
		#global .logo-link {
			background:url('../images/sprite-cbn-logo.png') repeat scroll 0px -10px / 95px 245px transparent;
		}
		.search .search-submit-button {
			background:url('../images/int-bg-searchBar-retina.jpg') 0px 5px no-repeat;
			background-size:25px 25px;
		}
		#global .back-to-top-link {
			background:url('../images/sprite-retina-120x120.png') repeat scroll -295px -10px / 360px 180px transparent;
		}
		#cbn-footer span {
			background:url('../images/sprite-cbn-logo.png') repeat scroll 0px -49px / 95px 205px transparent;
		}
		#global .back-to-top-link:hover {
			background-position: -295px -63px
		}
}*/
