/* ==========================================================================
   Hassan custom styles  (EpycDev)
   ========================================================================== */

   /* GENERAL UI */
body{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1a2f4e;
}
a{
    text-decoration: none;
}
h1{
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 1;
}
h2{
    font-size: 5rem;
    font-weight: 900;
}
h4{
    font-size: 3.125rem;
    font-weight: 900;
    line-height: 1;
}
h5 {
    font-size: 28px;
    font-weight: 700;
}
h6 {
    font-size: 24px;
    font-weight: 500;
}
hr {
    border-color: #1a2f4e;
    border-width: 2px;
}
.breadcrumb {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}
.breadcrumb a {
    color: #1a2f4e;
}
.breadcrumb .breadcrumb-item{
    font-size: 14px;
    text-transform: uppercase;    
}
.breadcrumb-item + .breadcrumb-item::before{
    color: #1a2f4e;
}
.breadcrumb-item.active{
    color: #b71c1c;
}
header .top-bar{
    background-color: #b71c1c;
    padding: 8px 0;
}
.navbartop {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}
.navbartop li{
    display: inline-block;
}
.navbartop li a{
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: 30px;
    text-decoration: none;
}
.navbartop li a i {
    margin-right: 6px;
}
.main-content {
    background-image: url(../img/overlay.png) ,url(../img/pattern.png);
    background-size: auto,auto;
    background-position: center 110px,center top;
    background-repeat: no-repeat,repeat;
    margin-top: -81px;
    padding-top: 81px;
}
.navbar-dark .navbar-nav .nav-link{
    color: #1a2f4e;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    padding-left: 15px;
    padding-right: 15px;
}
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link{
    background: #b71c1c;
}
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #817e7e;
}
.hero {
    padding: 90px 0;
    overflow: hidden;
}
.hero h1 {
    color: #b71c1c;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
}
.hero h4,
.chief h4 {
    color: #1a2f4e;
    text-transform: uppercase;
    margin: 0;
}
.hero .col-sm-5 {
    position: relative;
}
.cross{
    position: absolute;
    animation-name: tossing;
    -webkit-animation-name: tossing;
    animation-duration: 2.5s;
    -webkit-animation-duration: 2.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    filter: drop-shadow(3px 10px 2px rgba(243, 65, 53,0.3));
    -webkit-filter: drop-shadow(3px 10px 2px rgba(243, 65, 53,0.3));
}
.cross-1 {
    top: -50px;
    left: 10px;
}
.cross-2 {
    left: -550px;
    bottom: 170px;
}
.cross-3 {
    top: -70px;
    right: -560px;
}
.cross-4 {
    top: 250px;
    left: -50px;
}
.cross-5 {
    right: -110px;
    top: 0;
}
.cross-6 {
    right: -640px;
    bottom: 0;
}
.karatemen {
    position: relative;
    left: -280px;
    top: -40px;
    animation: float 3s ease infinite;
}
.we-offer {
    padding-bottom: 40px;
}
.we-offer h2,
.chief h2{
    color: #1a2f4e;
    text-align: center;
    text-transform: uppercase;
}
.offer-box {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
}
.offer-box li {
    border: 2px solid #1a2f4e;
    padding: 20px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    text-align: center;
    margin-right: 8px;
    margin-bottom: 8px;
}
.we-offer .col-sm-5 {
    position: relative;
}
.karatekids {
    position: relative;
    left: -40px;
    animation: float 3.5s ease infinite;
}
.chief {
    padding: 60px 0;
}
.chief h4 {
    text-align: center;
}
.chief h2 {
    color: #b71c1c;
    line-height: 1;
}
.fb-widget {
    width: 100%;
}
.chief .col-sm-7 img {
    display: block;
    margin: 40px auto;
}
.chief a {
    font-size: 1.688rem;
    font-weight: 800;
    color: #1a2f4e;
    text-align: center;
    width: 290px;
    background: #d2d2d2;
    line-height: 75px;
    margin: auto;
    display: block;
    border-radius: 100px;
    text-decoration: none;
}
.footer-top{
    padding: 70px 0 20px;
    background-color: #1a2f4e;
}
.customSlideItem {
    border: 4px solid #ffffff;
    padding: 8px;
}
.customSlideItem img {
    width: 100%;
}
.customSlider .slick-dots li,
.customSlider .slick-dots li button {
    width: 16px;
    height: 16px;
    margin: 0 2px;
}
.customSlider .slick-dots li button {
    border-radius: 50px;
    background: #ffffff;
}
.customSlider .slick-dots li button::before {
    display: none;
}
.slick-dots li.slick-active button::before{
    opacity: 1;
    color: #b71c1c;
}
.customSlider .slick-dots li.slick-active button {
    background: #b71c1c;
}
.footer-top p {
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffffff;
}
.footer-logo {
    margin-bottom: 40px;
}
.footer-top h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.footer-nav {
    padding: 0;
    list-style: none;
    margin: 0;
}
.footer-nav li {
    padding-left: 25px;
    position: relative;
}
.footer-nav li::before {
    content: '';
    border: 4px solid #b71c1c;
    border-radius: 100px;
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
}
.footer-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    line-height: 32px;
}
.footer-bottom {
    background-color: #b71c1c;
    padding: 15px 0;
}
.footer-bottom p {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
    color: #ffffff;
}

