/*@import url(https://fonts.googleapis.com/css?family=Nunito);*/
:root {
    --main-color: #e5e5e5;
    --main-bg-color: #fff;
    /*--text-color: #000;*/
    --text-color: #000;
    /*--link-color: #7352a1;*/
    --link-color: #000;
    --link-hover-color-secondary: #7352a1;
    --link-hover-color: #b00;
}
*{
    margin:0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
    /*font-family: Raleway, sans-serif;*/
    color: var(--text-color);
}
body, html:not(.index){
    background: var(--main-bg-color);
}
body.index{
    background: var(--link-color);
    background-image: url(/storage/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow:hidden;
}
body.index a{
    background: var(--link-hover-color-secondary);
}
body.index a:hover{
    background: var(--main-bg-color);
}
body.index .index-button{
   border:1px solid var(--link-hover-color-secondary);
    margin: 0 10px
}
body.index .index-buttons-title{
    text-align: center;
    width: 100%;
    padding: 10px 0;
    margin: 20px 0;
    color: var(--link-hover-color-secondary);
    /*background: white;*/
}
a{
    color: var(--link-color);
    text-decoration: none;
}
a.link{
    color: var(--link-hover-color);
}
a:hover{
    text-decoration: underline;
}
li{
    list-style-type: none;
}
h2.title{
    text-align: center;
    margin: 10px 0;
    text-transform: uppercase;
}

header{
    display: flex;
    width: 100%;
    justify-content: center;
    line-height: 3.4em;
    font-size: 1.8em;
}
input{
    background: transparent;
    color: var(--link-color);
}
button, input[type="submit"]{
    border: none;
    background: var(--link-hover-color);
    color: white;
    text-transform: uppercase;
    padding: 10px 30px;
}

.index-background{
    width: 100%;
    height: 100vh;
}
.index-buttons{
    margin: 8% auto;
    width:280px;
    /*text-transform: uppercase;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.index-buttons>img{
    max-width:100vw;
}
.index-button {
    width:100px;
    border: 1px solid var(--link-hover-color);
    color:var(--link-hover-color);
    text-transform: uppercase;
    text-align: center;
    box-sizing: border-box;
}
.index-button a{
    padding: 10px;
    position: relative;
    display: block;
    text-align: center;
}

main.not-logged{
    width: 100% !important;
    max-width: 100% !important;
}
.not-logged .card-header,.not-logged .card-body{
    text-align: center;
    padding: 10px;
}
.not-logged .form-group{
    padding:10px;
}

.not-logged .form-group input[type="email"],.not-logged .form-group input[type="password"],.not-logged .form-group input[type="text"] {
    line-height: 30px;
    height:30px;
    width:200px;
    font-size: 1.4em;
}

.not-logged .auth{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#app>.main-container{
    padding: 0 10%;
    display: flex;
    flex-wrap: wrap;
}
.main-container .navbar{
    min-width: 190px;
    width: 8%;
}
.main-container main.main{
    width:92%;
    max-width: calc( 100% - 190px);
}
.fixed-message{
    position: fixed;
    width: 200px;
    height: 30px;
    top: 10px;
    right: 10px;
    padding: 20px;
    line-height: 30px;
    background: white;
    border: 1px solid var(--link-hover-color);
    color: var(--link-hover-color);
    text-align: center;
    opacity: 0.9;
}

/*HEADER*/
header .user{
    position: absolute;
    right:0;
    top:0;
    text-align: right;
}


/*NAVBAR*/
.navbar{
    display: flex;
    flex-direction: column;
}
.navbar li a{
    display: block;
    height:30px;
    padding: 10px 0 10px 10px;
    color: var(--link-color);
    line-height: 30px;
    font-weight: 600;
    font-size: 1.2rem;
}
.navbar a.active,.navbar a:active, .navbar a:hover{
    color:white;
    background: var(--link-hover-color);
    text-decoration: none;
}


/*MAIN*/
main.main{
    display: flex;
    min-height: 78vh;
}
.main-wrapper{
    min-height: 162px;
    width: 100%;
    background-color: var(--main-color);
    padding: 30px 90px;
}


/*DASHBOARD*/
.dashboard-left{
    width: 50%;
    display: flex;
    flex-direction: column;
}
.dashboard-right{
    width:50%;
    display: flex;
    flex-direction: column;
}
.dashboard-left-element{
    height:50%;
    flex-wrap: wrap;
    display: flex;
}
.dashboard-left-element-element{
    display: flex;
    flex-wrap: wrap;
    width:50%;
}
.dashboard-left-element-element-element{
    width: 50%;
    height: 50%;
}
.dashboard-right-1{
    height:30%;
}
.dashboard-right-2{
    height:70%;
}

/*DASHBOARD CARD*/
.dashboard-card{
    position: relative;
    z-index: 2;
}
.dashboard-card:before{
    position: absolute;
    left:2px;
    right:2px;
    top:2px;
    bottom:2px;
    /*background:white;*/
    background:var(--main-color);
    content: "";
    /*z-index:-1;*/
    z-index:0;
}
.dashboard-card .info{
    position: absolute;
    width: 100%;
    height: auto;
    left:0;
    top:50%;
    text-align:center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);

}
.dashboard-card .title{
    font-size:1.4em;
    line-height: 1.4em;
    margin:0 auto;
}

.dashboard-card .big-price{
    font-size:2.4em;
    line-height: 1em;
    font-weight: bold;
    margin:12px auto;
    letter-spacing: -2px;
}
.dashboard-card .price{
    font-size:1.5em;
    line-height: 1em;
    font-weight: bold;
    margin:12px auto;
    letter-spacing: -2px;
}
.dashboard-card .label{
    font-size:1em;
    line-height: 1em;
    margin:5px auto;
}
.dashboard-payment{
    display: flex;
    flex-wrap: wrap;

}
.dashboard-payment-label{
    width:92px;
    height:28px;
    margin:5px;
}
.dashboard-payment label {
    object-fit: cover;
    width:100%;
    height:100%;
    display: flex;
    border:1px solid var(--link-hover-color);
    background: var(--main-bg-color);
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
}
.dashboard-payment label img{

    max-height:50%;
    max-width:50px;
}
.dashboard-payment-label input{
    display: none;
}
.dashboard-payment input[type="radio"]:checked + label{
    filter: none;
}
.dashboard-card .dashboard-form{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width:400px;
    margin:5px auto;
    max-width: 100%;
}
.dashboard-form .dashboard-sum{
    width: 280px;
    overflow: hidden;
    max-width: 100%;
}
.dashboard-form #payment-sum{
    border: 1px solid black;
    color:black;
    width:100%;
    height: 34px;
    padding:0 0 0 10px;
    box-sizing: border-box;
}

