@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed");

/*.navbar-nav li {
  border-right: 1px solid #ccc;
  border-spacing: 15px;
}*/

.emergency-block {
    display: inline-block;
    background: #b72121;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-right: 10px;
}

.emergency-block label {
    font-size: 12px;
    margin: 0;
}

.emergency-block p {
    font-size: 10px;
    margin: 0;
}

.header .btn-default {
    margin-top: -16px;
}

.navbar-nav li:contact Us {
    border-right: none;
}

.navbar-nav li:home {
    border-left: 1px solid #000;
}

#topbar {
    min-height: 35px;
    background: #16559f;
    border-bottom: 1px solid #eeeeee;
}

#topbar ul li {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
    line-height: 20px;
    color: white;
    padding-top: 9px;
}

.fab {
    background-color: white;
    color: #16559f;
    border-radius: 50%;
    border: 1x solid grey;
    padding: 4px;
    font-size: 12px;
}

.space {
    padding-top: 33px;
    padding-bottom: 39px;
}

.logo img {
    /*margin-left: 30px;*/
    /*width: 90px;
    height: 90px;
    margin-top: 10px;*/
    max-width: 200%;
    height: auto;
}

#mySearch {
    width: 100%;
    background: #fff;
    color: grey !important;
    padding: 6px 20px;
    border: 1px solid #16559f;
    border-radius: 50px;
}

.search a {
    position: absolute;
    top: 8px;
    right: 38px;
}

.search {
    margin-top: 8px;
    position: relative;
}
.contact-item2 {
    float: right;
}

.btn1 {
    border: 2px solid #16559f;
    color: #b90000;
}

.btn1 a {
    color: #b90000;
}

.btn1 a:hover {
    text-decoration: none;
    color: #333;
}

/*Social Icon*/
.s1 {
    color: #3b5998;
}

.s2 {
    color: #00acee;
}

.s3 {
    color: #dd2a7b;
}

.s4 {
    color: #0077b5;
}

.s5 {
    color: #cd201f;
}

/* modal */
.modal-title {
    float: left;
    color: #16559f;
    font-size: 20px;
}

textarea {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*end of icons*/
.menu {
    /*background: #16559f;*/
    background: #f8f8f8;
    border: none;
    margin-bottom: 0px;
    border-radius: 0px;
}

.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #16559f !important;
    background-color: transparent;
}

.navbar-default .navbar-nav > li > a {
    color: #000 !important;
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 15px;
    text-align: center;
    position: relative;
    font-weight: 600;
}

.navbar-nav > li > a:after {
    position: absolute;
    right: -8px;
    top: 15px;
    width: 1px;
    height: 20px;
    background-color: #e2e2e2;
    content: "";
}

.navbar-nav > li:last-child a {
    margin: 0 !important;
}

.navbar-nav > li:last-child > a:after {
    /*background-color: #fff;*/
    width: 0px;
}

.sticky {
    position: fixed;
    top: 0%;
}

.carousel-indicators .active {
    background-color: #ca1f25;
}

#headline {
    background-color: #16559f;
    font-weight: bold;
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.marquee {
    display: inline-block;
    width: -webkit-fill-available;
}

#About {
    min-height: 400px;
    margin-bottom:20px;
}

body {
    position: relative;
}

.affix {
    top: 0;
    width: 100%;
    z-index: 9999 !important;
}

.navbar {
    margin-bottom: 0px;
    border-top: 1px solid #ccc;
}


.depart {
    /*min-width: 500px;*/
    height: auto;
    background: #fff;
    border: 1px solid #16559f;
    position: absolute;
    top: 55px;
    left: 0;
    z-index: 111;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    /*width: 100%;*/
      /*white-space: nowrap;*/
}

.depart::after {
    content: "";
    position: absolute;
    left: 20px;
    top: -10px;
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}

