body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: #f6f6f6;
}

header {
    text-align: center;
    padding: 10px;
}

h1 {
    font-size: 18px;
    color: #333;
    margin: 10px;
}

.logo {
    max-width: 100%;
    height: auto;
}

/* Бургер меню */
.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 15px;
    background: #93cb46;
    color: #fff;
}

nav {
    width: 100%;
}

#nav {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #93cb46;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

#nav li {
    position: relative;
}

#nav li a {
    display: block;
    color: #fff;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

#nav li a:hover {
    background: #7fb239;
}

/* Підменю */
#nav li ul {
    display: none;
    position: absolute;
    background: #7fb239;
    padding: 0;
    list-style: none;
    width: 200px;
    transition: max-height 0.3s ease;
}

#nav li ul li a {
    padding: 12px;
}

/* Мобільний вигляд */
@media (max-width: 768px) {
    #nav {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #nav.open {
        display: flex;
    }

    .burger {
        display: block;
    }

    #nav li {
        width: 100%;
        text-align: center;
    }

    /* Клікабельне підменю */
    .submenu ul {
        display: none;
        width: 100%;
        position: static;
        background: #85bd3f;
    }

    .submenu.active ul {
        display: block;
        animation: fadeSlide 0.4s ease;
    }
}

/* Анімація */
@keyframes fadeSlide {
    0% {opacity: 0; transform: translateY(-8px);}
    100% {opacity: 1; transform: translateY(0);}
}


/* Rounded corners for modern look */
#nav {
    border-radius: 12px;
}

#nav li ul {
    border-radius: 0 0 12px 12px;
}

.burger {
    border-radius: 8px;
}


/* Desktop Hover for Main Menu Dropdowns */
@media (min-width: 769px) {
    #nav li.submenu:hover > ul {
        display: block !important;
    }
}

/* Mobile style: collapse by default */
@media (max-width: 768px) {
    #nav li.submenu ul {
        display: none;
        width: 100%;
    }

    #nav li.submenu.active > ul {
        display: block;
        animation: fadeSlide 0.4s ease;
    }
}


/* Arrow styling */
.arrow {
    margin-left: 8px;
    font-size: 12px;
}

/* Right aligned submenu (desktop) */
@media (min-width: 769px) {
    #nav li.submenu ul {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0;
        border-radius: 12px;
        z-index: 1000;
    }
}

/* Prevent submenu overlapping below items */
#nav li.submenu {
    position: relative;
}

/* On mobile - arrows rotate when open */
@media (max-width: 768px) {
    .submenu.active > a .arrow {
        transform: rotate(90deg);
        transition: transform 0.3s ease;
    }
}


/* Accordion menu mobile */
@media (max-width: 768px) {
    #nav li.submenu ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    #nav li.submenu.active > ul {
        max-height: 500px; /* Enough for full submenu */
    }

    .arrow {
        transition: transform 0.3s;
    }

    /* Rotate arrow when open */
    #nav li.submenu.active > a .arrow {
        transform: rotate(90deg);
    }
}


/* Desktop: Submenus open BELOW main item */
@media (min-width: 769px) {
    #nav li.submenu ul {
        position: absolute;
        left: 0;
        top: 100%;
        width: 200px;
        border-radius: 0 0 12px 12px;
        z-index: 1000;
    }

    /* Remove right-side hover open of deeper submenu */
    #nav li.submenu ul li.submenu ul {
        top: 0;
        left: 100%;
        border-radius: 12px;
    }
}

/* Mobile accordion menu (pushes below items) */
@media (max-width: 768px) {
    #nav li.submenu ul {
        position: relative;
        width: 100%;
    }

    #nav li.submenu.active > ul {
        display: block;
        max-height: 500px;
    }
}


