
@font-face {
    font-family: 'Roboto-Regular';
	src:  url('fonts/Roboto-Regular.eot');
	src:  url('fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
	url('fonts/Roboto-Regular.woff2') format('woff2'),
	url('fonts/Roboto-Regular.woff') format('woff'),
	url('fonts/Roboto-Regular.ttf') format('truetype'),
	url('fonts/Roboto-Regular.svg#Roboto') format('svg');
	
    font-weight: normal;
    font-style: normal;
}

/* General reset */
html, body {
	padding: 0;
	margin: 0;
	border: 0;
}

/*also for editor*/
html, body {
	position: relative;
	margin:0;
	font-family: 'Roboto-Regular', sans-serif;
    font-size: 14px;
	color:black;
}

/*also for editor*/
body a {
	text-decoration:underline;
	color:black;
}

hr {
	border: 0;
	border-radius: 2.5px;
	height:5px;
	background-image: linear-gradient(to right, silver, transparent);

}

img {
  border: none;
}

#page {
}

#page.backside {
	position:relative;
}

.tox-promotion {
	display:none;
}

/*do not allow long links unbroken*/
/**
:not(.entry-title)
**/
#content a:not(.homelink):not(.editlink):not(.alertlink) {
	overflow-wrap: break-word;
	word-wrap: break-word;		
	word-break: break-all;
	text-decoration:underline;
	color:black;
}

#head {
}

#language {
	text-transform: uppercase;	
}
#language a {
	color: silver;
}
.languages {
}
.languages a {
	padding:0;
	padding-right:2px;
	color: silver;
}
.languages img {
	width:22px;
}

#blogin {
	display:block;
	position:fixed;
	z-index:9;
	top:10px;
	right:17px;
	width:28px;
	height:17px;
	cursor:pointer;
	border:0;
}

#page #content {
	display:block;
	position:relative;
	top: 60px; /*35px;*/ /*61px;*/
	max-width: 1600px;
	height: 100%;
	margin:0px auto;
	padding:12px;
	padding-bottom:64px;
    line-height: 150%;
}
/* max width of text*/
#page #content p {
	max-width: 1400px;
}

#content img:not(.size-thumbnail, .grid-item, .inline-gallery img) {
	max-width:100%;
	height:auto;
}

#content.homecontent {
}

#content.homecontent .categorytitle {
	clear: both;
	font-size: 1.2em;
	text-transform: uppercase;
}

#page.backside #content {
	background-color:#fff !important;
	color:#000 !important;
	padding:2px;
}

#page.backside #content .tox .tox-edit-area {
	padding:4px;
}

#content embed.innerembed {
	width: 100%;
	height: 86vh;
	min-height: 600px;
}

#content a.alertlink {
	font-size: 1.0em;
	color:red;
}

#content .imagefull {
	width:100%;
	height:auto;
}

#content table {
}

#content table td {
	vertical-align:top;
	padding-right:5px;
}

#foot {
	color: white;
	clear:both;
	position:fixed;
	width:100%;
	height:auto;
	background-color:transparent;
	background-color:#000;
	background: linear-gradient(0deg, black, transparent);
	bottom:0;
	margin:0px auto;
	z-index:1;
}

#social {
	width:100%;
	height:auto;
	background-color:transparent;
}

#masthead {
    position: fixed;
    display: block;
    top: 0px;
    width: 100%;
	height:60px;
    z-index: 8;
    border-radius: 0px 0px 30px;
    border-bottom: 2px solid #dfdfdf;
	overflow:hidden;
	background-color:#000;
}

#mastfoot {
    position: fixed;
    display: block;
    bottom: 0px;
    width: 100%;
	text-align:center;
    z-index: 8;
	color:silver;
}

#masthead .site-branding {
    padding-left: 12px;
    margin-top: 6px;
    white-space: nowrap;
    width: 300px;
    text-align: left;
}

#masthead .site-branding a {
    /*color: silver;*/
    color: #f1f9f1;
	text-shadow: 1px 1px black;
	text-decoration:none;
    background-color: transparent;
}

#masthead .site-branding #language a {
    color: silver;
}

#menu-toggle {
    cursor: pointer;
    display: none;
    position: absolute;
    background: url(img/menu-toggleCW.png) no-repeat center;
    background-size: 35px 35px;
    cursor: pointer;
    top: 12px;
    right: 15px;
    height: 35px;
    width: 35px;
    color: transparent;
	opacity: 1;
    z-index: 8;
    align-items: center;
    justify-content: center;
}

