﻿/*------------------------------------------------------------------
[Table of contents]

1. Global
2. Menu and Slider
3. Main Content
4. Widgets - Panels
5. Error
-------------------------------------------------------------------*/

/*------------------------------------------------------------------
[1. Gobal ]
------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

body {
    overflow-x: hidden;
    background-color: #F5F6FA;
}

::placeholder {
    color: #b8c2cc !important;
    font-size: 0.9em;
}

.truncate {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hide {
    display: none;
}

.favorite a {
    color: gold;
}

.am-table thead th {
    vertical-align: middle;
}

.panel-actions {
    padding: 10px 0;
}

.panel-content p {
    padding-bottom: 10px;
}

.am-tag {
    font-size: 12px;
    text-transform: uppercase;
    padding: .3em 1em;
    background: #D9E8FD;
    color: #0056C9;
    border-radius: 10em;
    font-weight: bold;
}

    .am-tag a {
        padding-left: 5px;
    }

.panel-actions .action-item {
    display: inline-block;
    padding-right: 20px;
}

    .panel-actions .action-item:first-child {
        display: inline-block;
        padding-right: 20px;
        padding-left: 12px;
    }

    .panel-actions .action-item:last-child {
        padding-right: 0px;
    }

.am-main-header {
    z-index: 10;
    width: 100%;
    top: 0;
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dae1e7;
    position: fixed;
}

    .am-main-header .am-logo {
        width: 260px;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.am-page-title span {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #3d4852;
    text-transform: uppercase;
}

.am-search {
    position: relative;
}

.am-side-nav .am-search,
.am-side-nav .am-search:before {
    margin-bottom: 20px;
    margin-left: 0px;
}

.am-search:before {
    content: "";
    top: 50%;
    position: absolute;
    left: 16px;
    bottom: auto;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background: url("../images/am-search.svg") no-repeat 0 0;
}

.am-search input {
    text-indent: 40px;
}

.am-nav {
    margin-right: 20px;
}

.am-nav-trigger {
    position: relative;
    width: 34px;
    height: 34px;
    margin-left: auto;
    margin-right: 20px;
    overflow: hidden;
    display: none;
    white-space: nowrap;
    color: transparent;
}

    .am-nav-trigger:hover {
        color: transparent;
    }

    .am-nav-trigger span,
    .am-nav-trigger span::before,
    .am-nav-trigger span::after {
        position: absolute;
        display: inline-block;
        height: 3px;
        width: 24px;
        background: #0056c9;
    }

        .am-nav-trigger span::before,
        .am-nav-trigger span::after {
            content: "";
            right: 0;
            -webkit-transform: translateZ(0);
            -moz-transform: translateZ(0);
            -ms-transform: translateZ(0);
            -o-transform: translateZ(0);
            transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            -webkit-transform-origin: 0% 50%;
            -moz-transform-origin: 0% 50%;
            -ms-transform-origin: 0% 50%;
            -o-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
            -webkit-transition: -webkit-transform 0.2s;
            -moz-transition: -moz-transform 0.2s;
            transition: transform 0.2s;
        }

    .am-nav-trigger.nav-is-visible span::before {
        -webkit-transform: translateX(4px) translateY(-3px) rotate(45deg);
        -moz-transform: translateX(4px) translateY(-3px) rotate(45deg);
        -ms-transform: translateX(4px) translateY(-3px) rotate(45deg);
        -o-transform: translateX(4px) translateY(-3px) rotate(45deg);
        transform: translateX(4px) translateY(-3px) rotate(45deg);
    }

    .am-nav-trigger.nav-is-visible span::after {
        -webkit-transform: translateX(4px) translateY(2px) rotate(-45deg);
        -moz-transform: translateX(4px) translateY(2px) rotate(-45deg);
        -ms-transform: translateX(4px) translateY(2px) rotate(-45deg);
        -o-transform: translateX(4px) translateY(2px) rotate(-45deg);
        transform: translateX(4px) translateY(2px) rotate(-45deg);
    }

    .am-nav-trigger.nav-is-visible span {
        background: transparent;
    }

    .am-nav-trigger span::before {
        top: -6px;
    }

    .am-nav-trigger span::after {
        top: 6px;
    }

    .am-nav-trigger span {
        top: 50%;
        right: 5px;
        margin-top: -2px;
        -webkit-transition: background 0.2s;
        -moz-transition: background 0.2s;
        transition: background 0.2s;
    }

    .cursor-text{
        cursor: text;
    }

/*------------------------------------------------------------------
[2. Side Menu and Slider ]
------------------------------------------------------------------*/
.am-nav {
    margin-left: auto;
}

