/*  --------------------------------------------------------------------------  */
/*  --- For square screens and landscape tablets (1024 wide - 32 for scrollbar) */
/*  --------------------------------------------------------------------------  */


@media screen and (max-width: 1247px){
   
body{
	background-image: url('../images/bg-body-tabland.jpg');
}

#container, #footercontainer{
    width: 992px;
}


header, #headerbody{
    height: 331px;
}

a#logo{
    top: 105px;
    left: 70px;
    width: 330px;
    height: 141px;
    
}

#banner{
	height: 199px;

}

#listings{
    float: right;
    width: calc(100% - 340px);
	}
ul.listgal li{
    margin: 6px 4px 55px;
    width: 169px;
    height: 91px;
}

ul#menu li a{
    padding: 5px 12px;
    }


#homectalinks {
    grid-template-columns: 100%;
    }

/*  ---end---  */
}