#site-navigation.main-navigation {
    clear: both;
    width: auto;
    padding-right: 20px;
    font-weight: 300;
    text-align: right;
    position: fixed;
    top: 36px;
    right: 0;
}

.main-navigation .menu {
    margin: 0px;
    float: right;
    width: auto;
    text-align: right;
	position:relative;
    z-index: 10;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.main-navigation li.menu-item {
    display: inline-block;
	position:relative;
	margin-left: 10px;
    white-space: nowrap;
}

.main-navigation li.menu-item a {
    font-size: 1.4em;
    line-height: 1.6em;
    color: silver;
	text-decoration:none;
	text-shadow: 1px 1px black;
}
.main-navigation li.menu-item a:hover {
    color: #f1f9f1;
}
.main-navigation li.menu-item a.selected {
    color: #f1f9f1;
}


.main-navigation .menu .sub-menu {
    border: 1px solid silver;
	background: black;
}
.main-navigation .menu .sub-menu {
    display: none;
    position: absolute;
    top: 24px;
	padding-right:12px;
    border-radius: 0px 24px;
}

.main-navigation .menu .sub-menu li {
	display:block;
	text-align:left;
}

#homeimage {
	position:relative;
	display: flex;
	justify-content: center;
	top:33px;
	height:100%;
	width:100%;
	overflow:hidden;
	background-color:#000;
	z-index:0;
}

#homeimage img {
	display:block;
	margin:auto;
	height:95vh;
}

.portfolio-list {
	float: left;
	overflow: hidden;
	position:relative;
	width: 300px;
	height: 300px;
	margin: 0px;
	margin-top: 25px;
	margin-right: 25px;
	background-color:#fff;
}
.portfolio-list .portfolio-image p {
	padding: 6px;
	padding-left: 12px;
	margin:0;
	color:silver;
}
.portfolio-list.singlesize,
.portfolio-list.doublesize {
	background-color:black;
}
.portfolio-list.singlesize:not(.round) iframe {
	position:relative;
	top: -6px;
	left: -12px;
	width: 300px;
	height: 270px;
}

.portfolio-list.doublesize {
	width: 425px;
	height: 425px;
}
.portfolio-list.doublesize:not(.round) {
	height: 360px;
}
.portfolio-list.doublesize:not(.round) iframe {
	width: 424px;
	height: 319px;
}

.portfolio-list .portfolio-image {
	display:block;
	position: relative;
	height: 100%;
	overflow: hidden;
}
.portfolio-list.doublesize.iframe:not(.round) .portfolio-image p {
	padding: 0;
} 

.portfolio-list .portfolio-image img.size-thumbnail {
	/*position: absolute;*/
    width: 100%;
    height: auto;
	bottom:36px;
}

.portfolio-list .portfolio-image img.size-thumbnail.wide {
	max-height: 90%; /* compensate for 36px*/
	height:100%;
	width:auto;
	/*left:-30%;*/
}

/* Animation */	
/* .portfolio-image p,*/
.portfolio-list .portfolio-image img {
	transition: transform .2s;
}

/*.portfolio-image p:hover,*/
.portfolio-list .portfolio-image img:hover {
	transform: scale(1.1); 
}

.portfolio-list .entry-header {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	transition:all 0.5s ease-in-out;
	-moz-transition:all 0.5s ease-in-out;
	-webkit-transition:all 0.5s ease-in-out;
}

.portfolio-list .entry-title {
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	font-size: 1.2em;
	text-align: left;
	margin: 0;
	padding: 10px;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 1;
	text-align:center;
	z-index:1;
	color:#000;
	background-color:#fff;
}

.portfolio-list .entry-title .editlink {
	font-size: 12px;
	text-decoration:none;
	color:red;
}

.portfolio-list .top-title {
    width: 100%;
    font-size: 1.2em;
    margin: 0;
    padding: 10px;
    padding-left: 0px;
    padding-right: 0px;
    line-height: 1;
    text-align: center;
    z-index: 1;
    color: silver;
    background-color: darkred;
}


/* gallery list in backend*/
.gallery-list {
	float: left;
	position:relative;
	width: 200px;
	height: 200px;
	margin: 0px;
	margin-top: 25px;
	margin-right: 25px;
	background-color:#fff;
	overflow: hidden;
}

