@media (max-width : 1260px){
	div#slider div#overlayText #top {
    font-size: 46px;
    z-index: 100;
	}
	#top span {
    font-size: 60px;
	line-height: 80px;
  }
  .home div#slider div#overlayText p#middle {
	margin-top: -290px;  
  }  
  .single-service h1#top {
   margin-top: -260px;
  }
}
@media (max-width : 768px)
{
	 .single-service h1#top {
     margin-top: -200px !important;
  }
    .langBar .lang-item {
        display:none !important;
    }
   .lang-item{
        display: block !important;
        float:left;
        width: 20%;
        z-index: 100;
    }
    .nav-menu li:first-child{
        margin-left: 60%;
    }
   
    .langLink.active {
        text-decoration: underline;
        color:white;
    }
    div.contentRowContainer.earthworks
    {
        width: 100% !important
    }
    .mm-panels {
    border-left: #ddd solid 1px;
}

    /* WEB CSS */
    body
    {
        font-family : 'Exo 2', sans-serif;
        height      : 100%;
        width       : 100%;
        color       : #2E3945;
        background  : url("./../images/ecocrush_background_mazaks.jpg");
    }
    hr.hr
    {
        border        : 1px solid #EF7D00;
        width         : 100%;
        margin        : 0 auto;
        margin-top    : -29px;
        margin-bottom : 29px;
        margin-right  : 0px;
        display       : none;
    }
    div#slider div.skembasSlider { display : none;}
    div#slider div.gallerijaSlider { display : none;}
    div#slider div.preseSlider { display : none;}
    strong
    {
        font-weight : 600;
    }

    sup
    {
        font-size      : 15px;
        line-height    : 15px;
        vertical-align : super;
    }

    /* HEADER */
    div#header
    {
        width  : 100%;
        height : auto;
        margin : 0 auto;
    }

    div#press div.heading1-orange {
      margin-top: 10px !important;
      margin-bottom: 80px;
    }

    div#header div#top
    {
        height   : 179px;
        width    : 100%;
        margin   : 0 auto;
        overflow : hidden;
    }

    div#header div#top div.logo-container
    {
        margin : 0 auto;
        width  : 300px;
        height : 99px;
    }

    div#header div#top div.logo
    {
        float      : left;
        width      : 225px;
        margin-top : 12px;
    }

    div#header img.logo-img
    {
        float  : left;
        margin-top: -23px;
    }
    div#header div#top object.eco-text {
    width: 220px;
}

    div#header div.contacts
    {
        width           : 100%;
        height          : 80px;
        float           : none;
        margin          : 0 auto;
        background      : url("./../images/mobile_top_bg.svg");
        background-size : cover;
        overflow        : hidden;
      z-index: 10001;
      top: -6px;
      display: block;
    }

    div#header div#top .eco-text
    {
        float         : right;
        margin-top    : 12px;
        margin-left   : 10px;
        margin-bottom : 10px;
        height        : 28px;
        width         : 225px;
    }

    div#header div#top p.logo-text
    {
        font-size   : 17px;
        font-weight : bold;
    }

    div#header div.contacts .mobileYoutube
    {
        float        : right;
        height       : 28px;
        margin-top   : -56px;
        margin-right : 30px;
        display      : none;
    }

    div#header div.contacts .ico
    { display : none; }

    div#header div.contacts .mobileIco
    {
        width   : 25px;
        height  : 25px;
        margin  : 5px 10px 5px 5px;
        display : initial;
        float: left;
    }

    div#header div.contacts div.top
    {
        width      : 218px;
        height: 30px;
        margin     : 0 auto;
        margin-top : 5px;
        float: left;
    }

    div#header div.contacts p.text,  div#header div.contacts p.text a
    {
        font-weight : 600;
        font-size   : 22px;
        margin-top  : 2.5px;
        float       : left;
    }

    div#header div.contacts div.bottom
    {
        width  : 220px;
        margin : 0 auto;
        float: left;
        display: block;

    }

    div#header div.contacts div.bottom p.text a
    {
        font-size  : 13px;
        text-align : left;
        width      : auto;
        margin-top : 9px;
    }

    div#header div.contacts a.mobile-menu{
      background: url("./../images/hamburger.svg");
      background-size: cover;
      width: 45px;
      height: 45px;
      display: inline-block;
      float: right;
      margin-top: 20px;
      margin-right: 15px;
    }

    div.mobile-contacts {
      display: inline-block !important;
      width: 300px;
      }
    .mobile_switcher{
        display:block;
    }
    ul.mobile_switcher li {
    display: inline-block;
    margin: 30px 3px 0px;
}
ul.mobile_switcher a {
    color: #fff;
    text-decoration: none;
}
ul.mobile_switcher .current-lang a {
    text-decoration: underline;
}

    /* NAV */
    #mobile-nav {
        display: block;
    }
    div#nav
    {
        display : none;
    }

    /* Slider */
    div#slider
    {
        width      : 100%;
        margin-top : -1px;
        height     : auto;
        overflow   : hidden;
    }

    div#slider .slider, .serviceSlider
    {
        display : none;
    }

    div#slider div.overlay
    {
        width            : 100%;
        height           : 345px;
        background-color : black;
        opacity          : 0.2;
        margin-top       : -345px;
        position         : relative;
        z-index          : 99;
    }

    div#slider div#overlayText
    { overflow : hidden; width : 100%; height : auto }

    .home div#slider div#overlayText #top
    {
        color       : white;
        font-weight : 700;
        font-size   : 32px !important;
        text-align  : center;
        margin-top  : -240px;
        position    : absolute;
        width       : 100%;
        z-index     : 999;
    }

    #top span {
		font-size   : 32px !important;
		line-height: 40px;
	}	
    .main_gallery {
        margin-top: 50px;
    }

    div.wut
    { display : none; }

    div.mobileWut
    {
        width      : 100%;
        margin-top : 0px;
        height     : auto;
        display    : initial;
    }

    div#slider div#overlayText p#middle
    {
        color      : white;
        font-size  : 16px;
        text-align : center;
        margin-top : -145px !important;
        width      : 100%;
        position   : absolute;
        z-index    : 999;
    }

    div#slider div#overlayText p#middle2
    {
        font-size   : 30px;
        text-align  : center;
        margin      : 0 auto;
        margin-top  : 30px;
        font-weight : 600;
        width       : 360px;
        line-height : 37px;
        height      : 37px;
        background  : url("./../images/text_backgr_01.svg");
    }

    div#slider div#overlayText p#middle3
    {
        font-size   : 30px;
        text-align  : center;
        margin      : 0 auto;
        margin-top  : 10px;
        font-weight : 600;
        width       : 400px;
        line-height : 37px;
        height      : 37px;
        background  : url("./../images/text_backgr_02.svg");
    }

    div#slider div#overlayText p#middle.skembas
    {
        color      : white;
        font-size  : 18px;
        text-align : center;
        margin-top : -80px;
        width      : 100%;
        position   : absolute;
        z-index    : 99;
    }

    div#slider div#overlayText p#middle.skembas a {
        background: url("./../images/text_backgr_02.svg");
        width: 150px;
        display: block !important;
        margin: 0 auto;
        height: 36px;
        color: #fff;
        line-height: 36px;
        font-weight: 600;
    }
	.form_text {
    margin-top: 15px !important;
}
    div#slider div#overlayText p#bottom, .form_text
    {
        font-size       : 16px;
        text-align      : center;
        margin          : 0 auto;
        margin-top      : -10px;
        font-weight     : 600;
        width           : auto !important;
        line-height     : 26px;
        padding         : 35px 60px;
        height          : auto !important;
        color           : white;
        background      : url("./../images/text_backgr_03.svg");
        background-size : cover;
        z-index         : 9999;
        position        : relative;
    }
    div#slider div#overlayText.skembas p#bottom {
        margin-top:-30px !important;
        z-index : 2 !important;
    }
    .rent-items {
      display: flex;
      flex-direction: column;
      width: 100%;
      justify-content: space-between;
    }
    .rent-item {
      margin: 0 auto;
      margin-bottom: 80px;
    }
    .rent-item:last-child {
      margin-bottom: 0;
    }
    .noma-nblock .colWrap{
        width:100% !important;
        margin: auto;
    }
    .noma-nblock  .col.noma-col-1,
    .noma-nblock  .col.noma-col-2,
    .noma-nblock  .col.noma-col-3 {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
      }

    .nblock2.noma-nblock div.colWrap div.col:nth-child(2) {
        margin-left:20px;
        margin-right: 0;
        float: none !important;
    }

    div#slider div.nomaSlider {
      width      : 100%;
      margin-top : -40px;
      height     : 350px;
      overflow   : hidden;
      background : url("./../images/noma_hero.jpg");
      -webkit-background-size :cover; background-size :cover;
      background-position: center;
    }
    .nblock2.noma-nblock {
      padding-top: 0px !important;
    }
    div#header.noma-header
    {
      height : 570px !important;
    }
    div#slider div#overlayText.noma p#top {
      margin-top: -180px !important;
    }
    div.zemeSlider {
        display:none;
    }
    div.zemes-uzpirksanaSlider {
        display:none;
    }
    div.mobileSlider
    {
        width                   : 100%;
        height                  : 300px;
        display                 : block;
        -webkit-background-size : cover; background-size : cover;
    }
   

    /* CONTENT */
    .single-post img.attachment-post-thumbnail, .post_text{
        width: 100% !important;
        padding: 0 15px;
        margin: 20px 0;
    }
    .single-post h1, .single-post h4.date {
    margin-left: 15px;
   }
    div#services
    {
        width : 100%;
        color : white;
    }

    div#services div.heading1
    {
        margin          : 0 auto;
        width           : 270px;
        height          : auto;
        font-size       : 18px;
        line-height     : 40px;
        padding         : 5px;
        font-weight     : 600;
        color           : white;
        margin-top      : 60px;
        text-align      : center;
        position        : relative;
        background      : url("./../images/title_backgr_01.svg");
        background-size : cover;
    }

    div#content
    {
        font-weight : 600;
        font-size   : 16px;
    }

    div.content
    {
        margin: 60px 10px 0  !important;
       
    }

    div#services div.contentRow.mid
    { margin : 30px auto; }

    div#services div.contentRow
    {
        width      : 300px;
        height     : 340px;
        float      : none;
        margin     : 0 auto;
        overflow   : hidden;
        background-repeat: no-repeat;
    }

    div#services p.contentHeading
    {
        text-align  : center;
        line-height : 20px;
        margin      : 10px;
    }

    div#services p.contentText
    {
        text-align  : center;
        line-height : 120%;
        width       : 280px;
        margin-left : 10px;
        font-weight : 400;
        font-size: 14px;
    }

    div#services img.contentImg
    {
        width         : 280px;
        height        : 170px;
        margin-top    : 6px;
        margin-left   : 10px;
        margin-bottom : 6px;
    }

    div#why
    { clear : both }

    div#why div.heading2
    {
        margin          : 0 auto;
        width           : 90%;
        font-size       : 18px;
        font-weight     : 600;
        color           : white;
        margin-top      : 100px;
        text-align      : center;
        position        : relative;
        background      : url("./../images/title_backgr_02.svg");
        background-size : cover;
        display         : block;
        height          : auto;
        padding         : 10px;
        line-height     : 20px;
    }
    div#why div.content {
        width: 480px !important;
        margin: 62px auto;
    }

    div#gallery
    {
        clear    : both;
        overflow : hidden;
        width    : 100%;
    }

    div#gallery div.heading1
    {
        background      : url("./../images/title_backgr_galery.svg");
        width           : 180px;
        height          : auto;
        line-height     : 40px;
        font-size       : 18px;
        text-align      : center;
        color           : white;
        position        : relative;
        margin          : 0 auto;
        margin-top      : 100px;
        background-size : contain;
    }

    .min-top {
      margin-top: 0 !important;
    }

    div#gallery div.content
    {
        width      : 100%;
        margin     : 0 auto;
        margin-top : 55px;
    }

    div#gallery div.firstRow,
    div#gallery div.secondRow
    {
        width     : 90%;
        margin    : 0 auto;
		flex-direction: column;
		align-items: center;
    }

    div#gallery div.firstRow img
    {
        margin-bottom : 16px;
        width         : 100%;
        height: auto;
    }

    div#gallery div.secondRow img
    { width   : 100%; }

    div#gallery div.secondRow img
    {
        width: 100%;
        margin-bottom : 16px;
        overflow      : hidden;
		height: auto;
    }

    div#gallery div.secondRow div.lastImage
    {
        float         : left;
        margin-bottom : 45px;
        max-width     : 32%;
        overflow      : hidden;
        margin-right  : 0;
        height        : auto;
    }

    div#gallery div.secondRow img.last
    {
        margin-right : 0px;
        float        : right;
        width        : 100%;
        position     : relative;
        height       : 100%;
        max-width    : 100%;
    }

    div#gallery div.youtubevideo
    { margin-bottom : 45px; }

    div#gallery div.youtubevideo iframe
    {
        max-width : 616px;
        width     : 90%;
        margin    : 0 auto;
        display   : block;
    }

    div#footer
    {
        width      : 100%;
        background : #EF7D01;
        min-height : 153px;
    }

    div#footer div.content
    {
        width    : 100%;
        margin   : 0 auto;
        overflow : hidden;
    }

    div#footer div.left
    {
        float: none;
        font-weight: 400;
        max-width: 600px;
        width: 90% !important;
        margin: 45px auto;
        font-size: 14px;
        text-align: center;
        line-height: 21px;
    }

    div#footer div.right
    {
        float  : none;
        margin : 0 auto;
        width  : 290px;
        height : 100px;
    }

    div#footer object
    {
        width   : 25px;
        height  : 25px;
        float   : left;
        padding : 5px;
    }

    div#footer div.phone
    {
        width    : 290px;
        height   : 30px;
        overflow : hidden;
    }

    div#footer div.phone p
    {
        float       : left;
        font-weight : 600;
        font-size   : 20px;
        line-height : 35px;
    }

    div#footer div.email
    {
        width    : 290px;
        height   : 30px;
        overflow : hidden;
    }

    div#footer div.email p
    {
        float       : left;
        font-weight : 600;
        line-height : 35px;
    }
    .slick-list
    {
        width : 100%;
    }

    input[type=file]
    {
        width    : 0.1px;
        height   : 0.1px;
        opacity  : 0;
        overflow : hidden;
        position : absolute;
        z-index  : -1;
    }

    input[type=file] + label
    {
        font-weight     : 700;
        cursor          : pointer;
        float           : none;
        overflow        : hidden;
        background      : #EC8E29;
        height          : 30px;
        line-height     : 30px;
        text-align      : center;
        border-radius   : 4px;
        width           : 200px;
        margin          : 0 auto;
        display         : none;
        text-decoration : underline;
        margin-top      : 15px;
        max-width       : 250px;
    }

    label.photoLabel:first-child
    { display : block; }

    div#form div.row .photoDelete
    {
        float      : right;
        margin     : 5px;
        padding    : 0;
        width      : 20px;
        height     : 20px;
        display    : none;
        color      : rgba(0, 0, 0, 0);
        background : url("./../images/delete-01.svg");
        margin-top : -25px;
    }

    div#form input[type=submit].photoDeleteOne
    {
        display : none;
    }

    .required
    {
        border : 2px solid #DC090F !important;
    }

    div.langBar div.maxWidth
    {
        padding : 0 10px;
    }

    div.langBar a.langLink:first-child
    {
        margin-right : 5px;
    }
    div#press div.contentRow {
        width: 300px;
        margin: 0 auto !important;
        float: none;
        padding-bottom :30px;
    }

    div#press div.heading1-orange {
      margin-top: 100px;
    }

    div#kontakti div.contentRow {
        width:300px;
        margin:0 auto !important;
        float:none;
        padding-bottom:30px;
    }
    div#kontakti table {
        width:300px;
        overflow: hidden;
    }
    div#kontakti table td {
        font-size: 17px;
    }
    div#kontakti table tr:last-child td {
        font-size: 15px;
    }
}

