.loading {
    display: block;
    width: 400px;
}

@media only screen and (max-width: 700px){
    
    .loading {
        width: 200px;
        margin: 0 auto;
    }
    
}

/************************************/

#header-area {
    display: block;
    width: 100%;
    font-size: 0;
    background: #222;
}

#header-img {
    display: inline-block;
    vertical-align: middle;
    width: 40%;
}

#header-area section {
    display: inline-block;
    vertical-align: middle;
    width: 60%;
    padding: 40px;
}

#header-title {
    display: block;
    width: 100%;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #ddd;
    text-align: left;
    line-height: 35px;
    font-size: 30px;
    margin-bottom: 30px;
}

#header-description {
    display: block;
    width: 100%;
    line-height: 20px;
    font-size: 14px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: 100;
    color: #ddd;
    text-align: left;
    margin-bottom: 30px;
}

#edit-header-area {
    display: inline-block;
    vertical-align: middle;
    padding: 0 30px;
    height: 50px;
    border: 1px solid #ddd;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #ddd;
    font-size: 14px;
    background: transparent;
    outline: 0;
    transition: .2s linear;
}

#edit-header-area:hover {
    background: #ddd;
    color: #222;
}

@media only screen and (max-width: 700px){
    
    #header-img {
        display: block;
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    
    #header-area section {
        display: block;
        width: 100%;
        padding: 50px 30px;
    }
    
    @media only screen and (max-width: 500px){
        
        #header-img {
            height: 400px
        }
        
        #header-area section {
            padding: 50px 20px;
        }
        
    }
    
}

/************************************/

#portfolio-area {
    display: block;
    width: 100%;
}

#portfolios {
    display: block;
    width: 100%;
    padding: 20px 0 20px 20px;
    font-size: 0;
}

#add-portfolio-btn {
    display: inline-block;
    vertical-align: top;
    width: 33.333333333%;
    height: 300px;
    border: 0;
    outline: 0;
    background: transparent;
    transition: .2s linear;
}

#add-portfolio-btn:hover {
    transform: scale(1.1);
}

#add-portfolio-btn svg {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    transform: translateX(-10px);
}

#add-portfolio-btn circle,
#add-portfolio-btn polyline {
    fill: none;
    stroke: #aaa;
    stroke-width: 2;
}

.portfolio {
    display: inline-block;
    vertical-align: top;
    width: 33.333333333%;
    padding-right: 20px;
    padding-bottom: 30px;
}

.portfolio-img {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.delete-portfolio {
    display: inline-block;
    vertical-align: middle;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    font-size: 14px;
    color: blueviolet;
    border: 0;
    outline: 0;
    background: transparent;
    margin-bottom: 5px;
}

.delete-portfolio:hover {
    text-decoration: underline;
}

.portfolio-caption {
    display: block;
    width: 100%;
    line-height: 25px;
    font-size: 20px;
    text-align: left;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #222;
}

.first-tag {
    display: block;
    width: 100%;
    line-height: 20px;
    font-size: 14px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: 100;
    text-align: left;
    color: #222;
}

#load-more-btn {
    display: inline-block;
    vertical-align: middle;
    padding: 0 30px;
    height: 40px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    columns: #222;
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
    margin-left: 20px;
    background: transparent;
}

@media only screen and (max-width: 1000px){
    
    #add-portfolio-btn {
        width: 50%;
    }
    
    .portfolio {
        width: 50%;
    }
    
    @media only screen and (max-width: 700px){
        
        #portfolios {
            padding: 20px;
        }
        
        #add-portfolio-btn {
            display: block;
            width: 100%;
            height: 150px;
            margin-bottom: 20px;
        }
        
        #add-portfolio-btn svg {
            transform: 0;
        }
        
        .portfolio {
            display: block;
            width: 100%;
            padding: 0;
            margin-bottom: 30px;
        }
        
    }
    
}

/***************************************/

.edit-modal {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    overflow: auto;
    background: rgba(0,0,0,.9);
    padding: 50px 0;
}

.edit-modal .background-layer {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

.edit-modal section {
    display: block;
    width: 500px;
    background: #fff;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.edit-modal .sub-section {
    display: block;
    width: 100%;
    padding: 20px;
}

.exit-edit {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    border: 0;
    outline: 0;
    background: rgba(0,0,0,.4);
    padding: 10px;
}

.exit-edit polyline {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.edit-edit svg {
    display: block;
    width: 100%;
    height: 100%;
}

.edit-modal .preview-image {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 10;
}

.browse-image {
    display: inline-block;
    vertical-align: middle;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: blueviolet;
    font-size: 14px;
    border: 0;
    outline: 0;
    background: transparent;
    margin-bottom: 20px;
}

.file-input {
    position: fixed;
    top: -100%;
    left: -100%;
    z-index: -1;
}

.edit-modal input:not(.tag-input){
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: transparent;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #222;
    padding: 0 15px;
    font-size: 14px;
    margin-bottom: 20px;
}

.edit-modal textarea {
    display: block;
    width: 100%;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: transparent;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #222;
    padding: 15px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 20px;
}

#tags {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.tag {
    display: block;
    width: 100%;
    line-height: 20px;
    font-size: 14px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #222;
    text-align: left;
    margin-bottom: 10px;
}

.tag input[type=checkbox]{
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.save-btn,
.cancel-btn {
    display: inline-block;
    vertical-align: middle;
    padding: 0 30px;
    height: 40px;
    border: 0;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    font-size: 14px;
    margin-right: 10px;
}

.save-btn {
    background: blueviolet;
    color: #fff;
}

.cancel-btn {
    background: #ddd;
    color: #222;
}

@media only screen and (max-width: 700px){
    
    .edit-modal section {
        width: 400px;
    }
    
    @media only screen and (max-width: 500px){
        
        .edit-modal {
            padding: 0;
            background: #fff;
        }
        
        .edit-modal section {
            width: 100%;
        }
        
    }
    
}

/**************************************/

#preview-btn {
    display: block;
    width: 170px;
    line-height: 50px;
    text-align: center;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #fff;
    background: blueviolet;
    border-radius: 4px;
    margin: 100px auto;
    font-size: 14px;
}






































