@font-face {
    font-family: 'Kalpurush';
    src: url('../fonts/bengali/Kalpurush.ttf');
}
@font-face {
    font-family: 'Secret Typewriter';
    src: url('../fonts/other/veteran_typewriter.ttf');
}
.bengali {
    font-family: 'Nunito', 'Kalpurush', sans-serif;
    font-weight: 300;
    font-size: 120%;
}
.navbar-brand-bengali {
    font-family: 'Nunito', 'Kalpurush', sans-serif;
    font-weight: bolder;
    font-size: 120%;
}
html, body {
	width: 100% !important;
	height: 100% !important;
    color: #444;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    background-color: #fff;
    background-attachment: fixed;
	background-position: left center;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;

    font-family: 'Raleway', sans-serif;
    font-weight: 100;
}

h1 {
    font-size: 42px;
    font-weight: 400;
}
h2 {
    font-size: 36px;
    font-weight: 400;
}
h3 {
    font-size: 24px;
    font-weight: 500;
}
h4 {
    font-size: 20px;
    font-weight: 500;
}
h5 {
    font-size: 18px;
    font-weight: 700;
}
h1, h2, h3, h4, h5 {
    text-transform: uppercase;
    color: #333;
    margin: 0px;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}

/* BUTTONS and LINKS */

a {
    color: #8eb640;
}
a:hover, a:focus {
    color: #222;
    text-decoration: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    outline-offset: none;
}

.btn-success {
    background-color: #72a411;
    border: 1px solid #72a411;
}
.btn-success:hover {
    background-color: #628d0f;
    border: 1px solid #628d0f;
}
.btn-danger {
    background-color: #d40303;
    border: 1px solid #d40303;
}
.btn:active, .btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.btn-custom {
    text-transform: uppercase;
    color: #fff;
    background-color: #72a411;
    border: 0;
    padding: 14px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.5s;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
    color: #fff;
    background-color: #628d0f;
}

/* Design */

hr.eighty {
    height: 2px;
    width: 80px;
    text-align: center;
    position: relative;
    background: #8eb640;
    margin: 20px auto 30px;
    border: 0;
}
.heading-border { display: inline-block; padding-bottom: 10px; border-bottom: 2px solid #8eb640; }

/* NAVIGATION */

#menu {
    padding: 20px;
    transition: all 0.8s;
}
#menu.navbar-default {
    background-color: rgba(248, 248, 248, 0);
    border-color: rgba(231, 231, 231, 0);
}
#menu a.navbar-brand {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    color: #72a411;
    font-weight: 700;
    letter-spacing: 1px;
}
#menu.navbar-default .navbar-nav > li > a {
    text-transform: uppercase;
    color: #ddd;
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    margin: 10px 15px 0 15px;
}
#menu.navbar-default .navbar-nav > li > a:hover {
    color: #72a411;
}
.on {
    background-color: #262626 !important;
    padding: 0 !important;
    padding: 10px 0 !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #8eb640 !important;
    background-color: transparent;
    border-bottom: 2px solid #72a411;
}
.navbar-toggle {
    border-radius: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #8eb640;
    border-color: #8eb640;
}
.navbar-default .navbar-toggle:hover>.icon-bar {
    background-color: #FFF;
}

@media only screen and (max-width: 991px) {
    #menu.navbar-default .navbar-nav > li > a {
        font-size: 14px;
        margin: 10px 8px 0 8px;
    }
}

/* delete me */
@media only screen and (max-width: 767px) {
    .nav .page-scroll {
    	background-color: rgba(248, 248, 248, .4);
    	border-color: #72a411 !important;
    	padding-left: 10px !important;
    }
}

/* HERO */