@media (max-width : 400px)
{
    div#slider div#overlayText p#middle3
    {
        width     : 90%;
        font-size : 20px;
    }

    div#slider div#overlayText #top
    {
        font-size : 28px !important;
    }

    div#slider div#overlayText p#middle2
    {
        width     : 90%;
        font-size : 20px;
    }
	
}

@media (max-width : 470px)
{
	div#slider div#overlayText p#middle {
       margin-top: -120px !important;
	}
   .mobileYoutube
    {
        display : none !important;
    }
    .nblock1 h1,
    .nblock2 h1,
    .nblock3 h1,
    .nblock4 h1 {
        width:300px;
        font-size :20px;
    }
}
@media (max-width: 490px) {
    div#newsCont div.content div {
        margin: 0 auto;
        float: none;
        padding-top: 10px;
        width: 235px;
    }
    div#why div.content {
        width: 220px !important;
    }
	 div#form div.smallrow div.contentRow input, div#form input.input
    {
        width : 308px;
    }
	 div#form textarea
    {
        width         : 318px;
        height        : 160px;
      }
	  div#form div.subHeading, div#form label.label {
     font-size: 16px;
	}
	a.cd-upload-btn {
  	padding-left: 90px;
    font-size: 18px;
}
}
@media (max-width : 670px)
{
    div#gallery div.secondRow div.galleryOverlay
    {
        display : none !important;
    }
    div#header.noma-header {
      height: 570px !important;
    }
}

