﻿/*****************************************************************/
/*************************** PHONE *******************************/
@media only screen and (max-width: 519px)
{
/*********************************/
/****** Page Header / Menu *******/

#s4-workspace
{
	overflow-y: scroll !important; /* has to be scroll, not auto */
  	-webkit-overflow-scrolling: touch !important;
}

	.cer-master-header-block, #s4-titlerow
	{
		height: auto;
	}
    div#headerTools-phone
    {
        display: inline-block !important;
        visibility: visible !important;
    }
    a#phoneSearchButton,
    a#cerMenuExpanderButton {
        display: inline-block;
    }
    a#phoneSearchButton:hover,
    a#cerMenuExpanderButton:hover 
    {
        background-color: #82c5d8;
    }
    #divHeader
	{
	    background-color: #007e9e;
        height: 70px;
        background-image: url("/Style%20Library/Images/cer-bannerPhone.png");
	    background-repeat: no-repeat;
        background-position: right top;
	}

    #imgHeaderCrest {
        display: none !important;
        visibility: hidden !important;
    }
    #imgHeaderCrestSmall {
        display: inline !important;
        visibility: visible !important;
    }
    div.cer-header-logo-block {
        display: inline-block;
        padding-top: 3px !important;
        padding-bottom: 2px !important;
        height: 70px !important;
        width: 100%;
        padding-left: 40px;
    }
	div.cer-header-crest-block {
		width: 85px !important;
	}
	img.cer-header-crest {	
		width: 100%;
	}	
    div#siteIcon {
        padding-top: 2px !important;
    }
    #divHeader img.ms-siteicon-img {
        width: 75%;
        height: 75%;
        max-width: 75% !important;
        max-height: 75% !important;
    }
    .cer-header-top-right-tools-block
	{
		padding-top: 18px;
		padding-right: 0;
	}
	.cer-header-button
	{
		display: none;
		visibility: hidden;
	}
	.cer-header-button-sizing
    {
	    width: 35px;
	    height: 35px;
    }
	.cer-master-search-block
	{
		display: none;
		visibility: hidden;
	}
	#divHeaderMenu
	{
        display: none;
	}
    #divHeaderMenu ul > li > ul.static > li {
        display: block;
    }
    div#divHeaderMenu div#DeltaTopNavigation > div, 
    div#divHeaderMenu div#DeltaTopNavigation > div > ul, 
    div#divHeaderMenu div#DeltaTopNavigation > div > ul > li, 
    div#divHeaderMenu div#DeltaTopNavigation > div > ul > li > ul, 
    div#divHeaderMenu div#DeltaTopNavigation > div > ul > li > ul > li {
        width: 100%;
    }
    #divHeaderMenu ul > li > ul.static > li > a {
        padding-top: 6px;
        padding-bottom: 5px;
        width: 100%;
        text-decoration: none;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        border-bottom: 1px solid #E7E8E6;
    }
    #divHeaderMenu ul > li > ul.static > li span {
        font-size: 12px;
    }
    #divHeaderMenu ul > li > ul.static > li > a:visited {
    }
    #divHeaderMenu ul > li > ul.static > li > a.selected,
    #divHeaderMenu ul > li > ul.static > li > a:hover,
    #divHeaderMenu ul > li > ul.static > li > a:active {
        border-bottom: 3px solid #82C5D8;
        background-color: #E7E8E6;
        padding-bottom: 3px;
    }

/*********************************/
/***** Popular Topics / News *****/

	.cer-news-block-left 
	{
		display: block;
		width: 100%;
	}
	.cer-news-block-left-inner
	{
		width: 100%;
	}
	.cer-news-block-right 
	{
		display: block;
		width: 100%;
	}
	.cer-news-block-right-inner
	{
		width: 100%;
	}
	.cer-news-block-header > h2
	{
        margin-top: 15px !important;
	}
	.cer-news-block-header > img
	{
	        width:35px; 
	        margin-top:-2px;
	}
	.cer-news-item-text
	{
		display: table-cell;
		height: auto;
		padding-left: 7px;		
	}
	.cer-heroBlock-info p
	{
		line-height: 17px;
		height: 12px !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap;
	}
	.cer-news-item-text div.cer-infoBlock-buttons-block
	{		
		margin-top: 10px;
	}


