/***********************
Big Gallery
Author: Jan Skwara
***********************/

@media only screen and (min-width: 980px) and (max-width: 1039px) {

    #page {
        width: 739px;
    }

    .scroll_pane {
        width: 735px;
    }
}


@media only screen and (max-width: 767px) {
    .permission-text {
        position: absolute;
        float: left;
        top: 5%;
        width: 100%;
        max-width: 95%;
    }

    #language {
        display: none;
    }

    .home-header-icons {
        display: none;
    }

    .home-permission-text {
        display: none;
    }

    #menu select {
        -webkit-appearance: none;
    }

    .permission-text {
        display: none;
    }

    .language-link {
        padding-top: 9px !important;
    }

    .portfolio-section figure:hover .fa {
        background-color: #2f2b27;
        padding: 5px !important;
        color: #fff;
        opacity: 1;
        text-align: center;
        margin: auto;
        /* left: 0; */
        position: relative;
        /* right: 0; */
    }

    .simplefilter li, .multifilter li, .sortandshuffle li {
        font-size: 11px;
    }

    portfolio-section figure .inner-overlay-content {
        padding: 0;
    }

    #menu {
        border-width: 0;
        background: transparent;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 0px;
        left: 127px;
        text-align: right;
        margin: 0 !important;
        padding: 0;
        display: block;
        overflow: hidden !important;
        z-index: 45;
    }

    #menu .cd-side-nav > ul > li > a {
        padding-left: calc(5% + 10px);
        font-family: 'Oswald', arial, serif;
        text-decoration: none;
        text-align: left;
    }

    .mobil-logo {
        width: auto;
        padding-top: 8px;
        margin-left: 5%;
        max-width: 168px;
    }
}

