/*
Glossy Box Template (обновлённая версия)
http://www.templatemo.com/preview/templatemo_321_glossy_box
*/


body {
	margin: 0px;
	padding: 0px;
	color: #aeaeae;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 13px;
	line-height: 1.5em; 
	background-color: #26163d;
	background-image: url(../images/templatemo_body.jpg);
	background-repeat: repeat-x;
	background-position: top;
}

a, a:link, a:visited { 
	/*color: #298bff; */
	color: #aeaeae;
	text-decoration: none; 
}

a:hover { 
	text-decoration: underline; 
}

p { 
	margin: 0px; 
	padding: 0; 
}

img { 
	border: none; 
}

h1, h2, h3, h4, h5, h6 { 
	color: #59aaff; 
}

h1 { 
	font-size: 40px; 
	font-weight: normal; 
	margin: 0 0 30px 0; 
	padding: 5px 0; 
}

h2 { 
	font-size: 28px; 
	font-weight: normal; 
	margin: 0 0 30px 0; 
	padding: 0; /* text-shadow: 1px 1px 2px #000; */ 
}

h3 { 
	font-size: 21px; 
	margin: 0 0 15px 0; 
	padding: 0; 
	padding: 0; 
	font-weight: normal; 
	color: #fff; 
}

h4 { 
	font-size: 18px; 
	margin: 0 0 15px 0; 
	padding: 0; 
}

h5 { 
	font-size: 16px; 
	margin: 0 0 10px 0; 
	padding: 0; 
	color: #ccc; 
}

h6 { 
	font-size: 14px; 
	margin: 0 0 5px 0; 
	padding: 0; 
	color: #ccc; 
}

.cleaner { 
	clear: both; 
	width: 100%; 
	height: 0px; 
	font-size: 0px;  
}

.cleaner_h10 { 
	clear: both; 
	width:100%; 
	height: 10px; 
}

.cleaner_h20 { 
	clear: both; 
	width:100%; 
	height: 20px; 
}

.cleaner_h30 { 
	clear: both; 
	width:100%; 
	height: 30px; 
}

.cleaner_h40 { 
	clear: both; 
	width:100%; 
	height: 40px; 
}

.cleaner_h50 { 
	clear: both; 
	width:100%; 
	height: 50px; 
}

.cleaner_h60 { 
	clear: both; 
	width:100%; 
	height: 60px; 
}

.float_l { 
	float: left; 
}

.float_r { 
	float: right; 
}

.image_wrapper { display: inline-block; border: 1px solid #000; background: #343239; padding: 8px; margin-bottom: 10px; }
.image_fl { float: left; margin: 3px 15px 0 0; }
.image_fr { float: right; margin: 3px 0 0 15px; }

blockquote { font-style: italic; margin: 0 0 0 10px;}
cite { font-weight: bold; color:#fff; }
cite span { color: #ccc; }
em { color: #fff; }

.tmo_list { margin: 20px 0 20px 20px; padding: 0; list-style: none; }
.tmo_list li { background: transparent url(../images/templatemo_list.png) no-repeat scroll 0 0px; margin:0 0 20px; padding: 0 0 0 20px; 	line-height: 1em; }
.tmo_list li a { color: #fff; }
.tmo_list li a:hover { color: #ff4301; }

.btn_more a {
	float: right;
	display: block;
	width: 100px;
	height: 26px;
	margin-top: 10px;
	padding-top: 4px;
	font-size: 12px;
	font-weight: bold;
	color: #a9a9a9;
	text-align: center;
	background: url(../images/templatemo_btn.png) no-repeat;
}

.btn_more a:hover {
	/* text-shadow: 1px 1px 1px #000; */
	text-decoration: none;
	background: url(../images/templatemo_btn_hover.png) no-repeat;
}
.btn {
	box-shadow:inset 0px 1px 3px 0px #4f4a4f;
	background:linear-gradient(to bottom, #323037 5%, #26242b 100%);
	background-color:#323037;
	border-radius:5px;
	border:1px solid #050505;
	display:inline-block;
	cursor:pointer;
	color:#a9a9a9;
	font-family:Arial;
	font-size:12px;
	padding:7px 8px;
	text-decoration:none;
	text-shadow:0px -1px 0px #000000;
}
.btn:hover {
	background:linear-gradient(to bottom, #26242b 5%, #323037 100%);
	background-color:#26242b;
}
.btn:active {
	position:relative;
	top:1px;
}

.hr_divider {
	clear: both;
	padding-bottom: 40px;
	margin-bottom: 40px;
	background: url(../images/templatemo_hr_divider.png) bottom repeat-x;	
}

#templatemo_wrapper_outer {
	width: 100%;
	margin: 0 auto;
	background: url(../images/templatemo_body_2.jpg) top center no-repeat;
}

#templatemo_wrapper {
	width: 960px;
	padding: 0 10px;
	margin: 0 auto;
	background: url(../images/templatemo_body_2.jpg) top center no-repeat;
}

/* header */

#templatemo_header {
	width: 940px;
	height: 100px;
	padding: 0 10px;
}

#templatemo_header  #site_title {
	float: left;
	width: 210px;
	padding-top: 40px;
}



#templatemo_header  #site_title h1 {
	margin: 0;
	padding: 0;
}

#templatemo_header  #site_title a {
	margin: 0px;
	padding: 0px;
	font-size: 30px;
	color: #edecec;
	font-weight: normal;
	text-decoration: none;
}

#templatemo_header  #site_title a strong {
	color: #fff;
}

#templatemo_header  #site_title a span {
	display: block;
	font-size: 12px;
	color: #edecec;
	font-weight: normal;
	margin-top: 5px;
	margin-left: 5px;
}

