/* === general styles === */

body {
  font-family: 'open_sansregular', Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
  width: 100%;
  height: 100%;
  color: #202020;
  background-color: white;
}

html {
  width: 100%;
  height: 100%;
  min-width: 360px;
}

h1,
h2,
h3,
h4,
h5,
h6, .title {
  font-family: 'open_sansbold', Arial, sans-serif;
  margin: 0 0 2rem;
  line-height: 1.4;
}
h2, h1, .title-1, .title-2 { font-size: 2.25rem; text-transform:uppercase; }
h3, .title-3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
h4, .title-4 { font-size: 1.25rem; margin-bottom: 1.25rem; }
h5, .title-5 { font-size: 1.125rem; margin-bottom: 1.125rem;}
h6, .title-6 { font-size: 1rem; text-transform:uppercase; margin-bottom: 1rem;}
.title-1 { font-size: 3rem; }
.text-upper { text-transform:uppercase; }
.text-normal { text-transform:none; }

ul, ol { padding-left: 19px; }

p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 25px;
}
/* a.link { text-decoration:none; } */

a, .btn {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	color: #00aeef;
}
.link-color-1 { color:#2e3192;}
.link-color-2 { color:#9c0000;}
.link-color-3 { color:#fff; }

.bg-light a { color:#2e3192; }
.bg-primary a { color:#fff; text-decoration: underline; }
.bg-dark a { color:#fff; text-decoration:underline; }

a:focus, a:hover {
  text-decoration: underline;
  color: #2e3192;
}
a img {
	transition: .3s ease-out;
	-moz-transition: .3s ease-out;
	-webkit-transition: .3s ease-out;
	-o-transition: .3s ease-out;
	display:block;
	-webkit-backface-visibility: hidden;
}
a:hover img { opacity: 0.6; }
.bg-dark a:hover { color:#fff; color: rgba(255,255,255,0.5); }
.bg-light a:hover { color:#2e3192; text-decoration:underline; }
.bg-primary a:hover { color:#fff; color: rgba(255,255,255,0.5); }

.trans-all {
	transition: .3s ease-out;
	-moz-transition: .3s ease-out;
	-webkit-transition: .3s ease-out;
	-o-transition: .3s ease-out;
}

.bg-light { background-color:#f2f2f2 !important; }
.bg-white { background-color:#fff; }
.bg-dark { background-color:#202020 !important; color:#fff; }
.bg-primary { background-color:#1b1464 !important; color:#fff; }
.bg-light-highlight { background: rgba(0,0,0,0.3); }
.bg-dark-highlight { background: rgba(255,255,255,0.3); }

.fz-default { font-size: 1rem; }
.fz-xs { font-size: 0.75rem; }
.fz-sm, .fz-sm a { font-size: 0.875rem; }
.fz-md { font-size: 1.25rem; }
.fz-lg { font-size: 1.5rem; }
.fz-xl { font-size: 2rem; }
.fa { min-width: 17px; text-align:center; }

.ff-light { font-family: 'open_sanslight', Arial, sans-serif; }
.ff-regular { font-family: 'open_sansregular', Arial, sans-serif; }
.ff-semibold { font-family: 'open_sanssemi_bold', Arial, sans-serif; }
.ff-bold { font-family: 'open_sansbold', Arial, sans-serif; }
.ff-exbold { font-family: 'open_sansextrabold', Arial, sans-serif; }

.list-group li {
	background: transparent;
	font-size: 1.125rem;
	text-align:left;
	padding: .5rem 1.25rem;
}
.list-group li span { padding-left: .4rem; }

.text-light, .text-light p, .text-light h2 {
	color:#fff;	
}
.text-dark, .text-dark p, .text-dark h2 {
	color:#202020;
}
.text-light-italic, .text-light-italic a { font-family: 'open_sanslight_italic', Arial, sans-serif; }


.border { border-width: 2px; }
.border-1 { border-width: 1px !important; }
.border-3 { border-width: 3px !important; }
.border-5 { border-width: 5px !important; }
.border-dark { border-color:#202020 !important; }
.border-white { border-color:#fff !important; }
.border-blue { border-color:#2e3192 !important; }
.h2-footer { font-family: 'open_sansitalic', Arial, sans-serif; font-size: 1.125rem; margin-top: -30px; }
.h4-footer { font-family: 'open_sanslight_italic', Arial, sans-serif; font-size: 1rem; }
/* ===== Buttons ====== */

.btn, a.btn {
	font-family: 'open_sanssemi_bold', Arial, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	border-radius: 0;
	border: 2px solid #fff;
	letter-spacing: 1px;
	padding: .3rem 2rem !important;
	font-size: 1.125rem;
	line-height: 2;
	text-decoration:none;
	color:#fff;
	background: #00aeef;
	border-color: #00aeef;
}
a.btn { text-decoration:none; }

.btn-light, a.btn-light {
	background-color: #fff;
	border-color: #fff;
	color: #202020;
}
.btn-dark, a.btn-dark {
	background-color: #202020;
	border-color: #202020;
	color: #fff;
}

.btn-primary, .masthead a.btn-primary, .masthead .brand-heading a.btn {
	color:#fff;
	background: #00aeef;
	border-color: #00aeef;
}
.btn-secondary, a.btn-secondary {
	background: #2e3192;
	color:#fff;
	border-color: #2e3192;
}
.btn-outline-light, a.btn-outline-light {
	background: transparent;
	color: #fff;
	border-color: #fff;
}
.btn-outline-dark, a.btn-outline-dark {
	background: transparent;
	color: #181818;
	border-color: #181818;
}
.btn-outline-primary, a.btn-outline-primary {
	background: transparent;
	color: #fff;
	border-color: #00aeef;
}
.btn-outline-secondary, a.btn-outline-secondary {
	background: transparent;
	color: #2e3192;
	border-color: #2e3192;
}
.btn-large, .masthead .brand-heading a.btn { font-size: 1.375rem; }
.btn-small { font-size: 1rem; letter-spacing: 0; text-transform: none;}

.btn-header {
	z-index: 999;
}
.btn:focus, .btn:hover { 
	color:#fff;
	background-color: transparent;
	border-color: #00aeef;
}
.btn-light:focus, .btn-light:hover,
a.btn-light:focus, a.btn-light:hover {
	color: #1b1464;
	border-color: #1b1464;
	background-color: transparent;
}
.btn-dark:focus, .btn-dark:hover,
a.btn-dark:focus, a.btn-dark:hover {
	color: #202020;
	border-color:#202020;
	background-color: transparent;
}
.btn-primary:focus, .btn-primary:hover,
a.btn-primary:focus, a.btn-primary:hover, 
.masthead .brand-heading a.btn:hover, .masthead .brand-heading a.btn:hover,
.masthead .brand-heading a.btn:focus, .masthead .brand-heading a.btn:focus {
	color: #fff;
	border-color:#00aeef;
	background-color: transparent;
}

.btn-secondary:focus, .btn-secondary:hover,
a.btn-secondary:focus, a.btn-secondary:hover {
	color: #2e3192;
	border-color:#2e3192;
	background-color: transparent;
}

.btn-outline-light:focus, .btn-outline-light:hover,
a.btn-outline-light:focus, a.btn-outline-light:hover {
	color: #2e3192;
	border-color:#fff;
	background-color: #fff;
}
.btn-outline-dark:focus, .btn-outline-dark:hover,
a.btn-outline-dark:focus, a.btn-outline-dark:hover {
	color: #fff;
	border-color:#181818;
	background-color: #181818;
}
.btn-outline-primary:focus, .btn-outline-primary:hover,
a.btn-outline-primary:focus, a.btn-outline-primary:hover {
	color: #fff;
	background-color: #00aeef;
	border-color: #00aeef;
}

.btn-outline-secondary:focus, .btn-outline-secondary:hover,
a.btn-outline-secondary:focus, a.btn-outline-secondary:hover {
	color: #fff !important;
	background-color: #2e3192;
	border-color: #2e3192;
}

/* ====== Navigation ===== */
#mainNav {
  font-family: 'open_sansbold', Arial, sans-serif;
  margin-bottom: 0;
  text-transform: uppercase;
  position:relative;
  background: transparent !important;
  margin-bottom: -54px;
  z-index: 999;
}

#mainNav .navbar-toggler {
  font-size: 0.875rem;
  padding: 11px;
  color: white;
  border: 1px solid white;
}

#mainNav .navbar-brand, .masthead-brand {
	width: 212px;
	padding: 0;
	position:absolute;
	top: 23px;
	right: 15px;
	z-index: 9; 
	padding: 12px;
	margin-right: 0;
	margin-top: -.5rem;
	background: #fff;
	-webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.6);
	-moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.6);
	box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.6);
}
#mainNav .navbar-brand img, 
.masthead-brand img {
	width: 100%;
	height: auto;
}
.masthead-brand { 
	display:none; 
	position:static;
}

#mainNav a {
  color: white;
}

#mainNav .navbar-nav .nav-item {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  margin-right: 10px;
}


#mainNav .navbar-nav .nav-item:hover, #mainNav .navbar-nav .nav-item.active {
  outline: none;
  background-color: transparent;
  border-color: #00aeef;
}

.nav-link { padding: .4rem .9rem !important; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    /* color: rgba(255,255,255,.7) !important; */
    color: #00aeef !important;
	text-decoration: none;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}
#mainNav .dropdown-menu {
	background: #685fcc !important;
	box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.6);
	border-radius: 0;
}
#mainNav .dropdown-item {
	font-size: 1rem;
	text-transform: uppercase;
	font-family: 'open_sansregular', Arial, sans-serif;
	font-size: 1rem;
	text-decoration: none;
}

.dropdown-item:focus, .dropdown-item:hover {
    /* color: #343a40!important; */
    /* background-color: #43dca4; */
	background: none;
	text-decoration: underline !important;
}

.nav-separator { width: 20px;}

/* ====== Header ======= */
.introhead {
	padding: 15px 0;
	background: #2e3192;
	color:#fff;
}
.introhead a { color:#fff; }
.introhead ul.list-inline { margin-bottom: 0; }
.introhead .input-group { justify-content: flex-end; flex-wrap: nowrap }
.introhead .form-control { border: none; font-size: .875rem; line-height: 1; padding: 0.20rem .75rem; }
.introhead .btn-search { border: none; font-size: 1.2rem; line-height: 1; padding: 0.2rem 0.4rem !important; background: #fff; }

.masthead:before {
	content:"";
	position:absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display:block;
	background: rgba(27,20,100,0.7);
	transition: .3s ease-in;
	-moz-transition: .3s ease-in;
	-webkit-transition: .3s ease-in;
	-o-transition: .3s ease-in;
	z-index: 0;
}
.masthead.on:before { 
	transition: .3s ease-out;
	-moz-transition: .3s ease-out;
	-webkit-transition: .3s ease-out;
	-o-transition: .3s ease-out;
	background: rgba(27,20,100,0.3); 
}
.masthead {
  display: block;
  width: 100%;
  height: 100vh;
  text-align: center;
  color: white;
  background: url("../img/header.jpg") no-repeat bottom center scroll;
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position:relative;
}

.masthead .brand-heading h2,
.masthead .brand-heading h1,
.masthead .brand-heading .title-big {
  font-size: 2.8rem;
  font-family: 'open_sansextrabold', Arial, sans-serif;	
  color:#fff;
  margin-bottom: 1rem;
  line-height: 1.4;
  padding-top: 20px;
  margin-top: 330px;
  margin-top: 45vh;
  letter-spacing: 4px;
  z-index: 999;
}
.masthead .brand-heading p,
.masthead .brand-heading .sub-title { 
	font-family: 'open_sansitalic', Arial, sans-serif; font-size: 1.125rem; margin-top: -30px;
	display:block; 
	font-size: 1.5rem; 
	letter-spacing: 1px;
	margin-top: 0;
}
.masthead .brand-heading h1 .sub-title {
	font-family: 'open_sansitalic', Arial, sans-serif; font-size: 1.125rem;
	display: block !important; 
	font-size: 1.5rem; 
	letter-spacing: 1px;
	margin-top: 1rem;
	padding-bottom: 0.56rem;
}
.masthead .brand-heading a,
.masthead .brand-heading .brand-btn { 
	color: #00aeef;
}
/* ===== Content ===== */
.content-section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.content-section p {
	font-size: 1rem;
}
.content-section img { width: auto; height: auto; max-width: 100%; }

.content-section .content h2:first-child { position:relative; display:inline-block;  text-align: center;
    margin: 0 81px; margin-bottom: 100px; }
.content-section .content h2:first-child:before,
.content-section .content h2:first-child:after {
	content:"";
	display:block;
	border-bottom: 1px solid #fff;
	display:block;
	width: 66px;
	height: 1px;
	position:absolute;
	bottom: 13px;
	left: -82px;
}
.content-section .content h2:first-child:after {
	left: auto;
	right: -82px;
}
.content-section.bg-light .content h2:first-child:before,
.content-section.bg-white .content h2:first-child:before,
.content-section.bg-light .content h2:first-child:after,
.content-section.bg-white .content h2:first-child:after {
	border-color:#202020;
}

.home.content-section .content h2:first-child { margin-bottom: 2.2rem;}

.custom-bullet-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.custom-bullet-list li {
	padding-left: 20px;
	background: url(../img/bullett_dark_sm.png) left center no-repeat;
	line-height: 2;
}
.image { display:block; width: 241px; height: 241px; overflow:hidden; }
.image img {
	display:block;
	height: auto;
}
.image-md { max-height: 359px; }
.image-sm { width: 255px; }
.main-img { right: 0; }
.image-overflow { overflow: hidden; max-width: 100%; }
.image-overflow img { margin-left: -22%;  }
.col-12 .image-overflow img { margin-left: 0;  }


#articole.content-section {
	background: transparent url(../img/uploads/sections/01.jpg) center center no-repeat;
	background-attachment:fixed;
	position:relative;
}
#articole.content-section:before {
	content:"";
	position:absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display:block;
	background: rgba(32,32,32,0.8);
	z-index: 0;
}
#articole .article-item {
	/* overflow: hidden; */
	/* padding-bottom: 99999px; margin-bottom: -99999px; */
}

.gmap {
  /* background: url(../img/gmap_preview.png) center center no-repeat; */
  height: 304px;
}

.fb .col-auto { line-height: 1.9; }
.fb a { display:block; width: 31px; height: 31px; background: transparent url(../img/fb.png) 0 0 no-repeat; background-size: 31px 31px; margin-left: 12px;}


/* ===== Forms ===== */
.form-control {
	border-color:#9db8d4;
}

ul.banner-social-buttons {
  margin-top: 0;
}

/* ===== Footer =====  */
footer {
	font-size: 0.875rem;
	padding: 50px 0;
	background-color:#0e0947;
}
/* footer li { background: url(../img/bullett_gold_vertical.png) right center no-repeat ; padding-right: 26px; } */
footer ul li:last-child { background: none; padding-right: 0px; }
footer li a { color:#605b93 !important; line-height: 2; text-transform:uppercase; }

footer p {
  font-size: 0.750rem;
  margin: 0;
}

/* ===== General ===== */

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.row.col-same-height {
	/* only -> display: flex; flex-wrap: wrap; <- needed */
	-ms-box-orient: horizontal;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-flex-flow: wrap;
	flex-flow: wrap;
	-webkit-align-items: stretch;
	align-items: stretch;
}
.row.col-same-height > [class*='col-'] {
	display: flex;
	flex-direction: column;
	flex-grow:1;
}

.flex-text { /* this is for wrapper element inside col- */
	flex-grow:1;
}

.hide-text {
	white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
}

/* ==== Media ==== */
@media (max-width: 1199px) {
	.btn, a.btn {
		white-space: nowrap;
		text-overflow: ellipsis;
		max-width: 100%;
		overflow: hidden;
	}
}

@media (min-width: 992px) {
	#mainNav .nav-link.active {
		outline: none;
		color: #00aeef !important;
		text-decoration:underline;
	}
	#mainNav .nav-link.active:hover {
		color: white;
	}
	.content-section {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	.border-lg-0 { border: 0 !important;}
}


@media (max-width: 990px){
	#mainNav { 
		margin-bottom: 0;
		background: #1b1464 !important;
		padding-bottom: 1.5rem;
		padding-top: 1.5rem;
	}
	#mainNav .navbar-brand { top: -1rem; }
	#mainNav .dropdown-menu {
		box-shadow: none;
	}
	
	.content-section .content {  }
	.content-section .content h2:first-child {
		
	}
	.content-section .content h2:first-child:before {
		display:none;
	}
	.content-section .content h2:first-child:after {
		left: 0;
		right: 0;
		bottom: -5px;
		margin: 0 auto;
	}
	.home.content-section .content h2:first-child { margin-bottom: 2.5rem;}
	
	.masthead .brand-heading h2,
	.masthead .brand-heading h1,
	.masthead .brand-heading .title-big {
		font-size: 2.5rem;
	}
	.content-section .content img.float-left { float:none !important; margin-left: auto !important; margin-right: auto !important; margin-bottom: 1rem; display:block; }
	.content-section .content img.float-right { float:none !important; margin-left: auto !important; margin-right: auto !important; margin-bottom: 1rem; display:block;}
}
@media (max-width: 768px){
	.masthead .brand-heading h2,
	.masthead .brand-heading h1,
	.masthead .brand-heading .title-big	{
		font-size: 2.2rem;
		margin-bottom: 2rem;
	}
	.masthead .brand-heading p, .masthead .brand-heading .sub-title { margin-bottom: 3rem; }
	.masthead .brand-heading h1 .sub-title { margin-bottom: 0; }
	
	.btn, a.btn {
		font-family: 'open_sansbold', Arial, sans-serif;
		letter-spacing: 0px;
		padding: .18rem 1.2rem !important;
		font-size: 1rem;
	}
}

@media (min-width: 576px) and (max-width: 992px){
	.masthead {
		height: 100%;
		padding: 0;
	}
}

@media (max-width: 576px) {
	.navbar-brand { display:none;}
	.masthead-brand { display: inline-block; } 
	.masthead .brand-heading h2, 
	.masthead .brand-heading h1, 
	.masthead .brand-heading .title-big { margin-top: 94px; margin-top: 15vh;  margin-bottom: 2rem; font-size: 2rem; }
	.masthead .brand-heading p, .masthead .brand-heading .sub-title { font-size: 1.4rem; margin-bottom: 3rem; }
	.masthead { height: auto; padding-bottom: 188px; padding-bottom: 20vh; }
}