h1, .h1, h2.h1 {
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
}
.btn-default {
    padding: 9px 40px;
}
.project-img:hover, .project-img.hover {
    box-shadow: none;
}

#finished_projects .project-item {
    height: 100%;
    position: relative;
    padding-bottom: 0;
    background-color: #F5F5F5;
    border-radius: 5px;
}


.irb input[type="checkbox"] {
    display: none;
}

.irb input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    width: 132px;
    height: 40px;
    background-color: #EFEFEF;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.irb input[type="checkbox"] + label::before {
    content: '';
    display: inline-block;
    width: 27px;
    height: 27px;
    border-radius: 100%;
    background-color: white;
    position: absolute;
    top: 6px;
    right: 12px;
    transition: all 0.3s ease-out;

    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.18);
}

.irb input[type="checkbox"] + label::after {
    color: white;
    position: absolute;
    top: 10px;
    left: 24px;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease-out;
}

.irb input[type="checkbox"]:checked + label {
    background-color: #EFEFEF;
}

.irb input[type="checkbox"]:checked + label::before {
    right: 95px;
}
.project-img {
    border-radius: 0;
}
.popo .project-info {
    padding-bottom: 5px;
}


.project-info {
    padding-bottom: 30px;
}
.total-posts {
    padding-top: 10px;
}

#mapp {
    background-image: url("/static/map3.png");
    background-repeat: no-repeat;
    background-position:  center -100px;
    height: 800px;

    padding-top: 20px;

    position: relative;
}
#finished_projects {
    padding-top: 20px !important;

}
#mapp h1,#finished_projects h1 {
    padding-top: 30px;
    line-height: 42px;
}
#mapp .m-item {
    position: absolute;
}

#mapp .m-item.active {
    background-image: url(/static/mapmark2_selected.png);
    background-size: 31px;
    background-repeat: no-repeat;
    background-position: center 13px;
}

.m-item.active img {
    opacity: 0;
}
.m-item img {
    width: initial !important;
    max-width: 100%;
    transform: scale(0.7);
    transition: all 0.1s ease;
}
.m-item:hover img {
    transform: scale(0.8);

}
#mapp .m-item a {
    border: 0;
    position: relative;
}
.m-item a span {
    position: absolute;
    font-weight: bold;
    left: 0;
    top: 0;
    line-height: 12px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size:12px ;
}
.popo {
    position: absolute;
    right:0;
    top:0px;
    background: #FFFFFF;
    box-shadow: -24px 0px 44px rgba(0, 0, 0, 0.35);

    z-index: 20;
    width: 42%;
}
.popo .s-texts {
    font-size: 16px;
    line-height: 24px;
}
.popo .project-info {
    background-color: #fff;
}


.popo h3 {
    font-size: 26px;
    line-height: 32px;
    padding: 5px 0;
    margin-bottom: 0;
}
.popo h3 a {
    border:0
}
.popo .p-switch-text>div {
    font-size: 14px;

}
.popo .p-switch-text {
    padding-bottom: 9px;
}
.popo .p-switch div {
    width: 33.33%;
    float: left;
    font-weight: bold;
    cursor: pointer;
    padding: 0 10px;
}

.popo {

}
.popo-close {
    position: absolute;
    z-index: 20;
    top:27px;
    right: 27px;
    width: 20px;
    height: 20px;
}
.popo-close img {
    width: 100%;
    cursor: pointer;
}

@media (max-width: 1200px) {
    h1, .h1 {
        font-size: 30px;
        line-height: 42px;
    }
    .p-switch-text>div {
        display: inline-block;
        padding: 5px 10px;
    }
}




.project-info {
    background-color:#F5F5F5;
    padding:20px 28px;
    position: relative;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.ba-project.project-item h3 {
    margin-top: 5px;
    padding-right: 20px;
    height: 55px;
}
.grey {
    color: rgba(0, 0, 0, 0.2);
}
.ba-project.project-item h3 a {
    border-bottom: 0;
}
.project-img {
    position: relative;
}
.p-switch {
    position: absolute;
    width: 100%;
    bottom:20px
}
.p-switch div {
    width: 33.33%;
    float: left;
    font-weight: bold;
    cursor: pointer;
    padding: 0 20px;
    color:#efefef;
    text-transform: uppercase;
    text-shadow: 0px 0 0 #000;

}
.p-switch div:hover {
    color:rgba(255,255,255,1)

}
.p-switch:after {
    clear: both;
    display: block;
    content: '';
}
.p-switch-text {
    margin-bottom: 0px;
    margin-left: -8px;
    padding-top: 5px;
}
.p-switch-text>div {
    display: inline-block;
    padding: 5px 32px;
    margin-right: 5px;
    color: #333333;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
}
.p-switch-text>div.active {
    background: rgba(16, 209, 250, 0.3);
    border-radius: 35px;
    color: #333333;

}
.p-switch-text>div:hover {
    background: rgba(16, 209, 250, 0.3);
    border-radius: 35px;
    color: #333333;
    cursor: pointer;
}
.icon-mini {
    position: absolute;
    bottom: 20px;
    right: 18px;
    text-align: right;
}
.icon-mini img {
}

.ratio.ratio50 {

    padding-bottom: 50%;
}
.fr-num {
    background-color: #fff;
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    line-height: 26px;
    position: relative;
    bottom: 0;
    line-height: 40px;
    font-weight: bold;
    font-size: 16px;
}

.text-over-r {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    background: linear-gradient(0deg, #000000 5.23%, rgba(0, 0, 0, 0) 39.94%);
    opacity: 0.7;
    height: 100%;
    width: 100%;


}
.text-over-r-f {
    position: absolute;
    bottom:10px;
    left:29px;
}
.total-posts {
    padding-bottom: 20px;
}

.text-wrap {
    line-height: 21px;
}


.project-body {
    padding: 28px;
}


.project-item.ba-project-active {
    border-radius: 5px;
    overflow: hidden;
}

.project-item h3 a:hover,.popo h3 a:hover,.ba-project.project-item h3 a:hover {
    border-bottom: 1px #02b4da solid;
}
.project-img a:hover h3 {
    border-bottom: 1px #fff solid;
}

@media (max-width: 991px) {
    #mapp {
        display: none !important;
    }
    #finished_projects {
        display: block !important;
    }
    #finished_projects .float-right {
        display: none;
    }
    .special-tags a {
        display: inline-block;
        margin: 5px;
    }

    #finished_projects .project-item {
        margin: 0 -15px;
    }
    .project-info {
        padding: 20px 15px;
    }
    .ba-project.project-item h3 {
        height: auto;
    }
    .text-over-r-f {
        left: 15px;
    }
    .project-item.ba-project-active {
        padding-bottom: 0;
        margin: 0 -15px;
    }
    .project-body {
        padding: 15px;
    }
}
