/* Responsive Styles
================================================== */

/* All size smaller than 1301 */
@media only screen and (max-width: 1300px) {
    .container,
    .boxed-layout #page,
    .boxed-layout-small #page {
        max-width: 970px;
    }
    .boxed-layout .container,
    .boxed-layout-small .container {
        max-width: 904px;
    }
    .four-column-full-width {
        width: 33.33%;
    }
    #sticky_header {
        /*background-color: #485ba7;*/
        /*border-top: 1px solid #f00;*/
    }

    
   
    
}

/* All size smaller than 1024
================================================== */
@media only screen and (max-width: 1023px) {
    .container,
    .boxed-layout #page,
    .boxed-layout-small #page,
    #site-title a img {
        width: 708px;
    }
    .boxed-layout #page,
    .boxed-layout-small #page {
        overflow: hidden;
    }
    .boxed-layout .container,
    .boxed-layout-small .container,
    .boxed-layout #site-title a img {
        width: 668px;
    }
    .main-slider .image-slider {
        padding: 15% 0;
    }
    .main-slider .image-slider,
    .parallax_content,
    .testimonial_bg {
        background-attachment: scroll;
    }
    .widget-sub-title {
        padding: 0 20px;
        margin-bottom: 50px;
    }
    .widget-title,
    .our_feature h2 {
        font-size: 22px;
        line-height: 30px;  
    }
    .slider-content .slider-title a {
        font-size: 24px;
        line-height: 31px;
    }
    .slider-content .slider-text h3 {
        font-size: 15px;
        line-height: 22px;
    }
    .slider-buttons {
        margin-top: 0;
    }
    .slider-content .btn-default {
        font-size: 13px;
        line-height: 28px;
        margin: 10px 5px 20px;
        padding: 4px 12px;
    }
    .slider-content .btn-default span {
        font-size: 16px;
        line-height: 28px;
        margin-left: 12px;
        padding: 6px 0 8px 16px;
    }
    a.slider-prev {
        left: 10px;
    }
    a.slider-next {
        right: 10px;
    }
    .multimedia-content {
        width: 90%;
    }
    .min_slider {
        width: 660px;
    }
    #primary,
    #secondary {
        margin-bottom: 50px;
        padding: 0px;
        float: none;
        width: 100%;
        border: none;
    }
    .left-sidebar-layout #primary {
        float: none;
        padding-left: 0px;
    }
    .left-sidebar-layout #secondary {
        float: none;
        padding-right: 0px;
        border: none;
    }
    .no-sidebar-layout #main {
        margin: 0 ;
        width: 100%;
    }
    /* ----- Column ----- */
    .column {
        margin: 0 -15px;
    }
    .two-column,
    .three-column,
    .four-column {
        padding: 0  15px 40px;
    }
    .two-column,
    .four-column,
    .three-column,
    .four-column-full-width,
    .business-sidebar .three-column,
    .boxed-layout-small .four-column-full-width {
        width: 50%;
    }
    .widget_about_us .two-column,
    .widget_latest_blog .two-column {
        padding: 0 0 30px;
        width: 100%;
    }
    .three-column:nth-child(3n+4),
    .four-column:nth-child(4n+5),
    .column-2:nth-child(2n+3),
    .column-3:nth-child(3n+4),
    .column-4:nth-child(4n+5) {
        clear: none;
    }
    .three-column:nth-child(2n+3),
    .four-column:nth-child(2n+3) {
        clear: both;
    }

    #colophon .widget-area {
        margin: 0;
        display: block;
    }
    #colophon .column-1,
    #colophon .column-2,
    #colophon .column-3,
    #colophon .column-4 {
        border-right: none;
        width: 100%;
        float: none;
        padding: 0;
        display: block;
    }
    #slide { width: 100%; margin: 0 auto; }
    #footer-top { width: 100%; background-size: 100% auto; background-repeat: no-repeat; background-position: bottom; position: relative; }

    .go-to-top {
        display: block;        
        position: fixed;
        bottom: 20px;
        right: 30px;
        z-index: 999;        
    }
    .go-to-top a {
        width: 45px;
        height: 45px;
            -webkit-border-radius: 40px;
            -moz-border-radius: 40px;
        border-radius: 40px;
        display: block;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size: 24px;
        line-height: 44px;
        font-family: 'Genericons';
        background-color: #848484;
        text-align: center;
        color: #fff;
        opacity: 0.5;
            -moz-opacity: 0.5;
            filter:alpha(opacity=50);
            -ms-transition: all 0.3s ease-out;
            -moz-transition: all 0.3s ease-out;
            -webkit-transition: all 0.3s ease-out;
            -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }
    .go-to-top a:hover {
        opacity: 1;
            -moz-opacity: 1;
            filter:alpha(opacity=100);
        background-color: #6897e5;
    }
    .go-to-top a:before {
        content: '\f432';
    }

    .go-to-top a span { display: block; text-indent: -9999px; }
}

