/* PaulIsLava standart styles */

body, html { 
    width: 100%; 
    height: 100%; 
}

body {
	overflow-x: hidden; 
    box-sizing: border-box;
}


* { outline: none !important;

box-sizing: border-box; }

*::-webkit-scrollbar {
    width: 0.3vw;
}
 
*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
*::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}


img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

input, button { border: none; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.flex-space { 
	flex: 1;
}
.row { display: flex; flex-flow: row wrap; }

.strong {
    font-weight: bold;
}

.fullscreen {  min-height: 100vh; height: max-content; }

#overlay-layer {
	display: none;
}

html.overlay body {
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.overlay #overlay-layer {
    display: flex;
	align-items: center;
	justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    width: 100vw;
    height: 100vh;
}

.modal { 
	position: relative;
	z-index: 100000;
	display: none;
	background: white;
	box-sizing: border-box;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
	width: 100%;
	max-width: 900px;
	max-height: 90vh;
	flex-flow: column;
}

.flex-center {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
}

@media screen and (min-width: 1201px) {
	.pc-hide {
		display: none;
	}
}


@media screen and (max-width: 1200px) {
	.mobile-hide {
		display: none;
	}
	.modal {
		max-height: 100vh;
		height: 100%;
	}
}

.modal-head, .modal-body {
	padding: 1.5rem;
	box-sizing: border-box;
}

.modal-head+.modal-body {
	padding-top: 0;
}

.modal-body {
	max-height: max-content;
	height: max-content;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
}


#overlay-layer .modal {
	display: flex;
}


.vk-link {
    background-image: url(../img/vk.svg);
}

.inst-link {
    background-image: url(../img/instagram.svg);
}

.twitter-link {
	background-image: url(../img/twitter.svg);
}

.youtube-link {
	background-image: url(../img/youtube.svg);
}

.flexible-blocks .addMore, .flexible-blocks .deleteMore {
    cursor: pointer;
	margin: 0 auto 0.5rem;;
}

.flexible-max .addMore{
    display: none;
}

.flexible-blocks .flexible-block {
    padding-top: 1rem;
    border-top: 1px solid #474747;
    margin-top: 2rem;
}
.flexible-blocks .flexible-block:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.flexible-blocks .flexible-block:first-child .deleteMore {
	display: none;
	}
