/**
 * styles.css
 * 
 * These are the base styles for admin pages of all IPA plugins
 * 
 * Index
 * I. Base
 * II. Colors
 * III. Typography
 * IV. Layout
 * V. Components
 * VI. Media Queries
 *
 */

/**
 * --------------
 * II. Colors
 * --------------
 */
/**
 * II.A Text
 */ 
.ipa-text-pri {
	color: #18007C;
}

.ipa-text-sec {
	color: #81CC43;
}

/**
 * II.B Background
 */ 
.ipa-bg-pri {
	background-color: #18007C;
}

.ipa-bg-sec {
	background-color: #81CC43;
}

/**
 * --------------
 * III. Typography
 * --------------
 */
/**
 * III.A Font Sizes
 */
.ipa-page-title {
	font-size: 1.5rem;
}

/**
 * III.B Font Weight
 */
.ipa-page-title {
  font-weight: 700;
}

/**
 * --------------
 * IV. Layout
 * --------------
 */
/**
 * IV.A General
 */
#wpcontent {
	padding-left: 0;
}

/**
 * IV.B Wrap
 */
#ipa-app {
	color: #444;
	margin: 0;
}

.ipa-wrap {
	max-width: 69.5rem;
	margin: 0 auto;
	padding: 1rem;
}

/**
 * IV.C Dashboards & Panels
 */ 
#ipa-app .ipa-settings-dashboard,
#ipa-app .ipa-settings-panel,
#ipa-app .ipa-address-options {
	display: none;
}

#ipa-app .ipa-settings-dashboard.ipa-grid.active {
	display: grid;
	grid-column-gap: 0.875rem;
	grid-template-columns: 12.875rem auto;
}

#ipa-app .ipa-settings-dashboard.active:not(.ipa-grid),
#ipa-app .ipa-settings-panel.active,
#ipa-app .ipa-address-options.active {
	display: block;
}

/**
 * IV.D Header
 */ 
.ipa-settings-header {
	border-bottom: 2px solid #81CC43;
}

.ipa-settings-header img {
	height: 60px;
}

.ipa-settings-header .ipa-wrap {
	align-items: center;
	flex-wrap: wrap;
}

.ipa-settings-header .ipa-page-title {
	margin-left: auto;
}

/**
 * --------------
 * V. Components
 * --------------
 */
/**
 * V.A Navigation
 */
.ipa-settings-dashboard > nav.ipa-nav a {
	border-radius: 5px;
	color: #18007C;
	font-size: 0.875rem;
	padding: .6875rem .5rem 0.6875rem 1rem;
	text-decoration: none;
}

.ipa-settings-dashboard > nav.ipa-nav .active,
.ipa-settings-dashboard > nav.ipa-nav a:hover,
.ipa-settings-dashboard > nav.ipa-nav a:focus {
	background-color: #18007C;
	box-shadow: 0 1px 4px rgb(18 25 97 / 8%);
	color: white;
	border-left: 2px solid #81CC43;
}

nav#move-to {
	flex-wrap: wrap;
	align-items: center;
}

/**
 * V.B Card
 */
.ipa-card {
  border-radius: 10px;
  box-shadow: 0 1px 4px rgb(18 25 97 / 8%);
  width: calc(100% - 20px);
  padding: 20px 10px;
}

.ipa-card > .ipa-header {
    border-bottom: 1px solid #D7D8DA;
}

/**
 * V.C Buttons
 */
#ipa-app .button-primary {
	color: white;
	border-radius: 5px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;  	
	width: auto;
	margin-left: 13.75rem;
}

#ipa-app .button-primary:hover {
  box-shadow: 0 1px 4px rgb(18 25 97 / 8%);
}

#ipa-app p.submit {
	margin: 0 auto;
	max-width: 69.5rem;
}

/**
 * V.D Filters
 */
#ipa-app #filter {
	align-items: center;
	border-radius: 5px;
	margin-bottom: 30px!important;
}

