/* Mobile Portrait View */

@media only screen and (max-width: 1024px) {
    .mob-menu-header-holder {
        width: 100%;
        background-color: #2b0056 !important;
       
    }

}
@media screen and (max-width:767px) {
    #welcome-panel {
        background-color: #fafafa;
        padding: 50px 0 0px;
      }
    * {
        box-sizing: border-box;
    }

    .left,
    .right,
    .copyright-txt,
    .design-by {
        float: none;
    }

    .container {
        width: auto;
        padding: 0 20px;
    }

    .site-header {
        position: relative;
        background-color: #111 !important;
    }

    .logo {
        float: none;
        text-align: center;
        margin: 0 auto;
        padding: 8px 15px;
        position: relative;
        width: auto;
        display: table;
    }

    .head-rightpart {
        float: none;
        width: 100%;
        text-align: center;
    }

    /*coloumn css*/
    .post-thumb {
        width: 100%;
        float: none;
        margin: 0 0 10px;
    }

    /*sidebar css*/
    #sidebar {
        width: 100%;
        float: none;
    }

    .content-area {
        width: auto;
        margin: 0;
        padding: 50px 20px;
    }

    .site-page-content {
        width: auto;
        margin: 0;
        padding: 0;
        float: none;
    }

    /*slider css*/
    #slider {
        top: 0;
        margin: 0;
    }
    .nivoSlider{
        /* height: 350px; */
        height: 100%;
    }
    .nivoSlider img{
        height: auto !important;
        object-fit: contain;
    }
    .nivo-caption {
        width: 100%;
        top: 100%;
        position: relative;
        background: #140028;
    }

    .nivo-caption h2 {
        font-size: 22px !important;
        line-height: normal !important;
        margin: 0 0 10px !important;
    }

    .nivo-caption p {
        line-height: normal;
        font-size: 15px;
    }

    .nivo-directionNav a {
        top: 39% !important;
    }

    .nivo-controlNav {
        display: none !important;
    }

    a.nivo-prevNav {
        left: 1%;
    }

    a.nivo-nextNav {
        right: 1%;
    }

    .nivo-caption .slide_more {
        display: none;
    }

    .welcome_titlecolumn,
    .welcome_contentcolumn {
        float: none;
        width: auto;
        margin: 0 0 25px 0;
    }

    .welcome_titlecolumn h3 {
        font-size: 32px;
        margin: 0px auto;
        padding-top: 25%;
    }

    /*front blog post*/

    .wpcf7 input[type="text"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="email"],
    .wpcf7 textarea {
        width: 100%;
    }

    #site-holder {
        width: 100%;
    }

    .four-circle-boxes {
        width: auto;
        float: none;
        margin: 0 0 35px;
    }

    .four-circle-boxes.last_column {
        margin-bottom: 30px;
    }

    .widget-column-1,
    .widget-column-2,
    .widget-column-3,
    .widget-column-4 {
        float: none;
        width: 100%;
        margin: 0 0 25px;
        padding: 0;
        text-align: left;
    }

}

/* Mobile Landscape View */
@media screen and (min-width: 481px) and (max-width: 767px) {
    * {
        box-sizing: border-box;
    }

    .container,
    .content-area {
        width: 440px;
        margin: 0 auto;
    }

    .nivo-controlNav {
        display: none !important;
    }

    .post-thumb {
        width: 50%;
        float: left;
        margin: 5px 20px 10px 0;
    }
}

/* Mobile Landscape View */
@media screen and (min-width: 300px) and (max-width: 481px) {
    * {
        box-sizing: border-box;
    }

    .social-icons {
        display: block;
        padding: 0;
        margin-bottom: 8px;
    }

    .social-icons a {
        padding: 0;
        padding: 0 10px;
        display: inline-table;
        line-height: 40px;
    }
}

