*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    background-color: #09858f;
   font-size: 0.9rem;
}
header {
    #padding-top: 45px;
    margin: 0 auto;
    border: 0px;
    max-width: 980px;
	margin-top: 45px;
}

/* HEADER IMAGES */



.header-gallery img{
    width:100%;
    height:auto;
    object-fit:cover;
}

/* TITLE BAR */

.topbar{
    background-color: #527ca4;
    color:white;
    #padding:15px 30px;
    display:flex;
    justify-content:space-between;
    #align-items:center;
    #border-top:4px solid #0f8aa8;
    flex-direction: column-reverse;
}

.topbar .nadpis {
    line-height: 40px;
    text-align: left;
}
.topbar .nadpis span.big{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #dbdbff;
  font-size: 31px;
  margin-left: 30px;
}

.topbar .nadpis span.small{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #dbdbff;
  font-size: 14px;
}

.topbar span{
    font-size:1rem;
}

.flags{
	#display:flex;
    display:none;
    gap:10px;
    font-size:24px;
    background-color: #ccccff;
  vertical-align: middle;
  text-align: right;
  justify-content: flex-end;
  padding-right: 1rem;
}

/* MOBILE BUTTON */

.mobile-toggle{
    display:none;
    cursor:pointer;
    font-size:32px;
    color:white;
}

/* MAIN LAYOUT */

.wrapper{
    display:flex;
    max-width:980px;
    margin:auto;
    padding:30px;
    gap:40px;
    background-color: #ccccff;
}

/* SIDEBAR */

.sidebar{
    width:260px;
}

.sidebar ul{
    list-style:none;
}

.sidebar li{
    margin-bottom:16px;
}

.sidebar a{
    text-decoration:none;
    color:#456b92;
    font-weight:bold;
}

.sidebar a:hover{
    color: #ee000f;
}

.sidebar-contact{
    margin-top:40px;
    line-height:1.8;
    font-size:14px;
}
.sidebar li.active a{
    color: #ee000f;
}
.sidebar ul li.active {
    list-style-type: square;
}
.sidebar ul li.active::marker {
    color: #ee000f;
    font-size: 1.3em; /* по-голямо квадратче */
}
.sidebar-contact p{
	margin-bottom: 1rem;
}
/* CONTENT */

.content{
    flex:1;
}

.content h2{
    color:red;
    margin-bottom:30px;
    font-size:2rem;
}

.content-grid{
    display:grid;
    grid-template-columns:1fr 350px;
    gap:30px;
}

.content p{
    margin-bottom:15px;
    line-height:1.6;
}

.content img{
    width:100%;
    display:block;
}
.content a {
	color: #09858f;
    text-decoration: none;
}
.content a[href^="mailto:"]  {
    color: #ee000f;
    text-decoration: none;
}
.content header {
	padding-top:0;
}
.content ul li {
	line-height:1.6;
}
.content ul  {
	list-style-type: none;
}
.frame-type-form_formframework h2{
	display:none;
}

/* Формата */
form {
    max-width: 700px;
    margin: 40px auto;
    padding: 35px;
    #background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

/* Всеки елемент */
.form-element {
    margin-bottom: 22px;
}

/* Етикети */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #444;
}

/* Задължително поле */
.required {
    color: #d32f2f;
    margin-left: 3px;
}

/* Полета */
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: all .25s ease;
    box-sizing: border-box;
}

/* Focus */
.form-control:focus {
    outline: none;
    border-color: #2d7ff9;
    box-shadow: 0 0 0 4px rgba(45,127,249,.15);
}

/* Placeholder */
.form-control::placeholder {
    color: #999;
}

/* Textarea */
textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Бутон */
.btn-primary {
    background: #09858f;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

/* Hover */
.btn-primary:hover {
    background: #1d63cb;
    transform: translateY(-2px);
}

/* Active */
.btn-primary:active {
    transform: translateY(0);
}
/* Date поле */
input[type="date"]{
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: .25s;
}

input[type="date"]:focus{
    outline: none;
    border-color: #2d7ff9;
    box-shadow: 0 0 0 4px rgba(45,127,249,.15);
}
input[type="date"]::-webkit-calendar-picker-indicator{
    cursor: pointer;
    opacity: .7;
    transition: .2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover{
    opacity: 1;
}

/* Навигация */
.form-navigation {
    text-align: right;
}

/* MOBILE */

@media (max-width:900px){

    .header-gallery{
        grid-template-columns:repeat(2,1fr);
        height:auto;
    }

    .header-gallery img{
        height:180px;
    }

    .mobile-toggle{
        display:block;
    }

    .wrapper{
        flex-direction:column;
        padding:20px;
    }

    .sidebar{
        width:100%;
        display:none;
    }

    .sidebar.active{
        display:block;
		position: absolute;
        top: 290px;
        background: #ccccff;
        left: -12px;
        padding-left: 22px;
        padding-top: 12px;
        width: 350px;
    }

    .content-grid{
        grid-template-columns:1fr;
    }

    .topbar{
        padding:15px;
    }

    .topbar h1{
        font-size:1.4rem;
    }
}