@charset "utf-8";
/* CSS Document */

#myBtn {
  outline: none;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  overflow: auto;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}
@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
/* The Close Button */
.close {
  color: #b9b9b9;
  float: right;
  font-size: 40px;
  line-height: 4px;
  transition: all 0.25s ease-out 0s;
  position: absolute;
  top: 4%;
  right: 2%;
}
.close:hover,
.close:focus {
  color: #a4bde4;
  text-decoration: none;
  cursor: pointer;
}
.modal-body { 
  width: 100%;
  float: left;
  text-align: center;
  margin: 0 0 0;
  padding: 45px 8% 30px;
}
.modal-body p {
    font-size: 14px;
    color: #706f6f;
    line-height: 26px;
    margin: 0 0 16px;
}
.modal-body h2 {
    font-size: 24px;
    color: #a4bde4;
    line-height: 33px;
    margin: 0 0 26px;
}

.modal.modalsearch {
    padding: 0;
    z-index: 9999999999;
    background-color: rgba(0,0,0,0.7);
}

.modal.modalsearch .modal-content {
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #d4b186;
    border-radius: 18px;
    background: #1e1e20;
}

.modal.modalsearch .modal-content .close_search {
    position: absolute;
    z-index: 999999999;
    top: -1px;
    right: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 35px;
    line-height: 35px;
    color: #d4b186;
    transition: color .3s linear, background .3s linear;
}

.modal.modalsearch .modal-content .close_search:hover {
    color: #fff;
}

.modal-body .screen-reader-text {
    position: relative;
    clip-path: none;
}

.modal.modalsearch .modal-content label {
    width: 100%;
    display: block;
    position: relative;
    float: none;
    font-size: 30px;
    font-weight: 300;
    color: #f8f8f8;
    letter-spacing: normal;
    line-height: normal;
    margin: 0 0 15px;
}

.modal.modalsearch .modal-content .modal-body {
    padding: 35px 8% 45px;
}

.modal.modalsearch .modal-content .modal-body .search-field {
    width: 289px;
    height: 60px;
    float: none;
    margin: 0 0 0;
    padding: 0 0 0;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    background: none;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    resize: none;
    font-weight: 400;
    letter-spacing: normal;
    border-radius: 0;
    transition: all 0.25s ease-out 0s;
    display: inline-block;
    position: relative;
    z-index: 9;
    font-family: 'Raleway', sans-serif;
}

.modal.modalsearch .modal-content .modal-body .search-submit {
    width: auto;
    height: auto;
    float: none;
    color: #ffffff;
    background-image: linear-gradient(to bottom, #cca563 0%, #dbbb70 100%);
    border: 1px solid #d4b186;
    margin: 10px auto 0;
    top: 14px;
    padding: 10px 32px 10px 32px;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    border-radius: 24px;
    transition: all 0.25s ease-out 0s;
    display: block;
    position: relative;
    vertical-align: baseline;
    outline: none !important;
    font-family: 'Raleway', sans-serif;
    line-height: normal;
    box-shadow: none;
    z-index: 1;
}

.modal.modalsearch .modal-content .modal-body .search-submit:hover {
    color: #ffffff;
    background: none;
    border-color: rgba(255,255,255,0.5);
}


/*Smartphone css*/
@media screen and (max-width: 480px) {
.close { top: 3%; right: 5%;}
.modal-content { width: 90%;}
.modal-body p { margin: 0 0 14px;}
.modal-body h2 { font-size: 20px; line-height: 29px; margin: 0 0 16px;}
.modal-body { padding: 45px 5% 30px;}
.modal.modalsearch .modal-content .modal-body .search-field {width: 90%; margin: 0 auto 0;}
.modal.modalsearch .modal-content label {font-size: 26px;}
.modal.modalsearch .modal-content .modal-body {padding: 35px 5% 45px;}
.modal.modalsearch .modal-content .modal-body .search-submit {font-size: 12px;}
}

@media screen and (min-width:481px) and (max-width:600px) {
.close { top: 3%; right: 5%;}
.modal-content { width: 90%;}
.modal-body p { margin: 0 0 14px;}
.modal-body h2 { font-size: 20px; line-height: 29px; margin: 0 0 16px;}
.modal-body { padding: 45px 5% 30px;}
.modal.modalsearch .modal-content .modal-body {padding: 35px 5% 45px;}
.modal.modalsearch .modal-content .modal-body .search-submit {font-size: 12px;}
}

@media screen and (min-width:601px) and (max-width:767px) {
.close { top: 3%; right: 5%;}
.modal-content { width: 90%;}
.modal-body p { margin: 0 0 14px;}
.modal-body h2 { font-size: 20px; line-height: 29px; margin: 0 0 16px;}
.modal-body { padding: 45px 5% 30px;}
.modal.modalsearch .modal-content .modal-body {padding: 35px 5% 45px;}
.modal.modalsearch .modal-content .modal-body .search-submit {font-size: 12px;}
}

@media screen and (min-width:768px) and (max-width:900px) {
.modal-content { width:60%;}
.modal-body p { margin:0 0 10px;}
.modal-body h2 { font-size:20px; line-height:29px; margin:0 0 20px;}
}

@media screen and (min-width:901px) and (max-width:1024px) {
.modal-content { width:55%;}
.modal-body p { margin:0 0 13px;}
.modal-body h2 { font-size:22px; line-height:31px; margin:0 0 23px;}
}

@media screen and (min-width:1025px) and (max-width:1240px) {

}