main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 220px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer-text {
    color: #343a40;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


/**/

html, body{
    height: 100%;
}

body{
    /*font:14px/1.7em Tahoma, sans-serif;*/
    /*color: #fff;*/  
    /*background: #181818;*/
    min-width: 1400px;
}

.center{
    width: 1180px;
    position: relative;
    margin: 0 auto;
}

/*#time{
    display: inline-block;
    width: 240px;
    position: relative;
    text-align:center;
    font-size: 18px;
    margin-left: 130px;
    margin-top: 40px;
    color: #828282;
}*/

#text{
    font-size: 18px;
    color: #828282;
    padding: 20px;
    text-align: left;
    padding-left: 20px;   
}

#logo{
    padding-left: 10px;
    color: #01caf6;
    font: bold 24px Verdana;
    width: 270px;
    text-align:center;
    text-transform: uppercase;    
    text-decoration: none;
    float: left;
    margin: 20px 0;
    
}
#contacts{
    padding-right: 10px;
    color: #01caf6;
    font: bold 24px Verdana;
    width: 370px;
    text-align:center;
    text-transform: uppercase;    
    text-decoration: none;
    float: right;
    margin: 0 0;
    
}

.centermenu{
    margin: 20px auto;
}

.centermenu a:hover {
    background: #5e5e5e;
}

.menu{
    color: #01caf6;
    font: bold 24px Verdana;
    text-transform: uppercase;    
    text-decoration: none;
    padding: 10px;
    border: 1px solid #495B63;
}

.image{
    padding: 20px;
    width: 1180px;
    position: relative;
    margin: 0 auto;
}



#imageone { width:300px; transition:width 0.5s ease; }
/*.image:hover #imageone { width:500px; }*/

#imageproduct { width:500px; transition:width 0.5s ease; }

#imageone{
    margin: 10px;
}

.propertis{
    float: left;
}

/*Футер*/
footer{
    float: left;
    width: 100%;
    height: 350px;
    background-color: #7F131F;
}

#footerInside {
    position: relative;
    width: 1100px;
    margin: 0 auto;
    height: 100%;
}

#copyrights{
    text-align: center;
    padding: 5px;
}
#social {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.socialItem {
    margin: 0 5px;
}

/*.btn-instagram{
    background-image: url(/image/inst.png);
    width: 50px;
    height: 50px;
}*/

/*#footerNav {
    right: 0;
    top: 45px;
    width: 200px;
}

#footerNav a {
    display: block;
    text-align: right;
    color: #e6e09a;
    margin-bottom: 10px;
    margin-top: 8px;
    text-decoration: none;
}

#footerNav a:hover {
    color: #fff;
}*/

/*ТОРТЫ*/

.shopUnit {
    float: left;
    width: 30%;
    padding: 5px;
    border: 1px solid rgba(225, 225, 225, 0.7);
    margin-right: 3.365%;
    margin-bottom: 20px;
    background-color: #e9ecef;
}
.pagin {
    float: left;
    padding: 10px;
}

.shopUnit:nth-child(3n) {
    margin-right: 0;
}

.shopUnitName {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-family: Exo, sans-serif;
    font-size: 1.2em;
}

.shopUnit img {
    width: 100%;
    height: 250px;
}

#imagezakaz {
    width: 100%;
/*    height: 300px;*/
}

.shopUnitShortDesc {
    text-align: justify;
    margin-top: 10px;
}

.shopUnitPrice {
    text-align: right;
    padding-right: 20px;
    margin-top: 10px;
    color: #6a6747;
    font-weight: bold;
}

.shopUnitMore {
    border: none;
    padding: 5px 15px;
    background-color: #402925;
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #e6e09a;
    text-decoration: none;
}

.shopUnitMore:hover {
    color: #fff;
    background-color: #777777;
}

/*Один торт*/
.product{
    min-height: 380px;
}

#openedProduct-img {
    float: left;
    width: 30%;
    margin-right: 3%;
}

#openedProduct-img img {
    padding: 5px;
    border: 1px solid rgba(225, 225, 225, 0.7);
}

#openedProduct-content {
    padding: 10px;
    float: right;
    width: 55%;
}

#openedProduct-name {
    font-family: Exo, sans-serif;
    font-size: 2em;
    margin-top: 0;
}

#openedProduct-desc {
    margin-top: 20px;
}

#openedProduct-price {
    margin-top: 10px;
    color: #6a6747;
    font-weight: bold;
}

#tell {
    padding: 5px;
    margin-top: 10px;
}

#username {
    padding: 5px;
    margin-top: 10px;
}

.text-center-after-image {
    padding: 15px;
}
/*.pagination {
    display: -ms-flexbox;
    float: left;
    padding-left: 20px;
}*/

#pages {
    width: 350px;
    margin: 0 auto;
}
#pages span {
    float: right;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eeeeee;
  border-color: #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}