.category-container {
    min-width: 100px;
    max-width: 150px;
    margin: 30px;
    position: relative;
    /*cursor: pointer;*/
}


.category > img {
    width: 100%;
}

.category-container .sub-cats-container {
    position: absolute;
    top: -30%;
    left: 70%;
    z-index: 1;
    opacity: 0;
    transition: all .1s;
    visibility: hidden;
}

.category-container .sub-cats {
    background: white;
    border: solid 1px black;
    border-radius: 5px;
    margin: 10px 10px 25px 60px;
    padding: 5px;
    text-align: left;
}

.category-container .sub-cat {
    display: flex;
    align-items: center;
    transition: all .3s;

}

.category-container .sub-cat:hover {
    background: rgba(191, 231, 153, 0.5);
}

.category-container .sub-cat-link {
    font-size: 16px;
}

.category-container:hover .sub-cats-container {
    opacity: 1;
    visibility: visible;
    transition: all .4s;
}

.category-container .edit-button {
    position: absolute;
    top: -5%;
    left: -5px;
    z-index: 1;
    opacity: 0;
    transition: all .1s;
    visibility: hidden;
    transform: scale(-1, 1);
    padding: 0 7px;
    font-size: 18px;
}


.category-container:hover .edit-button {
    opacity: .9;
    visibility: visible;
    transition: all .4s;
}

.category-container .sm-edit-button {
    transform: scale(-1, 1);
    padding: 0 3px;
    font-size: 20px;
    margin-right: 5px;
}


/*user header component*/
.user {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    overflow: hidden;
    border: solid 1px #878787;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user > .buttons-container > .buttons {
    border: solid 1px black;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    margin-top: 50px;
}

.user > .buttons-container {
    position: absolute;
    visibility: hidden;
    top: 50px;
}

.user > .buttons-container .btn {
    font-size: 12px;
    padding: 5px;
    margin-left: 5px;
}

.user:hover > .buttons-container {
    visibility: visible;
}

/*user header component END*/

.category-edit-menu {
    width: 100%;
}

.category-edit-delete {
    width: 100%;
    margin-top: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body, html {
    height: 100%;
}

a {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    transition: all .4s;
}

a:focus {
    outline: none !important
}

a:hover {
    text-decoration: none;
    color: #403866
}

p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0
}

ul, li {
    margin: 0;
    list-style-type: none
}

input {
    outline: none;
    border: none
}

textarea {
    outline: none;
    border: none
}

textarea:focus, input:focus {
    border-color: transparent !important
}


label {
    display: block;
    margin: 0
}

button {
    outline: none !important;
    border: none;
    background: 0 0
}

button:hover {
    cursor: pointer
}

iframe {
    border: none !important
}

.txt1 {
    font-size: 16px;
    color: #827ffe;
    line-height: 1.4
}

.limiter {
    width: 100%;
    margin: 0 auto
}

.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.wrap-login100 {
    width: 390px;
    background: #fff;
    border-radius: 10px;
    position: relative
}

.login100-form {
    width: 100%
}

.login100-form-title {
    font-size: 30px;
    color: #403866;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: block
}

.wrap-input100 {
    width: 100%;
    position: relative;
    background-color: #e6e6e6;
    border: 1px solid transparent;
    border-radius: 3px
}

.input100 {
    color: #403866;
    line-height: 1.2;
    font-size: 18px;
    display: block;
    width: 100%;
    background: 0 0;
    height: 62px;
    padding: 0 20px 0 38px
}

.focus-input100 {
    position: absolute;
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: -1px;
    left: -1px;
    pointer-events: none;
    border: 1px solid #827ffe;
    border-radius: 3px;
    visibility: hidden;
    opacity: 0;
    transition: all .4s;
    transform: scaleX(1.1) scaleY(1.3)
}

.input100:focus + .focus-input100 {
    visibility: visible;
    opacity: 1;
    transform: scale(1)
}

.eff-focus-selection {
    visibility: visible;
    opacity: 1;
    transform: scale(1)
}

.input-checkbox100 {
    display: none
}

.label-checkbox100 {
    font-size: 16px;
    color: #999;
    line-height: 1.2;
    display: block;
    position: relative;
    padding-left: 26px;
    cursor: pointer
}

.label-checkbox100::before {
    content: "\2714";
    font-size: 18px;
    color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: #fff;
    border: 2px solid #827ffe;
    left: 0;
    top: 50%;
    transform: translateY(-50%)
}

.input-checkbox100:checked + .label-checkbox100::before {
    color: #827ffe
}

.container-login100-form-btn {
    width: 100%;
    display: flex;
    flex-wrap: wrap
}