@media only screen and (min-width: 760px) and (max-width: 979px) {
    #menu select {
        -webkit-appearance: none;
    }

    .responsiveslides-div {
        max-width: 430px;
    }

    #page {
        max-width: 451px;
    }

    .scroll_pane {
        width: 515px;
    }

    .page_block {
        max-width: 100%;
    }

    .page-footer {
        max-width: 100%;
    }

    .submenu {
        padding: 0px 25px 0px 25px;
        font-size: 11px;
    }

    .simplefilter li, .multifilter li, .sortandshuffle li {
        padding: 00px !important;
    }

    .submenu .custom_font {
        font-size: 11px;
    }

    .submenu a {
        padding: 10px 5px 10px 5px;
        font-size: 11px;
    }

    h1.big_header {
        margin-right: 20px;
    }

    .one-half {
        width: 210px;
    }

    .one-third {
        width: 130px;
    }

    .two-third {
        width: 290px;
    }

    .one-fourth {
        width: 90px;
    }

    .three-fourth {
        width: 330px;
    }

    .page_block img {
        max-width: 431px;
    }



    .portfolio2c li {
        width: 210px;
    }

    .portfolio3c li {
        width: 130px;
    }

    .portfolio4c li {
        width: 90px;
    }

    .portfolio2c li img {
        width: 190px;
    }

    .portfolio3c li img {
        width: 110px;
    }

    .portfolio4c li img {
        width: 70px;
    }

    .portfolioblog li {
        margin-left: 7px;
    }

    .classicblog {
        width: 151px;
        padding: 0px 15px 0 15px;
    }

    .classicblog2 {
        width: 300px;
        margin: 0 0px 0 0px;
    }

    .classicblog2 img {
        max-width: 280px;
    }

    input, textarea {
        width: 185px;
    }

    .classicblog2 input, .classicblog2 textarea {
        width: 195px;
    }

    .equipment:nth-child(4) {
        width: 100%;
    }

    .equipment {
        width: 100%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {

    .responsiveslides-div {
        max-width: 410px;
    }

    #menu select {
        -webkit-appearance: none;
    }

    .filter-container {
        text-align: center;
        padding: 5px !important;
    }

    #menu {
        border-width: 0;
        background: transparent;
        /* Fallback for web browsers that don't support RGBa */
        background-color: rgb(0, 0, 0);
        /* RGBa with 0.6 opacity */
        background-color: rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 0px;
        left: 127px;
        text-align: right;
        display: block;
        margin: 0 !important;
        padding: 0;
        overflow: hidden !important;
    }

    .tinynav {
        display: block;
        margin: 60px auto 10px auto;
        width: 90%;
    }

    .sf-menu {
        display: none;
    }

    #logo {
        position: absolute;
        top: 0px;
        left: 0px;
        margin: 0;
        z-index: 602;
        width: 127px;
        height: 100px;
        background-size: 127px 100px;
    }

    #page {
        position: absolute;
        top: 100px;
        width: 469px;
        left: 0px;
    }

    #menu-hide, #menu-show {
        display: none;
    }

    h1.big_header {
        font-size: 18px;
        line-height: 36px;
    }

    .scroll_pane {
        width: 455px;
    }

    .page_block {
        padding: 10px 10px 20px 10px;
    }


    .submenu {
        padding: 0px 10px 0px 10px;
        font-size: 10px;
    }

    .submenu .custom_font {
        font-size: 10px;
    }

    .submenu a {
        padding: 10px 5px 10px 5px;
        font-size: 10px;
    }

    h1.big_header {
        margin-right: 20px;
    }

    .one-half, .one-third, .two-third, .one-fourth, .three-fourth {
        margin: 0 5px 0 5px;
    }

    .column_cont {
        margin: 0 -5px 0 -5px;
    }


    .one-half {
        width: 210px;
    }

    .one-third {
        width: 137px;
    }

    .two-third {
        width: 284px;
    }

    .one-fourth {
        width: 100px;
    }

    .three-fourth {
        width: 320px;
    }

    .page_block img {
        max-width: 411px;
    }

    .portfolio2c, .portfolio3c, .portfolio4c, .portfolioblog {
        margin-left: -10px;
    }

    .portfolio2c li, .portfolio3c li, .portfolio4c li, .portfolioblog li {
        padding: 0px 0 20px 10px;
    }

    .portfolio2c li {
        width: 210px;
    }

    .portfolio3c li {
        width: 137px;
    }

    .portfolio4c li {
        width: 100px;
    }

    .portfolio2c li img {
        width: 190px;
    }

    .portfolio3c li img {
        width: 117px;
    }

    .portfolio4c li img {
        width: 80px;
    }

    .portfolioblog li {
        margin-left: 7px;
    }

    .classicblog {
        width: 130px;
        padding: 0px 0 0 10px;
    }

    .classicblog2 {
        width: 280px;
        margin: 20px 0px 0 5px;
    }

    .classicblog2 img {
        max-width: 260px;
    }

    .classicblog img {
        max-width: 110px;
    }

    input, textarea {
        width: 179px;
    }

    .classicblog2 input, .classicblog2 textarea {
        width: 175px;
    }

    #modal_shadow {
        width: 354px;
        background: transparent url(/assets/images/modal_shadow_mini.png) no-repeat;
    }

    #simplemodal-container {
        width: 334px !important;
        padding: 20px 10px 20px 10px !important;
        margin-left: 0px !important;
    }

    .desc-one-half {
        width: 164px;
    }

    #menu-show, #menu-hide {
        display: none !important;
    }

    #menu .buy, #menu .follow {
        display: none;
    }

    #thumbnails img {
        max-width: 50px;
    }

    #thumbnails a {
        width: 50px;
        height: 50px;
    }

    #mini_cont {
        height: 92px;
    }

    #thumbnails_cont {
        height: 74px;
    }

    #example_video {
        position: fixed;
        top: 100px;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: -1000;
    }

    .equipment:nth-child(4) {
        width: 100%;
    }

    .equipment {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {


    .responsiveslides-div {
        max-width: 282px;
    }

    #page {
        position: absolute;
        top: 100px;
        width: 340px;
        left: 0;
    }

    #menu select {
        -webkit-appearance: none;
    }

    .tinynav {
        display: block;
        margin: 60px auto 10px auto;
        width: 90%;
    }

    .sf-menu {
        display: none;
    }

    #logo {
        position: absolute;
        top: 0px;
        left: 0px;
        margin: 0;
        z-index: 602;
        width: 127px;
        height: 100px;
        background-size: 127px 100px;
    }


    #menu-hide, #menu-show {
        display: none;
    }

    h1.big_header {
        font-size: 18px;
        line-height: 36px;
    }

    .scroll_pane {
        width: 356px;
    }


    .submenu {
        width: 100%;
        padding: 0px;
        font-size: 8px;
    }


    .submenu a {
        padding: 10px 5px 10px 5px;
        font-size: 10px;
    }

    h1.big_header {
        margin-right: 20px;
    }

    .one-half, .one-third, .two-third, .one-fourth, .three-fourth {
        margin: 0 5px 0 5px;
    }

    .column_cont {
        margin: 0 -5px 0 -5px;
    }

    .one-half {
        width: 146px;
    }

    .one-third {
        width: 94px;
    }

    .two-third {
        width: 198px;
    }

    .one-fourth {
        width: 68px;
    }

    .three-fourth {
        width: 224px;
    }

    .page_block img {
        max-width: 282px;
    }

    .portfolio2c, .portfolio3c, .portfolio4c, .portfolioblog {
        margin-left: -10px;
    }

    .portfolio2c li, .portfolio3c li, .portfolio4c li, .portfolioblog li {
        padding: 0px 0 20px 10px;
    }

    .portfolio2c li {
        width: 146px;
    }

    .portfolio3c li {
        width: 94px;
    }

    .portfolio4c li {
        width: 146px;
    }

    .portfolio2c li img {
        width: 126px;
    }

    .portfolio3c li img {
        width: 74px;
    }

    .portfolio4c li {
        width: 146px;
    }

    .portfolio4c li img {
        width: 126px;
    }

    .portfolioblog li {
        margin-left: 51px;
    }

    .classicblog {
        width: 292px;
        padding: 0 0 0 10px;
        margin: 0px 0px 0px 5px;
        float: none !important;
    }

    .classicblog2 {
        width: 292px;
        margin: 0;
        padding: 0 0 0 10px;
        clear: both;
        float: none !important;
    }

    .classicblog2 img {
        max-width: 272px;
    }

    input, textarea {
        width: 180px;
    }

    th {
        line-height: 18px;
    }

    td {
        line-height: 18px;
    }

    table, th, td {
        padding: 5px;
    }

    .contactpage {
        width: 292px;
        padding: 0 0 0 10px;
        margin: 0px;
        float: none !important;
    }

    #modal_shadow {
        width: 354px;
        background: transparent url(/assets/images/modal_shadow_mini.png) no-repeat;
    }

    #simplemodal-container {
        width: 334px !important;
        padding: 20px 10px 20px 10px !important;
        margin-left: 0px !important;
    }

    .desc-one-half {
        width: 164px;
    }

    #menu-show, #menu-hide {
        display: none;
    }

    #menu .buy, #menu .follow {
        display: none;
    }

    #thumbnails img {
        max-width: 50px;
    }

    #thumbnails a {
        width: 50px;
        height: 50px;
    }

    #mini_cont {
        height: 92px;
    }

    #thumbnails_cont {
        height: 74px;
    }

    #example_video {
        position: fixed;
        top: 100px;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: -1000;
    }

    .equipment:nth-child(4) {
        width: 100%;
    }

    .equipment {
        width: 100%;
    }

    .responsiveslides-div {
        max-width: 410px;
    }
}

