@media (min-device-width: 320px)
and (max-device-width: 1024px)
and (orientation: portrait) /*** iphones 5-8 *****/
{
    .fullwidth{
        padding: 0 5px;
    }
    .process-img {
        padding: 3px;
    }
    .edp1{
        width: 21vw;
    }
    .edp2{
        width: 15vw;
    }
    .edp3{
        width: 17vw;
    }
    .edp-arrow{
        width: 10vw;
    }
    .edp-container span {
        font-size: 2vw;
    }
    .value-container h4 {
        font-size: 3vw;
    }
    .value-container .img-square img{
        width: 62vw;
    }
    .value-container h3{
        font-size: 5vw;
        text-align: center;
    }
    .main-container{
        padding: 0px 0.5vw;
    }
    .company-services h2{
        font-size: 4.4vw;
        font-weight: 900;
        margin-bottom: 10%;
    }
    .mgt-ctrl-top,.mgt-ctrl-bottom{
        display: flex;
        flex-direction: column;
    }
    .mgt-ctrl {
        display: inline-block;
        height: inherit;
        margin: 10px 0;
        width: 100%;
    }    
    .amz-img{
        width: 20vw;
        margin-top: 10px;
    }
    .amz-footer{
        font-size: 2.9vw;
    }
    p.text-small {
        font-size: 1.7vh;
    }
    .mgt-ctrl span {
        font-size: 3vw;
    }
    .navbar-brand {
        padding: 15px 2px 6px;
    }    
    #home-sec1 .bg-img-container{
        background-attachment:initial;
    }
    .page-footer{
        padding: 10vh 0;
    }
    .page-footer .footer-sec{
        margin-bottom: 15px;
        width: 100%;
    }
    .footer-main-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .soc-med-icons{
        width: 100%;
    }
    .soc-med-icons .soc-med-container{
        display: block;
        text-align: center;
    }
    .soc-med-icons img {
        margin: 10px;
        text-align: center;
    }
    .page-footer .font-small{
        text-align: center;
    }
    .slider-animate.open {
        position: fixed;
        top: 30vh;
        margin: 0 auto;
        left: 0px;
        width: 100%;
        background: url(/bundles/dukeweb/themes/NAFEM/layout/images/NAFEM_01.png) no-repeat;
        z-index: 1;
        transform: none;
    }
    .slider-animate{
        position: fixed;
        height: 0px;
    }  
    .value-container div{
        width: 100%;
    }
}
@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 1024px) 
and (orientation: landscape){
    .main-container {
        padding: 0px 0.5vw;
    }
    .process-img.edp-arrow {
        width: 12vw;
    }
    .edp-container span {
        font-size: 2vw;
    }
    .value-container h4 {
        font-size: 2.4vw;
    }    
    p.text-small {
        font-size: 0.7em;
    }
    .value-container .img-square img {
        width: 40vw;
    }
    .slider-animate.open {
        position: fixed;
        top: 10%;
        margin: 0 auto;
        background: url(/bundles/dukeweb/themes/NAFEM/layout/images/NAFEM_01.png) no-repeat;
        z-index: 1;
        transform: translate(-50%, 0);
        bottom: 0;
        right: 0;
    }    
    .mgt-ctrl {
        height: 20vw;
        width: 60%;
        display: flex;        
    }    
    .mgt-ctrl p {
        font-size: 3.5vh;
    }
    #home-sec1 .bg-img-container{
        height: 95vh !important;
    }
    .main-container .bg-white{
        width: 100%;
    }
    .mgt-ctrl span {
        font-size: 1.8vw;
    }
    .soc-med-icons .soc-med-container {
        display: inline-block;
    }
    .img-square.text-center{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }
    .page-footer {
        padding: 10vh 0;
    }
    .footer-sec {
        display: inline-block;
        margin: 7px 6px;
    }
    .footer-main-container{
        display: flex;
    }
    .soc-med-icons{
        width: 100%;
    }
    .soc-med-icons img{
        margin: 5px;
        text-align: center;
        width: 7vw;
    }
    .soc-med-icons h3{
        font-size: 2vw
    }
    .page-footer p {
        font-size: 2vw;
    }
    .amz-footer {
        font-size: 2vw;
    }    
}
@media (min-width: 480px)
{
}
@media (min-device-width: 768px)
{
    .left-navigation{
        display:block;
    }
}
@media (min-width: 1024px)
{
    .edp1{
        width: 17vw;
    }
    .edp2{
        width: 10vw;
    }
    .edp3{
        width: 15vw;
    }
}
@media (min-width: 1200px)
{
    .edp1{
        width: 17vw;
    }
    .edp2{
        width: 10vw;
    }
    .edp3{
        width: 15vw;
    }
    .edp-arrow{
        width: 10vw;
    }
    p.text-small {
        font-size: 1.02vw;
    }
}
@media (min-width: 1800px) 
and (min-height: 2500px){
    .mgt-ctrl {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        min-height: 25vw;
        padding: 20px;
        border-radius: 10px;
        border: 1px solid #44beeb;
        width: 25vw;
        margin: 10px;
    }
    .footer-main-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-sec, .soc-med-icons {
        width: 55%;
        margin: 20px;
    }
    .footer-main-container .soc-med-icons{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-footer {
        padding: 5vh 15vw;
    }
    .amz-footer{
        font-size: 2vw;
    }
}