/*------------------------------------
	Theme: Haddock
	Version: 4
------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Lato|Lustria|Pacifico&display=swap');


/*------------------------------------
	1. GENERAL
------------------------------------*/ 

body,
input,
button,
select,
textarea,
label,
.dropdown-menu,
.form-control,
.btn {
	font-family: 'Lato', sans-serif;
	color: #444;
	font-size: 18px;
}
body {
	background-color: #F9F9F9;
}
p.cat a {
	color: #999;
}
legend {
	display: none;	
}
h1,
h2,
h3,
h4,
h5,
h6,
.related a {
	font-family: 'Lustria', serif;
}
h1{
	font-size: 24px;
	text-align: center;
	margin-bottom: 40px;
	margin-top: 0;
}
h2{
	font-size: 20px;
}
h1,
h2,
h3,
h4 {
	letter-spacing: 2px;
	line-height: 1.2em;
}

p {
	line-height: 28px;
}
a {
	color: #444;
}

p.cat a,
.related a,
.widget a {
	-o-transition: color .4s ease-out, background 1s ease-in;
	-ms-transition: color .4s ease-out, background 1s ease-in;
	-moz-transition: color .4s ease-out, background 1s ease-in;
	-webkit-transition: color .4s ease-out, background 1s ease-in;
	transition: color .4s ease-out, background 1s ease-in;
}
.container-mainbody p.cat,
.content-box p.cat{
    position: relative;
    text-align: center;
    display: block;
    margin-bottom: 16px;
    font-size: 18px;
	line-height: 27px;
}
.container-mainbody p.cat:before,
.content-box p.cat:before {
    z-index: 1;
    display: inline-block;
    width: 32px;
    height: 2px;
    border-top: 2px solid;
    content: "";
    margin-right: 8px;
    vertical-align: middle;
    border-color: #F4C4AE;
}

.container-mainbody p.cat:after,
.content-box p.cat:after {
    z-index: 1;
    display: inline-block;
    width: 32px;
    height: 2px;
    border-top: 2px solid;
    content: "";
    margin-left: 8px;
    vertical-align: middle;
    border-color: #F4C4AE;    
}
p.cat a{
	color: #333;
}
a:hover,
.content-main p a,
.related a:hover,
.related .card p a:hover {
	color: #A0CBD2;
}
a:hover {
	text-decoration: none;	
}
.btn {
    background-color: #A0CBD2;
    text-transform: uppercase;
    font-size: 18.3px;
    line-height: 1.1;
    letter-spacing: 0.4px;
    padding: 12px 24px;
    margin: 15px 0;
}
a.btn,
a.btn:hover {
    color: #fff;
}
.btn:hover {
	background-color: #303030;
}
.btn span {
	display: none;
}
.card {
	border: 0;
	padding: 0;
	-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
    position: relative
}
.container-mainbody .card .card-image a:after {
    content: '';
    border-top: 2px dotted #ffffff;
    width: 100%;
    float: left;
    margin-bottom: 0;
    position: absolute;
    margin-top: -2px;
}
.card-title {
	font-size: 24px;
	text-align: center;
	line-height: 30px;
}
.sidebar {
	background-color: #fff;
	margin-bottom:60px;
	padding: 10px;
	border-radius: 5px;
	-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);		
}
.sidebar h4 {
	margin-bottom: 10px;
	color:#222;
	font-size: 22px;
	margin-top: 0;
	text-align: center;
	margin-top: 15px;
	padding-bottom: 8px;
}
.related h4 {
	padding-top: 18px;
}
.related h4:after,
.sidebar h4:after {
    content: " ";
    border-bottom: 2px solid;
    padding-top: 8px;
    width: 32px;
    position: relative;
    margin: auto;
    clear: both;
    display: block;
    color: #A0CBD2;
}

