
@import url('https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css');
@import url('https://use.typekit.net/pdd8igz.css');

/* ============= ELEMENT SELECTORS ============ */

body {
    font-size: 20px;
    line-height: 1.5;
    background-color: var(--site_background_color);
}
body.frontpage::before {
    content: "";
    display: block;
    height: 100vh;
    background: url(../admin/tmp//page-bg.jpg) no-repeat bottom center;
    background-size: border-box;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
}
img ,picture{
    max-height: 520px;
    width: 100%;
    
}
h1, h2, h3, h4 { 
    font-weight: bold;
    text-align: center;
    color: #004731;
}
h1 {
    font-size: 70px;
    margin: 0 0 50px 0;
}
h2 {
    font-size: 50px;
    margin: 50px 0;
}
h3 {
    text-align: left;
    font-size: 30px;
    margin: 40px 0 10px 0;
}
h4 {
    margin: 20px 0 10px 0;
    font-size: 22px;
}
p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.content ul {
    margin: 40px 0;
    padding-left: 40px;
    list-style-type: disc;
}

/* ============= STRUCTURE ============ */
.maximum-width{
    height: 100vh;
}
.high-width{
    margin-top: 200px;
}
.search-result-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.page-wrapper {
    display: flex;
    flex-direction: column;
}
.inner-wrapper {
    max-width: 1080px;
    margin: 0 auto;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 100px;
} 
.main {
    flex: 1;
}
.footer__top,
.footer__bottom {
    padding: 30px;
    text-align: center;
    line-height: 2.5;  
    font-family: Arial, Helvetica, sans-serif;
}
.footer__top {
    background-color: var(--site_footer_color);
    text-transform: uppercase;  
    letter-spacing: 5px; 
}
.footer__bottom {
    background-color: #30333D;
    color: #999;
    font-size: 12px;
    letter-spacing: 1px;

}

/* ============= MENU ============ */

.menu-primary{
    font-size: 20px;
    padding: 0 20px;
    text-transform: uppercase;
    width: 100%;
}
.menu-primary ul{
    display: flex;
}
.menu-primary li {
    background-color: var(--site_menu_color);
}
.menu-primary li:nth-child(3) {
    margin-right: auto;
}
.menu-primary a {
    display: flex;
    padding: 15px 30px;
    text-decoration: none;
    color: #fff;
    color: #F2D457;
}
#menu-primary__button-trigger {
    display: none;
}
.full-width{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ============= LOGO ============ */

.logo {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;;
    height: 50px;
    margin: 0 auto;
}
.logo__text {
    font-family: nueva-std, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    text-transform: uppercase;
    background-color: #004731;
    color: #fff;
    padding: 10px 30px;
    transition: font-size .5s; 
}
.logo__text::before,
.logo__text::after {
    content: "";
    background-color: #0c6d4f;
    display: block;
    width: 30px;
    height: 10px;
    position: absolute;
    bottom: -18px;
    z-index: -1;
}
.logo__text::before {
    left: 0;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.logo__text::after {
    right: 0;
    clip-path: polygon(0 0, 0 100%, 100% 0);
}
.logo__symbol {
    position: absolute;
    top: 15px;
    transform: translateY(-100%);
    transition: top .5s; 
}
.logo::before,
.logo::after  {
    content: "";
    display: block;
    background-color: #01371f;
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: -2; 
    bottom: -18px;
}
.logo::before {        
    left: 30px;
    transform: translateX(-100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%);
}
.logo::after {        
    right: 30px;
    transform: translateX(100%) rotate(180deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%);
}

/* ============= HERO ============ */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
} 
.frontpage .hero {
    margin: 0 40px;
}
.hero:not(.frontpage .hero) {
    min-height: 600px;
    margin-top: 220px;
    background: #ccc center no-repeat;
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
}

/* ============= SEARCH ============ */

.search {
    display: flex;
    width: 800px;
    max-width: 100%;
}
.search input {
    font-size: 30px;
    color: #000;
    width: 100%;
    height: 60px;
    border: none;
    padding: 15px;
    box-sizing: border-box;
    outline: none;
}
.search input[type="submit"] {
    color: #fff;
    width: 60px;
    height: 60px;
    background: #004731 url(../admin/tmp/search_white_24dp.svg) no-repeat center;
    background-size: 80%;
}

/* ============= SECTIONS ============ */

.section {
    background-color: var(--site_background_color);
    padding: 50px 30px;
}
main .section:nth-child(2n + 2){
    background-color: #eee;
}

/* ============= TABLES ============ */

.content table {
    margin-top: 40px;
}
.content table thead tr {
    background-color: #004731;
    color: #fff;
}
.content table tbody tr:nth-child(even) {
    background-color: #eee;
    color: #000;
}
.content table th,
.content table td {
    padding: 15px; 
    text-align: left;
}  
/* ============= form ============ */
.login-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}
.large-section form{
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 300px;
}
.large-section form input{
    border: none;
    width: 100%;
    max-height: 35px;
    background-color: transparent;
    color: black;
    border: #01371f 2px solid;
    padding: 7px;
}
.large-section form button{
    border: none;
    width: 100%;
    min-height: 35px;
    color: white;
    background-color: #0c6d4f;
    font-size: 1.5rem;
    cursor: pointer;
}
.large-section form input::placeholder{
    color: rgb(167, 167, 167);
    font-size: 1.2rem;
}


