/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

/* main.css */

*::-webkit-input-placeholder {
  color: #666;
  opacity: 1;
}

*:-moz-placeholder {
  color: #666;
  opacity: 1;
}

*::-moz-placeholder {
  color: #666;
  opacity: 1;
}

*:-ms-input-placeholder {
  color: #666;
  opacity: 1;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  min-width: 320px;
  position: relative;
  line-height: 1.4;
  font-family: "TrebuchetMS", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  margin: 0;
}

p {
  margin: 0;
}

a {
  outline: none;
  color: #ff4f4f;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul li,
ol li {
  list-style: none;
}

ul,
ol {
  display: block;
  margin: 0;
  padding-left: 0;
}

button {
  outline: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
}

.site-wrap {
  overflow: hidden;
}


.container {
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  width: 100%;
  max-width: 650px;
}

.container a:hover, .container a:focus {
    text-decoration: none; 
}

.main-header {
  background-color: #ff4f4f;
}

.main-header-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 13px;
  padding-bottom: 16px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

.main-header-logo {
  max-width: 240px;
  width: 100%;
}

.main-header-toogle {
  width: 45px;
  height: 33px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAhAQAAAABlox9MAAAAAnRSTlMAAHaTzTgAAAAUSURBVHjaY/gPAj8YUClagAG1CAArIzWMGFuatAAAAABJRU5ErkJggg==") center no-repeat;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  cursor: pointer;
}

.main-header-toogle:hover {
  opacity: 0.7;
}

.main-header-link {
  max-width: 80px;
  width: 100%;
  padding-right: 20px;
  position: relative;
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  text-decoration:none;
}

.main-header-link:after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 10px;
  height: 17px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAARCAMAAADT/c3XAAAAHlBMVEVMaXH////////////////////////////////////Z6AnKAAAACXRSTlMAEKBg0M+fgHB6kuENAAAAL0lEQVQI12NgZmOAASZOZDYrIzY2BxKbmQg2EycTXJSFETeLHc5iwspighsOZwEAaAABESVFYHwAAAAASUVORK5CYII=") center no-repeat;
}

.main-header-link:hover {
  opacity: 0.8;
}

.main-header-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  max-width: 568px;
  width: 60%;
  z-index: 999;
  background-color: white;
  padding: 20px;
  height: 537px;
  overflow: auto;
}

.main-header-menu div {
  color: #ff4f4f;
  font-size: 24px;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 25px;
}

.main-header-menu ul {
  margin-bottom: 25px;
}

.main-header-menu ul a {
  color: black;
  font-size: 16px;
  line-height: 2.5;
  padding: 10px 0;
  text-decoration: none;
}

.main-header-menu ul a:hover {
  text-decoration: underline;
}

.gallery {
  padding-top: 23px;
  padding-bottom: 57px;
}

.gallery h1 {
  text-align: center;
  color: black;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}

.gallery p {
  text-align: center;
  color: black;
  line-height: 24px;
  margin-bottom: 27px;
}

.gallery-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: -15px;
  margin-bottom: 51px;
}

.gallery-item {
  width: 31.64%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-bottom: 66px;
  position: relative;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.gallery-item:hover, .gallery-item:focus {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

.gallery-item:hover span.gallery-title, .gallery-item:focus span.gallery-title {
  max-height: 150px;
}

.gallery-img {
  width: 100%;
}

.gallery-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: auto;
  background-color: #ff4f4f;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 8px;
}

.photo450{
    width:450px;
}

.truncate-text {
  overflow: hidden;
  //text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3em;
  height: 2.8em;
  cursor: pointer;
}

.ui-button {
    margin-bottom: 15px;
}

.moretags, .hide{
    display:none;
}

#moretags{
    padding-left: 5px;    
}

.tags div{
    float:left;
    padding: 5px;
}

