
@font-face {

  font-family: '29LTBukra-Regular';

  src: url('fonts/29LTBukra-Regular.ttf');

  src: url('fonts/29LTBukra-Regular.svg');

  src: url('fonts/29LTBukra-Regular.eot');

  src: url('fonts/29LTBukra-Regular.woff');
}

@font-face {

  font-family: '29LTBukra-Bold';

  src: url('fonts/29LTBukra-Bold.ttf');

  src: url('fonts/29LTBukra-Bold.svg');

  src: url('fonts/29LTBukra-Bold.eot');

  src: url('fonts/29LTBukra-Bold.woff');
}

body,html{

    width: 100%;

    height: 100%;
}

body{

    font-family: '29LTBukra-Regular';

    font-size: 14px;

    background: #7f7f7f url(../images/back.jpg) no-repeat;

    background-position: left top;

    background-size: cover;
}

button{

    cursor: pointer;
}

button:focus , a:focus{

    outline: 0;

}


/* Let's get this party started */
::-webkit-scrollbar {
    width: 3px;
    background: #fff;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background: #cecece ;
}
::-webkit-scrollbar-thumb:window-inactive {
	background: #cecece ;
}



.overlay{

    position: fixed;

    background: rgba(0, 0, 0, 0.8);

    width: 100%;

    height: 100%;

    right: 0;
    top: 0;
    left: 0;
    bottom: 0;

    z-index: 99;

    opacity: 0;

    visibility: hidden;

    /*transition: 0.3s;*/
}

.show.overlay{

    opacity: 1;

    visibility: visible;
}

.projects .title{

    /*padding-top: 90px;*/

    /*margin-bottom: 65px;*/

}

.projects .title h1{

    color: #1b743b;

    font-size: 24px;

    font-family: '29LTBukra-Bold';

    margin: 15px 0 15px 0;

    line-height: 35px;

}

.projects .title p{

    color: #0f5027;
    margin: 0;
    width: 550px;
    text-align: justify;
    font-size: 16px;
    background: #ffffffab;
    padding: 10px;
    border-radius: 10px;
}

.project-card{

    background: #fff;

    border-radius: 10px;

    background-position: -110px 0;

    position: relative;

    margin-bottom: 30px;

    transition: 0.3s;


    height: 250px;

    cursor: pointer;

}

.project-card .green{

    font-size: 14px;

    color: #4ab25d;

    margin: 0 0 17px 0;

    font-family: '29LTBukra-Bold';

}

.project-card a{

    display: table;

    color: #188371 !important;

    font-size: 18px;

    position: absolute;

    bottom: 25px;

    right: 25px;

}

.close-project h3{

    color: #666666;

    font-size: 14px;

    margin: 0 0 17px 0;

    font-family: '29LTBukra-Bold';

}

.close-project p{

    color: #c6c6c6;

}

.close-project span , .close-project i{

    color: #c6c6c6;

}

.close-project a{

    color: #9b9b9b;

    pointer-events: none;

    cursor: default;

}

.close-project{

    background: #fff url(../images/icon-1.svg) no-repeat;

    background-position: -123px 0;

}

.underway{

    background: #d75d47 url(../images/icon-1.svg) no-repeat;

    background-position: -118px 0;

}

.underway .white{

    font-size: 14px;

    color: #fff;

    margin: 0 0 17px 0;

    font-family: '29LTBukra-Bold';

}

.underway a{

    color: #fff;

}

.form-reg{

    display: none;

    opacity: 0;

    position: relative;

    top: 0;

    /*transition: 0.3s;*/

}

.form-reg .form-group{

    margin-bottom: 22px;
}

.form-reg .form-group .form-control{

    border: 1px solid #e1e1e1;

    border-radius: 7px;

    color: #949494;

    font-size: 14px;

    height: 40px;

    -webkit-appearance: none;

    transition: 0.2s;

}

