

@media (min-width: 1280px) and (max-width: 1400px) {
    .wrap-main-content {
        max-width: 1400px;
        width: unset;
    }
    .main-content {
        /*width: 75%;*/
    }
}
@media (min-width: 948px) and (max-width: 1280px) {

    /* for debugging */
    body {
        /*background-color: red !important;*/
    }
    .logo {
        margin-left: 11%;
    }
    .main-container {
        /*background: #ffffff;*/
    }
    .wrap-main-content {
        max-width: 1280px;
        width: unset;
        /*background: #ffffff;*/
    }

    .main-content {
        width: 80%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .animenu li, .animenu a, .animenu__nav > li > span {
        display: inline-block;
        font-size: 1.1rem;
    }

    .footer-img {
        width: 99.3%;
    }
}
/*Samsung galaxy Tab landscape, Ipad portrait, Ipad mini portrait*/
@media (min-width: 783px) and (max-width: 947px) {

    body {
        /*background-color: green !important;*/
    }

    .main-container {
        background: #ffffff;
    }
    .wrap-main-content {
        max-width: 947px;
        width: unset;
        background: #ffffff;
    }

    .main-content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .animenu li, .animenu a, .animenu__nav > li > span {
        display: inline-block;
        font-size: .8rem;
    }

    .logo {
        margin-left: 0;
    }

    .piclink img {
        /*width: 100%;*/
        height: auto;
    }
}

/*Samsung galaxy Tab portrait*/
@media (min-width: 481px) and (max-width: 782px) {
   .main-container {
       min-width: unset !important;
       /*max-width: 600px !important;*/
       background: #ffffff;

   }
    .wrap-main-content {
        max-width: 100%;
        background: #ffffff;
    }

    .main-content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
    }

    .piclink {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .piclink img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

    body {
        /*background-color: yellow !important;*/
    }
    header {
        height: 15%;
    }

    .logo {
        margin-left: 0;
        top: 0.2rem;
    }
    .logo span {
        font-size: 1.2rem;
    }
    .contact {
        position: relative;
        margin-left: 0%;
        right: 0;
        top: 50px;
        background: #02486169;
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }

    .contact a {
        font-size: 2rem;
        display: inline;
        position: relative;
        text-shadow: 1px 1px 10px #000;
        padding-right: 20px;
        padding-left: 20px;
    }

    /* social buttons */
    .social-buttons {
        top: 10px;
        position: absolute;
        right: 5%;
        margin-left: 0;
    }

    .social-buttons a {
        box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
        border-radius: 50%;
        margin-left: 3px;
    }
    /* social buttons end */
    .language-switcher {
        width: 15%;
    }
    .piclink {
        margin-bottom: 10px !important;
        margin-right: 5px !important;

    }
    .piclink a.botlink {
        font-size: 2rem !important;
        bottom: 14px;
    }
    .main-news .left {
        width: 100% !important;
    }
    .newslink {
        margin-left: unset;
        float: right;
    }
    .widget li {
        width: 100%;
    }
    .widget_body {
        padding: 0;
        box-shadow: none;
    }

    .animenu {
        position: relative;
        top: 18%;
    }

    .animenu__toggle {
        display: inline-block;
    }

    .animenu__nav,
    .animenu__nav__child {
        display: none;
    }

    .animenu__nav {
        margin: 10px 0;
    }
    .animenu__nav > li {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #515151;
    }
    .animenu__nav > li:last-child {
        border: 0;
    }
    .animenu__nav > li:first-child > a:after {
        content: "";
        position: absolute;
        height: 0;
        width: 0;
        left: 1em;
        top: -6px;
        border: 6px solid transparent;
        border-top: 0;
        border-bottom-color: inherit;
    }
    .animenu__nav > li > a {
        width: 100%;
        padding: 10px;
        border-color: #111;
        position: relative;
    }
    .animenu__nav a:hover {
        background-color: #0186ba;
        border-color: #0186ba;
        color: #fff;
    }

    .animenu__nav__child {
        position: static;
        background-color: #373737;
        margin: 0;
        transition: none;
        visibility: visible;
        opacity: 1;
    }
    .animenu__nav__child > li:first-child > a:after {
        content: none;
    }
    .animenu__nav__child a {
        padding-left: 20px;
        width: 100%;
    }
    table.photo-galleries-male td {
        width: 45%;
    }
    table.photo-galleries td {
        width: 32%;
    }
    table.photo-galleries img {
        width: 100%;
        height: auto;
    }
    table.photo-galleries-female td {
        width: 49%;
        display: inline-block;
    }
    table.photo-galleries-female img {
        width: 100%;
        height: auto;
    }
    .galleryview {
        width: unset !important;
        height: 355px !important;
    }
    .panel {
        width: 100% !important;
        height: 100% !important;
    }

    .panel-overlay,  .overlay-background{
        width: 100% !important;
    }

    .panel img {
        width: 100% !important;
        height: auto !important;
    }

    .strip_wrapper {
        top: 70% !important;
        left: 0 !important;
        width: 100% !important;
    }
    .author {
        margin-left: 2% !important;
        /*margin-top: -50px;*/
    }

    .social-buttons-join {
        margin-top: -5%;
        right: 10%;
        margin-bottom: 10px;
    }
    footer .social-buttons {
        margin-top: 12%;
    }
    .footer-img {
        display: none;
    }
    footer {
        margin-top: 30px;
    }

}

@media (min-width: 100px) and (max-width: 480px) {
    body {
        /*background-color: #14f2c7 !important;*/
    }
    .main-container {
        min-width: unset !important;
    }
    .wrap-main-content {
        max-width: 100%;
        background: #ffffff;
    }

    .main-content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
    }
    .piclink {
        width: unset !important;
        margin-bottom: 5px;
    }
    .piclink img {
        max-width: 100%;
        height: auto;
        width: 480px;
    }
    .piclink a.botlink {
        font-size: 2rem !important;
        height: 40px;
    }
    header {
        height: 10%;
    }
    .logo {
        margin-left: 0;
        z-index: 99;
        top: 0.2rem;
    }
    .logo span {
        font-size: 1.2rem;
    }
    .contact {
        position: relative;
        margin-left: 0%;
        right: 0;
        top: 0;
        background: #02486169;
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }

    .contact a {
        font-size: 1.5rem;
        display: inline;
        position: relative;
        text-shadow: 1px 1px 10px #000;
        padding-right: 10px;
        padding-left: 10px;
    }

    /* social buttons */
    .social-buttons {
        margin-left: 45%;
        top: -65px;
    }
    .social-buttons a {
        box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
        border-radius: 50%;
        margin-left: 3px;
    }

    /* social buttons end */

    .main-news .left {
        width: unset !important;
        text-align: left;
    }

    .animenu {
        top: 18%;
    }
    .animenu__toggle {
        display: inline-block;
    }
    .animenu__nav,
    .animenu__nav__child {
        display: none;
    }
    .animenu__nav > li {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #515151;
    }
    .animenu__nav > li:last-child {
        border: 0;
    }
    .animenu__nav > li:first-child > a:after {
        content: "";
        position: absolute;
        height: 0;
        width: 0;
        left: 1em;
        top: -6px;
        border: 6px solid transparent;
        border-top: 0;
        border-bottom-color: inherit;
    }
    .animenu__nav > li > a {
        width: 100%;
        padding: 10px;
        border-color: #111;
        position: relative;
    }
    .animenu__nav a:hover {
        background-color: #0186ba;
        border-color: #0186ba;
        color: #fff;
    }
    .animenu__nav__child {
        position: static;
        background-color: #373737;
        margin: 0;
        transition: none;
        visibility: visible;
        opacity: 1;
    }
    .animenu__nav__child > li:first-child > a:after {
        content: none;
    }
    .animenu__nav__child a {
        padding-left: 20px;
        width: 100%;
    }
    table.photo-galleries td {
        display: inline-block;
        width: 49%;
    }
    table.photo-galleries-female td {
        width: 95%;
        display: inline-block;
    }
    .author {
        margin-left: 2% !important;
    }
    #nav-above {
        margin-left: unset;
    }
    a.more-link {
        margin-left: unset;
        left: 0;
        display: block;
    }
    .post small {
        margin-left: unset;
        display: block;
        padding: 10px 0;
    }
    .social-buttons-join {
        margin-top: 3%;
        right: 54%;
        margin-bottom: 10px;
    }

    table.photo-galleries-male td {
        width: 65%;
    }
    table.photo-galleries-female img {
        width: 100%;
        height: unset;
    }
    .contacts-right {
        float: unset;
        width: unset;
    }

    footer {
        margin-top: 30px;
    }
    footer .social-buttons {
        margin-top: 18%;
        margin-left: 0;
    }
    .footer-img {
        display: none;
    }
    .galleryview {
        width: unset !important;
        height: 355px !important;
    }
    .panel {
        width: 100% !important;
        height: 100% !important;
    }

    .panel-overlay,  .overlay-background{
        width: 100% !important;
    }

    .panel img {
        width: 100% !important;
        height: auto !important;
    }

    .strip_wrapper {
        top: 70% !important;
        left: 0 !important;
        width: 100% !important;
    }

}