/*
	Theme Name: Ekomarkejums
	Theme URI: http://emei.eu
	Description: Custom WP theme for Ekomarkejums
	Version: 1
	Author: Miķelis Apinis
	Author URI: http://emei.eu
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */

*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */

html {
  font-size: 62.5%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 11pt;
  color: #354242;
  background: #f7f7f7;
}

body.mobile-drop-active {
  overflow: hidden;
}

p {
  line-height: 1.7em;
}

p:first-child {
  margin-top: 0;
}

/* clear */

.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  *zoom: 1;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
  color: #45b29d;
  font-weight: 600;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -transition: all 0.2s ease-in-out;
}

ul {
  margin: 0;
}

ol {
  margin: -0.7em 0;
}

a:hover {
  color: #444;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
  border: 1px solid #04a4cc;
}

h1 {
  color: #7d9100;
  font-weight: 300;
  font-size: 3em;
  margin-bottom: 0;
}

h2,
h2 a {
  color: #7d9100;
  font-weight: 300;
}

h2 {
  font-size: 2em;
  line-height: 0;
  margin: 1em 0;
}

main h2 {
  line-height: 1em;
  margin-bottom: 0;
}

h2.white {
  color: #fff;
}

h2.section-heading {
  color: #354242;
  border-bottom: 4px solid #df5a49;
  font-size: 1.4em;
  font-weight: 500;
  padding-bottom: 0.4em;
}

h3 {
  text-transform: uppercase;
  font-size: 1em;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */

.wrapper {
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* header */

.header {
  padding: 1em;
  margin: 1.5em 0 0 0;
  background: #7d9100;
  display: block;
}

.header .show-menu {
  display: none;
  float: right;
  margin: 0.1em 0.6em 0 0;
  width: 34px;
  height: 34px;
  background: transparent url(img/menu.png) no-repeat 0 0;
  cursor: pointer;
}

/* logo */

.logo a {
  color: #fff;
  font-size: 2.5em;
  font-weight: 300;
  float: left;
}

/* nav */

#main-navigation {
}

.show-menu {
  display: none;
}

#main-navigation.nav,
.footer-nav {
  background: #7d9100 url(img/menu-bg.jpg) no-repeat 0 0;
  width: 100%;
  /*height: 200px;*/
  max-width: 1020px;
  /*max-height: 299px;*/
}

#main-navigation.nav a,
.footer-nav a {
  font-weight: 600;
}

.footer .middle img {
}

.footer .middle h2 {
  font-size: 0.6em;
  text-transform: none;
  opacity: 0.8;
}

.nav {
  padding: 1em;
}

.nav ul {
  padding: 0;
  list-style: none;
}

.nav ul li {
  width: 30%;
  float: left;
  margin: 0 5% 0 0;
}

.nav ul li:nth-child(3n) {
  margin-right: 0;
}

.nav a {
  padding: 1em;
  background: #354242;
  color: #fff;
  display: block;
  text-align: center;
}

.nav a:hover {
  background: #fff;
  color: #354242;
}

nav.footer-nav {
  float: left;
}

.single p#breadcrumbs {
  margin-bottom: 1em;
}

.mark-text table tr td:first-child {
  padding-right: 12px;
}

.auto-size {
  width: auto !important;
  height: auto !important;
}

/* Mobile Menu */

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.content {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

#mobile-nav {
  display: none !important;
  /*display: block !important;*/
  position: fixed;
  top: 0;
  left: 0;
  height: 65px;
  width: 100%;
  background-color: #7d9100;
  z-index: 30;
  -webkit-box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.4);
}

#logo-mobile {
  float: left;
}

#logo-mobile a {
  /*padding-top: 0.2em;*/
  color: #fff;
  font-size: 1.6em;
  line-height: 45px;
  font-weight: 300;
}

#mobile-toggle {
  width: 100%;
  height: 65px;
  position: relative;
  text-align: right;
  padding: 10px 0;
}

#mobile-toggle .menu-icon {
  display: inline-block;
  padding: 20px 40px 25px 10px;
  cursor: pointer;
}

