/*@font-face { font-family: 'LatoRegular'; src: url('fonts/Lato-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }*/
/*@font-face { font-family: 'LatoRegular'; src: url('fonts/Lato-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; }*/

@font-face { font-family: 'LatoRegular'; src: url('fonts/Lato-Regular.eot') format('opentype'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'LatoRegular'; src: url('fonts/Lato-Regular.otf') format('truetype'); font-weight: normal; font-style: normal; }

@font-face { font-family: 'LatoRegular'; src: url('fonts/Lato-Bold.eot') format('opentype'); font-weight: bold; font-style: normal; }
@font-face { font-family: 'LatoRegular'; src: url('fonts/Lato-Bold.otf') format('truetype'); font-weight: bold; font-style: normal; }

/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}


/* -------------------------------- 

Main components 

-------------------------------- */

.cd-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  -webkit-transition: visibility 0s 0.6s;
  -moz-transition: visibility 0s 0.6s;
  -o-transition: visibility 0s 0.6s;
  transition: visibility 0s 0.6s;
}
.cd-panel::after {
  /* overlay layer */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  -webkit-transition: background 0.3s 0.3s;
  -moz-transition: background 0.3s 0.3s;
  -o-transition: background 0.3s 0.3s;
  transition: background 0.3s 0.3s;
}
.cd-panel.is-visible {
  visibility: visible;
  -webkit-transition: visibility 0s 0s;
  -moz-transition: visibility 0s 0s;
  -o-transition: visibility 0s 0s;
  transition: visibility 0s 0s;
}
.cd-panel.is-visible::after {
  background: rgba(0, 0, 0, 0.6);
  -webkit-transition: background 0.3s 0s;
  -moz-transition: background 0.3s 0s;
  -o-transition: background 0.3s 0s;
  transition: background 0.3s 0s;
  cursor:default;
}
.cd-panel.is-visible .cd-panel-close::before {
  -webkit-animation: cd-close-1 0.6s 0.3s;
  -moz-animation: cd-close-1 0.6s 0.3s;
  -o-animation: cd-close-1 0.6s 0.3s;
  animation: cd-close-1 0.6s 0.3s;
}
.cd-panel.is-visible .cd-panel-close::after {
  -webkit-animation: cd-close-2 0.6s 0.3s;
  -moz-animation: cd-close-2 0.6s 0.3s;
  -o-animation: cd-close-2 0.6s 0.3s;
  animation: cd-close-2 0.6s 0.3s;
}

