body,html{
padding:0px;
margin:0px;
font-family: 'Open Sans', sans-serif;
}
html {
overflow-y: scroll;
/* Keeps page centered in all browsers regardless of content height */
-webkit-text-size-adjust: 100%;
/* Prevents iOS text size adjust after orientation change, without disabling user zoom */
-ms-text-size-adjust: 100%;
/* controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

#titlufont div#section div h1 {
	color: #FF9900;
	font-family: 'CarterOneRegular';
	font-size: 32px;
	line-height: 40px;
	margin: 0;
	padding: 35px 0 0 0 ;
	text-shadow: 2px 2px 0 #000000;
	width: auto;
	text-align:center;
}

#subtitlu div#sectiune div h2 {
	color: #f4263e;
	font-family: 'CarterOneRegular';
	font-size: 25px;
	line-height: 30px;
	margin: 0;
	padding: 25px 25px 0 0 ;
	text-shadow: 1.5px 1.5px 0 #000000;
	width: auto;
	text-align:center;
}

@font-face {
    font-family:'CarterOneRegular';
    src: url('https://www.ha-ha.ro/fonts/carterone-webfont.eot');
    src: url('https://www.ha-ha.ro/fonts/carterone-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://www.ha-ha.ro/fonts/carterone-webfont.woff') format('woff'),
         url('https://www.ha-ha.ro/fonts/carterone-webfont.ttf') format('truetype'),
         url('https://www.ha-ha.ro/fonts/carterone-webfont.svg#CarterOneRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family:'LoveYaLikeASister';
    src: url('https://www.ha-ha.ro/fonts/LoveYaLikeASister.ttf') format('truetype');
}
@font-face {
    font-family:'LoveYaLikeASisterSolid';
    src: url('https://www.ha-ha.ro/fonts/LoveYaLikeASisterSolid.ttf') format('truetype');
}
.d_centrat {
     margin-left: 5%;
     margin-right: 5%;
 }
.d_centrat_10 {
     margin-left: 10%;
     margin-right: 10%;
	 margin-top:20px;
 }
 .reclama {
	 width:100%;
	 margin-top:30px;
	 margin-bottom:30px;
	 text-align:center;
 }
 .reclama80 {
	 width:80%;
	 margin-top:30px;
	 margin-bottom:30px;
	 text-align:center;
 }
 #reclamasx_link a {
	 color:#192C3B;
	 text-decoration:underline;
	 margin-top:50px; 
	 padding-top:50px; 
 }
 #reclamasx_link a:hover {
	  color: #3B192C;
	 }
.reclamasx {
	width:100%;
    border: 1px solid #d2d2d2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	font-size:16px;
	font-family:LoveYaLikeASister;
}
 .distanta {
	 padding-top:50px;
	 padding-bottom:50px;
 }
 .clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}
.float-left {
float: left !important;
}
.float-right {
float: right !important;
}
.float-left-15 {
float: left !important;
margin-left:5px;
padding-top:12px;
}
.float-right-15 {
float: right !important;
}
.float-center {
    margin:5px auto;
    display:block;
    width:100%;
	background-color:#D41A1D;
}
.inlinie {
	display: inline-block;
    margin:5px auto;
    display:block;
    width:100%;
	background-color:#CF292C;
}
/* MENU DEFAULT */
.ttmenu  {
    position: relative;
    left: 0;
    top: -20px;
    width: 100%;
}
.ttmenu .navbar-default {
	border:0;
  width: 100% !important;
  border-radius: 0;
}
.ttmenu .navbar-default .dropdown-menu {
  background: rgb(255,255,255); /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ3JSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZGVkZWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-8 */
  box-shadow:none !important;
	border:0;
}
.ttmenu .navbar-default .dropdown-menu,
.ttmenu .navbar-default .dropdown-menu li a {
  color:#282828;
	list-style:none;
  background-color: transparent !important;
}
.ttmenu .navbar-default .navbar-toggle span {
	color:#fff !important;
	background:#fff !important;
}
.ttmenu .navbar-default .navbar-toggle {
	border-color:#ffffff;
	color:#fff !important;
	margin-top:8px;
	background-color:#171A1C;
}
.ttmenu .navbar ul {
	padding-left:0;
	list-style:none;
}
.ttmenu .navbar-collapse {
  border-bottom: 0 !important;
}
.ttmenu .navbar-default .navbar-nav > li > .dropdown-menu {
  margin-top:0;
}
.ttmenu .navbar-default .nav,
.ttmenu .navbar-default .collapse,
.ttmenu .navbar-default .dropup,
.ttmenu .navbar-default .dropdown {
  position: static;
}
.navbar-default .container {
  position: relative;
}
.ttmenu .navbar-default .dropdown-menu {
  left: auto;
  background-color: #ffffff !important
}
.ttmenu-content .box li,
.ttmenu .navbar-default .dropdown-menu li a {
	text-decoration:none !important;
}
.ttmenu .navbar-default .dropdown-menu,
.ttmenu-content .dropdown-menu {
	padding:0 !important
}

/* *****************/

.navbar-default .navbar-nav > li > a {
	padding-bottom:3px;
	padding-top: 3px;
	margin-top:7px;
	margin-left:3px;
	font-family: "Tahoma",Open Sans,Arial,sans-serif;
	font-size: 13px;
  font-style: normal;
	color:#fff !important;
  font-weight: 700;
}
.navbar-default .dropdown-menu li a  {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #282828;
  font-size: 13px;
  font-weight: 400;
	font-family: "Tahoma",Open Sans,Arial,sans-serif;
  padding: 13px 10px 13px 15px !important;
  position: relative;
	text-decoration:none;
  text-transform: none;
}
.ttmenu .navbar-default li .widget a {
	padding:0 !important;
}
.ttmenu-content .box li a{
  color: #282828;
  font-size: 13px;
	border-bottom:none;
	border-bottom:0 !important;
  font-weight: 400;
	font-family: "Tahoma",Open Sans,Arial,sans-serif;
  padding: 14px 30px 12px 0 !important;
  position: relative;
	text-decoration:none;
  text-transform: none;
}
.ttmenu .dropdown-menu,
.ttmenu .navbar-default .ttmenu-content {
  padding:30px 30px;
}
.ttmenu .navbar-default .ttmenu-full .dropdown-menu {
  left: 0;
  right: 0;
}
.ttmenu .nav li span.label {
	color:#fff !important;
 margin-left: 5px;
  margin-top: 2px !important;
  padding: 5px 10px;
}
.ttmenu .navbar-default .navbar-nav > .active > a, 
.ttmenu .navbar-default .navbar-nav > .active > a:hover, 
.ttmenu .navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.ttmenu-content .widget {
  padding:0;
  margin:0;
}
.ttmenu-content,
.ttmenu-content .widget,
.ttmenu-content .widget .thumb {
  position: relative;
}
.ttmenu-content .widget .title h4 {
  font-size:14px;
  text-transform: uppercase;
  font-weight: 400;
}
.ttmenu-content .box li {
  border-bottom: 1px solid #ededed;
  position: relative;
	padding:10px 10px 10px 0;
}
.ttmenu-content .box li i {
  right:0;
  clear: both;
  top:10px;
  display:block;
  position:absolute;
}
.dropme:after{
  content: "\f107";
  color:#fff;
  padding-left: 5px;
  font-family: 'FontAwesome';
}
.dropme-left:after{
  content: "\f105";
  color:#1a1a1a;
  font-family: 'FontAwesome';
  display:block;
	right:10px;
  width:0;
	position:absolute;
  height:0;
	top:13px;
  margin-top:0;
  margin-right:10px;
}
.navbar-default .dropdown-menu li:last-child,
.ttmenu-content .box li:last-child {
  border-bottom:1px solid #fff;
}
.box p {
  color:#1a1a1a;
  font-weight: 400;
  padding-top:10px;
  font-size:13px;
}
.box h4 {
  color:#1a1a1a;
  font-weight: bold;
  font-size:14px;
}
.box ul li span {
	float:right;
	margin-top:4px;
}


/* MENU GRADIENT */

.menu-red-gradient {
	border-top: 1px #656461;
	}
.demo_changer .demo-icon,
.menu-red-gradient .btn-primary,
.menu-red-gradient .label-danger,
.menu-red-gradient .navbar-default .navbar-nav > .open > a,
.menu-red-gradient .navbar-default .navbar-nav > .open > a:hover,
.menu-red-gradient .navbar-default .navbar-nav > .open > a:focus,
.menu-red-gradient .navbar-default .navbar-nav > li > a:focus,
.menu-red-gradient .navbar-default .navbar-nav > li > a:active,
.menu-red-gradient .navbar-default .navbar-nav > li > a.active {
	background-color:#171A1C;
	}
	
.menu-red-gradient .navbar-toggle:hover {
	background-color:#0082FF;}
	
.menu-red-gradient .navbar-default,
.menu-red-gradient .coldesc:hover {
  background:#171A1C;
  color:#fff !important;
}
.menu-red-gradient .box ul li:hover .fa {
  color: #0082FF !important;
}

/* DARK STYLE */

.dark-style .coldesc {
  background:#333;
  color:#fff;
  margin-bottom: 10px;
  text-align:center;
}
.dark-style .navbar-default .ttmenu-content {
  border-radius: 0;
}
.dark-style .dropdown-menu {
  background-color:#ffffff !important;
}
.dark-style .navbar-default .dropdown-menu li a,
.dark-style .ttmenu-content .box li a,
.dark-style .ttmenu-content .box li:before {
  color:#1a1a1a !important;
}
.dark-style .ttmenu-content .box li a:hover,
.dark-style .ttmenu-content .box li a:focus {
  background:none !important;
}
.dark-style .ttmenu-content .box li {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
.dark-style .navbar-default .dropdown-menu li a:hover,
.dark-style .navbar-default .dropdown-menu li a:focus {
  background:#ffffff;
}
.dark-style .form-control,
.dark-style .searchbox-icon, .searchbox-submit,
.dark-style .navbar-default {
	background-color:#171A1C;
}
.navbar-inverse .nav li.dropdown.open > .navbar-inverse .nav li.dropdown.active > .navbar-inverse .nav li.dropdown.open.active > .navbar,
.navbar-inverse .navbar-inner {
  filter: none;
  background-image: none;
}
a.dropdown-toggle {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
position: relative;
-webkit-transition-property: color;
transition-property: color;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
color: #fff;
}
a.dropdown-toggle:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #0082FF;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-origin: 50%;
transform-origin: 50%;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
border:solid 1px #FFFFFF;
}
a.dropdown-toggle:hover,a.dropdown-toggle:focus,a.dropdown-toggle:active {
color:#ffffff;
  background: #0082FF;
}
a.dropdown-toggle:hover:before,a.dropdown-toggle:focus:before,a.dropdown-toggle:active:before {
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
a.dropdown-toggle:hover span, a.dropdown-toggle:active span, a.dropdown-toggle:focus span {color: #F10A19;}
.navbar-header{
	width:100%;
	border-bottom:solid 1px #656461;
	}
.linie_neagra {
	width:100%;
	height:7px !important;
	background-color:#171A1C;
	border-bottom: 1px #656461;
	
}
.img_logo_big {
  float: left;
	margin:10px;
}

/* Social up*/
.socials a {
	text-decoration: none;
	color: inherit;
	outline: none;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}
.socials {
  float: right;
  font-size: 0;
  line-height: 0;
	margin:20px;
	width:228px;
	height:60px;
	padding:10px;
  display: inline-block;
	border: 1px solid #ffffff;
  -webkit-border-radius:4px 4px 4px 4px;
  -moz-border-radius:4px 4px 4px 4px;
  border-radius:4px 4px 4px 4px;
}
.socials .fa {
  background-color: #FF9900;
  display: inline-block;
  width: 38px;
  height: 37px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  line-height: 37px;
  -moz-transform: rotate(0deg); /* Для Firefox */
  -ms-transform: rotate(0deg); /* Для IE */
  -webkit-transform: rotate(0deg); /* Для Safari, Chrome, iOS */
  -o-transform: rotate(0deg); /* Для Opera */
  transform: rotate(0deg);
	border: solid 1px #FFFFFF;
}
.socials .fa+.fa {
  margin-left: 4px;
}
.socials .fa.fa-instagram {
  font-size: 25px;
}
.socials .fa:hover {
  background-color: #0082FF;
  -moz-transform: rotate(360deg); /* Для Firefox */
  -ms-transform: rotate(360deg); /* Для IE */
  -webkit-transform: rotate(360deg); /* Для Safari, Chrome, iOS */
  -o-transform: rotate(360deg); /* Для Opera */
  transform: rotate(360deg);
	border: solid 1px #FFFFFF;
}
a.img_logo_big:hover, a.img_logo_big:active, a.img_logo_big:focus {
outline: 0;
 }
 a.img_logo_small:hover, a.img_logo_small:active, a.img_logo_small:focus {
outline: 0;
 }
 
 /* Social down*/
.social_footer {
    font-size: 0;
    line-height: 0;
	padding-top:10px;
	padding-bottom:10px;
	padding-right:27px;
    display: inline-block;
}
.social_footer a {
	text-decoration: none;
	color: inherit;
	outline: none;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}
.social_footer .fa {
    background-color: #2D3E50;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    line-height: 37px;
    -moz-transform: rotate(0deg); /* Для Firefox */
    -ms-transform: rotate(0deg); /* Для IE */
    -webkit-transform: rotate(0deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(0deg); /* Для Opera */
    transform: rotate(0deg);
	border:solid 1px #333333;
}
.social_footer .fa+.fa {
    margin-left: 5px;
}
.social_footer .fa.fa-instagram {
    font-size: 25px;
}
.social_footer .fa:hover {
    background-color: #057AEF;
    -moz-transform: rotate(360deg); /* Для Firefox */
    -ms-transform: rotate(360deg); /* Для IE */
    -webkit-transform: rotate(360deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(360deg); /* Для Opera */
    transform: rotate(360deg);
}
 
/* Buton X */

.buttons-container {
position: relative;
float: right;
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
button {
display: inline-block;
margin: 0 1em;
border: none;
background: none;
}
button span {
display: block;
}
.grid-button {
float: right;
padding: 9px 10px;
margin-top: 8px;
margin-right: 15px;
margin-bottom: 8px;
cursor: pointer;
user-select: none;
}
.grid-button .grid {
width: 1rem;
height: 1rem;
background: #ecf0f1;
color: #ffffff;
/* Not in use when the colors are specified below */
transition: 0.3s;
}
.grid-button.close .grid {
-webkit-transform: rotate3d(0, 0, 1, -45deg) scale3d(0.8, 0.8, 0.8);
transform: rotate3d(0, 0, 1, -45deg) scale3d(0.8, 0.8, 0.8);
}
.grid-button.rearrange .grid {
box-shadow: -1.25rem -1.25rem, 0 -1.25rem, 1.25rem -1.25rem, -1.25rem 0, 1.25rem 0, -1.25rem 1.25rem, 0 1.25rem, 1.25rem 1.25rem;
}
.grid-button.rearrange.close .grid {
box-shadow: 0 -1rem, 0 -2rem, 1rem 0, -2rem 0, 2rem 0, -1rem 0, 0 2rem, 0 1rem;
}
.grid-button.collapse .grid {
box-shadow: -1.25rem 0, -1.25rem 1.25rem, 1.25rem 0, 1.25rem -1.25rem, 0 -1.25rem, -1.25rem -1.25rem, 0 1.25rem, 1.25rem 1.25rem;
}
.grid-button.collapse.close .grid {
box-shadow: -1rem 0, 0 0 transparent, 1rem 0, 0 0 transparent, 0 -1rem, 0 0 transparent, 0 1rem, 0 0 transparent;
}
.lines-button {
float: right;
padding-top:5px;
padding-right:2px;
margin-top: 4px;
margin-right: 1px;
margin-bottom: 5px;
transition: .3s;
cursor: pointer;
user-select: none;
border-radius: 0.57143rem;
/* */
}
.lines-button:hover {
opacity: 1;
}
.lines-button:active {
transition: 0;
}
.lines {
display: inline-block;
width: 4rem;
height: 0.57143rem;
background: #ecf0f1;
border-radius: 0.28571rem;
transition: 0.3s;
position: relative;
}
.lines:before, .lines:after {
display: inline-block;
width: 4rem;
height: 0.57143rem;
background: #ecf0f1;
border-radius: 0.28571rem;
transition: 0.3s;
position: absolute;
left: 0;
content: '';
-webkit-transform-origin: 0.28571rem center;
transform-origin: 0.28571rem center;
}
.lines:before {
top: 1rem;
}
.lines:after {
top: -1rem;
}
.lines-button:hover .lines:before {
top: 1.14286rem;
}
.lines-button:hover .lines:after {
top: -1.14286rem;
}
.lines-button.close {
-webkit-transform: scale3d(0.8, 0.8, 0.8);
transform: scale3d(0.8, 0.8, 0.8);
}
.lines-button.arrow.close .lines:before, .lines-button.arrow.close .lines:after {
top: 7px;
right: 10px;
width: 2.22222rem;
}
.lines-button.arrow.close .lines:before {
-webkit-transform: rotate3d(0, 0, 1, 40deg);
transform: rotate3d(0, 0, 1, 40deg);
}
.lines-button.arrow.close .lines:after {
-webkit-transform: rotate3d(0, 0, 1, -40deg);
transform: rotate3d(0, 0, 1, -40deg);
}
.lines-button.arrow-up.close {
-webkit-transform: scale3d(0.8, 0.8, 0.8) rotate3d(0, 0, 1, 90deg);
transform: scale3d(0.8, 0.8, 0.8) rotate3d(0, 0, 1, 90deg);
}
.lines-button.minus.close .lines:before, .lines-button.minus.close .lines:after {
-webkit-transform: none;
transform: none;
top: 7px;
right: 10px;
width: 4rem;
}
.lines-button.x.close .lines {
background: transparent;
}
.lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
top: 7px;
right: 10px;
width: 4rem;
}
.lines-button.x.close .lines:before {
-webkit-transform: rotate3d(0, 0, 1, 45deg);
transform: rotate3d(0, 0, 1, 45deg);
}
.lines-button.x.close .lines:after {
-webkit-transform: rotate3d(0, 0, 1, -45deg);
transform: rotate3d(0, 0, 1, -45deg);
}
.lines-button.x2 .lines {
transition: background 0.3s 0.5s ease;
}
.lines-button.x2 .lines:before, .lines-button.x2 .lines:after {
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
transition: top 0.3s 0.6s ease, -webkit-transform 0.3s ease;
transition: top 0.3s 0.6s ease, transform 0.3s ease;
}
.lines-button.x2.close .lines {
transition: background 0.3s 0s ease;
background: transparent;
}
.lines-button.x2.close .lines:before, .lines-button.x2.close .lines:after {
transition: top 0.3s ease, -webkit-transform 0.3s 0.5s ease;
transition: top 0.3s ease, transform 0.3s 0.5s ease;
top: 7px;
right: 10px;
width: 4rem;
}
.lines-button.x2.close .lines:before {
-webkit-transform: rotate3d(0, 0, 1, 45deg);
transform: rotate3d(0, 0, 1, 45deg);
}
.lines-button.x2.close .lines:after {
-webkit-transform: rotate3d(0, 0, 1, -45deg);
transform: rotate3d(0, 0, 1, -45deg);
}


/*Footer Menu Block*/
.footer {
background-color:#222;
color: #777;
font-weight:300;
}

.footer .box-heading {
color: #ccc;
}
.footer a{
color: #777;
}
.footer a:hover {
color: #fff;
}
#powered {
font-size: 14px;
border: 1px solid transparent;
padding-top:18px;
padding-bottom:5px;
background-color: #222;
border-color: #333;
color: #777;
}
#powered a{
color: #777;
}
.footer__container .row > [class*="col-"]:hover .box-heading:after {
width: 100%;
}
.footer__row--top,
.footer__row--bottom {
padding: 60px 0;
}
.footer .box-heading {
position: relative;
font-size: 20px;
text-align: start;
margin-bottom: 10px;
padding-bottom: 10px;
}
.footer .box-heading:after {
position: absolute;
height: 1px;
bottom: 0;
content: '';
display: block;
width: 0;
}
/* footer info */
.footer__info {
font-weight: 300;
}
.footer__info img {
margin-bottom: 25px;
}
.footer__info__content {
font-size: 14px;
}
/* footer list */
.footer__list__item {
margin-bottom: 15px;
}
.footer__list__item:before {
margin-right: 10px;
display: inline-block;
content: "\f00c";
font-family: FontAwesome;
vertical-align: middle;
font-weight: normal;
}

li {list-style-type: none;}

.footer__list__item:hover:before {
color: #409FFF;
}
.footer .box-heading {
border-bottom-color: #333333;
}
.footer .box-heading:after {
background-color: #0082FF;
}
.footer__container .row > [class*="col-"]:hover .box-heading {
color: #ffffff;
}
.footer .box-heading,
.footer .box-heading:after,
.footer__list__item:before {
-webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
-moz-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
-o-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.box-heading {
font-size: 24px;
font-weight: 600;
padding-bottom: 20px;
margin-bottom: 50px;
}
.box-heading {
color: #535353;
}
.row-heading {
color: #0082FF;
}
.page-heading,
.modal-title {
color: #0082FF;
border-bottom: 1px solid #dddddd;
}
.box-heading {
border-bottom: 1px solid #0082FF;
}

/* Parteneri */
.parteneri {
    list-style: none;
    position:relative;
	width:164px;
	height:104px;
    overflow:hidden;
    float:left;
    margin-right:10%;
    background-color:#222222;
	border: solid 2px #2D3E50;
}
ul.sidebar-parteneri {
  list-style: none;
  padding: 0;
  margin: 0;
  
  
    margin:5px auto;
    display:block;
    width:100%;
  
}
.sidebar-parteneri li{
  display: inline-block;
  margin: 0 15px 10px 0;
}

.effect img {
    position:absolute;
    left:0;
    bottom:0;
    cursor:pointer;
    margin:0;
    -webkit-transition:bottom .3s ease-in-out;
    -moz-transition:bottom .3s ease-in-out;
    -o-transition:bottom .3s ease-in-out;
    transition:bottom .3s ease-in-out;
}

.effect img.top:hover {
    bottom:-52px;
    padding-top:100px
}

h2.zero {
    color:#fff;
	margin-left:-30px !important;
   	margin-top:3px;
   	position:relative;
	font-size:13px;
    line-height:18px;
	font-weight:700;
	font-family: "Tahoma",Open Sans,Arial,sans-serif;
}
p.zero {
	margin-left:-35px !important;
	color: #FFF8DC;
    position:relative;
    font-family: "Tahoma",Open Sans,Arial,sans-serif;
    font-size:12px !important;
   	line-height:10px;
   	margin-top:0px;
}

#last_footer {
background-color: #222;
width:100%;
height: 100%;
padding-top:2px;
padding-bottom:0px;
height:auto !important;
}


/*-- Paginare--*/
.justify-fix {
width: 100%;
height: 0px;
display: inline-block;
}
.dropdown-select {
font-size:18px;
color: #14315C;
}

select {
vertical-align: baseline;
}
	   
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
*::before {
transition:0.2s;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
*::after {
transition:0.2s;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

.paginare {
text-align: center;
margin-bottom: 30px;
margin-top: 30px;
font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

.paginare p {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
}
.paginare p {
padding: 10px;
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
cursor: default;
}
.paginare a {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
color: #ffffff;
background-color: #3575D3;
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
text-decoration:none;
}
.paginare a:hover {
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
color: #0041C2;
overflow: visible;
background-color: #ffffff;
text-decoration:none;
}

.paginare p.selectat {
padding: 10px 18px;
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
background-color: #ffffff;
color: #0041C2;
}
.paginare-mobile {
display: none;
}
.paginare-mobile a {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
color: #ffffff;
background-color: #3575D3;
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
text-decoration:none;
}
.paginare-mobile a:hover {
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
color: #0041C2;
overflow: visible;
background-color: #ffffff;
}
.paginare-mobile p {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
color: #ffffff;
background-color: #3575D3;
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
}
/* Galerie imagini*/
 a.two {
font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
color: #FFDB58;
font-size:14px;
font-weight:500;
  text-align:left;
  color: #FFCC66;
  font-weight:400;
  }
a.two:link {
  color: #FFDB58;
  }
a.two:hover {
  color: #CD7F32;
  text-decoration:none;
  }
.img_middle {
  display: block;
  max-width: 60px;
}
.img-responsive_portfolio {
  display: block;
  max-width: 100%;
  height: auto;
  border:solid 1px #333E45
}
.portfolio-grid{
float:left;
width:25%;
padding:10px;
position:relative;
}
.portfolio-grid-text{
background:#192C3B;
text-align: left;
}
.portfolio-grid-text-left{
float:left;
width: 96%;
padding-left: 3%
}
.portfolio-grid-text-left h4{
color:#FFFFFF;
font-size:14px;
font-weight:800;
margin-top:15px;;
text-align:center;
}
.portfolio-grid-text-left p{
font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
color:#FBF6D9;
font-size:14px;
font-weight:500;
text-align:left;
margin-top:10px;
margin-bottom:10px;
}
.portfolio-grid-text-right{
float:right;
margin: 1em 0 0;
width:20%;
}
.portfolio-grid-text-right p{
display:block;
width:22px;
height:26px;
padding-left: 2em;
margin: 15px 0 0;
}
.portfolio-grid-text-right span{
color:#848F96;
font-size:11px;
}
.portfolio-grid img {
width: 100%;
}
.gallery1 {
position:relative;
}
.gallery1 .textbox {
max-width: 100%;
max-height: 100%;
position:absolute;
top:0;
left:0;
-webkit-transform: scale(0);
transform: scale(0);
border-radius:0px;
background-color: rgba(0,0,0,0.52);
-webkit-box-shadow: 0px 0px 15px 2px rgba(255,255,255,.75);
box-shadow: 0px 0px 15px 2px rgba(255,255,255,.75);
}
.gallery1:hover .textbox {
-webkit-transform: scale(1);
transform: scale(1);
}
.textbox img {
  padding-top: 30%;
  width: 20%;
  color: #fff;
  margin: 0 auto;
}
.textbox {
-webkit-transition: all 0.7s ease;
transition: all 0.7s ease;
}
/* Paginare */

.justify-fix {
width: 100%;
height: 0px;
display: inline-block;
}
.dropdown-select {
font-size:18px;
color: #14315C;
}

select {
vertical-align: baseline;
}
	   
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
*::before {
transition:0.2s;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
*::after {
transition:0.2s;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

.paginare {
text-align: center;
margin-bottom: 30px;
margin-top: 30px;
font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}
.paginare p {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
}
.paginare p {
padding: 10px;
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
cursor: default;
}
.paginare a {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
color: #ffffff;
background-color: #3575D3;
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
text-decoration:none;
}
.paginare a:hover {
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
color: #0041C2;
overflow: visible;
background-color: #ffffff;
text-decoration:none;
}

.paginare p.selectat {
padding: 10px 18px;
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
background-color: #ffffff;
color: #0041C2;
}
.paginare-mobile {
display: none;
}
.paginare-mobile a {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
color: #ffffff;
background-color: #3575D3;
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
text-decoration:none;
}
.paginare-mobile a:hover {
border: 1px solid rgba(25,44,59,1.00);
border-image: none;
color: #0041C2;
overflow: visible;
background-color: #ffffff;
}
.paginare-mobile p {
margin: 5px 3px;
padding: 10px 18px;
border-radius: 5px;
border: 1px solid rgba(25,44,59,1.00);
color: #ffffff;
background-color: #3575D3;
border-image: none;
overflow: hidden;
font-size: 18px;
font-weight: 400;
vertical-align: top;
display: inline-block;
position: relative;
}
/* Ribbon Box */
.ribbon,
.ribbon * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.ribbon {
    width: 100%;
    margin: 8px auto 8px;
    padding: 0 10px 4px;
    position: relative;
    color: #444;
    background: #fff;
    border: 1px solid #d2d2d2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.ribbon p {
	margin-top:35px;
	margin-bottom:35px;
	font-family: "Lucida Grande", arial, sans-serif;
	font-size:16px;
	line-height:28px;
	text-align:justify;
}
.ribbon h3 {
	font-family: LoveYaLikeASister;
	font-size:16px;
	line-height:25px;
    display: block;
    height: 100%;
    width: calc(100% + 31px);
    margin: 0;
    padding: 8px 8px;
    position: relative;
    left: -16px;
    top: 8px;
    color: #cfcfcf;
    text-shadow: 0 1px 1px #111;
    border-top: 1px solid #363636;
    border-bottom: 1px solid #202020;
    background: #333;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#383838), to(#262626));
    background: -webkit-linear-gradient(top, #383838 0%, #262626 100%);
    background: -moz-linear-gradient(top, #383838 0%, #262626 100%);
    background: -ms-linear-gradient(top, #383838 0%, #262626 100%);
    background: -o-linear-gradient(top, #383838 0%, #262626 100%);
    background: linear-gradient(top, #383838 0%, #262626 100%);
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.ribbon h3::before,
.ribbon h3::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -11px;
    z-index: -10;
    border: 5px solid;
    border-color: #242424 transparent transparent transparent;    
}
.ribbon h3::before {left: 0;}
.ribbon h3::after {right: 0;}
/* Round */
.ribbon.round h3 {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.ribbon.round h3::before,
.ribbon.round h3::after {
    width: 10px;
    height: 10px;
    bottom: -4px;
    border: none;
    background: #242424;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
/* Blue */
.ribbon.blue h3 {
    color: #fff;
    text-shadow: 0 1px 1px #155b88;
    border-top: 1px solid hsl(203, 97%, 53%);
    border-bottom: 1px solid hsl(203, 71%, 48%);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#33ACFC), to(#0180FE));
    background: -webkit-linear-gradient(top, #33ACFC 0%, #0180FE 100%);
    background: -moz-linear-gradient(top, #33ACFC 0%, #0180FE 100%);
    background: -ms-linear-gradient(top, #33ACFC 0%, #0180FE 100%);
    background: -o-linear-gradient(top, #33ACFC 0%, #0180FE 100%);
    background: linear-gradient(top, #33ACFC 0%, #0180FE 100%);
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.08) inset,
        0 1px 2px rgba(0,0,0,0.3);
}
.ribbon.blue h3::before,
.ribbon.blue h3::after {
    border-color: #389ddd transparent transparent transparent;
}
.ribbon.round.blue h3::before {
    background: #33aaf8;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#33aaf8), to(#0674bb));
    background: -webkit-linear-gradient(left, #33aaf8 0%, #0674bb 100%);
    background: -moz-linear-gradient(left, #33aaf8 0%, #0674bb 100%);
    background: -ms-linear-gradient(left, #33aaf8 0%, #0674bb 100%);
    background: -o-linear-gradient(left, #33aaf8 0%, #0674bb 100%);
    background: linear-gradient(left, #33aaf8 0%, #0674bb 100%);
}
.ribbon.round.blue h3::after {
    background: #33aaf8;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#0674bb), to(#33aaf8));
    background: -webkit-linear-gradient(right, #33aaf8 0%, #0674bb 100%);
    background: -moz-linear-gradient(right, #33aaf8 0%, #0674bb 100%);
    background: -ms-linear-gradient(right, #33aaf8 0%, #0674bb 100%);
    background: -o-linear-gradient(right, #33aaf8 0%, #0674bb 100%);
    background: linear-gradient(right, #33aaf8 0%, #0674bb 100%);
}
.reach-text{
	background:#30424F;
	padding-top:8px;
	padding-bottom:8px;
	padding-left:8px;
	padding-right:8px;
	width: 98%;
	margin: 10px auto 20px;
	border: 1px solid #7A868E;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	}
.reach-text p{
	text-align:center;
	color:#fff;
	font-size:14px;
	margin:0;
	font-family: LoveYaLikeASister;
	}
.reach-text p a{
	color: #FFDB58;
	text-decoration:none;
	font-weight:600;
	font-style:italic;
	}
.reach-text p a:hover{
	color:#F75D59;
	}
.reach-text span{
	font-style:italic;
	font-weight:bold;
}
.title_stiati_ca {
	font-size:14px;
	font-family: LoveYaLikeASister;
	margin-left:30px;
	font-style:italic;
	color:#46525E;
}
#color_yellow {
	color:#FFFF00;
}
#color_violet_red {
	color:#F660AB;
}
#color_green {
	color:#00FF00;
}
#color_magnetaminus {
	color:#FF6AFF;
}
#color_deepskyblue {
	color:#3BB9FF;
}

#color_cantaloupe {
	color:#FFA62F;
}

#color_green_yellow {
	color:#B1FB17;
}

#color_white {
	color:#FFFFFF;
}
#color_pinkbow {
	color:#FFD801;
}
#color_beanred {
	color:#F75D59;
}
#color_red_a {
	color:#FFFFA3;
}
#color_vernil {
	color:#00CC66;
}
#color_magnettaa {
	color:#F75D59;
}
#color_blue {
	color:#0099FF;
}
#color_bisque {
	color: #FFE4C4;
}
#color_darkorange {
	color: #FF8C00;
}
#color_lightgoldenrodyellow {
	color: #FAFAD2;
}
#color_darkturquoise {
	color: #00CED1;
}
#litere_mari {
	text-transform:uppercase;
}
/* start modal */


.modal_cokie {
	cursor:pointer;
	padding-left:5%;
	color:#F4263E;
	font-weight:bold;
	font-style:italic;
	}
.modal_cokie:hover {
	color:#E3052B;
	text-decoration:none;
}
.delete_icon {
	margin:3px;
	}
	
/*  modal */
.needpopup-opened,.needpopup-opened body {
overflow:hidden;
}

.needpopup-opened.needpopup-scrolled,.needpopup-opened.needpopup-scrolled body {
height:auto;
}

.needpopup-opened.needpopup-scrolled body {
position:fixed;
width:100%;
}

.needpopup_wrapper {
position:fixed;
z-index:999;
top:0;
left:0;
visibility:hidden;
overflow:auto;
-webkit-box-sizing:border-box;
box-sizing:border-box;
width:100%;
height:100%;
padding:40px 0;
-webkit-transition:opacity .3s ease;
transition:opacity .3s ease;
opacity:0;
background:#000;
background:rgba(0,0,0,.9);
text-align:justify;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size:14px;
}

.needpopup-opened .needpopup_wrapper {
visibility:visible;
opacity:1;
}

.needpopup-overflow .needpopup_wrapper {
padding:10px;
}

.needpopup {
position:relative;
z-index:9999;
top:50%;
left:50%;
display:none;
-webkit-box-sizing:border-box;
box-sizing:border-box;
width:80%;
margin-left:-40%;
padding:30px;
-webkit-transform:scale(.1,.1);
-ms-transform:scale(.1,.1);
transform:scale(.1,.1);
opacity:0;
background:#fff;
}

.needpopup.opened {
-webkit-transition:opacity .5s ease,-webkit-transform .5s ease;
transition:opacity .5s ease,transform .5s ease;
-webkit-transform:scale(1,1);
-ms-transform:scale(1,1);
transform:scale(1,1);
opacity:1;
}

.needpopup.stacked {
top:0!important;
margin-top:0!important;
}

.needpopup-overflow .needpopup {
left:0;
width:auto;
margin-left:0;
}

.needpopup_remover {
position:fixed !important;
z-index:9999;
top:50px !important;
right:12% !important;
}



.needpopup .needpopup_remover:hover {
color:#ccc;
text-decoration:none;
}	

.needpopup {
border-radius: 10px;
box-shadow: 0 0 0 6px rgba(153, 153, 153, .3);
margin-bottom:32px !important;
}

.needpopup p {
margin: 40px;
}
.needpopup p + p {
margin-top: 10px;
}
	
.needpopup-title {
text-align:center !important;
font-size: 20px;
font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
font-weight: bold;
}	

.needpopup-subtitle {
	text-align:left;
	margin-left:2%;
font-size: 18px;
font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
font-weight: bold;
}
/* sfarsit modal */
/* RESPONSIVE start */

@media only screen and (min-width: 768px) {
.img_logo_small  {
      display:none;
  }
}
@media only screen and (max-width: 767px) {
.socials {
      display:none;
  }
.img_logo_big  {
      display:none;
  }
.img_logo_small {
  float: left;
	margin-left:5px;
	margin-top:12px;
	
}
  #vertical .ttmenu-full.open {
      max-width: 100%;
      width: 100% !important;
      position: relative;
  }
  #vertical .navbar-default,
  #vertical .navbar-default .nav,
  #vertical .navbar-default .collapse,
  #vertical .navbar-default .dropup,
  #vertical .navbar-default .dropdown {
      position: static;
      width: 100% !important;
      left:0;
  }
  #vertical .navbar-collapse {
      padding: 0;
  }
  #vertical .navbar-default .navbar-nav li .vertical-menu {
      opacity: 1;
      position: static;
      left: 100% !important;
      right: 100% !important;
      top:auto;
      margin-top: 0 !important;
      max-width: 100%;
      padding:0;
  }
	.navbar-default .dropdown-menu li:last-child,
.ttmenu-content .box li:last-child {
  border-bottom:1px solid #D7D7D7 !important;
}
  #vertical .navbar-default .navbar-nav li .vertical-dropdown-menu {
      opacity: 1;
      position: static;
      left: 100% !important;
      right: 100% !important;
      top:auto;
      margin-top: 0 !important;
      max-width: 100%;
      padding:0;
  }
  #vertical .navbar-collapse {
      padding:0 0 0 20px;
  }
  #vertical .dropdown-menu, 
  #vertical .navbar-default .ttmenu-content {
      padding:20px;
  }
  #vertical .nav-pills {
      max-width: 200px;
  }
  #vertical .dropme:after{
      content: "\f107";
      color:#fff;
      position: absolute;
      right: 20px;
      padding-left: 5px;
      font-family: 'FontAwesome';
  }
  .nav-pills > li > a::after,
  .dropme-left:after{
      content: "\f107";
  }
  .ttmenu .nav-pills,
  #vertical .nav-pills {
      width: 100%;
      padding:0;
      max-width: 100%;
      margin-bottom: 20px;
  }
	 .navbar-nav li {
		 margin-left:5px;
		 margin-right:10px;
		 border-bottom:groove #FFFAF0 1px;
}
.navbar-default .navbar-nav > li > a {
  padding-bottom: 10px;
  padding-top: 10px;
	margin-top:5px;
	margin-bottom:15px;
	font-size: 13px;
	height: 50px;
}
}
/* SUB MENU STYLE */
.ttmenu .dropdown-submenu {
  position:relative;
}
.ttmenu .dropdown-submenu>.dropdown-menu {
  top:0;
  left:100%;
  margin-top:0;
  margin-left:0;
  border-radius:0;
}
.ttmenu .dropdown-submenu:hover>.dropdown-menu {
  display:block;
}
.ttmenu .dropdown-submenu.pull-left {
  float:none;
}
.ttmenu .dropdown-submenu.pull-left>.dropdown-menu {
  left:-100%;
  margin-left:10px;
  -webkit-border-radius:6px 0 6px 6px;
  -moz-border-radius:6px 0 6px 6px;
  border-radius:6px 0 6px 6px;
}
.ttmenu .open > .dropdown-menu {
animation-name: slidenavAnimation;
animation-duration:.5s;
animation-iteration-count: 1;
animation-timing-function: ease;
animation-fill-mode: forwards;
-webkit-animation-name: slidenavAnimation;
-webkit-animation-duration:.5s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: forwards;
-moz-animation-name: slidenavAnimation;
-moz-animation-duration:.5s;
-moz-animation-iteration-count: 1;
-moz-animation-timing-function: ease;
-moz-animation-fill-mode: forwards;
}
@keyframes slidenavAnimation {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}
@-webkit-keyframes slidenavAnimation {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}

h7 {
    display: block;
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    background: #f8f9fa;
    color: #333 !important;
    text-align: left;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.container_exercitii_matematica {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
    max-width: 1200px;
    width: 95%;
        }

.controls-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.toggle-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.toggle-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.toggle-item label {
    margin: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.toggle-item input[type="checkbox"] {
    margin: 0 !important;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.timer-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .controls-bar {
        justify-content: center;
        text-align: center;
    }
    
    .toggle-controls {
        justify-content: center;
        width: 100%;
    }
}

.timer-controls {
    display: flex;
    gap: 5px;
        }

.timer-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
        }

.timer-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
    transform: scale(1.1);
        }

.timer-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #999;
    color: #999;
        }

.settings-panel {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
        }

.settings-title {
    display: flex;
    align-items: center; /* Aliniere verticală perfectă */
    gap: 10px;           /* Spațiu între iconiță și text */
    font-size: 1.5em;
    font-weight: bold;
    color: #4a5568;      /* O culoare gri-închis profesională */
    margin-bottom: 25px;
}

.settings-title:before {
    content: "\f013";    /* Codul pentru iconița 'cog' (roată dințată) */
    font-family: 'FontAwesome';
    color: #48bb78;      /* Verdele tău de la butoane, pentru unitate */
    font-size: 1.1em;
    -webkit-font-smoothing: antialiased;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
        }

.setting-item {
    display: flex;
    flex-direction: column;
        }

.setting-item label {
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9em;
        }

.setting-item input, .setting-item select {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
        }

.setting-item input:focus, .setting-item select:focus {
    outline: none;
    border-color: #667eea;
        }

.exercise-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
        }

