/*
Theme Name:     generatepress-child
Template:       generatepress
Description:    Customized generatepress 
Author:            utro00
Author URI:     https://webdesignstudio1.net/
*/
/* импорт уже сделан в родит. теме 
@import url("../generatepress/style.css");
*/
@font-face {
  font-family:BODO_NI;
  src: url(fonts/BODO_NI.TTF);
}
@font-face {
  font-family:ds_arabic;
  src: url(fonts/ds_arabic.ttf);
}

body {
  font-size: 1.1em;
}
.home, page-template-default {
/*   background-color: #0a3577; */
}
button, html input[type="button"],
button, html input[type="reset"],
button, html input[type="submit"] {
    background-color: #1e72bd;
    border-radius: 8px;
}
button, html input[type="button"]:hover, 
button, html input[type="reset"]:hover,
button, html input[type="submit"]:hover {
    background-color: #114a7e;
}
button, html input[type="button"]:focus,
button, html input[type="reset"]:focus,
button, html input[type="submit"]:focus {
    background-color: #1e72bd;
    border-radius: 8px;
}
.site-header {
  background-color: transparent;
  border-top: solid 1px yellow;
}
.site-description {
  color: #f2f200;
  font-style: italic;
}
.main-navigation {
/*   border-radius: 6px; */
}
.main-navigation .main-nav ul li:hover > a:hover {
  background-color: #1e72bd;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  border-radius: 6px;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover {
  border-radius: 6px;
  background-color: #035a9e;
}
.main-navigation .main-nav ul li a {
	color:#f2f200;
  line-height: 50px;
  font-size: 1.1em;
}
.main-navigation ul ul {
    border-radius: 6px;
}
.site-content { 
  background-color: aliceblue;
  border-top: solid 1px yellow;
  border-bottom: solid 1px yellow;
}
.one-container .site-content {
  padding: 30px;
}
.site-main {
    padding-right: 8px;
    border-right: solid 1px darkgray;
}
.post pre { /*рамка для листинга*/
    border: solid 1px blue;
}
/*.page-id-9 .site-content {
background-image: url("image/humor_bg.jpg");
}
.page-id-1837 .site-content {
background-image: url("image/khayym_bg.gif");
}*/
.entry-header .entry-title {
  font-weight: normal;
}
.widget .search-field {
  border-radius: 8px 8px;
  box-shadow: 3px 4px 8px rgba(0,0,0,0.5);
}
.sidebar { /*yutroo 14.02.24*/
  position: sticky;
  top: 3px;
}
.sidebar .widget {
  background-color: transparent;
}
.sidebar .widget .widget-title {
  height: 38px;
  padding: 5px 0 5px 40px;
  border: solid 1px gray;
  background-color: #1e72bd;
  color: #f0f00c;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 3px 4px 8px rgba(0,0,0,0.5);  
  text-align: left;
  font-size: 1.3em;
}
.widget ol, .widget ul {
  font-weight: 500;
  padding-left: 15px;
}
.widget ol, .widget ul a {
  color: #035a9e;
  color: #1e72bd;
  
}
.site-info {
  background-color: transparent;
}
.copyright-bar {
  text-align: left;
  font-size: 0;  /*remove unnecessary text of footer div*/
}
.copyright-bar .copyright{
  color: #f2f200;
  font-size: 1rem;
}
/*page contact*/
#form_mail > .mail_btn {
  padding: 6px;
  border-radius: 6px;
  border:solid 2px blue;
  background-color: #1e72bd;
}
.contact input {
  border-radius: 6px;  
}
.contact textarea {
  width: 75%;
  height: 180px;
  border-radius: 6px;
}
.contact #submit {
  padding: 6px;
  border-radius: 6px;
  border:solid 2px blue;
  background-color: #1e72bd;
}
/* humor&khayym pages*/
.site-content-humor {
  background-image: url("image/humor_bg.jpg");
}
.site-content-humor .sidebar .widget .widget-title,
.site-content-humor .search-field,
.page-id-1837 .sidebar .widget .widget-title,
.page-id-1837 .search-field {
  background-color: #F6F6F6;
  color: #550000;
}
.site-content-humor .entry-title {
  padding-left: 100px;
  color: #550000;
}
.site-content-humor .widget ol, 
.site-content-humor .widget ul a,
.site-content-hayym .widget ol, 
.site-content-hayym .widget ul a
{
  color: #550000;
}
.wp-image-2619 {
  margin-top: -75px;
  margin-right: 200px;
}
.humor-list a {
  color: black;
}

