/**
* Template Name: Moderna - v2.1.0
* Template URL: https://bootstrapmade.com/free-bootstrap-template-corporate-moderna/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

:root {
    --color-blue: #4B6978!important;
    --color-yellow: #F8DC17!important;
    --color-light-green: #5F997F!important;
    --color-black: rgb(7, 7, 7)!important;
    --color-white: white !important;
    --color-red: #5F997F!important;
    --color-grey:  #F8F9F9 !important;
}


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
	font-family: "Arial", sans-serif;
	color: #444;
  }
  
  
  a:hover {
	color: #6ca4c2;
	text-decoration: none;
  }
  
  h1, h2, h3, h4, h5, h6, .font-primary {
	font-family: "Arial", sans-serif;
  }
  
  /*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
	position: fixed;
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 3px;
	right: 15px;
	bottom: 15px;
	background: #68A4C4;
	color: #fff;
	transition: display 0.5s ease-in-out;
	z-index: 99999;
  }
  
  .back-to-top i {
	font-size: 24px;
	position: absolute;
	top: 8px;
	left: 8px;
  }
  
  .back-to-top:hover {
	color: #fff;
	background: #85b6cf;
	transition: background 0.2s ease-in-out;
  }
  

 /*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.navbar, .navbar * {
	margin: 0;
	padding: 0;
	list-style: none;
  }
  
  .navbar > ul > li {
	position: relative;
	white-space: nowrap;
	float: left;
  }
  
  .navbar a {
	display: block;
	position: relative;
	color: #fff;
	padding: 10px 15px;
	transition: 0.3s;
	font-size: 14px;
	font-family: "Arial", sans-serif;
  }
  
  .navbar a:hover, .navbar .active > a, .navbar li:hover > a {
	color: #a2cce3;
	text-decoration: none;
  }
  
  .navbar .drop-down ul {
	display: block;
	position: absolute;
	left: 0;
	top: calc(100% - 30px);
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	padding: 10px 0;
	background: #fff;
	box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
	transition: ease all 0.3s;
  }
  
  .navbar .drop-down:hover > ul {
	opacity: 1;
	top: 100%;
	visibility: visible;
  }
  
  .navbar .drop-down li {
	min-width: 180px;
	position: relative;
  }
  
  .navbar .drop-down ul a {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	color: #1c3745;
  }
  
  .navbar .drop-down ul a:hover, .navbar .drop-down ul .active > a, .navbar .drop-down ul li:hover > a {
	color: #68A4C4;
  }
  
  .navbar .drop-down > a:after {
	content: "\ea99";
	font-family: IcoFont;
	padding-left: 5px;
  }
  
  .navbar .drop-down .drop-down ul {
	top: 0;
	left: calc(100% - 30px);
  }
  
  .navbar .drop-down .drop-down:hover > ul {
	opacity: 1;
	top: 0;
	left: 100%;
  }
  
  .navbar .drop-down .drop-down > a {
	padding-right: 35px;
  }
  
  .navbar .drop-down .drop-down > a:after {
	content: "\eaa0";
	font-family: IcoFont;
	position: absolute;
	right: 15px;
  }
  
  @media (max-width: 1366px) {
	.navbar .drop-down .drop-down ul {
	  left: -90%;
	}
	.navbar .drop-down .drop-down:hover > ul {
	  left: -100%;
	}
	.navbar .drop-down .drop-down > a:after {
	  content: "\ea9d";
	}
  }
  
  /* Mobile Navigation */
  .mobile-nav {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 9999;
	overflow-y: auto;
	left: -260px;
	width: 260px;
	padding-top: 18px;
	background: #1e4356e5;
	transition: 0.4s;
  }
  
  .mobile-nav * {
	margin: 0;
	padding: 0;
	list-style: none;
  }
  
  .mobile-nav a {
	display: block;
	position: relative;
	color: #ddecf5;
	padding: 10px 20px;
	font-weight: 500;
  }
  
  .mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
	color: #a2cce3;
	text-decoration: none;
  }
  
  .mobile-nav .drop-down > a:after {
	content: "\ea99";
	font-family: IcoFont;
	padding-left: 10px;
	position: absolute;
	right: 15px;
  }
  
  .mobile-nav .active.drop-down > a:after {
	content: "\eaa0";
  }
  
  .mobile-nav .drop-down > a {
	padding-right: 35px;
  }
  
  .mobile-nav .drop-down ul {
	display: none;
	overflow: hidden;
  }
  
  .mobile-nav .drop-down li {
	padding-left: 20px;
  }
  
  .mobile-nav-toggle {
	position: fixed;
	right: 15px;
	top: 15px;
	z-index: 9998;
	border: 0;
	background: none;
	font-size: 24px;
	transition: all 0.4s;
	outline: none !important;
	line-height: 1;
	cursor: pointer;
	text-align: right;
  }
  
  .mobile-nav-toggle i {
	color: #fff;
  }
  
  .mobile-nav-overly {
	width: 100%;
	height: 100%;
	z-index: 9997;
	top: 0;
	left: 0;
	position: fixed;
	background: rgba(30, 67, 86, 0.9);
	overflow: hidden;
	display: none;
  }
  
  .mobile-nav-active {
	overflow: hidden;
  }
  
  .mobile-nav-active .mobile-nav {
	left: 0;
  }
  
  .mobile-nav-active .mobile-nav-toggle i {
	color: #fff;
  }

  /*--------------------------------------------------------------
  # Header
  --------------------------------------------------------------*/
  #header {
	height: 80px;
	transition: all 0.5s;
	z-index: 997;
	transition: all 0.5s;
	padding: 20px 0;
	background: #1e4356;
  }
  
  #header.header-transparent {
	background: none;
  }
  
  #header.header-scrolled {
	background: rgba(30, 67, 86, 0.8);
	height: 60px;
	padding: 10px 0;
  }
  
  #header .logo h1 {
	font-size: 28px;
	margin: 0;
	padding: 4px 0;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
  }
  
  #header .logo h1 a, #header .logo h1 a:hover {
	color: #fff;
	text-decoration: none;
  }
  
  #header .logo img {
	padding: 0;
	margin: 0;
	max-height: 40px;
  }
  
  #main {
	margin-top: 80px;
  }

  #main .contact {
	margin-top: 10px;
  }
  

  #pref_rules {
	width: 100%;
	height: 40vh;
	overflow: hidden;
	position: relative;
  }
  
  #pref_rules::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 95%;
	background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(30, 67, 86, 0.6)), url("../images/background.jpg") center top no-repeat;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) rotate(0deg);
  }
  
  #pref_rules::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 96%;
	background: #68A4C4;
	opacity: 0.3;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) translateY(18px) rotate(2deg);
  }


  #contact_view {
	width: 100%;
	height: 60vh;
	overflow: hidden;
	position: relative;
  }
  
  #contact_view::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 95%;
	background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(30, 67, 86, 0.6)), url("../images/background.jpg") center top no-repeat;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) rotate(0deg);
  }
  
  #contact_view::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 96%;
	background: #68A4C4;
	opacity: 0.3;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) translateY(18px) rotate(2deg);
  }

 .container.contacts {
	 text-align: center;
 } 

