/*-=Small screens=-*/
@media only screen and (max-width: 640px) {
  .home_second_section h2 {
    display: none !important;
  }
  .for_mobile {
    display: inline;
  }
  .home_second_section h3:first-letter {
    text-transform: uppercase;
  }
  .home_second_section h3 {
    text-transform: lowercase;
  }
.slider-controls-about-me .slick-next-third {
  right: 15%;
}
.breadcrumbs {
  margin-bottom: 20px;
}
.fourth_block_img {
  margin-bottom: 20px;
}
  /* TOP BAR Mobile STYLING */
  .top-bar {
    height: auto;
    background: #c1a443;
    /* change background color if you need */
  }

  .top-bar-section ul li > a {
    color: white;
    /* change color of text if you need */
    font-size: 13px;
    background: #000;
    /* change background color if you need */
  }
  .top-bar-section ul li:hover > a {
    background: #c1a443 !important;
    /* change background color if you need */
  }
  .top-bar-section ul li.current-menu-item > a:not(.button), .top-bar-section ul li.current-page-ancestor > a:not(.button) {
    background: #c1a443 !important;
    /* change background color of current menu item if you need */
  }
  .top-bar-section .menu {
    display: none;
  }
  .top-bar-section .dropdown {
    clip: auto;
    height: auto;
    display: none;
    width: 100%;
    position: static !important;
  }
  .top-bar-section .dropdown > li a {
    padding-left: 30px;
  }
  .top-bar-section .has-dropdown > a:after {
    display: none;
  }
  .top-bar-section ul li.has-dropdown a.dropdown-toggle {
    display: block;
    position: absolute;
    width: 50px;
    height: 44px;
    right: 0;
    top: 0;
    color: #fff;
    z-index: 100;
    text-align: center;
  }
  .top-bar-section ul li.has-dropdown a.dropdown-toggle i.fa {
    font-size: 13px;
    line-height: 1;
    height: 13px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }

  .top-bar.expanded .opnd > .dropdown-toggle i.fa {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .top-bar.expanded .title-area {
    background: #c1a443;
  }
  .top-bar.expanded .toggle-topbar a {
    color: #fff;
  }
  .top-bar.expanded .toggle-topbar a span {
    box-shadow: none !important;
  }
  .top-bar.expanded .toggle-topbar a span:after {
    box-shadow: 0 0 0 1px #fff, 0 7px 0 1px #fff, 0 14px 0 1px #fff;
  }

  .contact-info {
    margin-bottom: 20px;
  }
  .contact-info:first-child {
    margin-top: 20px;
  }

  .gform_footer input[type="submit"] {
    width: 100%;
  }
  .social_urls {
    text-align: right;
    margin-right: 10px;
  }
  .languge_wrap {
    margin: auto;
  }
  .home_first_section .slide_text p {
    font-size: 12px;
  }
  .home_first_section_slider_img {
    height: 250px;
  }
  .slick-prev {
    left: 20px;
  }
  .slick-next {
    right: 10px;
  }
  .home_second_section h3, .home_fourth_section h3 {
    transform: rotate(0);
    transform-origin: 0;
    padding-left: 0px;
    padding: 20px 0px;
  }
  h1 {
    font-size: 40px !important;
    line-height: 40px !important;
  }
  h2 {
    font-size: 20px !important;
  }
  h3 {
    font-size: 20px !important;
  }
  h4 {
    font-size: 15px !important;
  }
  .home_second_section {
    padding-top: 20px;
  }
  .tekst_second_block {
    max-width: 100%;
  }
  .slick-slide img {
    margin: auto;
    margin-top: 20px;
  }

  .buy_section_second {
    padding-top: 30px;
    text-align: left;
  }
  .buy_section_second .readmore_url {
    margin-top: 20px;
  }
  .buy_section_second .site_button{
    margin-right: 20px;
  }
  #home-slider-second img {
    max-height: 400px;
  }
  
  .home_third_section {
    text-align: center;
    padding: 50px 0px 20px 0px;
  }
  .wpcf7 input, .wpcf7 textarea {
    margin-left: 0px;
    max-width: 100%;
  }
  .wpcf7-submit {
    position: relative;
  }
  .fourth_block_img img {
    width: auto;
  }
  .home_fourth_section h3 {
    margin-left: -200px;
  }
  .home_fifth_section h2 {
    margin-top: 0px;
    font-size: 20px !important;
  }
  .sub_title {
    font-size: 20px !important;
    margin-top: 30px;
  }
  .main_news h3 {
    font-size: 20px !important;
  }
  .footer {
    text-align: center;
  }
  .home_first_section .slide_text::first-letter {
    font-size: 20px;
  }
  .home_first_section .slide_text {
    padding: 15px 0px;
  }
  .site_button {
    margin-bottom: 50px;
  }

  .logo_footer {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    font-size: 40px;
    margin-top: 0px;
  }
  .social_urls div {
    display: inline-block;
  }
  .footer-url-text {
    display: inline-block;
    margin: 10px 0px;
  }
  .wpcf7 p {
    max-width: 85%;
    margin: auto;
  }
  .logo_main {
    font-size: 50px;
  }
  .text_fourht_section {
    margin-left: 0px;
  }
  .about_me .text_fourht_section{
    padding: 0px;
  }
  .section_books .fragment {
    margin-bottom: 20px;
  }
  .sticky .social_urls {
    display: none;
  }
  .top-bar {
    position: relative;
  }
  .toggle-topbar {
    position: absolute;
    left: 0 !important;
    right: auto !important;
  }
  .languge_wrap {
    position: absolute;
    right: 20px;
    top: -45px;
  }
  .languge_wrap select{
    color:#fff;
  }
  .languge_wrap select:hover {
    color:#000;
  }
  .home_second_section h2 {
    display: none;
  }
  .home_second_section {
    padding-top: 20px;
  }
  .home_second_section h3 {
    font-size: 35px !important;
  }
  .buy_section_second a {
    display: block;
    margin:auto !important;
  }
  .home_second_section .buy_section_second .fragment {
    margin-bottom: 20px !important;
  }
  .buy_section_second .fragment {
    margin-bottom: 0px !important;
  }

  .languge_wrap:before {
    color:#fff;
  }
  .fifth_section_h2_1, .fifth_section_h2_2, .fifth_section_h2_3, .fifth_section_h2_5 {
    display: none;
  }
  .fifth_section_h2_4 a {
    font-size: 35px;
    margin-top: 0px;
  }
  .home_fourth_section {
    padding: 20px 0px;
  }
  .home_fourth_section h3 {
    font-size: 35px !important;
    text-align: left;
  }
  .home_fourth_section h2 {
    display: none;
  }
  header .social_urls {
    display: none;
  }
  .social_urls {
    position: absolute;
    bottom: 70px;
    right: 0;
  }
  .mobile_header {
    display: block !important;
    margin-left: 0px !important;
    text-align: center;
  }
  .about_me_desktop {
    display: none;
  }
  .text_fourht_section:first-of-type {
    margin-top: 0px;
  }
  .social_urls div {
    padding-right: 10px;
  }
  .social_urls div:last-child {
    padding-right: 0px !important;
  }
  .third_block_navi {
    display: none;
  }
  .home_second_section .fragment  {
    margin-top: 20px !important;
  }
  .home_second_section .books_menu_parent {
    margin:auto;
    margin-top: 30px !important;

  }
  .home_second_section .books_sub_menu img {
    margin-top: 0px;
  }
  .home_second_section .books_sub_menu a {
    margin-bottom: 0px !important;
  }
  .wpcf7 input, .wpcf7 textarea, #respond input, #respond textarea {
    margin-left: 0px;
  }
  #respond label {
    padding-left: 0px;
  }
  .home_fifth_section .row {
    padding-bottom: 0px !important;
  }
  .home_fifth_section .sub_title {
    margin-bottom: 0px;
    margin-top: 5px;
    display: none;
  }
  .fifth_section_h2_4 a {
    padding-bottom: 20px;
    display: inline-block;
  }
  .site_button {
    margin: auto !important;
    float: none !important;
    margin-bottom: 60px !important;
    display: block;
  }
  #home-slider .slick-prev, #home-slider .slick-next {
    top:65% !important;
  }
  .slide_text {
    max-width: 80%;
    margin: auto;
  }
  .politic {
    margin: auto !important;
  }
  .fifth_section_h2_4 a {
    font-size: 40px !important;
  }
  #home-slider-second .text-center{
   min-height: auto !important;
 }
}
/* max-width 640px and lower. Use this for mobiles only */
/*-=Medium screens=-*/
@media only screen and (min-width: 641px) {
  /* TOP BAR STYLING */
  .top-bar {
    background: transparent;
  }
  .dropdown_menu li a {
    background-color: rgba(255,255,255,0.9) !important;
  }
  .dropdown_menu li a:hover {
    background-color: rgba(0,0,0,1) !important;
  }
  .top-bar-section {
    /* Dropdown Styling*/
  }
  .top-bar-section ul {
    background: transparent;
  }
  .top-bar-section ul li {
    background: transparent;
  }
  .top-bar-section li:not(.has-form) > a:not(.button),
  .top-bar-section li.has-dropdown > a:not(.button) {
    /* Regular menu item style */
    color: #000;
    text-transform: uppercase;
    background: transparent;
    font-size: 16px;
    font-family: 'Helvetica-bold';
    color:#000;
    padding: 0 15px;
  }
  .top-bar-section li:not(.has-form) > a:not(.button):hover,
  .top-bar-section li.has-dropdown > a:not(.button):hover {
    color: #989898;
    background: transparent;
  }
  .top-bar-section li:not(.has-form) > a:not(.button):after,
  .top-bar-section li.has-dropdown > a:not(.button):after {
    display: none;
  }
  .top-bar-section li.current-menu-item > a:not(.button),
  .top-bar-section li.current-page-ancestor > a:not(.button) {
    /* Style of Current page and Ancestor page */
    color: #989898;
    background: transparent;
  }
  .top-bar-section ul li:hover:not(.has-form) > a {
    /* Parent link style on dropdown hover */
    color: #989898;
    background: transparent;
  }
  .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
    /* Regular link in dropdown */
    font-size: 16px;
    font-family: 'Helvetica-bold';
    line-height: 40px;
    padding: 0 15px;
    text-align: left;
    color:#000;  
    text-transform: none;
    color:#000;
  }
  .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
    /* Dropdown link on hover */
    color: white;
    background: #A95796;
  }
  .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li a {
    /* Dropdown in dropdown */
    background: blue;
  }
  .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li:hover a {
    color: white;
    text-decoration: underline;
    background: red;
  }

  /* Align Menu to the right
  .top-bar-section { float:right; } */

  .top-bar-section { float:none; text-align: center; }
  .top-bar-section ul{display: inline-block;} 
  .has-dropdown .dropdown-toggle {
    display: none;
  }
}
/*Contact page long contact info fix adjust your media-screens if you need*/
@media only screen and (max-width: 700px) {
  .contact-info {
    margin-bottom: 20px;
  }
  .contact-info:first-child {
    margin-top: 20px;
  }
}
@media only screen and (min-width: 701px) {
  .contact-page-contacts {
    display: flex;
    justify-content: space-between;
    margin: 45px 0;
  }
}
/* min-width 641px */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
  /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
  .social_urls {
    text-align: center;
  }
  .languge_wrap {
    margin: auto;
  }
  .home_first_section .slide_text p {
    font-size: 12px;
  }
  .home_first_section_slider_img {
    height: 330px;
  }
  .slick-prev {
    left: 20px;
  }
  .slick-next {
    right: 10px;
  }
  .home_second_section h3, .home_fourth_section h3 {
    transform: rotate(0);
    transform-origin: 0;
    padding-left: 0px;
    padding-top: 0px;
  }
  .single h2 {
    font-size: 20px !important;
  }
  h2,h3 {
    font-size: 40px !important;
    line-height: 40px;
  }
  .home_second_section {
    padding-top: 20px;
  }
  .tekst_second_block {
    max-width: 100%;
  }
  .slick-slide img {
    margin: auto;
    margin-top: 20px;
  }
  .home_second_section .dotsclass {
    position: relative;
    right: auto;
    top:auto;
    transform: translate(0%, 0%)
  }
  .buy_section_second {
    padding-top: 30px;
    text-align: center;
  }
  .buy_section_second .readmore_url {
    margin-top: 20px;
  }
  .buy_section_second .site_button{
    margin-right: 20px;
  }
  #home-slider-second img {
    max-height: 400px;
  }
  .home_third_section {
    text-align: center;
    padding: 50px 0px 20px 0px;
  }
  .wpcf7 input, .wpcf7 textarea {
    margin-left: 0px;
    max-width: 100%;
  }
  .wpcf7-submit {
    position: relative;
  }
  .fourth_block_img img {
    width: auto;
  }
  .home_fourth_section h3 {
    margin-left: -200px;
  }
  .home_fifth_section h2 {
    margin-top: 0px;
    font-size: 20px;
  }
  .sub_title {
    font-size: 20px !important;
    margin-top: 30px;
  }
  .main_news h3 {
    font-size: 20px !important;
  }
  .footer {
    text-align: center;
  }
}
/*-=Large screens=-*/
@media only screen and (min-width: 1025px) {
  /* min-width 1025px, large screens */
  .gallery .columns .portfolio-item-cont .album-name {
    bottom: -33px;
  }

  .gfield.small-field {
    width: 48%;
    float: left;
  }
  .gfield.small-field + .small-field {
    margin-left: 4%;
  }
  .gfield:last-child {
    clear: both;
  }
}