@import 'https://fonts.googleapis.com/css?family=Exo:300,400,400i,500,500i,600,600i&subset=latin-ext';
@import 'https://fonts.googleapis.com/css?family=Playfair+Display+SC:400,700&subset=latin-ext';
@import 'https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i&subset=latin-ext';

::-webkit-input-placeholder {
	color: #4b5357;
	font-style: italic;
}

::-moz-placeholder {
	color: #4b5357;
	font-style: italic;

} /* firefox 19+ */

:-ms-input-placeholder {
	color: #4b5357;
	font-style: italic;
} /* ie */

input:-moz-placeholder {
	color: #4b5357;
	font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
	color: #27277f;
	font-family: 'Playfair Display SC', serif;
	font-weight: bold;
	margin-top: 0px;
    margin-bottom: 30px;
}

h4, h5, h6 {
	font-family: 'Exo', sans-serif;
	color: #2d3337;
}

body {
	font-family: 'Roboto', sans-serif;;
}

header {
	background-image: url(../img/header-bg.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

header .logo {
	margin: 25px 0;
}

header .header-title {
	font-size: 32px;
	color: #151560;
	padding-top: 80px;
	padding-left: 15px;
	font-family: 'Playfair Display SC', sans-serif;
	text-transform: uppercase;
}

header .menu {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 0px;
	margin-top: 98px;
}

header .menu li {
	display: inline-block;
	height: 18px;
}

header .menu li a {
	color: #151560;
	font-size: 18px;
	font-weight: 500;
	padding: 0 15px;
	position: relative;
	top: -3px;
	font-family: 'Exo', sans-serif;
}

header .menu li:not(:last-child) {
	border-right: solid 1px #151560;
}

header .social-menu {
	padding: 0;
	margin: 0;
	list-style: none;
	margin-top: 89px;
	width:80px;
}

header .social-menu li {
	display: inline-block;
}

header .social-menu li a {
	display: inline-block;
	height: 38px;
	width: 38px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

header .social-menu .facebook {
	background-image: url(../img/f.png);
}

header .mobile-header {
	display: none;
	position: absolute;
	top: 0;
	left: 50%;
	width: 320px;
	margin-left: -160px;
	z-index: 9999;
}

header .mobile-header > div {
	width: 50%;
	float: left;
}

header .mobile-header #menu-toggle {
	background-image: url(../img/menu-toggle.svg);
	width: 36px;
	height: 36px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	display: inline-block;
	margin: 10px;
}

.header-mobile-shape {
	display: none;
	height: 64px;
	background-image: url(../img/mobile-header-shape.png);
	background-size: cover;
	background-repeat: no-repeat;
	margin-top: -64px;
}

.content {
	padding-top: 50px;
	padding-bottom: 30px;
}

.content .left-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.content .left-sidebar .menu > li:not(:last-child) > a {
	border-bottom: solid 1px #e4e4e4;
}

.content .left-sidebar .menu > li > a:before {
	content: '';
	display: inline-block;
	background-image: url(../img/menu-list-icon.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	width: 12px;
	height: 12px;
	padding: 0 15px;
}

.content .left-sidebar .menu > li > a {
	display: block;
	color: #27277f;
	font-size: 18px;
	font-family: 'Exo', sans-serif;
	padding: 10px 0;
}

.content .left-sidebar .menu > li > ul > li > a {
	display: block;
	color: #27277f;
	font-size: 11pt;
	padding: 5px 30px;
	font-family: 'Exo', sans-serif;
}

.content .left-sidebar .menu .sub-menu {
	max-height: 0px;
    overflow: hidden;
    -webkit-transition: max-height .5s ease-out; /* Safari */
    transition: max-height .5s ease-out;
}

/*
.content .left-sidebar .menu > li:hover .sub-menu {
	max-height: 500px;
	-webkit-transition: max-height .5s ease-out;
    transition: max-height .5s ease-out;
}
*/
.content .left-sidebar .menu > li.current-menu-item > a {
	background-color: #f2d695;
}

.content .left-sidebar .menu li.current-menu-item > a {
	font-weight:bold;
}

.content .left-sidebar .menu > li.current-menu-item > a:before {
	background-image: url(../img/menu-list-icon-white.svg);
}

.content .left-sidebar .menu > li.current-menu-item > ul {
	background-color: #fcf6e8;
}

.content .left-sidebar .menu > li:hover > a {
	background-color: #f2d695;
	text-decoration: none;
}

.content .left-sidebar .menu > li:hover > a:before {
	background-image: url(../img/menu-list-icon-white.svg);
}

.content .left-sidebar .menu > li:hover > ul {
	background-color: #fcf6e8;
}

.content .left-sidebar ul ul ul {
	padding-left:50px;
}

.current-menu-item ul {
	max-height:1000px!important;
}

.content .left-sidebar #menu-mobile-close {
	display: none;
	position: fixed;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 9999;
	line-height: 60px;
	font-size: 20px;
	background-color: #27277f;
	text-align: right;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
}

.content .left-sidebar #menu-mobile-close:after {
	content: '';
	display: inline-block;
	width: 30px;
	height: 15px;
	background-image: url(../img/menu-close-icon.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.content .right-sidebar #searchbox {
	width: 100%;
	border: solid 1px #bb9a4d;
	padding: 7px;
	color: #4b5357;
	background: none;
}

.content .right-sidebar #searchbox-icon {
	display: block;
	width: 30px;
	height: 20px;
	background-image: url(../img/icon-search.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right;
	position: relative;
	float: right;
	margin-top: -28px;
	margin-right: 8px;
}

.content .right-sidebar #mennu-right-sidebar-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	margin: 15px 0;
}

.content .right-sidebar #menu-right-sidebar-menu li {
	display: block;
}