.gallery-text span.gallery-title {
  padding-left: 5px;
  padding-right: 5px;
  display: block;
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  -webkit-transition: max-height 0.6s;
  transition: max-height 0.6s;
  max-height: 19px;
  overflow: hidden;
}

.gallery-info {
  padding: 0 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.gallery-info span.gallery-info-1, .gallery-info span.gallery-info-2 {
  color: white;
  font-size: 12px;
  font-weight: 400;
  padding-left: 19px;
  position: relative;
  margin-top: 11px;
  margin-right: 5px;
}

.gallery-info span.gallery-info-1:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAMAAABFNRROAAAALVBMVEVMaXH///////////////////////////////////////////////////////9xAJ22AAAADnRSTlMAsu5IpAYgUOBqkvIeghq6RJQAAABOSURBVBjTXY45DsAwDMMYO2nTi/9/bod6CKqNEHQAZAujJQCj+6kPoKs+qh1S1U3VpC3UiIWCr+Ge81LLO/b91KiclcuFsvasvd+X9ecLPkUGUsfCWSMAAAAASUVORK5CYII=") center no-repeat;
}

.gallery-info span.gallery-info-1 i, .gallery-info span.gallery-info-2 i {
  font-style: normal;
  font-weight: 700;
}

.gallery-info b {
  color: white;
  font-size: 12px;
  font-weight: 400;
  padding-left: 17px;
  position: relative;
  margin-top: 11px;
}

.gallery-info b:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 15px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAPCAMAAADqIa48AAAAOVBMVEVMaXH////////////////////////////////////////////////////////////////////////VEWhLAAAAEnRSTlMAAQoSGSAkJThATmrJ29zp+Pvf+ofhAAAAOUlEQVR42p3OqQEAIAwEQf4fEq7/YkEkBsmqkWukQENZgZc5KT2zF0YgPmzdKjeKEqg/HBTcmu6eHXwxBbniOx7GAAAAAElFTkSuQmCC") center no-repeat;
}

.gallery .pagination-wrap {
  max-width: 328px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5px;
}

