*{
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
:root{
    --color-primary: #6c63ff;
    --color-sucess: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-varrient: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #111624;
    --color-bg1: #2e3267;
    --color-bg2: #424890;

    --container-width-lg: 80%;
    --container-width-md: 94%;
    --container-width-sm: 98%;

    --transition: all 400ms ease;
}
body{
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background: var(--color-bg);
}
.container{
    width: 98vw;
    margin: 0;
    padding: 2px 20px;
    position: relative;
}
h1, h2, h3, h4, h5 {
    line-height: 1.2;
}
h1{
    font-size: 2.4rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.6rem;
}
h4{
    font-size: 1.3rem;
}
a{
    color: var(--color-white);
}
img{
    width: 100%;
    display: block;
    object-fit: cover;
}
.cleaner { clear: both }
.titleframe-ring{
    width: 155px;
    height: 50px;
    border-radius: 15px 15px 0 0;
    background-color: var(--color-black);
    position: absolute;
    left: 100px;
}
.titleframe-ring p{
    margin-left: 200px;
    width: 300px;
}
.titlefraame{
    background-color: var(--color-primary);
    width: 150px;
    height: 45px;
    border-radius: 15px 15px 0 0;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    position: absolute;
    left: 2px;
    z-index: 10;
}
.titlefraame h2{
    margin: 0 12px;
    padding: 0 20px;
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--color-black);
}
.titlefraame p{
    position: absolute;
    top: 24px;
    left: 24px;
    letter-spacing: 2.5px;
    margin: 0 5px;
    padding: 0 10px;
    color: var(--color-bg);
}
.menu-ring{
    width: 100%;
    height: 43px;
    background-color: var(--color-black);
    position: relative;
    top: 40px;
    border-radius: 5px;
    z-index: 8;
}
.menu{
    display: flex;
    width: 100%;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 5px;
}
.menu-close{
    width: 25px;
    display: none;
}
.menu ul{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    justify-content: space-between;
    margin-right: 20px;
    align-items: center;
    border-radius: 0 5px 5px 0;
    background-color: var(--color-primary);
}
.menu ul li{
    display: block;
    margin: 0 0.6em;
    padding: 0 1em;
    text-align: center;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: 700;
}

.menu ul li:hover, .menu ul li .current {
    scale: .2em;
    background: var(--color-bg1);
}
.menu ul li a{
    padding: 2px;
}
#search_box{
    width: 20%;
}

#search_box form { 
    clear: both; 
	width: 100%; 
} 

#searchfield { 
	float: left; 
	display: block; 
    width: 78%;
    height: 35px;
	color: #ccc; 
	background: none ; 
	border: none; 
} 

#searchbutton { 
	float: right; 
	display: block; 
	height: 35px; 
	width: 20%; 
	padding: 2px 0; 
	margin: 0; 
	cursor: pointer; 
	background: url(../images/Search.png) no-repeat; 
	border: none;
}
.menu-img{
    display: none;
    height: 35px;
    width: auto;
}
/* header */
#tooplate_middle { 
    background: url(../images/tooplate_body.jpg);
    background-repeat: repeat-x; 
	background-position: top; 
	display: flex;
	flex-wrap: wrap;
	clear: both;
	width: 98vw;
	height: 345px;
	justify-content: center;
	padding: 30px 0 0; 
	overflow: hidden;
	font-size: 14px;
	color: #f4e9d9;
	line-height: 30px;
    margin-top: 20px;
}

#tooplate_middle_sub {
	clear: both;
	width: 80vw;
	height: 155px;
	padding: 20px 0 0; 
	overflow: hidden;
	font-size: 14px;
	color: #f4e9d9;
	line-height: 30px;
}

#mid_title { 
	font-size: 36px; 
	line-height: 48px; 
	font-weight: 400; 
	color: #fff; 
	margin-left: 60px;
	margin-bottom: 20px; 
	/* text-shadow: 2px 2px 4px #000 */; 
}

#mid_left { 
	justify-content: center;
	align-items: flex-end;
	width: 30%; 
    overflow: hidden;
}

#mid_slider { 
	position: relative;  
	width: 460px; 
	height: 327px; 
	background: url(../images/tooplate_slider_frame.png); 
	z-index: 2;
    overflow: hidden;
}

#slider1 { 
	position: absolute; 
	width: 420px; 
	height: 220px; 
	top: 20px; 
	left: 20px; 
	overflow: hidden; 
}

#paginate-slider1 { 
	position: absolute; 
	bottom: 50px; 
	right: 20px; 
}

#mid_left p { 
	margin-bottom: 20px; 
	margin-left: 40px;
	color: #999; 
	font-size: 16px; 
}

#learn_more a { 
	margin-left: 70px;
	font-size: 16px; 
	text-decoration: none; 
	color: #fff; 
	font-weight: 700; 
}

#learn_more a:hover { 
	color: #90c240; 
	/* text-shadow: 1px 1px 1px #000 */; 
}

/* main section */
#tooplate_main {
    display: flex;
    flex-wrap: wrap;
	clear: both;
	width: 96vw;
}
a.more{
    display: block; 
	width: 120px;  
	height: 28px; 
	border-radius: 5px;
	font-size: 13px; 
    padding-top: 4px;
	text-align: center; 
	text-decoration: none; 
	font-weight: bold; 
	background: url(../images/tooplate_button.png) no-repeat top center; 
	color: #456318; /* text-shadow: 1px 1px 1px #addb64 */; 
}
a.more:hover { 
	color: #fff; /* text-shadow: 1px 1px 1px #476715 */; 
}
.col_w960 { 
	width: 960px; 
	margin-bottom: 60px; 
}

.col_w600 { width: 600px }
.col_w450 { width: 450px }
.col_w300 { width: 300px }
.col_w200 { width: 200px }