.content .right-sidebar #menu-right-sidebar-menu a {
	display: block;
	background-color: #cb2029;
	margin-bottom: 5px;
	padding: 10px;
	color: #fff;
	font-size: 10pt;
}

.content .right-sidebar #menu-right-sidebar-menu a:hover {
	text-decoration: none;
}

.content .right-sidebar #menu-right-sidebar-menu a:after {
	content: '';
	display: inline-block;
	background-image: url(../img/pagination-icon-white.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	width: 12px;
	height: 15px;
	float: right;
	position: relative;
	top: 2px;
}

.content .right-sidebar h3,
.content .right-sidebar h4 {
	margin: 15px 0;
}

.content .right-sidebar {
	color: #4c4c59;
}

.content .right-sidebar .survey {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: bold;
	font-size: 10pt;

}

.content .right-sidebar .survey input {
	margin-right: 15px;
	background-color: #fff;
	border: solid 1px #b6b6b6;
   	-webkit-appearance: none;
   	width: 15px;
   	height: 15px;
	border-radius: 100%;
	outline: none;
	cursor: pointer;
}

.content .right-sidebar .survey input[type="radio"]:checked {
	border: solid 5px #4296ff;
}

.content .right-sidebar #survey-send {
	display: block;
	width: 100%;
	background-color: #151560;
	border: none;
	padding: 5px;
	margin-top: 10px;
	color: #fff;
}

.content .right-sidebar .gallery {
	padding: 10px;
}

.content .right-sidebar .gallery > div {
	padding: 5px;
}

.content .right-sidebar .gallery img {
	width: 100%;
        height:100%;
}

.content .right-sidebar .calendar-nav {
	background-color: #fafcfb;
	margin-bottom: 15px;
}

.content .right-sidebar .calendar-nav > div {
	padding: 5px;
	font-weight: bold;
	font-size: 16px;
}