/*--------------------------------------------------------------
  # Homepage Section
  --------------------------------------------------------------*/
  #home_page {
	width: 100%;
	height: 90vh;
	overflow: hidden;
	position: relative;
  }
  
  #home_page::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 95%;
	background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(30, 67, 86, 0.6)), url("../images/background.jpg") center top no-repeat;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) rotate(0deg);
  }
  
  #home_page::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 96%;
	background: #68A4C4;
	opacity: 0.3;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) translateY(18px) rotate(2deg);
  }
  
  #home_page .carousel-container,  #news_view .carousel-container, #pref_rules .carousel-container, #contact_view .carousel-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
  }
  
  #home_page h1,  #news_view h1, #pref_rules h1, #contact_view h1 {
	color: #fff;
	margin-bottom: 30px;
	font-size: 48px;
	font-weight: 700;
  }
  
  #home_page p ,  #news_view p, #pref_rules p, #contact_view p{
	width: 80%;
	-webkit-animation-delay: 0.4s;
	animation-delay: 0.4s;
	margin: 0 auto 30px auto;
	color: #fff;
  }
  
  #home_page .carousel-control-prev, #home_page .carousel-control-next {
	width: 10%;
  }
  
  #home_page .carousel-control-next-icon, #home_page .carousel-control-prev-icon {
	background: none;
	font-size: 48px;
	line-height: 1;
	width: auto;
	height: auto;
  }
  
  #home_page .btn-get-started {
	font-family: "Arial", sans-serif;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 12px 32px;
	border-radius: 50px;
	transition: 0.5s;
	line-height: 1;
	margin: 10px;
	color: #fff;
	-webkit-animation-delay: 0.8s;
	animation-delay: 0.8s;
	border: 2px solid #68A4C4;
  }
  
  #home_page .btn-get-started:hover {
	background: #68A4C4;
	color: #fff;
	text-decoration: none;
  }
  
  @media (min-width: 1024px) {
	#home_page p {
	  width: 60%;
	}
	#home_page .carousel-control-prev, #home_page .carousel-control-next {
	  width: 5%;
	}
  }
  
  @media (max-width: 768px) {
	#home_page::after {
	  width: 180%;
	  height: 95%;
	  border-radius: 0 0 50% 50%;
	  transform: translateX(-50%) rotate(0deg);
	}
	#home_page::before {
	  top: 0;
	  width: 180%;
	  height: 94%;
	  border-radius: 0 0 50% 50%;
	  transform: translateX(-50%) translateY(20px) rotate(4deg);
	}
  }
  
  @media (max-width: 575px) {
	#home_page h2 {
	  font-size: 30px;
	}
	#home_page::after {
	  left: 40%;
	  top: 0;
	  width: 200%;
	  height: 95%;
	  border-radius: 0 0 50% 50%;
	  transform: translateX(-50%) rotate(0deg);
	}
	#home_page::before {
	  left: 50%;
	  top: 0;
	  width: 200%;
	  height: 94%;
	  border-radius: 0 0 50% 50%;
	  transform: translateX(-50%) translateY(20px) rotate(4deg);
	}
  }

  
  /*--------------------------------------------------------------
  # Homepage No Slider Section
  --------------------------------------------------------------*/
  #home_page-no-slider {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
	text-align: center;
  }
  
  #home_page-no-slider::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(30, 67, 86, 0.6)), url("../images/background.jpg") center top no-repeat;
  }
  
  #home_page-no-slider h2 {
	color: #fff;
	margin-bottom: 15px;
	font-size: 48px;
	font-weight: 700;
  }
  
  #home_page-no-slider p {
	color: #fff;
  }
  
  #home_page-no-slider .btn-get-started {
	font-family: "Arial", sans-serif;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 12px 32px;
	border-radius: 50px;
	transition: 0.5s;
	line-height: 1;
	margin: 10px;
	color: #fff;
	-webkit-animation-delay: 0.8s;
	animation-delay: 0.8s;
	border: 2px solid #68A4C4;
  }
  
  #home_page-no-slider .btn-get-started:hover {
	background: #68A4C4;
	color: #fff;
	text-decoration: none;
  }
  
  @media (max-width: 575px) {
	#home_page-no-slider h2 {
	  font-size: 30px;
	}
  }
  
  
  /*--------------------------------------------------------------
  # Sections General
  --------------------------------------------------------------*/
  section {
	padding: 60px 0;
  }
  
  .section-bg {
	background-color: #f3f8fa;
  }
  
  .section-title {
	text-align: center;
	padding-bottom: 30px;
	margin-top: 40px;
  }
  
  .section-title h2 {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: 20px;
	padding-bottom: 20px;
	position: relative;
  }
  
  .section-title h2::before {
	content: '';
	position: absolute;
	display: block;
	width: 120px;
	height: 1px;
	background: #ddd;
	bottom: 1px;
	left: calc(50% - 60px);
  }
  
  .section-title h2::after {
	content: '';
	position: absolute;
	display: block;
	width: 40px;
	height: 3px;
	background: #68A4C4;
	bottom: 0;
	left: calc(50% - 20px);
  }
  
  .section-title p {
	margin-bottom: 0;
  }
  
  /*--------------------------------------------------------------
  # Breadcrumbs
  --------------------------------------------------------------*/
  .breadcrumbs {
	padding: 15px 0;
	background-color: #f3f8fa;
	min-height: 40px;
  }
  
  .breadcrumbs h2 {
	font-size: 28px;
	font-weight: 300;
  }
  
  .breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  .breadcrumbs ol li + li {
	padding-left: 10px;
  }
  
  .breadcrumbs ol li + li::before {
	display: inline-block;
	padding-right: 10px;
	color: #6c757d;
	content: "/";
  }
  
  @media (max-width: 768px) {
	.breadcrumbs .d-flex {
	  display: block !important;
	}
	.breadcrumbs ol {
	  display: block;
	}
	.breadcrumbs ol li {
	  display: inline-block;
	}
  }
  

  
  /*--------------------------------------------------------------
  # Features
  --------------------------------------------------------------*/
