/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.orders__link {
		flex-wrap: wrap;
	}
	.orders__col-name {
		width: 100%;
		padding: 10px 0 0 0;
	}
	.navbar-nav {
		margin-right: 0;
		margin-left: 0;
	}
	.orders__col-status,
	.orders__col-payment,
	.orders__col-cost,
	.orders__col-quantity,
	.orders__col-position {
		width: inherit;
		min-width: inherit;
		padding-right: 2rem;
		font-size: 1.4rem;
	}
	.orders__col-position {
		padding-right: 0;
	}
	.orders__col-status {
		font-size: 1.1rem;
	}
	.orders__btn {
		margin: 0 0 0.5rem 0;
	}
	.order_status {
		position: absolute;
		top: -2rem;
		right: 0;
	}
	h3 {
		position: relative;
		font-size: 1.5em;
		margin-top: 1rem;
	}
	#table-supgood {
		width: 100%;
	}
	#table-clients, #table-assort {
		overflow-x: inherit;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.date_filters {
		display: flex;
		justify-content: space-between;
		margin-bottom: 1rem;
	}
	.date_filters__sup .date1_filter, .date_filters__sup .date2_filter {
		width: 49%;
	}
	.date1_filter, .date2_filter
	.date2_filter {
		float: right;
	}
	h3 .btn-success {
		width: 100%;
	}
	#filter_form .dfilter {
		width: 100%;
		margin: 10px 0;
	}
	#filter_form .date_closer {
		top: 16px;
	}
	#filter_form {
    	margin-top: 8px;
	}
	#pdopage {
    margin-top: 20px;
	}
	.old_page {
		display: none;
	}
	.ltitle {
		font-size: 18px;
	}
    .good-title-block {
        margin-bottom: 5px;
    }
	.thumb_title {
        height: 35px;
        overflow: hidden;
		font-size: 1.1em;
		margin: 10px 0 5px 0;
	}
	.thumbnail .btn {
		padding: 3px 9px;
	}
	.orders__col-manage {
		position: absolute;
		right: 10px;
		width: 100px;
		flex-direction: row;
	}
	.orders__link {
		padding-left: 0;
	}
	.modal-dialog {
		margin: 0;
	}
	.order_good {
		margin-left: 0;
	}
	.sup_card_button {
		right: 0rem;
		bottom: -2rem;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
    .thumbnail p.assort{
        height: 40px;
        overflow: hidden;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 536px) {
    .thumbnail p.assort{
        height: auto;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .thumbnail {
        height: 395px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .thumbnail {
        height: 395px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	.good-block {
        -ms-flex: 0 0 15rem;
        flex: 0 0 15rem;
		max-width: 15rem;
	}
}