#tooplate_content{
	width: 70vw;
}
.col_allw300 { 
	float: left; 
	width: 40%; 
	margin-top: 50px;
	margin-right: 40px; 
}
.col_allw300 h2{
	padding-bottom: 10px;
}
.col_allw300 p{
    margin-top: 10px;
}
.image_frame { 
	position: relative; 
	width: 300px; 
	height: 131px; 
}
.image_frame img { 
	margin: 10px; 
	width: 280px; 
	height: 120px; 
}
.image_frame span { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 300px; 
	height: 131px; 
	background: url(../images/tooplate_image_frame.png) no-repeat; 
}
.tooplate_list { 
	margin: 0 0 10px 10px; 
	padding: 0; 
	list-style: none; 
}

.tooplate_list li { 
	color: var(--color-light); 
	margin: 0; 
	padding: 0 0 5px 20px; 
	background: url(../images/tooplate_list.jpg) no-repeat scroll 0 5px;  
}

.tooplate_list li a { 
	color: var(--color-black); 
	font-weight: normal; 
	text-decoration: none; 
}

.tooplate_list li a:hover { 
	text-decoration: underline; 
}

.col_last { 
	width: 20%;
 }
.col_last .contact{
    margin-top: 30px;
}
.sb_news_box { 
	clear: both; 
	margin-bottom: 30px; 
}

.sb_news_box img { 
	float: left; 
	margin-right: 20px; 
    width: 60px;
}

.news_date { 
	color: #3c707a; 
	font-size: 10px; 
	font-weight: 700; 
}
/* end*/
.post_box { 
	clear: both; 
	margin-bottom: 30px; 
	padding-bottom: 20px; 
	background: url(../images/template_hr_divider.png) repeat-x bottom; 
}

.post_box .image_frame { 
	float: left; 
	margin-right: 40px; 
}

.post_header { 
	border-top: 3px solid #999; 
	border-bottom: 1px solid #ccc; 
	padding: 5px; 
	margin-bottom: 20px; 
}

.post_box h2 { 
	font-size: 34px; 
	margin-bottom: 30px; 
}

.post_box p.post_meta { 
	margin-bottom: 0; 
}

.post_box img { 
	float: left; 
	margin-right: 20px; 
}
footer .titleframe-ring-ft{
    display: flex;
    width: auto;
    height: 50px;
    text-align: center;
    align-items: flex-end;
    border-radius: 15px 15px 0 0;
    background-color: var(--color-black);
    position: absolute;
    left: 100px;
}
footer .titleframe-ring-ft p{
    margin-left: 200px;
    width: auto;
    padding-right: 20px;
    padding-bottom: 5px;
}

@media(max-width: 900px){
    .menu ul{
        margin-right: 10px;
    }
    .menu ul li{
        margin: 0.1em 0.5em;
        padding: 0 0.2em;
        font-size: 0.8em;
    }
    #mid_left { 
        position: absolute;
        top: 420px;
        justify-content: center;
        align-items: center;
        width: 80%; 
    }

    #tooplate_content{
        width: 98vw;
        margin-top: 180px;
    }
    .col_allw300 { 
        width: 40%; 
        margin-right: 60px; 
    }
    .col_allw300 h2{
        font-size: 1.5rem;
    }
    .col_last { 
        
     }
     footer .titleframe-ring-ft p{
        margin-left: 200px;
        width: auto;
        padding-right: 20px;
        padding-bottom: 5px;
    }
}
@media(max-width: 750px){
    
    .menu ul li{
        margin: 0;
        padding: 0;
        line-height: 25px;
        font-size: 0.7em;
        font-weight: 600;
        letter-spacing: 1px;
    }
    #searchfield { 
        width: 70%;
        height: 35px;
    }
    #searchbutton { 
        height: 35px; 
        width: 30%;
    }
    #tooplate_middle { 
        margin-left: 18px;
    }
    #tooplate_content{
        margin-top: 200px;
    }
    .col_allw300 { 
        width: 98%; 
        margin-right: 10px; 
    }
    .image_frame { 
        position: relative; 
        left: 100px;
        width: 300px; 
        height: 131px; 
    }
    .image_frame img { 
        margin: 10px; 
        width: 280px; 
        height: 120px; 
    }
    footer .titleframe-ring-ft{
        width: 423px;
    }
    footer .titleframe-ring-ft p{
        margin-left: 150px;
        font-size: .9em;
        padding-right: 10px;
    }
    
}
@media(max-width: 550px) {
    .titleframe-ring{
        display: none;
    }
    nav{
        display: flex;
        padding: 2% 6%;
        justify-content: space-between;
        align-items: center;
    }
    nav .menu-img{
        display: block;
        margin: 10px;
        position: relative;
        top: 15px;
        left: 85vw;
        cursor: pointer;
        z-index: 5;
    }
    nav .menu-close {
        display: block;
        margin: 10px;
        cursor: pointer;
    }
    
    }
    .menu-ring{
        display: flex;
        flex-direction: column;
        width: 200px;
        height: 100vh;
        background-color: var(--color-black);
        position: absolute;
        top: 40px;
        left: 60vw;
        border-radius: 5px;
        opacity: 1;
        z-index: 8;
        /*position: absolute;
        background: var(--color-primary);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;*/
    }
    
    .menu{
        display: flex;
        width: 200px;
        height: 50vh;
        position: absolute;
        top: 20px;
        left: 60vw;
        border-radius: 5px;
        z-index: 6;
    }
    .menu ul{
        justify-content: flex-start;
        margin-right: 5px;
    }
    .menu ul li{
        display: block;
        width: 180px;
        margin: 1% 10%;
        padding: 2% 2px;
        position: relative;
    }
}
