.img {
	margin-bottom: 30px;

}

  .features .row + .row {
	margin-top: 0px;
  }

  .features .row + .row.progress {
	margin-top: 100px;
  }
  
  .features h3 {
	font-weight: 400;
	font-size: 24px;
  }
  
  .features ul {
	list-style: none;
	padding: 0;
  }
  
  .features ul li {
	padding-bottom: 10px;
  }
  
  .features ul i {
	font-size: 20px;
	padding-right: 4px;
	color: #68A4C4;
  }
  
  .features p:last-child {
	margin-bottom: 0;
  }
  
  /*--------------------------------------------------------------
  # About
  --------------------------------------------------------------*/
  .about h3 {
	font-weight: 400;
	font-size: 26px;
  }
  
  .about ul {
	list-style: none;
	padding: 0;
  }
  
  .about ul li {
	padding-bottom: 10px;
  }
  
  .about ul i {
	font-size: 20px;
	padding-right: 4px;
	color: #68A4C4;
  }
  
  .about p:last-child {
	margin-bottom: 0;
  }
  
  /*--------------------------------------------------------------
  # Facts
  --------------------------------------------------------------*/
  .facts .counters span {
	font-size: 48px;
	display: block;
	color: #68A4C4;
  }
  
  .facts .counters p {
	padding: 0;
	margin: 0 0 20px 0;
	font-family: "Arial", sans-serif;
	font-size: 14px;
  }
  
  /*--------------------------------------------------------------
  # Our Skills
  --------------------------------------------------------------*/
  .skills {
	padding: 60px 0;
  }
  
  .skills .progress {
	height: 35px;
	margin-bottom: 10px;
  }
  
  .skills .progress .skill {
	line-height: 35px;
	padding: 0;
	margin: 0 0 0 20px;
	text-transform: uppercase;
  }
  
  .skills .progress .skill .val {
	float: right;
	font-style: normal;
	margin: 0 20px 0 0;
  }
  
  .skills .progress-bar {
	width: 1px;
	text-align: left;
	transition: .9s;
  }
  
  /*--------------------------------------------------------------
  # Tetstimonials
  --------------------------------------------------------------*/
  .testimonials {
	padding: 60px 0;
  }
  
  .testimonials .section-header {
	margin-bottom: 40px;
  }
  
  .testimonials .testimonial-item {
	text-align: center;
  }
  
  .testimonials .testimonial-item .testimonial-img {
	width: 120px;
	border-radius: 50%;
	border: 4px solid #fff;
	margin: 0 auto;
  }
  
  .testimonials .testimonial-item h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 10px 0 5px 0;
	color: #111;
  }
  
  .testimonials .testimonial-item h4 {
	font-size: 14px;
	color: #999;
	margin: 0 0 15px 0;
  }
  
  .testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
	color: #fbfcfd;
	font-size: 26px;
  }
  
  .testimonials .testimonial-item .quote-icon-left {
	display: inline-block;
	left: -5px;
	position: relative;
  }
  
  .testimonials .testimonial-item .quote-icon-right {
	display: inline-block;
	right: -5px;
	position: relative;
	top: 10px;
  }
  
  .testimonials .testimonial-item p {
	font-style: italic;
	margin: 0 auto 15px auto;
  }
  
  .testimonials .owl-nav, .testimonials .owl-dots {
	margin-top: 5px;
	text-align: center;
  }
  
  .testimonials .owl-dot {
	display: inline-block;
	margin: 0 5px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #ddd !important;
  }
  
  .testimonials .owl-dot.active {
	background-color: #68A4C4 !important;
  }
  
  @media (min-width: 992px) {
	.testimonials .testimonial-item p {
	  width: 80%;
	}
  }
  
  
  
  /*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/
  #footer {
	background: #0b212d;
	padding: 0 0 30px 0;
	color: #fff;
	font-size: 14px;
  }
  
  #footer .footer-top {
	background: #0d2735;
	border-top: 1px solid #17455e;
	border-bottom: 1px solid #123649;
	padding: 60px 0 30px 0;
  }
  
  #footer .footer-top .footer-info {
	margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-info h3 {
	font-size: 18px;
	margin: 0 0 20px 0;
	padding: 2px 0 2px 0;
	line-height: 1;
	color: #a2cce3;
	font-weight: 600;
  }
  
  #footer .footer-top .footer-info p {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 0;
	font-family: "Arial", sans-serif;
	color: #fff;
  }
  
  #footer .footer-top .social-links a {
	font-size: 18px;
	display: inline-block;
	background: #1e4356;
	color: #fff;
	line-height: 1;
	padding: 8px 0;
	margin-right: 4px;
	border-radius: 50%;
	text-align: center;
	width: 36px;
	height: 36px;
	transition: 0.3s;
  }
  
  #footer .footer-top .social-links a:hover {
	background: #68A4C4;
	color: #fff;
	text-decoration: none;
  }
  
  #footer .footer-top h4 {
	font-size: 18px;
	font-weight: 600;
	color: #a2cce3;
	position: relative;
	padding-bottom: 12px;
  }
  
  #footer .footer-top .footer-links {
	margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
	padding-right: 2px;
	color: #a2cce3;
	font-size: 18px;
	line-height: 1;
  }
  
  #footer .footer-top .footer-links ul li {
	padding: 10px 0;
	display: flex;
	align-items: center;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
	padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
	color: #fff;
	transition: 0.3s;
	display: inline-block;
	line-height: 1;
  }
  
  #footer .footer-top .footer-links ul a:hover {
	color: #a2cce3;
  }
  
  #footer .footer-top .footer-contact {
	margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-contact p {
	line-height: 26px;
  }
  
  #footer .copyright {
	text-align: center;
	padding-top: 30px;
  }
  
  #footer .credits {
	padding-top: 10px;
	text-align: center;
	font-size: 13px;
	color: #fff;
  }
  
  #footer .credits a {
	color: #a2cce3;
  }


  /* régi css: */


