/*
TEMPLATE FOR MEDIA QUERIES
	@media screen and (min-width:1180px) {}
	@media screen and (min-width:880px) and (max-width:1179px) {}
    @media screen and (max-width:879px) {}

INDEX
	- GENERAL
	- PHOTO GALLERY THUMBS
	- ROYAL SLIDER
	- PORTFOLIO DESKTOP
	- PORTFOLIO MOBILE
	- OTHER PROJECS
	- ROYAL SLIDER DEFAULT SKIN
	- 
*/
/*-----------------------------------------------------------  GENERAL -------------------------*/



/*-----------------------------------------------------------  PHOTO GALLERY THUMBS ------------*/
#photo_gallery form.default {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-items: center;
    max-width: none;
    margin: 0;
    margin-bottom: 30px;
}

#photo_gallery form.default fieldset{
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

#photo_gallery form.default label{
    text-align: center;
    width: 10%;
    margin: 0;
}

#photo_gallery form.default fieldset select {
    width: 90%
}

#photo_gallery div.flex dl dt {
	height: 285px;
	background-size: cover;
}

#photo_gallery dl {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  padding: 3px;
  position: relative;
}

#photo_gallery dd.album_title {
  padding: 10px 10px 3px 10px;
  color: var(--color1000);
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 3px;
}

#photo_gallery dd.ablum_date {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 15px;
  background: #FFF;
  color: var(--gray5);
}

/*-----------------------------------------------------------  ROYAL SLIDER --------------------*/
#img-gallery {
	max-width: 850px;
	margin: 0 auto;
}

/*-----------------------------------------------------------  ROYAL SLIDER DEFAULT SKIN -------*/
/******************************
*
*  RoyalSlider Default Skin 
*
*    1. Arrows 
*    2. Thumbnails
*    3. Fullscreen button
*    4. Play/close video button
*    5. Preloader
*    6. Caption
*    
*  Sprite: 'rs-default.png'
*  Feel free to edit anything
*  If you don't some part - just delete it
* 
******************************/

.album_desc {
  display: none;
}


@media screen and (min-width:850px) { #slide_frame {height: 607px;} }


/* Background */
.rsDefault,
.rsDefault .rsOverflow,
.rsDefault .rsSlide,
.rsDefault .rsVideoFrameHolder,
.rsDefault .rsThumbs {
	/*background-color:#EFEFEF;*/
	overflow:hidden;
}


/***************
*
*  1. Arrows
*
****************/

.rsDefault .rsArrow {
	height: 100%;
	width: 44px;
	position: absolute;
	display: block;
	cursor: pointer;
	z-index: 21;
}
.rsDefault.rsVer .rsArrow {
	width: 100%;
	height: 44px;
	
}
.rsDefault.rsVer .rsArrowLeft { top: 0; left: 0; }
.rsDefault.rsVer .rsArrowRight { bottom: 0;  left: 0; }

.rsDefault.rsHor .rsArrowLeft { left: 0; top: 0; }
.rsDefault.rsHor .rsArrowRight { right: 0; top:0; }

.rsDefault .rsArrowIcn {		
	width: 32px;
	height: 32px;
	top: 50%;
	left: 50%;
	margin-top:-16px;	
	margin-left: -16px;

	position: absolute;	
	cursor: pointer;	
  background: url('../js/royalslider/skins/default/rs-default.png');

	background-color: #000;
	background-color: rgba(0,0,0,0.75);
	
	border-radius: 2px;
}
.rsDefault .rsArrowIcn:hover {
	background-color: rgba(0,0,0,0.9);
}

.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; }

.rsDefault.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
.rsDefault.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }

.rsDefault .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20);  display: none; }



/***************
*
*  2. Thumbnails
*
****************/
.rsDefault .rsThumbsHor {
    height: 66px;
    width: 100%;
    /*! background-color: var(--gray2); */
}
 
.rsDefault.rsWithThumbsHor .rsThumbsContainer {
	position: relative;
	height: 100%;
}
.rsDefault.rsWithThumbsVer .rsThumbsContainer {
	position: relative;
	width: 100%;
}

.rsDefault .rsThumb {
    float: left;
    overflow: hidden;
    width: 65px;
    height: 65px;
    border: 1px solid var(--gray1);
}

.rsDefault .rsThumb img {
    display: block;
    margin: 0 auto;
    height: 100%;
    /*! width: 100%; */
    background: cover !important;
}

