@font-face 
{
    font-family: Jenine-SemiBold;
    src: url(../fonts/Jenine-SemiBold.otf);
}

@font-face {
    font-family: AdvertisingBold;
    src: url(../fonts/AdvertisingBold.ttf);
}

@font-face {
    font-family: DroidKufi-Regular;
    src: url(../fonts/DroidKufi-Regular.ttf);
}


.J-SemiBold
{
    font-family: Jenine-SemiBold;
}

.AdvertisingBold
{
    font-family: AdvertisingBold !important;
}

.DroidKufi-Regular
{
    font-family: DroidKufi-Regular !important;
}

.website-brand
{
    font-family: Jenine-SemiBold;
    font-size: 2.2rem;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.nav-color
{
    color: #fff !important;
    font-size: 1.0rem;
    font-family: AdvertisingBold !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255, 1) !important;
    margin: 0 10px;
}

.overlay,
.sidebar
{
    position: fixed;
    top: 0;
    bottom: 0;
}

.sidebar
{
    left: -100%;
    max-width: 300px;
    transition: all ease 0.25s;
    z-index: 9999;
}

.overlay
{
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    visibility: hidden;
    z-index: 9998;
}

.main-navigation.active .sidebar
{
    left: 0;
}

.main-navigation.active .overlay
{
    visibility: visible;
}

.dropdown-menu-end{
    left: 20px !important;
}

.flex-wrapper 
{
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
}

#home_wrap
{
    width: 97%;
    margin: 10px auto;
}

.home_section
{
    float: right;
}

.section_one
{
    width: 30%;
    min-height: 100px;
}

.section_two
{
    width: 70%;
    min-height: 100px;
    margin-bottom: 15px;
}

.row-fix-w
{
    width: 99% !important;
    margin: 0 auto;
}

.squer-menu-wrap
{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    font-family: AdvertisingBold;
}

.menu-wrap
{
    flex-wrap: wrap !important;
}

.squer-menu-div
{
    border: gray solid thin;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 15px;
    min-width: 90px;
    min-height: 90px;
    max-width: 90px;
    max-height: 90px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
    font-family: AdvertisingBold;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
}

.squer-menu-div:hover,
.squer-menu-div-active
{
    color: #198754;
    border: lightgreen solid thin;
    background-color: lightgreen;
}

