/* Main Container */
.wp-carehub-wrap {
    h1 {
        margin-bottom: 30px;
    }
    h3 {
        color: #1d2327;
        margin-top: 0;
    }
    table {
        border-collapse: collapse;
		border-top: 1px solid #eee;
        font-size: 13px;
        margin-top: 10px;
        width: 100%;
        td {
            border-bottom: 1px solid #eee;
            padding: 8px 20px 8px 0;
            vertical-align: top;
            &.date {
                color: #646970;
                width: 100px;
            }
            &.numbering {
                color: #646970;
                width: 30px;
            }
        }
    }
  /* Tabs */
  .tabs {
    margin-bottom: 2em;
  }
  .tabList {
    border-bottom: 1px solid #ccd0d4;
    list-style: none;
    margin: 0 ;
    padding: 0;
    li {
      display: inline-block;
      margin: 0 5px 0 0;
      button {
        background: #f1f1f1;
        border: 1px solid #ccd0d4;
        border-bottom: none;
        border-radius: 4px 4px 0 0;
        bottom: -1px;
        color: #2271b1;
        cursor: pointer;
        font-weight: 500;
        margin-bottom: 0px;
        padding: 8px 15px;
        position: relative;
      }
      &:hover button {
        background: #f8f9fa;
        color: #135e96;
      }
      &.active button {
        background: #fff;
        border-color: #ccd0d4;
        border-bottom: 1px solid #fff;
        color: #1d2327;
      }
    }
  }
  /* Tab Content */
  .tabContent {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 0 0 4px 4px;
    border-top: none;
    display: none;
    &.active {
      display: flex;
	  flex-wrap: wrap;
	  padding-top: 15px;
    }
    /* Columns */
    .col1 {
      box-sizing: border-box;
      padding-right: 20px;
      flex: 0 0 60%;
    }
    .col2 {
      box-sizing: border-box;
      padding-left: 20px;
      flex: 0 0 40%;
    }
  }
  /* Boxes */
  .padded {
    background: #fff;
    margin-bottom: 20px;
    padding: 30px;
  }
  /* Firewall Blocks */
  .firewall-blocks {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-top: 30px;
  }
  /* Notices */

  /* Help Text */
  .info {
      color: #2271b1;
      margin: 5px 0 15px;
  }
  /* Clearfix */
  .clearfix {
    &:before,
    &:after {
      content: " ";
      display: table;
    }
    &:after {
      clear: both;
    }
  }
  .firewallBlockTable {
    text-align: center;
    max-width: 500px;
    th, td {
        border-bottom: 1px solid #f0f0f0;
        padding: 8px 20px 8px 0;
        vertical-align: top;
    }
    th {
        font-weight: bold;
    }
    .leftText {
        text-align: left;
    }
  }
}

/* Responsive */
@media screen and (max-width: 782px) {
  .wp-carehub-wrap {
	  .padded {
		  padding: 15px;
	  }
    .tabContent {
		&.active {
		  display: block;
		  padding-top: 15px;
		}
		.col1,
		.col2 {
			padding: 0;
			width: 100%;
		}
		.col1 {
			margin-bottom: 20px;
		}
		.col2 {
			margin-top: 20px;
		}
    }
  }
}

#wpadminbar #wp-admin-bar-intention_add_history_log {
	opacity: 0;
	transition: all 0.2s linear;
	a:before {
		content: "\f464";
		font-family: dashicons;
		top: 2px;
		margin-right: 3px;
	}
}

#intention_add_history_pop {
	background: #fff;
	display: none;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-size: 13px;
	padding: 30px;
	width: 300px;
	&.iahp-active {
		box-shadow: 0 0 10px rgba(0,0,0,0.1);
		display: block;
		position: absolute;
		top: 50px;
		right: 20px;
		z-index: 999;
	}
	h3 {
		font-size: 17px;
		margin: 0 0 10px 0;
	}
	form {
		margin: 0;
	}
	textarea {
		font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
		margin-bottom: 10px;
		padding: 8px;
		width: 100%;
	}
	input {
		font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
		width: 100%;
	}
	textarea,
	button {
		font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
		font-size: 13px;
	}
	.popClose {
		cursor: pointer;
		height: 20px;
		position: absolute;
			top: 15px;
			right: 15px;
		width: 20px;
	}
	&.iahp-submitting .spinner {
		display: inline-block;
        float: none; 
        visibility: visible;
	}
	&.iahp-error .iahp-response,
	&.iahp-success .iahp-response {
		padding-top: 10px;
	}
	.iahp-negative {
		color: #c00;
		position: relative;
		padding-left: 16px;
	}
	.iahp-negative:before,
	.iahp-negative:after {
		background-color: #c00;
		content: ' ';
		position: absolute;
			left: 4px;
			top: 3px;
		height: 14px;
		width: 3px;
	}
	.iahp-negative:before {
	  transform: rotate(45deg);
	}
	.iahp-negative:after {
	  transform: rotate(-45deg);
	}
	.iahp-positive {
		color: green;
		position: relative;
		padding-left: 20px;
		position: relative;
		&:before {
			content: '';
			display: inline-block;
			height: 10px;
			border-bottom: 3px solid green;
			border-right: 3px solid green;
			position: absolute;
				left: 4px;
				top: 3px;
			transform: rotate(45deg);
			width: 5px;
		}
	}
}