.exercise {
    font-size: 3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
        }

.timer-warning {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.9em;
    color: #e53e3e;
    animation: pulse 1s infinite;
        }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
        }

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#answer {
    padding: 12px;
    font-size: 1.1em;
    border: 2px solid #cbd5e0;
    border-radius: 10px;
    outline: none;
    flex: 1;
    min-width: 200px;
}

#answer:focus {
    outline: none;
    border-color: #667eea;
        }

#answer:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
    opacity: 0.7;
        }

#check-btn {
    border: 2px solid #2FA8FC;
    font-family: inherit;
    font-size: 18px !important;
    color: #2FA8FC;
    background: none;
    cursor: pointer;
    padding: 10px 60px 10px 50px;
    display: inline-block;
    margin: 0 !important; 
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    flex-shrink: 0;
}

#check-btn:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    position: absolute;
    height: 100%;
    font-size: 110%;
    
    /* Revenim la line-height pentru centrare verticală */
    /* 2.2 sau 2.4 în funcție de cum "se așează" vizual */
    line-height: 2.3; 
    
    color: #00D700;
    left: -50%; /* Ascunsă în stânga */
    top: 0;
    transition: all 0.4s ease;
}

#check-btn:hover:not(:disabled) {
    border-color: #2FA8FC;
    background: #fff;
    color: #212121;
}