@media (max-width: 940px) {
div#kontakti .content {
    width: 100%;
}
  div#form div.smallrow div.contentRow {
    width: 100%;
    float: left;
    text-align: center;
}
  div#press div.heading1-orange {
    margin-top: 880px;
    margin-bottom: 80px;
  }
  div#press .pressLast {
    margin-bottom: 20px !important;
  }

  .img-fluid {
      width: 100%;
      margin: auto;
      display: block;
  }

 .ru-middle {
    margin-top: -150px !important;
  }

    div#content, div#top {
        width: 100% !important;
    }
    div#footer div.left {
        width:430px;
    }
    div#footer div.content {
        width:100%;
    }
    div#services div.content {
        margin:0 auto;
    }
    div#services div.contentRow,
    div#services div.contentRow.mid,
    div#services div.contentRow.last {
        margin-top: 30px;
    }
    div#why div.content {
        width: 480px;
        margin: 62px auto !important;
    }

    div#form
    {
        clear    : both;
        overflow : hidden;
        width    : 100%;
    }

    div#form form
    { width : 100%; margin-left : 0px; }

    div#form div.heading3
    {
        margin          : 0 auto;
        max-width       : 380px;
        width           : 90%;
        height          : auto;
        line-height     : 20px;
        font-size       : 18px;
        font-weight     : 600;
        color           : white;
        margin-top      : 100px;
        text-align      : center;
        position        : relative;
        background      : url("./../images/title_backgr_02.svg");
        background-size : cover;
        padding         : 10px;
    }

    div#form div.subHeading
    {
        text-align : center;
        margin-top : 55px;
    }

    div#form div.content
    { margin-top : 25px; }

    div#form div.row
    {
        width : 100%;
        float : left;
		text-align: center;
    }
	div#form textarea {
	float: none;	
	}	
	.upload img {
     left: 0px;
}

    div#form label.label
    {
        width         : 100%;
        display       : block;
        margin-bottom : 5px;
        text-align    : center;
        margin-top    : 30px;
    }

    div#form label.label:first-child
    {
        margin-top : 0;
    }

    div#form input.input
    {
        font-size     : 16px;
        
    }

    div#form p.add.photo {
        max-width: 90%;
        margin: 0 auto;
    }
    div#form p.add
    {
        text-align    : center;
    }

    div#form div.upload
    {
        width  : 320px;
        margin: 25px auto 50px;
    }

     div#form div.smallrow
    {
        width         : 100%;
        float         : left;
        margin-top    : 25px;
        margin-bottom : 25px;
    }

    div#form div.contentRow
    {
        float          : none;
        margin         : 0 auto;
        padding-bottom : 10px;
    }

   	div#form div.smallrow div.contentRow.mid {
    margin: 0px;
}
    div#form div.error
    {
        display          : none;
        width            : 90%;
        clear            : both;
        float            : none;
        margin           : 0 auto;
        margin-top       : 30px;
        text-align       : center;
        border-radius    : 4px;
        background-color : #FFBDC9;
        color            : #DC090F;
        height           : auto;
        line-height      : 24px;
        margin-bottom    : 25px;
    }

    div#form input[type=submit]:hover
    { background : #EC8E29; }

    div#form input[type=submit]
    {
        height             : 63px;
        width              : 338px;
        margin-left: 10px;
    }
    div#press div.content {
        width: 640px;
        margin: 0 auto;
        margin-top: 71px;
    }
    div#press div.pressContent:first-child {
      margin-bottom: 70px;
    }
    .noma-nblock .colWrap{
        width:640px;
        margin: auto;
    }
    .noma-nblock .col {
      display: block;
      float: none !important;
      display: inline-block;
    }
    .noma-nblock div.colWrap div.col:nth-child(2) {
        margin-left:20px;
        margin-right: 0;
        float: right !important;
    }
    .nblock2.noma-nblock div.colWrap div.col:nth-child(3) {
        margin-left:auto;
        margin-right: auto;
        display: block;
    }

}

@media (max-width: 840px) {
    div#content.news div.right {
        width: 90%;
        float: none;
        margin:0 auto;
        padding-top: 60px;
    }
    div#content.news div.left {
        display: none;
    }
    div#header.news {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    #content .noma-nblock {
      margin-top: 20px;
    }
    .noma-nblock .colWrap{
        margin: auto;
    }
     .nblock .col.noma-col-2 {
      margin-left: 20px;
      margin-right: 0;
    }

    .nblock1 div.colWrap {
        padding-top:0 !important;
    }
}

@media (max-width:620px) {
    div.colWrap {
        width:300px;
        margin:0 auto;
    }
    .nblock1 div.colWrap div.col:last-child {
        margin:0 auto;
        padding-top:50px;
    }
    .nblock4 p {
        width:90%;
        margin:60px auto;
    }
    .nblock3 .cols {
        width: 220px;
        margin:0 auto;
        margin-top:60px;
    }
}
@media (min-width : 768px)
{
.contentRow.mid { margin:0 25%}
.show-middle { margin:0 25% !important;}
}