.gallery .pagination-wrap ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.gallery .pagination-wrap .back a {
  display: inline-block;
  color: black;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  padding-left: 40px;
  position: relative;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.gallery .pagination-wrap .back a:after {
  content: '';
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  width: 22px;
  height: 16px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAAXVBMVEVMaXEAAAAAAAAVFRUgICAeHh4aGhohISEfHx8eHh4cHBweHh4dHR0eHh4fHx8fHx8eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7qppXzAAAAHnRSTlMAAQMMEBEdHykqN0VXZ3yOpKqzw8nP0t/p8PH3+/7E963rAAAAUUlEQVR42nXQNxbAMAwCUDm9O72H+x8zL2swjH+RwOxLtk3GiRfMrNGIPWf2uCrWFmhY6xsda3Ggd8wPAlkVlyeGNPnFqZPqQVVHlRdTBYZ9AezjCYmnDPsUAAAAAElFTkSuQmCC") 0 0 no-repeat;
}

.black .gallery .pagination-wrap .back a:after{
    background: url("data:image/png;base64,iVBORw0KGgoAAA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4RDc5N0EyRERENEVBRUEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6AFS7OAAAACVBMVEUAAAD///////9zeKVjAAAAA3RSTlP//wDXyg1BAAAAPElEQVR42pTQMRIAIAwCwcD/H62OaZxwhZTbJFA+keQn1RpYzB4cdHNSV9TLM1+MJ+lBqkPlYaow7BJgAKhhAkyhLEnPAAAAAElFTkSuQmCC") 0 0 no-repeat;
}

.gallery .pagination-wrap .back a:hover {
  opacity: 0.8;
}

.gallery .pagination-wrap .next a {
  display: inline-block;
  color: black;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  padding-right: 40px;
  position: relative;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.gallery .pagination-wrap .next a:after {
  content: '';
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0;
  width: 22px;
  height: 16px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAAXVBMVEVMaXEAAAAAAAAVFRUgICAeHh4aGhohISEfHx8eHh4cHBweHh4dHR0eHh4fHx8fHx8eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7qppXzAAAAHnRSTlMAAQMMEBEdHykqN0VXZ3yOpKqzw8nP0t/p8PH3+/7E963rAAAAU0lEQVR42oWQRxKAMAwDHXoPCb3p/8/kmAHEeI97sCzJk2HJhDBiionOV/iI+OqAZWcaoGW+w1kTbXpshcwgXH/aJC9Sh73UI8ODWp1veX2qMOwNtskJiVi2qoMAAAAASUVORK5CYII=") 0 0 no-repeat;
}

.black .gallery .pagination-wrap .next a:after{
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAAGXRFWHRTb2Z0d2FyZQBBZG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IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7Aue2zAAAACVBMVEUAAAD///////9zeKVjAAAAA3RSTlP//wDXyg1BAAAAPklEQVR42ozQMQoAMAxCUb/3P3QhpUObCHUR3hKMfAWoVmMC0/n4yw68vXO5GJPYgf9OMvI8J4zPr6peAgwAqUUCSbmN6/MAAAAASUVORK5CYII=") 0 0 no-repeat;
}

.gallery .pagination-wrap .next a:hover {
  opacity: 0.8;
}

.gallery .pagination-wrap .active {
  color: #1e1e1e;
  font-size: 18px;
  font-weight: 700;
}

.main-footer {
  padding-top: 47px;
  padding-bottom: 42px;
  background-color: #1e1e1e;
}

.main-footer-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.main-footer-logo {
  display: inline-block;
  max-width: 195px;
  width: 100%;
  margin-bottom: 12px;
}

.main-footer p {
  color: white;
  font-size: 12px;
  letter-spacing: 0.12px;
  margin-bottom: 3px;
}

.main-footer span {
  display: block;
  color: white;
  font-size: 12px;
  letter-spacing: 0.12px;
}

.main-footer span a{
    color: white;
}
.main-footer span a:hover{
    text-decoration:none;
}

.main-footer-link {
  max-width: 81px;
  width: 100%;
  padding-right: 20px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  position: relative;
  text-transform: uppercase;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  text-decoration:none;
}

.main-footer-link:after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 10px;
  height: 17px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAARCAMAAADT/c3XAAAAHlBMVEVMaXH////////////////////////////////////Z6AnKAAAACXRSTlMAEKBg0M+fgHB6kuENAAAAL0lEQVQI12NgZmOAASZOZDYrIzY2BxKbmQg2EycTXJSFETeLHc5iwspighsOZwEAaAABESVFYHwAAAAASUVORK5CYII=") center no-repeat;
}

.main-footer-link:hover {
  opacity: 0.8;
}

#models_navdiv{
    margin: -10px 0 10px 0;
}

.mletters{
    width: 100%;
    margin: -5px auto 15px auto;
}

.mletters div{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.mletters a{
    font-size: 16px;
    display: list-item;
    list-style: none;
}

@media only screen and (max-width: 600px) {
  .main-header-logo {
    margin-left: 0;
    max-width: 200px;
  }
}

.gallery-item-onecolumn{
    padding-bottom: 0;    
}

@media only screen and (max-width: 550px) {
  .gallery-item {
    width: 49%;
  }
  
  .gallery-item-onecolumn {
    width: 100%;
  }

  .gallery-img img {
    width: 100%;
  }

  .main-header-toogle {
    background-size: cover;
    width: 30px;
    height: 24px;
  }

  .main-header-link {
    font-size: 13px;
    max-width: 70px;
  }
}

@media only screen and (max-width: 500px) {
  .main-header-menu {
    width: calc(100% + 20px);
    left: -10px;
  }
}

@media only screen and (max-width: 400px) {
  .main-header-logo {
    margin-left: 0;
    max-width: 150px;
  }

  .main-footer-logo {
    max-width: 150px;
  }

  .container {
    padding: 0px 10px;
  }
}

@media only screen and (max-width: 355px) {
  .gallery-list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .gallery-item {
    width: 90%;
  }
}

@media only screen and (max-width: 325px) {
  .gallery-item {
    width: 90%;
  }
}

.random_models{
    margin-bottom: 12px;
}

#psto_body{
    margin: 10px 0 25px 0;
    text-align: center;
}