.intro {
    display: table;
    width: 100%;
    padding: 0;
    background-color: #e5e5e5;
    background-image: url(../img/intro-bg.jpg);
    background-repeat: no-repeat;
    background-attachment: unset;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.intro .overlay {
    background: rgba(0,0,0,0.4);
}
.intro .intro-text {
    text-align: center;
    padding: 220px 15px 180px;
}
.intro h1 {
    font-family: 'Dancing Script', 'Kalpurush', cursive;
    font-weight: 500;
    color: #fff;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: none;
}
.intro h1.bengali {
    font-size: 70px;
}
.intro h1.english {
    font-size: 60px;
}
.intro p {
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 40px;
}

@media only screen and (max-width: 768px) {
    .intro .intro-text {
        padding: 100px 15px 50px;
    }
    .intro h1 {
        margin-top: 0;
        margin-bottom: 15px;
    }
    .intro h1.bengali {
        font-size: 60px;
    }
    .intro h1.english {
        font-size: 52px;
    }
    .intro p {
        font-size: 28px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 659px) {
    .intro h1.bengali {
        font-size: 48px;
    }
    .intro h1.english {
        font-size: 41px;
    }
    .intro p {
        font-size: 24px;
    }
    .btn-custom {
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media only screen and (max-width: 599px) {
    .intro h1.bengali {
        font-size: 44px;
    }
    .intro h1.english {
        font-size: 38px;
    }
    .intro p {
        font-size: 20px;
    }
}

@media only screen and (max-width: 520px) {
    .intro h1.bengali {
        font-size: 40px;
    }
    .intro h1.english {
        font-size: 35px;
    }
    .intro p {
        font-size: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .intro h1.bengali {
        font-size: 33px;
    }
    .intro h1.english {
        font-size: 28px;
    }
    .intro p {
        font-size: 18px;
    }
    .btn-custom {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* SECTION */

.section-title {
    margin: 0px;
}
.section-title .overlay {
    padding: 80px 0 60px;
    background: rgba(0, 0, 0, 0.7);
}
.section-title h2 {
    color: #fff;
}
.section-title p {
    font-size: 22px;
    color: rgba(255,255,255,0.8);
}
.section-title hr.eighty {
    margin-bottom: 40px;
}

.section-body {
    margin-top: 100px;
    margin-bottom: 100px;
}

/* ABOUT */

#about {
    padding-top: 100px;
}
#about .section-body {
    margin-top: 0px;
    margin-bottom: 100px;
}
#about p {
    line-height: 24px;
    margin-top: 15px;
}

/*MISSION */

#mission .section-title {
    background: #444 url(../img/menu-bg.jpg) center center no-repeat fixed;
    background-size: cover;
}
#mission .just-text .text-block,
#mission .just-text .image-block {
    margin-top: 50px;
    margin-bottom: 0px;
}
#mission .circles .row{
    margin-top: 0px;
}
#mission .just-text h3{
    margin-bottom: 15px;
}

#mission .circle {
    position: relative;
    display: block;
    margin: 50px auto 0px;
    background-color: transparent;
    color: #222;
    text-align: center;
    width: 100%;
    max-width: 280px;
    height: 100%;
    max-height: 280px;
}
#mission .circle:after {
    display: block;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    border-radius: 50%;
    background-color: #eee;
    content: "";
}
#mission .circle__inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#mission .circle__wrapper {
    display: table;
    width: 100%;
    height: 100%;
}
#mission .circle__content {
    display: table-cell;
    padding: 1em;
    vertical-align: middle;
}
#mission .circle h4, #mission .circle p { margin: 0px; }
#mission .circle.circle-one:after   { background-color: #e2c3e2; }
#mission .circle.circle-two:after   { background-color: #c8c8e3; }
#mission .circle.circle-three:after { background-color: #c5d8e0; }
#mission .circle.circle-four:after  { background-color: #c7e4c7; }
#mission .circle.circle-five:after  { background-color: #c7e4c7; }
#mission .circle.circle-six:after   { background-color: #c5d8e0; }
#mission .circle.circle-seven:after { background-color: #c8c8e3; }
#mission .circle.circle-eight:after { background-color: #e2c3e2; }/*
#mission .circle.circle-five:after  { background-color: #fbfb6f; }
#mission .circle.circle-six:after   { background-color: #ffc965; }
#mission .circle.circle-seven:after { background-color: #fe5858; }
#mission .circle.circle-eight:after { background-color: #FFC0CB; } */

#mission dt {
    margin-top: 20px;
}
#mission dt, #mission dd {
    margin-left: 0px;
    text-align: left;
}
#mission img.img-right{
    float: right;
}

/* BRANCHES */

#branches h2 {
    font-size: 34px;
}
#branches .central-zone {
    padding-right: 50px;
    text-align: right;
    border-right: 0px solid #999;
}
#branches .zonal-names {
    padding-left: 50px;
    text-align: left;
    border-left: 2px solid #999;
}
#branches ul li { margin-top: 15px; }
#branches .branches .central-zone li i.far { margin-left: 15px; }
#branches .branches .zonal-names  i.fa-li  { margin-left: -15px; margin-top: -4px; }
@media only screen and (max-width: 767px) {
    #branches .central-zone {
        padding-right: 15px;
    }
    #branches .zonal-names {
        padding-left: 15px;
    }
}

