/*@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);*/
@import url('https://fonts.googleapis.com/css?family=Dancing+Script');

@font-face {
    font-family: 'dear_joe_four';
    src: url('../fonts/dear_joe_four.otf') format('opentype');
}

@font-face {
    font-family: 'OPTIMA';
    src: url('../fonts/OPTIMA.TTF') format('truetype');
}

html {
    height: 100%;
}

.fa
{
    color:#000;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.max5{
max-height: 493px; 
}
.carhor {
    display: inline;
}

.titlecover {
    /*font-family: 'Dancing Script', cursive !important;*/
    font-family: 'dear_joe_four' !important;
    font-size: 3.5em;
    margin-top: 15px !important;
}

.titlefoot {
    font-family: 'dear_joe_four' !important;
    font-size: 2.2em;
    margin-top: 15px !important;
}

.imageawards {
    width: 100%;
    height: auto;
    /*display: block;
    margin-left: auto;
    margin-right: auto*/
}

.imageawards2 {
    width: 100%;
    height: auto;
    max-width: 150px;
    max-height: 100px;
    /*display: block;
    margin-left: auto;
    margin-right: auto*/
}


.imaget {
    height: 100px !important;
    display: block;
    margin-left: auto;
    margin-right: auto
}
.imaget4 {
    height: 45px !important;
}
.imaget5 {
    margin-top:2em;
    height: 45px !important;
}

.bordeornament {
    position: fixed;
    height: 20%;
    width: auto;
    z-index: 999;
    right: 20%;
    top: -20px;
}

.modal-backdrop {
    z-index: 90 !important;
}

.modal-dialog {
    margin: 2px auto;
    z-index: 1100 !important;
    /*height: 500px;
    width:100%;*/
}



.navbar2 {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 5%;
    width: 100%;

}

.navbar2 li {
    margin-right: 0.5px !important;
}

.navbar2 a {
    color: #000;
    font-size: 1.8em;
    /*height:40px;*/
    padding: 5px 2px 5px 2px; 
}

/*.margintinput input, .margintinput textarea, .margintinput span {
    margin-top: 5px !important;
}*/

.margintinput br {
    /*display: block;
    margin: 5px 0;*/
    height: 5px;
}

.backcontact {
    background-image: url('../images/contact.jpg');
    width: 100%;
    height: 100%;
    opacity: 0.3;
    filter: alpha(opacity=50);
    background-repeat: no-repeat;
    position:fixed;
}

.cgallery {
    /*max-width:70%;*/
    max-width: 860px !important;
    margin: auto;
}

.cvideo {
    /*max-width:72% !important;*/
    max-width: 860px !important;
    margin-left: auto;
    margin-right: auto;
}
/*tab begin*/
/* Style the tab buttons */
.tablink {
    background-color: #fff;
    color: #000;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    /*padding: 14px 16px;*/
    font-size: 17px;
    font-weight: bold;
    width: 33%;
    height: 2em;
}
.tablink1 {
    border-radius: 20px 0 0 20px;
}
.tablink3 {
    border-radius: 0 20px 20px 0;
}
.content3 {
    text-align: justify;
    text-justify: inter-word;
    font-size: .9em

}
/* Change background color of buttons on hover */
.tablink:hover {
    color: #777;
}

/* Set default styles for tab content */
.tabcontent {
    height:100%;
    /*max-height:660px !important;*/
    display: none;
    padding: 10px;
    text-align: center;
}


/*end tab*/


body {
    /*font-family: 'Dancing Script', cursive !important;*/
    /*font-family: "Trebuchet MS", Helvetica, sans-serif !important;*/
    font-family: 'OPTIMA' !important;
    background: #fff;
    font-weight: 400;
    font-size: 100%;
    color: #333;
    height: 100%;
}

.imagecover {
    max-width: 50%;
    height: auto;
}

.js body {
	overflow: hidden;
}

a {
	color: #555;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.container {
    padding: 47px 8% 0 8%;
    /*margin: 0 0 0 0 !important;*/
    position: relative;
    left: 0px;
    -webkit-transition: left 0.3s ease-in-out;
    -o-transition: left 0.3s ease-in-out;
    transition: left 0.3s ease-in-out;
}

.contentitem2 {
    font-size: 1em;
    padding-top: 5px;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	background: #f1103a;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}



.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 1.8em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 

.menu-toc {
	list-style: none;
}

.menu-toc li a, .menu-toc li a:after, .menu-toc li a:before {
    box-sizing: content-box !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;

}

.menu-toc li a:focus {
    box-shadow: 0 0 0 0px #ddd !important;
}

ul {
    margin-bottom: 0px !important;
}
.menu-toc li a:hover,
.menu-toc li.menu-toc-current a {
    /*background: #e0d9d9;*/
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #bc0b0b;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.2);
} 

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
	top: 20px;
	left: 60px;
	position: absolute;
	z-index: 1000;
}