.psto_item{
    margin-bottom: 10px;
}

span.setka_vis{
    position:absolute; 
    top:0; 
    left:0; 
    width:450px;
    height:0px;
    font-size:50px; 
    z-index:3; 
    background-image:url(/img/setka.gif);
}

.psto_setka_wr{
    position:relative; 
    width:450px;    
}

#psto_info{
    margin-top: 35px;
    margin-bottom: 30px;
}

#psto_info p{
    text-align:left;
    margin-bottom: 0;
}
#psto_info span{
    color: #ff4f4f;
}

#voting{
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
    margin-top: 40px;
}

#vote_btn{
    margin-top: 15px; 
    margin-bottom: 25px;   
}

#amount_text{
    margin-top: 5px;
    margin-bottom: 15px;
}

#vote_average{
    font-size: 12px;
    padding-top: 10px;
}

.blur{
    -webkit-filter: blur(8px);
    -moz-filter: blur(8px);
    filter: blur(8px);    
}

.navigation-table{
    width:100%;
    margin-top: 25px;
}
.navigation-table th{
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 10px;   
  padding-right: 15px; 
}
.navigation-table td{
    line-height: 30px;    
}
.navigation-table th, .navigation-table td{
    text-align: left;
    vertical-align: top;
}
.navigation-table a{
    padding: 15px 0;
    line-height: 2.7;
}

#cboxTitle, #cboxCurrent, #cboxComments, #cboxTimer, #cboxSlideshow, .no-select, .cboxPhoto{
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000;}
#colorbox{outline:0;}
    #cboxContent{margin-top:20px;background:#000;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{border:5px solid #000; background:black;}
        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #cboxLoadingGraphic{background:url(/img/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
        
        #cboxSlideshow{position:absolute; top:-20px; right:65px; color:#fff;}
        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(/img/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(/img/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
        #cboxNext:hover{background-position:bottom right;}
        #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(/img/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
        #cboxClose:hover{background-position:bottom center;}
        
@font-face { 
  font-family: 'TrebuchetMS'; 
  src: url('../fonts/TrebuchetMSRegular/TrebuchetMSRegular.woff2') format('woff2'), 
/*       url('../fonts/TrebuchetMSRegular/TrebuchetMSRegular.ttf')  format('truetype'), */
       url('../fonts/TrebuchetMSRegular/TrebuchetMSRegular.woff') format('woff'); 
  font-weight: 400; 
  font-style: normal;
  font-display: fallback; 
}

@font-face { 
  font-family: 'TrebuchetMS'; 
  src: url('../fonts/TrebuchetMSBold/TrebuchetMSBold.woff2') format('woff2'), 
/*       url('../fonts/TrebuchetMSBold/TrebuchetMSBold.ttf')  format('truetype'), */
       url('../fonts/TrebuchetMSBold/TrebuchetMSBold.woff') format('woff'); 
  font-weight: 700; 
  font-style: normal;
  font-display: fallback;
}

button.g-recaptcha, input.votebtn{
    width: 150px;
    padding: 5px;
}

#android_buttons input{
    min-width: 38px;
    min-height: 30px;    
}

div.octoclick{
    width:100%; 
    margin-top:-15px;
    overflow: hidden;
    text-align: center;
    min-height: 160px;
}
div.terra{
    width:100%; 
    height:250px;
    margin-top:-15px;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
}
div.terra_50{
    width:100%; 
    height:50px;
    margin-top:-15px;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
}
div.ext{
    width:100%; 
    margin-top:-15px;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
}
div.ext2{
    width:100%; 
    margin-bottom:25px;
    text-align: center;
}

.comments{
    margin-top:25px;
}
.comment{
    padding-bottom:15px;
}
.comment table{
    width:100%;
}
.comment-firsttd{
    width:110px;
    vertical-align: top;
}
.comment-secondtd{
    vertical-align: top;
}
.comment-date{
    color: #ff4f4f;    
    text-align: right;
    font-size: 14px;
}
.comment-name{
    padding-bottom: 2px;
}

#addcomment, #addfav{
    display:none;
    text-align: left;
}