#check-btn:hover:not(:disabled):before {
    left: 15px; 
}

#check-btn:active:not(:disabled) {
    border-color: #820000;
    color: #015CAF;
    transform: scale(0.98);
}

#check-btn:disabled {
    background: #f1f5f9;
    border-color: #cbd5e0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

#check-btn:disabled:before {
    display: none; 
}

#new-exercise {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 0 0 20px 0;
    border: 2px solid #399B63;
    border-radius: 50px;
    background: #E3F4EB;
    color: #48bb78;
    font-family: inherit;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px 30px;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#new-exercise:before {
    content: "\f021";
    font-family: 'FontAwesome';
    position: absolute;
    left: 25px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 110%;
    color: inherit;
    opacity: 0.8;
    -webkit-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#new-exercise:hover {
    background: #48bb78;
    color: white;
}

#new-exercise:hover:before {
    left: calc(50% - 85px); 
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

#new-exercise:active {
    transform: scale(0.98);
}

.result {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    animation: slideIn 0.3s ease;
        }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
        }

.correct {
    background: #c6f6d5;
    color: #22543d;
    border: 2px solid #48bb78;
        }

.incorrect {
    background: #fed7d7;
    color: #742a2a;
    border: 2px solid #f56565;
        }

.explanation-box {
    background: #edf2f7;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
    font-size: 1.1em;
    color: #4a5568;
    animation: fadeIn 0.5s ease;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
        }

