/***** FORM NEW ADS FORM *****/
/****************************/
form#form-add-news-commercial {
    display: flex;
    flex-wrap: wrap;
}

div.content-form {
    display: flex;
    flex-wrap: wrap;
}

div.content-form-ads {
    background: rgb(255, 255, 255);
    border: 1px solid #d5d5d5 !important;
    border-radius: 2px;
    padding: 15px;
}

div.content-form .content-form-company-cover {
    width: 100%; 
    display: flex; 
    align-items: flex-start; 
    justify-content: center; 
    flex-wrap: wrap; 
}
div.content-form .content-form-company-cover .cover-stm-post {
    padding-top: 16px;
    padding-left: 8px;
    max-height: 225px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;  
    border-radius: 3px; 
    overflow: hidden; 
} 
div.content-form .content-form-company-cover .cover-stm-post img {
    border-radius: 3px; 
    overflow: hidden; 
} 

#form-update-new-parcel {
    background: rgb(255, 255, 255);
    border: 1px solid #d5d5d5 !important;
    border-radius: 2px;
    padding: 12px 10px !important;
}

a {
    text-decoration: none !important;
}


/*********** Preview company page ************/
main.main-setup-new-company .container-fluid .content-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

main.main-setup-new-company .container-fluid .content-preview h1 {
    display: none;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 400;
}

main.main-setup-new-company .container-fluid .content-preview .col-md-12 {
    width: 100%;
    display: flex;
    align-items: center;
}

main.main-setup-new-company .container-fluid .content-preview .col-md-12 img {
    width: 100%;
}

main.main-setup-new-company .checkbox-signature {
    margin-bottom: 20px;
}

.btn-transparency.create-company-page {
    width: 165px;
    color: #0271bd;
    background: #fff;
    border: 2px solid #0271bd !important;
    border-radius: 2px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    height: 38px;
    transition: 0.5s;
}

.btn-transparency.create-company-page:hover {
    color: #28a745 !important;
    background: #fff;
    border: 2px solid #28a745 !important;
    transition: 0.5s;
}

main.main-setup-new-company .content-button-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;
    margin-top: 0 !important;
    margin-bottom: 35px;
}

.form-check-label {
    color: #585858;
    font-size: 0.8rem !important;
    line-height: 18px !important;
}

/*********** Upload company logo page ************/

.box {
    position: relative;
    background: #ffffff;
    width: 100%;
}

.box-header {
    color: #444;
    display: block;
    position: relative;
    border-bottom: 1px solid #f4f4f4;
    margin-bottom: 10px;
    width: 100%;
}

.box-tools {
    width: 40px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0;
    top: -90px;
    z-index: 5;
    right: 0;
}

.box-tools .btn-danger {
    width: 40px;
    color: #ff7272;
    background: #fff;
    border: 2px solid #ff7272 !important;
    border-radius: 2px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    height: 38px;
    transition: 0.5s;
}

.box-tools .btn-danger i {
    height: 15px;
    width: 15px;
    color: #ff7272;
    margin-left: 3px;
    transition: 0.5s;
}

.box-tools .btn-danger:hover {
    color: #ff3a3a;
    border: 2px solid #ff3a3a !important;
    transition: 0.5s;
}

.box-tools .btn-danger:hover i {
    color: #ff3a3a;
    transition: 0.5s;
}

.dropzone-wrapper {
    display: flex;
    align-items: center;
    border: 2px dashed #91b0b3;
    position: relative;
    color: #92b0b3;
    height: 90px;
}

.dropzone-desc {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    font-size: 16px;
}

.dropzone-desc h3 {
    color: #3a3a3a;
    font-size: 15px !important;
}

.dropzone-desc h3 i {
    color: #3a3a3a;
}

.dropzone-desc p {
    font-size: 0.8rem;
    color: #6a6a6a !important;
    font-weight: 400;
    padding: 0 10px;
    text-transform: capitalize;
    line-height: 16px;
    margin-bottom: 0;
}

.box.box-solid .box-body {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.box.box-solid .box-body img {
    border: 2px solid #a5a5a5;
    border-radius: 5px;
    max-height: 444px;
    max-width: 100%;
}

.dropzone,
.dropzone:focus {
    position: absolute;
    outline: none !important;
    width: 100%;
    height: 150px;
    cursor: pointer;
    opacity: 0;
}

.dropzone-wrapper:hover,
.dropzone-wrapper.dragover {
    background: #ecf0f5;
}

.preview-zone {
    text-align: center;
}

.preview-zone .box {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-control {
    height: 40px;
}

/*************************************
 * ******* Display Adversts **********
 ************************************/
body.display-adverts {}

body.display-adverts main.content {}

div.content-form-ads {
    background: rgb(255, 255, 255);
    border: 0px solid #efefef;
}

body.display-adverts main.content .container-fluid.content-form-ads {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 15px;
}

body.display-adverts main.content .container-fluid.content-form-ads .box-adv-content {
    /* width: 48%; */
    /* margin: 10px; */
    padding: 10px;
    background: #fff;
    /* border: 1px solid #e7e7e7; */
}

a.format-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.display-adverts main.content .container-fluid.content-form-ads .box-adv-content h6 {
    font-weight: 300;
    padding: 10px 10px;
    margin-bottom: 0;
    color: #585858;
}

div.select-advt-img-01 {
    display: flex;
    flex-direction: column-reverse;
}


.form-control {
    font-size: .9rem !important;
    font-weight: 600 !important;
    border-radius: 1px !important;
}


/*********************************************
 * ****** List Ads with filter search ********
 ********************************************/
#search-filter-advt {
    background-image: url('/img/icons/searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

#myTableAdvtList {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 18px;
}

#myTableAdvtList th,
#myTableAdvtList td {
    font-size: .9rem;
    text-align: left;
    padding: 8px 5px;
    max-width: 210px;
    overflow: hidden;
}

#myTableAdvtList tr {
    border-bottom: 1px solid #ddd;
}

#myTableAdvtList tr.header,
#myTableAdvtList tr:hover {
    background-color: #f1f1f1;
}

/* LOADING PRGRESS STYLE */
div#loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    /*
    top: 0;
    left: 0;
    */
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    background-size: cover;
    z-index: 9999;
}

div.loading .active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader {
    position: absolute;
    left: 35%;
    top: 40%;
    z-index: 1;
    width: 100px;
    height: 100px;
    margin: -20px 0 0 -20px;
    border: 20px solid #fff;
    border-radius: 50%;

    border-top: 20px solid #005b99;
    border-bottom: 20px solid #005b99;

    width: 120px;
    height: 120px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 80%), inset 0px 0px 5px rgb(0 0 0 / 80%);
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-content-main {
    padding: 0px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.content-cover {
    max-height: 55px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.error-msg {
    background: rgb(249, 190, 190, 76%);
    padding: 12px 15px;
    border-radius: 2px;
    line-height: inherit;
    font-size: 14px;
    color: #b10000 !important;
    font-weight: 400 !important;
    width: 100%;
    min-height: 42px;
    text-align: left;
}

.success-msg {
    background: #d0ffde !important;
    padding: 8px 15px;
    border-radius: 2px;
    color: #008d38 !important;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
}