#mobile-toggle .menu-icon span,
#mobile-toggle .menu-icon span:before,
#mobile-toggle .menu-icon span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 4px;
  width: 30px;
  background: #fff;
  position: absolute;
  display: block;
  content: "";
  -webkit-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

#mobile-toggle .menu-icon span:before {
  top: -10px;
}

#mobile-toggle .menu-icon span:after {
  bottom: -10px;
}

#mobile-toggle .menu-icon.active span {
  background-color: transparent;
}

#mobile-toggle .menu-icon.active span:before,
#mobile-toggle .menu-icon.active span:after {
  top: 0;
}

#mobile-toggle .menu-icon.active span:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}

#mobile-toggle .menu-icon.active span:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
}

#mobile-drop {
  display: none;
  background-color: #7d9100;
  position: fixed;
  z-index: 25;
  top: 0;
  bottom: 0;
  width: 100%;
  padding-top: 65px;
  /*overflow-y: scroll;*/
  /*-webkit-overflow-scrolling: touch;*/
}

#mobile-drop ul {
  padding: 20px;
  list-style: none;
}

#mobile-drop ul li {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

#mobile-drop a {
  padding: 1em;
  background: #354242;
  color: #fff;
  display: block;
  text-align: center;
  font-weight: 600;
}

#mobile-drop a:hover {
  background: #fff;
  color: #354242;
}

/* END of Mobile Menu */

main {
  padding-bottom: 2em;
}

main article ul {
  margin-left: 1em;
  list-style-image: url(img/bullet.png);
}

main article ul li {
  margin-bottom: 1.5em;
}

.to-top {
  display: block;
  clear: both;
  float: left;
  margin-top: 2em;
  padding: 2.3em 0 3em 0;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  color: #7d9100;
  background: transparent url(img/to-top-arrow.png) no-repeat center top;
}

.to-top:hover {
  background: transparent url(img/to-top-arrow-hover.png) no-repeat center top;
}

.footer-info {
  width: 100%;
  padding: 2em 1em;
  background: #efefef;
}

.footer-info h2 {
  text-transform: uppercase;
  color: #354242;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 1.5em;
}

.footer-info > section {
  text-align: center;
  width: 33.33%;
  padding: 1em;
  float: left;
}

.footer-info > section img {
  margin-bottom: 10px;
  max-width: 280px;
}

.footer-info .fb,
.footer-info .tw {
  display: block;
  width: 100%;
  text-transform: uppercase;
  color: #fff;
  padding: 1em 1em 1em 5em;
}

.footer-info .fb:hover,
.footer-info .tw:hover {
  opacity: 0.8;
}

.footer-info .fb {
  background: #3b5998 url(img/fb-logo.png) no-repeat 1.5em center;
  margin: 1em 0;
}

.footer-info .tw {
  background: #019fe9 url(img/tw-logo.png) no-repeat 1em center;
}

body.home #breadcrumbs {
  display: none;
}

#breadcrumbs {
  margin: 0;
  padding: 1em 2em;
  background: #45b29d;
  color: #fff;
  text-transform: uppercase;
}

#breadcrumbs a {
  color: #fff;
  font-weight: 500;
}

.button {
  background: #7d9100;
  padding: 0.5em;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9em;
  color: #fff;
}

.right-arrow {
  background: #7d9100 url(img/arrow.png) no-repeat 95.5% center;
  padding-right: 3em;
}

.gallery-item img {
  border: none !important;
}

a.fancybox.image {
  position: relative;
}

.gallery-item .gallery-icon a::before {
  content: " ";
  display: block;
  width: 220px;
  height: 165px;
  margin: 0 auto;
  background: rgba(125, 145, 0, 0.4) url(img/plus.png) no-repeat center center;
  opacity: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -transition: all 0.2s ease-in-out;
}

