/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 .newsx-flex {
    display: flex;
 }

 .postbox.acf-postbox .postbox-header {
    background: #f0f0f0 !important;
 }

 .acf-fields > .acf-field {
    padding: 16px 24px !important;
 }

 .newsx-starter-templates-header {
   text-align: center;
   margin-top: -30px;
   margin-bottom: 40px;
 }

 .newsx-starter-templates-header h1 {
   margin-top: 0;
 }

 .newsx-starter-templates-header p {
   color: #777;
 }

 .newsx-starter-templates-header .newsx-video-tutorial-link {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 5px;
   padding: 3px 12px;
   margin-top: 5px;
 }

 .newsx-starter-templates-header .newsx-video-tutorial-link .dashicons {
   font-size: 14px;
   width: 14px;
   height: 14px;
 }

 .newsx-starter-templates {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
}

.newsx-starter-templates .newsx-template {
   position: relative;
   box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
   border-radius: 3px;
}

.newsx-starter-templates .newsx-template:hover {
   box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}

.newsx-starter-templates .newsx-template-image {
   position: relative;
   overflow: hidden;
   max-height: 400px;
}

.newsx-starter-templates .newsx-template-link {
   position: absolute;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0);
}

.newsx-starter-templates .newsx-template:hover .newsx-template-link {
   background-color: rgba(255, 255, 255, 0.5);
}

.newsx-starter-templates .newsx-free-badge,
.newsx-starter-templates .newsx-pro-badge {
   font-size: 10px;
   text-transform: uppercase;
   line-height: 1;
   color: #fff;
   padding: 1px 5px 2px;
   margin-left: 5px;
   border-radius: 3px;
}

.newsx-starter-templates .newsx-free-badge {
   background-color: #43b122;
}

.newsx-starter-templates .newsx-pro-badge {
   background-color: #f2514c;
}

.newsx-starter-templates .newsx-template-footer {
   align-items: center;
   padding: 15px;
   border-top: 1px solid #e8e8e8;
}

.newsx-starter-templates .newsx-template-footer h3 {
   font-size: 15px;
   margin: 0;
   margin-right: auto;
}

.newsx-preview-button {
   display: inline-flex;
   align-items: center;
}

.newsx-preview-button .dashicons {
   font-size: 13px;
   width: 13px;
   height: 13px;
}

.button.newsx-import-button,
.button.newsx-upgrade-button {
   padding: 10px 13px 11px;
   min-height: 0;
   line-height: 1;
   font-size: 12px;
   margin-left: 10px;
}

/* .newsx-starter-templates .newsx-template .newsx-upgrade-button {
   background-color: #f2514c;
   border-color: #f2514c;
}

.newsx-starter-templates .newsx-template .newsx-upgrade-button:hover {
   background-color: #f0413b;
   border-color: #f0413b;
} */

/* coming Soon */
.newsx-template-coming-soon {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #388fd5;
   padding: 50px;
}

.newsx-template-coming-soon h3 {
   font-size: 20px;
   color: #ffffff;
   margin-bottom: 10px;
   margin-top: 0;
}

.newsx-template-coming-soon p {
   color: #f9f9f9;
   margin: 0;
}

/* Import Popup */
.newsx-import-popup-wrap {
   display: none;
   align-items: center;
   justify-content: center;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 999999;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
}

.newsx-import-popup {
   width: 550px;
   background-color: #F5F5F5;
   border-radius: 3px;
   overflow: hidden;
}

.newsx-import-popup header {
   align-items: center;
   justify-content: space-between;
   padding: 5px 25px;
   background-color: #fff;
   box-shadow: 2px 0 5px 0 rgba(0, 0, 0, 0.2);
}

.newsx-import-popup header .close-btn {
   cursor: pointer;
}

.newsx-import-popup-wrap:not(.first) header .close-btn {
   display: none;
}

.newsx-import-popup .content {
   padding: 25px;
}

.newsx-import-popup footer {
   justify-content: flex-end;
   padding: 12px;
   background-color: #fff;
}

.newsx-import-popup footer button {
   display: flex !important;
   gap: 5px;
   align-items: center;
}

.newsx-import-popup footer button .dashicons {
   font-size: 13px;
   width: 13px;
   height: 13px;
}

.newsx-import-popup .content ul li {
   display: flex;
   align-items: center;
   gap: 10px;
}

.newsx-import-popup .content ul li input {
   margin: 0;
}

.newsx-import-popup .content ul li label {
   font-weight: bold;
   cursor: pointer;
   user-select: none;
}

.newsx-import-popup .content ul li label span {
   font-weight: normal;
   color: #777;
}

.newsx-import-popup .content p:first-child {
   margin-top: 0;
}

.newsx-import-popup .progress-wrap {
   background: #fff;
   border-radius: 3px;
   margin-top: 25px;
   }

.newsx-import-popup .progress-wrap strong {
   padding: 10px;
   display: block;
}

.newsx-import-popup .progress-bar {
   position: relative;
   width: 30px;
   height: 4px;
   background: #2271B1;
   border-radius: 2px;
}

.dot-flashing {
   display: inline-block;
   margin-left: 10px;
   margin-bottom: -1px;
   position: relative;
   width: 3px;
   height: 3px;
   border-radius: 10px;
   background-color: #3c434a;
   color: #3c434a;
   -webkit-animation: dotFlashing 1s infinite linear alternate;
           animation: dotFlashing 1s infinite linear alternate;
   -webkit-animation-delay: .5s;
           animation-delay: .5s;
}

.dot-flashing::before, .dot-flashing::after {
   content: '';
   display: inline-block;
   position: absolute;
   top: 0;
}

.dot-flashing::before {
   left: -6px;
   width: 3px;
   height: 3px;
   border-radius: 10px;
   background-color: #3c434a;
   color: #3c434a;
   -webkit-animation: dotFlashing 1s infinite alternate;
           animation: dotFlashing 1s infinite alternate;
   -webkit-animation-delay: 0s;
           animation-delay: 0s;
}

.dot-flashing::after {
   left: 6px;
   width: 3px;
   height: 3px;
   border-radius: 10px;
   background-color: #3c434a;
   color: #3c434a;
   -webkit-animation: dotFlashing 1s infinite alternate;
           animation: dotFlashing 1s infinite alternate;
   -webkit-animation-delay: 1s;
           animation-delay: 1s;
}

@-webkit-keyframes dotFlashing {
   0% {
       background-color: #3c434a;
   }
   50%,
   100% {
       background-color: #ebe6ff;
   }
}

@keyframes dotFlashing {
   0% {
       background-color: #3c434a;
   }
   50%,
   100% {
       background-color: #ebe6ff;
   }
}