.rsDefault .rsThumb.rsNavSelected { background: #79A0C1; }

.rsDefault .rsThumb.rsNavSelected img {
	opacity: 0.3;
	filter: alpha(opacity=30);
}
.rsDefault .rsTmb {
	display: block;
}

/* Thumbnails with text */
.rsDefault .rsTmb h5 {
	font-size: 16px;
	margin: 0;
	padding: 0;
	line-height: 20px;
	color: #FFF;
}
.rsDefault .rsTmb span {
	color: #DDD;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 18px;
}



/* Thumbnails arrow icons */
.rsDefault .rsThumbsArrow {
	height: 100%;
	width: 20px;
	position: absolute;
	display: block;
	cursor: pointer;	
	z-index: 21;	
	background: #000;
	background: rgba(0,0,0,0.75);
}
.rsDefault .rsThumbsArrow:hover {
	background: rgba(0,0,0,0.9);
}
.rsDefault.rsWithThumbsVer .rsThumbsArrow {
	width: 100%;
	height: 20px;
}
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0;  left: 0; }

.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }

.rsDefault .rsThumbsArrowIcn {		
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-top:-8px;	
	margin-left: -8px;
	position: absolute;	
	cursor: pointer;	
	background: url('../../js/royalslider/skins/default/rs-default.png');
}

.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }

.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }

.rsDefault .rsThumbsArrowDisabled { display: none !important; }

/* Thumbnails resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 800px) {
	.rsDefault .rsThumb {
		width: 59px;
	}
	.rsDefault .rsThumbsVer {
		width: 59px;
	}
}
/***************
*
*  3. Fullscreen button
*
****************/

.rsDefault .rsFullscreenBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 22;
	display: block;
	position: absolute;
	cursor: pointer;
	
}
.rsDefault .rsFullscreenIcn {
	display: block;
	margin: 6px;
	width: 32px;
	height: 32px;
	background: url('../js/royalslider/skins/default/rs-default.png') 0 0;
	background-color: #000;
	background-color: rgba(0,0,0,0.75);
	border-radius: 2px;

}
.rsDefault .rsFullscreenIcn:hover {
	background-color: rgba(0,0,0,0.9);
}
.rsDefault.rsFullscreen .rsFullscreenIcn {
	background-position: -32px 0;
}





/***************
*
*  4. Play/close video button
*
****************/

.rsDefault .rsPlayBtn {
	-webkit-tap-highlight-color:rgba(0,0,0,0.3);
	width:64px;
	height:64px;
	margin-left:-32px;
	margin-top:-32px;
	cursor: pointer;
}
.rsDefault .rsPlayBtnIcon {
	width:64px;
	display:block;
	height:64px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	
	-webkit-transition: .3s;
	-moz-transition: .3s;
	transition: .3s;

	background: url('../../js/royalslider/skins/default/rs-default.png') no-repeat 0 -32px;
	background-color: #000;
	background-color: rgba(0,0,0,0.75);
}
.rsDefault .rsPlayBtn:hover .rsPlayBtnIcon {
	background-color: rgba(0,0,0,0.9);
}
.rsDefault .rsBtnCenterer {
	position:absolute;
	left:50%;
	top:50%;
}
.rsDefault .rsCloseVideoBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 500;
	position: absolute;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	
}
.rsDefault .rsCloseVideoBtn.rsiOSBtn {
	top: -38px;
	right: -6px;
}

.rsDefault .rsCloseVideoIcn {
	margin: 6px;
	width: 32px;
	height: 32px;
	background: url('../../js/royalslider/skins/default/rs-default.png') -64px 0;
	background-color: #000;
	background-color: rgba(0,0,0,0.75);
}
.rsDefault .rsCloseVideoIcn:hover {
	background-color: rgba(0,0,0,0.9);
}


/***************
*
*  5. Preloader
*
****************/

.rsDefault .rsPreloader {
	width:20px;
	height:20px;
	background-image:url('../js/royalslider/skins/preloaders/preloader-white.gif');

	left:50%;
	top:50%;
	margin-left:-10px;
	margin-top:-10px;	
}


/***************
*
*  6. Global caption
*
****************/

.rsDefault .rsGCaption {
	background: #ffffffe0;
	/*! bottom: 416px; */
	color: var(--color_cd);
	font-size: 15px;
	padding: 6px 12px;
	position: relative;
	text-align: left;
	line-height: 19px;
}


div.rsGCaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.5s ease;
	
  order: 2;
}

/*-----------------------------------------------------------  ROYAL SLIDER CORE CSS -----------*/
/*----------------------- Core RS CSS file. 95% of time you shouldn't change anything here. */
.royalSlider {
	background-color: var(--gray1);
	direction: ltr;
	position: relative;
}

.royalSlider > * { float: left; }

.rsOverflow {
	width: 100%;
	height: 496px;
	position: relative;
	overflow: hidden;
	float: left;
	order: 1;
}
.rsVisibleNearbyWrap {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	top: 0;
}
.rsVisibleNearbyWrap .rsOverflow {
	position: absolute;
	left: 0;
	top: 0;
}

.rsContainer {
	position: relative;
	width: 100%;
	height: 100%;
}

.rsArrow,
.rsThumbsArrow {
	cursor: pointer;
}

.rsThumb {
	float: left;
	position: relative;
}

