/*-------------------Globals-------------------*/

body {
    background-color: whitesmoke;
}

.main {
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

.buttonBar {
    width: 100%;
    margin-top: 20px;
}

.buttonBar-button {
    width: 100%;
    background-color: indigo;
    color: white;
}

.buttonBar-button:hover {
    cursor: pointer;
    background-color: rgb(112, 0, 192);
}

.deleteBtn {
    background-color: red !important;
    color: white;
}


/*-------------------Contact page-------------------*/

#page {
    height: calc(100% - 60px);
    width: 100%;
    position: absolute;
    top: 60px;
}

.mainContainer {
    margin: 0 auto;
    min-height: 100%;
    overflow: auto;
    position: relative;
    padding-bottom: 20px;
}

.formcolumn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.centerHeader {
    margin-top: 20px;
    text-align: center;
    padding: 10px;
}

.underline {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 50px;
}

.underline-cat {
    height: 60px;
    flex-grow: 1;
    text-align: center;
    padding-top: 4px;
    font-size: 1.5em;
}

.underline #btn {
    color: white !important;
    background-color: rgb(24, 12, 36);
}

#btn:hover {
    background: rgb(61, 31, 90) !important;
    cursor: pointer;
}


/*-------------------Frontpage-------------------*/

.frontpage {
    background-color: rgb(17, 2, 15);
    background-image: url("images/bg.jpg");
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: 50% 50%;
    -webkit-filter: saturate(70%);
    -moz-filter: saturate(70%);
    -o-filter: saturate(70%);
    -ms-filter: saturate(70%);
    filter: saturate(70%);
    max-height: 100vh;
}

.frontline {
    background-color: rgba(24, 12, 36, 0.8);
    width: 100vw;
    height: auto;
    min-height: 200px;
    margin: 0 auto;
    position: absolute;
    top: 25%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.frontarticle {
    height: auto;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.frontprofile {
    height: 170px;
    width: 170px;
    background-image: url("images/profil1.png");
    background-size: cover;
}

.fronttext {
    height: auto;
    width: calc(100vw - 170px - 200px);
    max-width: 600px;
    min-width: 250px;
    padding: 15px 20px;
    color: white;
}

.frontmenu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    justify-content: flex-end;
}

.frontmenu a {
    height: 50px;
    width: auto;
    padding: 5px 20px;
    margin: 10px;
    color: white;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
}

#facebookbtn {
    background-color: rgb(82, 82, 224);
}

#facebookbtn:hover {
    background-color: rgb(121, 121, 253);
    text-decoration: none;
}

#gallerybtn {
    background-color: rgb(61, 31, 90);
}

#gallerybtn:hover {
    background-color: rgb(94, 48, 138);
    text-decoration: none;
}
/*-------------------Gallery-------------------*/

.gallery,
.admin {
    justify-content: space-around;
}

.galleryItem {
    width: 400px;
    height: 450px;
    position: relative;
    margin: 15px;
}

.galleryImg,
.galleryItemInfo {
    position: absolute;
    width: 100%;
    height: 100%;
}

.galleryItemInfo {
    background: rgba(40, 40, 40, 0.5);
    bottom: 0px;
    z-index: 2;
    display: none;
}

.galleryItemInfoImg {
    top: 0px;
    height: 75%;
    padding: 30px 30px 10px 30px;
}

.galleryItemInfoImg img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: relative;
}

.galleryItemInfoImg,
.galleryItemInfoText {
    position: absolute;
    width: 100%;
}

.galleryItemInfoText {
    height: 25%;
    color: white;
    bottom: 0px;
    padding: 10px;
}

.galleryItemInfoText h2 {
    text-align: center;
    margin-bottom: 20px;
}

.galleryItemInfoTextB {
    display: flex;
    justify-content: space-around;
}

.galleryItemInfoTextB h4 {
    width: 50%;
    text-align: center;
}

.galleryImg {
    object-fit: cover;
    object-position: 50% 50%;
}


/*-------------------Product-------------------*/

.product {
    height: calc(100vh - 120px);
    padding: 15px;
}