/* KICKBOXING PAGE */
.kickboxing h4{
    text-transform: uppercase;
    color: #1a2f4e;
}
.kickboxing .offer-box li {
    margin: 0 36px 35px;
}
.kickboxing {
    padding-bottom: 40px;
}
.class-time {
    padding-bottom: 60px;
}
.table {
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
}
thead .top-head {
    background: #b71c1c;
    text-align: center;
    color: #ffffff;
}
.table thead th {
    width: 1%;
}
thead .top-head h4 {
    font-size: 30px;
    font-weight: 700;
}
thead .top-head p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}
thead .bottom-head {
    background-color: #1a2f4e;
}
.table thead .bottom-head th {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}
.table thead .bottom-head th,
.table tbody td{
    padding: 12px 35px;
}
.table tbody td {
    background: #ffffff;
}
.class-time a {
    color: #1c7af9;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
}
.lesson-fees {
    padding: 0 40px;
}
.packages {
    padding: 0;
    margin: 30px 0;
    list-style: none;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    justify-content: center;
}
.packages li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    width: 265px;
    height: 185px;
    background: #ffffff;
    margin: 0 6px 10px;
    flex-direction: column;
    -moz-box-shadow: 0 1px 3px 3px rgba(0,0,0,0.14);
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.14);
}
.count {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    border-radius: 100px;
    background: #b71c1c;
    margin-bottom: 12px;
    margin-top: 0;
}
.packages p {
    font-size: 16px;
    text-align: center;
    color: #1a2f4e;
    font-weight: 500;
    margin: 0;
    line-height: 20px;
}
.lesson-fees h6{
    color: #b71c1c;
}
.lesson-fees small,
.new-membership small {
    margin-top: -20px;
    display: block;
    margin-bottom: 20px;
    font-size: 16px;
    color: #1a2f4e;
    font-weight: 500;
}
.new-membership .packages {
    padding: 0 10px;
}
.new-membership {
    padding-bottom: 40px;
}
/* CLASS OFFER PAGE */
.class-offer-listing {
    padding: 0;
    list-style: none;
    background: #1a2f4e;
    padding: 30px;
    margin: 0;
}
.class-offer-listing li {
    color: #ffffff;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #293e5c;
    padding-bottom: 10px;
}
.class-offer-listing li .count {
    margin: 0;
    font-size: 26px;
    width: 38px;
    height: 38px;
    margin-right: 15px;
}
.class-offer h4 {
    text-transform: uppercase;
}
.class-map {
    position: relative;
    padding: 50px 0;
}
.class-map .map .infomap {
    width: 260px;
    background: #ffffff;
    padding: 15px;
    position: absolute;
    border-radius: 8px;
    top: 30px;
    left: 40px;
}
.infomap p:last-child, .infomap p:nth-child(2) {
    font-size: 14px;
    font-weight: 300;
}
.infomap p:last-child {
    margin-bottom: 0;
}
/* EVENTS PAGE */
.eventstour h4{
    text-transform: uppercase;
    margin-bottom: 20px;
}
.eventRow .media-head {
    background: #b71c1c;
    padding: 15px 20px;
}
.eventRow .date,
.eventRow .month,
.eventRow .year{
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    text-align: center;
    text-transform: uppercase;
}
.eventRow .date {
    font-size: 40px;
    font-weight: 900;
    margin-top: 0;
}
.eventRow .month {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
}
.eventRow .year {
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    border:none;
}
.eventRow h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: .5rem;
}
.eventRow .table {
    box-shadow: none;
    margin-bottom: 8px;
}
.eventRow .table td {
    padding: 6px 0;
    background: transparent;
    border: none;
    color: #1a2f4e;
    font-size: 14px;
    font-weight: 400;
}
.eventRow .table td i {
    color: #b71c1c;
    font-size: 18px;
    width: 18px;
    text-align: center;
}
.eventRow p {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}
.eventRow hr {
    margin: 40px 0;
}
/* OTHER INFORMATION PAGE */
.class-time .navbartop {
    text-align: center;
}
.class-time .navbartop li a {
    color: #b71c1c;
}
.class-time h2 {
    font-size: 28px;
    font-weight: 700;
}
/* ABOUT PAGE */
.profile-box h4 {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
}
.profile-box h4 span {
    font-size: 16px;
    font-weight: 500;
}
.profile-box p {
    font-size: 14px;
    color: #1a2f4e;
    font-weight: 300;
    text-align: center;
}
.profile-box .btn.btn-primary {
    font-size: 16px;
    font-weight: 700;
    background: #b71c1c;
    border-color: #b71c1c;
    border-radius: 100px;
    line-height: 32px;
    padding: 6px 30px;
    margin: 0 auto -22px;
    display: block;
}
.btn.btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(183,28,28,.5);
}
.profilepic {
    width: 138px;
    height: 131px;
    border: 4px solid #f3f3f3;
    border-radius: 6px;
    overflow: hidden;
    margin: -55px auto 20px;
}
.profile-box {
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 85px;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    -moz-box-shadow: 0 1px 3px 3px rgba(0,0,0,0.14);
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.14);
}
/* MODAL */
.modal-body img {
    border: 4px solid #f3f3f3;
    border-radius: 6px;
    overflow: hidden;
    width: 320px;
    height: 554px;
}
.modal-body h2 {
    font-size: 50px;
    text-transform: uppercase;
    margin: 0;
}
.modal-body h4 {
    font-size: 30px;
    font-weight: 400;
    color: #b71c1c;
    text-transform: uppercase;
}
.modal-body p {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}
.modal-body ul {
    list-style: none;
    padding-left: 0;
}
.modal-body li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    font-weight: 400;
}
.modal-body li::before {
    content: "\2022";
    color: #b71c1c;
    font-weight: bold;
    display: inline-block;
    width: auto;
    font-size: 28px;
    line-height: 1;
    position: absolute;
    left: 0;
    top: -2px;
}
/* ==========================================================================
   Hassan custom responsive styles (EpycDev)
   ========================================================================== */