/*********************************/
/************ FOOTER *************/

	.cer-footer
	{
		display: block;
		font-size: 11px;
	}
	.cer-footer-row
	{
		display: block;
		width: 100%;
		margin: 0 !important;
		padding: 0 !important;
	}
	.cer-footer-left
	{
		display: block;
		width: 100%;
	}
	.cer-footer-right
	{
		display: block;
		width: 100%;
	}
	.cer-footer-left-div
	{	
		margin: 0;
		width: 100%;
		display: block;
	}
	.cer-footer-right-div
	{	
		margin: 0;
		width: 100%;
		display: block;
	}
	.cer-footer-crest{
		
	}
    
    div.cer-heroBlock {
        max-width: 100%;
        max-height: 250px;
        position: relative;
        padding-bottom: 25%;
        height: 0;
    }
    div.cer-heroBlock-info {
        margin-left: 10px;
    }
    div.cer-heroBlock-info h1,
    .cer-carousel-slide-content-div h2 {
        margin-top: 5px !important;
        margin-bottom: 0 !important;
        font-size: 21px !important;
    }	
div.cer-heroBlock-info p{
		margin-top: 0 !important;
		margin-bottom: 2px !important;
		line-height: normal !important;
		font-size: 11px !important;
	}

    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div h2 {
        font-size: 20px !important;
        line-height: normal !important;
    }
    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div > div.cer-carousel-slide-description-p 
    {
	    font-size: 10px !important;
	    margin-top: 5px !important;
	    margin-bottom: 0 !important;
	    line-height: normal !important;
	
	}    
	#s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div > div.cer-carousel-slide-description-p > p
    {
		overflow: hidden !important;		
		height: 14px !important;
		white-space: nowrap !important;
		text-overflow: ellipsis !important;
		width: 95%;
		margin-bottom: 0;
    }
    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div a.cer-flatButton{
		margin-top: 0 !important;
    }

    div.cer-heroBlock-info p {
        font-size: 11px;
    }
    div.cer-heroBlock-info h1 {
        margin-top: 8px;
        margin-bottom: 3px;
    }
    div.cer-heroBlock-info p,
    div.cer-heroBlock-info a
    {
        margin-bottom: 7px;
    }

    div#SearchBox,
    div#SearchBox > div
    {
        width: 100%;
    }
    div#SearchBox > div > a{
        width: 35px;
        display: inline-block;
        float:right;
    }
    div#SearchBox > div > input{
        width: 86%;
        display: inline-block;    
    }
    .ms-searchCenter-refinement,
    .ms-searchCenter-result-main {
        display: block !important;
        float: none !important;
        width: 100% !important;
    }
    div.ms-srch-hover-outerContainer {
        display: none !important;
        visibility: hidden !important;
    }
    div#s4-workspace div.cer-searchPage-block div.ms-srch-group  > div.ms-srch-group-content > div.ms-srch-item,
    div#s4-workspace div.cer-searchPage-block div.ms-srch-group  > div.ms-srch-group-content > div.ms-srch-item > div.ms-srch-item-body.ms-srch-item-summaryPreview
    {
    	width: 100%;
    }
	div#titleAreaBox > img.cer-banner-swishUnder-img{
		display: none !important;
		visibility: hidden !important;
	}
	div#siteIcon > div#DeltaSiteLogo > a > img.ms-siteicon-img
	{
		max-height: 100% !important;
	}
	div.headerTools-left-phone
	{
		display: inline-block !important;		
		visibility: visible !important;
		position: absolute;
		top: 15px;
		left: 0;		
	}
	div.headerTools-left-phone > a,
	a#phoneSearchButton{
		padding: 5px;
	}
	div.cer-centeredLogoBlock
	{
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 300px;
		text-align: center;
		white-space:nowrap;
		overflow: hidden;
	}
	div.cer-header-top-right-tools-block{
		top: -3px !important;
		right: 0;
	}
    div.cer-docAssetsPage-feedback-block div.cer-contentPage-feedback-header {
        display: block;	
	    margin-left: 15px;
	    width: 100% !important;
	    float: none !important;
    }
    div.cer-docAssetsPage-feedback-block div.cer-contentPage-docsOnPage-cellRight {
        display: block;
	    text-align:left;
	    float:none !important;
	    width: 100%;
	    margin-left: 15px;
    }	
}