﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */


.hide-on-mobile { display: inline; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .hide-on-mobile { display: none; }}

.show-on-mobile { display: none; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .show-on-mobile { display: inline; }}

.hide-on-mobile-and-tablet { display: inline; }
/* Tablet Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 768px){ .hide-on-mobile-and-tablet { display: none; }}

.show-on-mobile-and-tablet { display: none; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 768px){ .show-on-mobile-and-tablet { display: inline; }}

.show-on-desktop { display: none; }
/* desktop Portrait and Landscape */
@media only screen
and (min-device-width : 769px)
{ .show-on-desktop { display: inline; }}

/* hide desktop slider */
/*@media only screen and (max-width: 768px ) {
.hide-m-p {display: none;}
}*/

/* hide desktop my slider */
@media only screen and (max-width: 1023px ) {
.hide-desktop-slider {display: none;}
}

.show-mobile-slider { display: none; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 1023px){ .show-mobile-slider { display: inline; }}

/* правим глюки темы мобильный */
@media (max-width: 767px) {
.header-search {
    position: absolute;
    top: 0px;
    right: 20px;
}
}

/* правим глюки темы планшет */
@media (min-width: 767px) {
.header-search {
    position: absolute;
    right: 20px;
}
}



/* Убрать "воздух" на главной */
@media (min-width: 768px){
.section-block, .section-html {
    margin-left: -45px;
    margin-right: -45px;
    padding-top: 0px;
    padding-bottom: 0px;
    /* margin-top: -40px; */
    /* margin-bottom: 40px; */
	}
.section-block__title { margin-top: 25px; }
}
.section-block__title:first-child { margin-top: 25px; }
.card-slider-container { margin-top: 0px; }

/* link H1 main page*/
.section-block__link { text-decoration: none }

/* скрыть h1 на главной*/
h1.home-header { display: none; }

/* background */
#content { background-color: #f8f6f2; }
.related-posts { background-color: #f8f6f2; }



@media (max-width: 768px) { /* Медиа-запрос для мобильных устройств */
  .alignright{
    float: none; /* Отменяем float */
    display: block; /* Делаем изображение блочным */
    margin: 0 auto; /* Центрируем изображение */
	margin-bottom: 1.5em;
  }
}