/*992*/
@media (max-width: 1199px) {
    .navbar-dark .navbar-nav .nav-link{
        padding-left: 9px;
        padding-right: 9px;
    }
    h1 {
        font-size: 6.5rem;
    }
    h2 {
        font-size: 4.2rem;
    }
    h4{
        font-size: 2.7rem;
    }
    .cross-1{
        left: 0;
    }
    .cross-3{
        right: -480px;
    }
    .karatemen{
        left: -250px;
        width: 670px;
    }
    .cross-4{
        left: 0;
    }
    .cross-6{
        right: -490px;
    }
    .chief .col-sm-7 img{
        margin: 30px auto;
        width: 62px;
    }
    .footer-top {
        padding: 50px 0 20px;
    }
    .footer-bottom{
        padding: 12px 0;
    }
    .profile-box h4 {
        min-height: 60px;
    }
    .profile-box p {
        min-height: 42px;
    }

}
/*768*/
@media (max-width: 991px) {
    .top-bar .col-sm-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .top-bar .navbartop {
        text-align: center;
    }
    .navbar-brand img {
        width: 170px;
    }
    .navbar-dark .navbar-nav .nav-link{
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
        line-height: 1;
    }
    .chief.newsChief {
        padding-top: 30px;
    }
    h1 {
        font-size: 5.4rem;
    }
    h4 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 3.8rem;
    }
    .karatemen {
        left: -250px;
        width: 570px;
        top: 0;
    }
    .cross-3 {
        right: -350px;
    }
    .cross-6 {
        right: -400px;
        bottom: -30px;
    }
    .karatekids{
        width: 330px;
    }
    .chief a {
        width: 250px;
        line-height: 65px;
        font-size: 1.6rem;
    }
    .footer-top .col-sm-4, .footer-top .col-sm-3 {
        max-width: 50%;
        flex: 0 0 50%;
    }
    .footer-top .col-sm-5 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .profile-box h4 {
        font-size: 18px;
        min-height: 75px;
    }
    .profile-box p {
        margin-bottom: 5px;
        padding: 0px 10px;
    }
    .profile-box .btn.btn-primary {
        padding: 6px 20px;
    }
    .class-time h2 {
        font-size: 17px;
    }

}
/*551*/
@media (max-width: 767px) {
    h1 {
        font-size: 4.4rem;
    }
    h4 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 3.4rem;
    }
    .navbar-brand img {
        width: auto;
    }
    .navbar {
        background-image: url(../img/pattern.png);
        margin-bottom: 0 !important;
        background-size: auto auto;
        background-position: center top;
    }
    .main-content{
        background-position: center 80px,center top;
        margin-top: 0;
        padding-top: 0;
    }
    .navbar-dark .navbar-toggler{
        border:none;
    }
    .navbar-dark .navbar-toggler-icon{
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(183, 28, 28, 1)' stroke-width='4' stroke-linecap='square' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .navbar-dark .navbar-nav .nav-link{
        text-align: left;
        border-radius: 0;
        line-height: 18px;
    }
    .navbar-dark .navbar-nav .active > .nav-link,
    .navbar-dark .navbar-nav .nav-link.active,
    .navbar-dark .navbar-nav .nav-link.show,
    .navbar-dark .navbar-nav .show > .nav-link{
        background: transparent;
        color: #b71c1c;
    }
    .navbartop li a{
        margin: 0 12px;
    }
    .hero {
        padding: 50px 0;
    }
    .cross{
        width: 42px;
    }
    .cross-1 {
        left: 30px;
        top: 20px;
    }
    .cross-3 {
        right: 40px;
    }
    .cross-5 {
        right: 30px;
        top: -80px;
    }
    .cross-6 {
        right: 20px;
        bottom: -60px;
    }
    .karatemen {
        left: 0;
        width: 500px;
        top: 10px;
        right: 0;
        margin: auto;
        display: block;
    }
    .we-offer .row {
        flex-direction: column-reverse;
    }
    .offer-box{
        justify-content: center;
    }
    .karatekids {
        left: 0;
        width: 310px;
        margin: auto;
        display: block;
    }
    .fb-widget{
        margin-bottom: 35px;
    }
    .chief a{
        width: 240px;
        font-size: 1.3rem;
    }
    .footer-logo {
        margin-bottom: 30px;
        width: 108px;
    }
    .footer-top h4{
        margin-bottom: 15px;
    }
    .footer-nav a{
        line-height: 26px;
    }
    .footer-bottom p {
        font-size: 0.875rem;
    }
    .footer-bottom .navbartop {
        text-align: center;
    }
    .row.eventRow .media {
        margin-bottom: 20px;
    }
    .about-us .col-sm-3 {
        width: 50%;
    }
    .packages li {
        width: 47%;
    }
    .col-sm-4.text-right {
        text-align: center !important;
    }

}
/*320*/
@media(max-width:550px) {
    body{
        font-size: 14px;
    }
    header .top-bar{
        display: none;
    }
    h1 {
        font-size: 3.250rem;
    }
    h2 {
        font-size: 2.625rem;
    }
    h4 {
        font-size: 1.625rem;
    }
    h5 {
        font-size: 18px;
    }
    .main-content{
        background-size: 240px,auto;
    }
    .cross{
        width: 32px;
    }
    .karatemen{
        width: 290px;
    }
    .cross-1 {
        left: 20px;
    }
    .cross-2 {
        left: 85%;
        bottom: 0;
    }
    .cross-3 {
        right: 20px;
        top: -5px;
    }
    .cross-4 {
        left: 20px;
    }
    .cross-6{
        bottom: -20px;
    }
    .offer-box li {
        margin: 0 3px 5px;
    }
    .karatekids{
        width: 260px;
        top: 20px;
    }
    .chief .col-sm-7 img {
        margin: 20px auto;
    }
    .chief a{
        font-size: 1rem;
        line-height: 48px;
        width: 200px;
    }
    .chief.newsChief {
        padding-top: 20px;
        padding-bottom: 10px;
    }
    .chief {
        padding: 50px 0;
    }
    .footer-top .col-sm-4, .footer-top .col-sm-3 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .footer-top {
        padding: 30px 0 20px;
        margin: 0 auto;
        display: block;
    }
    .footer-top p{
        text-align: center;
    }
    .footer-top h4{
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 20px;
        width: 108px;
        display: block;
    }
    .footer-nav{
        margin: 0 0 20px;
        text-align: center;
    }
    .footer-nav li::before{
        display: none;
    }
    .customSlideItem {
        border: 2px solid #ffffff;
        padding: 4px;
    }
    .footer-bottom p{
        text-align: center;
    }
    .kickboxing .offer-box li {
        margin: 0 4px 8px;
    }
    h4 span img {
        width: 32px;
    }
    thead .top-head h4 {
        font-size: 24px;
    }
    thead .top-head p {
        font-size: 14px;
    }
    thead .top-head p br{
        display: none;
    }
    .table thead .bottom-head th{
        font-size: 1rem;
        white-space: nowrap;
    }
    .table thead .bottom-head th, .table tbody td {
        padding: 8px 15px;
    }
    .class-time a{
        text-align: center;
        display: block;
    }
    .class-time {
        padding-bottom: 40px;
    }
    .lesson-fees {
        padding: 0 0;
    }
    .packages li{
        width: 235px;
        height: 155px;
    }
    .count{
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
    .packages p {
        line-height: 16px;
        font-size: 14px;
    }
    .lesson-fees small, .new-membership small{
        margin-top: 0px;
        font-size: 14px;
    }
    .karate-leg {
        width: 200px;
        margin: auto;
        display: block;
    }
    .kickboxing {
        padding-bottom: 10px;
    }
    .class-offer-listing{
        padding: 30px 15px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .class-offer-listing li .count{
        font-size: 16px;
        width: 30px;
        height: 28px;
        margin-right: 10px;
    }
    .class-map .map .infomap{
        width: 95%;
        top: 7px;
        left: 10px;
    }
    .infomap p:last-child, .infomap p:nth-child(2) {
        font-size: 12px;
    }
    .media {
        flex-direction: column;
    }
    .eventRow .media-head{
        width: 100%;
        display: flex;
        margin: 20px 0 5px !important;
        flex-direction: row;
        flex-grow: 0 0 1;
        align-items: center;
    }
    .eventRow .date {
        font-size: 25px;
    }
    .eventRow .date, .eventRow .month, .eventRow .year{
        border: none;
        flex-grow: 1;
        flex-basis: 0;
        margin: 0;
        padding: 0;
    }
    .eventRow .month{
        padding-bottom: 0;
    }
    .eventRow .year{
        border: none;
    }
    .eventRow hr {
        margin: 15px 0 0;
    }
    .row.eventRow .media {
        margin-bottom: 0px;
    }
    .about-us {
        padding-top: 50px;
    }
    .modal-body img{
        width: 170px;
        height: 224px;
        margin: auto;
        display: block;
    }
    .modal-body h2{
        font-size: 32px;
    }
    .modal-body h4 {
        font-size: 24px;
    }
    .modal-body p {
        font-size: 12px;
    }
    .modal-body li{
        font-size: 12px;
    }
    .about-us .col-sm-3 {
        width: 100%;
    }
    .eventRow h4 {
        font-size: 20px;
    }
}
@media(max-width:340px) {
}