.depart::before {
    content: "";
    position: absolute;
    left: 20px;
    top: -11px;
    border-bottom: 10px solid #16559f;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}

.navbar li:hover .depart {
    visibility: visible;
    top: 100%;
    opacity: 1;
}

.depart ul {
    margin: 0;
    padding: 0 10px;
    /*border-right: 2px solid #16559f;*/
    width: 100%;
    float: left;
}

.depart ul:last-child {
    border: none;
}

.depart ul li {
    list-style: none;
    border: none;
      white-space: nowrap;
}

.depart ul li a {
    color: #333;
    padding: 5px 0px;
    display: block;
    border-top: 1px solid #ccc;
}

.depart ul li:first-child a {
    border-top: none;
}

.depart ul li a:hover {
    text-decoration: none;
    color: #16559f;
}

/*#service .depart {
    min-width: 250px;
}*/

li#news,li#service,li#depart{
    cursor: default;
}

/*#news .depart 
{
    min-width: 250px;
}*/

.clearfix:after {
    content: "";
    clear: both;
    display: block;
}

#banner img {
    width: 100%;
}

/*.plan #eventbanner {
  background-image: url(../img/plan.jpg);
}

.career #eventbanner {
  background-image: url(../img/career.jpg);
}*/

#departments {
    margin-bottom: 30px;
}

#About h2,
#departments h2 {
    color: #c9151c;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Roboto Condensed", sans-serif;
}
#featured .container .services h2{
    color: #c9151c;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Roboto Condensed", sans-serif;
}

#departments h2 {
    padding-left: 20px;
}

#About p {
    line-height: 1.6;
    text-align: justify;
}

.btn2 {
    border: 2px solid #c9151c;
    text-transform: uppercase;
}

#featured {
    margin-bottom: 30px;
}

.features-blocks {
    height: 432px;
    text-align: center;
    max-width: 370px;
    overflow: hidden;
}

.feature-desc h2 {
    font-family: "Open Sans 800", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 7px;
    min-height: 28px;
    text-transform: uppercase;
    margin-top: 0px;
}

.feature-img {
    position: relative;
    margin-bottom: 6px;
}

.feature-img span {
    position: absolute;
    z-index: 999;
    background: rgba(173, 131, 61, 0.26);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.feature-blocks {
    min-height: 300px;
}

.features-blocks:hover .feature-desc {
    margin-top: -60px;
}

.feature-desc p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    height: 75px;
    overflow: hidden;
    line-height: 24px;
}

.view-more:hover,
.view-more:focus {
    color: #fff;
    background-color: #4d7561;
}

.feature-desc {
    background-color: #012856;
    color: #fff;
    text-align: center;
    cursor: default;
    padding: 35px 10px 25px;
    transition: 0.2s ease-in-out 0s;
    position: relative;
    z-index: 999;
}

.view-more {
    border: solid 2px #7ea591;
    height: 30px;
    display: inline-block;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    transition: 0.3s ease-in-out 0s;
    line-height: 26px;
}

.dimage {
    border: 1px solid grey;
    text-align: center;
    padding-top: 20px;
    margin-right: 15px;
    margin-left: 15px;
}

.angle1 {
    margin-left: 3px;
}

.dimage h4 {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

#testimonial h3 {
    /* text-transform: uppercase; */
    font-size: 16px;
    color: white;
    float: left;
    font-weight: bold;
}

#testimonial p {
    text-align: justify;
    margin-top: 5px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 0;
    top: 6px;
    background-color: #f47920;
    width: 86%;
    height: 94%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}

