/*
Theme Name: Моя дочерняя тема
Template: castell

Не обязательные параметры:
Theme URI: http://example.com/
Description: Дочерняя тема для темы twentyfifteen
Author: Kama
Author URI: http://example.com/about/
Version: 1.0
*/

/* импортируем стили родительской темы */
@import url("../castell/style.css");

/* Свои дополнительные стили */
.spanish .menu{
	position: absolute;
	z-index: 10;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 30px 0px 0px 0px;
}
.spanish .menu li a{
	color: #fff;
	text-align: center;
	padding: 15px 15px 15px 15px;
	margin: 0px 0px 0px 0px;
}
.spanish .menu li a:hover{
	color: #f9ac0f !important;
	transition: all .3s linear;
}
.spanish .menu li{
	position: relative;
	padding: 0px 0px 0px 0px !important;
}
.spanish .menu li ul{
	margin: 0px 0px 0px 0px !important;
	display: none;
	position: absolute;
	left: 50%;
  transform: translateX(-50%);
	width: 230px;
	border-radius: 3px;
	top: 42px;
	padding: 20px 0px 0px 0px;
}
.spanish .menu li a::after{
	content: "";
}
.spanish .menu li ul li{
	background-color: #fff;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;

	background-color: #fff;
}
.spanish .menu li ul li a{
	margin: 0px 25px 0px 25px !important;
	border-bottom: 1px solid #7d7d7d;
	padding: 15px 0px 15px 0px;
}
.spanish .menu li ul li a:hover{
	color: #f9ac0f;
	transition: all .3s linear;
}
.spanish .menu li ul li:first-child{
	padding-top: 10px !important;
	border-radius: 3px 3px 0px 0px;
}
.spanish .menu li ul li:last-child{
	padding-bottom: 10px !important;
	border-bottom: 0px solid #7d7d7d;
	border-radius: 0px 0px 3px 3px;
}
.spanish .menu li ul li:last-child a{

	border-bottom: 0px solid #7d7d7d;
}
.spanish .menu li ul li a{
	color: #333;
}
.spanish .menu li:hover ul{
	display: block;

}
.spanish .menu li{
	padding: 0px 15px 15px 15px;
	border-bottom: solid 1px #fff;
}
.spanish .menu-item-has-children:hover::before{
	position: absolute;
	bottom: -13px;
	left: 50%;
	transform: translateX(-50%);
	content: '';
	border: 7px solid transparent;
	border-top: 5px solid #f7ab2d;
	display: block;
	width: 0;
	height: 0;
}
.spanish .menu-item-has-children:hover::after{
	position: absolute;
    bottom: -1px;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: #f7ab2d;
    transition: all .3s ease;
}

