/*----------------- 
Backend related CSS
-----------------*/

.post-type-events .acf-fields > .acf-tab-wrap .acf-tab-group li a {
    background: #f1f1f1;
    border-color: #ccd0d4;
    hyphens: auto;
}

.post-type-events #post-body-content h2 {
	font-size: 20px;
}

.post-type-events #post-body {
	margin-right: 0px !important;
}

.post-type-events #post-body.columns-2 #postbox-container-1 {
    float: left !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.post-type-events #poststuff #post-body.columns-2 #side-sortables {
     width: 100% !important;
}

.post-type-events #post-body-content .postbox { 
    min-width: 255px;
    border: none;
    box-shadow: 0 0px 15px rgba(0, 0, 0, .10);
    background: #fff;
    border-radius: 5px;	
}

.acf-postbox .acf-hndle-cog {   
    line-height: 27px !important;
    height: 27px !important;  
}

#poststuff .events-admin-wrapper {
	margin-top: 45px;
	padding: 16px;
}

#poststuff .events-admin-wrapper h2 {	
	padding: 0px;
	margin-bottom: 15px;
}

.post-type-events #minor-publishing-actions {
	display: none;
}

.post-type-events .attendees-table {
	width: 100%;
	border-radius: 5px;
	border-spacing: 0;
    border-collapse: collapse;
    overflow: hidden;
	min-width: 1200px;
}

.post-type-events .attendees-table-wrapper {
	overflow-x: auto;
}


.post-type-events .attendees-table th {
    padding: 10px 10px;
	text-align: left;
}

.post-type-events .attendees-table td {	
    padding: 6px 10px;
}

.post-type-events .attendees-table tr {
	background-color: #f1f1f1;
	transition: 0.3s;
	border-top: 3px solid #fff;
	color: #000;
}

.post-type-events .attendees-table tr.status-confirmed {
	background-color: #dfeecd;
	color: #000;
}

.post-type-events .attendees-table tr.status-unconfirmed {
	background-color: #fcfcfc;
	color: #b1b4b7;
}

.post-type-events .attendees-table tr.status-unknown {
	background-color: #fcfcfc;
	color: #b1b4b7;
}

.post-type-events .attendees-table tr.status-canceled {
	background-color: #fff7df;
	color: #b1b4b7;
}

.post-type-events .attendees-table thead tr { 
    border-top: none;   
}

.post-type-events .attendees-table tr.status-confirmed button.delete-status-button {
	display: none;
}

.post-type-events .attendees-table tr.status-unconfirmed button.update-status-button {
	display: none;
}

.post-type-events .attendees-table tr.status-canceled button.update-status-button {
	display: none;
}

.post-type-events .attendees-table tr button {
	display: inline-block;
    border: none;
    background-color: #04a4cc;
    color: #fff;
    border-radius: 3px;
    padding: 6px 10px;
    line-height: 1;
    font-size: 12px;
    transition: 0.3s;
    cursor: pointer;
	margin-right: 5px;
}

.post-type-events .attendees-table tr button:hover {
    background-color: #04b0db;   
}

.post-type-events .attendees-table  tr button.delete-status-button {
    background-color: #f44336;   
}

.post-type-events .attendees-table  tr button.delete-status-button:hover {
    background-color: #ff0000;   
}

.post-type-events .attendees-table  tr button.update-status-button {
    background-color: #ff9800;  
	color: #000;
}

.post-type-events .attendees-table  tr button.update-status-button:hover {
    background-color: #ff0000;  
	color: #fff;
}

/* Modal */

.post-type-events .attendees-table-wrapper .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999999; /* 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 */
.post-type-events .attendees-table-wrapper .modal-content {
    background-color: #fefefe;
    margin: 7% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 5px 40px rgba(0,0,0,0.3); /* Add shadow */
	position: relative;
}

/* Close button */
.post-type-events .attendees-table-wrapper .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 25px;
    border: 1px solid darkgrey;
    line-height: 1;
    height: 32px;
    display: block;
    padding: 4px 10px;
    border-radius: 5px;
	transition: 0.3s;
}

.post-type-events .attendees-table-wrapper .close:hover,
.post-type-events .attendees-table-wrapper .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
	border-color: #000;
}

/* Modal data */
.post-type-events .attendees-table-wrapper #modal-data p {
    margin: 0 0 10px;
}

.post-type-events .attendees-table-wrapper #modal-data hr {
    margin: 20px 0;
}
 
.post-type-events .attendees-table-wrapper #modal-data {    
	width: 100%;
	display: flex;
    flex-wrap: wrap;
}

.post-type-events .attendees-table-wrapper #modal-data .modal-data-header {
    font-size: 24px;
    font-weight: 700;
	width: 100%;
}
  
.post-type-events .attendees-table-wrapper #modal-data .modal-data-label {
	width: 30%;
	padding: 12px 20px;;
	background-color: #f1f1f1;
	border-bottom: 2px solid #fff;
	font-weight: 700;
}

.post-type-events .attendees-table-wrapper #modal-data .modal-data-value {
	width: 60%;
	padding: 12px 20px;;
	border-bottom: 2px solid #f1f1f1;
}
  