/*  video  */

.video-container {
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    position: relative;
    background: #000;
}

    .video-container iframe,
    .video-container span {
        position: absolute;
        width: 100%;
        left: 0;
        border: 0;
        top: 0;
    }

    .video-container iframe {
        top: 0;
        height: 100%;
    }

    .video-container span {
        background: #000 center no-repeat;
        background-size: cover;
        bottom: 0px;
    }

/**
 * Turn of iframes.
 */

.bb-page .video-container iframe,
.bb-page ~ .bb-item .video-container iframe {
    display: none;
}

/* end video*/

/*navleft*/

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    /*width: 0;  0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Stay on top */
    top: 0;
    left: 0;
    /*background-color: #111;*/ /* Black*/
    background-color: rgba(255, 255, 255, 0.8);
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

    /* The navigation menu links */
    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s
    }

        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover, .offcanvas a:focus {
            color: #f1f1f1;
        }

    /* Position and style the close button (top right corner) */
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.markopen {
    position: absolute;
    top: 5%;
    left: -25px;
    width: 100px;
    z-index: 1000;
}

.markclose {
    width: 100px; 
    position: absolute;
    top: 0;
    right: -20px;
    /*margin-left: 10px;*/
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

/*navleft end*/

/*.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	left: 0;
	background: #f1103a;
	border-radius: 50%;
	color: #fff;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #000;
}

.bb-custom-wrapper nav span:last-child {
	left: 40px;
}*/

.menu-button {
	z-index: 1000;
	left: 20px;
	top: 20px;
	text-indent: -9000px;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 50%;
	height: 2px;
	background: #fff;
	top: 50%;
	margin-top: -1px;
	left: 25%;
	box-shadow: 0 -4px #fff, 0 4px #fff;
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	/*position: absolute;*/
	top: 15px;
	left: 0;
	width: 100%;
	bottom: 10px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
	padding: 10px 5% 10px 5%;
}

.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 10px;
	z-index: 100;
	pointer-events: none;
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.js .content:after {
	top: auto;
	bottom: 0;
	background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.content h2 {
	font-weight: 300;
	font-size: 4em;
	padding: 0 0 10px;
	color: #333;
	margin: 0 1% 40px;
	text-align: left;
	box-shadow: 0 10px 0 rgba(0,0,0,0.02);
	text-shadow: 0 0 2px #fff;
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

.imagecontact {
    /*visibility: visible;*/
    display:normal;
}

.morecontent span {
    display: none;
}

.morelink {
    display: block;
}

.imageitem3 {
    width: 20%;
    height: auto;
    padding-right: 2%;
}
.imageitem31 {
    width: 20%;
    height: auto;
    padding-left: 2%;
}

/*.content p {
	font-size: 1.2em;
	line-height: 1.6;
	font-weight: 300;
	padding: 5px 8%;
	text-align: justify;
}*/
/*.content {
    padding-left: 5%;
    padding-right: 5%;
}*/


/*-- Slideanim --*/
.imgcar {
    padding:5px;
    margin-top:34%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.slide {
    /* The name of the animation */
    animation-name: slide;
    -webkit-animation-name: slide;
    /* The duration of the animation */
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    /* Make the element visible */
    visibility: visible;
}

/* Go from 0% to 100% opacity (see-through) and specify the percentage from when to slide in the element along the Y-axis */
@keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}
/*-- //Slideanim --*/

@media screen and (max-height: 700px), screen and (max-width: 1500px) {
    .cvideo {
        /*max-width: 680px !important;*/
        margin-top: auto;
        margin-bottom: auto;
    }

    .cgallery {
        max-width: 820px !important;
        margin: auto;
    }
}

@media screen and (max-height: 675px) {
    .cvideo {
        max-width: 655px !important;
    }
    .cgallery {
        max-width: 790px !important;
       
    }
}


@media screen and (max-height: 650px) {
    .cvideo {
        max-width: 630px !important;
    }
    .cgallery {
        max-width: 760px !important;
       
    }
}

@media screen and (max-height: 625px) {
    .cvideo {
        max-width: 605px !important;
    }
    .cgallery {
        max-width: 730px !important;
       
    }
}

@media screen and (max-height: 600px) {
    .cvideo {
        max-width: 580px !important;
    }
    .cgallery {
        max-width: 710px !important;
       
    }
}

@media screen and (max-height: 575px) {
    .cvideo {
        max-width: 555px !important;
    }
    .cgallery {
        max-width: 680px !important;
       
    }
}


@media screen and (max-height: 550px) {
    .cvideo {
        max-width: 530px !important;
    }
    .cgallery {
        max-width: 650px !important;
       
    }
}

@media screen and (max-height: 525px) {
    .cvideo {
        max-width: 500px !important;
    }

    .cgallery {
        max-width: 620px !important;
       
    }
}


/*@media screen and (max-width: 1200px) {
    .cvideo {
        max-width: 70% !important ;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 991px) {
    .cvideo {
        max-width: 98%!important;
       
    }
}

/*@media screen and (max-height: 650px) {
    .cvideo {
        max-width: 67% !important;       
    }
}

@media screen and (max-height: 600px) {
    .cvideo {
        max-width: 60% !important;
    }
}

@media screen and (max-height: 550px) {
    .cvideo {
        max-width: 54% !important;
    }
}*/
/*@media screen and (max-width: 1200px) {
    .cvideo {
        max-width: 70% !important ;
        margin-left: auto;
        margin-right: auto;
    }
}

*/
@media screen and (max-width: 991px) {
    .imgcar {
        
        margin-top: 45%;
    }
}

@media screen and (max-width: 800px) {
    .no-js .menu-panel {
        display: none;
    }

    .no-js .container {
        padding: 0;
    }

    .markopen {
        position: absolute;
        left: -20px;
        width: 75px;
        z-index: 1000;
    }

    .markclose {
        width: 75px;
        position: absolute;
        top: 0;
        right: -15px;
        /*margin-left: 10px;*/
    }
    .cvideo{
        margin-top: 5%;
    }
    .cgallery {
        margin-top: 5%;
    }
}

    @media screen and (max-width: 767px) {
        .titlefoot {
            font-size: 1.8em;
        }
        .imgcar {
            max-height: 135px;
            margin-top: 37%;
        }
        .imagecover {
            max-width: 100%;
            height: auto;
        }
        .container {
            padding: 10% 5% 0 5%;
        }
        .navbar2 a {
            font-size: 1.4em;
        }
        .cvideo {
            
            margin-top: 15%;
        }
        .cgallery{
            margin-top: 15%;
        }
        .imaget5 {
            visibility: visible;
            height: 30px;
        }
        .imagecontact {
            /*visibility: hidden;*/
            display: none;
        }

    }

    @media screen and (max-width: 530px) {
        .titlecover {
            margin-top: 10% !important;
            font-size: 2.8em;
        }
        .titlefoot {
            font-size: 1.5em;
        }
        .imgcar {
            max-height: 122px;
            margin-top: 34%;
        }
        .container {
            padding: 8% 20px 0 20px !important;
        }
        .navbar2 a {
            font-size:.9em;
        }
        .imaget {
            margin-top:10%;
            height: 85px !important;
        }
        .imaget4 {
            height: 30px !important;
        }

        .cvideo {
            margin-top: 22%;
            
        }
        .cgallery {
            margin-top: 25%;
        }
        .imageitem3, .imageitem31 {
            width: 45%;
        }
        .content3 {
            font-size: .65em !important;
        }

        h6 {
            font-size: 1.1em !important
        }

    }

    @media screen and (max-width: 400px) {
        .imgcar {
            max-height: 100px;
            margin-top: 31%;
        }

        .contentitem2 {
            font-size: .8em !important;
        }

        .imaget {
            margin-top: 20%;
            height: 65px !important;
        }
        .container {
            padding: 32px 20px 0 20px !important;
        }

        .navbar2 a {
            font-size: 0.8em !important;
        }

        .navbar2 li {
            margin-right: 0.1px !important;
        }

        .menu-panel,
        .content {
            font-size: 70%;
        }

        .markopen {
            position: absolute;
            left: -12px;
            width: 50px;
            z-index: 1000;
        }

        .markclose {
            width: 50px;
            position: absolute;
            top: 0;
            right: -10px;
            /*margin-left: 10px;*/
        }

        .titlecover {
            margin-top:50px !important;
        }

        .titlefoot {
            margin-top: 30px !important;
        }
        .cvideo {
            margin-top: 35%;
        }
        .cgallery {
            margin-top: 35%;
        }

    }

    @media screen and (max-width: 360px) {

        h4.slideanim.slide {
            line-height: 30px;
        }
        .navbar2 a {
            font-size: 9px !important;
            padding: 3px 0px 2px 0px !important;
        }
    }