.am-side-nav {
    overflow-y: auto;
    top: 70px;
    position: fixed;
    width: 260px;
    padding: 40px 20px;
    height: calc(100% - 70px);
    border-right: 1px solid #dae1e7;
}

    .am-side-nav.nav-is-visible {
        opacity: 1;
        visibility: visible;
        overflow: visible;
        -webkit-overflow-scrolling: touch;
        -webkit-transition: opacity 0.2s 0s, visibility 0s 0s;
        -moz-transition: opacity 0.2s 0s, visibility 0s 0s;
        transition: opacity 0.2s 0s, visibility 0s 0s;
        max-height: none;
    }

    .am-side-nav .btn-wrapper {
        padding-bottom: 40px;
    }

        .am-side-nav .btn-wrapper i {
            padding-right: 10px;
        }

.am-main-content nav ul {
    padding: 0;
}

    .am-main-content nav ul li {
        list-style: none;
        padding: 15px 0;
        position: relative;
    }

.am-main-content nav .nav-item {
    border-top: 1px solid #eee;
}

.am-main-content nav ul li i {
    padding-right: 15px;
    font-size: 18px;
    color: #b8c2cc;
}

.am-main-content nav ul li a {
    color: #22292f;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

    .am-main-content nav ul li a:hover {
        color: #0056c9;
    }

.am-main-content nav ul li.active i {
    color: #d9e8fd;
}

.am-main-content nav ul li.active a {
    color: #0056c9;
}

.am-main-content nav ul li a:hover {
    text-decoration: none;
}

.am-main-content nav ul li.active:before {
    margin-left: -20px;
    left: 0;
    content: "";
    width: 5px;
    position: absolute;
    top: 0;
    height: 100%;
    background: #0056c9;
}

.btn-wrapper .btn {
    color: #d9e8fd;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

    .btn-wrapper .btn:hover {
        color: #fff;
    }

.nav-link {
    color: #22292f;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

/*------------------------------------------------------------------
[3. Main Content]
------------------------------------------------------------------*/
.am-icon-btn {
    color: #b8c2cc !important;
    width: 25px;
    display: flex;
    height: 25px;
    align-items: center;
    border-radius: 30px;
    justify-content: center;
}

    .am-icon-btn:hover {
        color: #fff !important;
        background-color: #b8c2cc;
        text-decoration: none;
    }

.am-main-content::before {
    /* never visible - used to check MQ in jQuery */
    display: none;
    content: "mobile";
}

.content-wrapper {
    margin-left: 260px;
    margin-top: 70px;
    padding: 40px 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

    .content-wrapper .nav-tabs .nav-link.active, .side-wrapper .nav-tabs .nav-link.active {
        border-bottom: 3px solid;
        border-color: #0056c9;
        color: #8795a1;
        background-color: transparent;
    }

    .content-wrapper .nav-tabs .nav-link, .side-wrapper .nav-tabs .nav-link {
        border: 0px;
        color: #b8c2cc;
        border-bottom: 1px solid transparent;
    }

        .content-wrapper .nav-tabs .nav-link:hover, .side-wrapper .nav-tabs .nav-link:hover {
            color: #0056c9;
        }

    .content-wrapper .card {
        background-color: transparent !important;
        border: 0px;
    }

    .content-wrapper .card-header span {
        text-transform: uppercase;
        font-weight: bold;
        color: #8795a1;
        cursor: pointer;
    }

    .content-wrapper .nav-tabs.mobile {
        display: none;
    }

@media (min-width: 768px) {
    .content-wrapper .nav-tabs.mobile {
        display: flex;
    }

    .content-wrapper .card {
        border: none;
    }

        .content-wrapper .card .card-header {
            display: none;
        }

        .content-wrapper .card .collapse {
            display: block;
        }
}

@media (max-width: 767px) {
    .content-wrapper .tab-pane.mobile {
        display: block !important;
        opacity: 1;
    }
}

/*------------------------------------------------------------------
[3. Widgets - Panels]
------------------------------------------------------------------*/

thead th {
    color: #8795a1 !important;
    text-transform: uppercase;
}

.am-panel {
    min-height: 143px;
}

    .am-panel.empty {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .am-panel .am-panel-link {
        font-family: 'Roboto', sans-serif;
        font-weight: bold;
        font-size: 12px;
        color: #b8c2cc;
        text-decoration: none;
    }

        .am-panel .am-panel-link:hover {
            text-decoration: none;
            color: #3d4852;
        }

/*reports*/

.table-actions-wrapper {
    display: flex;
    flex-wrap: wrap;
}

#am-table {
    min-width: 100%;
}

.table-actions-wrapper .right-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-bottom: 1.25rem;
}

.table-actions-wrapper .row-actions {
    display: flex;
    padding-bottom: 1.25rem;
    align-items: center;
    width: 100%;
}

.table-actions-wrapper .left-actions {
    display: flex;
    padding-bottom: 1.25rem;
    align-items: center;
}

.table-actions-wrapper div.row-actions:last-of-type {
    padding-bottom: 0;
}

.table-actions-wrapper .center-actions {
    display: flex;
    width: 100%;
}

.table-actions-wrapper .search-filter {
    margin-left: 20px;
}

#am-table_filter > label, #level-2-am-table_filter > label, #level-3-am-table_filter > label {
    display: none;
}

.table-action-btn {
    border: 1px solid #dae1e7 !important;
}

.r-action .action-item:first-child {
    max-height: 16px;
}

.panel-ad-form-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
}

.table-actions-wrapper .right-actions > div {
    margin-left: 10px;
}

    .table-actions-wrapper .right-actions > div:first-child {
        margin-left: 0px;
    }

.table-action-btn span {
    color: #8795a1;
    font-weight: 600;
}

.left-actions .table-action-btn {
    margin-right: 20px;
}

.am-icon-btn.dropdown-toggle:after {
    display: none !important;
}

.ad-data-wrapper {
    height: 100%;
    width: 400px;
    position: absolute;
    top: 65px;
    right: 0;
    box-shadow: -3px 0px 2px #eee;
}

.table-wrapper {
    position: relative;
}

/*Accounts*/
.side-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 860px;
    width: 100%;
    height: 100%;
    z-index: 20;
    transition: all 0.5s ease;
    overflow-y: scroll;
}