.gallery-list .gallery-image img.size-thumbnail {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width:auto;
	vertical-align: bottom;
}

/* Animation */	
.gallery-list .gallery-image img.size-thumbnail {
	transition: transform .2s;
}

.gallery-list .gallery-image img:hover {
	transform: scale(1.1); 
}

.gallery-list .entry-title {
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	font-size: 1.2em;
	text-align: left;
	margin: 0;
	padding: 10px;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 1;
	text-align:center;
	z-index:1;
	color:#000;
	background-color:#fff;
}


/*
 * animations on home
 */

/*.group:hover */
.group-hover\:scale-105 {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:shadow-xl:hover {
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.duration-300 {
    transition-duration: .3s;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.round {
    border-radius: 50%;
}
.round .portfolio-image p {
	text-align:center;
	margin-top:18px;
}
.fullrounded {
    border-radius: 30px 30px 30px 30px;
}
.halfrounded {
    border-radius: 30px 0px;
}
.halfrounded_inv {
    border-radius: 0px 30px;
}
.overflow-hidden {
    overflow: hidden;
}

/**
* File Manager styles
*/
.tox-edit-area {
	padding:5px;
}

/**
* Tiny templates styles
*/

.leftrightblockline {
	display: flex; 
	align-items: flex-start; 
	width: 100%; 
	box-sizing: border-box;
}

.leftrightblockline .rightblock {
	width: 100%; 
	max-width: 50%; 
	flex: none; /*1 1 200px;*/ /*shorthand for flex-grow, flex-shrink and flex-basis combined*/
	position: relative; 
	padding: 10px; 
	box-sizing: border-box;
}

.leftrightblockline .rightblock {
	padding: 10px;
}

.leftrightblockline .leftblock {
	width: 100%; 
	max-width: 50%; 
	flex: none; /*1 1 200px;*/  /*shorthand for flex-grow, flex-shrink and flex-basis combined*/
	position: relative; 
	/*padding: 10px; */
	box-sizing: border-box; 
	/*background-color: rgb(177, 133, 215);*/
}

.leftrightblockline .leftblock img{
	width:100%;
	height:auto;
}	

/* inline gallery - tinymce template */
#content .inline-gallery {
	width:100%;
	max-width: 1400px;
	width:80%;
	background: #000;
	/*margin:0 auto;*/
}

/* clear fix */
#content .inline-gallery:after {
  content: '';
  display: block;
  clear: both;
}
/**
#content .inline-gallery .grid-item,
#content .inline-gallery img {
	width: 25%;
	height:auto;
}
**/
#content .inline-gallery .grid-item--width2 { 
	width: 50%; 
}
#content .inline-gallery .grid-item--height2 { 
	height: 200px; 
}

/* backend .tox-dialog__iframe .mce-visualblocks*/
.tox .tox-dialog__iframe .leftrightblockline,
.tox .tox-dialog__iframe .leftrightblockline .leftblock, 
.tox .tox-dialog__iframe .leftrightblockline .rightblock, 
.tox .tox-dialog__iframe .inline-gallery {
	background-repeat: no-repeat;
    border: 1px dashed #bbb;
    margin-left: 3px;
    padding-top: 10px;	
}

/**
 * jQuery Sortable
 * ----------------------------------------------------------------------------
 */

#sortable { 
	list-style-type: none; 
	margin: 0; 
	padding: 0; 
}

#sortable table { 
	width: 95%;
	max-width:700px;
	margin: 0 3px 3px 3px; 
	/*padding: 0.4em; */
	background: #fff;
}
#sortable table#editedRow {
	width: 100%;
}

#sortable table.onhome { 
	background: pink;
}

#sortable table.disabled { 
	background: silver;
}

.ui-sortable-handle {
	cursor: move;
}

/*
 * fgallery styles
 */

#fgallery .header {
    display: block;
}	
/* Main gallery elements */
#fgallery h2
{
  margin: 1em;
}

#fgallery
{
	display: none;
	position: relative; /*absolute;*/
	top: 60px;
	left: 0;
	height: 85vh;
    /*max-width: 1440px;*/
	margin:0px auto;
	padding:12px;
	padding-top:0px;
	padding-bottom:32px;
    line-height: 150%;
}

