/**
* Template Name: Instant
* Template URL: https://templatemag.com/instant-bootstrap-personal-template/
* Author: TemplateMag.com
* License: https://templatemag.com/license/
*/

/* ==========================================================================
   Base Styles, Bootstrap Modifications & Fonts Import
   ========================================================================== */


::-moz-selection {
    background: #f2c2c9;
    color: #c500c5;
    text-shadow: none;
}

::selection {
    background: #a4db00;
    color: #c500c5;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em auto;
    padding: 0;
    width: 80%;
}
.centered {
	text-align: center
}
.mt {
	margin-top: 80px;
}
.mb {
	margin-bottom: 80px;
}
.mt-herf {
	margin-top: 40px;
}
.mb-herf {
	margin-bottom: 40px;
}
.btn-outline-primary {
    color: #009844;
  background-color: transparent;
  background-image: none;
  border-color: #009844;
  transition: 0.4s;
  cursor: pointer;
}
.btn-outline-primary:hover {
    color: #009844;
  background: #3ecf00;
}
#page_top{
  margin: 0 10px 0 0;
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 50px;
  background: #009844;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/* ==========================================================================
   General styles
   ========================================================================== */


body {
	/* font-family: 'Montserrat', sans-serif; */
    /* font-weight: 400; */
    font-size: 16px;
	line-height: 1.714285704;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
    color: #4a4a4a;
}


.navbar-brand {
	font-weight: 700;
}

.navbar-default .navbar-brand, .navbar-default .navbar-brand:hover {
	color: #95e077;
}

.navbar-default {
	border-color: transparent;
  background-color: rgba(0, 0, 0, 0.5);
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #95e077;
	background-color: transparent;
}

.navbar-default .navbar-nav > li > a {
	color: #fff;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #95e077;
}

.navbar-default .navbar-toggle {
  border: none;
  border-color: #fff;
}

.navbar-default .navbar-toggle:hover {
  background: #666;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}
/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
	background: url(../img/back.png) no-repeat center top;
	margin-top: -70px;
	padding-top: 250px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 650px;
	width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1,
#entrywrap h1 {
	color:#ffffff;
	padding-top: 10px;
	padding-bottom: 20px;
	letter-spacing: 4px;
	font-size: 50px;
	font-weight: bold;
}

#headerwrap h2,
#headerwrap h3,
#entrywrap h2,
#entrywrap h3 {
	font-size: 1.5em;
	font-weight: 400;
	color: #ffffff;
	font-weight: bold;
}

@media (max-width: 768px) {
  #headerwrap {
    padding-top: 250px;
  }
}

#social {
	padding-top: 50px;
	padding-bottom: 50px;
	background-color: #f2f2f2;
}

#social i {
	font-size: 40px;
	color: #4a4a4a
}

#social i:hover {
	color: #009844
}

#footerwrap {
	padding-top: 70px;
	padding-bottom: 50px;
	background-color: #2f2f2f;
}

#footerwrap p {
	color: #f2f2f2;
	margin-left: 10px;
}

#workwrap {
	background: url(../img/work.jpg) no-repeat center top;
	margin-top: -70px;
	padding-top: 250px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 650px;
	width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#workwrap h1 {
	color:#ffffff;
	padding-top: 10px;
	padding-bottom: 20px;
	letter-spacing: 4px;
	font-size: 80px;
	font-weight: bold;
}

#workwrap h4 {
	font-weight: 400;
	color: #ffffff;
}

#aboutwrap {
	background: url(../img/about.png) no-repeat center top;
	margin-top: -70px;
	padding-top: 250px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 550px;
	width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.aboutHeadline_h2 {
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
	color: #009844;
	border-bottom: 3px solid #009844;
}

.aboutHeadline_h3 {
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	font-size: 20px;
	font-weight: bold;
	text-align: left;
	color: #009844;
	border-bottom: 3px solid #009844;
}


/* Map */
.map img {width: 80%;}