.content .right-sidebar .calendar-nav > div:first-child span,
.content .right-sidebar .calendar-nav > div:last-child span {
	display: inline-block;
	background-image: url(../img/calendar-nav.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 17px;
	width: 17px;
	cursor: pointer;
	position: relative;
	top: 2px;
}

.content .right-sidebar .calendar-nav > div:first-child span {
	-moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: fliph;
    filter: fliph;
}

.content .right-sidebar .calendar-weekdays th,
.content .right-sidebar .calendar-weekdays td {
	text-align: center;
	color: #000;
	padding: 5px;
}

.content .right-sidebar .calendar-weekdays th {
	font-weight: bold;
}

.content .right-sidebar .calendar-weekdays td.not-this-month {
	color: #c2c2c2;
}

.content .right-sidebar .calendar-weekdays td.current-day {
	background-color: #cb2029;
	border-radius: 3px;
	color: #fff;
}

footer {
	-webkit-box-shadow: 0px 0px 200px 0px rgba(0, 0, 0,0.3);
	-moz-box-shadow: 0px 0px 200px 0px rgba(0, 0, 0,0.3);
	box-shadow: 0px 0px 200px 0px rgba(0, 0, 0,0.3);
}

footer .footer-bottom {
	padding: 25px 0;
	font-size: 18px;
	background-color: #5e5e95;
	text-transform: uppercase;
	color: #FFF;
}

footer .footer-partners .partner {
	display: block;
	width: 20%;
	float: left;
	height: 180px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 80%;
}

footer .back-to-top {
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
	height: 64px;
	width: 64px;
	background: url(../img/btt.png);
}

@media (max-width: 991px) {
	
	h1, h2, h3, h4, h5, h6 {
		text-align: center;
	}
	
	header {
		background-image: url(../img/header-bg-mobile.png);
	}
	
	header .row > div {
		text-align: center;
	}
	
	header .header-title {
		display: none;
	}
	
	header .menu {
		margin-top: 5px;
		margin-bottom: 35px;
	}
	
	header .social-menu {
		margin: 10px;
	}
	
	header .mobile-header {
		display: block;
	}
	
	.content {
		padding-top: 15px;
	}
	
	.content .left-sidebar .menu {
		display: none;
                position: fixed;
                width: 100%;
                top: 60px;
                left: 0px;
                z-index: 100109;
                background-color: #fff;
	}
	
	.content .left-sidebar .menu > li > a:before {
		content: none;
	}
	
	.content .left-sidebar .menu > li > a {
		text-align: center;
		background-color: #fff;
	}
	
	.content .left-sidebar .menu > li > ul > li > a {
		text-align: center;
	}
	
	header .row:not(.mobile-header) .social-menu {
		display: none;
	}
	
	header .menu li a {
		font-size: 15px;
		top: -1px;
	}
	
	.header-mobile-shape {
		display: block;
	}
	
	.content .right-sidebar #menu-right-sidebar-menu a {
		text-align: center;
		font-size: 18px;
	}
	
	.content .right-sidebar #menu-right-sidebar-menu a:after {
		display: none;
	}
        
        .content .left-sidebar .menu .sub-menu {
            text-align: center;
            padding: 0;
        }
	
}

@media (max-width: 768px) {
	
	footer .footer-partners .partner {
		width: 33%;
		height: 150px;
	}
	
	.header-mobile-shape {
		height: 50px;
    	margin-top: -50px;
	}
		
}

@media (max-width: 480px) {
	
	footer .footer-partners .partner {
		width: 50%;
		height: 120px;
	}
	
	.header-mobile-shape {
		height: 32px;
    	margin-top: -32px;
	}
		
}

/*   */

.content .left-sidebar .menu .current-page-parent .sub-menu, .content .left-sidebar .menu .current-page-ancestor .sub-menu {
	max-height:none;
}

.rhcalendar.for-widget.flat-ui-cal .fc-header, .rhcalendar.for-widget.flat-ui-cal .fc-have-event .fc-day-number {
	background-color:#5e5e95!important;
}

.rhcalendar.for-widget.flat-ui-cal .fc-border-separate {
	border-radius: 0!important;
    -moz-border-radius:  0!important;
    -webkit-border-radius:  0!important;
    -ms-border-radius:  0!important;
}

.totalpoll-button-primary {
    background-color: #5e5e95!important;
    border-color: #5e5e95!important;
    border-radius:0!important;
}

.rhcalendar.for-widget .rhc_calendar_widget_day_click .rhc-widget-event-list-head .rhc-widget-event-list-date {
	background-color: #5e5e95!important;
}

.certify_form label {
	display:block;
}

.certify_form .caption {
	display:inline-block;
}

.certificate-button {
	color: #27277f;
    border: 2px solid #27277f;
    margin-top: 10px;
    display: inline-block;
    padding: 5px 10px;
}

.certificate-button:after {
	content:url(../img/menu-list-icon.svg);
	display:inline-block;
	width: 6px;
    margin-left: 10px;
}

.certificate-button:hover {
	color:#212171;
}


.rhcalendar.for-widget .rhc_calendar_widget_day_click .rhc_title {
	font-weight:500!important;
}

.rhcalendar.for-widget .rhc_calendar_widget_day_click .rhc-widget-event-list-head {
	border-radius:0!important;
}

.rhcalendar.for-widget .rhc_calendar_widget_day_click .rhc-widget-event-list-head .rhc-widget-event-list-date {
	height:100%!important;
}

.totalpoll-choices {
	border-radius:0!important;
}

.totalpoll-choice-label {
	font-size:16px!important;
}

.totalpoll-button {
	font-size:13px!important;	
}


@media (max-width: 991px) {
	
	header .mobile-header {
		position: fixed;
	    background: #f1f1f1;
	    width: 100%;
	    left: 0;
	    right: 0;
	    margin: 0;
	}

	header {
		padding-top:50px;
	}

	.rhcalendar {
		display:none;
	}

	.left-sidebar .img-responsive {
		display:none;
	}
		
}

