/*
 Theme Name: Twenty Sixteen Child
 Theme URI: https://yourwebsite.com/
 Description: My custom child theme for Twenty Sixteen.
 Author: Your Name
 Author URI: https://yourwebsite.com/
 Template: twentysixteen
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: twentysixteen-child
*/

/* เพิ่มโค้ด CSS ของคุณที่นี่ */
/* ตัวอย่าง: เปลี่ยนสีพื้นหลัง */
/*
body {
    background-color: #f0f0f0;
}
*/



@font-face {
    font-family: 'vintage'; 
    src: url('./fonts/vintage3.woff2') format('woff2');
    font-weight: normal; 
    font-style: normal; 
    font-display: swap; 
}


@media (max-width: 768px) {

.site-info {
	padding-top: 30px;
    text-align: center;
}

}


/**************** [ Theme Edit ] ****************/

body,
button,
input,
select,
textarea {
	font-family: "Sarabun", "Kanit", "Roboto", "Charmonman", serif;
}

body {
	background: #fff;
}

.site-inner {
	background-color: #f7f7f7;
}




.site-header {
	background-color: #5d310e;
	background-image: -webkit-linear-gradient(top, #ad6429 0%, #3b1f08 2px, #5d310e 92px, #5d310e 100%);
	background-image: linear-gradient(to bottom, #ad6429 0%,#3b1f08 2px,#5d310e 92px,#5d310e 100%);
	background-repeat: repeat-x;

   	padding: 0 2.3%;
}

.site-title {
    font-family: "Kanit",sans-serif;
	font-size: 27px;
}

.site-branding .site-title a {
	color: #fff;
}

.site-branding .site-title a:hover,
.site-branding .site-title a:focus {
	color: #dfdfdf;
}

.site-description {
    font-family: "Charmonman", cursive;
	color: #f2f3fd;
	font-size: 14px;
}

.entry-header,
.entry-summary,
.entry-content,
.entry-footer,
.page-content {
	margin-right: 0;
	margin-left: 0;
}

.entry-footer {
	font-family: "Sarabun", "Kanit", "Roboto", serif;
}

.entry-footer a {
	color: #000;
}

.entry-footer a:hover,
.entry-footer a:focus {
	text-decoration: none;
	color: #222222;
}

.entry-footer > span:not(:last-child):after {
	content: none;
}

.site-footer {
	height: 84px;
	background-color: #5d310e;
	background-image: -webkit-linear-gradient(top, #ad6429 0%, #3b1f08 2px, #5d310e 92px, #5d310e 100%);
	background-image: linear-gradient(to bottom, #ad6429 0%,#3b1f08 2px,#5d310e 92px,#5d310e 100%);
	background-repeat: repeat-x;
}

.site-info {
	font-family: "Kanit", Roboto;
	margin: 30px auto;
}

.site-info a {
	color: #bcbcbd;
}

.site-info a:hover,
.site-info a:focus {
	color: #bcbcbd;
	text-decoration: none;
}

.site-footer .site-title:after {
	content: none;
	font-family: Kanit, sans-serif;
}

.site-footer span[role=separator]::before {
	content: none;
}



@media screen and (min-width: 44.375em) {
	body:not(.custom-background-image):before,
	body:not(.custom-background-image):after {
		display: none !important;
	}

	body:not(.custom-background-image):before {
		top: 0;
	}

	body:not(.custom-background-image).admin-bar:before {
		top: 0;
	}

	body:not(.custom-background-image):after {
		bottom: 0;
	}

	.site {
		margin: 0;
	}

	.site-main {
		margin-bottom: 0;
	}

	.site-header {
		padding: 0 2.3%;
	}

}
@media screen and (min-width: 56.875em) {
	.site-content {
		padding: 0.7% 1.1%;
	}

	.no-sidebar .entry-header,
	.no-sidebar .entry-content,
	.no-sidebar .entry-summary,
	.no-sidebar .entry-footer,
	.no-sidebar .comments-area,
	.no-sidebar .image-navigation,
	.no-sidebar .post-navigation,
	.no-sidebar .pagination,
	.no-sidebar .page-header,
	.no-sidebar .page-content,
	.no-sidebar .content-bottom-widgets {
		margin-right: 0;
		margin-left: 0;
    }

    .widecolumn {
		padding-right: 0;
		padding-left: 0;
	}

}

@media screen and (min-width: 61.5625em) {
	.site-header {
		padding: 0 2.3%;
	}

	body.no-sidebar:not(.search-results) article:not(.type-page) .entry-content {
		margin-right: 0;
		margin-left: 0;
		width: 100%;
	}

	body.no-sidebar:not(.search-results) article:not(.type-page) .entry-footer {
		margin-left: 0;
		width: 0;
	}

}



/**************** [ Lazy Menu Styles Conp ] ****************/


.t-tab-conp {
	font-size: 1.2em;
  	width: 100%;
    flex: 1;
    
}

.t-tab-conp .dd {
  font-size: 107%;
	text-shadow: 1px 1px 1px #b6b6b6;
  font-weight: bold;
  margin-bottom: 17px;
  text-align: center;
}

.t-tab-conp .b1 {
  font-size: 107%;
  font-weight: bold;
  color: #4385FF;
  text-shadow: 1px 1px 1px #92b8ff;

}

.t-tab-conp .b2 {
  font-size: 102%;
  font-weight: bold;
  margin-left: 19px;
	color: #FFB146;
	text-shadow: 1px 1px 1px #f8ce94;


}

.t-tab-conp .b3 {
  font-size: 102%;
  font-weight: bold;
  margin-left: 37px;
	color: #73CC30;
	text-shadow: 1px 1px 1px #c0f895;

}

.t-tab-conp .b4 {
  font-size: 102%;
  font-weight: bold;
  margin-left: 54px;
	color: #e092e0;
	text-shadow: 1px 1px 1px #fdd5fd;

}

.t-tab-conp .b5 {
  font-size: 102%;
  font-weight: bold;
  margin-left: 72px;
	color: #f16524;
	text-shadow: 1px 1px 1px #f5dfc1;

}

.t-tab-conp .d1 {
  text-indent: 1.5em;
  display: block;
text-align: left;
}

.t-tab-conp .d2 {
  text-indent: 2.6em;
  display: block;
text-align: left;

}

.t-tab-conp .d3 {
  text-indent: 3.7em;
  display: block;
text-align: left;

}

.t-tab-conp .d4 {
  text-indent: 4.8em;
  display: block;
text-align: left;

}

.t-tab-conp .d5 {
  text-indent: 5.9em;
  display: block;
text-align: left;

}

.t-tab-conp .ts {
	text-indent: 1em;
    margin:7px 0 9px 0;
	color: #13bbee;
    display: block;

}

.t-tab-conp .ts1 {
	text-indent: 1em;
  margin:7px 0 9px 0;
	color: #13bbee;

}

.t-tab-conp .te {
	color: #8a8989;
	text-shadow: 1px 1px 1px #acacac;
	display: block;
  	text-align: center;

}


/**************** [ Exams Conp ] ****************/

.t-tab-conp .ecb {
    text-align: center;
    font-weight: bold;
	clear: both;
}

.t-tab-conp .ec {
    text-align: center;
}

.t-tab-conp .el {
    font-family: 'vintage', sans-serif;
	color: #070f18;
	font-size: 7.4em;
	text-align: center;
	margin-top: -120px;
	margin-bottom: -50px;

}

.t-tab-conp .e1 {
	text-indent: 5.7%;
}






.t-tab-conp .ex {
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 17px;
    overflow: hidden;
    clear: both;
}
.t-tab-conp .num {
    width: 55px;
    float: left;
    font-weight: bold;
    clear: left;
}

.t-tab-conp .ans {
    width: 50px;
    margin-left: 55px;
    float: left;
    font-weight: bold;
    clear: left;
}

.t-tab-conp .asu,
.t-tab-conp .qsu {
    width: 50px;
    float: left;
}

.t-tab-conp .asb,
.t-tab-conp .qsb {
    width: 50px;
    margin-left: 105px;
    float: left;
    clear: left;
}

.t-tab-conp .que1,
.t-tab-conp .qsu1,
.t-tab-conp .qsb2r,
.t-tab-conp .qsb3r {
    width: auto;
    font-weight: bold;
}

.t-tab-conp .que2l {
    width: 47%;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qsu2l {
    width: 40%;
    float: left;
    font-weight: bold;
}

.t-tab-conp .que2r,
.t-tab-conp .qub2r,
.t-tab-conp .qsu2r,
.t-tab-conp .qsu3r,
.t-tab-conp .que3r,
.t-tab-conp .qub3r {
    width: auto;
    font-weight: bold;
    clear: right;
}

.t-tab-conp .que3l,
.t-tab-conp .qub3c,
.t-tab-conp .que3c {
    width: 32%;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qsu3l,
.t-tab-conp .qsu3c,
.t-tab-conp .qsb3c {
    width: 27%;
    float: left;
    font-weight: bold;
}

.t-tab-conp .que41,
.t-tab-conp .que42,
.t-tab-conp .que43,
.t-tab-conp .que44,
.t-tab-conp .qub42,
.t-tab-conp .qub43,
.t-tab-conp .qub44 {
    width: 23%;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qsu41,
.t-tab-conp .qsu42,
.t-tab-conp .qsu43,
.t-tab-conp .qsu44,
.t-tab-conp .qsb42,
.t-tab-conp .qsb43,
.t-tab-conp .qsb44 {
    width: 20%;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qub1 {
    width: auto;
    text-indent: 55px;
    font-weight: bold;
    clear: both;
}

.t-tab-conp .qsb1 {
    width: auto;
    text-indent: 105px;
    font-weight: bold;
    clear: both;
}

.t-tab-conp .qub2l {
    width: 47%;
    margin-left: 55px;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qsb2l {
    width: 40%;
    margin-left: 155px;
    float: left;
    font-weight: bold;
    clear: left;
}

.t-tab-conp .qub3l {
    width: 32%;
    margin-left: 55px;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qsb3l {
    width: 27%;
    margin-left: 155px;
    float: left;
    font-weight: bold;
    clear: left;
}

.t-tab-conp .qub41 {
    width: 23%;
    margin-left: 55px;
    float: left;
    font-weight: bold;
}

.t-tab-conp .qsb41 {
    width: 20%;
    margin-left: 155px;
    float: left;
    font-weight: bold;
    clear: left;
}

.t-tab-conp .ans1,
.t-tab-conp .anb2r,
.t-tab-conp .ans2r,
.t-tab-conp .ans3r,
.t-tab-conp .anb3r,
.t-tab-conp .asu1,
.t-tab-conp .asb2r,
.t-tab-conp .asb3r {
    width: auto;
}

.t-tab-conp .ans2l {
    width: 42%;
    float: left;
}

.t-tab-conp .ans3l,
.t-tab-conp .ans3c,
.t-tab-conp .anb3c {
    width: 29%;
    float: left;
}

.t-tab-conp .ans41,
.t-tab-conp .ans42,
.t-tab-conp .ans43,
.t-tab-conp .ans44,
.t-tab-conp .anb42,
.t-tab-conp .anb43,
.t-tab-conp .anb44 {
    width: 22%;
    float: left;
}

.t-tab-conp .anb1 {
    width: auto;
    text-indent: 105px;
    clear: left;
}

.t-tab-conp .anb2l {
    width: 42%;
    margin-left: 105px;
    float: left;
}

.t-tab-conp .anb3l {
    width: 29%;
    margin-left: 105px;
    float: left;
}

.t-tab-conp .anb41 {
    width: 22%;
    margin-left: 105px;
    float: left;
}

.t-tab-conp .asu2l {
    width: 40%;
    float: left;
}

.t-tab-conp .asu2r,
.t-tab-conp .asu3r {
    width: auto;
    clear: right;
}

.t-tab-conp .asu3l,
.t-tab-conp .asu3c,
.t-tab-conp .asb3c {
    width: 27%;
    float: left;
}

.t-tab-conp .asu41,
.t-tab-conp .asu42,
.t-tab-conp .asu43,
.t-tab-conp .asu44,
.t-tab-conp .asb42,
.t-tab-conp .asb43,
.t-tab-conp .asb44 {
    width: 20%;
    float: left;
}

.t-tab-conp .asb1 {
    width: auto;
    text-indent: 155px;
    clear: both;
}

.t-tab-conp .asb2l {
    width: 40%;
    margin-left: 155px;
    float: left;
    clear: left;
}

.t-tab-conp .asb3l {
    width: 27%;
    margin-left: 155px;
    float: left;
    clear: left;
}

.t-tab-conp .asb41 {
    width: 20%;
    margin-left: 155px;
    float: left;
    clear: left;
}

@media (max-width: 768px) {
    .t-tab-conp .e1 {
        text-indent: 2.5%;
    }

    .t-tab-conp .num {
        width: 55px;
        float: left;
        font-weight: bold;
        clear: left;
    }

    .t-tab-conp .ans {
        width: 40px;
        margin-left: 0px;
        float: left;
        font-weight: bold;
        clear: left;
    }

    .t-tab-conp .asu,
    .t-tab-conp .qsu {
        width: 50px;
        float: left;
    }

    .t-tab-conp .asb,
    .t-tab-conp .qsb {
        width: 50px;
        margin-left: 40px;
        float: left;
        clear: left;
    }


    /************************/


.t-tab-conp .qsu1 {
    width: auto;
    font-weight: bold;
}



.t-tab-conp .qsb2r,
.t-tab-conp .qsb3r {
    width: 100%;
    font-weight: bold;
    text-indent: 90px;
    margin-left: 0px;
    clear: both;
}


.t-tab-conp .qsu2l {
    width: auto;
    font-weight: bold;
}

.t-tab-conp .qsu2r,
.t-tab-conp .qsu3r {
    width: 100%;
    font-weight: bold;
    text-indent: 90px;
    margin-left: 0px;
    clear: both;
}

.t-tab-conp .qsu3l {
    width: auto;
    font-weight: bold;
}


.t-tab-conp .qsu3c,
.t-tab-conp .qsb3c {
    width: 100%;
    font-weight: bold;
    text-indent: 90px;
    margin-left: 0px;
    clear: both;
}

.t-tab-conp .qsu41 {
    width: auto;
    font-weight: bold;
}

.t-tab-conp .qsb41 {
    width: 100%;
    text-indent: 90px;
    margin-left: 0px;
    font-weight: bold;
    clear: both;
}





.t-tab-conp .qsu42,
.t-tab-conp .qsu43,
.t-tab-conp .qsu44,
.t-tab-conp .qsb42,
.t-tab-conp .qsb43,
.t-tab-conp .qsb44 {
    width: 100%;
    font-weight: bold;
    text-indent: 90px;
    margin-left: 0px;
    clear: both;
}

.t-tab-conp .qsb1 {
    width: auto;
    text-indent: 105px;
    font-weight: bold;
    clear: both;
}

.t-tab-conp .qsb2l {
    width: 100%;
    margin-left: 90px;
    font-weight: bold;
}

.t-tab-conp .qsb3l {
    width: 100%;
    margin-left: 90px;
    font-weight: bold;
}





/*************************/
    .t-tab-conp .que1,
    .t-tab-conp .que2l,
    .t-tab-conp .que3l,
    .t-tab-conp .que41 {
        width: auto;
        font-weight: bold;
    }

    .t-tab-conp .que2r,
    .t-tab-conp .que3r,
    .t-tab-conp .qub3r {
        width: 100%;
        text-indent: 55px;
        font-weight: bold;
        clear: both;
    }

    .t-tab-conp .qub2r,
    .t-tab-conp .qub3c,
    .t-tab-conp .que3c {
        width: 100%;
        text-indent: 55px;
        font-weight: bold;
    }

    .t-tab-conp .qub1 {
        width: auto;
        text-indent: 55px;
        margin-left: 0px;
        font-weight: bold;
        clear: both;
    }

    .t-tab-conp .que42,
    .t-tab-conp .que43,
    .t-tab-conp .que44,
    .t-tab-conp .qub42,
    .t-tab-conp .qub43,
    .t-tab-conp .qub44,
    .t-tab-conp .qub2l,
    .t-tab-conp .qub3l,
    .t-tab-conp .qub41 {
        width: 100%;
        text-indent: 55px;
        margin-left: 0px;
        font-weight: bold;
    }

    .t-tab-conp .ans1,
    .t-tab-conp .ans2l,
    .t-tab-conp .asu1,
    .t-tab-conp .ans3l,
    .t-tab-conp .ans41,
    .t-tab-conp .asu2l,
    .t-tab-conp .asu3l,
    .t-tab-conp .asu41 {
        width: auto;
    }

    .t-tab-conp .asb2r {
        width: 100%;
        text-indent: 90px;
    }

    .t-tab-conp .ans2r,
    .t-tab-conp .ans3r,
    .t-tab-conp .anb2r {
        width: 100%;
        text-indent: 40px;
        margin-left: 0px;
        clear: both;
    }

    .t-tab-conp .anb3r,
    .t-tab-conp .ans3c,
    .t-tab-conp .anb3c,
    .t-tab-conp .ans42,
    .t-tab-conp .ans43,
    .t-tab-conp .ans44,
    .t-tab-conp .anb42,
    .t-tab-conp .anb43,
    .t-tab-conp .anb44,
    .t-tab-conp .anb1,
    .t-tab-conp .anb2l,
    .t-tab-conp .anb3l,
    .t-tab-conp .anb41 {
        width: 100%;
        text-indent: 40px;
        margin-left: 0px;
    }

    .t-tab-conp .asu2r,
    .t-tab-conp .asu3r {
        width: 100%;
        text-indent: 90px;
        margin-left: 0px;
        clear: both;
    }

    .t-tab-conp .asb3r,
    .t-tab-conp .asu3c,
    .t-tab-conp .asb3c,
    .t-tab-conp .asu42,
    .t-tab-conp .asu43,
    .t-tab-conp .asu44,
    .t-tab-conp .asb42,
    .t-tab-conp .asb43,
    .t-tab-conp .asb44,
    .t-tab-conp .asb1,
    .t-tab-conp .asb2l,
    .t-tab-conp .asb3l,
    .t-tab-conp .asb41 {
        width: 100%;
        text-indent: 90px;
        margin-left: 0px;
    }
}

/**************** [ Verse Conp ] ****************/

.t-tab-conp .ves {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}


.t-tab-conp .v1s {
    width: 100%;
	padding-left: 20%;
}

.t-tab-conp .v2s {
    width: 54%;
    float: left;
	padding-left: 15%;
    box-sizing: border-box;
}

.t-tab-conp .v3s {
    width: 36%;
    float: left;
	padding-left: 11%;
    box-sizing: border-box;
}

.t-tab-conp .v4s {
    width: 27%;
    float: left;
	padding-left: 7%;
    box-sizing: border-box;
}



.t-tab-conp .v1 {
    width: 100%;
	padding-left: 17%;
}

.t-tab-conp .v2l {
    width: 54%;
    float: left;
	padding-left: 12%;
    box-sizing: border-box;
}

.t-tab-conp .v2r {
    width: 46%;
    float: left;
    box-sizing: border-box;
}


.t-tab-conp .v3l {
    width: 36%; 
    float: left;
	padding-left: 7%;
    box-sizing: border-box;
}

.t-tab-conp .v3c {
    width: 32%; 
    float: left;
    box-sizing: border-box;
}

.t-tab-conp .v3r {
    width: 32%; 
    float: left;
    box-sizing: border-box;
}

.t-tab-conp .v4l {
    width: 27%;
    float: left;
	padding-left: 4%;
    box-sizing: border-box;
}

.t-tab-conp .v4c {
    width: 23%; 
    float: left;
    box-sizing: border-box;
}

.t-tab-conp .v4l:nth-child(4n),
.t-tab-conp .v4c:nth-child(4n) {

}

@media (max-width: 768px) {
.t-tab-conp .v1s,
.t-tab-conp .v2s,
.t-tab-conp .v3s,
.t-tab-conp .v4s {
    width: 100%;
	padding-left: 12%;
    float: none; 
    margin-right: 0; 
}

.t-tab-conp .v1,
.t-tab-conp .v2l,
.t-tab-conp .v2r,
.t-tab-conp .v3l,
.t-tab-conp .v3c,
.t-tab-conp .v3r,
.t-tab-conp .v4l,
.t-tab-conp .v4c {
	width: 100%; 
	padding-left: 5%;
	float: none; 
	margin-right: 0; 
	}

.t-tab-conp .v4l:nth-child(1n),
.t-tab-conp .v4c:nth-child(1n) {
    margin-right: 0;
	padding-left: 5%;
    }

}




/*---------------------------------------------*/
/*****  img HoverEffectIdeas-master begin  *****/
/*---------------------------------------------*/


 
  /* *, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; } // required */
  *, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
  .clearfix:before, .clearfix:after { display: table; content: ''; }
  .clearfix:after { clear: both; }
  
  .gridloadcont {
	margin: 0 auto;
	max-width: 100%;
}
  
  /* Common style */
  .gridload {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 100%;
	/*max-width: 1000px;*/
	list-style: none;
	text-align: center;
 }
 
 .gridload figure {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
	  position: relative;
	  float: left;
	  overflow: hidden;
	  margin: 7px 1%;
	  min-width: 210px;
	  max-width: 23%;
	  max-height: 360px;
	  width: 48%;
	  height: auto;
	  background: #3085a3;
	  text-align: center;
  }
  
  .gridload figure img {
	  position: relative;
	  display: block;
	  min-height: 100%;
	  max-width: 100%;
	  opacity: 0.8;
	  
	  
  }
  
  .gridload figure figcaption {
	  padding: 2em;
	  color: #fff;
	  text-transform: uppercase;
	  font-size: 1.25em;
	  -webkit-backface-visibility: hidden;
	  backface-visibility: hidden;
  }
  
  .gridload figure figcaption::before,
  .gridload figure figcaption::after {
	  pointer-events: none;
  }
  
  .gridload figure figcaption,
  .gridload figure figcaption > a {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%; 
  }
  
  /* Anchor will cover the whole item by default */
  .gridload figure figcaption > a {
	  z-index: 1000;
	  text-indent: 200%;
	  white-space: nowrap;
	  font-size: 0;
	  opacity: 0;
  }
  
.gridload figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
	background-color: #181818 ;
}

.gridload figure h2 span {
	font-size: 0.6em;
	font-weight: 600;
	padding: 3px;
}

.gridload figure h2,
.gridload figure p {
	font-size: 1.3em;
	margin: 0;
	color: #f2f8ff;
}

.gridload figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

  /*-----------------*/
  /***** Terry *****/
  /*-----------------*/
  
  figure.effect-terry {
	  background: #34495e;
  }
  
  figure.effect-terry figcaption {
	  padding: 1em;
  }
  
  figure.effect-terry figcaption::before,
  figure.effect-terry figcaption::after {
	  position: absolute;
	  width: 200%;
	  height: 200%;
	  border-style: solid;
	  border-color: #dbdada;
	  content: '';
	  -webkit-transition: -webkit-transform 0.35s;
	  transition: transform 0.35s;
  }
  
  figure.effect-terry figcaption::before {
	  right: 0;
	  bottom: 0;
	  border-width: 0 70px 60px 0;
	  -webkit-transform: translate3d(70px,60px,0);
	  transform: translate3d(70px,60px,0);
  }
  
  figure.effect-terry figcaption::after {
	  top: 0;
	  left: 0;
	  border-width: 15px 0 0 15px;
	  -webkit-transform: translate3d(-15px,-15px,0);
	  transform: translate3d(-15px,-15px,0);
  }
  
  figure.effect-terry img,
  figure.effect-terry p a {
	  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	  transition: opacity 0.35s, transform 0.35s;
  }
  
  figure.effect-terry img {
	  opacity: 0.85;
  }

    
  figure.effect-terry h2 {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0.4em 10px;
	width: 100%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
}

@media screen and (max-width: 920px) {
	figure.effect-terry h2 {
		padding: 0.75em 10px;
		font-size: 120%;
	}
}

  figure.effect-terry p {
	  float: right;
	  clear: both;
	  text-align: left;
	  text-transform: none;
	  font-size: 111%;
  }
  
  figure.effect-terry p a {
	  display: block;
	  margin-bottom: 1em;
	  color: #1178ee;
	  opacity: 0;
	  -webkit-transform: translate3d(90px,0,0);
	  transform: translate3d(90px,0,0);
  }
  
  figure.effect-terry p a:hover,
  figure.effect-terry p a:focus {
	  color: #3586e4;
  }
  
  figure.effect-terry:hover figcaption::before,
  figure.effect-terry:hover figcaption::after {
	  -webkit-transform: translate3d(0,0,0);
	  transform: translate3d(0,0,0);
  }
  
  figure.effect-terry:hover img {
	  opacity: 0.6;
  
  }
  
  figure.effect-terry:hover h2,
  figure.effect-terry:hover p a {
	  -webkit-transform: translate3d(0,0,0);
	  transform: translate3d(0,0,0);
  }
  
  figure.effect-terry:hover p a {
	  opacity: 1;
  }
  
  figure.effect-terry:hover p a:first-child {
	  -webkit-transition-delay: 0.025s;
	  transition-delay: 0.025s;
  }
  
  figure.effect-terry:hover p a:nth-child(2) {
	  -webkit-transition-delay: 0.05s;
	  transition-delay: 0.05s;
  }
  
  figure.effect-terry:hover p a:nth-child(3) {
	  -webkit-transition-delay: 0.075s;
	  transition-delay: 0.075s;
  }
  
  figure.effect-terry:hover p a:nth-child(4) {
	  -webkit-transition-delay: 0.1s;
	  transition-delay: 0.1s;
  }
  
  
  /* Media queries */
  @media screen and (max-width: 50em) {
	  .gridload figure {
		  display: inline-block;
		  float: none;
		  margin: 10px auto;
		  width: 100%;
	  }
  }
  
  .gridcl {
	width: 100%;
	height: 1px;
	clear: both;
}
  /*---------------------------------------------*/
  /*****   img HoverEffectIdeas-master end   *****/
  /*---------------------------------------------*/
  

/*---------------------------------------------*/
/*************** Menu begine   ***************/
/*---------------------------------------------*/

/* Base Menu */
.m-menu .menu {
    background-color: #e4e4e4;
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: solid 3px #e0e0e0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.m-menu .menu > .menu-item {
    position: relative;
    padding: 4px 13px;
    border-left: 1px solid #fafafa;
    border-right: 1px solid #d1d1d1;
}

.m-menu .menu > .menu-item a {
    color: #252838;
    font-weight: bold;
}

.m-menu .menu > .menu-item a:hover {
    color: #6a6c80;
}

/* Base Dropdown */
.m-menu .sub-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 0;
}

/* Home icon */
.m-menu .home-menu-item {
    position: block;
    font-size: 16px;
}

.m-menu .home-menu-item a {
    color: #252838 !important;
}

/* Default Dropdown */
.m-menu .sub-menu-wrapper:not(.mega-menu-cols-3) {
    left: 0;
    width: 200px;
}

.m-menu .menu-item:hover > .sub-menu-wrapper {
    display: block;
}

.m-menu .sub-menu-wrapper .menu-item a {
    font-weight: normal;
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    pointer-events: all;
}

.m-menu .sub-menu-wrapper .menu-item a:hover {
    background-color: #525252;
    color: #e2e1e1;
}

/* Mega Menu 3 Columns */
.m-menu .menu-item.mega-menu-cols-3 > .sub-menu-wrapper {
    left: -77%;
    transform: translateX(0);
    width: 800px;
}

.m-menu .menu-item.mega-menu-cols-3:hover > .sub-menu-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    padding: 7px;
}

.m-menu .menu-item.mega-menu-cols-3:hover > .sub-menu-wrapper a {
    color: #013f52;
}

.m-menu .menu-item.mega-menu-cols-3:hover > .sub-menu-wrapper a:hover {
    background-color: #a7a7a7;
    color: #fff;
}

/* Nested Mega Menu */
.m-menu .menu-item.mega-menu-nested > .sub-menu-wrapper {
    left: 110%;
    transform: translateX(-50%);
    width: auto;
}

.m-menu .menu-item.mega-menu-nested:hover > .sub-menu-wrapper {
    display: flex;
    gap: 11px;
    padding: 10px;
}

.m-menu .menu-item.mega-menu-nested > .sub-menu-wrapper > .menu-item,
.m-menu .menu-item.mega-menu-nested > .sub-menu-wrapper > .menu-item a {
    font-weight: bold;
    color: #783032;
    margin-left: 7px;
    flex-basis: 50%;
    pointer-events: none;
}

.m-menu .menu-item.mega-menu-nested .sub-menu-wrapper > .menu-item > .sub-menu-wrapper {
    display: block;
    position: static;
    padding-top: 10px;
}

.m-menu .menu-item.mega-menu-nested .sub-menu-wrapper .sub-menu-wrapper .menu-item a {
    font-weight: normal;
    color: #01215e;
    padding: 5px 7px;
    pointer-events: all;
}

.m-menu .menu-item.mega-menu-nested .sub-menu-wrapper .sub-menu-wrapper .menu-item a:hover {
    color: #b9d1ff;
}

@media (max-width: 768px) {
.m-menu .menu > .menu-item {
    padding: 2px 4px;
}
  
/* Base Dropdown */
.m-menu .sub-menu-wrapper {
    position: absolute;
    left: 50% !important;
    transform: translateX(0) !important;
}

.m-menu .menu-item.mega-menu-cols-3 > .sub-menu-wrapper {
    position: absolute;
    left: 0 !important;
    transform: translateX(0) !important;
    width: 550px !important;
}

.m-menu .menu-item.mega-menu-cols-3:hover > .sub-menu-wrapper {
    grid-template-columns: repeat(2, 1fr);
}


.m-menu .menu-item.mega-menu-nested:hover > .sub-menu-wrapper {
    display: block;
}

.m-menu .menu-item.mega-menu-nested .sub-menu-wrapper > .menu-item > .sub-menu-wrapper {
        left: 0% !important;
        transform: translateX(0%) !important;
}

}

@media (max-width: 425px) {
.m-menu .menu {
    justify-content: center;

}

.m-menu .menu > .menu-item {
    font-size: 85%;
    padding: 2px 4px;
}
  
/* Base Dropdown */
.m-menu .sub-menu-wrapper {
    position: absolute;
    left: 50% !important;
    transform: translateX(0) !important;
}

.m-menu .menu-item.mega-menu-cols-3 > .sub-menu-wrapper {
    position: absolute;
    left: -60% !important;
    transform: translateX(0) !important;
    width: 270px !important;
}

.m-menu .menu-item.mega-menu-cols-3:hover > .sub-menu-wrapper {
    grid-template-columns: repeat(1, 1fr);
}

.m-menu .menu-item.mega-menu-nested > .sub-menu-wrapper {
    position: absolute;
    left: -50% !important;
    transform: translateX(-50%) !important;
}

.m-menu .menu-item.mega-menu-nested:hover > .sub-menu-wrapper {
    display: block;
}

.m-menu .menu-item.mega-menu-right > .sub-menu-wrapper {
    position: absolute;
    right: -200% !important;
    transform: translateX(-100%) !important;
    width: 170px;
}

}