#branches .committee {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #f0f0f0;
}
#branches .committee-border {
    margin-top: 4px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-right: 4px solid white;
    border-left: 4px solid white;
}

#branches dl.running-committee,
#branches dl.ex-committee {
    margin-top: 20px;
}
#branches dl.ex-committee {
    color: #777;
    text-shadow: none;
}
@media (min-width: 400px) {
    .dl-horizontal dt {
        float: left;
        width: 160px;
        clear: left;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .dl-horizontal dd {
        margin-left: 180px;
    }
}
@media (max-width: 399px) {
    .dl-horizontal dd {
        margin-bottom: 15px;
    }
}

#branches dl.running-committee dt,
#branches dl.ex-committee dt {
    font-weight: normal;
}

#branches .committee-border .col-left {
    border-right: 0px solid white;
}
#branches .committee-border .col-right {
    border-left: 4px solid white;
}

@media only screen and (max-width: 991px) {
    #branches .committee-border,
    #branches .committee-border .col-left,
    #branches .committee-border .col-right {
        border: none;
    }
}

/*
#branches .branches {
    border-right: 0px solid #8eb640;
}
#branches .committee {
    border-left: 4px solid #8eb640;
}

#branches .ex-committee {
    color: #999;
    text-shadow: none;
}
#branches .ex-committee h2 {
    color: #999;
    text-shadow: none;
}
#branches dl {
    margin-top: 20px;
}
*/

/* ELECTION */

#election .section-title {
    background: #444 url(../img/election-bg.jpg) center center no-repeat fixed;
    background-size: cover;
}
#election .otc-guest h4 {
    margin-top: 30px;
    font-size: 24px;
}
#election .otc-guest .name {
    font-size: 22px;
    display: inline-block;
    margin-top: 20px;
}
#election .elected {
    margin-top: 30px;
    padding-top: 50px;
    padding-bottom: 0px;
    background-color: #f0f0f0;
}
#election .elected-border {
    margin-top: 4px;
    padding-top: 0px;
    border-right: 4px solid white;
    border-left: 4px solid white;
}

#election dl.elected-members,
#election dl.election-commission {
    margin-top: 20px;
}
#election dl.elected-members dt {
    font-weight: normal;
}
#election dl.election-commission dt {
    font-weight: normal;
}
#election dl.election-commission dd {
    margin-left: 50px;
    font-size: 90%;
}
#election dl.election-commission .name {
    font-size: 120%;
}

#election .elected-border .col-left {
    border-right: 0px solid white;
}
#election .elected-border .col-right {
    border-left: 4px solid white;
}
@media only screen and (max-width: 991px) {
    #election .elected-border,
    #election .elected-border .col-left,
    #election .elected-border .col-right {
        border: none;
    }
}

/* PORTFOLIO */

#portfolio .section-title {
    background: #444 url(../img/gallery-bg.jpg) center center no-repeat fixed;
    background-size: cover;
    margin-bottom: 50px;
}
.categories {
    padding-bottom: 30px;
    text-align: center;
}