/* All Mobile Screen ( smaller than 768px )
================================================== */
@media only screen and (max-width: 767px) {

    .container,
    .boxed-layout #page,
    .boxed-layout-small #page {
        width: 460px;
    }
    .boxed-layout .container,
    .boxed-layout-small .container {
        width: 440px;
    }
    .comments-title,
    #respond h3#reply-title {
        font-size: 26px;
        line-height: 32px;
    }
    #main h1,
    #main h2,
    #main h3,
    #main h4,
    #main h5,
    #main h6 {
        padding-bottom: 10px;
    }
    hr {
        margin-bottom: 30px;
    }
    input[type="text"],
    input[type="email"],
    input[type="search"],
    input[type="password"],
    textarea,
    input[type="reset"],
    input[type="button"],
    input[type="submit"] {
        margin-bottom: 20px;
    }
    input.s {
        margin: 0;
    }   
    .boxed-layout #colophon,
    .boxed-layout-small #colophon {
        margin-bottom: 20px;
    }
    .sticky-margin {
        margin: 0px;
    }
    #site-branding,
    #site-title a img {
        max-width: 420px;
    }
    .boxed-layout #site-branding,
    .boxed-layout #site-title a img,
    .boxed-layout-small #site-branding,
    .boxed-layout-small #site-title a img {
        max-width: 400px;
    }
    #site-description,
    .header-info {
        display: none;
    }
    .header-search,
    .header-search-x {
        display: none;
    }
    .header-social-block {
        border: none;
        float: left;
    }
    /* ----- Responsive Navigation ----- */
    #sticky_header {
        position: relative !important;
    }
    .menu-toggle {
        display: block;
        background-color: rgba(0, 0, 0, 0);
        font-size: 0;
        border: 0 none;
        padding: 0;
        color: #666;
        width: 32px;
        float: right;
        margin-top: 25px;
        cursor: pointer;
    }
    .line-one, .line-two, .line-three {
        backface-visibility: hidden;
        display: block;
        height: 3px;
        margin: 5px auto;
            -webkit-transition: all 0.3s;
            -moz-transition:    all 0.3s;
            -o-transition:      all 0.3s;
        transition:         all 0.3s;
        width: 100%;
    }
    .menu-toggle.on .line-one {
            -moz-transform: rotate(-45deg) translate(-5px, 5px);
            -o-transform: rotate(-45deg) translate(-5px, 5px);
            -webkit-transform: rotate(-45deg) translate(-5px, 5px);
        transform: rotate(-45deg) translate(-5px, 5px);
    }
    .menu-toggle.on .line-two {
        opacity: 0;
            -moz-opacity: 0;
            filter:alpha(opacity=0);
    }
    .menu-toggle.on .line-three {
            -moz-transform: rotate(45deg) translate(-6px, -6px);
            -o-transform: rotate(45deg) translate(-6px, -6px);
            -webkit-transform: rotate(45deg) translate(-6px, -6px);
        transform: rotate(45deg) translate(-6px, -6px);
    }
    .navbar-right {
        clear: both;
        float: none;
    }
    .menu {
        display: none;
    }
    .widget_nav_menu .menu {
        display: block;
    }
    .toggled-on .menu {
        display: block;
    }
    #sticky_header {
        height: auto;
    }
    .main-navigation {
        float: none;
    }
    .main-navigaiton a {
        color: #999;
    }
    .main-navigation a:hover {
        color: #6897e5;
    }
    .main-navigation > ul {
        height: auto;
    }
    .main-navigation > ul > li {
        position: inherit;
        width: 100%;
        border-top: 1px dotted #ddd;
        margin-left: 0;

    }
    .main-navigation > ul > li::before {
        border-right: none;
    }
    .main-navigation a {
        float: none;
        padding: 10px 0;
        height: inherit;
    }
    .main-navigation a {
        color: #747474;
    }
    .main-navigation a:hover, .main-navigation ul li.current-menu-item a, .main-navigation ul li.current_page_ancestor a, .main-navigation ul li.current-menu-ancestor a, .main-navigation ul li.current_page_item a, .main-navigation ul li:hover > a {
        color: #6897e5;
        background-color: #fff;
    }

    /* ----- Dropdown ----- */
    .main-navigation ul li:hover ul {
        top: auto;
    }
    .main-navigation ul li ul {
        top: auto;
        width: 100%;
        left: 40px;
        display: block;
        opacity: 1;
        -moz-opacity: 1;
        filter:alpha(opacity=100);
        visibility:visible;
        position: static;
        box-shadow: none;
    }
    .main-navigation ul li ul li {
        float: none;
        margin: 0;
        position: relative;
        text-align: left;
        width: 100%;
        z-index: 1;
        display: block;
        opacity: 1;
        -moz-opacity: 1;
        filter:alpha(opacity=100);
        visibility:visible;
    }
    .main-navigation ul li ul li {
        border-top: 1px dotted #ddd;
    }
    .main-navigation ul li ul li::before {
        position: static;
    }
    .main-navigation ul li ul li ul {
        left: 160px;
        display: block;
        opacity: 1;
        -moz-opacity: 1;
        filter:alpha(opacity=100);
        visibility:visible;
    }
    #site-navigation ul ul ul a {
        padding-left: 40px;
    }
    .main-navigation ul ul li:hover ul {
        top: 0;
        display: block;
        opacity: 1;
        -moz-opacity: 1;
        filter:alpha(opacity=100);
        visibility:visible;
    }
    .main-slider .image-slider {
        padding: 15% 0;
    }
    .slider-content {
        width: 100%;
    }
    .slider-content {
        margin: 0px;
    }
    .page-header {
        padding: 10px 20px;
        margin-top: 0;
    }
    #content {
        padding-top: 50px;
    }
    /* ----- Column ----- */
    .column {
        margin: 0;
    }
    .two-column,
    .three-column {
        padding: 0 0 30px;
        width: 100%;
    }
    .four-column-full-width,
    .boxed-layout-small .four-column-full-width,
    #primary .three-column, 
    #primary .four-column-full-width, 
    #primary .four-column {
        margin: 0;
        width: 100%;
    }
    .widget_team .column {
        margin: 0 -10px;
    }
    .four-column {
        padding: 0 10px 30px;
        width: 50%;
    }
    .three-column:nth-child(2n+3) {
        clear: none;
    }
    #main .post {
        padding-bottom: 40px;
    }
    .small_image_blog .post-featured-image {
        width: 100%;
    }
    #main .sticky {
        padding: 10px 10px 0;
        margin-bottom: 40px;
    }
    #wp_page_numbers,
    .wp-pagenavi,
    #main ul.default-wp-page,
    .pagination {
        margin-bottom: 40px;
    }
    #wp_page_numbers ul li.page_info,
    .wp-pagenavi .pages {
        display: none;
    }
    .widget {
        margin-bottom: 40px;
    }
    .widget_custom-tagcloud {
        margin-bottom: 32px;
    }
    .widget_posts {
        margin-bottom: 20px;
    }
    .our_feature,
    .widget_parallax,
    .widget_about_us,
    .widget_portfolio,
    .widget_tf_section,
    .widget_team,
    .widget_latest_blog,
    .widget_multimedia,
    .widget_testimonial,
    .widget_client,
    .widget_newsletterwidget {
        margin-bottom: 0;
    }
    .our_feature {
        padding: 70px 0 40px;
    }
    .parallax_content {
        padding: 50px 0 30px;
    }
    .widget_about_us .container {
        padding: 70px 0 10px;
    }
    .widget_portfolio .four-column-full-width:first-child {
        padding: 60px 40px
    }
    .widget_tf_section .container {
        padding: 70px 0 20px;
    }
    .tf_section-content {
        padding-bottom: 10px;
    }
    .widget_multimedia {
        padding: 50px 0 80px;
    }
    .widget_latest_blog {
        padding: 60px 0 0;
    }
    .widget_team {
        padding: 70px 0 30px
    }
    .testimonial_bg {
        padding: 30px 0;
    }
    .widget_tf_section .tf_section-content,
    .widget_tf_section .tf-section-image {
        float: none;
        width: 100%;
        text-align: center;
    }
    .widget_tf_section .tf-section-image figure {
        text-align: center;
        padding: 0 5%;
    }
    .widget_tf_section .tf-section-image figure img {
        max-height: 250px;
    }
    .min_slider,
    #primary .min_slider {
        width: 440px;
    }
    .testimonials .quote img {
        position: relative;
    }
    .quote {
        padding: 10px;
        width: 100%;
    }
    .tnp-widget .tnp-field {
        width: auto;
    }
    #colophon .widget_posts {
        margin-bottom: 20px;
    }
    .site-info .social-links,
    .site-info .contact-links,
    .site-info .copyright {
        float: none;
        width: 100%;
    }
    .site-info .contact-links ul, .site-info .social-links ul {
        text-align: center;
        float: none;
        margin: 0;
    }
    .site-info .contact-links ul li, .site-info .social-links ul li {
        display: inline-block;
        float: none;
    }
    .site-info .copyright {
        padding-top: 20px;
        text-align: center;
    }
    #sticky_header {
        background-color: none;
        background-color: rgba(255, 255, 255, 0.9);
    }
    .single-post ul.gallery_col_2 li {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        display: block;
        float: left;
        text-align: center;
    }
    .single-post ul.gallery_col_2 li:nth-child(even) {
        width: 100%;
    }
    .single-post ul.gallery_col_2 li img {
        width: 100%;
        height: auto;
    }
    .page-id-39 .profile_intro .align_right, .page-id-39 .profile_intro .align_left {
        width: 100%;
    }
    .page-id-81 #president_intro .align_right, .page-id-81 #president_intro .align_left {
        width: 100%;
    }
    .page-id-81 #president_intro .align_right {
        margin-top: 20px;
    }
    .page-id-81 .align_right, .page-id-81  .align_left {
        width: 100%;
    }
    .page ul.gallery_col_3 li {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        display: block;
        float: left;
        text-align: center;
    }
    .page ul.gallery_col_3 li:nth-child(4n+1) {
        width: 100%;
    }
    .page ul.gallery_col_3 li img {
        width: 100%;
        height: auto;
    }
    .page-id-58 .solar_intro .align_right, .page-id-58 .solar_intro .align_left {
        width: 100%;
    }
    .page-id-109 #solar_gallery li {
        width: 100%;
    }
    .owl-carousel {  }
    .owl-item { width: 100%; }
    /*.img-responsive { width: 320px; }*/

    .entry-content { width: 100%; }

    .page:not(.home) .entry-content > p { width: 100%;  }

    #footer-wrap {
        height: auto;
        position: relative;
    }

    #colophon .widget-area {
        padding-top: 10px;
    }

    #footer-info {
        width: 100%;
        position: relative;
        /*padding-top: 220px;*/
        margin-top: 240px;


    }

    #footer-info span {
        text-align: center;
        font-size: 11px;
    }
    
    #footer-info img {
        max-width: 100%;
    }

    #footer-menu {
        height: auto;
        width: 100%;
        position: relative;
        margin-bottom: 10px;
    }

    .footer-menu {
        height: auto;
        width: 100%;
        position: relative;
    } 
    .footer-menu li a {
        /*border: 1px solid #f00;*/
        width: 100%;
        display: block;
    }

    #content-main {
        width: 100%;
    }

    #content-sidebar {
        width: 100%;
    }

    #content-sidebar ul#other_posts {
        margin-top: 30px;
        
    }

    #content-sidebar ul#other_posts li {
        list-style-type: disc;
        margin-left: 30px;
        width: 88%;
    }

    #wpforms-form-201 select {
        padding: 5px;
    }

}

