*{
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 400;
    /* border: 1px solid red; */
    box-sizing: border-box;
    /* background-color: #ffffff; */
    padding: 0;
    margin: 0;
    
}
::-webkit-scrollbar { 
    display: none;
}
#toTop{
    display: none;
    background-color: #ffffff00;
    z-index: 99;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
}

.scroll{
    width: 100px;
    height: 100px;
    border: 3px solid #0070b585;
    border-radius: 50%;
    background-color: #ffffff7e;
}

.scroll-inner{
    transform: rotate(45deg);
    background-color: #ffffff00;
    width: 30px;
    margin: 35px auto;
    height: 30px;
    border-left: 3px solid #0070b585;
    border-top: 3px solid #0070b585;
}

#toTopMini{
    display: none;
}

#applyNow h5, #applyNow p{
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#applyNow h5{
    font-size: 3rem;
    line-height: 3.5rem;
    padding: 1rem;
    text-align: center;
    border-bottom: 3px solid #0071b5;
    width: 400px;
    margin: 20px auto;
}

#applyNow p{
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 2rem;
}

#applyNowBtn{
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;
    display: block;
    font-size: 1.6rem;
    width: 150px;
    height: 35px;
    background-color: #0071b5;
    color: white;
    text-align: center;
    line-height: 35px;
    text-decoration: none;
    margin: 0 auto;
    margin-bottom: 3rem;

}

#applyNowBtn:hover{
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;
    background-color: #08a54a;
    color: white;  
}

#wrapper{
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

#wrapper h4{
    font-size: 3.6rem;
    padding: 1rem;
    text-align: center;
    border-bottom: 3px solid #0071b5;
    width: 400px;
    margin: 20px auto;
}

#wrapper p{
    width: 100%;
    text-align: center;
    font-size: 2rem;
}

#applyForm{
    min-width: none;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
    max-width: 1100px;
    height: auto;
    margin: 3rem auto;
    font-size: 1.6rem;
    line-height: 2.5rem;
    border-radius: 5px;
    -webkit-box-shadow: 1px 2px 15px -2px rgba(0,0,0,0.96); 
    box-shadow: 1px 2px 15px -2px rgba(0,0,0,0.96);
}

label{
    background-color: #ffffff00;
    font-size: 1.6rem;
    margin-right: 10px;
    line-height: 25px;
}

#reset{
    display: block;
    height: 30px;
    line-height: 30px;
    font-size: 1.6rem;
    text-align: center;
    width: 100px;
    cursor: pointer;
    background-color: #0071b5;
    color: #fff;
}

#sendRequest{
    display: block;
    height: 30px; 
    line-height: 30px;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    width: 90px;
    background-color: #08a54a;
    color: #ffffff;
}

input, select, option{
    width: 70px;
    font-size: 1.4rem;
}

input[type=submit] {
    width: 20rem !important;
      height: 3.5rem !important;
}

hr{
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.icon-text{
    display: flex;
    margin-top: 7px;
    height: 24px;
    line-height: 24px;
}



#apply{
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;
    font-size: 1.6rem;
    width: 150px;
    height: 35px;
    background-color: #0071b5;
    color: white;
    text-align: center;
    /* line-height: 35px; */
    text-decoration: none;
    border: none;
}

#apply:hover{
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;
    background-color: #08a54a;
    color: white;  
}

#pagination{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40px;
    justify-content: center;
    gap: 5px;
    margin-top: 2rem;
}

p span{
    font-size: inherit;
}

.page{
    width: 40px;
    height: 40px;
    background-color: #0071b5;
    color: #fff;
    list-style: none;
    line-height: 40px;
    text-align: center;
}

.page:hover{
    background-color: #08a54a;
}


form{
    display: flex;
    flex-direction: column;
}

p{
    font-size: 1.4rem;
    /* margin-bottom: 2rem; */
}

h2, h3{
    font-size: 1.6rem;
}

#noposts{
    display: none;
    margin: 0 auto;
    max-width: 1100px;
    min-width: 320px;
    text-align: center;
    font-size: 2.4rem;
}

.show{
    display: block !important;
}

#upload{
    width: 100%;
    margin: 30px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.uploadDocument label{
    cursor: pointer;
    padding: 1.5rem;
    display: block;
    color: #0071b5;
    font-size: 2rem;
    /* width: 200px;
    height: 60px; */
    border: 3px solid #0071b5;
}

#page_preloader{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    /* transition: 0.5s all; */
}

#loading{
    width: 75px;
    height: 75px;
    border: 5px solid #0071b5;
    border-top: 5px solid white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: 2s spin infinite linear;
}