.rsArrow,
.rsNav,
.rsThumbsArrow {
	opacity: 1;
	transition:opacity 0.3s linear;
}
.rsHidden {
	opacity: 0;
	visibility: hidden;
	transition:visibility 0s linear 0.3s,opacity 0.3s linear;
}

.rsGCaption {
	width: 100%;
	float: left;
	text-align: center;
}

/* Fullscreen options, very important ^^ */
.royalSlider.rsFullscreen {
	position: fixed !important;
	height: auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 2147483647 !important;
	top: 0 !important;
	left: 0 !important;
	bottom: 0 !important;
	right: 0 !important;
}

.royalSlider .rsSlide.rsFakePreloader {
	opacity: 1 !important;
	-webkit-transition: 0s;
	-moz-transition: 0s;
	-o-transition:  0s;
	transition:  0s;
	display: none;
}

.rsSlide {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

.royalSlider.rsAutoHeight,
.rsAutoHeight .rsSlide {
	height: auto;
}

.rsContent {
	width: 100%;
	height: 100%;
	position: relative;
}

.rsPreloader {
	position:absolute;
	z-index: 0;	
}

.rsNav {
	user-select: none;
	order: 3;
}

.rsThumbs {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	float: left;
	z-index: 22;
}
.rsTabs {
	float: left;
	background: none !important;
}


.rsVideoContainer {
	/*left: 0;
	top: 0;
	position: absolute;*/
	/*width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	float: left;*/
	width: auto;
	height: auto;
	line-height: 0;
	position: relative;
}

.rsVideoFrameHolder {
	position: absolute;
	left: 0;
	top: 0;
	background: #141414;
	opacity: 0;
	-webkit-transition: .3s;
}

.rsVideoFrameHolder.rsVideoActive {
	opacity: 1;
}

.rsVideoContainer iframe,
.rsVideoContainer video,
.rsVideoContainer embed,
.rsVideoContainer .rsVideoObj {
	position: absolute;
	z-index: 50;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

/* ios controls over video bug, shifting video */
.rsVideoContainer.rsIOSVideo iframe,
.rsVideoContainer.rsIOSVideo video,
.rsVideoContainer.rsIOSVideo embed {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-right: 44px;
}

.rsABlock {
	position: absolute;
	z-index: 15;
}

img.rsImg {
	max-width: none;
}

.grab-cursor {
	cursor:url('../js/royalslider/grab.png') 8 8, move; 
}

.grabbing-cursor{ 
	cursor:url('../js/royalslider/grabbing.png') 8 8, move;
}

.rsNoDrag {
	cursor: auto;
}

.rsLink {
	left:0;
	top:0;
	position:absolute;
	width:100%;
	height:100%;
	display:block;	
	z-index: 20;
	background: url('../js/royalslider/blank.gif');
}

.slide_frame{
	margin: 20px auto;
	max-width: 1150px;
	width: 100%;
	border: 1px solid var(--gray2);
	padding: 3px;
}

@media screen and (max-width: 1179px) {
    .contemt{
        padding-top: 50px;
    }

}

.copy-area{
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.copy-area h2{
    margin: 0px !important;
}

.copy-area i{
    font-size: 20px;
    color: var(--gray4);
    cursor: pointer;
}

.copy-area .title{
    display: flex;
    align-items: center;
    gap: 15px;
}

.copy-area .back-button{
    padding: 0 5px;
    color: var(--gray4);
    border-bottom: 1px solid var(--gray4);
    border-top: 1px solid var(--gray4);
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

#copiedMessageContainer {
    height: 30px;
}

#copiedMessageContainer .copied-message {
    background: var(--gray3);
    padding: 5px 15px;
}


@media screen and (max-width: 600px) {

    .copy-area{
        justify-content: space-between;
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .copy-area .back-button{
        margin-bottom: 20px;
        width: 55px;
    }
}

/* News alter */


@media screen and (min-width:1180px) {
		#gallery-1{
			/* max-height: 731px; */
			height: 100% !important;
			display: flex;
			flex-direction: column;
			flex-wrap: nowrap;
			justify-content: center; 
		}

  .rsFullscreen>.rsThumbsHor{
		height: 75px !important;;
	}
	.rsFullscreen#gallery-1 >.rsGCaption{
		max-width: 100%;
		margin: 0 auto;
		width: 1218px !important;
	}
}
@media screen and (min-width:880px) and (max-width:1179px) {
	#gallery-1{
		max-height: 731px;
		height: 100% !important;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center; 
	}
	
	.rsFullscreen#gallery-1{
		height: auto !important;
	}
}

@media screen and (max-width:879px) {
	
	#gallery-1{
		max-height: 100%;
		height: 541px !important;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center; 
	}

	.rsFullscreen#gallery-1{
		height: auto !important;
	}

}


body.rs-fullscreen-active {
    background: #000; 
}


body.rs-fullscreen-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9998; 
}