.campaign-title h5 {
    font-size: 16px;
}

.side-wrapper .container {
    padding-left: 30px;
    padding-right: 30px;
}

.accounts-table .account-name {
    display: block;
    color: #007bff;
}

.accounts-table .highlight {
    background-color: #fff;
}

.accounts-table.table td {
    vertical-align: middle;
}

.accounts-table.table tr td.col-info {
    cursor: pointer;
}

    .accounts-table.table tr td.col-info:hover {
        text-decoration: underline;
        text-decoration-color: #007bff
    }

.accounts-table.table-hover tbody tr:hover {
    background-color: #fff;
}

.accounts-table .account-address {
    color: #007bff;
}

.accounts-table .account-email {
    display: block;
    color: #22292f;
    font-size: 16px;
    font-weight: bold;
}

.account-info-box {
    position: relative;
}

.account-tags {
    display: inline-flex;
    position: absolute;
    margin-top: 3px;
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* .container-header:after {
  content: '';
  height: 70px;
  width: 1px;
  background: #dae1e7;
  position: absolute;
  left: 0;
  top: 0;
} */

.badge-am,
.badge-am:empty {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    bottom: 0;
    margin-left: 2px;
    padding: 0;
}

    .badge-am:first-of-type {
        margin-left: 10px;
    }

/*General*/
.table-col-disabled {
    font-style: italic;
    background: #f8fafc;
    color: #b8c2cc;
}

.table-col-disabled {
    color: #8795a1;
}

.stats-ad-wrapper span {
    display: block;
}

.stats-ad-wrapper .stats-title {
    color: #A0C0EA;
    font-size: 12px;
}

.stats-ad-wrapper .stats-value {
    color: #fff;
    font-size: 24px;
}

.editable-item input::placeholder {
    color: #000 !important;
}

.hover-file {
    display: none;
    background-color: rgba(0,0,0,.4);
}

.image-input:hover .hover-file {
    display: flex;
}

.am-groups .dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
}