#social_box {
	float: right;
	display: inline-block;
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
}

#social_box li {
	display: block;
	float: left;
	padding: 0;
	margin: 0;
}

#social_box li a {
	width: 46px;
	height: 46px;
	margin-right: 5px;
}

/* end of header */

#templatemo_content_wrapper {
	clear: both;
	width: 940px;
	padding: 40px 10px;
	background: url(../images/templatemo_content.png) repeat-y;
}

#templatemo_content_wrapper_bottm {
	width: 960px;
	height: 5px;
	background: url(../images/templatemo_content_bottom.png) no-repeat;
}

#content {
	padding: 0 50px;
	width: 840px;
}

#content p {
	margin-bottom: 10px;
}

.reasons {
	float: left;
	width: 240px;
	padding-right: 40px;
	text-align: justify;
}

.reasons img {
	float: left;
	margin-top: 3px;
	margin-right: 10px;
}



.col_w560 {
	float: left;
	width: 530px;
	padding-right: 40px;
}


.col_w420 {
	float: left;
	width: 650px;
	padding-right: 10px;
}

.last_box {
	margin: 0;
	padding: 0;
}

#partner_box {
	width: 520px;
	overflow: hidden;
}

#partner_box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#partner_box ul li {
	margin: 0;
	padding: 0;
	display: inline-block;
}

#partner_box ul li a {
	float: left;
	display: block;
	margin: 0 40px 20px 0;
}

#partner_box ul li .flashmo { background: url(../images/flashmo.png) no-repeat; width: 150px; height: 40px; }
#partner_box ul li .flashmo:hover { background: url(../images/flashmo_hover.png) no-repeat; }

#partner_box ul li .templatemo { background: url(../images/templatemo.png) no-repeat; width: 226px; height: 40px; }
#partner_box ul li .templatemo:hover { background: url(../images/templatemo_hover.png) no-repeat; }

#partner_box ul li .koflash { background: url(images/koflash.png) no-repeat; width: 148px; height: 40px; }
#partner_box ul li .koflash:hover { background: url(../images/koflash_hover.png) no-repeat; }

#partner_box ul li .wdmo { background: url(../images/webdesignmo.png) no-repeat; width: 261px; height: 40px; }
#partner_box ul li .wdmo:hover { background: url(../images/webdesignmo_hover.png) no-repeat; }

#partner_box ul li .layermo { background: url(../images/layermo.png) no-repeat; width: 156px; height: 40px; }
#partner_box ul li .layermo:hover { background: url(../images/layermo_hover.png) no-repeat; }


#contact_form {  float: left; padding: 0; }
#contact_form form { margin: 0px; padding: 0px; }
#contact_form form .input_field { 
	width: 380px; 
	padding: 5px; 
	font-family: Tahoma, Geneva, sans-serif; 
	font-size: 12px;
	background: #fff; 
	border: 1px solid #dfdfdf; 
}  
	
#contact_form form label { 
	display: block; 
	width: 100px; 
	margin-right: 10px;
	margin-bottom: 5px; 
	font-size: 13px; 
}

#contact_form form textarea { 
	width: 380px;  
	height: 200px;	
	background: #fff; 	
	border: 1px solid #dfdfdf;
	padding: 5px;
	font-family: Tahoma, Geneva, sans-serif; 
	font-size: 12px;
}

#contact_form form .submit_btn {
	margin: 10px 0px; 
	padding: 5px 14px; 
	border: 1px solid #dfdfdf; 
	background: #fff;
	color:#666;
	font-weight: bold;
}

/* footer */