.form-reg .form-group input[type=number]::-webkit-inner-spin-button,

.form-reg .form-group input[type=number]::-webkit-outer-spin-button {

  -webkit-appearance: none;

  margin: 0;

}

.form-reg .form-group .form-control:focus{

    box-shadow: 0px 0px 15px 5px #ededed;

    border: 1px solid transparent;

}

.form-reg .form-group button{

    background: #9fcdb0;

    color: #fefefe;

    text-align: center;

    width: 100%;

    font-size: 15px;

    border: 0;

    border-radius: 7px;

    padding: 7px 0;

    transition: 0.3s;
}

/*.form-reg .form-group button:hover{

    background: #f36b53;
}*/

.form-reg .form-group button.active{
    background: #1a753c;
}

.project-card:before{

    content: '';

    background: #fff url(../images/card.jpg) no-repeat;

    background-size: cover;

    position: absolute;

    top: 0;

    right: 0;

    left: 0;

    width: 100%;

    height: 0;

    opacity: 0;

    border-top-right-radius: 8px;

    border-top-left-radius: 8px;

    transition: 0.3s;

}

.open.project-card:before{

    height: 188px;
}


.open.project-card .details{

    position: absolute;

    top: 70px;

    /*transition: 0.3s;*/
}

.open.project-card{

    background: #fff;

    background-position: -130px 0;

    position: relative;

    z-index: 999;
}


.project-card .open-card{

    height: 100%;

    /*transition: height 0.3s;*/

    background: #fff url(../images/icon-1.svg) no-repeat;

    padding: 25px;

    border-radius: 10px;

    background-position: -110px 0;

    overflow: hidden;
    background-position: 0 50%;
    background-size: 170px;
    /*transition: 0.3s;*/
}


.open.project-card .open-card , .open.project-card:hover .open-card{

    height: auto;

    background: #fff url(../images/card.jpg) no-repeat !important;

    transform: translateY(-45%) !important;

    background-size: contain !important;

}

.project-card:hover .open-card{
    background: #1b743b url(../images/icon-1.svg) no-repeat !important;
    color: #fff;
    background-position: 20px 50% !important;
    background-size: 120px !important;
}

.project-card:hover .green , .project-card:hover #reg , .project-card .register label{
    color: #fff !important;
}
.project-card.open .green , .project-card.open #reg{
    color: #fff !important;
}
.project-card .register label , .project-card.open:hover .register label{
    color: #000 !important;
}

.open.project-card #reg{

    opacity: 0;

    transition: 0.3s;

    display: none;

}



.open.project-card .form-reg{

    display: block;

    opacity: 1;

    padding-top: 160px;

}

.project-card .close{

    color: #fff;

    font-size: 27px;

    position: relative;

    top: -20px;

    left: -10px;

    width: 20px;

    height: 20px;

    display: none;

    opacity: 0;

}

.open.project-card .close{

    display: block;

    opacity: 1;

}


.project-card .close img{

    width: 100%;

}

.close-project{
    cursor: inherit;
}

.close-project:hover .open-card{

    background: #fff url(../images/icon-1.svg) no-repeat;
    background-size: 170px;
    background-position: 0 50%;
    filter: grayscale(1);
}

.close-project:hover .open-card .green, .close-project:hover .open-card a{

    color: #9b9b9b;
}

.open.project-card:hover .open-card span , .open.project-card:hover .open-card i{

    color: #6ab812;
}

.open.project-card:hover .open-card h3, .open.project-card:hover .open-card p{

    color: #000;
}

.register {
    padding-top: 20px;
}

.project-card.active.open .remaining{
    display: none;
}


/*details-page*/

.pro-background{
    background: url(../images/back.jpg) no-repeat;
    height: 400px;
    background-attachment: fixed;
    background-size: cover;
}

#map{
    width: 100%;
    height: 350px;
}


