button.close 
{
    display: none;
}

button.bootbox-close-button 
{
    display: block;
}

.bootbox-alert .modal-footer
{
	text-align: center;
}

#myAjax div.medium, .my-modal div.medium
{
	width: 650px;
}

@media screen and (max-width: 680px) 
{
	#myAjax div.medium, .my-modal div.medium
	{
		width: auto;
	}
	
	#myAjax div.caption, .my-modal div.caption 
	{
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;	
		width: auto;
	}
}

#myAjax tr > td, #myAjax tr > th, .my-modal tr > td, .my-modal tr > th
{
	#line-height: 1.2 !important;
}

#myAjax .form-group, .my-modal .form-group
{
	margin-bottom: 5px !important;
}

#myAjax .portlet > .portlet-title > .actions, .my-modal .portlet > .portlet-title > .actions
{
	display: none !important;
}

#myAjax .portlet > .form .form-body, .my-modal .portlet > .form .form-body
{
	padding: 8px !important;
}

#myAjax .form-actions, .my-modal .form-actions
{
	text-align: right;
}

#myAjax button.close, .my-modal button.close
{
    display: block !important;
    margin-top: 5px !important;
    /*margin-right: -10px !important;*/
    width: 30px;
    height: 30px;
    background: transparent url("/img/fancy_close.png") repeat scroll 0px 0px !important;
    cursor: pointer;
	opacity: 0.7 !important;
    z-index: 11030;
}

#myAjax .modal-body, .my-modal .modal-body
{
	padding: 20px;
	border-radius: 2px !important;	
}

#myAjax .portlet.box, .my-modal .portlet.box
{
    border-width: 0px 6px 6px !important;
    border-radius: 4px !important;
}

#myAjax .portlet-body, .my-modal .portlet-body 
{
    border-radius: 0px !important;
    #background: transparent url("/img/noise.jpg") repeat scroll 0% 0% !important;
}

#myAjax div.small, .my-modal div.small
{
	width: 300px !important;
}

a.select
{
	display: block !important;
	margin-bottom: 1px !important;
}

#myAjax .modal-hidden, .my-modal .modal-hidden
{
	display: none;
}

div.centered {
    margin: 0px auto !important;
    display: table !important;
}


.my-modal .modal-content {
    /* border-width: 0px 6px 6px !important; */
    border-radius: 4px !important;
    border-color: #790016 !important;
    /* background-color: #790016 !important; */
}

.my-modal .modal-header {
    font-size: 20px;
}