.explanation-box h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.2em;
        }

.explanation-box p {
    margin: 8px 0;
    line-height: 1.6;
        }

.explanation-box .formula {
    background: white;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    text-align: center;
    margin: 10px 0;
        }

.next-exercise-note {
    text-align: center;
    color: #718096;
    font-size: 1em;
    margin-top: 15px;
    font-style: italic;
        }

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
        }

.stat-item {
    text-align: center;
        }

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
        }

.stat-label {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
        }

.history h7 {
    display: flex;
    align-items:left;
    justify-content: left;
    color: #1a1a40 !important;
background-image: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 8px;
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.history h7::before {
    content: "🕰️";
    margin-right: 12px;
    font-size: 1.2em;
}

.history-item {
    background-color: #fdfdf8;
    border-radius: 20px;
    padding: 15px 25px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0e0;
    transition: transform 0.2s ease;
}

.history-item:hover {
    transform: translateX(5px);
}

.history-exercise {
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.history-result {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-correct {
    background-color: #c6f6d5;
    color: #22543d;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
}

.history-incorrect {
    background-color: #fed7d7;
    color: #742a2a;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
}    

@media (max-width: 480px) {
.container_exercitii_matematica {
        padding: 20px;
    }

.exercise {
        font-size: 2em;
    }

    .input-group {
        flex-direction: column;
    }
    
    #answer, #check-btn {
        width: 100%;
        max-width: 100%;
    }

#check-btn {
        width: 100%;
    }

.controls-bar {
        flex-direction: column;
        align-items: flex-start;
    }
        }

.read-more-container {
    margin-top: 30px;
    line-height: 1.6;
    color: #4a5568;
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid #0174E7;
}

.read-more-state {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: 1.05em;
    max-height: 5000px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.read-more-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    color: #0174E7;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 15px;
    border: 2px solid #0174E7;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.read-more-trigger:hover {
    background: #2EA7FD;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(46, 167, 253, 0.2);
}

.read-more-trigger::before {
    content: 'Citește mai mult';
}

.read-more-state:checked ~ .read-more-trigger::before {
    content: 'Restrânge textul';
}

.read-more-trigger::after {
    content: "\f078";
    font-family: 'FontAwesome';
    font-size: 0.9em;
    transition: transform 0.4s ease;
}

.read-more-state:checked ~ .read-more-trigger::after {
    transform: rotate(180deg);
}

.hint {
    font-size: 1.2em;
    color: #718096;
    margin-top: 12px;
}

.answer-format {
    font-size: 1.2em;
    color: #718096;
    margin-top: 12px;
}

.math-section {
    max-width: 900px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        
.formula-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}
        
.formula-table thead {
    background-color: #2c3e50;
    color: #ffffff;
}

.formula-table th, .formula-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
        
.math-style {
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    font-size: 1.25em;
    color: #e67e22;
    white-space: nowrap;
}

.example-style {
    color: #7f8c8d;
    font-style: italic;
}

@media screen and (max-width: 700px) {
    .formula-table thead { display: none; }
    .formula-table, .formula-table tbody, .formula-table tr, .formula-table td {
    display: block;
    width: 100%;
}
        
.formula-table tr {
    margin-bottom: 20px;
    border: 1px solid #dcdde1;
    border-left: 5px solid #2c3e50;
    background: #f9f9f9;
}
.formula-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border-bottom: 1px solid #ececec;
}
        
.formula-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    font-weight: bold;
    text-align: left;
    color: #2c3e50;
}