#fgallery.no-cursor *
{
  cursor: none !important;
}

#fgallery a, #fgallery a:active, #fgallery a:focus
{
  outline: none;
}

#fgallery #background
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#fgallery #galcontent
{
  position: absolute;
  top: 0;
  left: 0;
}

#fgallery #flash
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

/* Main image */
#fgallery #galcontent img.current
{
  box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
}

/* Header */
#fgallery #galcontent #galheader {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  color: silver;
  background: rgba(0, 0, 0, 1);
  padding: 0.5em;
}

#fgallery #galcontent #galheader > :not(:first-child) {
  padding-left: 0.5em;
}

#fgallery #galcontent #galheader img {
  vertical-align: middle;
  height: 1em;
}

#fgallery #galcontent #galheader #throbber {
  height: 100%;
}

#fgallery #galcontent #galheader a {
  text-decoration: none;
  color: silver;
}

#fgallery #galcontent #galheader a:hover {
  text-decoration: underline;
}

/* Caption */
#fgallery #caption {
  background: rgba(0, 0, 0, 0.7);
  background: linear-gradient(to left,
			      rgba(0, 0, 0, 0.7) 60%,
			      rgba(0, 0, 0, 0.5) 75%,
			      rgba(0, 0, 0, 0.1) 93%,
			      rgba(0, 0, 0, 0));
  text-align: center;
  color: silver;
  display: none;
  position: relative;
  left: 0;
  top: 5px;
  padding: 0.5em 5% 0.5em 10%;
  font-size:1em;	
  white-space: pre-wrap;
}

/**
@media (max-height: 60em)
{
  #caption #title { font-size: 5vh }
  #caption #desc { font-size: 2.5vh }
}

@media (max-height: 30em)
{
  #caption #title { font-size: 1.5em }
  #caption #desc { font-size: 1em; }
}
**/

/* Navigation arrows */
#fgallery #galcontent #left,
#fgallery #galcontent #right
{
  position: absolute;
  width: 5%;
  min-width: 2.5em;
  top: 0;
  bottom: 0;
}

#fgallery #galcontent #left
{
  left: 0;
}

#fgallery #galcontent #right
{
  right: 0;
}

#fgallery #galcontent #left div,
#fgallery #galcontent #right div
{
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

#fgallery #galcontent #left div:hover,
#fgallery #galcontent #right div:hover
{
  opacity: 0.6;
  filter: alpha(opacity=60);
}

#fgallery #galcontent #left img,
#fgallery #galcontent #right img
{
  position: absolute;
  display: block;
  margin: auto;
  top: 0;
  bottom: 0;
}

#fgallery #galcontent #left img
{
  left: 25%;
}

#fgallery #galcontent #right img
{
  right: 25%;
}

/* Thumbnail list */
#fgallery #list
{
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  padding-top: 0.5em;
  padding-left: 0.5em;

  box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
}

#fgallery #list:focus
{
  outline: none;
}

/* Invidivual thumbnails */
#fgallery #list .thumb
{
  display: inline-block;
  margin-bottom: 0.5em;
  margin-right: 0.5em;

  box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
}

#fgallery #list .thumb a
{
  display: block;
  position: relative;
  border: 2px solid #111
}

#fgallery #list .thumb.current a
{
  border: 2px solid #f00;
}

#fgallery #list .thumb a:hover,
#fgallery #list .thumb a:focus
{
  border: 2px solid #fff;
}

#fgallery #list .thumb.current a:hover,
#fgallery #list .thumb.current a:focus
{
  border: 2px solid #f00;
}

/* Thumbnail styles */
#fgallery #list .thumb .ovr
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#fgallery #list .thumb.cut-left .ovr
{
  background: url(cut-left.png) top left repeat-y;
}

#fgallery #list .thumb.cut-right .ovr
{
  background: url(cut-right.png) repeat-y top right;
}

#fgallery #list .thumb.cut-left.cut-right .ovr
{
  background: url(cut-left.png) top left repeat-y, url(cut-right.png) repeat-y top right;
}

#fgallery #list .thumb.cut-top .ovr
{
  background: url(cut-top.png) top left repeat-x;
}

#fgallery #list .thumb.cut-bottom .ovr
{
  background: url(cut-right.png) repeat-x bottom left;
}

#fgallery #list .thumb.cut-top.cut-bottom .ovr
{
  background: url(cut-left.png) top left repeat-x, url(cut-right.png) repeat-x bottom left;
}

#fgallery #list .thumb.movie .ovr
{
  background: url(cut-mov.png) top left repeat-y, url(cut-mov.png) top right repeat-y;
}


/* ecd cookies*/

#ecd_opt_in_banner {
    left: 0 auto;
    bottom: 0px;
    position: fixed;
    top: auto;
	width:80%;
    border-top: 1px solid #ccc;
    z-index: 99999;
    background-color: rgba(0,0,0,0.6);
	/*padding: 20px;*/
	padding-left: 10%;
	padding-right: 10%;
	color:#fff;
}
#ecd_opt_in_banner p {
    z-index: 10000;
    color: silver;
    text-shadow: 1px 1px #000;
}
#ecd_opt_in_banner p a {
    color: silver;
    text-decoration: underline;
}
#ecd_opt_in_banner p a#ecd_opt_in_checkbox {
	float: right;
	display:block;
	position:relative;
	left:10%;
    cursor: pointer;
    font-size: 1.2em;
    color: #ff0000;
    margin-left: -20px;
    padding: 2px;
    letter-spacing: 2px;
    text-decoration: none;
    text-shadow: none;
    text-shadow: 1px 1px #ff0000;
    background-color: #fff;
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -o-transform: rotate(5deg);
	opacity:0.8;
}
/* end ecd cookies*/

