body {
    display: -webkit-box;
    height: auto;
    min-height: 100vh;
    -webkit-box-orient: vertical;

}

.header {
    height: 40px;
    width: 100%;
    background-color: darkblue;
    position: fixed;
}

.navbar{
    background-color: darkblue;
}
.page{
    margin: auto;
}

.content{
    /*
    margin: auto;
    */
    margin-top: 0;
    margin-bottom: auto;
}

.footer{
    padding-top: 40px;
}


.footer__contacts{
    background-color: darkblue;
}

.footer__contacts .nav-item{
    padding: 5px;
    color: white;
}

.footer__contacts .nav-item a{
    color: white;
}

.footer__social{
    margin: auto;
    text-align: center;
}

h1{
    margin-top: 1rem;
}

h1, h2, h3 {
    text-align: center;
}

.card-header:first-child {
    background-color: darkblue;
    color: #fff;
    font-weight: bold;
}


.btn-primary {
    color: #fff;
    background-color: darkblue!important;
    border-color: darkblue!important;
    width: 250px;
    margin: 3px;
}

.btn {
    color: #fff;
    background-color: darkblue!important;
    border-color: darkblue!important;
    width: 180px;
    margin: 3px;
}

.btn:hover {
    color: #00f;
}


.my_width_none  {
    max-width: none;
}

@media (min-width: 1200px){
    .h1, h1 {
	margin-top: 1rem;
	font-size: 2.25rem;
	text-align: center;
    }
    .login_form {
	max-width: 900px;
    }
    .content{
	width: 60%;
    }
}

@media (min-width: 992px){
    .content{
	width: 70%;
    }
    .navbar-expand-lg {
/*	padding: 0 80px; */
	padding: 0;
    }
    .login_form  {
	max-width: 720px;
    }
}

@media (min-width: 768px){
    .photo-form-field{
	margin-top: 0;
    }
}

.term {
    border-bottom: 1px dotted black; /* Параметры линии */
}

#drop_file_zone {
    background-color: #EEE;
    border: #999 1px dashed;
    width: 100%;
    height: 150px;
    padding: 8px;
    font-size: 18px;
}
#drag_upload_file {
  width:100%;
  margin:0 auto;
  text-align: center;
  padding-top: 30px
}
#drag_upload_file p {
  text-align: center;
}
#drag_upload_file #selectfile {
  display: none;
}
.img-content{
    text-align: center;
}
.img-content img{
    height: 150px;
}


/* Style the Image Used to Trigger the Modal */
.dogImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.dogImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 640px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 640px;
    text-align: center;
    color: #FFF;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.shopping-bag::before {
    content: " ";
    background: url(/img/shoppingbasket.svg) no-repeat;
    padding-right: 25px;
}

    .tovar-comment{
	min-height: auto;
    }

@media (min-width: 992px){
    .tovar-comment{
	min-height: 220px;
    }
}

@media (min-width: 768px){
    .tovar-comment{
	min-height: 220px;
    }
}

@media (min-width: 1200px){
    .tovar-comment{
	min-height: 220px;
    }
}

table{
    width: auto!important;
    min-width: 100%!important;
}

table td {
    padding: 0.5em!important;
    border: 1px solid #000;
}

@media (min-width: 768px){
.order-ship table th {
    width: 35%;
}
}