.warning-line {
	background-color: #ff0;
    font-size: 1.9rem;
    padding: 1rem;
}

#header {
    font-size: 3.7rem;
    color: #333;
    font-weight: 900;
    border-bottom: 17px solid #000;
}

#header a {
	color: #333;
	text-decoration: none;
}

#header a:hover {
	color: #5050ff;
}

#header #logo {
    /* width: 300px; */
    /* height: 65px; */
    margin-left: 0px;
    overflow: show;
    display: block;
    margin-left: 7px;
    margin-bottom: 7px;
}

#header #logo:hover {

}

#header #head {
	display: none;
}

#header #logo span {
	display:none; 
}

#header ul {
	list-style-type:none;
	margin:0px;
	margin-left:0px;
	padding-left: 10px;
}
#header ul li{
	display: inline;
}

#header ul li a {
text-decoration:none;
color: #000000;

}

#header #menusor  {
	/*
	font-family: 'Oswald', sans-serif;
	*/
	font-family: 'Raleway', sans-serif;
	font-size: 24px;
	letter-spacing:1px;
	color:#000000;
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
}

#header #menusor li  {
padding-right:6px;
}



#header #menusor a {
	width:auto;
	height:18px;
	-webkit-transition-property: -webkit-transform, color;
	-webkit-transition-duration: 188ms;
}


#header  #menusor a:hover { 
	color: #5050ff;

 }
 
 #header #menusor .active  { 
	color:#5050ff;
 }


#header #submenusor  {
	font-size: 1.8rem;
	font-family: 'Oswald', sans-serif;
	color:#000000;
 	padding-top:5px;
 	margin-top:5px;
     transition: opacity .3s;
    -webkit-transition: opacity .3s;
}

#header #submenusor li  {
padding-right:8px;
}

#header #submenusor a  {
}

#header #submenusor a:hover  {
	color:#5050ff;
}

 #header #submenusor .active  { 
	color:#5050ff;
 }
 

 #menusor li ul {
 	display: inline;
 	list-style:none;
 	padding-left: 10px;

 }
 
 #submenusor li ul {
	list-style:none;
	display: inline;
 }
 

#header #searchform {
	left:675px;
	top:45px;
	margin-top: 0px;
	width:100px;
	height:40px;
	position: absolute;
}

#header #language {
    position: absolute;
    right: 20px;
    top: 25px;
    font-size: 19px;
    margin-bottom: 7px;
}

#header #language a {
	/*
	font-family: 'Oswald', sans-serif;
	*/
	font-size: 15px;
	letter-spacing:1px;
	color:#000000;
	/*
	text-shadow: 0.1em 0.1em 0.2em #bbb;
	*/
	text-decoration:none;

}


#layout_1 {
	
}

#layout_1.warning {
	padding-top: 0px;
}

#layout_1 .oneblock p {
	font-size: 1.1rem;
	color:#000000;
}

#layout_1 .oneblock h3 {
	font-size: 1.8rem;
	text-transform: lowercase;
	font-variant:small-caps;
	color:#666666;
}

#layout_1  p iframe {
    display: block;
    margin-top: 3rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

#layout_1 img {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    display: block;
}

#layout_1 img.autoWidth {
    width: auto;
}

.s1 {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01rem;
}

.s2 {
font-family: times;
    font-size: 3.5rem;
    font-weight: bold;
    font-style: italic;
    display: block;
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.1;
    color: #685635;
}

.s3 {
	font-size:2.2rem; 
	font-weight:900;
}

.highlight {
	background-color:#ffff00;
}

i {
	color: #259a6d;
}


.oneblock h1 {
	font-size:3.3rem;	
	font-family:"Times New Roman", Times, serif;
	font-weight: bold;
	font-style:italic;
	letter-spacing:-0.06em;
	margin-bottom: 0px;
	color: #000000;
	font-variant: normal;
	font-weight: bold;
	text-align: left;

}

 .oneblock h2 {
	font-size: 1.6rem;
	font-weight:normal;
	color:#000000;
	margin-top: 2px;
	margin-bottom: 5px;
	letter-spacing:2px;
}

.oneblock .musor {
}

 .musor li {
	list-style-type:none;
	font-size: 1.1rem;
	font-weight:400;
	color:#000000;
	margin-bottom:10px;
}


#layout_1  .musor li a {
	text-decoration:none;
	color: #000000;
}

#layout_1 .musor li a:hover {
	color: #5050ff;
	background-color:transparent;
	text-decoration:none;
}