.productpage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.product-img {
    height: 100%;
    width: 70%;
    max-height: 91vh;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-img img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.product-info {
    height: auto;
    width: 30%;
    min-width: 400px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

.product-info-data {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.product-size,
.product-price {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5em;
    margin: 10px 0px;
}

.product-description {
    margin: 10px 0px;
    height: auto;
}


/*-------------------Control Panel-------------------*/

.ctrlPanel-edit {
    background-color: rgb(230, 230, 31);
    color: rgb(0, 0, 0);
    height: 50px;
    width: 200px;
    margin: 0px auto;
    padding: 5px;
    text-align: center;
    line-height: 40px;
    font-size: 1.2em;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    top: 0px;
    right: 0px;
}

.ctrlPanel-edit:hover {
    cursor: pointer;
    background-color: rgb(255, 255, 32);
}

.ctrlPanel {
    background-color: rgb(245, 245, 245);
    position: absolute;
    padding: 10px;
    width: 100%;
    z-index: 10;
    height: auto;
}

.ctrlPanel div {
    margin: 5px;
    justify-content: space-between;
}

.ctrlPanel textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 300px;
    min-height: 2em;
}

.ctrlPanel-checkbox {
    justify-content: space-around;
}

.ctrlPanel-checkbox input {
    width: 15px;
}


/*-------------------Navigator-------------------*/

.myNav {
    width: 100%;
    height: 60px;
    color: white;
    background-color: rgb(24, 12, 36);
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    z-index: 3;
    top: 0px;
}

.myNav-logo {
    font-size: 30px;
    text-decoration: none;
    color: white;
    background-image: url("logo.png");
    background-size: contain;
    height: 50px;
    width: 100px;
    background-repeat: no-repeat;
}

.myNav a {
    color: white;
    text-decoration: none;
}

.myNav-title {
    font-size: 30px;
}

.myNav-right {
    display: flex;
    justify-content: flex-end;
}

.myNav-item {
    font-size: 20px;
    height: 50px;
    padding: 5px 10px;
    line-height: 40px;
    text-align: center;
}

.myNav-item:hover {
    background-color: indigo;
}


/*-------------------Forms-------------------*/

form h4 {
    margin-top: 20px;
}

.formsection {
    margin-top: 20px;
}

.contactform {
    width: 46%;
}

input:valid,
textarea:valid {
    outline-color: green;
}

input {
    width: 300px;
    position: relative;
    margin: 0 auto;
    outline-color: indigo;
}

.inputlarge {
    width: 100%;
}

textarea {
    outline-color: indigo;
    height: 10em;
}

.formInput {
    resize: none !important;
    width: 100%;
    height: 79%;
}

#formDesc {
    height: 10em;
}


/*-------------------Responsive CSS-------------------*/


/*---lg---*/

@media screen and (max-width: 1203px) {
    /*--------Gallery--------*/
    .galleryItem {
        width: 300px;
        height: 350px;
    }
    .galleryItemInfoText h2,
    .galleryItemInfoTextB h4 {
        font-size: 1.3rem;
    }
    /*--------Product--------*/
    .productpage {
        display: block;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }
    .product-img {
        width: 100%;
        height: auto;
    }
    .product-info {
        width: 90%;
        min-height: 100px;
        height: auto;
        margin: 0 auto;
    }
}


/*---md---*/

@media screen and (max-width: 991px) {
    .product-info{
        min-width: 200px;
    }
    /*--------Gallery--------*/
    .galleryItem {
        width: 300px;
        height: 350px;
    }
    .frontpage {
        background-image: url("images/bgm.jpg");
    }
    /*--------Frontpage--------*/
    .frontline {
        min-height: 300px;
        top: 25%;
    }
    .product-size,
    .product-price {
        font-size: 1.3em;
    }
}


/*---sm---*/

@media screen and (max-width: 767px) {
    /*--------Gallery--------*/
    .galleryItem {
        width: 50vw;
        height: 60vw;
    }
    /*--------Product--------*/
    .product {
        padding: 5px;
    }
    /*--------Frontpage--------*/
    .frontline {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: auto;
    }
    .frontarticle {
        padding-top: 60px;
        flex-wrap: wrap;
        align-content: flex-start;
    }
    .frontprofile {
        margin-top: 20px;
    }
    .fronttitle {
        font-size: 1.8em;
    }
    .fronttext {
        width: 90%;
    }
    .contactform {
        width: 100%;
    }
    .frontmenu a {
        height: 50px;
        width: 100%;
        padding: 5px 20px;
        margin: 10px;
        color: white;
        text-align: center;
        font-size: 20px;
        line-height: 40px;
    }
}


/*---xs---*/

@media screen and (max-width: 575px) {
    /*--------Gallery--------*/
    .galleryItem {
        width: 90vw;
        height: 110vw;
    }
    .galleryItemInfoText h2,
    .galleryItemInfoTextB h4 {
        font-size: 1.5rem;
    }
    .galleryItemInfoText {
        height: 25%;
    }
    .frontline {
        align-items: flex-start;
    }
}


/*---xxs---*/

@media screen and (max-width: 380px) {
    .galleryItemInfoText h2,
    .galleryItemInfoTextB h4 {
        font-size: 1.2rem;
    }
    .galleryItemInfoText {
        height: 28%;
    }
    .fronttext {
        width: 95%;
    }
}


/*---xxxs---*/

@media screen and (max-width: 270px) {
    .galleryItemInfoText h2,
    .galleryItemInfoTextB h4 {
        font-size: 1rem;
    }
    .fronttext {
        min-width: 95%;
    }
}