.dimage:hover .overlay {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.text {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

#departments p {
    font-size: 12px;
    text-align: justify;
    margin: 0px -23px;
}

.btn5 {
    text-align: center;
    border-radius: 0px;
    background: #014080;
    color: white;
    text-transform: uppercase;
    margin-top: 20px;
}

.btn3 {
    border-radius: 0px;
    margin-top: 20px;
    margin-bottom: -18px;
    background: #c9151c;
    color: white;
}

.text h5 {
    margin-top: -9px;
    margin-bottom: 23px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

#testimonial h1 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 28px;
    padding-bottom: 20px;
    padding-top: 30px;
    color: #a6c6ef;
}

#footer {
    min-height: 350px;
    background: #1957a0;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

/*.carousel-control { 
    width: 8%;
    width: 0px;
}
.carousel-control.left,
.carousel-control.right { 
    margin-right: 40px;
    margin-left: 32px; 
    background-image: none;
    opacity: 1;
}*/
/*.carousel-control > a > span {
    color: white;
    font-size: 29px !important;
}
*/
.carousel-col {
    position: relative;
    min-height: 1px;
    padding: 5px;
    float: left;
}

.active > div {
    display: none;
}

.active > div:first-child {
    display: block;
}

/* service-mediat hospital */
.service-midat h5 {
    font-size: 14px;
    color: #16559f;
    border-bottom: 1px solid #cd201f;
    padding-bottom: 15px;
}

.service-midat .wrapper h4,
.service-midat .col-md-4 h4 {
    font-size: 22px;
    color: #16559f;
    font-weight: 600;
}

.service-midat .wrapper h3 {
    font-size: 20px;
    color: #cd201f;
    font-weight: 400;
    margin-bottom: 0;
}

.service-midat .wrapper p {
    font-size: 14px;
    margin-top: 5px;
    line-height: 22px;
    /* text-align: justify; */
}

.service-midat .wrapper li {
    line-height: 26px;
}

.service-midat .wrapper {
    padding-bottom: 30px;
}

.service-midat .col-md-4 {
    margin: 40px 0 0 0px;
}

.service-midat .col-md-4 .wrapper {
    padding-left: 20px;
}

.service-midat .col-md-4 li a {
    color: #cd201f;
}

.service-midat .col-md-4 li a:hover {
    text-decoration: none;
    color: grey;
}

/* features */
.features blockquote {
    margin: 20px 0 0 25px;
    border-left: 8px solid #cd201f;
    font-size: 18px;
}

.features .col-md-8 ul {
    margin: 20px 0 0 60px;
}

/*xs*/
@media (max-width: 767px) {
    .carousel-inner .active.left {
        left: -50%;
    }

    .carousel-inner .active.right {
        left: 50%;
    }

    .carousel-inner .next {
        left: 50%;
    }

    .carousel-inner .prev {
        left: -50%;
    }

    .carousel-col {
        width: 100%;
    }

    .active > div:first-child + div {
        display: block;
    }

    .list-doctor .card {
        margin-left: 50px;
    }
}

/*sm*/
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-inner .active.left {
        left: -50%;
    }

    .carousel-inner .active.right {
        left: 50%;
    }

    .carousel-inner .next {
        left: 50%;
    }

    .carousel-inner .prev {
        left: -50%;
    }

    .carousel-col {
        width: 50%;
    }

    .active > div:first-child + div {
        display: block;
    }

    /* .list-doctor .card {
    margin-left: 50px;
  } */
}

/*md*/
@media (min-width: 992px) and (max-width: 1199px) {
    .carousel-inner .active.left {
        left: -33%;
    }

    .carousel-inner .active.right {
        left: 33%;
    }

    .carousel-inner .next {
        left: 33%;
    }

    .carousel-inner .prev {
        left: -33%;
    }

    .carousel-col {
        width: 33%;
    }

    .active > div:first-child + div {
        display: block;
    }

    .active > div:first-child + div + div {
        display: block;
    }
}

/*lg*/
@media (min-width: 1200px) {
    .carousel-inner .active.left {
        left: -25%;
    }

    .carousel-inner .active.right {
        left: 25%;
    }

    .carousel-inner .next {
        left: 25%;
    }

    .carousel-inner .prev {
        left: -25%;
    }

    .carousel-col {
        width: 25%;
    }

    .active > div:first-child + div {
        display: block;
    }

    .active > div:first-child + div + div {
        display: block;
    }

    .active > div:first-child + div + div + div {
        display: block;
    }
}

/* ipad */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .list-doctor .card img {
        height: 155px !important;
        width: 155px !important;
    }

    .list-doctor .card-body {
        width: 155px !important;
    }
}

.block {
    width: 150px;
    height: 230px;
}

/*Testimonial*/
/* Carousel */

#quote-carousel {
    padding: 0 10px 30px 10px;
    margin-top: 30px;
}

/*#quote-carousel .carousel-control {
    background: none;
    color: white;
    font-size: 2.3em;
    text-shadow: none;
    margin-top:
#quote-carousel .ca 30px;
}
#quote-carousel .carousel-control.left {
    left: -60px;
}rousel-control.right {
    right: -60px;
}*/
#quote-carousel .carousel-indicators {
    right: 50%;
    top: auto;
    bottom: 0px;
    margin-right: -19px;
}