/*------------------------------------
	HEADER
------------------------------------*/
.bg-light {
	background-color: #fff !important;
	border-bottom: 1px solid #e7e7e7;	
}
.navbar-brand {
	font-family: 'Pacifico', cursive;
}
.navbar-brand,
.navbar-brand:hover {
	color: #333;	
}
.navbar-nav {
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 1px;
}
.navbar-nav li a{
	color: #777 !important;
}
.navbar-nav li a:hover{
	color: #333 !important;
}
.dropdown-menu{
	border:none;
}
a.nav-link:hover {

}
a.dropdown-item:hover {
	color: #fff;
	background-color: #f4c4ae;
}
.navbar-light .navbar-toggler {
	border-color: transparent;	
}
.dropdown-item {
	margin-top: 6px;
	font-size: 16px;
}
a.dropdown-item:hover{
	background-color: #f4c4ae;
}

/*------------------------------------
	INDEX
------------------------------------*/
.intro-text {
	margin-top: 50px;
	margin-bottom: 50px;
}
.title-index{
	display: none;
}
.related {
	margin-bottom: 50px;
}
.content-box,
.related .container {
	padding: 0 20px 25px 20px; 
	background-color: #fff;
	border-radius: 5px;
	-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);	
}
.related h4 {
	color: #333;
	text-align: center;
	margin-bottom: 20px !important;
	margin-top: 5px !important;
	font-size: 20px;
}
.sidebar .card,
.related .card {
	background-color: transparent;
	margin-bottom: 0 !important;
	border: 0;
	-webkit-box-shadow: none;
    box-shadow: none;	
}
.related .card p {
	text-align: center;
	margin-bottom: 0px;
}

.related .card p a {
	color: #333;
	font-size: 18px;
	font-weight: 400;
}
.related .card img {
	display: none;
}
.related .card-text {
	display: block;

}
.related .card-body  {
	padding: 0 !important;
}
.widget-container{
	margin-bottom: 14px;
}

/*------------------------------------
	DYNPAGE
------------------------------------*/
.content-box {
	margin-bottom: 50px;
	padding-top: 25px;
}
.sidebar .card{
	margin-bottom: 30px !important;
}
.sidebar .card-title {
	text-align: left;
	font-size: 18px;
	line-height: 24px;
	margin-top: 12px;
	margin-bottom: 8px;
}
.sidebar .card-body {
	padding: 0 !important;
}
.sidebar .widget li {
	padding: 13px 0;
	border-bottom: 1px solid #eee;
	text-align: center;
}
.content-box h1 {
	font-size: 24px;
	margin-bottom: 20px !important;
	margin-top: 25px;
}

.content-main p a {
	text-decoration: underline !important;
	color: #444  !important;
}
.content-main h1{
	font-size: 30px;
}
.content-main h2{
	font-size: 24px;
	margin-top: 1.5em;
}
.content-main h3{
	font-size: 20px;
	margin-top: 1.3em;
}
/*------------------------------------
	FOOTER
------------------------------------*/
.footer {
	background-color: #eee;
	font-size: 16px;
	text-align: center;
	padding-top: 20px;
}



@media (min-width: 992px) {
	.navbar{
		align-items:flex-start!important;
		flex-direction: column!important;
		display: flex!important;
	}
	.navbar-brand,
	.navbar-collapse {
		margin: 0 auto;
	}
	.navbar-nav .dropdown-menu{
		border:1px solid #e7e7e7;
	}
	.navbar-light .navbar-brand{
		font-size: 50px;
	}
	.container-title-index{
		height: 50px;
	}
	.content-box .cat {
		text-align: center;
	}
	.content-box h1 {
		font-size: 26px;
		margin-top: 35px;
	}
	.internal-link-container {
		flex-direction: row!important;
		display: flex!important;
	}
	.sidebar .card-image,
	.sidebar .card-body {
		width: 50%;
	}
	.sidebar .card-title {
		margin-top: 0;
		font-size: 14px;
		line-height: 20px;
		text-align: center;
	}	
	.sidebar .card-body {
		margin-left: 16px;
	}
	.sidebar .cat {
		font-size: 13px;
	}		
	.related .card {
		margin-bottom: 22px !important;
	}
	.related .card img {
		display: block;
	}
	.related .card p a{
		font-size: 16px;		
	}
	.related .card p {
		line-height: 20px;
		margin-top: 6px;
	}
	.sidebar .widget li {
		text-align: left;
		font-size: 14px;
	}
	.sidebar .internal-link-container .card-title{
		text-align: left;
	}

	

}