/* ============= CARD ============ */

.cards-large,
.cards-small {
    display: flex; 
    gap: 40px;
    flex-wrap: wrap;
}
.card {
    position:relative;
    flex: 1;
    max-height: 600px;
    max-width: 600px;
}
.card__img {
    position: relative;
}
iframe{
    width: 100%;
}
.card__img::before {
    content: "";
    display: block;
    position: absolute;
    width: 52px;
    height: 26px;
    border-radius: 0 0 26px 26px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background-color: #fff;
}
.card__img img {
    display: block;
}
.card__text {
    background-color: #004731;
    color: #fff;
    line-height: 1.5;
    font-size: 20px;
    padding: 10px 20px;
    width: calc(100% + 20px);
    margin-left: -20px;
    box-sizing: border-box;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
    bottom: 50px;
}
.card__text::before {
    content: "";
    display: block;
    width: 21px;
    height: 10px;
    background-color: #0c6d4f;
    position: absolute;
    top: -9px;
    left: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    text-transform: uppercase;
}

/* ============= CARD SMALL ============ */

.card-small {
    display: flex;
    flex-wrap: wrap;
    width: calc(calc(100% / 3) - 27px);
}
.card-small__img {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;

}
.card-small__text {
    flex: 1;
    color: #000;
    padding-left: 20px;
    box-sizing: border-box;
    font-size: 24px;
    display: flex;
    align-items: center;
    font-weight: bold;
}
.card-small a {
    text-decoration: none;
    color: #004731;
}

/* ============= GRID ============ */

.grid-parent {
    display: flex;
    gap: 40px;
}
.grid-child-50 {
    width: 50%;
}

/* ============= WEB ANIMATION ============ */

@keyframes move {
    100% {transform: translateY(-50%)}
}

.arrow-down{
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: rgba(0,0,0, .8) url(../admin/tmp/arrow_downward_white_24dp.svg) no-repeat center;
    background-size: 60%;
    position: absolute;
    bottom: 50px;
    left: 50%;
    margin-left: -50px; 
    border-radius: 50%;
    animation: move .5s alternate infinite;
}



.btn {
    background-color: #004731;
    color: #F2D457;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 150px;
    position: relative;
    font-size: 24px;
    margin: 0 auto;
    margin-top: 40px;
}
.btn::before,
.btn::after {
    content: "";
    display: inline-block;
    background-color: inherit;
    width: 25px;
    height: 25px;
    position: absolute;
}
.btn::before {
    border-radius: 25px;
    left: -12px;
}
.btn::after {
    border-radius: 25px;
    right: -12px;
}




