 /*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla.com. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla.com                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
@media screen and (max-width: 980px) {
    .yjsg_grid {
        padding-top: 90px;
        padding-bottom:90px;
    }
    .gridsfx-yjsg-flex,
	.yjsg-flex{
        display:block;
    }
    div.yjsgxhtml + div.yjsgxhtml.last_mod{
        margin-top: 45px;
        float: left;
    }
    .yjsg-hero .gridsfx-home-hero,
    .yjsg-hero .gridsfx-page-hero{
        height:initial;
        padding-top: 90px;
        padding-bottom:90px;
    }
    #yjsg5 .yjsg4.yjsquare{
        margin:initial;
    }
    #footmod .defaultmenu.inline{
        position:static;
        margin:0 0 30px;
    }
    .yjsg-col-1-3 + .yjsg-col-1-3 + .yjsg-col-1-3{
        margin-top:45px;
    }
    .yjsg-article-hero{
        margin-top:0;
        padding:45px;
    }
    .yjsgarticle.advito-article{
        margin: 45px auto;
        padding:0px;
    }
    .yjsg-text-column-1-2{
        column-count:1;
    }
    .yjsg1 h1, .yjsg1 h2,
    .larger-heading,
    .yjsg3 .module_title,
    .yjsg-article-hero .article-heading{
        font-size:32px;
    }
}
@media screen and (max-width: 767px) {
    div.yjsgxhtml +  div.yjsgxhtml{
         margin-top: 45px;
    }
    .yjsg-news-item,
    .yjsg-news-item-image,
    .yjsg-news-item-intro{
        display:block;
        width:100%;
        float: none;
    }
    .yjsg-news-item-image,
    .first .yjsg-news-item-image, 
    .first .yjsg-news-item-image a,
    .second .yjsg-news-item-image, 
    .second .yjsg-news-item-image a{
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .yjsg-team-article .img-fulltext-left, 
    .yjsg-team-article .item_text{
        display:block;
        width:100%;
    }
    .yjsg-team-article .img-fulltext-left img{
        float:none;   
        margin-bottom:45px;
    }
    [class*='yjsg-col-'] + [class*='yjsg-col-']{
        margin-top:45px;
    }
}