* { margin: 0px; padding: 0px; }
@media screen and (max-width:1200px) {
    .search-results #content, .search-no-results #content,
    .single #content {
        box-sizing: border-box;
        float: left;
        padding-right: 30px;
        width: 67% !important;
    }
    .top-section .right {
        width: 43% !important;
    }
    .innerpage {
        width: 100% !important;
    }
    .form-cell {
        margin: 0 0 20px;
        width: 50%;
    }
    .services-wrapper #content.full-width,
    .team-wrapper #content.full-width,
    .gallery-wrapper #content.full-width {
        width: 100%;
    }
    
    .flex-control-nav {
        bottom: 21px;
    }
    footer .footer-widget {
        width: 25%;
        padding-left: 15px;
        padding-right: 15px;
        float: left;
        margin: 0px 0px 0px 0px;
    }
    footer {
        margin: 0 auto;
        width: 100%;
    }
    .header-top {
        width: 100%;
    }
    .menu-div {
        width: 100%;
    }
    .team-bottom-section figure img,
    .gallery-bottom-section figure img {
        width: 96%;
    }

    #navicon {
        display: none;
    }
    #s {
        float: left;
        width: 60%;
    }
    #searchsubmit {
        width: 30%;
        float: right;
    }
   
}

@media screen and (max-width:1023px) {
    .bottom {
        padding-left: 10px;
    }
    .consultation-desc {
        padding: 0px 20px;
    }
    #wrapper #container #content {
        width: 100%;
    }

    footer {
        padding-top: 30px;
        padding-bottom: 0;
    }
    #menu-main-navigation { margin-left: 0em; }
    .team-bottom-section,
    .gallery-bottom-section {
        width: 98%;
        padding-left: 1px;
    }
    #wrapper #container #content.full-width,
    #wrapper #container {
        width: 100% !important;
    }
    footer .footer-widget {
        width: 50% !important;
        min-height: 220px;
    }
    .flex-control-nav {
        bottom: 10px;
    }
    .gallery-wrapper .gallery-bottom-section .section.col-3,
    .team-wrapper .team-bottom-section .section.col-3 {
        width: 33.33%;
    }
    .gallery-wrapper .gallery-bottom-section .section.col-3:nth-child(4n+1),
    .team-wrapper .team-bottom-section .section.col-3:nth-child(4n+1) {
        clear: none;
    }
    .gallery-wrapper .gallery-bottom-section .section.col-3:nth-child(3n+1),
    .team-wrapper .team-bottom-section .section.col-3:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width:767px) {
    
    .button-wrapper{margin-left:0px;}

    .blog #content, .search-results #content, .search-no-results #content,
    .single #content {
        padding-right: 0;
    }
     
    #s {
        float: left;
        width: 60% !important;
    }
    #searchsubmit {
        width: 30%;
        float: right;
    }

    .responsive-nav {
        display: none !important;
    }
    #navicon {
        background-color: #002163;
        color: #ffffff;
        display: block;
        padding: 0.6em 1em;
        text-transform: uppercase;
        margin-top: 1em;
    }
    #wrapper #header .main-nav ul li, 
    #header .main-nav #topsearch #tsearch { border: 0; border-top: 1px solid rgba(255,255,255,0.1); }
    #header .main-nav > div > ul > li ul, 
    #header .main-nav > div > ul > li:hover, 
    #header .main-nav #topsearch #tsearch { background: #002163; }
    #wrapper #container #content {
        width: 100% !important;
        margin: 0 !important;
    }
    #wrapper #container {
        width: 100% !important;
    }
    #logo-container {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    .team-bottom-section figure img,
    .gallery-bottom-section figure img {
        width: 100%;
    }
    .team-bottom-section .col-3 {
        margin: auto;
        padding-bottom: 15px;
        width: 100% !important;
    }
    .gallery-bottom-section .col-3 {
        margin: auto;
        padding-bottom: 15px;
        width: 100% !important;
    }
    .team-bottom-section .col-3,
    .gallery-bottom-section .col-3 {
        float: none;
    }
    #menu-main-navigation { display: none; }
    #footer-bottom .author {
        border-left: none;
        padding: 0;
        margin: 0;
    }
    .questions-section .inner {
        padding: 20px 0px;
    }
    .newsletter {
        margin: 0;
        width: 100%;
    }
    article.hentry .post-thumb {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .newsletter {
        margin: 0;
        width: 100%;
    }
    .blog #content, .search-results #content, .search-no-results #content {
        padding-right: 0px;
    }
    article .post-thumb {
        width: 100%;
    }
    
	.nextline {
		display: block;
	}
    .search-no-results #content {
        text-align: center;
    }
}

@media screen and (max-width:568px) {
    
    .top-section .col-6.left > p {
        margin-bottom: 0;
        text-align: center;
    }
    .alignright {
        float: none;
    }
    .blog #content, .search-results #content, .search-no-results #content {
        padding-right: 0px !important;
    }
    article .post-thumb {
        width: 100%;
    }
    .newsletter {
        margin: 0;
        width: 100%;
    }
    article.hentry .post-thumb {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .newsletter {
        margin: 0;
        width: 100%;
    }
    .desktop {
        display: none !important;
    }
}

@media screen and (max-width:479px) {
    .button-wrapper{margin-top:10px !important}
    
    article.hentry .post-thumb {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    article .post-thumb {
        width: 100%;
    }
    .blog #content, .search-results #content, .search-no-results #content {
        padding-right: 0px;
    }
    .alignright {
        float: none;
    }
    .form-cell {
        width: 100%;
    }
    footer .footer-widget {
        width: 100% !important;
            min-height: auto;
    }
    #footer-bottom .author {
        width: 100%;
        text-align: center;
        border-left: 0px solid #e3e3e3 !important;
        margin: 0px;
        padding: 0px;
    }
    .team-bottom-section figure img,
    .gallery-bottom-section figure img {
        width: 100%;
    }
}
@media screen and (min-width:768px) and (max-width:1024px) { 
    .questions-section .inner { padding-bottom: 30px; }
}
@media screen and (max-width:767px) {
    .questions-section .inner { padding:30px 0px; }
}