/*khayym page*/
.site-content-hayym {
  background-image: url("image/khayym_bg.gif");
}
.site-content-hayym .inside-article h2 {
/*    width: 120%;*/
    padding-bottom: 20px;
    text-align: left;
/*    margin-left: -70px;*/
}
/*.site-content-hayym .inside-article h2:after {
    content: "";
    display: inline-block;
    width: 800px;
    height: 700px;
    background-image: url("image/khayyamscroll.gif");
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}*/
.site-content-hayym .inside-article {
    width: 80%;
width: 100%; 
    margin: 0 auto;
    text-align: center;
    font-family: BODO_NI;
    font-style: italic;    
    color: #550000;
}
.site-content-hayym .entry-title {
  width: 60%;
width: 100%;
  padding-top: 20px;
  margin: 0 auto;
}
.site-content-hayym .entry-content {
    padding-left: 140px;
    text-align: center;
    font-weight: bold;
/*    background-image: url("image/khayyamscroll.gif");*/
    background-repeat: no-repeat;
    background-position-x: 30px;
    background-position-y: 200px;
}
.site-content-hayym .entry-content >div:first-of-type {
  position: relative;
}
.site-content-hayym .rubai1,
.site-content-hayym .rubai2 {
    text-align: left;
    margin-left: 12%;
    margin-right: 11%;
    font-size: 20px;
}
.site-content-hayym .rubai1 {
    margin-top: -60%;
margin-top: 9%;
position: relative;
/* один из вариантов борьбы с overflow*/
width: 530px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.site-content-hayym .rubai2 {
    padding: 4% 0 30px 0;
position: relative;
/* один из вариантов борьбы с overflow*/
width: 530px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.site-content-hayym .rubai_author {
    padding: 10px 0 30px 0;
    height: 40px;
}
.site-content-hayym .rubai_control {
position: relative;
top: -400px;
/*    width: 250px;
width: 850px;*/
width: 92%;
    height: 40px;
/*    margin: 0 auto;*/
margin-left: 40px;
    text-align: center;
}
.site-content-hayym .rubai_next,
.site-content-hayym .rubai_prev {
    float: left;
    width: 80px;
/*    margin: 15px 20px;*/
    border-radius: 6px;
    margin-left: 70px;
}
.site-content-hayym .rubai_next {
    float: right;
}
.site-content-hayym .rubai_next input[type="button"],
.site-content-hayym .rubai_prev input[type="button"] {
    background-color: #e1d692;
    border: solid 1px #7c3b2a;
    border-radius: 8px;
    color: #7c3b2a;
    padding: 2px 15px 3px 15px;
    font-style: italic;
/*    font-weight: bold;*/
}
.site-content-hayym .rubai_next input[type="button"]:hover,
.site-content-hayym .rubai_prev input[type="button"]:hover {
    border: solid 2px #7c3b2a;
}
.site-content-hayym .widget ol, .widget ul a {
/*    text-shadow: 1px 1px 1px;*/
}

.site-content-hayym .rubai_slider {
    width: 180px;
    height: 28px;
    margin: 30px auto 10px;
    color: #550000;
    cursor: pointer;
    font-style: italic;
/*    border: solid 1px #7c3b2a;
    border-radius: 6px;*/
margin-top: 12%;
}
.site-content-hayym .slider_off {
    background-image: url(image/on-off.png);
    background-position: top right;
    background-repeat: no-repeat;
    font-weight: normal;
}
.site-content-hayym .slider_on {
    background-image: url(image/on-off.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    font-weight: bold;
}
.image_wrap {
    position: absolute;
    left: 0;
    width: 100%;
    padding-top: 75%;
}
.image_wrap img {
    position: absolute;
top: 0;
left: -25px;
}
.exampl {
    color: blue;
}
.exampl1 {
    color: red;
    font-weight: bold;
}
.error404 .site-content {
    background-color: black;
}
.content404 {
    width: 660px;
    margin: 0 auto;
    text-align: center;
}
.content404 h3 {
    color: gray;
}
.content404 p a {
    color: #1e72bd;
}