/* Flex header for burger alignment */
.header-flex {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

/* Hide logo on mobile */
@media (max-width: 768px) {
    .logo {
        display: none !important;
    }

    .burger {
        margin-left: auto;
        display: block !important;
    }

    h1 {
        font-size: 16px;
        padding: 10px;
        text-align: center;
        width: 100%;
    }
}



/* TOP PANEL*/
#topPanel{width:762px; height:373px; position:relative; margin:0 auto; padding:0;}
#topPanel img{width:80px; height:80px; z-index:1; padding:0; position:absolute; margin:0 0 0 21px;}

/* MENU PANEL*/
#topPanel ul{display:block; width:732px; height:36px; position:absolute; top:0; right:0; margin:11px 0 0; padding:0 20px 0 0; border-bottom:1px solid #AEAEAE;}
#topPanel ul li{float:right; font:12px/36px "Trebuchet MS",Arial, Helvetica, sans-serif; font-weight:bold;}
#topPanel ul li a{width:74px; height:36px; display:block; padding:0; color:#555; background:#fff; text-decoration:none; text-align:center; margin:0 1px 0 0; top:0px; left:0px;}
#topPanel ul li a:hover{width:74px; height:36px; text-decoration:none; background:url(images/button.gif) no-repeat 0 0 #AEAEAE; color:#fff;}
#topPanel ul li h1{color:#AEAEAE;}
#topPanel ul li.active{width:74px; display:block; height:36px; background:url(images/button.gif) no-repeat 0 0 #AEAEAE; color:#fff; text-align:center; margin:0 1px 0 0;}
/* HEADER PANEL*/
#topPanel #headerPanelfast{width:246px; height:263px; position:absolute; top:0; left:0; margin:110px 0 0; padding:0px; background:url(images/orange-normal.jpg) no-repeat 0 0 #FC5F00; color:#fff;}
#topPanel #headerPanelfast a{width:246px; height:263px; display:block; text-decoration:none; }
#topPanel #headerPanelfast a:hover{width:246px; height:263px; background:url(images/orange-hover.jpg) no-repeat 0 0 #FC5F00; color:#fff; text-decoration:none;}
#topPanel #headerPanelfast h2{display:block; width:90px; height:47px; margin:54px 0 0 25px; font:24px/24px "Trebuchet MS",Arial, Helvetica, sans-serif; font-weight:bold; text-transform:uppercase; position:absolute; top:15px; left:50px; z-index:1;}
#topPanel #headerPanelfast p{width:163px; display:block; font:12px/18px Arial, Helvetica, sans-serif; font-weight:bold;  position:absolute; top:15px; left:50px; z-index:1; padding:0; margin:105px 50px 0 38px;}

#topPanel #headerPanelsecond{width:246px; height:263px; position:absolute; top:0; left:258px; margin:110px 0 0; padding:0px; background:url(images/green-normal.jpg) no-repeat 0 0 #FC5F00; color:#fff;}
#topPanel #headerPanelsecond a{width:246px; height:263px; display:block; text-decoration:none; }
#topPanel #headerPanelsecond a:hover{width:246px; height:263px; background:url(images/orange-hover.jpg) no-repeat 0 0 #FC5F00; color:#fff; text-decoration:none;}
#topPanel #headerPanelsecond h2{
display:flex; width:90px; height:47px; background:none; margin:54px 0 0 15px; font:22px/22px "Trebuchet MS",Arial, Helvetica, sans-serif; font-weight:bold; text-transform:uppercase; padding:0; position:absolute; z-index:1;}
#topPanel #headerPanelsecond p{width:163px; display:block; font:12px/18px Arial, Helvetica, sans-serif; font-weight:bold;  position:absolute; top:0px; left:0px; z-index:1; padding:0; margin:105px 50px 0 38px;}

#topPanel #headerPanelthird{width:246px; height:263px; position:absolute; top:0; right:0; margin:110px 0 0; padding:0px; background:url(images/blue-normal.jpg) no-repeat 0 0 #FC5F00; color:#fff;}
#topPanel #headerPanelthird a{width:246px; height:263px; display:block; text-decoration:none; }
#topPanel #headerPanelthird a:hover{width:246px; height:263px; background:url(images/orange-hover.jpg) no-repeat 0 0 #FC5F00; color:#fff; text-decoration:none;}
#topPanel #headerPanelthird h2{display:flez; width:90px; height:47px; background:none; margin:54px 0 0 35px; font:22px/22px "Trebuchet MS",Arial, Helvetica, sans-serif; font-weight:bold; text-transform:uppercase; padding:0; position:absolute; z-index:1;}
#topPanel #headerPanelthird p{width:163px; display:block; font:12px/18px Arial, Helvetica, sans-serif; font-weight:bold;  position:absolute; top:0px; left:0px; z-index:1; padding:0; margin:105px 50px 0 38px;}
/* /TOP PANEL*/








/* BODY PANEL*/


#bodyPanel{width:762px; height:640px; position:relative; margin:0 auto; padding-left:50px;}

#bodyPanel h2{ background:#fff; display:block; width:500px; height:50px; margin:0; font:25px/25px Georgia, "Times New Roman", Times, serif; font-weight:normal; padding:40px 0px 0px 0; color:#FF7113;}
#bodyPanel h3{background:#fff; display:block; width:650px; height:34px; margin:5px 0 0px 0; font:25px/25px Georgia, "Times New Roman", Times, serif; font-weight:normal; padding:0 0 0 20px; color:#FF7113;}/*Назви спеціальностей H3*/
#bodyPanel .point dl dt{font:15px/18px Georgia, "Times New Roman", Times, serif; font-style:italic; color:#555555;font-weight:normal; background:url(images/arr1.gif) 0 4px no-repeat; margin:15px; padding:0 0 0 15px;}