/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {
    .container,
    .boxed-layout #page,
    .boxed-layout-small #page {
        width: 300px;
    }
    .boxed-layout .container,
    .boxed-layout-small .container {
        width: 280px;
    }
    .boxed-layout #colophon,
    .boxed-layout-small #colophon {
        margin-bottom: 10px;
    }
    #site-branding {
        margin-bottom: 13px;
        margin-top: 13px;
        max-width: 265px;
        max-width: 250px;
    }
    #site-title a img {
        max-width: 265px;
    }
    .boxed-layout #site-branding,
    .boxed-layout #site-title a img,
    .boxed-layout-small #site-branding,
    .boxed-layout-small #site-title a img {
        max-width: 240px;
    }

    /* ----- Column ----- */
    .column {
        margin: 0;
    }
    .widget_team .column {
        margin: 0;
    }
    .four-column {
        padding: 0 0 30px;
        width: 100%;
    }
    .four-column:nth-child(2n+3) {
        clear: none;
    }
    #main .sticky {
        padding: 15px 15px 0;
    }
    .btn-default {
        padding: 6px 18px;
        font-size: 13px;
    }
    .widget-highlighted-sub-title {
        font-size: 16px;
        line-height: 23px;
    }
    .boxed-layout .portfolio-content p,
    .boxed-layout-small .portfolio-content p {
        display: none;
    }
    .widget_latest_blog .blog-img,
    .widget_latest_blog .blog-content {
        width: 100%;
        padding: 0px;
    }
    .min_slider,
    #primary .min_slider {
        width: 220px;
    }
    #front-menu ul li {
        display: block;
        float: left;
        width: 100%;
        margin: 0 0 4% 0;
    }
    #front-menu ul li:nth-child(even) {
        margin-right: 0;
    }
    .entry-content {
        margin-top: 10px;
    }
    .entry-meta, .entry-content, .entry-detail {
        width: 100%;
    }
    .entry-thumb {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .entry-thumb img {
        width: 100%;
    }
    .entry-content > p {
        width: 100%;
    }
    #wpforms-form-201 #wpforms-201-field_2 li {
        display: block;
    }

    #company_gallery .align_left {
        width: 100%;
    }

    #company_gallery .align_right {
        width: 100%;
    }


    ul.solar_gallery_2 {
        overflow: hidden;
        margin-left: 0;
    }

    ul.solar_gallery_2 li:first-child {
        margin-left: 0%;
    }

    ul.solar_gallery_2 li img {
        display: inline-block;
        width: 100%;
        margin-right: 0;
    }

    ul.solar_gallery_2 li:last-child img {
        margin-right: 0;
    }

    ul.solar_gallery_2 li {
        position: relative;
        display: inline-block;
        width: 100%;
        margin-left: 0%;
        margin-bottom: 5%;
    }

    ul.solar_gallery_2 li:after {    
        content: "";
        display: block;
        width: 0; 
        height: 0; 
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 10px solid #be5108; 
        position: absolute;
        left: 45%;
        top: 101%;         
    }


    ul.solar_gallery_2 li:last-child:after {
        content: "";
        width: 0;
        height: 0;
        border-top: 0 solid transparent;
        border-bottom: 0 solid transparent;
        border-left: 0 solid #727272; 
    }

    h3.gallery_title {
        font-size: 12px;
    }
}

/* All Mobile ( smaller than 320px )
================================================== */
@media only screen and (max-width: 319px) {
    .container,
    .boxed-layout #page,
    .boxed-layout .container,
    .boxed-layout-small #page,
    .boxed-layout-small .container {
        width: 96%;
    }
}