/* BASE */
html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0 !important; padding: 0 !important; border: 0;
}
* { margin:0 }
ion-icon {
    pointer-events: none;

}

/* ADMIN HEADER */
#adminBar {
    padding: 20px;
    box-shadow: 0px 2px 6px #0000001f;
    border-bottom: 1px solid #E5E5E5;
    display: flex;
    justify-content: space-between;
}

#adminBar, #adminBar a {
    font-weight: bold;
    font-weight: 400;
    color: #B7B7B7;
}

#adminBar .firstCol {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

#adminBar .slugCol {
    width: 0%;
    display: none;
}

#adminBar .publicPage {
    text-align: left;
    width: 25%;
}

#adminBar .linkC {
    font-weight: bold;
    text-align: center;
    margin-top: 7px;
    width: 75%;
}

#adminBar .secondCol {
    width: 20%;
}

#adminBar .dImageC img {
    width: 30px;
    height: 30px;
}

#adminBar .dImageC {
  text-align: right;
}

/* PUBLISH TOGGLE */
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

input[type="checkbox"]:focus {
    outline: 0;
}
#btnPublish {
    height: 16px;
    width: 42px;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    margin: 8px 0 -2px 7px;
    border: 1px solid #b9b9b9;
    background: #e3e3e3;
    transition: all .2s ease;
}
#btnPublish:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20px;
    height: 14px;
    border-radius: 3px;
    background: white;
    transition: all .2s cubic-bezier(.5,.1,.75,1.35);
}
#btnPublish:checked {
    border-color: #654FEC;
    background: #83cbce;
    border: 1px solid #57a9aa;
}
#btnPublish:checked:after {
    transform: translateX(20px);
}


/* HEADER */
#headerContent {
    text-align: center;
    margin-top: 30px;
}
#headerContent img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}
#headerContent .accountName {
    margin-top: 5px;
}

#headerContent .accountName a {
    font-size: 1.2em;
    color: #707070;
    text-decoration: none;
}

/* HEADER: Website URL */
#headerContent .websiteURL_container, #headerContent .websiteURL_container input {
    margin-top: 8px;
    height: 20px;
    position: relative;
    color: #706F6F;
    font-size: .85em;
}
#headerContent .websiteURL_container input {
    width: 300px;
    cursor: auto;
}

#headerContent .displayWebsiteURL  {
    padding-left: 20px;
}

#headerContent .displayWebsiteURL.admin  {
    cursor: pointer;
}

#headerContent .displayWebsiteURL a {
    margin-left: -20px;
    color: #8B8B8B;
    text-decoration: none;
}

#headerContent .websiteURL_container .inputC {
    display: none;
    padding-left: 45px;
}

#headerContent .websiteURL_container .inputC .buttonC {
    width: 40px;
    display: inline-block;
}

#headerContent .pencilC {
    cursor: pointer;
    color: #B7B7B7;
    width: 20px;
}
#headerContent .btnSaveUrl {

    display: inline-block;
    cursor: pointer;
    color: #B7B7B7;
}

#headerContent .btnCancelUrl {
    display: inline-block;
    cursor: pointer;
    color: #B7B7B7;
}

#headerContent .errorText {
    font-size: .85em;
    color: #D56868;
    display: none;
}




/* BODY */
#main { /* Main wrapper */
    max-width: 1075px;
    margin: 0px auto;
    min-height: 100%;
    text-align: center;
}

#imageArea { /* Container images are added to */
    display: grid;
    margin: 25px auto;
    justify-items: center;
    justify-content: center;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(315px, 0fr));
}

.itemImageC { /* Individual item container */
    position: relative;
    width: 315px;
    height: 315px;
}

.itemImageC img, .emptyImage {
    width: 315px;
    height: 315px;
}

/* BUTTON */
.lpButton a.button{
    width: 255px;
    height: 58px;
    background: #4c97a2 0% 0% no-repeat padding-box;
    border: 1px solid #4c97a2;
    border-radius: 5px;
    opacity: 1;
    text-align: left;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    padding: 8px 25px;
    margin-top: -50px;
    text-decoration: none;
}

.lpButton {
    margin-top: 50px
 }


/* DELETE MODAL */
/* EMPTY STATE */
#deleteModalArea {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    opacity: 1;
    transition: opacity .2s ease;
}
#deleteModalArea.display {
    display: flex;
}