.post-wrapper
{
    display: flex;    
    font-family: AdvertisingBold;
    border-bottom: lightgrey dotted thin;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.post-details
{
    display: flex;
    font-size: 1.0rem;
    flex-wrap: wrap;
}

.post-details div
{
    width: 45%;
    margin-bottom: 10px;
}

.post-wrapper-div
{
    padding: 10px;
}


#photos_wrap
{
    display: flex;
    flex-wrap: wrap;
    width: 98%;
    margin: 10px auto;
    min-height: 300px;
}

.equipment-image
{
    width: 120px;
    height: 120px;
    border: #198754 solid 1px;
    margin: 0.5rem;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background-color: whitesmoke;
    display: flex; 
    color: #198754;
    justify-content: center;
    position: relative;
}

.noselect 
{
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.img-size
{
    width: 120px;
    height: 120px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.delete-photo
{
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 100;
    cursor: pointer;
}

.pointer
{
    cursor: pointer;
}

.lead-inst
{
    color: red;
    font-size: .9rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.re-border
{
    border: 0;
}

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

.center-div
{
    align-self: center;
}

.center-post
{
    margin: 15px auto;
}

.success-post
{
    width: 400px;
    margin: 10px auto;
    background-color:rgb(228, 255, 225);
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.w-100
{
    width: 100%;
}

.post-wrapper:nth-of-type(odd) 
{
    background-color:rgb(228, 255, 225);
}
    
.post-wrapper:nth-of-type(even) 
{
    background-color:#fff;
}

.control-div
{
    display: flex;
    flex-wrap: wrap;
}

.control-div > div
{
    margin-left: 15px;
}

.add-btn-div
{
    float: left !important;
    text-align: left;
    left: 0;
}

.city-div
{
    /* flex-grow: ; */
}

.post-image
{
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.post-title
{
    color: #198754;
    font-size: 1.2rem;
}

footer
{
    clear: both;
    border-top: lightgrey thin solid;
    background-color: rgb(238, 238, 238);
    margin-top: 15px;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
}

#footer_copyright
{
    color: lightgrey;
    background-color: gray;
    min-height: 50px;
    text-align: center;
    padding: 5px;
    width: 100%;
    font-size: 1.7rem;
    font-family: Jenine-SemiBold;
}

#footer_links
{
    font-family: DroidKufi-Regular;
    margin: 15px auto 0 auto;
    padding: 20px 15px 10px 15px;
    width: 96%;
    font-size: 1.0rem;
    display: flex;
}

#footer_links > div
{
    width: 50%;
    margin: 0 10px;
    text-align: center;
    cursor: pointer;
    color: #198754;
}

.post-check
{
    margin: 10px auto;
    border: lightgrey solid thin;
    padding: 5px;
    font-family: DroidKufi-Regular !important;
    margin-top: 80px;
}

.post_section_wrap
{
    margin: 15px auto;
    width: 98%;
    padding: 15px 10px;
}

.post-check > div
{
    margin: 10px 5px;
}

.add-post-title
{
    color: darkgray;
    font-family: DroidKufi-Regular;
    font-size: 1.3rem;
}

.post-section-title
{
    color: #000;
    font-family: DroidKufi-Regular;
    font-size: 1.0rem;
}

.sware-list
{
    margin: 2em 0;
}

.sware-list li
{
    list-style: none;
    font-family: DroidKufi-Regular;
    font-size: 1.0rem;
    margin-bottom: 15px;
}

.sware-list li::before {
    content: "\f299";
    font-family: "Font Awesome 5 Free";
    margin-right: -1.8em; /* same as padding-left set on li */
    width: 2.8em; /* same as padding-left set on li */
    margin-left: 10px;
}

.post-note
{
    font-size: 1rem;
    color: #999;
    margin-top: 10px;
}


textarea:focus, input:focus{
    outline: none !important;
}

/* Center the loader */
#loader
{
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #198754;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#addPostDiv
{
    display: none;
}

.post-container
{
    width: 99%;
    margin: 10px auto;
    flex-grow: 1;
}

.post-wrap
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.post-area
{
    flex-grow: 1;
    border: #198754 solid thin;
    padding: 10px;
    max-width: 900px;
}

.other-post
{
    flex-grow: 2;
    padding: 5px;
    max-width: 440px;
}

.other-wrap
{
    width: 98%;
    margin: 0 auto;
    background-color: #d0ffe9;
    padding: 5px;
    min-height: 200px;
}

.post-head
{
    background-color: #f3f3f3;
    min-height: 130px;
    clear: both;
}

.post-head h4
{
    font-family: AdvertisingBold;
    margin: 10px;
    position: absolute;
    color: #198754;
    border-bottom: #198754 thick solid;
    padding: 0 3px 1px 3px;
}

.push-down
{
    position: absolute;
    margin-top: 60px;
    margin-right: 30px;
    width: 650px;
    display: flex;
    justify-content: space-between;
}

.w50p
{
    width: fit-content;
}

.post-body,
.post-images
{
    clear: both;
    padding: 5px 15px;
    margin: 5px;
    white-space: pre-line;
    font-size: x-large;
}

.post-images
{
    display: flex;
    flex-direction: column;
    min-width: 300px;
    width: 400px;
    margin: 1px auto;
}

.post-images img
{
    margin: 10px;
}

.img_awesome
{
    min-width: 300px;
    width: 400px;
}

.relate-post
{
    display: flex;
    flex-wrap: wrap;
}

.relate-post > div
{
    margin: 10px 10px;
    width: 110px;
    height: 110px;
    cursor: pointer;
    background-color: #fff;
}

.contact-no
{
    margin: 15px auto;
    width: 98%;
}

.btns-control
{
    margin: 15px auto 5px auto;
    display: flex;
    justify-content: space-between;
    width: 97%;
    font-family: AdvertisingBold;
}

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

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

@media only screen and (max-width: 768px) 
{
    /* For mobile phones: */
    .section_one
    {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }

    .section_two
    {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #home_wrap
    {
        width: 100%;
        margin: 10px auto;
    }

    .search-div
    {
        margin-right: 5px;
    }

    .post-check
    {
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
    }

    .post-wrap
    {
        flex-direction: column;
        width: 99%;
        margin: 0 auto;
    }

    .post-area
    {
        flex-grow: 1;
    }

    .other-post
    {
        flex-grow: 1;
        width: 100% !important;
    }
}

@media only screen and (min-width: 321px) and (max-width: 425px) 
{
    /* For mobile phones: */
    .control-div > div
    {
        margin-left: 5px;
    }

    .search-div
    {
        margin-right: 5px;
        width: 55%;
    }

    .city-div
    {
        width: 37%;
    }

    .post-details
    {
        font-size: 0.9rem;
    }

    #footer_links
    {
        display: inline-block;
        padding-top: 10px;
    }

    #footer_links > div
    {
        width: 100%;
        margin: 10px 0px;
        text-align: right;
    }

    .post-check
    {
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
    }

    .post-area
    {
        border: 0;
    }

    .post-head
    {
        width: 100%;
    }
    
    .post-images
    {
        min-width: 295px;
        width: 295px;
        margin: 1px auto;
        padding: 0;
    }

    .img_awesome
    {
        min-width: 200px;
        width: 290px;
    }

    .push-down
    {
        width: 70%;
    }

    .other-post
    {
        flex-grow: 1;
        width: 100% !important;
    }
}

@media only screen and (max-width: 320px) 
{
    /* For mobile phones: */
    .search-div
    {
        width: 98%;
        margin: 2px 5px;
    }

    .city-div
    {
        width: 40%;
        margin-right: 5px;
    }

    .post-details
    {
        font-size: 0.8rem;
    }

    #home
    {
        display: none;
    }

    #footer_links
    {
        display: inline-block;
        padding-top: 10px;
    }

    #footer_links > div
    {
        width: 100%;
        margin: 10px 0px;
        text-align: right;
    }

    .post-check
    {
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
    }

    .post-area
    {
        border: 0;
    }

    .post-head
    {
        width: 100%;
    }
    
    .post-images
    {
        min-width: 295px;
        width: 295px;
        margin: 1px auto;
        padding: 0;
    }

    .img_awesome
    {
        min-width: 200px;
        width: 290px;
    }

    .push-down
    {
        width: 70%;
    }

    .other-post
    {
        flex-grow: 1;
        width: 100% !important;
    }
}


@media (min-width: 993px) 
{  
    .sidebar
    {
        position: relative;
        left: auto;
        bottom: auto;
        top: auto;
        flex-direction: row;
        visibility: visible;
        transition: none;
        max-width: 100% !important;
    }

    .squer-menu-wrap
    {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .squer-menu-div
    {
        width: 100px;
        height: 100px;
        font-size: 1.1rem;
    }


}