.formula-table td:last-child { border-bottom: none; }
}
        
.highlight {
    font-weight: bold;
    color: #e67e22;
}
        
.math-inline {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    white-space: nowrap;
}

.math-op {
    background: #f4f7f6;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
}

.fraction {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0 5px;
    font-size: 1em;
}

.fraction .numerator {
    display: block;
    border-bottom: 3px solid #333;
    padding: 0 8px;
    min-width: 40px;
    text-align: center;
}

.fraction .denominator {
    display: block;
    padding: 0 8px;
    min-width: 40px;
    text-align: center;
}

.operator {
    font-size: 1.2em;
    font-weight: bold;
    color: #667eea;
    margin: 0 10px;
}

.equal-sign {
    font-size: 1.2em;
    font-weight: bold;
    color: #48bb78;
    margin: 0 10px;
}

.question-mark {
    font-size: 1.2em;
    font-weight: bold;
    color: #e53e3e;
}

.formula-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin: 5px;
}

.dimensions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.dimension-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.dimension-item label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.dimension-item input {
    width: 100px;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    background-color: #f0f4f8;
}

.dimension-item input:focus {
    outline: none;
    border-color: #667eea;
}

.dimension-unit {
    font-size: 0.8em;
    color: #999;
    margin-top: 3px;
}
    