ul.cat li {
    display: inline-block;
}
ol.type li {
    display: inline-block;
    margin: 0 10px;
    padding: 20px 0;
}
ol.type li a {
    color: #555;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 24px;
    background: #eee;
    border: 0;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
ol.type li a.active {
    color: #fff;
    background-color: #8eb640;
}
ol.type li a:hover {
    color: #fff;
    background-color: #8eb640;
}

.portfolio-item {
    margin: 15px 0;
}
.portfolio-item .hover-bg {
    overflow: hidden;
    position: relative;
    border-radius: 3px;
}
.portfolio-item .hover-bg:before {
    display: block;
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.hover-bg .hover-text {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 30% 0 0 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
    opacity: 0;
    color: #fff;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all 0.3s;
    font-size: 17px;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.hover-bg:hover .hover-text>h4 {
    opacity: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.hover-bg:hover .hover-text {
    opacity: 1;
}

/* isotope */

.isotope-item {
    z-index: 2
}
.isotope-hidden.isotope-item {
    z-index: 1
}
.isotope, .isotope .isotope-item {
    /* change duration value to whatever you like */
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.isotope-item {
    margin-right: -1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.isotope {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}
.isotope .isotope-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

/* NICE COMMENT SECTION */

.nice-comment {
    padding: 80px 0;
    color: #fff;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8eb640+50,779936+100 */
    background: rgb(142,182,64); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(142,182,64,1) 50%, rgba(119,153,54,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(142,182,64,1) 50%, rgba(119,153,54,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(142,182,64,1) 50%, rgba(119,153,54,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8eb640', endColorstr='#779936', GradientType=0 ); /* IE6-9 */
}
.nice-comment .overlay {
    padding: 80px 0;
    background: #8eb640;
}
.nice-comment h2 {
    font-family: 'Open Sans', 'Kalpurush', sans-serif;
    color: #fff;
    font-weight: 400;
    margin: 0;
}
.nice-comment hr {
    background: #fff;
}
.nice-comment h3 {
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    margin: 5px 0;
}

/* TEAM */

#team {
    color: #fff;
    background: #444 url(../img/team-bg.jpg) center top no-repeat fixed;
    background-size: cover;
}
#team .overlay {
    padding: 80px 0 60px;
    background: rgba(0, 0, 0, 0.7);
}
#team h2, #team p {
    color: #fff;
}
#team hr {
    background: #fff;
}
#team h3 {
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    margin: 5px 0;
}
#team img {
    max-width: 280px;
    width: 100%;
    border-radius: 3px;
}
#team .thumbnail {
    background: transparent;
    border: 0;
}
#team .thumbnail .team-img {
    display: inline-block;
    position: relative;
}
#team .thumbnail .team-img:before {
    display: block;
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
#team .thumbnail .caption {
    padding-top: 10px;
}
#team .thumbnail .caption p {
    color: rgba(255,255,255,0.7);
    padding: 0 10px;
    font-size: 15px;
}

/* HISTORY */

#history {}

#history .section-title .overlay {
    padding: 100px 0 0px;
    background: #FFF;
}
#history .section-body {
    margin-top: 50px;
    margin-bottom: 80px;
}
#history .section-title h2 {
    color: #333;
}
#history p {
    text-align: justify;
    margin-top: 1.5em;
}
#history ul {
    margin-left: 3em;
    list-style-type: circle;
}
#history ol {
    margin-left: 3em;
    list-style-type: decimal;
}

/* CONTACT */

#contact {}

#contact .section-title .overlay {
    padding: 100px 0 25px;
    background: #FFF;
}
#contact .section-body {
    margin-top: 25px;
    margin-bottom: 100px;
}
#contact .section-title h2 {
    color: #333;
}
#contact .section-title p {
    color: #777;
}

#contact form {
    padding: 0;
}

#contact h3 {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 400;
    color: #555;
}
#contact .text-danger {
    color: #cc0033;
    text-align: left;
}
label {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    float: left;
}
#contact .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #444;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}
#contact .form-control:focus {
    border-color: #999;
    outline: 0;
    -webkit-box-shadow: transparent;
    box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
    color: #777;
}
.form-control:-moz-placeholder {
    color: #777;
}
.form-control::-moz-placeholder {
    color: #777;
}
.form-control:-ms-input-placeholder {
    color: #777;
}
#contact .contact-item {
    margin: 20px 0 40px 0;
}
#contact .contact-item span {
    font-weight: 400;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: inline-block;
}
#contact .contact-item p {
    font-size: 16px;
}

/* Footer Section*/

#footer {
    background: #262626;
    padding: 50px 0 0 0;
}
#footer h3 {
    color: #8eb640;
    font-weight: 100;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
#footer .copyrights {
    padding: 20px 0px 30px;
    margin: 50px auto 0px;
    background: rgb(119,153,54); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(119,153,54,1) 0%, rgba(142,182,64,1) 50%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(119,153,54,1) 0%, rgba(142,182,64,1) 50%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(119,153,54,1) 0%, rgba(142,182,64,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#779936', endColorstr='#8eb640', GradientType=0 ); /* IE6-9 */
}
#footer .social {
    margin: 20px 0 30px 0;
}
#footer .social ul li {
    display: inline-block;
    margin: 0 20px;
}
#footer .social i.fab {
    font-size: 26px;
    padding: 4px;
    color: #fff;
    transition: all 0.3s;
}
#footer .social i.fa:hover {
    color: #eee;
}
#footer p {
    font-size: 15px;
    color: rgba(255,255,255,0.8)
}
#footer .contacts p {
    font-weight: 300;
}
#footer a {
    color: #f6f6f6;
}
#footer a:hover {
    color: #333;
}

ul, ol {
    list-style: none;
}
ul, ol {
    padding: 0;
    webkit-padding: 0;
    moz-padding: 0;
}