.details-content .pro-title{
    padding: 30px;
    border-radius: 15px;
    box-shadow: 2px 9px 15px 1px rgba(127, 127, 127, 0.1);
    background: #fff;
    margin: -150px 0 20px 0;
}

.details-content .pro-title .time{
    float: right;
    padding: 20px 0 0 0;
}

.details-content .pro-title .time h1{
    color: #8ec541;
    font-size: 28px;
    margin: 0 0 20px 0;
    font-family: '29LTBukra-Bold';
}


.details-content .pro-title .time span{
    color: #8ec541;
    font-size: 16px;
    font-family: '29LTBukra-Bold';
    margin-left: 40px;
    display: inline-block;
}

.details-content .pro-title .time span i{
    color: #b3b3b3;
    margin-left: 5px;
    font-size: 20px;
}

.details-content .pro-title .logo-sp{
    float: left;
    width: 120px;
    height: 120px;
    border: 1px solid #ebebeb;
    border-radius: 15px;
    text-align: center;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row; /* works with row or column */
    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}


.details-content .pro-title .logo-sp img{
    width: 80px;
    height: auto;
}


.details-content h3{
    color: #d75d47;
    font-size: 18px;
    font-family: '29LTBukra-Bold';
    margin: 20px 0 10px 0;
}

.details-content p{
    color: #6c6c6c;
    font-size: 16px;
    text-align: justify;
    line-height: 25px;
    margin-bottom: 20px;
}

.content-par{
    padding: 0 30px;
}



.box{
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    color: #1b743b;
    font-family: '29LTBukra-Bold';
    text-align: center;
    margin-bottom: 15px;
}

.box p{
    margin: 0;
}


.modal-header{
    display: table !important;
}

.modal-header .modal-title img{
    width: 140px;
    margin-left: 10px;
}

@media (max-width: 1024px){

    .projects .title{

        text-align: center;

    }

    .projects .title p{

        /*width: 100%;*/

        text-align: center;

    }

    .project-card{

        background-position: -160px 0;

    }

    .open .project-card{

        background-position: -170px 0;

    }

    .open.project-card .details{
        top: 95px;
    }

    .projects .title{
        margin-bottom: 40px;
    }

    .logo-22{
        top: 195px !important;
    }
    .logo-11{
        top: 140px !important;
    }


}

@media (max-width: 991.9px){
    .logo-11{
        position: static !important;
            margin-bottom: 10px;
    }
    .projects .title p{
        width: 100%;
    }
    body{
       height: 100vh;
    background-size: inherit!important;
    }
}

@media (max-width: 768px){

    .open.project-card .details {
        top: 115px;
    }

    .open.project-card.active .open-card{
        background-size: 100% !important;
        background-position: 0 -25% !important;
    }


}

@media (max-width: 500px){
    .open.project-card .details {
        top: 50px;
    }
}

@media (max-width: 480px){

    .open.project-card .details {
        /*top: 80px;*/
    	position: relative;
    }
    .details-content .pro-title .time h1{
        font-size: 20px;
        text-align: center;
    }
    .details-content .pro-title .time span{
        margin-left: 0px;
    }
    .details-content .pro-title .logo-sp{
        margin: auto;
        float: none;
    }
    .details-content .pro-title .time{
        margin-bottom: 20px;
    }

    .open.project-card .form-reg{
        padding-top: 100px;
    }
    .project-card.open .green, .project-card.open #reg {
        color: #ffffff !important;
    }
}

@media (max-width: 400px){
    .logo-11{
        width: 100% !important;
    }
}

@media (max-width: 360px){
    .open.project-card .form-reg {
        padding-top: 80px;
    }
    .open.project-card .details {
        top: 60px;
    }
}

@media (max-width: 320px){
    .open.project-card.active .open-card {
        background-position: 0 -20% !important;
    }
    .project-card .open-card , .project-card:hover .open-card{
        background-size: 90px !important;
    }
}