.shape-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.numbers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.number-item label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.number-item input {
    width: 120px;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    background-color: #f0f4f8;
}

.number-item input:focus {
    outline: none;
    border-color: #667eea;
}

.vector {
    color: #667eea;
    font-weight: bold;
}

.vector-components {
    display: inline-block;
    background: #e6e6fa;
    padding: 5px 15px;
    border-radius: 30px;
    margin: 0 5px;
    font-family: 'Courier New', monospace;
}

.dot-product {
    color: #e53e3e;
    font-weight: bold;
}

.magnitude {
    color: #48bb78;
    font-weight: bold;
}

.vectors-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.vector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.vector-item h9 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 800;
}

.component-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.component {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.component label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.component input {
    width: 80px;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    background-color: #f0f4f8;
}

.component input:focus {
    outline: none;
    border-color: #667eea;
}
    
.vector-formula {
    background: #e6e6fa;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.coords {
    display: inline-flex;
    gap: 20px;
    font-size: 1.2em;
}

.coord-pair {
    background: #f0f4f8;
    padding: 5px 15px;
    border-radius: 30px;
}

.data-set {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px #ffffff;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.data-item label {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 0.9em;
    font-weight: 800;
}

.data-item input {
     width: 80px;
     padding: 10px;
     border: 2px solid #e0e0e0;
     border-radius: 8px;
     text-align: center;
     font-size: 1.1em;
     background-color: #f0f4f8;
     font-weight: bold;
}

.data-item input:focus {
    outline: none;
    border-color: #667eea;
}
.stats-summary {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
     gap: 15px;
     margin: 20px 0;
     padding: 20px;
     background: #e6e6fa;
     border-radius: 10px;
}

.stat-card {
     background: white;
     padding: 15px;
     border-radius: 8px;
     text-align: center;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-card .stat-label {
     font-size: 0.9em;
     color: #666;
     margin-bottom: 5px;
}

.stat-card .stat-value {
     font-size: 1.5em;
     font-weight: bold;
     color: #667eea;
}

.combinatorics-display {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 20px 0;
}
        
.param-card {
    background: white;
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 20px;
    min-width: 150px;
    text-align: center;
}

.param-label {
    font-size: 1em;
    color: #666;
    margin-bottom: 10px;
}

.param-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #667eea;
}

.param-unit {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
}

.function-display {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 1.5em;
    text-align: center;
    border: 2px #ffffff;
}

.expression-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 1.5em;
    text-align: center;
    border: 2px #ffffff;
    font-family: 'Courier New', monospace;
}