.spanish-logo{
	position: absolute;
	z-index: 111;
	top: 15px;
}
.spanish-logo img{
	max-width: 100px !important;
}
.spanish2 .menu li a{
	color: #222 !important;
}
.spanish2 .menu li{
	border-bottom: solid 1px #222;
}
.spanish2 .menu li ul li{
	border-bottom: solid 1px #fff;
}
.all-single-post{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.single-poster{
  width: 49%;
  margin: 0% 0% 2% 0%;
  -webkit-box-shadow: 0px 0px 7px 0px #0000001c;
  box-shadow: 0px 0px 7px 0px #0000001c;
}
.single-poster .title{
  padding: 0px 20px 0px 20px;
  font-size: 25px;
  line-height: 29px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  margin: 15px 0px 15px 0px;
}
.single-poster .text{
  padding: 0px 20px 20px 20px;
}
.single-poster img{
  max-width: 100% !important;
  height: 250px;
  object-fit: cover;
}
.post-thumbnail img{
  max-width: 100% !important;
}
.spanish-lang{
	display: flex;
	justify-content: center;
	margin: 0px 0px 0px 0px;
	position: absolute;
	z-index: 10;
	right: 50px;
	top: 50px;
}
.spanish-lang2 a{
	color: #222 !important;
}
.spanish-lang2 span{
	color: #222 !important;
}
.father-logo .vc_column-inner{
	display: flex;
	justify-content: center;
}
.top-sub-title .heading-sub-title{
	width: 50% !important;
}
.medium-number .lvca-grid-item{
	text-align: center;
}
.medium-number span{
	color: #2d81fc !important;
}
.medium-number .lvca-stats-title{
	color: #fff !important;
}
.logo222{
	display: none;
}
@media screen and (max-width: 1070px){
	.title222{
		padding: 90px 0px 0px 0px;
	}
	.top-sub-title .heading-sub-title{
		width: 100% !important;
	}
	body{
		padding: 0px 0px 0px 0px;
	}
	.spanish{
		position: fixed;
		left: 0px;
		top: 0px;
		z-index: 111;
		width: 100%;
		padding: 90px 0px 0px 0px;
		background-color: #000;
	}
	.spanish .menu{
		flex-direction: column;
		padding: 0px 0px 0px 0px !important;
		display: none;
		background-color: #fff;
	}
	.spanish ul li{
		margin: 0px 0px 0px 0px;
		border-bottom: solid 0px #2d81fc;
	}
	.spanish .menu-item-has-children a{
		position: relative;
		min-height: 51px;
		width: calc(100% - 51px);
	}
	.spanish .menu-item-has-children a::after{
		position: absolute;
		right: -51px;
		top: 0px;
		background-color: #000;
		width: 51px;
		height: 51px;
		z-index: -2;
	}
	.spanish .menu-item-has-children a::before{
		content: '';
		position: absolute;
		right: -37px;
		top: 20px;
	  width: 0;
	  height: 0;
	  border-left: 10px solid transparent;
	  border-right: 10px solid transparent;
	  border-top: 10px solid #fff;
		z-index: -1;
	}
	.spanish ul li ul{
		position: static !important;
		left: 0px !important;
		top: 0px !important;
		transform: none !important;
		width: 100% !important;
		padding: 0px 0px 0px 0px !important;
		display: none;
	}
	.spanish .menu li ul li:first-child{
		padding-top: 0px !important;
	}
	.spanish .menu li ul li:last-child{
		padding-bottom: 0px !important;
	}
	.spanish ul li ul li{
		padding: 0px 0px 0px 0px !important;
	}
	.spanish .menu li ul li a{
		margin: 0px 0px 0px 0px !important;
		width: 100% !important;
		background-color: #000;
		padding-left: 40px !important;
	}
	.spanish ul li a{
		width: 100%;
		padding: 15px 15px 15px 25px !important;
		text-align: left !important;
		background-color: #7279e6;
		color: #fff !important;
		border-bottom: solid 0px #2d81fc;
	}
	.custom-burger-button{
		display: block;
    padding: 0px 0px 0px 0px !important;
    right: 5px;
		cursor: pointer;
    position: fixed;
    top: 26px;
    right: 25px;
    z-index: 300;
    width: 60px;
    border: 0px;
    height: 40px;
    outline: inherit;
	}
	.custom-menu_lines{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		position: absolute;
		width: 50px;
		height: 3px;
		background-color: #fff;
		transition: all .3s linear;
	}
	.custom-menu_lines::before{
		content: '';
    top: -12px;
    left: 0px;
		position: absolute;
		width: 50px;
		height: 3px;
		background-color: #fff;
		transition: all .3s linear;
	}
	.custom-menu_lines::after{
		content: '';
		top: 12px;
		left: 0px;
		position: absolute;
		width: 50px;
		height: 3px;
		background-color: #fff;
		transition: all .3s linear;
	}
	.spanish-lang{
		position: fixed;
		top: 38px;
		right: 107px;
		margin: 0px 0px 0px 0px;
		z-index: 300;
	}
	.spanish-logo{
		position: fixed;
		left: 15px;
		top: 10px;
		z-index: 300;
		width: 73px !important;
	}
	.active-custom-burger .custom-menu_lines{
	  background-color: transparent;
	}
	.active-custom-burger .custom-menu_lines::before {
    transform: rotate(45deg);
    top: 0px;
}
	.active-custom-burger .custom-menu_lines::after {
    transform: rotate(-45deg);
    top: 0px;
}
.spanish-lang2 span {
    color: #fff !important;
}
.spanish-lang2 span a{
    color: #fff !important;
}
.spanish2 .menu li a {
    color: #fff !important;
}
}
@media screen and (max-width: 570px){
  .single-poster{
    width: 100%;
  }
  .navbar{
    width: 96% !important;
  }
}