/* search */

#searchresults {}

.fullwidth {
	position:relative;
	display:block;
	width:100%;
	height:auto;
	margin-bottom:12px;
	clear:both;
}
.fullwidth .portfolio-list {
    float: none;
    display: inline-block;
}

/* search */

#searchline {
	position: fixed;
	top: 14.5px;
	top: -1px;
	right: 20px;
	padding: 0;
	margin: 0;
	white-space: nowrap;
	z-index: 8;
}

#simplesearch .search {
	height: 26px;
	width: 165px;
	font-family: 'Roboto-Regular', sans-serif;
    font-weight: 300;
	font-size: 1.2em;
	color: #999;
	line-height: 24px;
	border: 1px solid #666;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(102, 102, 102);
	border-right: 0;
	/*background: url(img/gradient.png) repeat-x;*/
	margin: 0;
	padding: 0;
    padding-left: 0px;
	padding-left: 5px;
	
	border-radius: 0px 0px 13px 13px;
}

#simplesearch .search:focus { 
    outline: none !important;
}

#simplesearch #livesearchbutton {
	display: inline-block;
	position: relative;
	left: -30px;
	width: 26px;
	height: 26px;
	vertical-align: top;
	border: 1px solid #666;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(102, 102, 102);
	border-left: 0;
	
	border-radius: 0px 0px 13px 0px;
}

#simplesearch #ac_container {
	position:relative;
	width: inherit;
}
#searchline .blackstrip {
	display: inline-block;
	position:relative;
	right:0; /*35px;*/
	width:70px;
	padding:0;
	margin:0;
}
#searchline #searchar {
	vertical-align:top;
}
#searchline .blackstrip a, #searchline .blackstrip a:hover {
	white-space:normal;
	width:auto;
}

.searchterm {
	color:darkred;
}

/* autocompleter.js */

.autocomplete-w1 { 
	z-index:1000;
	position:absolute; 
	top:6px; 
	left:6px; 
	_background:none;
	_top:1px; 
}

.autocomplete { 
	z-index:1000;
	background-color:#fff;
	width:180px; 
	border:1px solid #999; 
	cursor:default; 
	text-align:left; 
	max-height:350px; 
	overflow:auto; 
	margin:-6px 6px 6px -6px; 
	_height:350px;  
	_margin:0px 6px 6px 0; 
	overflow-x:hidden; 
}
.autocomplete .selected { 
	background:#F0F0F0; 
}
.autocomplete div { 
	font-size:1.2em;
	padding:2px 5px; 
	white-space:nowrap; 
	cursor:pointer;
}
.autocomplete strong { 
	font-weight:normal; 
	color:#3399FF; 
	color: darkred;
}


/* edit screen */

#page.backside input[type=button], #page.backside input[type=submit] {
	cursor: pointer;
}

#page.backside #throbber {
	position:fixed;
	width:100%;
	height:100%;
    background-color: rgba(200, 200, 200, 0.8);
	background-image:url('img/throbber.gif');
	background-size: 50px;
	background-position: center;
	background-repeat: no-repeat;
	z-index:1000;
	display:none;
}