/*more */
.profile-container-inner{
	display: flex;
	gap: 10px;
	padding: 20px;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	color: white;
}
.profile-container{
	max-width: 800px;
	max-height: 400px;
	background: #787878;
	min-width: 500px;
	min-height: 400px
}
.profile-container-inner-first img{
	width: 100px;
	height: 100px;
	background-color: white;
}
.profile-container-inner-first{
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	width: 20%;
	height: 100%;
}
.profile-container-inner-last{
	width: 80%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 400px;
}
.profile-info-container{
	width: calc(100% - 30px);
	height: 100%;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.profile-top{
	height: 35px;
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 20px;
	border-bottom: 2px solid whitesmoke;
}
.profile-middle{
	width: 100%;
	height: calc(100% - 40px);
}
.profile-middle-inner{
	padding: 10px;
	width: 100%;
	height: 100%;
	display: flex;
	
}
.profile-container-inner-last span{
	font-size: 1.3rem;
	display: flex;
	gap: 5px;
	font-weight: bold;
}
.profile-container-inner-last small{
	font-size: 1rem;
}
.profile-bottom{
	height: 20px;
	width: 100%;
	border-top: 2px solid whitesmoke;
}
.profile-bottom-inner{
	display: flex;
	justify-content: space-between;
}
.profile-container-inner-first span{
	font-weight: bold;
	font-size: 1.9rem;
}

.image_area:hover .overlay {
    height: 50%;
    cursor: pointer;
  }
  .image_area {
    position: relative;
	width: 100px;
  }

  .image_area img {
        display: block;
      width: 100%;
      max-width: 200px;
  }
  .overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    height: 0;
    transition: .5s ease;
    width: 100%;
  }

  .text {
    color: #333;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }


.article-bottom{
	background-color: transparent;
}

  .replay-area{
    margin-top:200px;
  }
.comments-container {
	margin: 60px auto 15px;
	width: 768px;
 }
 
 .comments-container h1 {
	font-size: 36px;
	color: #283035;
	font-weight: 400;
 }
 
 .comments-container h1 a {
	font-size: 18px;
	font-weight: 700;
 }
 
 .comments-list {
	position: relative;
	max-width: 900px;
	overflow-y: scroll;
 }

 .comments-list span{
	font-size: 1.6rem;
	color: white;
	margin-left: 50px;
 }
 
 .comments-list:before {
	content: '';
	width: 2px;
	height: 100%;
	background: #c7cacb;
	position: absolute;
	left: 32px;
	top: 0;
 }
 .infomation{
	 display: flex;
	 gap: 5px;
	 margin-left: 45px;
 }
 .comments-list:after {
	content: '';
	position: absolute;
	background: #c7cacb;
	bottom: 0;
	left: 27px;
	width: 7px;
	height: 7px;
	border: 3px solid #dee1e3;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
 }
 
 .reply-list:before, .reply-list:after {display: none;}
 .reply-list li:before {
	content: '';
	width: 60px;
	height: 2px;
	background: #c7cacb;
	position: absolute;
	top: 25px;
	left: -34px;
 }
 
 
 .comments-list li {
	margin-bottom: 15px;
	display: flex;
	align-items: unset !important;
	gap: 20px;
	position: relative;
 }
 
 .comments-list li:after {
	content: '';
	display: block;
	clear: both;
	height: 0;
	width: 0;
 }
 
 .reply-list {
	padding-left: 68px;
	clear: both;
	display: flex;
	flex-direction: column;
	margin-top: 15px;
 }
 
 .comments-list .comment-field {
	width: 60px;
	min-width: 65px;
	height: 65px;
	position: relative;
	z-index: 99;
	float: left;
	color: black;
	font-size: 1.1rem;
	font-weight: bold;
	background-color: white;
	border: 3px solid #FFF;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	overflow: hidden;
 }
 .comment-field img{
  height: 60px;
  width: 60px;
 }
 
 .comments-list .comment-box img {
	width: 100%;
	height: 100%;
 }
 
 .reply-list .comment-field {
	width: 50px;
	height: 50px;
 }
 .comment-main-level{
	 display: flex;
	 gap: 20px;
 }
 .comment-main-level:after {
	content: '';
	width: 0;
	height: 0;
	display: block;
	clear: both;
 }
 
 .comments-list .comment-box {
	width: 680px;
	float: right;
	position: relative;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
	box-shadow: 0 1px 1px rgba(0,0,0,0.15);
 }
 
 .comments-list .comment-box:before, .comments-list .comment-box:after {
	content: '';
	height: 0;
	width: 0;
	position: absolute;
	display: block;
	border-width: 10px 12px 10px 0;
	border-style: solid;
	border-color: transparent #FCFCFC;
	top: 8px;
	left: -11px;
 }
 
 .comments-list .comment-box:before {
	border-width: 11px 13px 11px 0;
	border-color: transparent rgba(0,0,0,0.05);
	left: -12px;
 }
 
 .reply-list .comment-box {
	width: 610px;
 }
 .comment-box .comment-head {
	 display: flex;
	 gap: 10px;
	 justify-content: space-between;
	background: #FCFCFC;
	padding: 10px 12px;
	border-bottom: 1px solid #E5E5E5;
	overflow: hidden;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
 }
 .info-content{
	 display: flex;
	 gap: 10px;
 }
 .comment-box .comment-head i {
	float: right;
	margin-left: 14px;
	position: relative;
	top: 2px;
	color: #A6A6A6;
	cursor: pointer;
	-webkit-transition: color 0.3s ease;
	-o-transition: color 0.3s ease;
	transition: color 0.3s ease;
 }
 
 .comment-box .comment-head i:hover {
	color: #03658c;
 }
 
 .comment-box .comment-name {
	color: #283035;
	font-size: 14px;
	font-weight: 700;
	float: left;
	margin-right: 10px;
 }
 
 .comment-box .comment-name a {
	color: #283035;
 }
 
 .comment-box .comment-head span {
	float: left;
	color: #999;
	font-size: 13px;
	position: relative;
	top: 1px;
 }
 .comment-content form{
	 width: 100%;
	 height: 100%;
 }
 .comment-content {
	 display: flex;
	 flex-direction: column;
	 gap: 5px;
 }
 .comment-box .comment-content form #edit-area{
	 width: 100%;
	 height: 100%;
 }
 
 .comment-box .comment-content {
	 word-break: break-all;
	 max-width: 680px;
	 display: flex;
	 align-items: flex-start;
	background: #FFF;
	padding: 12px;
	font-size: 15px;
	color: #595959;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
 }
 .comment-head form{
	 display: flex;
	 flex-direction: row;
 }
 
 .actions-wrapper a, .actions-wrapper button{
	 gap: 5px;
	 text-decoration: none;
	 color: #03658c;
	 font-size: 1rem;
	 font-weight: bold;
 }
 .actions-wrapper a {
	 color: rgb(255, 71, 71);
 }
 #reply-btn i{
	 font-size: 18px;
 }
 .actions-wrapper{
	 display: flex;
	 flex-direction: row-reverse;
 }
 .comment-head form button{
	 background-color: transparent;
	 color: rgb(38, 122, 212);
	 width: auto;
	 height: auto;
	 font-size: 1rem;
	 font-weight: bolder;
	 cursor: pointer;
 }
 
 .comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {color: #03658c;}
 .comment-box .comment-name.by-author:after {
	content: 'autor';
	background: #03658c;
	color: #FFF;
	font-size: 12px;
	padding: 3px 5px;
	font-weight: 700;
	margin-left: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
 }
 
 
 @media only screen and (max-width: 900px) {
	.comments-container {
		width: 480px;
	}
 
	.comments-list .comment-box {
		width: 390px;
	}
 
	.reply-list .comment-box {
		width: 320px;
	}
 }
 @media only screen and (max-width: 700px) {
	 .comments-container {
		 width: 280px;
	 }
  
	 .comments-list .comment-box {
		 width: 310px;
	 }
  
	 .reply-list .comment-box {
		 width: 220px;
	 }
  }
  @media only screen and (max-width: 500px) {
	 .comments-container {
		 width: 280px;
	 }
   .comment-main-level{
	 flex-direction: column;
   }
   .comments-list .comment-box:before, .comments-list .comment-box:after{
	 transform: rotate(90deg);
	 top: calc(-16px);
	 left: calc(50% - 10px);
   }
	 .comments-list .comment-box {
		 width: 310px;
	 }
	 .bottom-article-wrapper{
		 padding: 0;
	 }
  
	 .reply-list .comment-box {
		 width: 220px;
	 }
  }
 /* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
  }
  
  /* Modal Body */
  .modal-body {padding: 2px 16px;}
  
  /* Modal Footer */
  .modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
  }
.modal{
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
    background: #00000054;
    position: absolute;
    z-index: 4;
  }
  /* Modal Content */
  .modal-content {
    position: absolute;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    top:calc(50% - 81px / 2);
    left: calc(50% - 300px / 2);
    border: 1px solid #888;
    width: 300px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
  /* Add Animation */
  @keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
  }