.gallery-item .gallery-icon a:hover::before {
  opacity: 1;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

article.left-col,
article.right-col {
  width: 500px;
}

article.left-col {
  float: left;
}

article.right-col {
  float: right;
}

.home-section {
  float: left;
  width: 100%;
  /*min-height: 354px;*/
  height: 354px;
}

.home-section .text-block {
  width: 390px;
  margin: 0 0 0 1em;
  float: left;
}

#guide {
  background: transparent url(img/guide-bg.jpg) no-repeat 0 0;
}

#students {
  background: transparent url(img/student-bg.jpg) no-repeat 0 0;
}

#news {
  background: transparent url(img/news-bg.jpg) no-repeat 0 0;
}

.mark-guide {
  width: 100%;
  float: left;
}

.mark-list {
  float: left;
  width: 100%;
  margin: 20px 0;
}

.mark-list .mark {
  position: relative;
  width: 14%;
  float: left;
  margin: 0 1.33% 2%;
}

.mark,
.mark-overlay,
.mark .fancybox-inline img {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -transition: all 0.2s ease-in-out;
}

.mark .mark-overlay {
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: 226px;
  padding: 1em;
  background: #45b29d;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  font-size: 0.9em;
}

.mark .fancybox-inline {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.9em;
}

.mark .fancybox-inline img {
  border: 3px solid #ffffff;
  width: 226px;
}

.mark:hover .fancybox-inline img {
  border-color: #45b29d;
}

.mark:hover .mark-overlay {
  opacity: 1;
}

.mark-img {
  position: absolute;
  top: 1%;
  bottom: 1%;
  background: #fff;
  width: 220px;
  float: left;
  padding: 15px;
}

.mark-img img {
  margin-bottom: 1em;
  display: block;
}

.mark-img .button,
.mark-img img {
  width: 100%;
}

.mark-img .button {
  display: inline-block;
  text-align: center;
}

.mark-text {
  margin: 0 0 0 19em;
}

.mark-text h2 {
  line-height: 1em;
}

.page-template-guide #fancybox-content,
.page-template-guide #fancybox-content > div {
  overflow: visible !important;
  min-height: 400px;
}

.page-template-guide #fancybox-overlay {
  background-color: rgb(69, 178, 157) !important;
}

.page-template-guide #fancybox-close {
  background: transparent url(img/fancybox-close.png) no-repeat center center;
  top: -47px;
  right: 2%;
}

.page-template-guide #fancybox-close:hover {
  background: transparent url(img/fancybox-close-hover.png) no-repeat center
    center;
}

.page-template-guide #fancybox-close::before {
  content: "AIZVĒRT";
  position: absolute;
  left: -236%;
  top: 16%;
  color: #ffffff;
  font-weight: 300;
  font-size: 0.9em;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 1em 1em 0 0;
}

.product-list li {
  position: relative;
  margin: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -transition: all 0.2s ease-in-out;
}

.product-list li:hover {
  opacity: 0.9;
}

.product-list li:hover > * {
  opacity: 1;
}

.product-list .featured-icon {
  position: absolute;
  left: 4%;
  top: 13px;
  width: 32px;
  height: 32px;
}

.product-list .featured-icon img {
  width: 32px;
  height: 32px;
}

.product-list li ul li {
  margin-bottom: 1em;
}

.product-list .product-content {
  /*overflow: hidden;*/
  display: none;
  background: #ffffff;
  padding: 0;
}

.product-list li.active .product-content {
  display: block;
}

.product-list .product-content p:first-child {
  padding-top: 1em;
}

.product-list .product-content > * {
  margin-left: 1em;
  margin-right: 1em;
}

.product-list .product-content br {
  clear: both;
  float: left;
}

.product-list .open.product-content {
  padding: 1em;
}

.product-list h2 {
  margin: 0;
  cursor: pointer;
}

.product-list h2 a {
  color: #ffffff;
  text-align: left;
  display: block;
  padding: 0.5em 0.5em 0.5em 3em;
}

.product-list .clothing {
  background: transparent url(img/img.png) no-repeat left center;
}

.product-list .chemicals {
  background: transparent url(img/img.png) no-repeat left center;
}