@media screen and (min-width:768px) and (max-width: 980px) {
    .site-header {
        width: 100%;
        position: relative !important;
    }

    .head-rightpart {
        float: none;
        width: 100%;
        text-align: center;
    }

    .logo {
        float: none;
        text-align: center;
        margin: 0 auto;
        padding: 8px 15px;
        position: relative;
        width: auto;
        display: table;
    }

    .four-circle-boxes h3 {
        font-size: 16px;
    }

    .site-header {
        position: relative;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .four-circle-boxes .thumbbx {
        width: 150px;
        height: 150px;
    }

    .four-circle-boxes .thumbbx img {
        min-height: 150px;
    }

    .pagecontent {
        padding: 20px 0;
    }

    .welcome_titlecolumn h3 {
        font-size: 50px;
    }

    #welcome-panel {
        padding: 40px 0 10px;
    }
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) {
    * {
        box-sizing: border-box;
    }

    .container {
        width: auto;
        padding: 0 20px;
    }

    /*slider css*/
    .nivo-caption {
        width: 60%;
        top: 30%;
    }

    .nivo-caption h2 {
        font-size: 42px;
        line-height: 45px;
    }

    .content-area {
        width: auto;
        margin: 0;
        padding: 50px 20px;
    }

    #sidebar {
        width: 30%;
    }

    .site-page-content {
        width: 65%;
    }

    #site-holder {
        width: 100%;
    }
}

@media screen and (max-width:1169px) and (min-width:981px) {
    html {
        overflow-x: hidden;
    }

    .nivo-caption {
        bottom: 20%;
    }
}

@media screen and (max-width: 980px) {
    .toggleMenu {
        display: block;
    }

    .header-menu {
        float: none;
        margin: 0;
        position: relative;
        overflow-x: hidden;
        background-color: #fff;
        border-radius: 0;
        top: 0;
        border-bottom: none;
    }

    .header-menu ul {
        color: #000;
        width: 100% !important;
        float: none !important;
        margin: 0;
        padding: 0;
    }

    .header-menu ul li {
        border-top: 1px #cccccc solid;
        display: block;
        float: none;
        text-align: left;
        border-bottom: none !important
    }

    .header-menu ul li a {
        padding: 5px 10px !important;
        display: block;
        color: #000;
        border: none;
        text-align: left;
    }

    .header-menu ul li a:hover,
    .header-menu ul li.current_page_item a {
        color: #efc62c;
        border: none !important;
        border-radius: 0;
    }

    .header-menu ul li ul,
    .header-menu ul li ul ul {
        display: block !important;
        background: transparent !important;
    }

    .header-menu ul li ul li a:before {
        content: "\00BB \00a0";
    }

    .header-menu ul li ul li a {
        padding-left: 20px !important;
    }

    .header-menu ul li ul li a,
    .header-menu ul li.current-menu-ancestor a.parent {
        border: none;
        border-radius: 0;
    }

    .header-menu ul li ul li ul li a {
        padding-left: 30px !important;
    }

    .header-menu ul li ul li ul li ul li a {
        padding-left: 40px !important;
    }

    .header-menu ul li:hover>ul {
        background: none !important;
        box-shadow: none;
    }

    .header-menu ul li:hover>ul {
        background: transparent !important;
        width: auto !important;
        display: block;
        position: relative !important;
        left: 0;
        right: 0;
        top: 0;
        padding: 0;
    }

    .header-menu ul li:hover ul li ul,
    .header-menu ul li:hover ul li:hover>ul,
    .header-menu ul li:hover ul li:hover>ul li ul {
        background: transparent !important;
        display: block;
        position: relative !important;
        right: 0;
        left: 0;
        top: 0;
    }

    .header-menu ul li:hover ul li:hover ul,
    .header-menu ul li:hover ul li:hover ul li:hover ul {
        left: 0 !important;
    }

    .header-menu ul li ul li a {
        color: #000;
    }

    .site-header {
        position: relative;
        background-color: #111 !important;
    }
}