.navbar-light .navbar-nav .nav-item:hover .nav-link {
    color: white;
}

.nav-item{
	color: white;
}

.nav-item:hover {
	background-color: transparent;
}


.cookie-banner {
	background: #333;
	position: fixed;
	width: 100%;
	bottom: auto;
}

.cookie-banner .container{
	margin: 0 auto;
	width: 70%;
	color: #f0f0f0;
	padding: inherit;
	

}

.button {
    background: #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 15px;
    display: inline-block;
	padding: inherit;
	bottom: auto;


}

#calc_text_header {
	max-width: 80%;
}

#calc_text_header > .lead {
	font-size: 1.15rem;
}

#main_signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
  background-color: white;
  border: 2px solid #f3f3f3;
  border-radius: 5px;
}

#main_signin .checkbox {
  font-weight: 400;
}

#main_signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}

#main_signin .form-control:focus {
  z-index: 2;
}

#main_signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#main_signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#preference_calc_result .modal-dialog.modal-dialog-scrollable {
	height: 90%;
}

.list-group-item {
	user-select: none;
	background-color: #e9ecef;
	line-height: 0.2em;
	padding: .75rem 0.25rem;
  }
  
.list-group input[type="checkbox"] {
	display: none;
}

.list-group input[type="checkbox"] + .list-group-item {
	cursor: pointer;
}