.product-list .cosmetics {
  background: transparent url(img/img.png) no-repeat left center;
}

.product-list .paper {
  background: transparent url(img/img.png) no-repeat left center;
}

.product-list .construction {
  background: transparent url(img/img.png) no-repeat left center;
}

.product-list .food {
  background: transparent url(img/img.png) no-repeat left center;
}

.product-list .food h2 {
  background-color: #c9de55;
}

.product-list .construction h2 {
  background-color: #dad987;
}

.product-list .paper h2 {
  background-color: #9cd59e;
}

.product-list .cosmetics h2 {
  background-color: #344242;
}

.product-list .chemicals h2 {
  background-color: #7d9000;
}

.product-list .clothing h2 {
  background-color: #45b29d;
}

.wpcf7-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
  max-width: 100%;
  max-height: 200px;
  padding: 0.4em;
  border: 2px solid #45b29d;
  margin-bottom: 1em;
  font-size: 1.2em;
}

.find-marking-inputs .wpcf7-text {
  margin-bottom: 0;
}

.find-marking-inputs .wpcf7-form-control-wrap {
  display: inline-block;
  margin-bottom: 1em;
  width: 100%;
}

.wpcf7-text:focus {
  border: 2px solid #7d9100;
}

.find-marking span.wpcf7-not-valid-tip {
  margin-top: 1em;
}

.find-marking li {
  position: relative;
  min-height: 240px;
  margin-bottom: 2em;
}

.find-marking-img {
  width: 22.2%;
  float: left;
  margin: 0 2% 20px 0;
}

.find-marking img {
  width: 100%;
}

.find-marking-inputs {
  float: left;
  width: 75.8%;
  padding-left: 3.33%;
}

.pieteikuma-anketa .find-marking .field-description {
  width: 75.8%;
  float: left;
  padding-left: 4.5%;
  margin: 0;
  line-height: 1.2em;
}

.skoleniem .find-marking li .wpcf7-form-control-wrap {
  display: block;
}

.skoleniem .find-marking li {
  padding: 12em 1em 1em 1em;
  margin-bottom: 1em;
}

.skoleniem .find-marking .marking-1 {
  background: #fff url(img/marking-1.jpg) no-repeat center top;
}

.skoleniem .find-marking .marking-2 {
  background: #fff url(img/marking-2.jpg) no-repeat center top;
}

.skoleniem .find-marking .marking-3 {
  background: #fff url(img/marking-3.jpg) no-repeat center top;
}

.skoleniem .find-marking .marking-4 {
  background: #fff url(img/marking-4.jpg) no-repeat center top;
}

.skoleniem .find-marking .marking-5 {
  background: #fff url(img/marking-5.jpg) no-repeat center top;
}

.wpcf7-submit {
  width: 100%;
  float: right;
  padding: 1em;
  background: #7d9100;
  border: none;
  color: #fff;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.skoleniem .wpcf7-response-output,
.uzdot-jautajumu .wpcf7-response-output {
  width: 100%;
  clear: both;
  margin: 0;
  padding: 1em;
  border: none;
  color: #fff;
  font-size: 1.1em;
}

.jautajums .wpcf7-mail-sent-ok,
.jautajums .wpcf7-response-output,
.jautajums .wpcf7-validation-errors {
  width: 46%;
  float: right;
}

.how-to {
  padding-left: 1.6em;
  background: transparent url(img/question.png) no-repeat left center;
}

#add-video-description ol {
  margin: 0;
}

/*#add-video-description {
	display: none;
}

#fancybox-content #add-video-description {
	display: block;
}*/

div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng,
div.wpcf7-mail-sent-ok {
  background: #df5a49;
  padding: 1em;
  border: none;
  margin: 0;
  color: #fff;
}

div.wpcf7-mail-sent-ok {
  background: #7d9100;
}

.ask-question {
  width: 50%;
  float: left;
}

.attach-file {
  width: 46%;
  float: right;
}

.ask-question,
.attach-file {
  margin-top: 1em;
}

.attach-file h3 {
  margin-top: 0;
}