.login100-form-btn {
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 62px;
    background-color: #827ffe;
    border-radius: 3px;
    transition: all .4s
}

.login100-form-btn:hover {
    background-color: #403866
}

.validate-input {
    position: relative
}

main, .container {
    margin: 0 auto;
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
}


.accordion-button-custom {
    flex-wrap: wrap;
}
.accordion-button.accordion-button-custom::after {
    display: none;
}
.price-container > .start-price {
    position: relative;
    margin-right: 0;
    color: red;
}
.accordion-button-custom > .on-sale {
    position: relative;
    margin-right: 20px;
    margin-left: auto;
}

.price-container > .start-price:before {
    content: "";
    border-bottom: 1px solid black;
    position: absolute;
    width: 125%;
    top: 0;
    height: 52%;
    transform: rotate(-9deg);
    left: -15%;
}

.created-date {
    margin-left: 5px;
}

h1 {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

.img-container {
    width: 40%;
    display: inline-block;
}

.img-container img {
    width: 100%
}

.big-text {
    font-size: 48px;

}

.more-info {
    width: 70%;
    text-decoration: none;
    font-size: 1.6em;
    line-height: 1.2;
    padding-left: 3px;
}

header {
    background: rgba(212, 255, 170, 0.4);
    position: sticky;
    top: 0;
    z-index: 10;

}

header .container {
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header .container > a, header .container > form {
    margin-left: 10px;
}


header .add-new {

}

.accordion-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.accordion-body > .header {
    width: 95%;
    margin: 20px auto 25px;
    text-align: center;
}

.comment-container {
    margin-top: 20px;
}


.accordion-body > .description {
    width: 50%;
    overflow: hidden;
    align-self: center;
    max-height: 300px;
}


.accordion-body > .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.accordion-body > .footer > a {
    margin-right: auto;
}

.accordion-body > a {
    margin-top: 20px;
}

.accordion-body > .footer > button {
    margin-right: 10px;
}

.accordion-body .footer .delete {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.errors {
    width: 100%;
}

.control-buttons > .btn-outline-primary {
    margin-right: 6px;
}

.footer > .control-buttons {
    width: 50%;
}

.footer > .price-container {
    width: 50%;
    font-size: 38px;
}

.footer > .source-container {
    width: 100%;
    margin-top: 10px;
}
.available-on-olx {
    display: flex;
    align-items: center;

}
/* mobile */
@media (max-width: 768px) {

    .accordion-button-custom {
        padding: 5px 10px 10px;
    }
    .accordion-button-custom > .start-price {
        font-size: 18px;
        margin-bottom: 0;
    }
    .accordion-button-custom > .on-sale, .created-date {
        font-size: 12px;
    }
    .more-info {
        line-height: 1;
        text-align: center;
    }

    .control-buttons > .btn {
        width: 50%;
    }

    .control-buttons > .btn-outline-primary {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: 0;
    }

    .control-buttons > .btn-outline-danger {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .footer > .control-buttons {
        width: 100%;
    }

    .footer > .price-container {
        width: 100%;
        font-size: 38px;
    }

    .footer > .source-container {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;
    }
}
main form.new_product {
    width: 800px;
    margin: 0 auto;
}

form.new_product label {
    width: 100%;
    /*margin-bottom: 10px;*/
}
form.new_product input {
    margin-top: 15px;
    margin-bottom: 20px;
}
h1 {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

header > .container.new {
    justify-content: flex-start;
}
/*========= Header   ============*/

header {
    background: rgba(212, 255, 170, 0.4);
    position: sticky;
    top: 0;
    z-index: 10;

}

header .container {
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/*========= End header   ============*/


main {
    margin: 0 auto;
    width: 80%;
    max-width: 1200px;
}


.created-date > button {
    margin-right: 10px;
}

.accordion-button.accordion-button-custom::after {
    display: none;
}

h1 {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.img-container {
    width: 40%;
    margin: 0 30px 10px 0;
    position: relative;
}

.img-container img {
    width: 100%;
    border-radius: 15px;
}

.img-container > .sold-out {
    position: absolute;
    top: -15px;
    left: 28%;
    color: wheat;
    background: red;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 41px;
}

main > .container::after {
    content: " ";
    clear: both;
    display: block;
}

.big-text {
    font-size: 48px;
    margin-left: -80px;
}

a {
    text-decoration: none;
    color: #505050;
}

@media (max-width: 768px) {
    main {
        width: 95%;
    }

    .img-container > .sold-out {
        position: absolute;
        top: -5px;
        left: 23%;
        color: wheat;
        background: red;
        padding: 0 10px;
        border-radius: 3px;
        font-size: 11px;
    }

}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
