.custom-modal.visible-popup,
.overlay.visible-popup {
    visibility: visible;
    overflow: initial;
    opacity: 1;
    pointer-events: auto;
	z-index: 99996;
}

.custom-modal.block,
.overlay.block {
	display: block;
}

.custom-modal {
    display: none;
    visibility: hidden;
    opacity: 0;
    margin: 0 auto;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: all .5s ease;
}

.custom-modal-inner {
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
}

.custom-modal iframe,
.custom-modal image {
    max-width: 100%;
}

.custom-modal iframe {
    margin-bottom: -6px;
}

.custom-modal .close-modal {
    background: #fff;
    width: 25px;
    height: 25px;
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 11px;
    color: #000;
    border-radius: 50%;
    transform: rotate(45deg);
    padding-top: 5px;
    text-align: center;
    cursor: pointer;
}

.overlay {
	background-color: rgba(46,47,48,0.5);
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    -webkit-transition: opacity 250ms ease-out;
    -o-transition: opacity 250ms ease-out;
    transition: opacity 250ms ease-out;
    z-index: 800;
    width: 100%;
	height: 100%;
	display: none;
}

header {
	z-index: 9999;
}

header .row {
	position: relative;
}

.header-holder .overlay {
	background-color: rgba(0, 0, 0, .5);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	z-index: 900;
	opacity: 0;
	transition: opacity .3s;
	display: none;
}

.overlay.show {
	display: block;
	opacity: 1;
}

header .logo-holder {
	margin: 10px 0;
}

header ul {
	list-style: none;
	font-size: 0;
	padding-left: 0;
}

header .container .row {
	position: relative;
}





header .logo, header .logo a, header .top-menu, header .ctas, header .contacts, header .btn, header .switcher, header .web-account {
	display: inline-block;
	vertical-align: middle;
}