#quote-carousel .carousel-indicators li {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    border: 4px solid #ccc;
    border-radius: 50px;
    opacity: 0.4;
    overflow: hidden;
    transition: all 0.4s;
}

#quote-carousel .carousel-indicators .active {
    background: #333333;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border-color: #f33;
    opacity: 1;
    overflow: hidden;
}

#testimonial {
    background-image: url("/img/bg33.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.testCI {
    min-height: 340px !important;
}

#testimonial p {
    color: white;
}

/*.carousel-control.left, .carousel-control.right {
    margin-right: 40px;
    margin-left: 32px;
    background-image: none;
    opacity: 1;
    padding-top: 104px;
    font-size: 40px;
}*/
/*.carousel-inner{
  min-height: 230px;
}
*/
#footer {
    margin-top: 5px;
}

#footer h5 {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.input-box {
    background: #d3e7ff;
    color: #6d91c3 !important;
    height: 40px;
}

.btn4 {
    margin-top: 15px;

    font-weight: bold;
    text-transform: uppercase;
}

.Contact ins {
    text-decoration: none;
    display: block;
    color: white;
    font-family: open sans;
    font-size: 14px;
    margin-bottom: 10px;
    background: none;
}

.footer p {
    color: white;
    margin-top: -5px !important;
}

.gap {
    margin-top: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/*Events*/
#eventbanner {
    background-image: url("../img/11.jpg");
    background-size: cover;
    background-attachment: fixed;
    height: 400px;
    margin-bottom: 20px;
}

#Events {
    margin-bottom: 30px;
    position: relative;
}

.Events-item {
    position: relative;
    margin-bottom: 30px;
    background-color: #fdfdfd;
    border: solid 1px #e2e2e2;
}

.Events-img a {
    display: inline-block;
    position: relative;
    overflow: hidden;
    float: left;
}

.Events-img {
    display: inline-block;
    float: left;
    margin-right: 25px;
    width: 40%;
}

.Events-img img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.Events-img img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.Events-detail {
    /*height: 160px;*/
    max-height: 170px;
    overflow-y: scroll;
    padding-right: 20px;
}

.Events-detail::-webkit-scrollbar {
    display: none;
}

.Events-detail h3 a {
    text-decoration: none;
    font-family: "Roboto Condensed", sans-serif;
    color: #c9151c !important;
}

.read a {
    bottom: 8px;
    position: absolute;
    text-decoration: none;
    right: 8px;
}

#Events h2 {
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.heading h3 {
    text-align: center;
    color: #333333;
    font-size: 19px;
    font-weight: 700;
    background: #eeeeee;
    padding: 25px 10px;
    margin: 0px;
}

.rightbar {
    max-width: 325px;
    box-shadow: 0px 0px 14px rgba(229, 229, 229, 0.7);
    margin-bottom: 30px;
    border: 1px solid #eee;
    margin-top: 27px;
}

.list {
    border-right: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
}

.list p a {
    font-size: 15px;
    padding: 16px 20px;
    display: block;
    border-bottom: 1px solid #eeeeee;
    transition: 0.2s ease-in-out 0s;
    -webkit-transition: 0.2s ease-in-out 0s;
    color: #000;
    font-weight: 500;
}

.list p {
    margin: -4px 2px 4px;
}

.list p a:hover {
    background: #024286;
    color: #ffffff;
}

.eventslug-active{    
        background: #024286;
        color: #ffffff;
}
.event-img {
    height: 200px;
}

/* Contact */
#contact {
    padding-bottom: 10px;
}

.contact-form h5 {
    font-size: 25px;
}

.contact-form span i {
    background: #16559f;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    font-size: 14px;
    color: #ffffff;
    display: block;
    padding: 7px;
}

#contact .form-control {
    margin-bottom: 15px;
}

.required {
    color: #c9151c;
}

.btn-custom {
    background: #16559f;
    color: #ffffff;
    margin-bottom: 10px;
}

.shadow {
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
}

/* emergency */
.emergency .wrapper img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding: 20px 0;
}

.wrapper small {
    display: block;
    text-align: center;
    padding-bottom: 20px;
}