.deleteModal {
    position: relative;
    z-index: 5;
    background: #fff;
    border: 3px solid #ccc;
    width: 50%;
    text-align: center;
    height: 240px;
    padding: 30px 30px;
    min-width: 300px;
    max-width: 700px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 3px 6px #00000029;
}
.deleteModal .header {
    color: #707070;
    font-weight: bold;
}
.deleteModal .section {
    display: flex;
    margin-top: 35px;
    border: 1px solid #DDD;
    padding: 10px;
}
.deleteModal .firstCol {
    width: 115px;
    text-align: left;
}
.deleteModal .secondCol {
    text-align: left;
    margin-left: -15px;
    width: 80%;
}

.deleteModal .secondCol .content {
    color: #8c8c8c;
    font-size: .8em;
    margin-top: 7px;
    white-space: nowrap;
    overflow: hidden;

    text-overflow: ellipsis;

}

.deleteModal .secondCol .longUrl {
    color: #8c8c8c;
    font-size: .8em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    margin-top: 14px;
}

.deleteModal .thumbnail img {
    width: 75px;
    height: 75px;
}

.deleteModal .buttonContainer {
    display: flex;
    justify-content: space-between;
    width: 80%;
    text-align: center;
    margin: 0px auto;
}
#btnBackCloseDeleteModal {
    color: #707070;
}
#btnBackCloseDeleteModal a {
    background-color: #fff;
    color: #707070;
}

.btnDeleteConfirm {
    cursor: pointer;
    color: #707070;
    text-align: center;
    position: absolute;
    background-color: #fff;
    top: -12px;
    right: -6px;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
}

.btnDeleteConfirm ion-icon {
    border: none;
    padding: 0px;
    font-size: 35px;
    position: absolute;
    left: -4px;
    top: -4px;
}

#btnCloseDeleteModal {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    color: #707070;
    z-index: 1;
    width: 26px;
    height: 26px;
}

#btnCloseDeleteModal ion-icon {
    border: none;
    padding: 0px;
    font-size: 30px;
    position: absolute;
    left: -4px;
    top: -4px;
}

.deleteModal .buttonContainer .lpButton a.button {
    background-color: #d93603;
    border: 1px solid #d93603;
    padding: 10px 40px;
}


#btnBackCloseDeleteModal a.ghost-button {
    color: #999;
    border: 1px solid #999;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 40px;
    border-radius: 5px;
}

/* EMPTY STATE */
#emptyArea {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 80vh;
    position: relative;
    margin: 20px auto;
}
#emptyArea.display {
    display: flex;
}

.emptyImage {
    margin: 5px;
    opacity: .2;
}
.emptyImageBackground {
    position: relative;
}
.emptyModalWrapper, .disabledAccountModalWrapper {
    position: absolute;
    top: 75px;
    left: 50%;
}
.emptyModal, .disabledAccountModal {
    position: relative;
    left: -50%;
    z-index: 5;
    background: #fff;
    border: 3px solid #ccc;
    width: auto;
    text-align: center;
    height: 425px;
    padding: 30px 30px 10px 30px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 3px 6px #00000029;
}
.emptyModal .header, .disabledAccountModal .header {
    font-size: 1.1em;
    margin: 10px auto;
    color: #707070;
}
.emptyModal .section, .disabledAccountModal .section {
    margin: 10px;
    color: #707070;
    line-height: 1.5;
    margin-top: 15px;
}

.emptyModal img {
  width: 257px;
}

.emptyImagePlaceholder {
    width: 315px;
    height: 315px;
    background-color: #707070;
    margin: 5px;
    opacity: .2;
    display: inline-block;
}

/* SYSTEM DEACTIVATED STATE */
#disabledAccountArea {
    display: none;
}
.systemErrorDeactivate {
    opacity: .5;
    pointer-events: none;
    cursor: default;
}
.disabledAccountModalWrapper {
    margin-top: 180px;
}
.disabledAccountModal {
    height: 325px;
}



/* FOOTER */
#footer {
    color: #BAB4B4;
    font-size: 14px;
    text-align: center;
    padding-bottom: 25px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
}
#footer a {
    color: #62c0c4;;
    font-size: 16px;
    text-decoration: none;
    line-height: 2;
}



/* MEDIA QUERIES */
@media screen and (max-width: 977px) {
    .deleteModal .secondCol {
        margin-left:  0px;
        width: 70%;
    }
}

@media screen and (max-width: 649px) {
    #main {
        max-width: 100%;
    }

    #adminBar .slugCol {
        width: 20%;
        display: block;
    }

    #adminBar .firstCol {
        display: block;
        width: 80%;
        text-align: center;
    }

    #adminBar .publicPage {
        width: 100%;
        text-align: center;
    }

    #adminBar .linkC {
        width: 100%;
        text-align: center;
    }
    .deleteModal .secondCol {
        margin-left: 5px;
        width: 70%;
    }
    .itemImage img, .emptyImage {
        width: 90%;
    }
}