/* Preference Zone styling - list of checkboxes */
.list-group input[type="checkbox"] + .list-group-item:before {
	content: "\2713";
	color: transparent;
	font-weight: bold;
	margin-right: 1em;
}

.list-group input[type="checkbox"]:checked + .list-group-item {
	background-color:  #3E647E;
	color: #FFF;
}

.list-group input[type="checkbox"]:checked + .list-group-item:before {
	color: inherit;
}

.list-group input[type="radio"] {
	display: none;
}

.list-group input[type="radio"] + .list-group-item {
	cursor: pointer;
}

.list-group input[type="radio"] + .list-group-item:before {
	content: "\2022";
	color: transparent;
	font-weight: bold;
	margin-right: 1em;
}

.list-group input[type="radio"]:checked + .list-group-item {
	background-color:  #45beff;
	color: #FFF;
}

.list-group input[type="radio"]:checked + .list-group-item:before {
	color: inherit;
}

.list-group {
	border:2px solid #ccc; height: 300px; overflow-y: scroll;
	background-color: white;
}

.invalid {
	border: 2px dashed red; 
}

#list_of_rules_container {
	display: none;
}

#list_of_rules {
	background-color: white;
}

#list_of_pref_rules {
	font-size: small;
}

#list_of_pref_rules > thead > tr {
	text-align: center;
}

.list_of_pref_rules_span {
	border: 0px !important;
}

.list_of_pref_rules_separator {
	background-color: #eeeeee;
	border: 0px !important;
}


.info-table {
	line-height: 0.7em;
}

.table thead th {
	font-weight: bold;
	vertical-align: top;
}

.div-pref-zone-info {
	border: 1px solid #ccced1;
	height: 29px;
	width: 29px;
	background-color: #e9ecef;
	border-bottom-right-radius: .25rem;
	border-bottom-left-radius: .25rem;
}

.td-pref-zone-info {
	width: 29px;
}

table {
	width: 100% !important;
}
.modal-tablehead {
	color: #FFF;
}

.info_pic {
    background-color: cadetblue;
    width: 26px;
    height: 26px;
    border-radius: 25px;
    text-align: center;
    color: white;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    cursor: pointer;
}



.dropdown-menu {
    min-width: auto;
	background: unset;
	background-color: #4B6978;
 
}
.dropdown-item {
	color: white;
	background-color: #4B6978;

}

.dropdown-item:hover {
    background-color:  #6ca4c2 !important;
    color:white !important;
}

.card {
	box-shadow: 0 5px 25px 0  #343a40;
	transition: 0.3s;
	width:100%;
  }
.card-header{
	background-color: #5B7C8F;
	color: white;
}
	
  .btn.btn-lg {
	font-size: .94rem;
	font-weight: 300;
	margin-right: 20px;
}

.btn-primary{
    background-color:#4B6978;
    color: white!important;
}
.btn.btn-gen{
	background-color: #4B6978;
	color: white;
}

.btn.btn-clear {
	background-color: grey;
	color: white;
}