#templatemo_footer {
	width: 940px;
	padding: 10px;
	text-align: center;
	color: #755e96;
}

#templatemo_footer a {
	color: #755e96;
}

/* end of footer */

/* ========== ОБНОВЛЁННОЕ МЕНЮ И БЛОК ЛОГИНА (без белых линий) ========== */

#templatemo_menu {
    background: rgba(30, 30, 40, 0.75);
    border-radius: 12px;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}

#templatemo_menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
}

#templatemo_menu ul li {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
}

#templatemo_menu ul li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #afdeff;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    background: transparent;
    width: auto;
    height: auto;
    float: none;
}

#templatemo_menu ul li a:hover,
#templatemo_menu ul .current {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

/* Выпадающие подменю */
#templatemo_menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 40, 0.9);
    min-width: 200px;
    border-radius: 10px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(89,170,255,0.2);
    backdrop-filter: blur(4px);
    display: block;
}

#templatemo_menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}

#templatemo_menu ul li ul li {
    display: block;
    width: 100%;
}

#templatemo_menu ul li ul li a {
    padding: 10px 20px;
    font-size: 13px;
    color: #cfd8dc;
    background: transparent;
    text-align: left;
}

#templatemo_menu ul li ul li a:hover {
    background: rgba(89,170,255,0.2);
    color: #afdeff;
    transform: none;
}

/* Блок пользователя (user_box) – прижимаем к правому краю */
.user_box {
    margin-left: auto !important;
    display: flex;
    align-items: center;
    position: relative;
}

.user_box li {
    list-style: none;
}

/* Кнопка "Увійти" (триггер) */
/* Кнопка "Увійти" – без рамки, как обычный пункт меню */
#login-trigger {
    display: inline-block;
    padding: 14px 20px;          /* такие же отступы, как у пунктов меню */
    font-size: 14px;
    font-weight: 600;
    color: #afdeff;
    text-decoration: none;
    background: transparent;
    border: none;                /* убираем рамку */
    border-radius: 0;            /* чтобы не было скруглений */
    cursor: pointer;
    transition: all 0.3s ease;
}
#login-trigger:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
/* Стрелочка (▼) */
#login-trigger span {
    margin-left: 5px;
    font-size: 12px;
}
/* Выпадающее окно логина – убираем все рамки */
#login-content {
    position: absolute;
    right: 0;
    top: 110%;
    background: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 20px;
    width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: none;
    z-index: 1000;
    display: none;
}
#login-trigger.active + #login-content,
#login-content:hover {
    display: block;
}

/* Убираем рамку у fieldset */
#login-content fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

/* Поля ввода – белый фон, чёрный текст */
#login-content #inputs input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #000000;
    font-size: 14px;
    box-sizing: border-box;
}
#login-content #inputs input:focus {
    border-color: #59aaff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(89,170,255,0.2);
}

/* Чекбокс "Запам'ятати мене" */
#login #actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
#login #actions label {
    color: #cfd8dc;
    font-size: 12px;
    cursor: pointer;
}
#login #actions input {
    margin-right: 5px;
}

/* Кнопка "Увійти" – без картинок, единый стиль */
#login #submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}
#login #submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}














/* ========== ГАМБУРГЕР-МЕНЮ ДЛЯ МОБИЛЬНЫХ ========== */
.menu-toggle {
    display: none; /* по умолчанию скрыта */
    background: rgba(30, 30, 40, 0.85);
    border: none;
    color: #afdeff;
    font-size: 24px;
    font-weight: bold;
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    margin-bottom: 5px;
    transition: all 0.3s;
}
.menu-toggle span {
    font-size: 16px;
    margin-left: 10px;
}
.menu-toggle:hover {
    background: rgba(30, 30, 40, 0.95);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* на мобильных показываем */
    }
    /* Основное меню – скрыто по умолчанию */
    #templatemo_menu ul {
        display: none !important;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    /* Показываем меню при добавлении класса open */
    #templatemo_menu ul.open {
        display: flex !important;
    }
    /* Пункты меню на мобильных – во всю ширину */
    #templatemo_menu ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    #templatemo_menu ul li a {
        text-align: left;
        padding: 12px 20px;
    }
    /* Выпадающие подменю на мобильных */
    #templatemo_menu ul li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none !important;
        box-shadow: none;
        background: rgba(30, 30, 40, 0.9);
        width: 100%;
        margin-left: 15px;
    }
    #templatemo_menu ul li ul.show-sub {
        display: block !important;
    }
    /* Блок пользователя */
    .user_box {
        margin-left: 0 !important;
        width: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }
    /* Выпадающее окно логина */
    #login-content {
        position: static;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}