.done{
    opacity: 0 !important; 
    visibility: hidden !important; 
}

@keyframes spin {
    from{
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to{
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#menu-frame{
    display: none;
    background-color: #ffffff00;
    justify-content: center;
    flex-direction: column;
    width: 30px;
    height: 30px;
    align-self: flex-end;
}

#menu{
    display: none;
    justify-self: center;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
}

#menu::before, #menu::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    transition: all .2s ease-in-out;
}

#menu::before{
    transform: translateY(-10px);
}

#menu::after{
    transform: translateY(10px);
}

.sortPosts{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    max-width: 1100px;
    height: 50px;
    gap: 20px;
    margin: 10px auto;
    padding: 10px;
    /* background-color: white; */
}

.sortOption{
    background-color: #ffffff00;
    display: flex;
    flex-direction: row;
}

.sortOption input{
    width: 100px;
}

#searchIcon{
    width: 30px;
    height: 30px;
    padding: 2px;
    margin-right: 0;
    background-color: #ffffff;
}

#searchBar{
    align-self: flex-end;
    flex-direction: row;
}

.sortPosts:last-child{
    order: 1;
}

.links{
    display: flex;
    flex-direction: column;
    justify-self: end;
    margin-top: 30px;
}

.tags{
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: 50px;
    margin-top: 30px;
    /* justify-content: space-between; */
}


.tag{
    display: flex;
    flex-direction: row;
    margin-top: 7px;
    height: 24px;
    line-height: 24px;
}

.tag p{
    line-height: 35px;
    font-size: 1.6rem;
}

.tag:nth-child(4){
    width: 150px;
    justify-self: end;
}

.icon{
    width: 20px;
    height: 20px;
    align-self: center;
    margin-right: 5px;
}

h2{
    font-weight: bold;
    margin: 15px 0;
}

.postFull{
    margin: 20px;
}

.postFull p{
    /* margin: 15px 0; */
    /* line-height: 30px; */
    font-size: 1.4rem;
}

.positionDescription ul{
    padding-left: 20px;
    font-size: 1.4rem;
    
}

.postFull ul{
    padding-left: 15px;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

li{
    font-size: 1.4rem;
}

.hidden{
    display: none !important;
}

.anonceBody{
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
    
}

.anonceImg{
    object-fit: contain;
    width: 150px;
    height: 150px;
}

.anonces{
    margin: 0 auto;
    width: 100%;
    /* height: 75vh;
    overflow-y: scroll; */
}

.anonceUnit{
    /* -moz-transition: max-height .2s ease-in;
    -o-transition: max-height .2s ease-in;
    -webkit-transition: max-height .2s ease-in;
    transition: max-height .2s ease-in; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1100px;
    min-width: 320px;
    height: 230px;
    /* border: 1px solid black; */
    /* border-radius: 15px; */
    background-color: #ffffff;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
    -webkit-box-shadow: 1px 2px 15px -2px rgba(0,0,0,0.96); 
    box-shadow: 1px 2px 15px -2px rgba(0,0,0,0.96);
}

.anonceUnit .anonceBody{
    position: relative;
    overflow-y: hidden;
    height: 300px;
}

.anonceUnit.active .anonceBody{
    height: auto;
}

.anonceUnit.active .positionDescription::before{
    display: none;
}

.anonceUnit.active{
    height: auto;
    min-height: 500px;
}

.anonceUnit.active .readMore{
    background-color: #ffffff;
    width: 150px;
    height: 25px;
    border-radius: 5px;
    color: #08a54a;
    border: 1px solid #08a54a;
}

.readMore{
    line-height: 25px;
}

/* .anonceUnit.active .readMore::before{
    content: attr(data-content);
} */

#reset, #sendRequest{
    border-radius: 5px;
    width: 100px;
}


.anonceTitle{
    background-color: #fff;
    color: black;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    /* border-radius: 10px; */
    height: 30px;
    line-height: 30px;
}