.attach-file .wpcf7-submit {
  margin-top: 1em;
}

.blogs main > section,
.single main > section {
  width: 70%;
  float: left;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-article,
article.category-mark {
  position: relative;
  background: #fff;
  padding: 30px;
}

.news-article h2,
article.category-mark h2 {
  margin-top: 0;
  font-size: 2em;
  line-height: 1.1em;
  max-width: 85%;
}

article.category-mark h1 {
  margin-top: 0;
}

.news-date,
article.category-news .date {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1em;
  background: #7d9100;
  color: #fff;
}

article.category-mark .date {
  display: none;
}

aside.sidebar {
  width: 28%;
  float: right;
  padding: 30px;
  background: #fff;
}

aside.sidebar h3 {
  margin-top: 0;
}

aside.sidebar .widget_archive {
  margin-top: 1em;
}

article.category-news {
  position: relative;
  padding: 2em;
  background: #fff;
}

article.category-news h1 {
  line-height: 1.1em;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

::-webkit-selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

.product-list a img.alignnone {
  margin: 0;
  float: left;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 480px) and (min-width: 320px) {
  .mark-list .mark {
    width: 44%;
    margin: 0 3% 4.5%;
  }
  .mark-img {
    position: relative;
    width: 180px;
  }
  .mark-text {
    margin: 0;
  }
  h2.section-heading {
    font-size: 1.2em;
  }
}

@media only screen and (max-width: 768px) and (min-width: 320px) {
  .mark-img {
    position: relative;
    float: none;
    margin: 0 auto;
  }
  .mark-text {
    margin: 0;
  }
  .find-marking-img {
    float: none;
    width: 226px;
  }
  .find-marking-inputs {
    float: none;
    width: 100%;
    padding-left: 0;
  }
  .pieteikuma-anketa .find-marking .field-description {
    width: 100%;
    float: none;
    padding-left: 12px;
  }
}

@media only screen and (max-width: 768px) and (min-width: 480px) {
  .mark-list .mark {
    width: 28.33%;
    margin: 0 2.5% 3.8%;
  }
}

@media only screen and (max-width: 1020px) and (min-width: 768px) {
  .mark-list .mark {
    width: 21%;
    margin: 0 2% 3%;
  }
}

@media only screen and (max-width: 1020px) and (min-width: 320px) {
  body {
    padding-top: 65px;
  }
  .header {
    display: none;
  }
  #mobile-nav {
    display: block !important;
  }
  #main-navigation.nav {
    display: none;
  }
  .content {
    padding: 0 20px;
    width: 100%;
  }
  .home-section {
    height: auto;
  }
  .home-section .text-block {
    width: 100%;
    padding: 1em;
    margin: 0;
  }
  .home-section h2 {
    margin: 0;
  }
  .footer-info > section {
    width: 100%;
    padding: 1em 0;
  }
  .footer-info > section.middle {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  article.left-col,
  article.right-col {
    width: 100%;
    float: none;
  }
  article.left-col {
    margin-right: 0;
  }
  main > section > section,
  main > section > article,
  main > h1,
  main > section > h1 {
    padding: 0 20px;
  }
  .blogs main > section,
  .single main > section {
    width: 100%;
    float: none;
    padding: 0 20px;
    margin-bottom: 20px;
  }
  article.category-news {
    padding: 2em 20px;
  }
  aside.sidebar {
    width: calc(100% - 40px);
    float: none;
    margin: 0 20px;
    padding: 20px;
  }
  .news-article {
    padding: 30px 20px 20px;
  }
  .product-list {
    padding: 0;
    margin-right: 0;
  }
  main article ul {
    margin-left: 0;
  }
  .ask-question {
    width: 100%;
    float: none;
  }
  .attach-file {
    width: 100%;
    float: none;
  }
}

@media only screen and (min-width: 1020px) {
  body {
    padding-top: 0;
  }
  .content {
    padding: 0;
    width: 100%;
  }
  #mobile-drop {
    display: none !important;
  }
}