#layout_1  .musor li img {

}

 .imageframe {
	position:relative;
	width:560px;
	height:200px;
	overflow: hidden;
	display:block;
	-moz-border-radius: 8px;
	border-radius: 3px;
	margin-top:4px;
	transition: all 0.7s;
}

 .imageframe:hover {
	height:226px;
}

.wideblock.newlanding  .imageframe {
	width: 100%;
}

.imageframe img {
	position:absolute;
	top:0;
	bottom:0;
	margin:auto;
	width:560px;
}


#layout_1  h1 {
    font-size: 3.2rem;
    font-weight: 900;
    font-style: normal;
    margin-bottom: 8px;
	text-align: left;
}

#layout_1  h2{
	font-size: 1.8rem;
	font-weight: 400;
    margin-bottom: 5px;
    margin-top: 2px;
    color: #000000;
	text-align: left;
}


#layout_1  h3 {
	font-size: 2.2rem;	
	font-weight: 700;
	margin-top: 2rem;
	color: #000000;
	font-variant: normal;
	text-align: left;
	display:block;
}

#layout_1  h3 a {

	color:#000000;
	text-decoration:none;
}


#layout_1 h3 a:hover {

	color:#ffffff;
	background-color:#ff0000;
}

#layout_1 h4 {
	font-size:2rem;	
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#layout_1 hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border: 0.05rem solid #cccccc;
}

#layout_1 .wideblock .readmore a {

	font-size: 12px;
	font-weight:bold;
	color:#5050ff;
	line-height:20px;
	text-decoration:none;
}

#layout_1 .wideblock .readmore a:hover {

	text-decoration:underline;
}


#layout_1 p {
    display: block;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#layout_1 blockquote {
	font-family: times;
    font-style: italic;
    /* font-weight: bold; */
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: 0.01rem;
    display: block;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
}

#layout_1 p a {
	text-decoration:none;
	color: #5050ff;
}

#layout_1  p a:hover {
	color:#333333;
	text-decoration:none;
}

#layout_1 p b {
	font-weight: 800;
	color: #424242;
}

#layout_1 .wideblock ul {
	padding-left:0px;
	margin-bottom:0px;
}

.portfolio_title {
    font-size: 2.2rem;
    font-weight: 900;
    font-variant: normal;
}
.portfolio_title a {
	color:#000000;
	text-decoration:none;
}

.portfolio_title a:hover {
	color:#5050ff;
	text-decoration:none;
}

.portfolio_subtitle {
    color: #666666;
    margin-top: 0rem;
    margin-bottom: 0rem;
    font-size: 1.8rem;
    display: block;
    line-height: 1.2;
    letter-spacing: 0.02rem;
}

#layout_1 .smallblock p {

}


#layout_1 .smallblock p a {
	color:#5050ff;
	text-decoration:none;
}

#layout_1 .smallblock p a:hover {
	color:#000000;
	text-decoration:none;
}

#layout_1 .smallblock b:not(:first-child)::before {
    content: "\A";
    white-space: pre-wrap;
    height: 1rem;
    display: block;
}

.smallblock .emph {
	font-variant:small-caps;
	text-transform: lowercase;
}

.smallblock ul {
	list-style-image:url("assets/ui/kiskor.png");
	margin-top:0px;
	margin-left:0px;
	padding-left:12px;
}

.smallblock ul li{ 
	font-size: 1.8rem;
	font-weight:normal;
	padding-right: 10px;
	padding-left:0px;
	color:#333333;
}

.smallblock ul li a{
text-decoration:none;
color: #bb6666;
}

.smallblock ul li a:hover{
text-decoration:none;
color: #333333;
}


.footer_text {
	padding-right: 10px;
	padding-left:8px;
}

.footer_text a {
	color:#555555;
	text-decoration:none;
}

img {
	border:none;
}

img a {
	border:none;
	text-decoration:none;
	background-color:#ffffff;
}
img a:hover {
	border:none;
	text-decoration:none;
	background-color:#ffffff;
}


 /*  teaser videos */

.teaserVideoContainer {
  position: relative;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.teaserVideo {
  width: 100%;
  height: 100%;
}


.teaserVideo.no-controls {
  cursor: pointer;
    }

 /*  masonry grid and lightbox */

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
.image-grid-item {
    border-radius: 0.5rem;
    overflow: hidden;  /* مهم: Clip the overflowing part of the image */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out;
    aspect-ratio: 1 / 1; /* Maintain 1:1 aspect ratio */
}
.image-grid-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15), 0 3px 6px -1px rgba(0, 0, 0, 0.08);
}
.image-grid-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Scale and crop the image to fill the container */
    border-radius: 0.5rem;
}
.lg-toolbar {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
}
.lg-icon {
    color: white;
}
.lg-sub-html {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}