.filter-group {
    display: flex;
}

    .filter-group > div {
        flex-basis: calc(100%/3);
    }

.filter-input-select {
    border: 0;
    border-radius: 0 !important;
}

.input-group-text {
    border: none !important;
    border-right: 1px solid #ced4da !important;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    text-transform: capitalize;
}

/*Widgets*/
.am-widget {
    position: relative;
}

    .am-widget .widget-actions {
        position: absolute;
        right: 0;
        top: 0;
    }

/*Modal*/
.modal .ad-info {
    padding-bottom: 20px;
}

    .modal .ad-info .info-label {
        font-weight: 700;
        color: #8795a1;
    }

/*switch*/

.switch {
    transform: scale(.8);
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    margin: 0px !important;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dae1e7;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

input:checked + .slider {
    background-color: #0056c9;
}

input:focus + .slider {
    box-shadow: 0 0 1px transparent;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.step-container ul {
    position: relative;
}

    .step-container ul::before {
        content: '';
        position: absolute;
        display: block;
        background: #DAE1E7;
        width: 100%;
        height: 2px;
        top: 15px;
    }

    .step-container ul .divider {
        position: absolute;
        display: block;
        background: #0056c9;
        width: 0%;
        height: 2px;
        top: 15px;
    }

.step-container .step {
    color: transparent;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 26px;
    display: block;
    text-decoration: none;
    background: #F5F6FA;
    border: 2px solid #DAE1E7;
}

    .step-container .step.active {
        background: #fff;
        box-shadow: 0px 3px 6px 0px #d4cfcf;
        border: 0px;
        width: 30px;
        height: 30px;
    }

    .step-container .step.prev {
        background: #0056c9;
        box-shadow: 0px 3px 6px 0px #d4cfcf;
        border: 0px;
        width: 30px;
        height: 30px;
    }

        .step-container .step.prev::after {
            display: block;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f00c";
            color: #fff;
            width: 16px;
            height: 16px;
            border-radius: 12px;
            position: absolute;
            top: 3px;
            left: 7px;
        }

    .step-container .step.active::after {
        display: block;
        content: '';
        background: #0056c9;
        width: 16px;
        height: 16px;
        border-radius: 12px;
        position: absolute;
        top: 7px;
        left: 7px;
    }


.am-error-page {
    background-image: url('../images/error_bg.png');
    background-size: cover;
}

@media (min-width: 576px) {
    .am-main-content::before {
        content: "tablet";
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) and (min-width: 576px) {
    /*	.am-search {
		display: none;
  }*/
    .content-wrapper {
        margin-left: 140px;
    }

    .am-side-nav {
        width: 140px;
    }

    .am-main-content nav ul li {
        text-align: center;
    }

    .am-side-nav ul li a span {
        display: block;
    }

    .am-main-content nav ul li i,
    .am-side-nav .btn-wrapper i {
        padding-right: 0px;
    }

    .am-side-nav .btn-wrapper i {
        display: none;
    }

    .am-search:before {
        display: none;
    }

    .am-search input {
        text-indent: 0px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .stats-ad-wrapper .stats-value {
        font-size: 16px;
    }

    .am-error-page {
        background-position-x: -265px;
        background-position-y: 65px;
    }

    .content-wrapper {
        margin-left: 0px;
        margin-top: 0px;
    }

    .am-main-header {
        position: relative;
    }

    .am-panel {
        margin-bottom: 2rem !important;
    }

    .am-side-nav {
        width: 100%;
        height: auto;
        position: absolute;
        display: block;
        padding: 20px;
        visibility: hidden;
        opacity: 0;
        max-height: 100vh;
        overflow: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
        -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
        transition: opacity 0.2s 0s, visibility 0s 0.2s;
    }

    .am-nav-trigger {
        display: block;
    }

    .am-side-nav .btn-wrapper {
        padding-bottom: 20px;
    }

    .table-actions-wrapper {
        /*overflow-x: auto;*/
        margin: 0px;
    }

        .table-actions-wrapper .right-actions {
            width: 100%;
        }

    .reports-table {
        margin: 20px 0;
    }
}

/*Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .am-main-header .am-logo {
        border-right: 1px solid #dae1e7;
    }
}

@media (max-width: 992px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .am-main-content::before {
        content: "desktop";
    }
}


.error {
    border: 1px solid red;
}
