﻿/*****************************************************************/
/******************** SPECIFIC VIEWPORT SIZES ********************/
@media only screen and (min-width: 791px) and (max-width: 959px) {
    #divHeaderMenu ul.static > li > a > span > span
	{
	    font-size: 12px !important;
	}
    #divHeaderMenu ul > li > ul.static > li > a {
        padding-right: 10px !important;
    }
    span.menu-item-text{
        line-height:12px !important;
    }
}

@media only screen and (min-width: 520px) and (max-width: 830px) {
    #divHeaderMenu ul.static > li > a > span > span {
        font-size: 10px !important;
    }
    span.menu-item-text {
        line-height: 10px !important;
    }
    #divHeaderMenu ul > li > ul.static > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}
@media only screen and (min-width: 960px) and (max-width: 1200px) {
    span.menu-item-text{
        line-height:12px !important;
    }
    #divHeaderMenu ul > li > ul.static > li > a {
        padding-right: 0 !important;
    }
}
@media only screen and (min-width: 1200px) {
    #divHeaderMenu ul > li > ul.static > li > a {
        padding-right: 20px !important;
    }
}
@media only screen and (max-width: 950px) {
    .cer-infoBlocks-outer {
        display: block;
        background-color: transparent;
        margin-bottom: 35px;
    }
    .cer-infoBlocks-hubs,
    .cer-infoBlocks-systems {
        display: block;
        width: 100%;
    }
    .cer-infoBlock {
        background-color: white;
        display: block;
        width: 100%;
        border-bottom: 4px solid #82C5D8;
    }
    .cer-infoBlock-text{
	    height: 120px;
    }
}
@media only screen and (min-width: 951px) {
    .cer-infoBlocks-outer {
        display: table;
        background-color: white;
        border-bottom: 4px solid #82C5D8;
    }
    .cer-infoBlocks-hubs,
    .cer-infoBlocks-systems {
        display: table-row;
        margin-bottom: 35px;
    }
    .cer-infoBlock {
        display: table-cell;
        width: 25%;
    }
    .cer-infoBlock-text{
	    height: 100px;
    }
}
@media only screen and (max-width: 899px) {
    .cer-news-item-text h3 {
        font-size: 15px !important;
    }
}
@media only screen and (max-width: 799px)
{
    div.cer-news-block-left,       
    div.cer-news-block-right {
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
}
@media only screen and (min-width: 800px) {
    .landingPage-NewsArea {
        display: table;
    }
    .cer-content-block {
        display: table-row;
    }
}
@media only screen and (min-width: 800px) and (max-width: 959px)
{
    div.cer-news-block-left,       
    div.cer-news-block-right {
		display: table-cell;
		width: 50%;
	}
    div.cer-news-block-left {
        padding-right: 10px;
    }
    div.cer-news-block-right {
        padding-left: 10px;
    }
}
@media only screen and (min-width: 520px) and (max-width: 700px) {
    div.cer-heroBlock-info h1
    {
        line-height: 26px;
        font-size: 24px !important;
    }   
    div.cer-heroBlock-info p {
        line-height: 12px;
        margin-bottom: 2px !important;
    }
}
@media only screen and (max-width: 749px) {
    /*Stretch the content area for full width */
    div.landingPage-content-area {
        width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
    }
}

/********************** CAROUSEL ***********************/
/************ between mobile and tablet ************/
@media only screen and (min-width: 520px) and (max-width: 959px)
{
    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div {
		width: 83% !important;
    }
}
@media only screen and (min-width: 520px) and (max-width: 699px)
{
    #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;
	}    
    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div a.cer-flatButton{
		margin-top: 5px !important;
    }
}
@media only screen and (max-width: 600px)
{
	#s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div{
		width: 98% !important;
		margin: 3px;
	}
}
/************ between tablet and desktop ************/
@media only screen and (min-width: 850px) and (max-width: 959px) {
    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div h2 {
        font-size: 36px;
        line-height: normal;
    }
}
@media only screen and (min-width: 960px) and (max-width: 1050px)
{
    #s4-workspace div.cer-carousel-slide-div > div.cer-carousel-slide-content-div > div.cer-carousel-slide-description-p 
    {
	    margin-bottom: 20px;
	}
}