@-webkit-keyframes cd-close-1 {
  0%, 50% {
    -webkit-transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}
@-moz-keyframes cd-close-1 {
  0%, 50% {
    -moz-transform: rotate(0);
  }
  100% {
    -moz-transform: rotate(45deg);
  }
}
@-o-keyframes cd-close-1 {
  0%, 50% {
    -o-transform: rotate(0);
  }
  100% {
    -o-transform: rotate(45deg);
  }
}
@keyframes cd-close-1 {
  0%, 50% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
}
@-webkit-keyframes cd-close-2 {
  0%, 50% {
    -webkit-transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-45deg);
  }
}
@-moz-keyframes cd-close-2 {
  0%, 50% {
    -moz-transform: rotate(0);
  }
  100% {
    -moz-transform: rotate(-45deg);
  }
}
@-o-keyframes cd-close-2 {
  0%, 50% {
    -o-transform: rotate(0);
  }
  100% {
    -o-transform: rotate(-45deg);
  }
}
@keyframes cd-close-2 {
  0%, 50% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
}
.cd-panel-header {
  position: fixed;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: rgba(255, 255, 255, 0);
  z-index: 2;
  -webkit-transition: top 0.3s 0s;
  -moz-transition: top 0.3s 0s;
  -o-transition: top 0.3s 0s;
  transition: top 0.3s 0s;
}
/*font for title*/
.cd-panel-header h1 {
  font-weight: bold;
  color: #444;
  padding-left: 5%;
  font-family:font1,Calibri;
  text-transform:uppercase;
  margin: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
.from-right .cd-panel-header, .from-left .cd-panel-header {
  top: -50px;
}
.from-right .cd-panel-header {
  right: 0;
}
.from-left .cd-panel-header {
  left: 0;
}
.is-visible .cd-panel-header {
  top: 0;
  -webkit-transition: top 0.3s 0.3s;
  -moz-transition: top 0.3s 0.3s;
  -o-transition: top 0.3s 0.3s;
  transition: top 0.3s 0.3s;
}
@media only screen and (min-width: 768px) {
  .cd-panel-header {
    width: 100%;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-panel-header {
    width: 100%;
  }
}

.cd-panel-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 60px;
  /* image replacement */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
/*close button color*/
.cd-panel-close::before, .cd-panel-close::after {
  /* close icon created in CSS */
  position: absolute;
  top: 22px;
  left: 20px;
  height: 3px;
  width: 20px;
  background-color: #94181b;
  /* this fixes a bug where pseudo elements are slighty off position */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  content: '';
}
.cd-panel-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cd-panel-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.no-touch .cd-panel-close:hover {
  /*background-color: #444;*/
}
.no-touch .cd-panel-close:hover::before, .no-touch .cd-panel-close:hover::after {
  background-color: #ffffff;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.no-touch .cd-panel-close:hover::before {
  -webkit-transform: rotate(220deg);
  -moz-transform: rotate(220deg);
  -ms-transform: rotate(220deg);
  -o-transform: rotate(220deg);
  transform: rotate(220deg);
}
.no-touch .cd-panel-close:hover::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

/*panel background color*/
.cd-panel-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: #565660;
  z-index: 1;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.from-right .cd-panel-container {
  right: 0;
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}
.from-left .cd-panel-container {
  left: 0;
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -ms-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}
.is-visible .cd-panel-container {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
@media only screen and (min-width: 768px) {
  .cd-panel-container {
    width: 100%;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-panel-container {
    width: 100%;
  }
}

.cd-panel-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 70px 5%;
  overflow: auto;
  /* smooth scrolling on touch devices */
  -webkit-overflow-scrolling: touch;
}
/*content panel font*/
.cd-panel-content p {
  font-size: 15px;
  font-size: 0.875rem;
  color: #504e4e;
  line-height: 1.4;
  margin: 2em 0;
}
.cd-panel-content span { display:block; text-align:center; }
.cd-panel-content .p1 {  }  
.cd-panel-content .p1 a { position:relative; color:#fff; text-decoration:none; text-transform:uppercase; font-weight:bold; font-size:17px; font-family:LatoRegular,Calibri; line-height:24px; letter-spacing:2px; }  
/*.cd-panel-content .p1 a:hover { text-decoration:line-through; }*/
.cd-panel-content .p2 { color:#fff; text-decoration:none; text-transform:none; font-weight:100; font-size:11px; font-family:LatoRegular,Calibri; line-height:10px; letter-spacing:1px; }  
.cd-panel-content .p2 a { color:#000; text-decoration:none; text-transform:none; font-weight:100; font-size:11px; font-family: LatoRegular,Calibri; line-height:20px; letter-spacing:1px; 
-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;
}
.cd-panel-content a:hover { color:#94181b;
	-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;
}
.cd-panel-content .p3 {  }   


.cd-panel-content .search-area { margin-left:auto; margin-right:auto; width:90%; margin-top:50px; margin-bottom:50px; }
.cd-panel-content .search-area .input-area {  }
.cd-panel-content .search-area .input-area input.txt { margin-bottom:50px; width:90%; height:20px; background: rgba(244, 242, 233, 0); color:#f7f7f7; font-size:12px; border:none; border-bottom:1px solid #333; font-weight:100; font-family:VerdanaRegular,Calibri; }            
.cd-panel-content .search-area .input-submit { width:50%; height:30px; background: rgba(244, 242, 233, 0); color:#f7f7f7; font-size:12px; border:none; border:1px solid #333; font-weight:100; font-family:VerdanaRegular,Calibri; line-height:30px; text-transform:uppercase; cursor:pointer;       
	-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;
}            
.cd-panel-content .search-area .input-submit:hover { background: rgba(244, 242, 233, 0.5); color:#555; 
	-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;
} 

.width-panels-50 { width:50%; }           
     

/* Effect Line Through */
span.line_wrap {
    position:relative;
    display:inline-block;  
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:bold;
	font-size:17px;
	font-family:LatoRegular,Calibri;
	line-height:24px;
	letter-spacing:2px;      
}
span.line {
    display:inline-block;
    position:absolute;
    left:0;
    top:45%;
    width:0;
    border-top:2px solid #fff;
    -webkit-transition: width 0.2s ease-in-out;
}
span.line_wrap:hover span.line {
    width:100%;    
}​

.cd-panel-content p:first-of-type {
  margin-top: 0;
}


@media only screen and (min-width: 768px) {
  .cd-panel-content p {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media only screen and (max-width: 667px) {
	.cd-panel-content .p2 { line-height:20px; }
    .cd-panel-content .p3 { font-size:12.5px; line-height:22px; } 
	.width-panels-50 { width:90%; }   
}



/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main {
	display: block;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