/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}
@media only screen and (max-width: 1600px) {
	#content {
		max-width: 1600px;
	}
}

@media only screen and (max-width: 1200px) {
	#content {
		max-width: 1000px;
	}
}

@media only screen and (max-width: 800px) {
	/*, #homepage img, #content img*/
	body, iframe, video {
		width:100% !important;
	}
	
	#blogin {
		display:none;
	}
	
	#menu-toggle {
		display:block;
		-webkit-transition: all 0.4s ease-in;
		-moz-transition: all 0.4s ease-in;
		-o-transition: all 0.4s ease-in;
		transition: all 0.4s ease-in;		
		
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
	#menu-toggle.open {
		-webkit-transition: all 0.4s ease-in;
		-moz-transition: all 0.4s ease-in;
		-o-transition: all 0.4s ease-in;
		transition: all 0.4s ease-in;		
		
		-webkit-transform: rotate(-450deg);
		-moz-transform: rotate(-450deg);
		-ms-transform: rotate(-450deg);
		-o-transform: rotate(-450deg);
		transform: rotate(-450deg);

		background: url(img/close30.png) no-repeat center;
		background-size: 25px 25px;
		cursor: pointer;	
	}
	
	#site-navigation.main-navigation {
		display:none;
		top:60px;
		width: 150px;
		height:auto;
		border-left: 1px solid #dfdfdf;
		border-bottom: 1px solid #dfdfdf;
		background-color: #000;
		z-index:9;
		border-radius: 30px 0px;
	}

	#site-navigation.main-navigation li {
		display: block;
	}	

    #site-navigation ul ul {
        position: static;
		border-radius: 24px 0px;
    }

	#language .languages img {
		margin-right:20px;
	}

	.portfolio-list.doublesize iframe {
		width:100%;
		height: 300px;
	}
		
	#content table {
		display: table;
		width:100% !important;
	}

	/* inline gallery - tinymce template */
	#content .inline-gallery {
		width:100%;
	}
	/* clear fix */
	#content .inline-gallery:after {
		content: '';
		display: block;
		clear: both;
	}
	
	/* dual block - tinymce template */
	#content .leftrightblockline {
		flex-wrap: wrap; 
	}
	#content .leftrightblockline .leftblock {
		width: 100%; 
		max-width: 100%; 
	}
	#content .leftrightblockline .rightblock {	
		width: 100%; 
		max-width: 100%; 

	}
}

@media only screen and (max-width: 600px) {

	.portfolio-list:not(.round) {
		width:96%;
	}
	.portfolio-list:not(.round) .portfolio-image {
		height:100%;
		width:100%;
		text-align:center;
	}	
	.portfolio-list:not(.round) .portfolio-image img.size-thumbnail {
		max-height:100%;
		width:auto;
	}

	.portfolio-list.round:not(.doublesize) {
	}
	.portfolio-list.round.doublesize {
		width:calc(100vw - 42px);
		height:calc(100vw - 42px);
	}

	#simplesearch #query {
		width: 50px;
    }

    #simplesearch.resize #query {
        width: 110px;
    }
	#simplesearch.resize {
		resize: horizontal;
		width: 110px;
	}

	/* inline gallery - tinymce template */
	#content .inline-gallery {
		width:100%;
	}
	/* clear fix */
	#content .inline-gallery:after {
		content: '';
		display: block;
		clear: both;
	}

	#content .inline-gallery img, 
	#content .inline-gallery .grid-item {
		width:50%;
		float: left;
        height: auto;	
	}

	#content img:not(.size-thumbnail, .grid-item, .inline-gallery img) {
		clear:both;
		width: 100%;
		height: auto;
		margin: 0px !important;
		padding: 0px !important;
		float:none !important;
	}		

	#content img:not(.size-thumbnail, .grid-item, .inline-gallery img)::after {
		content: " ";
		display: block;
		clear: both;
	}

	/* dual block - tinymce template */
	#content .leftrightblockline {
		flex-wrap: wrap; 
	}
	#content .leftrightblockline .leftblock {
		width: 100%; 
		max-width: 100%; 
	}
	#content .leftrightblockline .rightblock {	
		width: 100%; 
		max-width: 100%; 
	}

}