#ipa-app #filter select {
	border: 1px solid #ccc;
	max-width: 250px;
}








#log-entries .sort-column > .item {
	margin-right: 10px;
}

#log-entries .sort-column .fa {
	cursor: pointer;
	font-size: 16px;
	padding: 2px 5px;
}

#ipa-app .modal > .container > .heading .fa:hover,
#log-entries .sort-column .fa:hover {
	background: #fff; 
	border: 1px solid #ccc;
	padding: 1px 4px;
}

#ipa-app .modal {
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
		left: 0;
		top: 0;
	width: 100%;
	height: 100vh;	
	justify-content: center;
	align-items: center;
}

#ipa-app .modal > .container {
	background: #fff;
	border: 1px solid #ccc;
	width: 800px;
}

#ipa-app .modal > .container > .heading {
	background: #efefef;
	overflow: auto;
	padding: 10px;
	width: calc(100% - 20px);
}

#ipa-app .modal > .container > .wrap {
	padding: 10px;
}

#ipa-app .modal > .container > .heading .title {
	display: inline-block;
	width: 60%;
}

#ipa-app .modal > .container > .heading .fa {
	cursor: pointer;
	float: right;
	padding: 8px;
}

#ipa-app .modal > .container > .heading .fa:hover {
	padding: 7px;
}

#ipa-app .modal > .container > .is-flex .item {
	border: 1px solid #cccccc;
	border-radius: 5px;
	margin: 4px;
	overflow: auto; 
	padding: 5px;
	width: calc(50% - 20px);
	height: 300px;
}

#ipa-app .modal > .container > .is-flex .item:last-child {
	margin-right: 0;
	margin-bottom: 5px;
	height: 100px;
}


/**
 * I.A Base
 */
[v-cloak] > * { display:none; }
[v-cloak]::before { content: "loading..."; }

/**
 * I.B Animation
 */
 .ipa-animate {
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;  	 
 }

 .ipa-spin {
	-webkit-animation: rotation 2s infinite linear;
 }

 @-webkit-keyframes rotation {
    from {
            -webkit-transform: rotate(0deg);
    }
    to {
            -webkit-transform: rotate(359deg);
    }
 }

/**
 * I.C Shadows
 */
 .ipa-dropshadow {
  -webkit-box-shadow: 0px 6px 12px 0px rgba(0,0,0,0.30);
  -moz-box-shadow: 0px 6px 12px 0px rgba(0,0,0,0.30);
  box-shadow: 0px 6px 12px 0px rgba(0,0,0,0.30);  	 
 }
 

/*
 * II. Typography
 */

/**
 * II.A Font Sizes
 */
.is-page-title {
  font-size: 2.286rem;
}

.is-section-title {
  font-size: 1.571rem;
}

.is-subtitle {
  font-size: 1.286rem;
}

.is-subtitle > i {
  font-size: 1rem;
}

.is-text-small {
  font-size: 0.8rem;
}

.is-copyright {
  font-size: 0.571rem;
}

/**
 * II.B Font Weight
 */
.is-page-title {
  font-weight: 700;
}

.is-section-title,
.is-subtitle {
  font-weight: 600;
}

/**
 * II.C Alignments
 */
.is-text-centered {
    text-align: center;
}

.is-text-left {
    text-align: left;
}

.is-text-right {
    text-align: right;
}

/**
 * II.D Styles & Transform
 */
.is-uppercase {
  text-transform: uppercase !important;
}

.is-italic {
  font-style: italic;
}

.is-bold {
  font-weight: bold;
}


/**
 * ---------------
 * II. Component
 * ---------------
 */

/**
 * II.A Title
 */
.is-page-title,
.is-section-title,
.is-subtitle {
  word-break: break-word;
}

.is-page-title,
.is-section-title,
.is-subtitle {
  line-height: 1.125;
}

.is-subtitle {
  display: flex;
  align-items: center;
}