.dashboard-form .dashboard-info{
    width: 280px;
    overflow: hidden;
    max-width: 100%;
    margin-top: 10px;
}
.dashboard-form #payment-info{
    border: 1px solid black;
    color:black;
    width:100%;
    height: 34px;
    padding:0 0 0 10px;
    box-sizing: border-box;
}

.dashboard-card .dashboard-payment{
    max-width: 100%;
    width: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-card .dashboard-payment p{
    width: 100%;
    font-size: 0.7em;
    margin: 10px 0 0 0;
}
.dashboard-form-submit{
    margin: 10px 0 0 0;
    flex:0 1 100%;
}
.dashboard-form-submit input[type="submit"]{
    display: inline-block;
    max-width: 100%;
    font-size: 0.9em;
}

/*LINKS*/

.links-landing{
    margin: 20px 0;
}
.links-landing-element{
    margin:5px 0;
    font-size: 1.4em;
    line-height: 1.4em;
}
.links-landing-element input,.links-landing-element select{
    line-height: 1.4em;
    font-size: 1.4em;
}
.links-landing-element optgroup{
    font-size: 0.8em;
}
.links-landing-element option{
    font-size: 0.7em;
}
.links-landing-element input[type="text"],.links-landing-element select{
    width:400px;
    background-color: white;
}
.links-landing-element button{
    height: 47px;
    position: absolute;
    margin-left: -47px;
    padding: 0;
    width: 70px;
}
.links-list-header{
    border-top: 1px solid var(--link-hover-color);
    border-bottom: 1px solid var(--link-hover-color);
}
.links-list-element,.links-list-header{
    display: flex;
    overflow: hidden;
    line-height: 40px;
}

.links-list-header>span{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2em;
}
.links-list-header>span:nth-of-type(1),.links-list-element>span:nth-of-type(1){
    /*display: block;*/
    width:50%;
    overflow: hidden;
}

.links-list-header>span:nth-of-type(2),.links-list-element>span:nth-of-type(2){
    /*display: block;*/
    width:30%;
    overflow: hidden;

}
.links-list-element{
    padding: 5px 0;
    border-bottom: 1px solid var(--link-hover-color);
}


/*STATS*/

.stats-form{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.stats-range{
    display: flex;
}
.stats-range-element{
    margin:0 5px;
}
.stats-range-element input{
    display: none;
}
.stats-range-element label{
    padding: 5px;
    border:1px solid black;
    display: inline-block;
}
.stats-range-element input:checked + label{
    border:1px solid red;
}
.stats-range-date{
    display: flex;
}
.stats-range-date-element input {
    padding: 5px;
    margin: 0 5px;
    border: 1px solid black;
    background: var(--main-color);
}
.stats-submit button{
    padding: 8px 30px;
}
.stats-wrapper{
    padding: 10px;
    overflow-y: auto;
}
.stats-wrapper .stats-header,.stats-wrapper .stats-element{
    display: inline-flex;
    width: 100%;
    border-bottom: 1px solid var(--link-color);
    text-align: center;
}
.stats-wrapper span {
    padding:10px;
}
.stats-header span:nth-of-type(1), .stats-element span:nth-of-type(1){
    width:28%;
    min-width: 300px;
    text-align: left;
}
.stats-header span:nth-of-type(2), .stats-element span:nth-of-type(2){
    width: 7%;
    min-width:50px;
}
.stats-header span:nth-of-type(3), .stats-element span:nth-of-type(3){
    width: 10%;
    min-width:100px;
}
.stats-header span:nth-of-type(4), .stats-element span:nth-of-type(4){
    width:5%;
    min-width:50px;
}
.stats-header span:nth-of-type(5), .stats-element span:nth-of-type(5){
    width: 10%;
    min-width:100px;
}
.stats-header span:nth-of-type(6), .stats-element span:nth-of-type(6){
    width: 10%;
    min-width:100px;
}
.stats-header span:nth-of-type(7), .stats-element span:nth-of-type(7){
    width: 10%;
    min-width:100px;
}

/*PROMOS*/
.promos-tabs{
    display: flex;
    justify-content: space-between;
    margin:20px 0;
}
.promo-tab button{
    background: transparent;
    color: var(--link-color);
    cursor: pointer;
    font-weight: 800;
}
.promo-tab.active button,.promo-tab button:hover,.promo-tab button:focus{
    background: var(--link-hover-color);
    color: white;
}
.promos-tab-container{
    display: none;
}
.promos-tab-container.active{
    display: flex;
    flex-wrap: wrap;
}
.promo-element{
    width: 20%;
    min-width: 50px;
    padding: 10px;
    height: 200px;
    box-sizing: border-box;
    border: 2px solid white;
    background: var(--main-bg-color);
}
.promo-element-text{
    width: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid white;
    padding: 10px 5px;
}
.promo-element>a{
    display: flex;
    width:100%;
    height:100%;
    flex-wrap: wrap;
    justify-content: center;
    color: black;
}
.promo-element img{
    width:100%;
    height: 130px;
    object-fit: cover;
}

/*PAYMENTS*/
.payments-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.payments-header{
    display: inline-flex;
    width: 700px;
    max-width: 100%;
    margin: 20px 0;
    border-bottom: 1px solid var(--link-hover-color);
    border-top: 1px solid var(--link-hover-color);
    color: var(--link-hover-color);
}
.payments-header span{
    padding: 10px;
    text-transform: uppercase;
}
.payments-header span:nth-of-type(1),.payments-element span:nth-of-type(1){
    width:40px;
}

.payments-header span:nth-of-type(2),.payments-element span:nth-of-type(2){
    width:150px;
}

.payments-header span:nth-of-type(3),.payments-element span:nth-of-type(3){
    width:200px;
}

.payments-header span:nth-of-type(4),.payments-element span:nth-of-type(4){
    width:100px;
}

.payments-header span:nth-of-type(5),.payments-element span:nth-of-type(5){
    width:100px;
}
.payments-wrapper{
    width: 700px;
    max-width: 100%;
}
.payments-element{
    width:100%;
}
.payments-element span{
    padding: 10px;
}
.payments-element{
    display: inline-flex;
    width: 100%;
    margin: 10px 0;
}

/*POSTBACKS*/
.postbacks-form-element{
    line-height: 30px;
    margin: 20px 0;
}
.postbacks-form-element label{
    width: 200px;
    display: inline-block;
    font-size: 1.3em;
}
.postbacks-form-element input[type="text"]{
    width: calc(100% - 210px);
    line-height: 30px;
    height: 30px;
    font-size: 0.9em;
    background-color: white;
}
.postbacks-form-element button{
    padding: 10px 30px;
}


/*PROFILE*/
.profile-element{
    line-height: 30px;
    min-height: 30px;
    margin: 20px 0;
}

.profile-element label{
    width: 200px;
    display: inline-block;
    font-size: 1.3em;
    vertical-align: top;
}
.profile-element input:not([type="submit"]){
    line-height: 30px;
    height: 30px;
    width: calc(100% - 210px);
    max-width: 100%;
    text-indent: 10px;
    background-color: white;
}
.profile-element textarea{
    width: calc(100% - 210px);
    height: 100px;
    max-width: 100%;
    background: transparent;
    resize: vertical;
    background-color: white;
}

/*FAQ*/
.faq-wrapper{
    display: flex;
    flex-wrap: wrap;

}
.faq-element{
    width: 100%;
    margin: 0 0 20px;
    word-break: break-word;
}
.faq-element .question{
    font-size:1.4em;
    /*font-weight: bold;*/
}
.faq-element .answer{
    font-size: 1.2em;
}
.faq-element .answer p,.faq-element .answer img, .faq-element .answer ul{
    margin: 0 0 15px;
}

.faq-element .answer ul li {
    margin-bottom: 8px;
}

.faq-tabs{
    display: flex;
    margin:20px 0;
}
.faq-tab{
    margin:0 20px
}
.faq-tab button{
    background: transparent;
    color: var(--link-color);
    cursor: pointer;
    font-weight: 800;
}
.faq-tab.active button,.faq-tab button:hover,.faq-tab button:focus{
    background: var(--link-hover-color);
    color: white;
}
.faq-tab-container{
    display: none;
}
.faq-tab-container.active{
    display: flex;
    flex-wrap: wrap;
}


.main img {
    max-width: 100%;
    height: auto !important;
}


/*FOOTER*/
footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
footer span,footer a{
    padding: 10px;
}
.footer-social{
    padding: 5px;
}


@media (min-width: 992px) {
    .menu__trigger {
        display: none;
    }
}


@media (max-width: 991px) {


    .menu__trigger {
        position: absolute;
        left: 2px;
        top: 20px;
        width: 20px;
        height: 14px;
        cursor: pointer;
    }

    .menu__trigger svg {
        display: block;
    }


    header {
        position: relative;
        line-height: 1.4em;
        font-size: 1em;
        padding: 15px 40px;
    }

    .main-container {
        padding: 0 20px !important;
    }

    .navbar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100%;
        background-color: white;
        z-index: 100;
        overflow-y: auto;
        padding-top: 20px;
    }
    .navbar.open {
        display: block;
    }

    .navbar li {
        text-align: center;
    }
    .navbar li a {
        padding: 10px 20px;
    }

    /*.navbar li a, .navbar li a span {*/
    /*    color: var(--main-color);*/
    /*}*/




    .main-container main.main {
        height: auto;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
    }


    .dashboard-left, .dashboard-right {
        width: 100%;
        margin-bottom: 3px;
    }
    .dashboard-left-element {
        height: auto;
    }

    .dashboard-left-element-element {
        width: 100%;
    }

    .dashboard-card .info {
        position: relative;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        top: 0;
        overflow: hidden;
        padding: 20px;
        width: calc(100% - 40px);
    }

    .dashboard-right-1, .dashboard-right-2 {
        height: auto;
    }



    .main-wrapper {
        padding: 20px !important;
    }

    .links-landing-element input[type="text"], .links-landing-element select {
        width: 100% !important;
    }

    .links-landing-element button {
        position: relative;
        height: auto;
        margin: 20px 0 0;
        padding: 10px 30px;
        width: auto;
    }

    .links-list-header > span {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 0.75em;
        line-height: 1em;
        padding: 5px 0;
    }


    .stats-range-element {
        margin: 3px;
    }

    .stats-range, .stats-range-date {
        margin-bottom: 5px;
    }

    .stats-range-element label {
        font-size: 12px;
        padding: 3px;
    }

    .main-wrapper.stats, .main-wrapper.payments {
        overflow-y: hidden;
    }


    .stats-wrapper {
        padding: 0;
    }

    .stats-wrapper .stats-header, .stats-wrapper .stats-element {
        width: auto;
    }

    .stats-wrapper span {
        font-size: 12px;
    }



    .promos-tabs {
        flex-wrap: wrap;
    }

    .promo-tab {
        width: calc(50% - 4px);
        background-color: #bbb;
        margin: 0 2px 4px;
    }

    .promo-tab button {
        padding: 10px;
        width: 100%;
        font-size: 12px;
        text-transform: unset;
    }

    .promo-element {
        width: 33.3333%;
    }


    .postbacks-form-element{
        line-height: 30px;
        margin: 0 0 10px;
    }

    .postbacks-form-element label{
        width: auto;
        display: block;
    }
    .postbacks-form-element input[type="text"]{
        width: 100%;
    }


    .profile-element label{
        width: auto;
        display: block;
    }
    .profile-element input:not([type="submit"]){
        width: 100%;
    }
    .profile-element textarea{
        width: 100%;
    }


    .faq-tabs {
        flex-wrap: wrap;
    }

    .faq-tab {
        width: calc(50% - 4px);
        background-color: #bbb;
        margin: 0 2px 4px;
    }
    .faq-tab button {
        width: 100%;
    }

    .faq-element .question{
        font-size:1em;
        /*font-weight: bold;*/
    }
    .faq-element .answer{
        font-size: 0.75em;
    }


    .payments-container {
        overflow-y: auto;
    }

    .payments-header span {
        font-size: 12px;
    }


}


@media (max-width: 767px) {
    .promo-element {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .promo-element {
        width: 100%;
    }
}