.readMore{
    position: relative;
    cursor: pointer;
    border-radius: 5px;
    width: 150px;
    font-size: 1.4rem;
    /* padding: 5px 15px; */
    background: #a1a1a1be;
    border: 1px solid black;
    color: #000000;
    display: inline-block;
    align-self: flex-end;
    text-transform: capitalize;
    text-align: center;
    /* border-radius: 10px; */
    margin-top: 10px;
    margin-bottom: 10px;
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;

    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.readMore:hover{
    background-color: #ffffff;
    cursor: pointer;
    border: 1px solid #08a54a;
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;

    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.readMore::before{
    line-height: 25px;
}

.applyLink{
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;
    font-size: 1.6rem;
    width: 150px;
    height: 35px;
    background-color: #0071b5;
    color: white;
    text-align: center;
    float: right;
    line-height: 35px;
    text-decoration: none;
    border-radius: 5px;
    /* border-radius: 10px; */
    align-self: flex-end;
}

.applyLink:hover{
    -moz-transition: background .2s ease-in;
    -o-transition: background .2s ease-in;
    -webkit-transition: background .2s ease-in;
    transition: background .2s ease-in;
    background-color: #08a54a;
    color: white;  
}

.flex-direction-col{
    flex-direction: column !important;
}

.positionAbsolute{
    position: absolute !important;
    right: 10px !important;
}

.dropdown{
    height: 360px !important;
    transition: height .1s ease-in-out;
}



@media screen and (min-width: 120px) and (max-width: 768px) {

    body{
        font-size: 10px;
        width: 100%;
        display: block;
    }

    #menu-frame{
        display: flex;
    }

    #menu{
        display: block;
    }

    .open #menu::before{
        transform: translateY(2px) rotate(45deg) ;
    }

    .open #menu:after{
        transform: translateY(-1px) rotate(-45deg);
    }

    .open #menu{
        background-color: #0071b5;
        transition: all .2s ease-in-out;
    }

    #wrapper{
        width: 90%;
    }

    #wrapper h4{
        font-size: 2.6rem;
        line-height: 3rem;
        width: 100%;
    }

    #applyForm{
        padding: 1rem;
    }

    #applyNow h5{
        width: 100%;
        font-size: 2.4rem;
        line-height: 3rem;
    }

    #applyNow p{
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .scroll{
        width: 50px;
        height: 50px;
        border: 3px solid #0070b585;
        border-radius: 50%;
        background-color: #ffffff7e;
    }
    
    .scroll-inner{
        transform: rotate(45deg);
        width: 15px;
        margin: 17px auto;
        height: 15px;
        border-left: 3px solid #0070b585;
        border-top: 3px solid #0070b585;
    }

    #toTop{
        bottom: 5px;
        right: 5px;
        width: 50px;
        height: 50px;
    }

    #toTopBig{
        display: none;
    }

    #toTopMini{
        display: block;
    }

    .anonces{
        width: 100%;
        margin: 0 auto;
    }

    .anonceUnit{
        margin: 0 auto;
        width: calc(100% - 10px);
        height: 250px;
        /* border-radius: 15px; */
        padding: 5px;
        margin-top: 5px;
    }

    

    .anonceBody{
        flex-direction: column;
        justify-content: space-between;
        padding: 10px;
    }

    

    .anonceTitle{
        background-color: #fff;
        color: black;
        text-align: center;
        /* border-radius: 10px; */
        height: 30px;
        line-height: 30px;
    }

    .tags{
        display: block;
        height: 120px;
        /* flex-direction: column;
        align-content: flex-end; */
        margin: 0;
    }

    .tag p{
        font-size: 1.2rem;
    }

    .links{
        margin: 0;
    }


    .positionDescription.hidden .tag:nth-child(1) .tag:nth-child(2) .tag:nth-child(3){
        display: none;
    }
    
    .anonceImg{
        object-fit: contain;
        position: absolute;
        right: 10px;
        width: 60px;
        height: 60px;
    }

    .positionDescription{
        position: relative;
        height: 170px;
        width: 85%;
        text-align: justify;
        margin-top: 0;
        margin-left: 0;
        margin-right: 5px;
        overflow: hidden;
    }

    .postFull{
        margin: 0;
    }
    .anonceUnit .anonceBody .positionDescription::before{
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        background: linear-gradient(transparent, white) ;
    }

    .applyLink{
        height: 25px;
        background-color: #0071b5;
        color: white;
        text-align: center;
        line-height: 25px;
        text-decoration: none;
        /* border-radius: 10px; */
    }

    .sortPosts{
        flex-direction: column;  
        height: 50px;
        transition: height .1s ease-in-out;
        background-color: #0071b5;
        color: white;
        margin: 0 auto;
    }
    
    .sortOption{
        display: flex;
        flex-direction: column;
    }

    input, select, option{
        width: 100%;
        height: 25px;
        font-size: 1.6rem;
    }

    .sortOption input{
        width: 100%;
    }

    #menu{ display: block;}

    #menu div{
        display: flex ;
    }

    #reset{
        align-self: end;
        background-color: #000000;
    }

    #sendRequest{
        align-self: end;
    }

}