.col-md-6.pt-4 {
	text-align: justify; 
	padding-right: 45px;
}

/*Preference Processing Card */

.card.pref-proc{
	height: 650px;
}

.card-header.pref-proc{
	text-align: center;
}

.card-header.pref-proc h3{
	margin-top: 8px;
}


/*Free Trade Card */

.card.free-trade{
	height: 650px;
}

.card-header.free-trade{
	text-align: center;
}


.card-header.free-trade h3 {
	margin-top: 8px;	
}


/* Rules of Origin card */

.card.rules_origin{
	height: 775px;
}

.card-header.rules_origin{
	text-align: center;
}

.card-header.rules_origin h3{
	margin-top: 8px;
}

/* Preerence calculation card */

.card.pref_calc{
	height: 775px;
}

.card-header.pref_calc{
	text-align: center;
}

.card-header.pref_calc h3 {
	margin-top: 8px;
}


.card.lang_def{
	height: 350px;
}


/* Vietnam modal */ 

.modal-header {
	background-color:  #4B6978;
}

.modal-header.main-modal {
	background-color: #D2E4ED;
}



.img-fluid.flag{
	width: 70px;
	height: 55px;
}

.heading{
	font-size: inherit;
	margin-top: 8px;

}

.row.vietnam {
	text-align: justify;
	margin-left: 20px;
	margin-right: 20px;	

}

.modal-body.main-body h4{
	font-size: 1rem;
}

.col-3.flags{
	margin-top: 15px;
}

.modal-footer{
	justify-content: center;
}


.modal-footer.flex-center h4{
	color: #0072fff0;
	font-size: 1rem;
	margin-bottom: 20px;
}

/* general tolerance modal*/

.modal-header.general_tol{
 color: white;
 font-weight: normal;
}

.modal-header.general_tol h4{
	text-align: center;
   }





   /*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/
.services {
	padding-bottom: 20px;
  }
  
  .services .icon-box {
	padding: 30px;
	position: relative;
	overflow: hidden;
	margin: 0  0 40px 0;
	box-shadow: 0 5px 25px 0  #343a40;
	transition: all 0.3s ease-in-out;
	text-align: center;
	border: 1px solid #fff;
  }
  
  .services .icon {
	margin: 0 auto 20px auto;
	padding-top: 17px;
	display: inline-block;
	text-align: center;
	border-radius: 50%;
	width: 72px;
	height: 72px;
  }
  
  .services .icon i {
	font-size: 36px;
	line-height: 1;
  }
  
  .services .title {
	font-weight: 700;
	margin-bottom: 15px;
	font-size: 18px;
  }
  
  .services .title a {
	color: #111;
  }
  
  .services .description {
	font-size: 15px;
	line-height: 28px;
	margin-bottom: 0;
	text-align: justify;
  }
  
  
  .services .icon-box-cyan .icon {
	background: #D2E4ED;
  }
  
  .services .icon-box-cyan .icon i {
	color: #3fcdc7;
  }
  
  .services .icon-box-cyan:hover {
	border-color: #3fcdc7;
  }
  
  .services ul{
	font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
    text-align: justify;
  }



  .img-fluid.training{
	display:block;
	margin:auto;
	height: 255px;
	width: 425px;
  }

  .btn.btn-info{
	background-color: #4B6978;
	border-color: #4B6978;
}

.ltvd_description{
	color: royalblue;
}


* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}


button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
button.learn-more, button.training-more {
  width: 12rem;
  height: auto;
  left: 0px;
  right: 0px;
  margin-top: 15px;
  margin-left: 25px;
}

button.learn-more .circle , button.training-more .circle {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #0A394D;
  border-radius: 1.625rem;
}
button.learn-more .circle .icon , button.training-more .circle .icon {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
button.learn-more .circle .icon.arrow, button.training-more .circle .icon.arrow {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
button.learn-more .button-text, button.training-more .button-text {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #0A394D;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
button:hover .circle {
  width: 100%;
}
button:hover .circle .icon.arrow {
  background: #fff;
  -webkit-transform: translate(1rem, 0);
          transform: translate(1rem, 0);
}
button:hover .button-text {
  color: #fff;
}

@supports (display: grid) {
  body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0.625rem;
    grid-template-areas: ". main main ." ". main main .";
  }

  #container {
    grid-area: main;
    align-self: center;
    justify-self: center;
  }
}

#training_container{
	position: absolute;
    bottom: 50px;
    left: 0px;
	right: 0px;
	margin-top: 15px;
}

.modal-title{
	color: white;
}

.portal_card{
	position: absolute;
    bottom: 50px;
    left: 0px;
	right: 0px;
	margin-top: 15px;
}

.icon-box.icon-box-cyan{
	position: relative;
}

.nav-link.dropdown-toggle{
	color: white;
}

.modal-tablehead{
	background-color: #D2E4ED;
	color: #444444;
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
	padding-bottom: 30px;
  }
  
  .contact .info-box {
	color: #444;
	text-align: center;
	box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
	padding: 20px 0 30px 0;
	margin-bottom: 30px;
  }
  
  .contact .info-box i {
	font-size: 32px;
	color: #68A4C4;
	border-radius: 50%;
	padding: 8px;
	border: 2px dotted #a2cce3;
  }
  
  .contact .info-box h3 {
	font-size: 20px;
	color: #666;
	font-weight: 700;
	margin: 10px 0;
  }
  
  .contact .info-box p {
	padding: 0;
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 0;
  }
  
  .contact .php-email-form {
	box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
	padding: 30px;
	margin-bottom: 30px;
  }
  
  .contact .php-email-form .validate {
	display: none;
	color: red;
	margin: 0 0 15px 0;
	font-weight: 400;
	font-size: 13px;
  }
  
  .contact .php-email-form .error-message {
	display: none;
	color: #fff;
	background: #ed3c0d;
	text-align: left;
	padding: 15px;
	font-weight: 600;
  }
  
  .contact .php-email-form .error-message br + br {
	margin-top: 25px;
  }
  
  .contact .php-email-form .sent-message {
	display: none;
	color: #fff;
	background: #18d26e;
	text-align: center;
	padding: 15px;
	font-weight: 600;
  }
  
  .contact .php-email-form .loading {
	display: none;
	background: #fff;
	text-align: center;
	padding: 15px;
  }
  
  .contact .php-email-form .loading:before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: 0 10px -6px 0;
	border: 3px solid #18d26e;
	border-top-color: #eee;
	-webkit-animation: animate-loading 1s linear infinite;
	animation: animate-loading 1s linear infinite;
  }
  
  .contact .php-email-form input, .contact .php-email-form textarea {
	border-radius: 0;
	box-shadow: none;
	font-size: 14px;
  }
  
  .contact .php-email-form input::focus, .contact .php-email-form textarea::focus {
	background-color: #68A4C4;
  }
  
  .contact .php-email-form input {
	padding: 20px 15px;
  }
  
  .contact .php-email-form textarea {
	padding: 12px 15px;
  }
  
  .contact .php-email-form button[type="submit"] {
	background: #68A4C4;
	border: 0;
	padding: 10px 24px;
	color: #fff;
	transition: 0.4s;
  }
  
  .contact .php-email-form button[type="submit"]:hover {
	background: #8dbad2;
  }
  
  @-webkit-keyframes animate-loading {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
  
  @keyframes animate-loading {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
  
  /*--------------------------------------------------------------
  # Map
  --------------------------------------------------------------*/
  .map {
	padding: 0;
	margin-bottom: -6px;
  }
  
  .map iframe {
	width: 100%;
	height: 380px;
  }