@media (max-width: 600px) {
.vectors-container {
    flex-direction: column;
    align-items: center;
}

.component-group {
    flex-direction: column;
    align-items: center;
}

.data-set {
    flex-direction: column;
    align-items: center;
}
.combinatorics-display {
    flex-direction: column;
    align-items: center;
}
}

#math-index-root {
    all: initial; 
    display: block;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0a2b3e;
    margin: 40px auto !important;
    max-width: 1300px;
    border-radius: 40px; 
    padding: 60px 40px;
    box-shadow: 
    0 1px 3px rgba(0,0,0,0.02),
    0 10px 20px rgba(0,0,0,0.03),
    0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

#math-index-root *,
#math-index-root *::before,
#math-index-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#math-index-root .m-main-container {
    max-width: 1200px;
    margin: 0 auto;
}

#math-index-root .m-hero {
    text-align: center;
    margin-bottom: 48px;
}

#math-index-root .m-hero h1 {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e4b6e, #2c7a4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

#math-index-root .m-hero p {
    font-size: 18px;
    margin-top: 8px;
}

#math-index-root .m-search-section {
    display: flex;
    justify-content: center;
    margin: 32px 0 40px;
}

#math-index-root .m-search-box {
    background: white;
    border-radius: 60px;
    padding: 12px 20px 12px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    max-width: 550px;
}