#scrollTop {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}
.index{
    margin-bottom:10px;
    font-family: sans-serif;
}

#accordion p{
    color:black !important;
}

#cboxTimer{
    position:absolute; 
    top:-20px; 
    right:60px; 
    color:#ccc;
}
#cboxComments{
    position:absolute; 
    top:1px; 
    left:5px; 
    color: rgba(255, 255, 255, 0.5);  
}

.bold{
    font-weight: 700;
}

.cinema-run{
    font-size:30px !important; 
    background-color:red; 
    color: white;
    cursor:pointer;
}

.cboxHighlight{
    box-shadow: 0 0 50px orange;
}
.bestHighlight{
    box-shadow: 0 0 100px #fa5751;
}

.arch div{
    display:inline;
    padding-right:5px;
    line-height: 2.2em;
}
.arch img{
    border-radius: 8px;    
}
#rankname_user{
    margin-bottom: 0;
}
.a-td{
    padding-bottom:10px;
    text-align:center;
}

.top100{
    margin-top: -15px;
}
.top100 span{
    padding-left:5px;
}

.top-span{
    padding-left: 5px;
    padding-right: 10px;
}
.tops{
    line-height: 2.4em !important;
}

.model-cover{
    padding-right: 8px;
    padding-bottom: 10px;
}
.model-clear{
    clear:both;
    margin-bottom:10px;
}
.a-button-ml{
    margin-left: 3px;
}
.flex-form{
    display:flex;
    justify-content: space-between;
}
.flex-evenly{
    display:flex;
    justify-content: space-evenly;
}

#comm_area{
    width:100%; 
    height: 100px;
}
.heartdiv{
    float:right;
}
#insert_heart{
    text-decoration:none; 
    font-size: 25px;
}
.clikes{
    font-size:25px; 
    font-weight:bold; 
    color:#de5340;
}
.comment-thirdtd{
    width:60px;
    text-align: right;
}
#modelinfo{
    display:flex; 
    flex-wrap: wrap;
}
#modeldesc{
    max-width: 400px;
}
#modeldesc p{
    text-align: left;
}

#aliases a{
    padding-right: 10px;
}

.gallery-item-small{
    padding-bottom: 0 !important;
}

.nav-buttons{
    margin-bottom: 12px;
    display:flex;    
    justify-content: space-between;
}
.nav-buttons a{
    display:block;   
    color:blue;
    text-decoration: none; 
    font-size: 19px;
    width:45%;
    padding: 5px 10px;
    border-radius: 10px;
    border: 2px solid #ff4f4f;
    color: #ff4f4f;
    cursor:pointer;
}

.nav-heading{
    font-size:20px;
    padding:15px 0;
}

.navigation-list{
    padding: 0 10px;
}

.navigation-list li{
    line-height: 35px;    
}
.navigation-list li a{
    padding: 10px 0;
    text-decoration: none;
}
.navigation-list li a:hover{
    text-decoration: underline;
}

a.main-header-logo{
  text-decoration: none;
  color: white;
  font-size: 36px;
  font-weight: bold;
}

.vote_table{
  width:100%;
  max-width: 400px;
}

.slider_sr{
  width:100%;
  max-width: 300px;
}

.slider_label{
  width:200px;
  padding-bottom:5px;
}