.flag-icon.flag-icon-ua,
.flag-icon.flag-icon-it, 
.flag-icon.flag-icon-ru, 
.flag-icon.flag-icon-nl, 
.flag-icon.flag-icon-hu , 
.flag-icon.flag-icon-pl,
.flag-icon.flag-icon-ro,
.flag-icon.flag-icon-fi,
.flag-icon.flag-icon-gr{
	margin-left: 10px;
	margin-right: 5px;
}


.progress-bar-danger{
	color: red;
}

.progress-bar-success{
	background-color:green;
}

.progress-bar-info{
	background-color: blue;
}

.progress-bar-warning{
	background-color: orangered;
}

.progress-bar-danger{
	background-color: red;
}


.section-title blockquote {
	overflow: hidden;
	background-color: #fafafa;
	padding: 60px;
	position: relative;
	text-align: center;
	margin: 20px 0;
  }
  
  .section-title blockquote p {
	color: #444;
	line-height: 1.6;
	margin-bottom: 0;
	font-style: italic;
	font-weight: 500;
	font-size: 22px;
  }
  
  .section-title blockquote .quote-left {
	position: absolute;
	left: 20px;
	top: 20px;
	font-size: 36px;
	color: #32627b;
  }
  
  .section-title blockquote .quote-right {
	position: absolute;
	right: 20px;
	bottom: 20px;
	font-size: 36px;
	color: #32627b;
  }
  
  .section-title blockquote::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background-color: #32627b;
	margin-top: 20px;
	margin-bottom: 20px;
  }



  /*--------------------------------------------------------------
# Service Details
--------------------------------------------------------------*/
.service-details {
	padding-bottom: 10px;
  }
  
  .service-details .card {
	border: 0;
	padding: 0 30px;
	margin-bottom: 60px;
	position: relative;
  }
  
  .service-details .card-img {
	width: calc(100% + 60px);
	margin-left: -30px;
	overflow: hidden;
	z-index: 9;
	border-radius: 0;
  }
  
  .service-details .card-img img {
	max-width: 100%;
	transition: all 0.3s ease-in-out;
  }
  
  .service-details .card-body {
	z-index: 10;
	background: #fff;
	border-top: 4px solid #fff;
	padding: 30px;
	box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
	margin-top: -60px;
	transition: 0.3s;
  }
  
  .service-details .card-title {
	font-weight: 700;
	text-align: center;
	margin-bottom: 20px;
  }
  
  .service-details .card-title a {
	color: #1e4356;
	transition: 0.3s;
  }
  
  .service-details .card-text {
	color: #5e5e5e;
  }
  
  .service-details .read-more a {
	color: #777777;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 12px;
	transition: 0.3s;
  }
  
  .service-details .read-more a:hover {
	color: #68A4C4;
  }
  
  .service-details .card:hover img {
	transform: scale(1.1);
  }
  
  .service-details .card:hover .card-body {
	border-color: #68A4C4;
  }
  
  .service-details .card:hover .card-body .card-title a {
	color: #68A4C4;
  }
  
  #news_view {
	width: 100%;
	height: 40vh;
	overflow: hidden;
	position: relative;
  }
  
  #news_view::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 95%;
	background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(30, 67, 86, 0.6)), url("../images/background.jpg") center top no-repeat;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) rotate(0deg);
  }
  
  #news_view::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 130%;
	height: 96%;
	background: #68A4C4;
	opacity: 0.3;
	z-index: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%) translateY(18px) rotate(2deg);
  }


  .card-body.agreements {
	  text-align: justify;
  }



  .modal-footer .read-more a {
	color: #777777;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 12px;
	transition: 0.3s;
  }
  
  .modal-footer .read-more a:hover {
	color: #68A4C4;
  }


  #succes{
	color: #155724;
    background-color: #d4edda;
	border-color: #c3e6cb;
	margin-top: 10px;
	font-size: 1.1rem;

  }

  #denied{
	color: #721c24;
    background-color: #f8d7da;
	border-color: #f5c6cb;
	margin-top: 10px;
	font-size: 1.1rem;
  }

  #poll_button{
	  margin-top: 15px;
  }



  /*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .container {
	box-shadow: 0 5px 25px 0  #343a40;
	background: #fff;
	text-align: center;
  }
  
  .why-us .icon-box + .icon-box {
	margin-top: 50px;
  }
  
  .why-us .icon-box .icon {
	float: left;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	background: #f3f8fa;
	border-radius: 6px;
	transition: 0.5s;
  }
  
  .why-us .icon-box .icon i {
	color: #68A4C4;
	font-size: 32px;
  }
  
  .why-us .icon-box:hover .icon {
	background: #68A4C4;
  }
  
  .why-us .icon-box:hover .icon i {
	color: #fff;
  }
  
  .why-us .icon-box .title {
	margin-left: 95px;
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 18px;
	text-transform: uppercase;
  }
  
  .why-us .icon-box .title a {
	color: #343a40;
	transition: 0.3s;
  }

  .title.brexit a{
	color: #343a40;
	transition: 0.3s;
	margin-bottom: 15px;
  }
  
  .why-us .icon-box .title a:hover {
	color: #68A4C4;
  }
  
  .why-us .icon-box .description {
	margin-left: 95px;
	line-height: 24px;
	font-size: 14px;
	text-align: justify;
  }
  
  
  @-webkit-keyframes pulsate-btn {
	0% {
	  transform: scale(0.6, 0.6);
	  opacity: 1;
	}
	100% {
	  transform: scale(1, 1);
	  opacity: 0;
	}
  }
  
  @keyframes pulsate-btn {
	0% {
	  transform: scale(0.6, 0.6);
	  opacity: 1;
	}
	100% {
	  transform: scale(1, 1);
	  opacity: 0;
	}
  }

  .row.why-us{
	  align-items: center;
  }


  .contact.col-lg-6{
	  float: none;
	  margin: 0 auto;
	  
  }

  .col-md-6.brexit {
	  margin: auto;
	  text-align: left;
  }

.description {
	text-align: justify;
	padding-left: 15px;
    padding-right: 15px;
}

.row.brexit h4 {
	font-size: 1.8rem;
}

.container.brexit {
	text-align: center;
	box-shadow: 0 0px 0px 0;
	transition: 0.0s;
	width:100%;
}

.label.list-group-item{
	white-space: nowrap;
}

.row.more{
	height: 100px;
}

.btn.btn-danger.denie{
	margin-bottom: 15px;
}

.row.voting{
	margin-left: 0px;
}

a.button-text.training{
	padding-left: 10px;
}