/* find a doctor */
#find-doctor .wrapper h3 {
    font-weight: 600;
    text-align: center;
    background: url(/img/title-bg.png) center bottom no-repeat;
    padding-bottom: 40px;
    margin: 65px 0 30px;
}

.label-bold {
    font-size: 18px;
    text-align: center;
    display: block;
    color: gray;
}

.doctor-attributes{
    color: #19569f;
}

.doctor-details {
    
    background: #19569f;
    width: 86%;
    color: white;
    text-align: center;
    margin-top: -3px;
    font-size: 12px !important;

}

.doctor-details p {
   padding-top: 5px !important;
   font-size: 17px !important;
   margin-bottom: 0px !important;
   color: white !important;

}

.doctor-details .doctor-dep-title{
    margin-top: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 4px !important;
}

#find-doctor .wrapper .form-control {
    position: relative;
    border: 2px solid #16559f;
    margin-top: 10px;
}

select.form-control {
    background: url(/img/select-bg.jpg) top right no-repeat;
}

#find-doctor button.btn {
    display: inline-block;
    position: absolute;
    top: 36px;
    right: 15px;
    font-size: 18px !important;
    background: #014080;
}

/* .list-doctor {
  margin-top: 50px;
} */

.list-doctor .card {
    padding: 20px 0;
}

.list-doctor .card img,
.image img {
    height: 250px;
    width: 250px;
    border: 1px solid #000000;
    padding: 5px;
}

.list-doctor .card-body {
    text-align: center;
    background: #f2f9ff;
    width: 250px;
    padding-bottom: 10px;
}

