  /* Sticky footer styles
-------------------------------------------------- */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}
/*Nav*/

.navbar-inverse {
    background-color:#fff;
    border-color: #fff;
}

 

/* Set the fixed height of the footer here */
#footer {
  height: 60px;
  background-color:  #000000;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
  padding: 50px 15px 0;
}
.container .credit {
  margin: 20px 0;
}

#footer > .container {
  padding-left: 15px;
  padding-right: 15px;
}

#footer {
	position: fixed;
    width: 100%;
    display: block;
    bottom: 0;
}
.center{
    position: absolute;
    height: 500px;
    width: 500px;
    /*background:red;
    top:calc(50% - 500px/2); */ /* height divided by 2*/
    left:calc(50% - 500px/2); /* width divided by 2*/
}

@media screen and (min-width: 350px) and (max-width: 600px){
   
	.center{
		position: absolute;
        height: 300px;
        width: 300px;
		top:calc(50% - 300px/2); /* height divided by 2*/
        left:calc(50% - 300px/2); /* width divided by 2*/
		margin-top:10px! important;
	}
	#footer {
	
    width: 100%;
    display: block;
    bottom: 0;
}
.imgresright{
	height:50px !important;
}
.imgresleft{
	height:50px !important;
}
}
@media screen and (min-width: 601px) and (max-width: 760px){
	.center{
		position: absolute;
        height: 400px;
        width: 400px;
		/*top:calc(50% - 400px/2);*/ 
        left:calc(50% - 400px/2); 
		/*margin-top:100px ! important;*/
	}
	#footer {
	width: 100%;
    display: block;
    bottom: 0px;	
	visibility: hidden;
	position:absolute;
}
	
}