/* DL DT DD */
.schedule {width:80%; margin: 1.75em auto 0 auto; background-color: #e9f2d1; border: 10px solid #e9f2d1;}
.schedule_dt {width:30%; margin: 5px auto; text-align:right; float:left; clear:right;}
.schedule_dd {width:70%; margin: 5px auto; text-align:left; float:left;}

.address {width:80%; margin: 1.75em auto 0 auto; background-color: #e9f2d1; border: 10px solid #e9f2d1;}
.address_dt {width:30%; margin: 5px auto; text-align:right; float:left; clear:right;}
.address_dd {width:70%; margin: 5px auto; text-align:left; float:left;}

.star {width:95%; margin: 2em auto;}
.star_dt {width:10%; text-align:right; float:left; clear:left;}
.star_dd {width:85%; text-align:left; float:left;}


/* Table */
table.cancel {
	width:100%;
	border: solid 1px #CCC;
	border-collapse: collapse;
}
table.cancel th {
	border-right: solid 1px #CCC;
	border-collapse: collapse;
	background-color: #eee;
	text-align:center;
}
table.cancel td {
	border-top: solid 1px #CCC;
	border-right: solid 1px #CCC;
	border-collapse: collapse;
	background-color: #fff;
}
table.cancel td:last-child {
	border-top: solid 1px #CCC;
	border-collapse: collapse;
	background-color: #fff;
}


/* Gallery */
.gallery {
	margin-top: 30px;
}
.gallery img:hover {
	opacity: 0.4;
}

.img_top-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Cource */
.cource {
    padding-bottom: 50px;
    padding-top: 50px;
    min-height: 320px;
    background: #e9f2d1;
}

/* entry Form */
#entrywrap {
	background: url(../img/entry.jpg) no-repeat center top;
	margin-top: -70px;
	padding-top: 300px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 650px;
	width: 100%;
  background-size: 100%;
  background-size: cover;
}

#entry {
  padding: 40px 0;
}

#entry h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.entry_box {
    padding-top: 30px;
    padding-bottom: 15px;
    background: #e9f2d1;
}
.first_box {
	min-height: 300px;
	height: auto !important;
	height: 300px;
    margin-top: 0;
    margin-bottom: 10px;
}
.second_box, .third_box, .fourth_box, .fifth_box, .sixth_box, .seventh_box {
	min-height: 300px;
	height: auto !important;
	height: 300px;
    margin-top: 50px;
    margin-bottom: 10px;
}

.first_box h3, .second_box h3, .third_box h3, .fourth_box h3, .fifth_box h3, .sixth_box h3 {
	margin: 0 0 20px 10px;
	font-size: 18px;
}

.entry-form label {
   color: #333333;
}

.entry-form input, .entry-form textarea {
  padding: 8px 10px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}
.checkbox-inline, .radio-inline {
    position: relative;
    display: inline-block;
    padding-left: 5px;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
}

.entry-form .form-send {
  text-align: center;
}

.entry-form .form-send button.main_button  {
  margin: 10px 0 0 0;
  background: #009844;
  border: 3px solid #009844;
  padding: 14px 40px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.entry-form .form-send button.main_button:hover {
  background: #3ecf00;
}

.entry-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}
.entry-form .form-send button.sub_button  {
  margin: 10px 0 0 0;
  background: #fff;
  border: 3px solid #009844;
  padding: 14px 40px;
  color: #009844;
  transition: 0.4s;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.entry-form .form-send button.sub_button:hover {
  background: #3ecf00;
}

.entry-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.entry-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.entry-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.entry-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.entry-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: -15px;
}
.form-group {
    margin-bottom: 15px;
    min-height: 50px;
}
.form-group2 {
    margin-bottom: 15px;
    min-height: 70px;
}
.form-group3 {
    margin-bottom: 15px;
    min-height: 150px;
}
.form-group4 {
    margin-bottom: 15px;
    min-height: 210px;
}
.form-left {
    margin-left: 1em;
}
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
	text-align: right;
}
.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
/* for table */
#form-tbl {
	margin-left: 1.5em;
}
#form-in {
	border-collapse: collapse;
	margin: 1em 0;
}
#form-in th, #form-in td {
	border: 1px solid #666;
	padding: 8px;
}
#form-in th {
	white-space: nowrap;
	background: #e8e8e8;
}
#form-in td {
	background: #fff;
}

/* Copyrights */

#copyrights {
  background: #222222;
  padding: 20px 0;
  text-align: center;
}

#copyrights p {
  margin-bottom: 5px;
  color: #fff;
}

#copyrights a {
  color: #009844;
}

.credits {
  color: #999;
}

.strikethrough {
  text-decoration: line-through;
}

/* ==========================================================================
   smart phone
   ========================================================================== */
@media only screen
and (min-device-width:320px)
and (max-device-width:667px){
	body{width:100%;font-size:12px;color:#666;background-image:none;background-color:#FFFFFF;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-text-size-adjust:100%;}
	#headerwrap h1,
	#entrywrap h1 {
	font-size: 35px;
	}
	.address {width:80%; margin: 1.75em auto 0 auto; background-color: #e9f2d1; border: 10px solid #e9f2d1;}
	.address_dt {width:30%; margin: 5px auto; font-size: 0.8em; text-align:right; float:left; clear:right;}
	.address_dd {width:70%; margin: 5px auto; font-size: 0.8em; text-align:left; float:left;}
	table.cancel th {font-size: 1em; }
	table.cancel td {font-size: 0.8em; }
	.first_box h3, .second_box h3, .third_box h3, .fourth_box h3, .fifth_box h3, .sixth_box h3 {margin: 0 0 20px 10px; font-size: 14px;}
	.course-in {font-size: 0.85em;}
}