/*   */
#bodyPanel p{background:url(images/symbollogo.jpg) 0 0 no-repeat red; margin:0 0 0 54px; padding:0 42px 35px 150px; color:#0F0F0F;}
/* */






#bodyPanel .point  ul{width:240px; display:block; position:absolute; right:0px; top:255px; }
#bodyPanel .point ul li{font:12px/25px Arial, Helvetica, sans-serif; font-weight:normal; background:url(images/symbol2.gif) 0 8px no-repeat; padding:0 0 0 30px; list-style-type:none}


#bodyPanel p.dotline{background:url(images/dot-line.gif) 0 0 repeat-x #fff; padding:0; margin:0 40px 0 25px; color:#000;}
#bodyPanel p.capstext{background: bottom right no-repeat #fff; font:18px/24px Georgia, "Times New Roman", Times, serif; font-style:italic; color:#555555; padding:2px 10px 0 25px ; margin:0 35px 10px 0; }
#bodyPanel p.more{height:26px; padding:0; background:none; margin:0;}
#bodyPanel p.more a{width:76px; height:26px; display:block; margin:314px 20px 19px 618px; background:url(images/more.gif) 0 0 no-repeat #fff; color:#555; text-decoration:none; font:15px/26px "Trebuchet MS",Arial, Helvetica, sans-serif; padding:0 0 0 10px; text-transform:uppercase; position:absolute; top:0px; right:0px;}
#bodyPanel p.more a:hover{background:url(images/more.gif) 0 0 no-repeat #fff; color:#216EBD; text-decoration:none;}

#bodyPanel #testimonial{width:283px; height:162px; display:block; background:url(images/testimonial-bg.gif) 0 0 no-repeat #FFF6DB; padding:32px 33px 0 148px; margin:0 0 0 20px; color:#786321;}
#bodyPanel #testimonial p{background:none; margin:0; padding:0 0 5px 0;}
#bodyPanel #testimonial p span{color:#786321 !Important; background:#FFFAED !Important;}
#bodyPanel p.moretwo{height:26px; padding:0; background:none; margin:0;}
#bodyPanel p.moretwo a{width:76px; height:26px; display:block; margin:0px 0px 0px 606px; background:url(images/more.gif) 0 0 no-repeat #FFF; color:#555; text-decoration:none; font:15px/26px "Trebuchet MS",Arial, Helvetica, sans-serif; text-transform:uppercase; padding:0 0 0 10px; top:0px; right:0px;}
#bodyPanel p.moretwo a:hover{background:url(images/more.gif) 0 0 no-repeat #FFF; color:#216EBD; text-decoration:none;}
#bodyPanel h4{ background:#fff; width:250px; height:30px; position:absolute; top:361px; right:5px; margin:0; font:30px/30px Georgia, "Times New Roman", Times, serif; font-weight:normal; padding:0px; color:#FF7113;}
#bodyPanel ul{width:225px; display:block; position:absolute; right:30px; top:405px; }
#bodyPanel ul li{font:12px/25px Arial, Helvetica, sans-serif; font-weight:normal; background:url(images/symbol2.gif) 0 8px no-repeat; padding:0 0 0 30px;}
#bodyPanel ul span{ background:url(images/dot-line.gif) repeat-x 0 100%; height:25px; display:block;}











/*страница методичні розробки викладачів*/
#eposib h2{ 
/*background:#fff; display:block; width:800px; height:0px; margin:10%; font:16px/16px Georgia, "Times New Roman", Times, serif; font-weight:normal; padding:0px 0px 0px 180px; */
color:#0E3B43; margin-left:20px; font-size:16px/20px;
}
#eposib p { background:#fff; display:block; width:600px; height:20px; margin:10px; font:16px/16px Georgia, "Times New Roman", Times, serif; font-weight:normal; padding:20px/*0px 0px 0px*/; color:black;}
#eposib table {
    width: 600px; /* Ширина таблицы */
	
    /*border: 5px solid #399; /* Граница вокруг таблицы */
   /*
   border-spacing: 7px 5px; /* Расстояние между границ */
   }
  #eposib td{
  /*valign: middle /* Выравнивание по середине ячеек */
  /* vertical-align: top; /* Выравнивание по верхнему краю ячеек */
    /*background: red; /* Цвет фона */
  /*border: 5px solid #399; /* Граница вокруг ячеек */
   /*width: 100px;
    padding: 1px; /* Поля в ячейках */ 
   }

/**/