﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered (removed - too much space */
    margin-top: 60px;   /* Added to override above line & prevent mobile overflow*/
    /*padding: 20px;*/ /*Adding uncesssary big border*/
    /*padding-bottom:30px; Unnecessary bottom padding*/
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */ /*This is messing with ucMakeOffer if set to 50%*/
    
    /*Standardizing modals - may interfear with fairly large modals*/
    min-width: 340px;
    max-width: 800px;
}

.modal-stretched {
    width: 100%
}
/* The Close Button */
.mdlClose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*For big modals that start too low*/
.modalTopCentered {
    z-index:10040;
   /*top: -15%;
   right: 100px;
   bottom: 0;
   left: 0;
   z-index: 10040;
   overflow: auto;
   overflow-y: auto;*/
}

.modal-footer {
    padding-left: 5px;      /* Overriding padding setting in modal.less so that buttons in footer can fit in small (mobile) setrtin*/
    min-height: 70px;
}

.modal-header {
    padding-top: 0px;
    height: 35px;
}