@media only screen and (max-height: 500px) {
    h1.big_header {
        display: none;
    }


    .contact-page {
        left: 0;
    }

    #menu select {
        -webkit-appearance: none;
    }
}

@media only screen and (max-width: 480px) {
    #menu select {
        -webkit-appearance: none;
    }


    .home-permission-text {
        position: absolute;
        float: left;
        left: 0;
        top: 20%;
        width: 100%;
        /* padding: 10px; */
        max-width: 95%;
    }

    ul.filter > li > a {
        line-height: 0px !important;
    }

    .list-inline > li {
        display: inline-block;
        padding-right: 0px;
        padding-left: 0px;
    }

    .contact-page {
        left: 0;
    }

    .equipment:nth-child(4) {
        width: 100%;
    }

    .equipment {
        width: 100%;
    }

    .margin_3_2line {
        left: 1% !important;
        margin-top: 0px !important;
    }
}

@media only screen and (max-width: 320px) {

    .margin_1line {
        margin-top: -8px !important;
    }

    .home-permission-text {
        top: 23%;
    }

    #page, .scroll-pane {
        width: 320px !important;
    }



    #menu select {
        -webkit-appearance: none;
    }


    .responsiveslides-div {
        max-width: 410px;
    }

    .simplefilter li, .multifilter li, .sortandshuffle li {
        padding: 3px;
        font-size: 11px;
    }

    .contant-title:before, .contant-title:after, footer:before, footer:after {
        max-width: 239px !important;
    }

    /*
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) {
    .equipment:nth-child(4) {
        width: 51%;
    }
}*/
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation:landscape) {

    .mobil-logo {
        width: 20%;
        padding-top: 8px;
        margin-left: 5%;
    }
}