.card-body h5 {
    margin-top: 0;
    color: #014080;
    padding-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

.list-doctor .card-text {
    font-size: 16px;
    color: grey;
}

.list-doctor .card-body a {
    color: #cd201f;
}

.list-doctor .card-body a:hover {
    /* color: #cd201f; */
    text-decoration: none;
}

/* view-profile */
.profile {
    padding: 30px 0 30px 0;
}
.profile .wrapper strong {
    font-size: 17px;
}

.image {
    margin-top: 10px;
}

.modal-content {
    margin-top: 75px !important;
}

.profile button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile .modal-footer {
    border: none;
}

.profile .col-md-4 {
    margin: 0;
}

.profile textarea {
    margin: 0 14px;
    width: 95%;
}

/* health plan */
.health-plan {
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #000000;
    padding: 20px;
}

.health-plan:hover {
    background: #eeeeee;
}

.package .well {
    margin-top: 50px;
}

.package .well p,
.package .well li {
    font-size: 16px;
}

.package .well h4 {
    margin-top: 30px;
    font-size: 14px;
}

/* download */

.report {
    width: 350px;
    height: 380px;
    background: #eeeeee;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
}

.report::before {
    content: "";
    position: absolute;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    width: 350px;
    height: 380px;
    background: #eeeeee;
    transform: rotate(5deg);
    z-index: -2;
    top: 0;
    left: 0;
}
.report::after {
    content: "";
    position: absolute;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    width: 350px;
    height: 380px;
    background: #eeeeee;
    transform: rotate(-5deg);
    z-index: -1;
    top: 0;
    left: 0;
}

.report form {
    padding: 25px;
}

.report form h3 {
    margin: 0;
    text-align: center;
    color: gray;
    /* padding-top: 20px; */
}

.report form label {
    margin: 20px 0 10px 0;
    color: gray;
}

.report form .btn {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.report p {
    padding: 0 20px;
    font-size: 12px;
}

/*Gallery*/
.intro {
    background-image: url("../img/gal.jpg");
    background-size: cover;
    background-attachment: fixed;
    height: 250px;
    margin-bottom: 20px;
}

.intro h1 {
    color: white;
    padding-top: 45px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 40px;
}

.breadcrumb {
    background-color: transparent;
    color: white;
}

.breadcrumb a {
    color: white;
}

/*Effects for gallery*/
.space1 {
    padding-right: 15px;
}

.gallery {
    margin-bottom: 30px;
}

.grid {
    position: relative;
    /*  margin: 0 auto;
  padding: 1em 0 4em;*/
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 250px;
    max-width: 280px;
    max-height: 250px;
    width: 48%;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
    /*  color:#c9151c;
*/
    /* color: #014080;
*/
    font-family: "Roboto Condensed", sans-serif;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

/* Individual effects */

figure.effect-layla {
    background: #18a367;
}

figure.effect-layla img {
    height: 390px;
}

figure.effect-layla figcaption {
    padding: 3em;
}

figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after {
    position: absolute;
    content: "";
    opacity: 0;
}

figure.effect-layla figcaption::before {
    top: 50px;
    right: 30px;
    bottom: 50px;
    left: 30px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

figure.effect-layla figcaption::after {
    top: 30px;
    right: 50px;
    bottom: 30px;
    left: 50px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

figure.effect-layla figcaption a {
    font-size: 16px !important;
    font-weight: bold;
    color: #1957a0;
}

figure.effect-layla h2 {
    padding-top: 26%;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

figure.effect-layla p {
    padding: 0.5em 2em;
    text-transform: none;
    opacity: 0;
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
}

figure.effect-layla img,
figure.effect-layla h2 {
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
}

figure.effect-layla img,
figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after,
figure.effect-layla p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-layla:hover img {
    opacity: 0.7;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

figure.effect-layla:hover figcaption::before,
figure.effect-layla:hover figcaption::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

figure.effect-layla:hover h2,
figure.effect-layla:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

figure.effect-layla:hover figcaption::after,
figure.effect-layla:hover h2,
figure.effect-layla:hover p,
figure.effect-layla:hover img {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

.portfolio-grid {
    overflow: hidden;
}

/* training */
#booking {
    font-family: "Montserrat", sans-serif;
    background-image: url(../img/training-bg1.jpg);
    background-size: cover;
    background-position: center;
    margin-top: 10px;
}

.section {
    position: relative;
    height: 100vh;
}

#booking::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    /*background: rgba(47, 103, 177, 0.6);*/
    background: #fff;
    opacity: 0.5;
}

.section .section-center {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.booking-form {
    background-color: #fff;
    padding: 20px;
    -webkit-box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.booking-form label,
.booking-form button {
    margin-top: 10px;
}

.booking-cta {
    margin-top: 80px;
    margin-bottom: 30px;
}

.booking-cta h1 {
    font-size: 52px;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
}

.booking-cta p {
    font-size: 16px;
    color: #000;
}

.booking-form .btn:hover {
    color: #fff;
}

.cc-img {
    margin: 0 auto;
}

/*.payment img {
  width: 100px;
  margin-left: 13px;
  display: inline-block;
}*/

#payment {
    font-family: "Montserrat", sans-serif;
    background-image: url(../img/payment.jpg);
    background-size: cover;
    background-position: center;
    margin-top: 10px;
}

#payment::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    /*background: rgba(47, 103, 177, 0.6);*/
    background: #fff;
    opacity: 0.5;
}

#payment .logo a {
    margin-right: 20px;
}

#payment .logo img {
    width: 25%;
    display: inline-block;
    /*background: #ddd;*/
    height: 100px;
    padding: 10px;
    border-radius: 10px;
}

#booking .logo a {
    margin-right: 20px;
}

#booking .logo img {
    width: 25%;
    display: inline-block;
    /*background: #ddd;*/
    height: 100px;
    padding: 10px;
    border-radius: 10px;
}

#payment.section {
    height: 85vh !important;
}

.fb-plugin iframe {
    width: 100%;
}

.carousel-inner {
 height:auto;
}



/*plan*/
.max-col {
    border-radius: 5px !important;
}

.max-col:hover .plan-item {
    box-shadow: 2px 15px 70px 2px rgba(0,0,0,0.75); 
}

.plan .wrapper h3 {
    color: #000;
    font-size: 24px;
}

.plan-item {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 30px 15px;
}


.max-col:hover .plan-item .plan-icon img {
    transform: rotate(360deg);
    transition: 0.8s;
}

.plan-icon {
    float: left;
    margin-left: 10px;
    
}

.plan-icon:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 74px;
    width: 1px;
    height: 80%;
    background: #ddd;
}

.plan-name p {
    color: #fff;
    font-size: 15px;
    padding: 10px 0;
}

.plan-section-list {
    padding: 45px 30px;
    border: 1px solid #F2F2F2;
    box-shadow: 0px 0px 10px #F2F2F2;
    margin-bottom: 30px;
}