#math-index-root .m-search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #0a2b3e;
}

#math-index-root .m-stats-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    background: rgba(255,255,240,0.6);
    padding: 8px 24px;
    border-radius: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
    font-size: 15px;
    color: #2a5f6e;
}

#math-index-root .m-stats-bar span {
    font-weight: 700;
    background: rgba(30,75,110,0.1);
    padding: 4px 12px;
    border-radius: 40px;
}

#math-index-root .m-categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#math-index-root .m-card {
    background: white;
    border-radius: 28px;
    width: 100%;
    max-width: 400px;    /* la?ime moderata, mai mare dect original (380px) dar nu exagerat */
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(0,32,48,0.12);
    border: 1px solid rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

#math-index-root .m-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 36px -12px rgba(0,32,48,0.2);
}

#math-index-root .m-card-header {
        padding: 24px 24px 12px 24px;
        border-bottom: 2px solid #e7edf0;
}

#math-index-root .m-card-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e4b6e;
    margin: 0;
}

#math-index-root .m-badge {
    font-size: 13px;
    background: #eef3fc;
    color: #2c7a4d;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
}

#math-index-root .m-card-desc {
    padding: 16px 24px;
    color: #4b6f7c;
    font-size: 15px;
    line-height: 1.4;
    border-bottom: 1px solid #f1f5f9;
}

#math-index-root .m-links-list {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#math-index-root .m-exercise-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 20px;
    text-decoration: none;
    color: #1a4d64;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #e2edf2;
    transition: all 0.2s;
}

#math-index-root .m-exercise-link:hover {
    background: #eff6ff;
    transform: translateX(5px);
    color: #2c7a4d;
}

#math-index-root footer {
    margin-top: 64px;
    text-align: center;
    padding: 32px;
    border-top: 1px solid #dce5ea;
    color: #5a7e8c;
    font-size: 14px;
}

@media (max-width: 768px) {
    #math-index-root .m-card {
    max-width: 100%;
}

#math-index-root .m-hero h1 {
    font-size: 32px;
}

#math-index-root .m-search-box {
    max-width: 90%;
}
}