@media only screen and (min-device-width: 413px) and (max-device-width: 736px) and (orientation:landscape) {
    .margin_1line {
        margin-top: -8px !important;
    }

    .col-xs-13 {
        width: 33.33333333%;
    }

    .simplefilter li, .multifilter li, .sortandshuffle li {
        padding: 0;
    }

    .mobil-logo {
        width: 20%;
        padding-top: 8px;
        margin-left: 5%;
    }

    .portfolio-section figure .inner-overlay-content {
        display: table-cell;
        vertical-align: middle;
        width: 100%;
        padding: 21px 31px;
    }

    .portfolio-section figure .inner-overlay-content.with-icons a {
        width: 28px !important;
        height: 28px !important;
        padding-top: 4px !important;
    }

    .portfolio-title {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    img.shadow {
        margin-top: -65px;
    }

    .filter-container .shadow {
        margin-top: 0px !important;
    }


    .home-permission-text {
        top: 24%;
    }


    div.big_header {
        padding-bottom: 55px;
    }

    #page {
        position: absolute;
        top: 100px;
        width: 669px;
        left: 0px;
    }

    .scroll-content > div {
        max-height: 6249px !important;
        overflow: scroll;
        height: 100%;
    }
}

@media only screen and (min-width: 400px) and (max-width: 597px) {

    .contant-title:before, .contant-title:after {
        max-width: 379px;
    }
}

@media only screen and (min-width: 360px) and (max-width: 480px) {

    .simplefilter li, .multifilter li, .sortandshuffle li {
        padding: 3px 3px 3px 11px;
    }

    .margin_1line {
        margin-top: -8px !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1290px) {

    .page-left-menu {
        width: 100%;
        max-width: 193px;
    }

    .container {
        width: 1258px;
    }
}

@media only screen and (min-width: 1600px) {

    .container {
        width: 1530px;
    }

    .cd-main-content {
        width: 100%;
        background: black url(/assets/images/menu-bg.jpg) repeat-y;
        position: relative;
        z-index: 601;
        text-transform: uppercase;
        float: left;
        left: 0;
        clear: left;
        height: 100%;
        background-size: 100% 100%;
    }

    .page-left-menu .logo img {
        width: 100%;
    }
}

@media only screen and (max-width: 750px) and (max-width: 1334px) {
    .permission-text {
        /*top: 4%;*/
        width: 100%;
        max-width: 92%;
    }
}

@media only screen and (min-width: 1921px) {

    .container {
        width: 100%;
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media only screen and (min-device-width: 750px) and (max-device-width: 1334px) and (orientation:landscape) {

    .mobil-logo {
        width: 23%;
        padding-top: 8px;
        margin-left: 5%;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation:landscape) {
    .slider {
        height: 100% !important;
        min-height: 553px;
        background-color: #000;
    }

    #slider div.caroufredsel_wrapper {
        overflow: hidden;
        margin-top: 0 !important;
    }

    #gallery img {
        height: 100%;
        min-height: 420px;
    }


}

@media (max-width: 992px) {
    .contant-title h2 {
        margin-bottom: 15px;
    }
}