header .contact-wrap {
    float: right;
    margin: 21px 48px 0 10px;
}
header .contact-wrap.no-switcher {
    margin: 21px 0 0 10px;
}
header .top-menu {
    margin-left: 15px;
}
header .top-menu a {
	font-size: 14px;
	color: #172a41;
	display: block;
	line-height: 1em;
    padding: 31px 10px;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
header .top-menu a:hover {
	color: #00a8e3;
}
header .top-menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
header .top-menu ul li {
	display: inline-block;
	vertical-align: top;
	position: relative;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li {
	display: block;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu {
	visibility: hidden;
	opacity: 0;
	position: absolute;
    text-align: left;
    top: 90%;
    z-index: 90;
    min-width: 230px;
    background: #fff;
    padding: 5px 0;
    -moz-box-shadow: 0 0 15px -1px #6666664d;
    -webkit-box-shadow: 0 0 15px -1px #6666664d;
    box-shadow: 0 0 15px -1px #6666664d;
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 94%;
    top: 15px;
    background: #fff;
    min-width: 200px;
    -moz-box-shadow: 0 0 15px -1px #6666664d;
    -webkit-box-shadow: 0 0 15px -1px #6666664d;
    box-shadow: 0 0 15px -1px #6666664d;
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding: 10px 0;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu > .menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    left: 99.5%;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu .sub-menu li a {
    padding: 7px 0;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu .sub-menu li:not(:last-child):after {
    content: none;
}
header .top-menu .menu-item-has-children:hover ul.sub-menu {
	opacity: 1;
    visibility: visible;
    z-index: 99;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
header .top-menu .menu > .menu-item-has-children > a:before, header .top-menu .menu > .menu-item-has-children > a:after {
	content: '';
    display: block;
    background: #172a41;
    height: 7px;
    width: 1px;
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
header .top-menu .menu > .menu-item-has-children:hover > a:before, header .top-menu .menu > .menu-item-has-children:hover > a:after {
	-webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #00a8e3;
}
header .top-menu .menu > .menu-item-has-children > a:after {
	-webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 7px;
}
header .top-menu .menu > .menu-item-has-children:hover > a:after {
	-webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
header .top-menu .menu-item-has-children > a {
	padding-right: 20px;
}
header .top-menu .menu-item-has-children:hover > a {
	color: #00a8e3;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li {
	display: block;
    position: relative;
    padding: 0 15px;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li a {
	padding: 19px 0 19px 40px;
    position: relative;
    z-index: 24;
    line-height: 18px;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li:not(:last-child):after {
    content: '';
    width: 100%;
    height: 1px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f3f1ef;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li:before {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 14;
    font-size: 20px;
    transform: translateY(-50%);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li:hover:before {
	color: #00a8e3;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li.icon-area-dev-franchise:before {
    font-size: 31px;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li.icon-master-franchise:before {
    font-size: 31px;
}
header .top-menu .menu > .menu-item-has-children > .sub-menu li.icon-working-franchise:before {
    font-size: 25px;
}

header .nav-wrapper {
    display: none;
}

.sidebar-button-holder {
    display: inline-block;
    vertical-align: middle;
}
.sidebar-button-holder>button {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    opacity: 1;
    outline: 0;
    padding: 9px 10px 9px 0;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.sidebar-button-holder>button .icon-bar {
    display: block;
    width: 22px;
    height: 3px;
    background-color: #8f8f8f;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
body .sidebar-button-holder>button .icon-bar:nth-child(2) {
    margin: 3px 0;
}

body .sidebar-button-holder>button .icon-bar:nth-child(2) {
    margin: 3px 0;
}

body.sidebar-opened .sidebar-button-holder>button .icon-bar:nth-child(1) {
    -webkit-transform: rotate(-45deg);
    transform: translateY(7px) rotate(-45deg);
}

body.sidebar-opened .overlay {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

body.sidebar-opened .sidebar-button-holder>button .icon-bar:nth-child(2) {
    opacity: 0;
}

body.sidebar-opened .sidebar-button-holder>button .icon-bar:nth-child(3) {
    -webkit-transform: rotate(45deg);
    transform: translateY(-5px) rotate(45deg);
}
#sidebar {
    width: 100%;
    background: #fff;
    height: calc(100vh - 60px);
}

body.sidebar-opened {
    position: fixed;
    overflow: hidden;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
}

body:not(.sidebar-opened) #sidebar {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    pointer-events: none;
}

#sidebar {
    background-color: #fff;
    left: 0px;
    margin: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    top: 98%;
    margin-top: 1px;
    height: calc(100vh - 30px);
    -webkit-transition: -webkit-transform 450ms ease-in-out;
    transition: -webkit-transform 450ms ease-in-out;
    -o-transition: transform 450ms ease-in-out;
    transition: transform 450ms ease-in-out;
    padding: 0 0 35px 0;
    z-index: 820;
}

.sidebar-button-holder>button {
    outline: 0;
    padding: 14px 10px 14px 0;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
}

.sidebar-button-holder>button .icon-bar {
    display: block;
    width: 22px;
    height: 3px;
    background-color: #8f8f8f;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}




#sidebar .btn {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 12px 7px;
    display: inline-block;
    width: 48%;
}
#sidebar .ctas .btn:first-child {
    margin-right: 4%;
}
#sidebar .btn.filled {
    font-size: 14px;
    padding: 13px 7px 14px;
}
#sidebar .ctas {
    font-size: 0;
    padding: 20px 15px 15px;
}
#sidebar .ctas .phone {
    font-size: 16px;
    color: #404040;
    display: block;
    padding: 10px 0 10px 75px;
    position: relative;
    margin-top: 15px;
}
#sidebar .ctas .phone span {
    display: block;
    line-height: 110%;
}
#sidebar .ctas .phone .number{
    font-size: 24px;
    color: #ff00a4;
}
#sidebar .ctas .icon-receiver {
    position: absolute;
    left: 0;
    top: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: #ff00a4;
    font-size: 22px;
    margin-top: -30px;
}
#sidebar .ctas .icon-receiver:before {
    line-height: 60px;
}


.side-nav a {
    color: #172a41;
    font-size: 18px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    padding: 10px 15px;
    display: block;
}
.side-nav ul {
    list-style: none;
}
.side-nav li {
    position: relative;
}
.side-nav .sub-menu {
    display: none;
}
.side-nav .menu-item-has-children > a {
    position: relative;
    padding: 10px 30px 10px 15px;
}
.side-nav .menu-item-has-children > a:before, .side-nav .menu-item-has-children > a:after {
    content: '';
    display: block;
    background: #172a41;
    height: 9px;
    width: 2px;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.side-nav .menu-item-has-children > a:after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 15px;
}
.side-nav .menu-item-has-children > a.opened:before, .side-nav .menu-item-has-children > a.opened:after {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.side-nav .menu-item-has-children > a.opened:after {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.side-nav .sub-menu li {
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}
.side-nav .sub-menu li:last-child {
    border: none;
}
.side-nav .sub-menu li:before {
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.side-nav .sub-menu li a {
    padding: 9px 0 9px 35px;
    font-size: 17px;
}
.side-nav .sub-menu {
    padding: 0 15px;
}


header .cta-holder {
	position: relative;
	text-align: right;
	padding-top: 20px;
}

header .cta-holder .title-line {
	position: relative;
	padding: 0 0 30px 24px;
}

header .cta-holder .title-line a {
	color: #404040;
}

header .cta-holder .title-line:before {
	font-size: 17px;
	position: absolute;
	left: 0;
	top: 0px;
}

header .cta-holder .title-line .menu-arrow {
	padding-right: 10px;
	position: relative;
	cursor: pointer;
}

header .cta-holder .title-line .menu-arrow:hover {
	color: #00a8e3;
}

header .cta-holder .title-line .menu-arrow:before {
	right: 5px;
}

header .cta-holder .title-line .menu-arrow:after {
	right: 0;

}

header .cta-holder .header-phone-holder {
	position: absolute;
	left: 0px;
	top: 35px;
	background: #fff;
	box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	max-height: 0;
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	overflow: hidden;
	min-width: 245px;
}

header .cta-holder .title-line.opened .header-phone-holder,
header .cta-holder .title-line:hover .header-phone-holder {
    max-height: 260px;
    -webkit-transition: all .3s ease-in-out;
}

.header-phone-holder .header-phone-holder-inner {
	padding: 27px 30px 27px 20px;
}

.header-phone-holder .call-item {
	position: relative;
	padding-left: 40px;
	text-align: left;
}
.header-phone-holder .call-item:before {
	position: absolute;
	bottom: 7px;
	left: 0px;
	font-size: 26px;
}

.header-phone-holder .call-item:first-child {
	margin-bottom: 35px;
}

.header-phone-holder .call-item:first-child:after,
.custom-modal[data-modal="cta-modal"] .header-phone-holder .call-item:after {
	content: '';
	display: block;
	width: 80%;
	height: 1px;
	background: #e6e3e5;
	position: absolute;
	bottom: -18px;
	left: 50%;
	transform: translateX(-50%);

}
.header-phone-holder .call-item a {
	color: #404040;
	font-size: 20px
}

.header-phone-holder .call-item a:hover,
.header-phone-holder .call-item:focus {
	color: #e00087;
}
.header-phone-holder .call-item span {
	color: #646464;
	display:block;
}

header .mobile-cta {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

header .mobile-cta .btn {
	font-size: 16px;
	padding: 4px 10px;
}

header .book-item {
	font-size: 14px;
	padding: 7px 15px;
	margin-left: 20px;
}

.custom-modal[data-modal="cta-modal"] .book-item {
	width: 100%;
	text-align: center;
}

.custom-modal[data-modal="cta-modal"] .header-phone-holder .header-phone-holder-inner {
	padding: 30px;
}

.custom-modal[data-modal="cta-modal"] .header-phone-holder-inner .call-item a {
	color: #e00087;
}

.custom-modal[data-modal="cta-modal"] .header-phone-holder-inner .call-item {
	margin-bottom: 35px;
}

.custom-modal[data-modal="cta-modal"] .header-phone-holder .call-item:after {
	width: 110%;
}

.custom-modal[data-modal="cta-modal"] p {
	font-size: 16px;
	text-align: center;
	margin: 40px 0 20px;
}

.cta-phone-style {
	display: none;
}

#sidebar .js-receiver, header .cta-phone-style, header #header-title-line {
	display: none!important;
}

@media only screen and (min-width:1200px) {
	header #header-title-line.visible {
		display: inline!important;
	}
	.header-section .header-holder {
		min-height: 75px;
	}

	.sidebar-button-holder {
        display: none;
    }
}

@media only screen and (max-width:1199px) {
	header .cta-phone-style.visible {
		/* display: inline-block!important; */
	}

	header ul {
		text-align: center;
	}
	header .logo-holder {
		text-align: center;
	}

	header .title-line,
	header .btn {
		/* display: none; */
	}

	/*header .top-menu, header .ctas, header .contact-wrap {*/
 /*       display: none;*/
 /*   }*/

	header .cta-holder {
		padding-top: 14px;
	}

	body header .cta-phone-style {
		display: inline-block;
	}

	header .cta-phone-style {
		background: #e00087;
		color: #fff;
		font-size: 14px;
		font-family: "ralewaybold", Arial, Helvetica, sans-serif;
		-webkit-transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		transition: all .2s ease-in-out;
		border-radius: 5px;
		padding: 8px 13px;
		padding-left: 33px;
		position: relative;
	}

	header .cta-phone-style:before {
		color: #fff;
		font-size: 13px;
		vertical-align: middle;
		width: 15px;
		height: 18px;
		position: absolute;
		left: 9px;
		top: 11px;
	}

	header .cta-phone-style.m-book {
		padding: 8px 22px;
	}

}

@media only screen and (max-height:800px) {
	header ul li ul.sub-menu {
		max-height: 520px;
	}
}


@media only screen and (min-width:1200px) and (max-height:700px) {
	header ul li ul.sub-menu {
		max-height: 466px;
	}

	header ul li ul.sub-menu li a {
		font-size: 12px;
		padding: 10px 0 10px 40px;
	}
}

@media only screen and (min-width:768px) {
	.sidebar-button-holder>button {
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
		opacity: 1;
	}
	.header-section {
		background: #fff;
		position: relative;
		width: 100%;
		z-index: 950;
	}
	.header-section .header-holder {
		background: #fff;
		width: 100%;
	}
	.header-section.sticky .header-holder {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 850;
		box-shadow: 0 1px 12px 0 rgba(0, 0, 0, .2);
	}

	#sidebar {
        width: 380px;
    }
}

@media only screen and (max-width:991px) {
    header ul li a {
		padding: 31px 6px;
	}

	header .nav-wrapper {
        position: absolute;
        left: 15px;
        top: 50%;
        margin-top: -23px;
        display: inline-block;
    }
    	header .top-menu, header .ctas, header .contact-wrap {
        display: none;
    }
}

@media only screen and (max-width: 767px) {

	.header-section {
		position: relative;
		z-index: 1000;
		background: #fff;
		width: 100%;
	}
	.header-section.sticky .header-holder {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 95000;
		box-shadow: 0 1px 12px 0 rgba(0, 0, 0, .2);
	}
	.header-section header {
		width: 100%;
		background-color: rgba(255, 255, 255, .95);
		-webkit-transition: all .4s ease-in-out;
		-moz-transition: all .4s ease-in-out;
		-o-transition: all .4s ease-in-out;
		transition: all .4s ease-in-out;
	}

	.header-section header .logo-holder {
		text-align: center;
		margin: 12px 0;
	}

	.header-section header .logo-holder img {
		max-width: 135px;
	}

    header .book-item {
		font-size: 10px;
		padding: 9px 5px;
		margin-left: 20px;
		font-weight: 700;
	}
	
		header .nav-wrapper {
		    display: inline-block;
		}


	#sidebar {
        width: 380px;
    }

    .custom-modal {
        width: 85%;
    }
}

@media only screen and (max-width:375px) {
	body header .cta-phone-style {
		padding: 8px 16px;
		padding-left: 22px;
		font-size: 13px;
	}

	header .cta-phone-style:before {
		font-size: 11px;
		left: 4px;
		top: 10px;
		transform: rotate(20deg);
	}
	header .cta-phone-style.m-book {
		padding: 8px 16px!important;
	}
}

@media only screen and (max-width:340px) {
	.header-section.has-gdpr {
		top: 80px;
	}

	#sidebar .cta-wrap .btn {
		padding: 14px 10px;
	}

	header .web-account .logged .iconarrow {
		margin: 0 -11px 0 18px;
	}

	header .btn.campaign-hide-phone {
		padding: 7px 10px;
	}

	footer .appstore {
		margin: 0;
	}

	body header .cta-phone-style {
		padding: 8px 7px;
		padding-left: 20px;
	}

	header .cta-phone-style:before {
		left: 1px;
	}

	header .cta-phone-style.m-book {
		padding: 8px 12px!important;
	}

	#sidebar .ctas .btn:first-child {
        margin: 0 0 15px;
    }
    #sidebar .ctas .btn {
        width: 100%;
    }

}