.plan-section-list h4 {
    float: left;
}

.plan-section-list .btn5 {
    float: right;
    margin-top: 0px;
}

.plan-section-detail p {
    margin: 0 !important;
}

.profile-list-wrap h5 {
    font-size: 18px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 25px;
    margin-top: 0px;
    padding: 35px 0 15px 0;
}

.plan .rightbar h3{
    background: #eee !important;
    margin:0 !important;
}


/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  /*background-color: #f1f1f1;*/
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  width: 100%;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #024286;
  color: #fff;
}

/* Style the tab content */
.tabcontent {
  display: none;
}

.tab h3 {
    background: #eee !important;
    margin:0 !important;
    padding:20px 0 !important;

}


@media (max-width: 320px) {

    .modal-body img {
        max-width: 100%;
        height: auto;
    }

    .modal-content {
        width: 100%;
        height: auto; 
        border:0px;
    }

    .max-col {
        width: 100%;
    }

    .plan-section-list h4,
    .plan-section-list .btn5 {
        clear: both;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-body img {
        max-width: 100%;
        height: auto;
    }

    .modal-content {
        width: 100%;
        height: auto; 
        border:0px;
    }

    .max-col {
        width: 100%;
    }

    .plan-section-list h4,
    .plan-section-list .btn5 {
        clear: both;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .modal-body img {
        max-width: 100%;
        height: auto;
    }

    .modal-content {
        width: 100%;
        height: auto; 
        border:0px;
    }

   .max-col {
        width: 100%;
    }

    .plan-section-list h4,
    .plan-section-list .btn5 {
        clear: both;
        width: 100%;
    }
    
}


@media (max-width: 1199px) {
    /*    .section  {
    height: 145vh;
  }

  .booking-cta h1 {
    font-size: 45px;
  }*/

  .navbar-nav > li > a:after {
    right: 0;
  }

  .navbar-default .navbar-nav > li > a {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 991px) {
    .section {
        height: 105vh !important;
    }

    /*  .booking-cta h1 {
    font-size: 45px;
  }*/

    .navbar-default .navbar-nav > li > a {
        padding: 14px 8px 0 0px
    }

    .navbar-nav > li > a:after {
        width: 0;
        height: 0;
    }
}

@media (max-width: 767px) {
    /* .section  {
    height: 145vh;
  }

  .booking-cta h1 {
    font-size: 45px;
  }*/

  #depart .depart {
        display: block !important;
    }

    .depart::after {
        left: 190px !important;
    }

    .depart::before {
        left: 190px !important;
    }
}

@media (max-width: 480px) {
    .section {
        height: 145vh !important;
    }

    .booking-cta h1 {
        font-size: 45px;
    }

    #payment .logo img {
        width: 50%;
        height: 60px;
    }

    #payment.section {
        height: 70vh !important;
    }

    #depart .depart {
        display: block !important;
    }

    .depart::after {
        left: 150px ;
    }

    .depart::before {
        left: 150px ;
    }

    .space {
        padding-top: 25px;
    }
}

@media (max-width: 320px) {
    .section .section-center {
        top: 54%;
    }

    .section {
        height: 155vh !important;
    }

    .booking-cta h1 {
        font-size: 35px;
    }

    .booking-form option {
        font-size: 12px;
        width: 50%;
    }

    #payment .logo img {
        width: 50%;
        height: 60px;
    }

    #payment.section {
        height: 55vh !important;
    }


    #depart .depart {
        display: block !important;
    }

    .depart::after {
        left: 150px ;
    }

    .depart::before {
        left: 150px ;
    }

    .space {
        padding-top: 25px;
    }
}

/* ipad */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
}

/* landscape */

@media (min-width: 481px) and (max-width: 767px) {
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
}

@media only screen and (max-width: 600px) {
    .contact-item2 {
        float: none;
        text-align: center;
    }

    .btn2 {
        margin-bottom: 15px;
        align-content: center;
    }

    #departments p {
        margin: -4px -26px;
    }

    .read a {
        padding-bottom: -25px;
        position: absolute;
        padding-left: 80px;
        padding-top: 13px;
        text-decoration: none;
    }

   /* #depart .depart {
        display: none !important;
    }*/

  
}
/* news */
